/* Linen in late sun (layer/particles/007) — INV-12 Burgundy Blossom · Premium W1 (A1483; D-062; plan
   docs/plans/plan_inv12_burgundy_blossom_master.md §3). The fixed linen photo behind the whole page, static, at
   z-index 0 like pa004/pa006 (a negative z-index would sit behind the body's own background and never show). The files
   are the opening's ground, so they come from cache. On wide screens a quince branch lies on the linen beside the card
   (the skin's k-bb-prop, tinted with the couple's colour). Every content section sits above it at z-index 1. */
.pa170-room { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: var(--k-linen, #ECEDF0) var(--k-art-linen-tall, none) center / cover no-repeat; }
@media (min-aspect-ratio: 1/1) { .pa170 .pa170-room { background-image: var(--k-art-linen-wide, none); } }
.pa170 .pa170-prop { display: none; }
@media (min-aspect-ratio: 1/1) and (min-width: 1000px) {
  .pa170 .pa170-prop { display: block; width: min(30vw, 440px); left: -7vw; top: -14svh; rotate: -28deg;
    filter: drop-shadow(-3px 6px 4px rgb(50 40 48 / .28)) drop-shadow(-10px 18px 18px rgb(50 40 48 / .18)); }
}

/* INV-12B W1 (A2536): one branch, as in the concept picture: the hero carries its own, so the laptop prop stays off. */
.pa170 .pa170-prop { display: none !important; }

/* INV-12B W1d (A2569; owner 2026-11-02: "add a subtle effect of falling blossom petals"; this overrides INV-12's BRIEF, which
   forbade a page-wide petal layer): sakura petals drift down over the page, in front of the cards (on a phone the linen shows
   only at the margins), under the sound button (90) and the opener (100); taps pass through. Twelve petals, seven on a phone;
   each falls 13-24 s with its own drift, sways side to side, spins and flutters (scale squeezes it, as a petal turning over).
   Only translate, rotate and scale move (compositor-only, the speed SOP); the skin's 64 px petal art (tinted since W1e). After the envelope opens; never in lite or reduced motion. */
.pa170 .pa170-fall { display: none; position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; contain: strict; }
html.kjy-opened:not(.motion-reduce):not(.kjy-lite) .pa170 .pa170-fall { display: block; }
.pa170 .pa170-f { position: absolute; top: 0; left: var(--pa170-x); width: var(--pa170-w); translate: 0 -8vh; will-change: translate;
  animation: pa170-fall var(--pa170-d) linear var(--pa170-t) infinite; }
/* W1e (A2571; owner "yes, go ahead": the petals take the couple's colour): each petal is the skin's k-bb-art piece, tinted by its
   three mask layers like every other blossom on the page (isolated, so the blend stays inside the 13-19 px petal and the
   moving layer is drawn once); position relative here, as it rides inside its falling wrapper. */
.pa170 .pa170-fp { position: relative; display: block; width: 100%; opacity: .86; will-change: translate, rotate, scale;
  animation: pa170-sway var(--pa170-sp) ease-in-out var(--pa170-t) infinite alternate, pa170-spin var(--pa170-rt) linear infinite, pa170-flip calc(var(--pa170-sp) * 1.4) ease-in-out var(--pa170-t) infinite alternate; }
@media (max-width: 699px) { .pa170 .pa170-f:nth-child(n + 8) { display: none; } }
@keyframes pa170-fall { from { translate: 0 -8vh; } to { translate: var(--pa170-dx) 108vh; } }
@keyframes pa170-sway { from { translate: calc(var(--pa170-sw) * -1) 0; } to { translate: var(--pa170-sw) 0; } }
@keyframes pa170-spin { to { rotate: var(--pa170-rd); } }
@keyframes pa170-flip { from { scale: 1 1; } to { scale: .35 1; } }

