/* Full-screen draw: runway, hand-opened dispatch pouch, and delivery card. */
.stage.departing { pointer-events: none }
.stage.departing .top { animation: depart-top .62s both cubic-bezier(.65,0,.35,1) }
.stage.departing .intro { animation: depart-top .62s .045s both cubic-bezier(.65,0,.35,1) }
.stage.departing .left { animation: depart-left .62s both cubic-bezier(.65,0,.35,1) }
.stage.departing .right { animation: depart-right .62s both cubic-bezier(.65,0,.35,1) }
.stage.departing .journey { animation: vanish .42s both }
.stage.departing .controls, .stage.departing .bottom { animation: depart-bottom .57s both cubic-bezier(.65,0,.35,1) }
.stage.returning .top, .stage.returning .intro { animation: depart-top .51s reverse both }
.stage.returning .left { animation: depart-left .51s reverse both }
.stage.returning .right { animation: depart-right .51s reverse both }
.stage.returning .journey, .stage.exchanging-in .journey { animation: vanish .5s reverse both }
.stage.returning .controls, .stage.returning .bottom,
.cinema.viewing .cine-footer { animation: depart-bottom .51s reverse both }
@keyframes depart-top { to { transform: translateY(-54vh); opacity: 0 } }
@keyframes depart-bottom { to { transform: translateY(30vh); opacity: 0 } }
@keyframes depart-left { to { transform: translateX(-48vw) rotate(-5deg); opacity: 0 } }
@keyframes depart-right { to { transform: translateX(48vw) rotate(5deg); opacity: 0 } }
@keyframes vanish { to { opacity: 0; transform: scale(.64) } }

.stage.exchanging-out .board { position: relative; z-index: 2; pointer-events: none }
.stage.exchanging-out .slot { z-index: 1 }
.stage.exchanging-out .journey { visibility: hidden }
.stage.exchanging-in .left .card { animation: round-enter .64s both cubic-bezier(.21,.72,.34,1); --side: -1 }
.stage.exchanging-in .right .card { animation: round-enter .64s both cubic-bezier(.21,.72,.34,1); --side: 1 }
.stage.exchanging-in .status { animation: round-caption .57s reverse both ease-in }
.stage.completed.exchanging-in .status { animation: none }
.stage.completed.exchanging-in .controls { animation: finish-rise .64s both cubic-bezier(.21,.72,.34,1) }
@keyframes round-enter { from { opacity: 0; transform: translateX(calc(var(--side)*15vw)) translateY(14px) rotate(calc(var(--side)*4deg)) scale(.94) } }
@keyframes round-caption { to { opacity: 0; transform: translateY(7px) } }
@keyframes finish-rise { from { transform: translateY(var(--finish-travel, 8vh)) } }

.receipt-stamp {
  position: absolute; z-index: 2; top: clamp(10px,9%,28px); left: clamp(10px,5%,24px);
  transform: rotate(-12deg); pointer-events: none;
  font-size: clamp(11px,calc(var(--unit)*1.14),22px);
}
.receipt-ink {
  display: block; visibility: hidden; padding: .21em .48em .24em .55em;
  color: #a52925; background: #b84e3821; border: 2px solid #b53930; border-radius: 1px 2px 1px 2px;
  box-shadow: inset 0 0 0 1px #ff8b683a, 0 0 0 1px #b9323a58;
  font-weight: 850; line-height: 1; letter-spacing: .1em; white-space: nowrap;
  mask-image: radial-gradient(ellipse at 37% 36%,#0004 0 8%,#000 31%),
    radial-gradient(ellipse at 68% 61%,#0006 0 8%,#000 29%);
  mask-size: 4px 3px, 7px 5px; mask-composite: intersect;
}
.receipt-stamped .receipt-ink { visibility: visible }
.receipt-pressing .board { position: relative; z-index: 2; pointer-events: none }
.receipt-pressing .journey { z-index: 1 }
.receipt-pressing .right { z-index: 2 }
.receipt-press {
  position: absolute; visibility: hidden; inset: auto -6% -1px; height: 3.55em;
  transform-origin: 50% 100%; filter: drop-shadow(0 .38em .43em #8d482d59);
}
.receipt-pressing .receipt-press { visibility: visible }
.receipt-press::before, .receipt-press::after, .receipt-press i { position: absolute }
.receipt-press::before, .receipt-press::after { content: "" }
.receipt-press::before {
  z-index: 1; inset: 1% 8% 39%; border: 1px solid #bc805b; border-radius: .53em .53em .31em .31em;
  background: radial-gradient(circle at 13% 64%,#fff4d4 0 1.4%,#a46742 2% 3.7%,transparent 4%),
    radial-gradient(circle at 87% 64%,#fff4d4 0 1.4%,#a46742 2% 3.7%,transparent 4%),
    repeating-linear-gradient(90deg,#9b552329 0 1px,transparent 2px 7px),
    linear-gradient(154deg,#fff9e9 2%,#fce2c3 34%,#e8ae87 78%);
  box-shadow: inset 0 .14em .12em #fffdf5d9,inset 0 -.15em .2em #a9603754;
}
.receipt-press i {
  inset: 42% 26% 9%; border-radius: .13em;
  background: repeating-linear-gradient(0deg,#9e65464d 0 2px,transparent 3px 5px),
    linear-gradient(90deg,#ce956d,#fff4de 46%,#e7bc95 74%,#bd805a);
}
.receipt-press::after {
  z-index: 1; inset: auto 0 0; height: .94em; border: 1px solid #bb805b; border-bottom: .16em solid #b84a3d;
  border-radius: .2em .2em .11em .11em;
  background: linear-gradient(168deg,#fff3dc,#f5d2aa 39%,#da9f78 83%);
  box-shadow: inset 0 .1em .12em #fff9eac4,0 .05em .08em #8b492c59;
}

body.in-cinema { overflow: hidden }
.cinema {
  --light: #ffb698; --tone: #ad5136; --flare: #f67950; --edge: #c38470;
  --result-lift: clamp(44px, 15.8vh, 142px);
  --pouch-flight-duration: 1.5s;
  --pouch-flight-delay: .7s;
  --pouch-entry-x: 104%; --pouch-entry-y: -6%;
  position: fixed; inset: 0; z-index: 8; isolation: isolate; overflow: hidden; outline: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(13px, 3.3vh, 39px) clamp(16px, 4.8vw, 100px);
  background: var(--stage-background);
}
.cinema.arrival { animation: scene-enter 1.12s both }
.cinema.gold {
  --light: #fff0b6; --tone: #996136; --flare: #ffae51; --edge: #e7c47d;

}
.cinema.departure { animation: scene-leave .46s both }
.cine-lab-backdrop {
  position: absolute; inset: 0 0 25%; z-index: -1; overflow: hidden; pointer-events: none;
  visibility: hidden; mask-image: linear-gradient(#000 0 63%, #000b 77%, transparent 100%);
}
.has-lab-view .cine-lab-backdrop { visibility: visible }
.has-lab-view :is(.cine-grid, .cine-orbit) { visibility: hidden }
.has-live-lab-view .cine-lab-view { visibility: hidden }
.cine-lab-motion {
  position: absolute; inset: 0; visibility: hidden;
  filter: saturate(.86) var(--scene-tone);
}
.has-live-lab-view .cine-lab-motion { visibility: visible }
.cine-lab-motion canvas, .cine-lab-splat canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100% }
.cine-lab-splat {
  position: absolute; inset: 0; opacity: 0; background: #665247;
  filter: blur(clamp(1.2px, .24vmin, 2.7px)) saturate(.81) var(--scene-tone);
  transition: opacity .48s ease;
}
.has-splat-lab-view .cine-lab-splat { opacity: 1 }
@media (prefers-reduced-motion: reduce) {
  .cine-lab-splat { transition: none }
}
.cine-lab-view {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.065); opacity: .92; filter: blur(clamp(2.5px, .42vmin, 5px)) saturate(.8) var(--scene-tone);
}
.arrival .cine-lab-view { animation: lab-view-arrive 1.5s cubic-bezier(.22,.64,.34,1) both }
.cine-lab-backdrop::before, .cine-lab-backdrop::after { content: ""; position: absolute; inset: 0 }
.cine-lab-backdrop::after {
  background: linear-gradient(180deg, #ffe5cc90, transparent 30%, #f7ba8c30 66%),
    radial-gradient(ellipse at 50% 43%, #f9cd9f36, transparent 70%);
}
.cine-lab-backdrop::before {
  z-index: 1; opacity: 0;
  background: radial-gradient(ellipse at 50% 42%, color-mix(in srgb, var(--flare), #fff3dc 52%), transparent 62%);
}
.opening .cine-lab-backdrop::before { animation: lab-view-glow .76s var(--card-shock-time) both }
@keyframes lab-view-arrive {
  from { transform: translate3d(-.65%, .3%, 0) scale(1.028); opacity: .6; filter: blur(1px) saturate(.9) var(--scene-tone) }
}
@keyframes lab-view-glow { 0%,100% { opacity: 0 } 20% { opacity: .45 } }
.cine-grid, .cine-orbit, .cine-rays, .cine-flash { pointer-events: none; position: absolute; inset: 0; z-index: -1 }
.cine-grid {
  opacity: .29;
  background: repeating-linear-gradient(0deg, transparent 0 4px, #ac6a3b24 5px);
}
.cine-grid::after { content: ""; position: absolute; inset: 4.8% 2.5%; border: 1px solid #b9694050; clip-path: polygon(0 0,100% 0,100% 21%,99% 21%,99% 80%,100% 80%,100% 100%,0 100%,0 80%,1% 80%,1% 21%,0 21%) }
.cine-orbit { display: grid; place-items: center; perspective: 900px; opacity: .55 }
.cine-orbit i { grid-area: 1/1; width: min(85vw, 124vh); aspect-ratio: 1; border: 1px solid color-mix(in srgb,var(--edge),transparent 62%); border-radius: 50%; transform: rotateX(54deg) rotateZ(-15deg); box-shadow: 0 0 26px #91b4ff17 }
.cine-orbit i:nth-child(2) { width: min(80vw,117vh); border-style: dashed; opacity: .42 }
.cine-orbit i:nth-child(3) { width: min(72vw,104vh); border-width: 2px; opacity: .24 }
.cine-rays i, .cine-flash::before, .cine-flash::after {
  position: absolute; top: var(--pouch-entry-y); left: var(--pouch-entry-x); opacity: 0;
}
.cine-rays i {
  width: var(--ray); height: var(--px); transform-origin: left center;
  background: linear-gradient(90deg, transparent, #e9ae32 39%, #ffdb63 66%, #fff2ad 84%, transparent);
}
.arrival .cine-rays i {
  animation: zoom-ray .86s calc(var(--pouch-flight-delay) + var(--delay)) both cubic-bezier(.22,.61,.36,1);
}
.cine-flash::before, .cine-flash::after { content: ""; translate: -50% -50%; border-radius: 50% }
.cine-flash::before {
  width: clamp(340px, 100vmin, 1140px); aspect-ratio: 1.15;
  background: radial-gradient(ellipse, #fff8c6 0 7%, #ffe16c 22%, #f4b52f99 43%, transparent 75%);
}
.cine-flash::after {
  width: clamp(220px, 54vmin, 640px); aspect-ratio: 1;
  border: 2px solid #ffdd6b; box-shadow: 0 0 30px #e9ad3799, inset 0 0 18px #fff0a5ba;
}
.arrival .cine-flash::before { animation: inbound-flash .72s var(--pouch-flight-delay) both ease-out }
.arrival .cine-flash::after { animation: inbound-ring .68s var(--pouch-flight-delay) both cubic-bezier(.17,.58,.33,1) }
.gift-props { position: absolute; inset: 0; pointer-events: none; z-index: 0 }
.sealed .floor-toy, .viewing .floor-toy { pointer-events: auto; touch-action: none; cursor: grab }
.gift-props > .prop-grabbed { cursor: grabbing }
.cinema.props-tidying .floor-toy { pointer-events: none }
.gift-prop {
  --box-size: min(14.6vw, 26vh, 224px);
  --half: calc(var(--box-size) * .5);
  --lid: #dc4b62;
  --face: #b12446;
  --side: #801838;
  --ribbon: #ffd890;
  --ribbon-deep: #b77144;
  --paper-motif: radial-gradient(circle, #ffcb9e7d 0 1px, transparent 1.5px);
  position: absolute; width: var(--box-size); height: var(--box-size);
  perspective: 820px; pointer-events: none;
}
.gift-primary { left: clamp(24px, 6.6vw, 135px); bottom: 17vh }
.gift-cube { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-23deg) rotateY(-30deg) }
/* Project the shadow from the cube's bottom face so its corners follow the box. */
.gift-cube::before {
  content: ""; position: absolute; inset: 0; border-radius: 1.5%;
  transform: translateY(calc(var(--half) + 1px)) rotateX(90deg);
  background: #773c294d;
  box-shadow:
    0 0 calc(var(--box-size) * .022) calc(var(--box-size) * .012) #713b288c,
    0 calc(var(--box-size) * .021) calc(var(--box-size) * .055) calc(var(--box-size) * .018) #8f4c3459,
    0 calc(var(--box-size) * .032) calc(var(--box-size) * .085) calc(var(--box-size) * .024) #a65c3f30;
}
.gift-face {
  position: absolute; inset: 0; border: 1px solid #9dafcb27; backface-visibility: hidden;
  box-shadow: inset 0 0 20px #060e2238;
}
.gift-front, .gift-side {
  background:
    linear-gradient(90deg, transparent 39%, var(--ribbon-deep) 40%, var(--ribbon) 42%, var(--ribbon-deep) 44%, var(--ribbon) 50%, var(--ribbon-deep) 57%, var(--ribbon) 58%, var(--ribbon-deep) 60%, transparent 61%),
    linear-gradient(180deg, transparent 19%, #ffd8a393 19.5% 20%, #230b26ac 21% 22%, transparent 24%),
    var(--paper-motif) 0 0 / 12px 12px,
    repeating-linear-gradient(112deg, #fff0 0 3px, #cee0fa10 4px 5px),
    radial-gradient(ellipse at 10% 4%, #bfd8f120, transparent 63%),
    linear-gradient(0deg, #190c255b, transparent 76%, var(--lid) 78% 100%), var(--face);
}
.gift-front { transform: translateZ(var(--half)) }
.gift-side { transform: rotateY(90deg) translateZ(var(--half)); --face: var(--side) }
.gift-top {
  transform: rotateX(90deg) translateZ(var(--half));
  background:
    linear-gradient(90deg, transparent 39%, var(--ribbon-deep) 40%, var(--ribbon) 50%, var(--ribbon-deep) 60%, transparent 61%),
    linear-gradient(0deg, transparent 39%, var(--ribbon-deep) 40%, var(--ribbon) 50%, var(--ribbon-deep) 60%, transparent 61%),
    var(--paper-motif) 0 0 / 12px 12px,
    repeating-linear-gradient(112deg, #fff0 0 3px, #cee0fa10 4px 5px),
    radial-gradient(ellipse at 25% 30%, #bcd8f527, transparent 69%), var(--lid);
}
.gift-bow {
  position: absolute; width: 66%; height: 32%; left: 17%; top: -23%;
  display: flex; align-items: center; justify-content: center; transform: translateZ(2px) rotateX(19deg) rotateZ(-6deg);
}
.gift-bow i {
  position: absolute; width: 48%; height: 76%; border: max(3px, calc(var(--box-size) * .052)) solid var(--ribbon);
  border-bottom-color: var(--ribbon-deep); border-radius: 65% 65% 12% 65%;
  box-shadow: inset 1px 3px 6px #1b122650, 1px 1px 3px #0a102258, 0 -1px 0 #fff4d68c;
}
.gift-bow i:first-child { right: 50%; transform: rotate(28deg) }
.gift-bow i:nth-child(2) { left: 50%; transform: scaleX(-1) rotate(28deg) }
.gift-bow b {
  position: relative; top: 20%; width: 19%; height: 28%; border-radius: 40%; z-index: 1;
  background: linear-gradient(135deg, var(--ribbon), var(--ribbon-deep)); box-shadow: 0 2px 4px #21162580;
}
.gift-bow em {
  position: absolute; left: 46%; top: 65%; width: 15%; height: 68%; transform-origin: 50% 0;
  transform: rotate(48deg); background: linear-gradient(90deg,var(--ribbon-deep),var(--ribbon) 48%,var(--ribbon-deep));
  clip-path: polygon(0 0,100% 0,100% 100%,49% 76%,0 100%);
}
.gift-bow em:last-child { transform: rotate(-58deg); height: 86% }
.floor-toy { position: absolute; z-index: 1; isolation: isolate }
.toy-camera { left: 14vw; bottom: 7.4vh; width: min(9.2vw,138px); aspect-ratio: 1.47; transform: rotate(-8deg) }
.toy-camera::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(3% 34%,9% 25%,33% 25%,40% 7%,57% 7%,66% 25%,89% 25%,98% 36%,98% 89%,92% 95%,8% 95%,3% 87%);
  background: linear-gradient(164deg,#e0d1ba,#83766b 26%,#504740 33%,#383639 34%,#201f24 82%,#484046);
}
.camera-grip {
  position: absolute; inset: 34% 70% 9% 5%; border-radius: 18% 45% 34% 18%;
  background: repeating-linear-gradient(135deg,#ffffff0f 0 1px,transparent 1px 3px),linear-gradient(110deg,#232229,#5e5350 45%,#2a282c);
}
.camera-controls {
  position: absolute; inset: 17% 12% 66% 14%; border-radius: 3px;
  background: radial-gradient(ellipse at 11% 53%,#fff2dc 0 8%,transparent 10%),
    radial-gradient(ellipse 12% 36% at 93% 55%,#312c30 0 70%,#9c9184 77%,transparent 90%);
}
.camera-lens {
  position: absolute; left: 34%; top: 24%; width: 49%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 43% 39%,#b0e7d1 0 4%,transparent 13%),
    radial-gradient(ellipse at 36% 34%,#577c89 0 17%,transparent 32%),
    radial-gradient(circle,#181e30 0 24%,#2c2944 27%,#6e535c 35%,#181821 39%,#242229 48%,#c5b7a3 51%,#2d2b30 54%,#5a5050 60%,#241f24 69%);
  box-shadow: 0 .1em .15em #13101388, inset 0 1px #d9bd9d91;
}
.toy-panda { right: 24vw; bottom: 7.8vh; width: min(7vw,105px); aspect-ratio: .9; transform: rotate(10deg) }
.toy-panda > * { position: absolute }
.panda-ear {
  left: 16%;
  top: 2%; width: 24%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 37% 40%,#585166,#272331 66%,#1c1a25); box-shadow: inset 0 0 3px #ccbadb50;
}
.panda-ear.panda-right { left: auto; right: 16% }
.panda-arm {
  top: 46%; left: 3%; width: 25%; height: 31%; border-radius: 50%; rotate: 22deg;
  background: radial-gradient(ellipse at 43% 36%,#5d5665,#37313f 59%,#211e2a);
  box-shadow: inset -1px -2px 3px #1c17267d;
}
.panda-arm.panda-right { left: auto; right: 3%; rotate: -22deg }
.panda-body {
  inset: 39% 12% 6%; border-radius: 47%;
  background: radial-gradient(ellipse at 45% 58%,#fff4e2 0 46%,#c2b6b4 68%,transparent 70%),
    linear-gradient(145deg,#575365,#292633);
  box-shadow: inset 0 -2px 5px #29212c55;
}
.panda-foot {
  left: 13%; bottom: 0; width: 27%; height: 22%; border-radius: 47% 48% 44% 46%; rotate: 13deg;
  background:
    radial-gradient(ellipse at 27% 34%,#8a7b86 0 7%,transparent 10%),
    radial-gradient(ellipse at 49% 25%,#8a7b86 0 7%,transparent 10%),
    radial-gradient(ellipse at 70% 34%,#8a7b86 0 7%,transparent 10%),
    radial-gradient(ellipse at 49% 62%,#7c6c7d 0 26%,transparent 29%),
    radial-gradient(ellipse at 35% 28%,#58505f,#2b2533 74%);
}
.panda-foot.panda-right { left: auto; right: 13%; rotate: -13deg }
.panda-face {
  inset: 11% 15% 41%; border-radius: 47%;
  background: radial-gradient(ellipse at 50% 43%,#fff8eb 0 40%,#e6d9cf 72%,#cabcc0);
  box-shadow: 0 2px 3px #21182764;
}
.panda-eye, .panda-nose, .panda-mouth { position: absolute }
.panda-eye {
  left: 16%; top: 31%; width: 21%; height: 38%;
  border-radius: 65% 54% 59% 49% / 49% 52% 65% 60%;
  background: radial-gradient(ellipse at 57% 32%,#433b45,#272130 68%,#201a24);
  transform: rotate(26deg);
}
.panda-eye-right { left: auto; right: 16%; transform: scaleX(-1) rotate(26deg) }
.panda-eye::before {
  content: ""; position: absolute; left: 31%; top: 13%; width: 58%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 39% 32%,#f1e4d4 0 9%,#73656a 14%,#2c242d 27%,#131015 75%);
  box-shadow: inset 0 0 0 1px #75636b66;
}
.panda-nose {
  left: 40%; top: 62%; width: 20%; height: 13%;
  border-radius: 49% 49% 50% 50% / 36% 36% 66% 66%;
  background: radial-gradient(ellipse at 50% 20%,#54444a,#271e29 76%);
}
.panda-nose::after {
  content: ""; position: absolute; top: 86%; left: 50%; width: max(1px,12%); height: 61%;
  translate: -50% 0; border-radius: 1px; background: #342732;
}
.panda-mouth { left: 35%; top: 76%; width: 30%; height: 11% }
.panda-mouth::before, .panda-mouth::after {
  content: ""; position: absolute; top: 0; left: 0; width: 51%; height: 100%;
  border-bottom: max(1px,.12em) solid #342732; border-radius: 0 0 50% 50%;
  rotate: -7deg;
}
.panda-mouth::after { left: auto; right: 0; rotate: 7deg }
.panda-flower {
  top: 11%; right: 14%; width: 24%; aspect-ratio: 1; transform: rotate(17deg);
  background:
    radial-gradient(circle at 50% 51%,#ffedb2 0 11%,transparent 13%),
    radial-gradient(circle at 50% 20%,#ffadca 0 20%,transparent 22%),
    radial-gradient(circle at 78% 43%,#ff94bc 0 21%,transparent 23%),
    radial-gradient(circle at 68% 74%,#ee6e9e 0 21%,transparent 23%),
    radial-gradient(circle at 32% 74%,#f782af 0 21%,transparent 23%),
    radial-gradient(circle at 21% 42%,#ffb4ce 0 20%,transparent 22%);
  filter: drop-shadow(0 1px 1px #852b625d);
}
.toy-ball { left: 36vw; bottom: 7.8vh; width: min(4vw,64px); aspect-ratio: 1; border-radius: 50%; transform: rotate(-26deg); background: radial-gradient(circle at 30% 24%,#dce0d54d,transparent 50%,#101526b0 89%),linear-gradient(90deg,#4a6573 0 25%,#b39b78 25% 32%,#69546a 33% 65%,#b39b78 66% 73%,#4a6573 74%) }
.toy-book { left: 5vw; bottom: 8.6vh; width: min(6vw,92px); aspect-ratio: 1.19; transform: rotate(14deg) skewX(-9deg) }
.toy-book i {
  position: absolute; inset: 6% 0 13%; border: 1px solid #ecb578; border-radius: 3px 7px 5px 3px;
  background: linear-gradient(90deg,#4f284b 10%,transparent 12%), linear-gradient(130deg,#a976a2,#633c73);
  box-shadow: 1px 4px #dcbca0, 2px 6px #4e2b58;
}
.toy-book i::after { content: "✦"; position: absolute; inset: 14% 16% 16% 23%; display: grid; place-items: center; border: 1px solid #ebc27ea8; color: #ffdfa6; font-size: clamp(10px,2.2vw,32px) }
.toy-candy { left: 25vw; bottom: 10vh; width: min(6.5vw,98px); aspect-ratio: 1.95; transform: rotate(-16deg) }
.toy-candy i { position: absolute; inset: 5% 19%; border-radius: 45%; background: linear-gradient(145deg,#fff9db97,transparent 38%,#551d508c), repeating-linear-gradient(135deg,#fce7c5 0 8px,#d85271 9px 17px); box-shadow: inset 0 0 5px #7926467d }
.toy-candy i::before, .toy-candy i::after {
  content: ""; position: absolute; top: 14%; width: 43%; height: 71%; left: -34%;
  clip-path: polygon(0 0,100% 37%,100% 63%,0 100%,13% 70%,0 44%,11% 29%);
  background: repeating-linear-gradient(10deg,#a83257 0 4px,#f299a7 5px 7px);
}
.toy-candy i::after { left: auto; right: -34%; transform: scaleX(-1) }
.toy-top { right: 28vw; bottom: 8.5vh; width: min(5vw,77px); aspect-ratio: 1.14; transform: rotate(18deg) }
.toy-top i {
  position: absolute; inset: 25% 0 9%; border-radius: 60% 60% 85% 85%;
  background: radial-gradient(ellipse at 34% 18%,#ffe6bc88,transparent 59%),
    linear-gradient(#e96b54 0 28%,#f9ce7b 30% 38%,#3caf9b 40% 60%,#23756e 63% 75%,#d78d57 76%);
  box-shadow: inset 0 -5px 9px #371e3e71, 0 3px 5px #150a1777;
}
.toy-top i::before, .toy-top i::after { content: ""; position: absolute; left: 43%; width: 15%; height: 43%; border-radius: 45%; background: linear-gradient(90deg,#974d42,#f3bb76,#a75b47); z-index: -1 }
.toy-top i::before { bottom: 85% } .toy-top i::after { top: 91%; height: 24% }
.toy-vase { right: 31vw; bottom: 6.8vh; width: min(5.3vw,80px); aspect-ratio: .69; transform: rotate(3deg) }
.toy-vase::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(27% 9%,73% 9%,67% 30%,70% 37%,85% 49%,94% 65%,95% 76%,86% 88%,71% 97%,29% 97%,14% 88%,5% 76%,6% 65%,15% 49%,30% 37%,33% 30%);
  background: radial-gradient(ellipse at 33% 45%,#fff9d98f,transparent 50%),
    linear-gradient(103deg,#306968,#91c4a8 25%,#529a8c 66%,#1f555e 94%);
}
.toy-vase::after, .vase-rim {
  content: ""; position: absolute; top: 4%; left: 25%; width: 50%; height: 13%; border-radius: 50%;
  border: 1px solid #bcdbba; background: radial-gradient(ellipse at 51% 61%,#25494c 0 52%,#5b9b8a 68%,#c0dcb6);
}
.vase-rim { z-index: 2; clip-path: inset(54% 0 0) }
.vase-flower {
  position: absolute; z-index: 1; bottom: 88%; width: 30%; pointer-events: none;
  left: var(--stem-base); height: var(--stem-height); translate: -50% 0;
  rotate: var(--stem-tilt); transform-origin: 50% 100%;
  background: linear-gradient(90deg,#4a6949,#8c9e5d) center / 12% 100% no-repeat;
}
.vase-flower::before {
  content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 1; translate: 0 -56%;
  background:
    radial-gradient(circle at 50% 50%,#f3c56d 0 12%,transparent 15%),
    radial-gradient(ellipse at 50% 24%,var(--petal) 0 22%,transparent 25%),
    radial-gradient(ellipse at 76% 50%,var(--petal) 0 22%,transparent 25%),
    radial-gradient(ellipse at 50% 76%,var(--petal-shade) 0 22%,transparent 25%),
    radial-gradient(ellipse at 24% 50%,var(--petal-shade) 0 22%,transparent 25%);
}
.vase-flower::after {
  content: ""; position: absolute; top: 48%; left: 50%; width: 65%; height: 18%;
  border-radius: 90% 0 90% 0; rotate: -24deg; transform-origin: left center;
  background: linear-gradient(155deg,#a1ad72,#5e7c53);
}
.vase-flower-left { --stem-base: 43%; --stem-height: 40%; --stem-tilt: -29deg; --petal: #f3b2a3; --petal-shade: #db8579 }
.vase-flower-center { --stem-base: 50%; --stem-height: 54%; --stem-tilt: -4deg; --petal: #fff1d7; --petal-shade: #e7cba6 }
.vase-flower-right { --stem-base: 57%; --stem-height: 43%; --stem-tilt: 27deg; --petal: #ffdf92; --petal-shade: #edb96a }
.toy-gpu {
  left: 32vw; bottom: 14.6vh; width: min(9.5vw,142px); aspect-ratio: 2.36; transform: rotate(-10deg);
}
.toy-gpu::before {
  content: ""; position: absolute; inset: 4% 2% 12% 6%; border-radius: 7% 9% 5% 5%;
  border: 1px solid #8f9bb2;
  background: linear-gradient(163deg,#646c88 0 9%,#252a3e 10% 24%,#41485d 25% 32%,#191b2b 33% 85%,#456e80 86% 90%,#232739 91%);
  box-shadow: inset 0 -3px #141525;
}
.toy-gpu::after {
  content: ""; position: absolute; inset: 0 auto 5% 0; width: 9%;
  background: linear-gradient(90deg,#8790a4,#e3dbe1 47%,#646a84 72%,#b4bdc6);
}
.toy-gpu i {
  position: absolute; z-index: 1; top: 14%; left: 17%; width: 27%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle,#adc2cc 0 13%,#354055 15% 23%,transparent 24% 67%,#768297 69% 72%,#141623 74%),
    repeating-conic-gradient(from 18deg,#1e2131 0deg 10deg,#60697e 13deg 30deg,#343e53 32deg 44deg);
  border: 1px solid #8c9aad80;
}
.toy-gpu i:last-child { left: 53% }
.toy-gpu i:last-child::after {
  content: ""; position: absolute; top: 117%; left: -27%; width: 130%; height: 12%;
  background: repeating-linear-gradient(90deg,#dbab61 0 2px,#69513d 2px 3px);
}
.toy-lipstick { left: 41vw; bottom: 7.4vh; width: min(3vw,42px); aspect-ratio: .45; transform: rotate(29deg) }
.toy-lipstick::before, .toy-lipstick::after, .toy-lipstick i { content: ""; position: absolute }
.toy-lipstick::before {
  inset: 43% 3% 1%; border-radius: 10% 10% 18% 18%;
  background: linear-gradient(90deg,#332332,#633745 25%,#885063 45%,#412332 79%,#2b1d2a);
  box-shadow: inset 0 0 0 1px #bd7e906c;
}
.toy-lipstick::after {
  inset: 32% 13% 48%; border-radius: 13% 13% 8% 8%;
  background: linear-gradient(90deg,#9d6a62,#fbd2a8 25%,#ab7467 49%,#e1ac8c 70%,#704347);
}
.toy-lipstick i {
  inset: 1% 20% 61%; border-radius: 100% 25% 0 0 / 45% 20% 0 0;
  background: linear-gradient(112deg,#ff969c,#cd4e70 38%,#8c2449 86%);
}
.toy-brick { right: 37vw; bottom: 8.2vh; width: min(5.8vw,88px); aspect-ratio: 1.5; transform: rotate(-12deg) }
.toy-brick::before {
  content: ""; position: absolute; inset: 22% 1% 6%;
  clip-path: polygon(24% 0,100% 0,100% 83%,75% 100%,0 100%,0 24%);
  background: linear-gradient(0deg,#b66c1c 0 31%,transparent 33%),
    linear-gradient(153deg,transparent 0 66%,#db8e25 67%),linear-gradient(#ffe294,#ffc246);
}
.toy-brick::after {
  content: ""; position: absolute; inset: 70% 2% 9% 2%;
  clip-path: polygon(0 8%,74% 8%,100% 0,100% 26%,74% 100%,0 100%);
  background: linear-gradient(#ffc24a,#d88b28 50%,#b66c1c);
}
.toy-brick i {
  position: absolute; z-index: 1; top: 13%; left: 27%; width: 24%; height: 26%; border-radius: 45%;
  background: linear-gradient(#ffeaaa 0 49%,#dc9124 52%); border: 1px solid #ffd882;
  box-shadow: inset 0 -1px #ad621d;
}
.toy-brick i:nth-child(2) { left: 62% }
.toy-brick i:nth-child(3) { left: 15%; top: 33% }
.toy-brick i:nth-child(4) { left: 50%; top: 33% }
.toy-cushion {
  right: 22.2vw; bottom: 15.4vh; width: min(8.5vw,125px); aspect-ratio: 1.79; transform: rotate(-10deg);
  border-radius: 46% 46% 32% 32% / 72% 72% 34% 34%;
  border: 1px solid #99b3d5;
  background: repeating-linear-gradient(128deg,#edecfb12 0 1px,transparent 1px 3px),
    radial-gradient(ellipse at 50% 22%,#c4c4ea70,transparent 60%), linear-gradient(155deg,#828daf,#475674 73%,#333c57);
  box-shadow: inset 0 -6px 12px #26305096, inset 0 3px 5px #f4e4fc36;
}
.toy-cushion::before {
  content: ""; position: absolute; inset: 8% 7% 15%; border: 1px dashed #dce5fd80;
  border-radius: inherit; background: radial-gradient(ellipse at 50% 35%,#35385757,transparent 60%);
}
.toy-cushion::after { content: ""; position: absolute; top: 61%; left: 45%; width: 11%; height: 15%; border-radius: 50%; background: #b1b9d870; box-shadow: inset 0 1px 2px #e7ecff7c }
.toy-usb { left: 31vw; bottom: 6vh; width: min(4.6vw,70px); aspect-ratio: 2.33; transform: rotate(13deg) }
.toy-usb::before {
  content: ""; position: absolute; inset: 6% 27% 6% 0; border-radius: 25% 10% 10% 25%; border: 1px solid #f7a7a2;
  background: radial-gradient(circle at 16% 49%,#431e37 0 9%,transparent 10%),linear-gradient(155deg,#df827e,#a44659 58%,#78324e);
}
.toy-usb i {
  position: absolute; inset: 21% 1% 22% 72%; border: 1px solid #ddd9e1; border-radius: 0 10% 10% 0;
  background: radial-gradient(ellipse at 65% 28%,#645367 0 11%,transparent 14%),radial-gradient(ellipse at 65% 73%,#645367 0 11%,transparent 14%),linear-gradient(#dedbe5,#9895af);
}
.toy-mug { right: 31.6vw; bottom: 12vh; width: min(5.3vw,78px); aspect-ratio: .99; transform: rotate(11deg) }
.toy-mug::before {
  content: ""; position: absolute; z-index: 1; inset: 13% 21% 4% 3%; border-radius: 20% 20% 39% 39% / 8% 8% 20% 20%;
  border: 1px solid #ffe4b3;
  background: linear-gradient(90deg,#c98f6a,#ffe6b9 30%,#efb083 70%,#b3725f);
}
.toy-mug::after {
  content: ""; position: absolute; z-index: 2; inset: 4% 21% auto 3%; height: 30%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 61%,#4d3039 0 50%,#89574c 66%,#b67e62 100%);
  border: max(2px,.21vw) solid #ffe5b8; box-shadow: inset 0 1px #f8bc8a89,0 1px #a66b55;
}
.toy-mug i { position: absolute; inset: 27% 0 26% 62%; border: max(3px,.38vw) solid #e6a888; border-radius: 28% 56% 56% 24%; box-shadow: inset 0 1px #8f565b, 0 -1px #ffe0b6 }
.toy-bear {
  right: 1.7vw; bottom: 6vh; width: min(21vw, 47vh, 315px); aspect-ratio: .9; transform: rotate(-4deg);
  --fur: radial-gradient(ellipse at 36% 30%,#dba77b,#b17450 64%,#805032 97%);
}
.toy-bear i { position: absolute; border-radius: 50%; background: var(--fur); box-shadow: inset -2px -2px 5px #63352244 }
.toy-bear .bear-ear { top: 3%; left: 13%; width: 23%; height: 20% }
.toy-bear .bear-ear:nth-child(2) { left: 64% }
.bear-ear::after {
  content: ""; position: absolute; inset: 24% 19% 17%; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%,#eac098,#a5694b 80%);
}
.toy-bear .bear-arm { top: 42%; left: 2%; width: 27%; height: 35%; rotate: 23deg }
.toy-bear .bear-arm:nth-child(4) { left: 71%; rotate: -23deg }
.toy-bear .bear-torso { inset: 35% 17% 6%; border-radius: 47% 47% 42% 42% }
.bear-torso::after {
  content: ""; position: absolute; inset: 24% 17% 15%; border-radius: 50%;
  background: radial-gradient(ellipse at 40% 28%,#eac49a,#c88f63 76%,#9d5f3e);
}
.toy-bear .bear-foot { top: 72%; left: 8%; width: 34%; height: 26%; rotate: -13deg }
.toy-bear .bear-foot:nth-child(7) { left: 58%; rotate: 13deg }
.bear-foot::after {
  content: ""; position: absolute; inset: 24% 18% 17%; border-radius: 50%;
  background: radial-gradient(ellipse at 35% 26%,#eac7a1,#b57a54 83%);
  box-shadow: inset 0 0 0 1px #9e684588;
}
.toy-bear .bear-head { inset: 9% 15% 48%; border-radius: 48% 48% 45% 45% }
.bear-head b {
  position: absolute; top: 40%; left: 28%; width: 8%; aspect-ratio: .85; border-radius: 50%;
  background: radial-gradient(circle at 32% 25%,#fff5d3 0 14%,transparent 23%),#36241f;
}
.bear-head b:nth-child(2) { left: 64% }
.bear-head span {
  position: absolute; inset: 53% 25% 8%; border-radius: 48%;
  background: radial-gradient(ellipse at 35% 33%,#f2d3a9,#d0a17a 81%);
}
.bear-head span::before {
  content: ""; position: absolute; inset: 14% 32% 47%; border-radius: 44% 44% 61% 61%;
  background: radial-gradient(ellipse at 42% 18%,#85624d,#4e3028 82%);
}
.bear-head span::after {
  content: ""; position: absolute; inset: 49% 26% 20%; border-radius: 0 0 50% 50%;
  border-bottom: max(1px,.55vmin) solid #784a38;
}
@media (max-width: 640px) {
  .toy-camera { width: 16vw; bottom: 13vh }
  .toy-panda { right: 38vw; width: 12vw; bottom: 13vh }
  .toy-bear { width: min(36vw, 32vh); bottom: 6vh }
  .toy-ball { width: 7vw; left: auto; right: 36vw; bottom: 6.4vh }
  .toy-book { left: 6vw; width: 12vw; bottom: 9.5vh }
  .toy-candy { left: 31vw; width: 12vw; bottom: 10vh }
  .toy-top { right: 37vw; width: 10vw; bottom: 14vh }
  .toy-vase { right: 42vw; width: 9vw; bottom: 6.3vh }
  .toy-gpu { left: 38vw; width: 17vw; bottom: 23.7vh }
  .toy-lipstick { left: 42vw; width: 5.5vw; bottom: 16.8vh }
  .toy-brick { right: 28vw; width: 9.5vw; bottom: 6.9vh }
  .toy-cushion { right: 10vw; width: 17vw; bottom: 25.7vh }
  .toy-usb { left: 27vw; width: 10vw; bottom: 6.4vh }
  .toy-mug { right: 29vw; width: 10vw; bottom: 20vh }
}
.arrival .gift-props,
.arrival .cine-footer { animation: cine-bottom-fade .82s ease-in-out .14s both }
.arrival .cine-footer { animation-delay: .28s }
@keyframes cine-bottom-fade { from { opacity: 0 } to { opacity: 1 } }
@media (max-width: 640px) {
  .gift-primary { --box-size: min(26vw, 21vh); left: 8vw; bottom: 19vh }
}
.cine-header, .cine-footer { position: relative; z-index: 5 }
.cine-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px }
.cine-header h2 { margin: .3em 0 0; font-weight: 800; font-size: clamp(18px, 3.2vmin, 38px); letter-spacing: .12em }
.cine-heading { display: flex; align-items: center; gap: clamp(6px,1vw,12px) }
.cine-view-menu { position: relative }
.cine-view-menu summary {
  list-style: none; display: grid; place-items: center; cursor: pointer; width: 32px; height: 25px;
  border: 1px solid #a8724c63; border-radius: 999px; background: #fff8ee; color: #79502f;
}
.cine-view-menu summary::-webkit-details-marker { display: none }
.cine-view-menu summary svg { width: 17px; height: 10px }
.cine-view-menu .cover-view-options { top: calc(100% + 6px) }
.cine-view-menu[open] .cover-view-options { opacity: 1; transform: none; pointer-events: auto }
.cine-actions { display: flex; gap: .5rem }
.cine-actions .quiet { background: #fff1ddd9 }
.cine-center {
  --pouch-width: min(70vw,112vh,900px);
  --pouch-rest: translate3d(0,0,0) rotateZ(-4deg) rotateX(5deg) rotateY(0) scale(1);
  --pouch-offstage: translate3d(-112vw,36vh,0) rotateZ(-29deg) rotateX(13deg) rotateY(22deg) scale(.74);
  position: relative; z-index: 1; display: grid; place-items: center; perspective: 1100px; pointer-events: none;
}
.cine-footer { text-align: center; min-height: clamp(61px, 9vh, 115px); display: grid; justify-items: center; align-content: center; pointer-events: none }
.viewing .cine-footer { translate: 0 calc(-1 * var(--result-lift)) }
.cine-footer button { pointer-events: auto }
.cine-caption {
  display: grid; justify-items: center; width: 100%; overflow-wrap: anywhere;
  translate: 0 var(--prop-caption-lift, 0px); transition: translate .36s ease;
}
@media (prefers-reduced-motion: reduce) {
  .cine-caption { transition: none }
}
.cine-caption p {
  grid-area: 1 / 1; padding: .34em .88em; border-radius: 9px;
  background: #fff3e1e6; backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px #f5d9bf24;
}
#cine-caption-space { visibility: hidden }
.cine-footer p { margin: 0 0 .6em; color: #654028; font-size: clamp(13px,2.05vmin,21px); letter-spacing: .075em }
.cine-footer .primary { min-width: 8em; padding-inline: .8em }
.cine-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .55em }
.cine-actions button[hidden], .cine-result-actions button[hidden] { display: block !important; visibility: hidden }
#cine-flip { border-color: color-mix(in srgb, var(--edge) 48%, transparent); color: #704020; background: #fff0dc }
.pouch {
  --open: 0%; --zip-x: 0%; --heat: 0;
  --beam-white: 255 225 210; --beam-light: 255 153 113; --beam-color: 242 83 53;
  z-index: 1; pointer-events: auto; touch-action: none; transform-style: preserve-3d;
}
.pouch, .pouch-lip {
  position: relative; grid-area: 1/1; width: var(--pouch-width); aspect-ratio: 940/465;
  transform: var(--pouch-rest);
}
.pouch-body { display: block; width: 100%; height: 100%; position: absolute; pointer-events: none; user-select: none }
/* Position live text over the emblem and the angled paper tag in pouch.svg. */
.pouch-title, .pouch-kind {
  position: absolute; line-height: 1; white-space: nowrap; pointer-events: none;
}
.pouch-title {
  left: 23.5%; top: 45%; transform: translateY(-50%) rotate(-3deg); transform-origin: left center;
  color: #e1e7ee; font-size: clamp(10px, calc(var(--pouch-width) * .028), 25px);
  font-weight: 750; letter-spacing: .12em;
}
.pouch-kind {
  left: 81.1%; top: 47.5%; transform: translate(-50%,-50%) rotate(6deg);
  color: #39382f; font-size: clamp(7px, calc(var(--pouch-width) * .019), 17px);
  font-weight: 720; letter-spacing: .035em;
}
.pouch-address {
  position: absolute; top: 58%; left: 13%; width: 40%; min-height: 15%;
  display: grid; align-content: center; gap: .24em; padding: .39em .55em;
  pointer-events: none; border: 1px solid #fff1c68c; border-radius: .16em;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #5e543f0b 4px 5px),
    linear-gradient(135deg, #e5d7b0, #a99976);
  box-shadow: 0 .12em .26em #10141c80, inset 0 0 0 .15em #5e543f22;
  color: #39382f; font-size: clamp(10px, calc(var(--pouch-width) * .023), 21px); line-height: 1.2;
}
.pouch-address-recipient { display: flex; align-items: baseline; gap: .25em; min-width: 0 }
.pouch-address-recipient > span { flex: none; font-size: .84em; font-weight: 650 }
.pouch-address-name {
  min-width: 0; overflow: hidden; overflow-wrap: anywhere; font-weight: 780;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.pouch-address-location {
  font-size: clamp(7px, calc(var(--pouch-width) * .0165), 15px);
  font-weight: 620; overflow-wrap: anywhere;
}
.lab-postmark {
  position: absolute; left: 60.5%; top: 63%; width: 12.1%; aspect-ratio: 1;
  transform: translate(-50%,-50%) rotate(-13deg); pointer-events: none;
  border: 1px solid #9fc0ceaa; border-radius: 50%;
  background: radial-gradient(circle,#172836a6 45%,#202a3f96 72%,transparent 73%);
  box-shadow: inset 0 0 0 4px #a3c0d123, 0 0 0 1px #09132080;
}
.lab-postmark img {
  position: absolute; inset: 12%; width: 76%; height: 76%;
  filter: brightness(0) invert(88%) sepia(13%) saturate(535%) hue-rotate(157deg);
  opacity: .92;
}
.lab-postmark::after {
  content: ""; position: absolute; top: 27%; left: calc(100% + 5px); width: 44%; height: 46%;
  border-block: 1px solid #a6c4ce89;
  background: linear-gradient(transparent 45%,#a6c4ce89 46% 53%,transparent 54%);
  transform: skewY(-13deg);
}
.pouch-defocus { opacity: 0; filter: blur(12px); transform: translateZ(0) }
.arrival .pouch { animation: pouch-flight var(--pouch-flight-duration) var(--pouch-flight-delay) both cubic-bezier(.19,.66,.36,1) }
.arrival .pouch-defocus { animation: blur-layer var(--pouch-flight-duration) var(--pouch-flight-delay) both }
.arrival .pouch-sharp { animation: sharp-layer var(--pouch-flight-duration) var(--pouch-flight-delay) both }
.arrival .pouch :is(.lab-postmark, .pouch-address, .pouch-title, .pouch-kind) { animation: pouch-detail-focus var(--pouch-flight-duration) var(--pouch-flight-delay) }
@keyframes pouch-detail-focus { from { filter: blur(10px) } to { filter: none } }

/* The opaque front fabric travels with the bag and occludes the ticket at the opening. */
.pouch-lip { visibility: hidden; z-index: 4; pointer-events: none }
.pouch-lip > img { display: block; width: 100%; height: 100%; clip-path: inset(30% 10% 6%) }
.pouch-lip .zipper { --zip-x: 1 }
.opening .pouch, .opening .pouch-lip { animation: pouch-exit 1.35s both; pointer-events: none }
.opening .pouch-lip { visibility: visible }
.viewing .pouch { visibility: hidden; transform: var(--pouch-offstage) }
.pouch.teacher-light { --beam-white: 255 246 214; --beam-light: 255 203 116; --beam-color: 255 135 48 }
.pouch[data-tint="blue"] .pouch-beam-accent { --beam-white: 203 233 255; --beam-light: 150 202 245; --beam-color: 100 156 223 }
.pouch[data-tint="pink"] .pouch-beam-accent { --beam-white: 255 225 240; --beam-light: 243 172 204; --beam-color: 208 123 171 }
.seal-particles { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none }
.pouch-beams, .pouch-seam { position: absolute; pointer-events: none; overflow: hidden }
.pouch-beams {
  --beam-depth: clamp(28px, 5.3vh, 52px);
  left: -10%; right: -10%; bottom: 50%; height: clamp(66px,17vh,140px); z-index: 1;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.pouch-beams::before {
  content: ""; position: absolute; left: 8.333%; bottom: 0;
  width: calc(var(--open) * .8333); height: 82%;
  background: radial-gradient(ellipse at 50% 100%,rgb(var(--beam-light) / .73),rgb(var(--beam-color) / .29) 33%,transparent 72%);
  opacity: clamp(0,calc(var(--heat) * 7),1);
}
.pouch-beam {
  position: absolute; left: calc(8.333% + var(--root) * .8333); bottom: calc(-1 * var(--beam-depth));
  height: calc(var(--length) + var(--beam-depth)); width: var(--spread);
  transform-origin: 50% calc(100% - var(--beam-depth));
  transform: translateX(-50%) skewX(var(--tilt));
  opacity: clamp(0,calc((var(--heat) - var(--gate)) * 15 * var(--strength)),var(--strength));
  border-radius: 72% 26% 38% 31% / 86% 62% 21% 27%;
  mask-image: radial-gradient(ellipse 62% 93% at 50% 91%,#000 14%,#000e 57%,transparent 100%);
  background: linear-gradient(0deg,rgb(var(--beam-white) / .98),rgb(var(--beam-light) / .77) 34%,
    rgb(var(--beam-color) / .66) 64%,rgb(var(--beam-color) / .14) 89%,transparent);
}
.pouch-beam::after {
  content: ""; position: absolute; inset: 9% 23% 0 18%; opacity: .85;
  border-radius: 68% 35% 42% 39% / 88% 68% 16% 25%;
  background: linear-gradient(0deg,rgb(var(--beam-white) / .97),rgb(var(--beam-light) / .73) 35%,transparent 90%);
}
.sealed.zip-touched .pouch-beam, .opening .pouch-beam {
  animation: flame-flicker var(--period) var(--offset) ease-in-out infinite alternate;
}
@keyframes flame-flicker {
  0% { transform: translateX(-50%) skewX(var(--tilt)) scale(.89,.75) }
  39% { transform: translateX(-50%) skewX(calc(var(--tilt) + var(--sway))) scale(1.02,1.02) }
  73% { transform: translateX(-50%) skewX(calc(var(--tilt) - var(--sway) * .8)) scale(.92,.86) }
  100% { transform: translateX(-50%) skewX(calc(var(--tilt) + var(--sway) * .4)) scale(1.06,.95) }
}
.pouch-seam {
  left: 0; bottom: 50%; height: 14px; width: var(--open); z-index: 2;
  opacity: clamp(0,calc(var(--heat) * 22),1);
  mask-image: linear-gradient(90deg,transparent,#000 min(5px,9%),#000 94%,transparent);
  background: linear-gradient(0deg,rgb(var(--beam-white)),rgb(var(--beam-light) / .96) 13%,rgb(var(--beam-color) / .46) 31%,transparent 90%);
}
.pouch-seam::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgb(var(--beam-white)); box-shadow: 0 -2px 6px 1px rgb(var(--beam-light) / .86);
}
.opening .pouch-beams, .opening .pouch-seam { animation: seal-light-release 1.12s both }
@keyframes seal-light-release {
  0%,13% { opacity: 1 }
  36% { opacity: .83 }
  100% { opacity: 0 }
}
.zipper { position: absolute; left: 8%; right: 8%; top: 30%; height: clamp(92px, 16vh, 145px); transform: translateY(-50%); z-index: 3 }
.zip-teeth, .zip-lane { position: absolute; top: 50%; height: 10px; left: 0; right: 0; transform: translateY(-50%); border-radius: 4px; pointer-events: none }
.zip-lane { background: linear-gradient(#03070f 8%, #091420 50%, #050911 92%); box-shadow: inset 0 0 4px #000; z-index: -1 }
.zip-teeth {
  clip-path: inset(-3px 0 -3px var(--open)); background: repeating-linear-gradient(90deg,#111824 0 2px,#b0b7c2 3px,#657280 5px,#151b25 7px);
  box-shadow: 0 0 2px #d9dfe6; border-block: 1px solid #878f9b;
}
#zip { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; appearance: none; background: transparent; opacity: 0; pointer-events: none; z-index: 4 }
#zip::-webkit-slider-thumb { appearance: none; width: 46px; height: 42px; background: #fff }
#zip::-moz-range-thumb { width: 46px; height: 42px; border: 0; background: #fff }
.zip-pull {
  position: absolute; top: 50%; left: calc(var(--zip-x) * (100% - 30px) + 23px);
  width: clamp(24px, 2.35vw, 34px); height: clamp(15px, 1.35vw, 20px);
  transform: translate(-50%,-50%); pointer-events: none; perspective: 150px; z-index: 3;
}
.zip-slider {
  position: absolute; inset: 0; border-radius: 5px; border: 1px solid #d8d4c5;
  background: linear-gradient(156deg,#ded8c4,#948d7d 43%,#4e5054 75%,#262e3b);
  box-shadow: 0 2px 3px #090e18cc, inset 0 1px 2px #faf0d57d;
}
.zip-slider::after {
  content: ""; position: absolute; inset: 22% 26%; border: 1px solid #252b358f;
  border-radius: 4px; background: linear-gradient(155deg,#aaa79a,#424650);
}
.zip-hinge {
  position: absolute; top: 55%; left: 50%; width: clamp(16px, 1.5vw, 22px); height: clamp(25px, 2.6vw, 38px);
  transform-origin: 50% 5px;
  transform: translateX(-50%) rotateZ(var(--pull-swing, 9deg)) rotateX(var(--pull-lift, 13deg));
  transition: transform .32s cubic-bezier(.24,.79,.37,1);
}
.zip-hinge::before {
  content: ""; position: absolute; top: 0; left: 32%; width: 36%; height: 26%;
  border: 1px solid #d8c9a8; border-radius: 4px;
  background: linear-gradient(90deg,#777469,#e1d0a9 48%,#7d7668);
  box-shadow: 0 1px 2px #05090f85;
}
.zip-tab {
  position: absolute; inset: 23% 0 0; border: 2px solid #c0af8e; border-radius: 5px 5px 7px 7px;
  background: linear-gradient(160deg,#99917a 0 21%,transparent 24% 56%,#5a5e66 60%,#313b4d);
  box-shadow: 1px 4px 5px #040812bd, inset 0 1px 2px #ddd4ad6e;
}
.zip-tab::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 11%; height: 21%;
  border-radius: 2px; background: repeating-linear-gradient(#b6a984 0 1px,#444c56 1px 3px);
}
.sealed #zip:focus-visible ~ .zip-pull .zip-slider { outline: 2px solid var(--light); outline-offset: 4px }
.sealed.handling .zip-slider { border-color: #e4f3ff; box-shadow: 0 2px 12px #9cddff85, inset 0 0 3px #f4f0dc }
.sealed.handling .zip-hinge { transition-duration: .22s }
.zip-hint {
  position: absolute; left: clamp(34px, 7%, 70px); bottom: calc(50% + clamp(9px, 1.15vw, 15px));
  width: clamp(66px, 9.5vw, 133px); height: clamp(18px, 2.1vw, 30px);
  border: 1px solid #8d9daf7a; border-radius: 5px;
  background: repeating-linear-gradient(116deg,#d4e3f216 0 1px,transparent 1px 3px), linear-gradient(165deg,#384455,#182230 86%);
  box-shadow: 0 2px 4px #0b121bb3, inset 0 1px 1px #cad8eb23;
  opacity: 0; pointer-events: none; z-index: 3; transform: translate(-5px,2px);
  transition: opacity .34s ease, transform .42s cubic-bezier(.23,.67,.25,1);
}
.zip-hint::before {
  content: ""; position: absolute; inset: 2px 3px; border: 1px dashed #9bafc138;
  border-radius: 3px;
}
.zip-hint::after {
  content: ""; position: absolute; inset: 19% 14%;
  clip-path: polygon(0 29%,77% 29%,77% 0,100% 50%,77% 100%,77% 71%,0 71%);
  background: linear-gradient(108deg,transparent 39%,#f0f7ff70 49%,transparent 59%), linear-gradient(#becad7,#8f9eb1 54%,#b2bdcc 56%,#8998ab);
  background-size: 220% 100%, 100% 100%; background-position: 100% 0, center;
}
.sealed:not(.zip-touched) .zip-hint { opacity: .97; transform: translate(0,0) }
.sealed:not(.zip-touched) .zip-hint::after { animation: guide-sweep 2.9s ease-in-out infinite }
@keyframes guide-sweep { 0%,24% { background-position: 100% 0, center } 67%,100% { background-position: 0 0, center } }
.opening .zip-hint, .viewing .zipper { opacity: 0 }

.zip-clue {
  position: absolute; top: clamp(51px, 12vh, 106px); z-index: 2;
  width: clamp(74px, 10.2vmin, 128px); aspect-ratio: 7/9;
  translate: -50% -50%; pointer-events: none;
}
.zip-clue-year { --clue-side: -1; left: 18% }
.zip-clue-degree { --clue-side: 1; left: 82% }
.zip-clue-face {
  position: relative; display: grid; place-content: center; justify-items: center; gap: .46em;
  width: 100%; height: 100%; border: 1px solid var(--identity-border, #cf936b); border-radius: 9px;
  color: var(--identity-dark, #764226);
  background: linear-gradient(145deg, #fffdf7, var(--identity-paper, #ffe4cc));
  box-shadow: 0 11px 27px #8e492a42, inset 0 0 20px #fff9ec91;
  animation: zip-clue-float 2.8s .6s ease-in-out infinite alternate both;
}
.zip-clue-face::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid currentColor;
  border-radius: 5px; opacity: .24;
}
.zip-clue-face svg { width: clamp(14px, 2.25vmin, 25px); aspect-ratio: 1; opacity: .72 }
.zip-clue-face strong { font-size: clamp(16px, 2.7vmin, 29px); letter-spacing: .045em; line-height: 1.2 }
.opening .zip-clue { animation: zip-clue-burst .68s var(--card-shock-time) cubic-bezier(.24,.52,.5,.86) forwards }
@keyframes zip-clue-float {
  from { translate: 0 2px; rotate: calc(var(--clue-side) * 6deg) }
  to { translate: 0 -6px; rotate: calc(var(--clue-side) * 3deg) }
}
@keyframes zip-clue-burst {
  0% { transform: translate3d(0,0,0) rotate(0) scale(1) }
  100% { transform: translate3d(calc(var(--clue-side) * 74vw), -32vh, 0) rotate(calc(var(--clue-side) * 75deg)) scale(.78) }
}

.reveal-card {
  --ticket-paper: #fffdf7;
  --ticket-wash: #ffe5cc;
  --ticket-accent: #8a4829;
  --ticket-rule: #c58b61a3;
  --ticket-rest: translate3d(0,0,0) rotateZ(0) rotateX(0) scale(1);
  --ticket-width: min(36vw, 44vh, 430px); grid-area: 1/1; width: var(--ticket-width); aspect-ratio: 7/9;
  position: relative; top: calc(var(--result-lift) * -.57); z-index: 3;
  transform-style: preserve-3d; transform: var(--ticket-rest);
  color: #512e20; text-align: center;
}
.gold .reveal-card {
  --ticket-paper: #fffbea; --ticket-wash: #ffe1a2; --ticket-accent: #785015; --ticket-rule: #bd8c43a3;
}
.reveal-card.fly { animation: launch-card 1.48s linear both }
.reveal-spin { --ticket-depth: clamp(7px, 1.3vmin, 12px); --ticket-radius: 14px; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--ticket-angle,0deg)) }
.viewing .reveal-card { pointer-events: auto; cursor: grab; touch-action: pan-y }
.viewing .reveal-spin { transition: transform .45s cubic-bezier(.22,.72,.27,1) }
.viewing .is-dragging { cursor: grabbing }
.viewing .is-dragging .reveal-spin { transition: none }
.ticket-shell {
  position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none;
  --edge-light: #fff0db; --edge-medium: #e9be9d; --edge-dark: #cc9471; --edge-line: #fff9eb;
}
.gold .ticket-shell {
  --edge-light: #ffefc5; --edge-medium: #ebc477; --edge-dark: #ca9b50; --edge-line: #fff7dc;
}
.ticket-edge {
  position: absolute; display: block; left: var(--edge-x); top: var(--edge-y);
  width: var(--edge-span); height: calc(var(--ticket-depth) + .6px);
  transform: translate(-50%,-50%) rotateZ(var(--edge-angle)) rotateX(90deg);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background:
    repeating-linear-gradient(90deg,transparent 0 2px,#a95c2921 2px 3px,transparent 3px 5px),
    linear-gradient(180deg,var(--edge-dark),var(--edge-light) 15%,var(--edge-medium) 24%,
      var(--edge-dark) 54%,var(--edge-medium) 75%,var(--edge-line) 84%,var(--edge-dark));
}
.fly .reveal-spin { animation: reveal-turn 1.48s both }
.reveal-front, .reveal-back {
  position: absolute; inset: 0; border: 1px solid var(--ticket-rule); border-radius: var(--ticket-radius);
  overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.reveal-front {
  transform: translateZ(calc(var(--ticket-depth) * .5));
  display: flex; flex-direction: column; padding: 5.8%;
  background: linear-gradient(137deg, var(--ticket-paper) 18%, var(--ticket-wash));
  box-shadow: 0 16px 42px #86462a4d, 0 0 29px color-mix(in srgb,var(--flare),transparent 79%), inset 0 0 0 5px #fffdf680;
}
.reveal-back {
  transform: rotateY(180deg) translateZ(calc(var(--ticket-depth) * .5));
  display: grid; place-items: center; padding: 8%; color: var(--ticket-accent);
  background: repeating-linear-gradient(136deg,#b9775210 0 1px,transparent 1px 5px),
    radial-gradient(ellipse at 50% 9%, var(--ticket-paper), var(--ticket-wash));
  box-shadow: inset 0 0 0 5px #fffdf680, 0 16px 42px #86462a4d;
}
.reveal-front[aria-hidden="true"], .reveal-back[aria-hidden="true"] { pointer-events: none }
.viewing .reveal-back {
  grid-template-rows: auto minmax(0,1fr); gap: 6%; align-items: stretch;
}
.message-logo {
  display: grid; place-items: center; justify-self: center; width: clamp(43px, 10vmin, 105px); aspect-ratio: 1;
  border: 1px solid var(--ticket-rule); border-radius: 50%; background: radial-gradient(circle,var(--ticket-paper),var(--ticket-wash));
  box-shadow: inset 0 0 0 5px #fff9ed9c, 0 5px 20px #b26b422d;
}
.message-logo svg { width: 53%; height: 53%; filter: drop-shadow(0 0 8px var(--flare)) }
.message-frame {
  display: flex; flex-direction: column; width: 100%; min-height: 0;
  padding: clamp(10px, 2.15vmin, 23px); border: 1px solid var(--ticket-rule);
  border-radius: 7px; background: #fffdf69c; box-shadow: inset 0 0 0 3px #fffaf18c;
}
.message-frame h3 { margin: 0 0 .65em; color: var(--ticket-accent); font-size: clamp(13px,2vmin,21px); font-weight: 650; letter-spacing: .1em }
.message-copy {
  min-height: 0; flex: 1; align-content: safe center; overflow: auto; overscroll-behavior: contain;
  white-space: pre-wrap; overflow-wrap: anywhere; color: #512e20; text-align: center;
  font-size: clamp(14px, 2.42vmin, 24px); line-height: 1.67;
}
.message-copy.message-empty { color: #76533c; font-size: clamp(12px, 1.8vmin, 18px) }
.ticket-top, .ticket-bottom { display: flex; justify-content: space-between; align-items: center; gap: .45em; text-align: left }
.ticket-top { border-bottom: 1px solid var(--ticket-rule); padding-bottom: 4%; font-size: clamp(11px, 2vmin, 21px); font-weight: 600; line-height: 1.35 }
.ticket-top strong { background: var(--ticket-wash); color: var(--ticket-accent); font-size: clamp(9px,1.45vmin,16px); padding: .37em .65em; white-space: nowrap; border-radius: 3px }
.ticket-art {
  position: relative; flex: 1; min-height: 0; max-height: 45%; display: grid; place-items: center; margin: 4% 0 2%; overflow: hidden;
  border: 1px solid var(--identity-border, var(--ticket-rule)); border-radius: 5px;
  background: radial-gradient(ellipse at center, #fffdf8, var(--identity-paper, var(--ticket-wash)) 81%);
  color: var(--identity-dark, var(--ticket-accent));
}
.ticket-art div { position: absolute; width: 42%; aspect-ratio: 1; border: 1px solid currentColor; transform: rotate(45deg); opacity: .45; box-shadow: 0 0 0 9px #f1e7cd14, 0 0 0 10px #f1e7cd38, 0 0 35px var(--flare) }
.ticket-art svg { width: 24%; max-height: 63%; filter: drop-shadow(0 0 13px var(--flare)) }
.ticket-label { margin-top: .36em; font-size: clamp(12px,2vmin,19px); color: var(--ticket-accent); letter-spacing: .12em }
.reveal-front h3 { margin: .09em 0; font-size: clamp(22px,5.8vmin,61px); line-height: 1.07; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.reveal-meta { color: #76533c; font-size: clamp(12px,1.95vmin,19px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.25em }
.ticket-bottom { margin-top: 3.4%; padding-top: 3%; border-top: 1px solid var(--ticket-rule); font-size: clamp(12px,2vmin,19px); color: var(--ticket-accent) }
.ticket-bottom > :first-child { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.ticket-bottom strong { color: #512e20; overflow-wrap: anywhere }
.ticket-bottom > :last-child { max-width: 63%; min-width: 0; overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums }
@keyframes scene-enter { 0% { opacity: 0 } 24%,100% { opacity: 1 } }
@keyframes scene-leave { to { opacity: 0 } }
@keyframes zoom-ray {
  from { transform: rotate(var(--a)) translateX(0) scaleX(.16); opacity: 0 }
  13% { opacity: var(--o) }
  to { transform: rotate(var(--a)) translateX(64vmax) scaleX(2); opacity: 0 }
}
@keyframes inbound-flash {
  from { transform: scale(.25); opacity: 0 }
  15% { opacity: .88 }
  to { transform: scale(1.42); opacity: 0 }
}
@keyframes inbound-ring {
  from { transform: scale(.16); opacity: 0 }
  14% { opacity: .78 }
  to { transform: scale(1.7); opacity: 0 }
}
@keyframes pouch-flight {
  from { visibility: hidden; transform: translate3d(78vw,-51vh,-490px) rotateZ(-33deg) rotateX(-37deg) rotateY(43deg) scale(.4) }
  to { visibility: visible; transform: var(--pouch-rest) }
}
@keyframes blur-layer { from { opacity: 1 } to { opacity: 0 } }
@keyframes sharp-layer { from { opacity: 0 } to { opacity: 1 } }
@keyframes pouch-exit {
  /* The props' collision surface releases when this hold ends. */
  0%,28% { transform: var(--pouch-rest); animation-timing-function: cubic-bezier(.52,.07,.7,.67) }
  100% { transform: var(--pouch-offstage) }
}
@keyframes launch-card {
  0% { transform: translate3d(var(--launch-x),calc(var(--launch-y) + var(--launch-rise) * 1.79),0) rotateZ(-4deg) rotateX(0) scale(var(--launch-scale)) }
  11% { transform: translate3d(var(--launch-x),calc(var(--launch-y) + var(--launch-rise) * .97),0) rotateZ(-4deg) rotateX(0) scale(var(--launch-scale)) }
  19% { transform: translate3d(var(--launch-x),calc(var(--launch-y) + var(--launch-rise) * .23),0) rotateZ(-4deg) rotateX(0) scale(var(--launch-scale)) }
  29% { transform: translate3d(calc(var(--launch-x) + 1.8vw),calc(var(--launch-crest) + 4.1vh),0) rotateZ(1deg) rotateX(-6deg) scale(.38) }
  34% { transform: translate3d(calc(var(--launch-x) + 3.3vw),calc(var(--launch-crest) + .6vh),0) rotateZ(5deg) rotateX(-11deg) scale(.43); animation-timing-function: ease-out }
  41% { transform: translate3d(calc(var(--launch-x) + 4vw),var(--launch-crest),0) rotateZ(7deg) rotateX(-10deg) scale(.47); animation-timing-function: ease-in }
  49% { transform: translate3d(calc(var(--launch-x) + 3.6vw),calc(var(--launch-crest) + 1.2vh),0) rotateZ(5deg) rotateX(-7deg) scale(.55); animation-timing-function: cubic-bezier(.34,.17,.67,.59) }
  63% { transform: translate3d(calc(var(--launch-x) * .52 + 1.8vw),calc(var(--launch-crest) * .68),0) rotateZ(-3deg) rotateX(3deg) scale(.72) }
  79% { transform: translate3d(calc(var(--launch-x) * .19 + .5vw),calc(var(--launch-crest) * .23),0) rotateZ(-2deg) rotateX(2deg) scale(.92); animation-timing-function: ease-out }
  94% { transform: translate3d(0,calc(var(--launch-crest) * .022),0) rotateZ(0) rotateX(0) scale(.996); animation-timing-function: ease-out }
  100% { transform: var(--ticket-rest) }
}
@keyframes reveal-turn {
  0%,29% { transform: rotateY(180deg); animation-timing-function: cubic-bezier(.35,.26,.33,1) }
  100% { transform: rotateY(0) }
}
.stage.sticker-dock #sender-name, .stage.sticker-dock #sender-meta, .stage.sticker-dock #status { visibility: hidden }
.cinema.name-peeled #reveal-sender { visibility: hidden }
.name-sticker {
  position: fixed; z-index: 10; transform: translate(-50%,-50%); pointer-events: none;
  max-width: 100%; text-align: center; overflow-wrap: anywhere;
  font-size: clamp(18px,4.6vmin,56px); font-weight: 750; color: #49291c;
  text-shadow: 0 1px 5px #fff2d8cc;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.relationship-in { animation: relationship-in .56s .08s both cubic-bezier(.2,.65,.35,1) }
@keyframes relationship-in { from { opacity: 0; transform: translateY(.5em) } to { opacity: 1; transform: translateY(0) } }

#result-window { width: min(950px,94vw); max-height: 90svh }
#result-window[open] { display: flex; flex-direction: column }
.result-body { padding: 1em clamp(12px,3vw,32px) 1.4em; overflow: auto }
.result-summary { display: flex; align-items: center; gap: clamp(13px,3.5vw,46px); padding: .8em 1.1em; background: #ffc59512; border: 1px solid var(--line); border-radius: 9px }
.result-summary strong { display: block; color: var(--gold); font: 700 clamp(18px,3vw,34px) var(--ui-font); white-space: nowrap }
.result-summary span, .result-track small { color: var(--muted); font-size: .76rem }
.result-track { flex: 1; display: grid; gap: .45em; justify-items: start }
.result-track progress { width: 100% }
.route-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; letter-spacing: .08em; margin: 1.3em 0 .65em }
.route-list { display: grid; gap: .6rem }
.route-row { display: grid; grid-template-columns: minmax(0,1fr) clamp(40px,15vw,155px) minmax(0,1fr); align-items: center; gap: clamp(4px,1vw,16px) }
.route-person { min-width: 0; min-height: 3.5rem; padding: .55em .75em; border: 1px solid #f6b88775; border-radius: 8px; background: linear-gradient(125deg,#fff7e8,#ffe8cd); display: grid; grid-template-columns: auto minmax(0,1fr); gap: .65em; align-items: center }
.route-person.to { background: linear-gradient(125deg,#fff4e4,#ffe8d2); border-color: #f7ba8782 }
.route-person.gold { color: #714316; border-color: #dcb2759c; background: linear-gradient(125deg,#fff7da,#ffdf9a) }
:is(.route-person, .route-flight):is([data-tint="blue"], [data-tint="pink"]) {
  border-color: var(--identity-border); background: linear-gradient(125deg, #fffdf8, var(--identity-paper));
}
.route-flight:is([data-tint="blue"], [data-tint="pink"]) { color: var(--identity-dark) }
.route-person svg { color: var(--identity-dark, var(--apricot)); width: clamp(15px,2.2vw,26px); height: clamp(15px,2.2vw,26px) }
.route-person.gold svg { color: var(--gold) }
.route-person strong, .route-person small { display: block; overflow-wrap: anywhere }
.route-person small { font-size: .7em; color: var(--muted) }
.route-wire { position: relative; text-align: center; color: var(--gold); isolation: isolate; display: grid; place-items: center; min-width: 0 }
.route-wire::before { content: ""; position: absolute; left: 0; right: 2px; top: 50%; height: 1px; background: linear-gradient(90deg,#eda06b83,#a5632b); z-index: -1 }
.route-wire::after { content: ""; position: absolute; right: 3px; top: calc(50% - 3px); width: 6px; height: 6px; border: solid var(--gold); border-width: 1px 1px 0 0; transform: rotate(45deg) }
.route-wire span { border-radius: 20px; background: #fff1da; border: 1px solid var(--line); padding: .24em .38em; color: #71472e; font-size: .67rem; max-width: 100%; overflow-wrap: anywhere; text-align: center }
.route-row.unconfirmed .route-wire::before { background: repeating-linear-gradient(90deg,#ffda95 0 3px, transparent 3px 6px) }
.route-empty { padding: 1em; border: 1px dashed var(--line); border-radius: 9px; color: var(--muted) }
@media (max-width: 640px) {
  .cinema { padding-inline: 12px }
  .cine-center { --pouch-width: 91vw }
  .reveal-card { --ticket-width: min(66vw,44vh,360px) }
  .cine-actions .quiet { font-size: .72rem }
  .route-person { gap: .33em; padding: .45em; font-size: .82rem }
  .route-wire span { font-size: .54rem }
}
@media (max-width: 640px) and (min-height: 680px) {
  .cinema { --result-lift: min(32vh, 270px) }
}
@media (prefers-reduced-motion: reduce) {
  .cinema *, .cinema *::before, .cinema *::after { animation: none !important }
  .stage.departing .top, .stage.departing .intro, .stage.departing .board, .stage.departing .controls, .stage.departing .bottom { visibility: hidden }
  .viewing .reveal-spin, .zip-hinge, .zip-hint { transition: none }
  .relationship-in { animation: none }
}
