/* ══════════════════════════════════════════════════════════════
   RIPWIRE — casino layer 2 (additive, loaded after casino.css)
   Above-the-fold rebuild · hold-to-rip · real video opener ·
   scroll choreography · mobile app shell
   Nothing here restyles the base design system; it only adds.
   ══════════════════════════════════════════════════════════════ */

/* ── 1. HERO: tier ladder, hold button, scroll cue ──────────── */
.hero-ladder{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0 0}
.hero-ladder .lad{display:inline-flex;align-items:center;gap:5px;font-size:10px;letter-spacing:.09em;
  text-transform:uppercase;font-weight:600;color:rgba(255,255,255,.62);
  padding:4px 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;
  background:rgba(255,255,255,.03);backdrop-filter:blur(6px)}
.hero-ladder .lad i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.9}
.hero-ladder .lad:nth-child(1){color:var(--r-d,#9AA0A6)}
.hero-ladder .lad:nth-child(2){color:var(--r-c,#8FA6C8)}
.hero-ladder .lad:nth-child(3){color:var(--r-b,#5EC8FF)}
.hero-ladder .lad:nth-child(4){color:var(--r-a,#C08CFF)}
.hero-ladder .lad:nth-child(5){color:var(--r-s,#FFD37A)}
.hero-ladder .lad:nth-child(6){color:var(--r-g,#FF7AD9)}

/* hold-to-rip: the primary casino affordance */
.hold-btn{position:relative;overflow:hidden;isolation:isolate;cursor:pointer;
  -webkit-user-select:none;user-select:none;touch-action:none;
  border:1px solid rgba(255,255,255,.16);border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.03));
  color:#fff;font-weight:600;letter-spacing:.01em;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  transition:transform .12s cubic-bezier(.2,.9,.25,1),border-color .2s,background .2s}
.hold-btn .hold-label{position:relative;z-index:2;pointer-events:none}
.hold-btn .hold-fill{position:absolute;inset:0;z-index:1;transform-origin:left center;
  transform:scaleX(var(--hold,0));pointer-events:none;
  background:linear-gradient(90deg,rgba(168,85,247,.42),rgba(168,85,247,.16));
  box-shadow:0 0 26px rgba(168,85,247,.35) inset}
.hold-btn.is-holding{border-color:rgba(168,85,247,.55);transform:scale(.985)}
.hold-btn.hold-done{border-color:rgba(168,85,247,.7)}
.hero-hold{height:56px;padding:0 22px;font-size:15px;min-width:190px}
.hero-hold .hold-fill{background:linear-gradient(90deg,rgba(94,200,255,.5),rgba(168,85,247,.34))}

/* scroll cue */
.hero-scroll{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:4;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  font-size:9.5px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.42);
  pointer-events:none}
.hero-scroll::after{content:"";width:1px;height:30px;background:linear-gradient(180deg,rgba(255,255,255,.5),transparent);
  animation:cueDrop 2.2s ease-in-out infinite}
@keyframes cueDrop{0%{transform:scaleY(.2);opacity:.2;transform-origin:top}
  45%{transform:scaleY(1);opacity:1;transform-origin:top}
  100%{transform:scaleY(1);opacity:0;transform-origin:top}}

/* hero mini facts */
.hero-mini{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:11px;
  letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.hero-mini b{color:rgba(255,255,255,.85);font-weight:600}

/* ── 2. CINE THEATRE (shared: hero + pack page) ─────────────── */
.cine{position:fixed;inset:0;z-index:9000;display:none;background:#05060a;
  align-items:center;justify-content:center;overflow:hidden}
.cine.on{display:flex}
.cine video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  background:#05060a;opacity:0;transition:opacity .35s ease}
.cine video.ready{opacity:1}
.cine-skip{position:absolute;top:calc(16px + env(safe-area-inset-top));right:16px;z-index:6;
  padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.45);backdrop-filter:blur(10px);color:#fff;font-size:12px;
  letter-spacing:.06em;cursor:pointer;opacity:.75;transition:opacity .2s}
.cine-skip:hover{opacity:1}

/* pre-roll: card shuffle while the server allocates */
.cine-pre{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:26px;background:#05060a;
  transition:opacity .35s ease}
.cine-pre.gone{opacity:0;pointer-events:none}
.cine-pre p{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.cine-shuffle{position:relative;width:120px;height:150px}
.cine-shuffle i{position:absolute;inset:0;border-radius:10px;
  background:linear-gradient(150deg,#1a1f2c,#0b0e15 60%,#151a26);
  border:1px solid rgba(168,85,247,.28);
  box-shadow:0 12px 34px rgba(0,0,0,.6);
  animation:shuffle 1.05s cubic-bezier(.5,0,.3,1) infinite}
.cine-shuffle i:nth-child(1){animation-delay:0s}
.cine-shuffle i:nth-child(2){animation-delay:.09s}
.cine-shuffle i:nth-child(3){animation-delay:.18s}
.cine-shuffle i:nth-child(4){animation-delay:.27s}
.cine-shuffle i:nth-child(5){animation-delay:.36s}
@keyframes shuffle{
  0%{transform:translate(-46px,10px) rotate(-13deg) scale(.92);opacity:.25}
  35%{transform:translate(0,-6px) rotate(0deg) scale(1);opacity:1}
  70%{transform:translate(46px,10px) rotate(13deg) scale(.92);opacity:.25}
  100%{transform:translate(-46px,10px) rotate(-13deg) scale(.92);opacity:.25}}

/* reveal */
.cine-reveal{position:absolute;inset:0;z-index:7;display:none;
  align-items:center;justify-content:center;gap:clamp(20px,4vw,54px);
  padding:calc(28px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
  background:radial-gradient(120% 90% at 50% 40%,rgba(6,8,14,.55),rgba(4,5,9,.94) 70%)}
.cine-reveal.on{display:flex}
.cine-card-wrap{position:relative;flex:0 0 auto;width:min(38vw,300px);
  animation:cardLand .7s cubic-bezier(.16,1.02,.3,1) both}
.cine-card-wrap img{display:block;width:100%;height:auto;border-radius:12px;
  box-shadow:0 40px 90px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.12)}
.cine-card-wrap::after{content:"";position:absolute;inset:-18%;z-index:-1;border-radius:50%;
  background:radial-gradient(circle,var(--tier,#A855F7) 0%,transparent 62%);
  opacity:.34;animation:tierPulse 2.6s ease-in-out infinite}
@keyframes cardLand{0%{opacity:0;transform:translateY(26px) scale(.9) rotate(-2deg)}
  100%{opacity:1;transform:none}}
@keyframes tierPulse{0%,100%{opacity:.22;transform:scale(.96)}50%{opacity:.42;transform:scale(1.04)}}
.cine-meta{flex:1 1 320px;max-width:420px;text-align:left;color:#fff;
  animation:metaIn .55s .12s cubic-bezier(.16,1,.3,1) both}
@keyframes metaIn{0%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:none}}
.cine-tier{display:inline-block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;
  font-weight:700;padding:5px 11px;border-radius:999px;margin:0 0 12px;
  color:#0a0b0f;background:var(--tier,#A855F7)}
.cine-meta h2{margin:0 0 6px;font-size:clamp(22px,3.4vw,34px);line-height:1.08;letter-spacing:-.02em}
.cine-sub{margin:0 0 14px;font-size:13px;color:rgba(255,255,255,.58)}
.cine-val{font-size:clamp(30px,5vw,46px);font-weight:700;letter-spacing:-.03em;
  color:var(--tier,#A855F7);line-height:1;margin-bottom:4px}
.cine-odds{margin:0 0 20px;font-size:12px;color:rgba(255,255,255,.45)}
.cine-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.cine-actions .btn,.cine-actions .ghost{height:48px;padding:0 20px;font-size:14px}
.cine-fine{font-size:10.5px;color:rgba(255,255,255,.3);letter-spacing:.04em;margin:0}
.cine-flash{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;
  background:radial-gradient(circle at 50% 45%,#fff,transparent 62%)}
.cine-flash.go{animation:flashOut .55s ease-out}
@keyframes flashOut{0%{opacity:.85}100%{opacity:0}}

/* ── 3. PACK PAGE: hold-to-preview on the pack art ──────────── */
.pack-art{position:relative}
.pack-hold{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:5;
  height:46px;padding:0 20px;font-size:13px;border-radius:999px;
  background:rgba(8,10,16,.62);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.24);color:#fff;font-weight:600;
  display:inline-flex;align-items:center;justify-content:center;overflow:hidden;
  cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;
  transition:transform .12s,border-color .2s}
.pack-hold .hold-label{position:relative;z-index:2;pointer-events:none}
.pack-hold .hold-fill{position:absolute;inset:0;z-index:1;transform-origin:left center;
  transform:scaleX(var(--hold,0));pointer-events:none;
  background:linear-gradient(90deg,rgba(168,85,247,.55),rgba(168,85,247,.2))}
.pack-hold.is-holding{border-color:rgba(168,85,247,.7);transform:translateX(-50%) scale(.97)}
.pack-art.is-ripping .pack-peek{animation:peekShake .5s ease-in-out infinite}
@keyframes peekShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-2px)}75%{transform:translateX(2px)}}

/* ── 4. SCROLL CHOREOGRAPHY ─────────────────────────────────── */
/* nav condenses once you leave the hero */
.nav{transition:background .3s ease,box-shadow .3s ease,padding .3s ease,backdrop-filter .3s ease}
.nav.is-stuck{background:rgba(6,8,13,.88);backdrop-filter:blur(16px) saturate(1.2);
  box-shadow:0 1px 0 rgba(255,255,255,.07),0 18px 40px rgba(0,0,0,.35)}
.nav.is-stuck .nav-inner{padding-top:8px;padding-bottom:8px}

/* section art drifts against the scroll */
.par{will-change:transform}
.par-slow{transform:translate3d(0,calc(var(--par,0) * -26px),0)}
.par-fast{transform:translate3d(0,calc(var(--par,0) * -58px),0)}

/* headline reveal: words rise in sequence */
.rise{display:block;overflow:hidden}
.rise > span{display:block;transform:translateY(105%);opacity:0;
  transition:transform .78s cubic-bezier(.16,1,.3,1),opacity .5s ease}
.rise.in > span{transform:none;opacity:1}
.rise.in > span:nth-child(2){transition-delay:.08s}
.rise.in > span:nth-child(3){transition-delay:.16s}

/* generic scroll reveal for anything added later */
.rv{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s cubic-bezier(.16,1,.3,1)}
.rv.in{opacity:1;transform:none}
.rv-stag > *{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s cubic-bezier(.16,1,.3,1)}
.rv-stag.in > *{opacity:1;transform:none}
.rv-stag.in > *:nth-child(2){transition-delay:.06s}
.rv-stag.in > *:nth-child(3){transition-delay:.12s}
.rv-stag.in > *:nth-child(4){transition-delay:.18s}
.rv-stag.in > *:nth-child(5){transition-delay:.24s}
.rv-stag.in > *:nth-child(6){transition-delay:.3s}

/* the ticker accelerates as you scroll — casino floor energy */
.ticker-track{transition:animation-duration .4s linear}

/* card hover lift on grids (desktop only) */
@media (hover:hover) and (pointer:fine){
  .pack-card,.card-tile,.rail-item,.niche-card{transition:transform .35s cubic-bezier(.2,.9,.25,1),box-shadow .35s}
  .pack-card:hover,.card-tile:hover,.rail-item:hover,.niche-card:hover{transform:translateY(-5px)}
}

/* ── 5. MOBILE APP SHELL ────────────────────────────────────── */
@media (max-width:760px){
  /* hero: compact copy, cards still visible above the fold */
  .hero-v2{min-height:0;padding-bottom:26px}
  .hero-v2 .hero-inner.hero-v2-grid{display:flex;flex-direction:column;gap:16px;
    padding:16px 16px 6px;align-items:stretch}
  .hero-v2 .hero-copy{max-width:none}
  .hero-v2 .hero-copy .eyebrow{font-size:10px;letter-spacing:.1em}
  .hero-v2 .hero-copy h1{font-size:clamp(30px,9.2vw,44px);line-height:1.02;letter-spacing:-.025em}
  .hero-v2 .hero-copy .lede{font-size:14px;line-height:1.45;margin-top:9px;max-width:34ch}
  .hero-v2 .cta-row{margin-top:14px;gap:9px;flex-direction:column;align-items:stretch}
  .hero-v2 .cta-row .btn.lg,.hero-v2 .cta-row .hold-btn{width:100%;height:52px;font-size:15px;min-width:0}
  .hero-v2 .trust-row{display:none}
  .hero-v2 .hero-ladder{margin-top:12px;gap:5px}
  .hero-v2 .hero-ladder .lad{font-size:9px;padding:3px 7px}
  .hero-v2 .hero-stats{margin-top:12px;padding-top:10px;gap:14px}
  .hero-v2 .hero-stats div strong{font-size:19px}
  .hero-v2 .hero-stats div span{font-size:9.5px;letter-spacing:.06em}
  .hero-v2 .hero-stage{width:100%;margin-top:4px}
  .hero-v2 .hero-prize{display:flex;align-items:stretch;gap:10px;height:132px}
  .hero-v2 .hero-pack{position:relative;width:44%;height:132px;object-fit:contain;border-radius:0;background:none;filter:drop-shadow(0 18px 30px rgba(0,0,0,.8))}
  .hero-v2 .hero-prize-card{position:relative;inset:auto;flex:1 1 auto;height:132px;
    display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;
    background:rgba(12,15,22,.72);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px)}
  .hero-v2 .hero-prize-card img{width:58px;height:82px;object-fit:cover;border-radius:6px;flex:0 0 auto}
  .hero-v2 .hero-prize-card figcaption{display:flex;flex-direction:column;gap:2px;min-width:0}
  .hero-v2 .hero-prize-card figcaption small{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.42)}
  .hero-v2 .hero-prize-card figcaption b{font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hero-v2 .hero-prize-card figcaption span{font-size:14px;font-weight:700;color:#A855F7}
  .hero-v2 .hero-badge{font-size:9px;padding:4px 8px;top:8px;left:8px}
  .hero-mini{display:none}
  .hero-scroll{display:none}

  /* cinema reveal stacks vertically */
  .cine-reveal{flex-direction:column;gap:16px;text-align:center;padding:calc(20px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom))}
  .cine-card-wrap{width:min(52vw,210px)}
  .cine-meta{text-align:center;max-width:none}
  .cine-actions{justify-content:center}
  .cine-actions .btn,.cine-actions .ghost{flex:1 1 auto}

  /* thumb-zone: keep the buy CTA reachable */
  .pack-buy{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:20}
}

/* ── 6. reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion:reduce){
  .hero-scroll::after,.cine-shuffle i,.cine-card-wrap::after{animation:none}
  .rise > span,.rv,.rv-stag > *{transition:none;transform:none;opacity:1}
  .par-slow,.par-fast{transform:none}
}


/* ══ 7. ABOVE-THE-FOLD GRID (Opus spec) ═══════════════════════ */
.hero-v2 .hero-inner.hero-v2-grid{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  grid-template-areas:
    "head    stage"
    "actions stage"
    "trust   stage"
    "stats   stage";
  align-content:center;
  align-items:start;
  column-gap:clamp(24px,4vw,64px);
  row-gap:0
}
.hero-head{grid-area:head;align-self:end}
.hero-actions{grid-area:actions;display:flex;flex-direction:column;gap:10px;margin-top:18px}
.hero-v2 .trust-row{grid-area:trust;margin-top:16px}
.hero-v2 .hero-stats{grid-area:stats;align-self:start;margin-top:22px}
.hero-v2 .hero-stage{grid-area:stage;align-self:center;justify-self:end;width:100%}
.hero-v2 .hero-copy{display:contents}

/* the primary buy is the loudest thing on the page */
.hero-buy{width:100%;max-width:420px}
.hero-v2 .hero-actions .hold-btn{max-width:420px}
.hero-v2 .hero-ladder{margin-top:14px}

/* mobile: head → pack → CTA → trust, all inside the first screen */
@media (max-width:760px){
  .hero-v2{padding-bottom:14px}
  .hero-v2 .hero-inner.hero-v2-grid{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:"head" "stage" "actions" "trust";
    row-gap:10px;
    padding:12px 16px 8px;
    align-content:start
  }
  .hero-v2 .hero-head .eyebrow{font-size:10px;letter-spacing:.1em}
  .hero-v2 .hero-head h1{font-size:clamp(30px,8.6vw,42px);line-height:1.02;letter-spacing:-.025em;margin:8px 0 0}
  .hero-v2 .hero-head .lede{
    font-size:13.5px;line-height:1.4;margin-top:8px;max-width:36ch;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
  }
  .hero-v2 .hero-stage{justify-self:stretch;align-self:start;margin-top:2px;min-height:0}
  .hero-v2 .hero-prize{
    display:flex;align-items:center;justify-content:center;gap:14px;
    height:clamp(170px,23svh,215px)
  }
  .hero-v2 .hero-pack{
    position:relative;inset:auto;width:auto;height:100%;max-width:46%;
    object-fit:contain;border-radius:0;background:none;
    filter:drop-shadow(0 22px 44px rgba(0,0,0,.75))
  }
  .hero-v2 .hero-prize-card{
    position:relative;inset:auto;flex:1 1 auto;max-width:170px;height:auto;
    display:flex;flex-direction:column;padding:8px;border-radius:12px;
    background:rgba(12,15,22,.74);border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(10px);transform:none
  }
  .hero-v2 .hero-prize-card img{width:100%;height:auto;max-height:118px;object-fit:contain;border-radius:6px}
  .hero-v2 .hero-prize-card figcaption{padding:7px 2px 2px}
  .hero-v2 .hero-prize-card figcaption small{font-size:8.5px;letter-spacing:.12em}
  .hero-v2 .hero-prize-card figcaption b{font-size:12px}
  .hero-v2 .hero-prize-card figcaption span{font-size:15px}
  .hero-v2 .hero-badge{top:4px;left:4px;font-size:8.5px;padding:3px 7px}
  .hero-mini{display:none}
  .hero-v2 .hero-actions{margin-top:10px;gap:8px}
  .hero-v2 .hero-buy{max-width:none;height:54px;font-size:15.5px;border-radius:14px}
  .hero-v2 .hero-actions .hold-btn{max-width:none;height:48px;font-size:14px;border-radius:14px}
  .hero-v2 .hero-ladder{margin-top:10px;gap:5px}
  .hero-v2 .hero-ladder .lad{font-size:8.5px;padding:3px 7px}
  .hero-v2 .trust-row{display:flex;margin-top:10px;gap:12px;flex-wrap:wrap}
  .hero-v2 .trust-row li{font-size:10.5px;gap:5px}
  .hero-v2 .trust-row li::before{width:10px;height:10px}
  .hero-v2 .hero-stats{display:none}
  .hero-scroll{display:none}
  /* the ticker peeks at the fold — motion cue */
  .ticker{margin-top:2px}
}

/* desktop: keep the ladder tight under the CTAs */
@media (min-width:761px){
  .hero-v2 .hero-ladder{margin-top:16px}
  .hero-v2 .hero-prize{width:min(100%,440px)}
}


/* ══ 8. DEMO PILL + 5-TAB APP BAR ═════════════════════════════ */
.demo-pill{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;
  border:1px solid rgba(168,85,247,.35);background:rgba(168,85,247,.10);
  font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#C084FC;
  white-space:nowrap;transition:background .2s,border-color .2s}
.demo-pill i{width:5px;height:5px;border-radius:50%;background:#C084FC;box-shadow:0 0 0 3px rgba(168,85,247,.16)}
.demo-pill:hover{background:rgba(168,85,247,.18);border-color:rgba(168,85,247,.55)}

@media(max-width:860px){
  /* nav: logo + demo + sign up only. No hamburger, no sign-in link */
  .nav .nav-signin,.nav .nav-open,.nav .burger{display:none!important}
  .nav-right{gap:8px}
  .nav .brand-word{font-size:13px;letter-spacing:.14em}

  .tabbar.tabbar-5{
    grid-template-columns:repeat(5,1fr);
    height:calc(64px + env(safe-area-inset-bottom));
    padding:0 4px env(safe-area-inset-bottom);
    align-items:center;overflow:visible
  }
  .tabbar.tabbar-5 .tab{
    position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    height:64px;padding:0;border-radius:0;background:none!important;color:#7E8CA6
  }
  .tabbar.tabbar-5 .tab span{font-size:9.5px;font-weight:600;letter-spacing:.02em}
  .tabbar.tabbar-5 .tab svg{width:21px;height:21px}
  .tabbar.tabbar-5 .tab.is-on{color:#fff}
  .tabbar.tabbar-5 .tab.is-on svg{stroke:#7FA0FF;filter:drop-shadow(0 0 8px rgba(124,58,237,.65))}
  .tabbar.tabbar-5 .tab-rip{justify-content:flex-end;padding-bottom:14px}
  .tabbar.tabbar-5 .tab-rip .rip-label{font-size:9.5px;color:#DDD6FE;margin-top:32px}
  .tab-rip .rip-disc{
    position:absolute;left:50%;top:-22px;transform:translateX(-50%);
    width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
    background:linear-gradient(180deg,#F2E2B4,#A855F7 55%,#B99B54);
    box-shadow:0 12px 30px rgba(168,85,247,.42),0 0 0 4px rgba(9,11,18,.92),0 0 0 5px rgba(168,85,247,.35);
    transition:transform .18s cubic-bezier(.2,.9,.25,1.2)
  }
  .tab-rip .rip-disc svg{width:24px;height:24px;stroke:#191307;stroke-width:1.9}
  .tab-rip:active .rip-disc{transform:translateX(-50%) scale(.94)}
  .tab-rip .rip-disc::after{content:"";position:absolute;inset:-10px;border-radius:50%;
    border:1px solid rgba(168,85,247,.28);animation:ripHalo 2.8s ease-out infinite}
  @keyframes ripHalo{0%{opacity:.55;transform:scale(.86)}70%{opacity:0;transform:scale(1.16)}100%{opacity:0}}
}

/* sticky buy bar on pack detail (mobile) */
@media(max-width:760px){
  .pack-buy{
    position:fixed;left:10px;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));
    z-index:55;margin:0;padding:9px;border-radius:16px;
    background:rgba(10,13,20,.94);border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(16px);box-shadow:0 18px 44px rgba(0,0,0,.6);
    display:flex;align-items:center;gap:10px
  }
  .pack-buy .price-big{font-size:22px;margin:0;flex:0 0 auto}
  .pack-buy .btn{flex:1;height:48px;margin:0}
  .pack-buy .muted.small{display:none}
  body:not(.bare){padding-bottom:calc(150px + env(safe-area-inset-bottom))}
}


/* ══ 9. SCROLL CHOREOGRAPHY ═══════════════════════════════════ */

/* featured drops: cards deal into place */
.deal > *{opacity:0;transform:translateY(30px) rotate(-2.2deg) scale(.94);
  transition:opacity .52s cubic-bezier(.2,.9,.25,1.1),transform .52s cubic-bezier(.2,.9,.25,1.1)}
.deal.in > *{opacity:1;transform:none}
.deal.in > *:nth-child(2){transition-delay:.07s}
.deal.in > *:nth-child(3){transition-delay:.14s}
.deal.in > *:nth-child(4){transition-delay:.21s}
.deal.in > *:nth-child(5){transition-delay:.28s}
.deal.in > *:nth-child(6){transition-delay:.35s}

/* section headings wipe in from the left */
.wipe{clip-path:inset(0 100% 0 0);transition:clip-path .72s cubic-bezier(.2,.8,.2,1)}
.wipe.in{clip-path:inset(0 0 0 0)}

/* ticker leans with scroll velocity */
.ticker-track{transform:skewX(calc(var(--tv,0) * -0.02deg))}


/* ══ 10. HERO: THE PACK NEVER STOPS MOVING ════════════════════ */
.hero-v2 .hero-stage{position:relative;overflow:visible}

/* two columns of real cards streaming up and down behind the pack */
.hero-stream{
  position:absolute;left:-4%;right:-4%;top:-14%;bottom:-14%;z-index:0;
  display:flex;gap:clamp(8px,1.4vw,18px);justify-content:center;
  opacity:.5;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 84%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0%,#000 16%,#000 84%,transparent 100%)
}
.hero-stream .hs-col{flex:1 1 0;min-width:0;overflow:hidden}
.hero-stream .hs-track{display:flex;flex-direction:column;gap:clamp(8px,1.2vw,14px);
  animation:hsUp 26s linear infinite;will-change:transform}
.hero-stream .hs-b .hs-track{animation-duration:34s;animation-direction:reverse}
@keyframes hsUp{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-50%,0)}}

.hero-stream .hs-card{
  position:relative;display:block;width:100%;aspect-ratio:5/7;flex:0 0 auto;
  border-radius:5px;overflow:hidden;background:#0b0d12;
  transform:rotate(var(--r,0deg));
  box-shadow:0 10px 26px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06)
}
.hero-stream .hs-face{
  position:absolute;inset:0;display:block;background-size:cover;background-position:center;
  animation:hsFlip 9.5s steps(1,end) infinite;animation-delay:var(--d,0s)
}
.hero-stream .hs-alt{opacity:0;animation-name:hsFlipAlt}
@keyframes hsFlip{0%,48%{opacity:1}48.01%,100%{opacity:0}}
@keyframes hsFlipAlt{0%,48%{opacity:0}48.01%,100%{opacity:1}}

/* the pack itself floats and sways, forever */
.hero-v2 .hero-prize{animation:heroFloat 7.5s ease-in-out infinite;z-index:2}
@keyframes heroFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(-1.2deg)}
  50%{transform:translate3d(0,-10px,0) rotate(1.2deg)}
}
/* slow specular sweep across the pack foil */
.hero-v2 .hero-pack{animation:none}
.hero-v2 .hero-prize::before{
  content:"";position:absolute;inset:0;z-index:3;border-radius:22px;pointer-events:none;
  background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.16) 48%,transparent 58%);
  transform:translateX(-120%);
  animation:packSweep 6.5s cubic-bezier(.4,0,.2,1) infinite
}
@keyframes packSweep{0%,62%{transform:translateX(-120%)}88%,100%{transform:translateX(120%)}}

/* the prize caption cycles through real top cards */
.hero-v2 .hero-prize-card{transition:opacity .35s ease,transform .35s var(--ease)}
.hero-v2 .hero-prize-card.is-swapping{opacity:0;transform:translateY(6px) rotate(3deg)}

@media (max-width:760px){
  .hero-stream{left:-10%;right:-10%;top:-10%;bottom:-10%;opacity:.38;gap:8px}
  .hero-stream .hs-track{animation-duration:30s}
  .hero-v2 .hero-prize{animation-duration:8.5s}
  .hero-v2 .hero-prize::before{animation-duration:7.5s}
}
@media (prefers-reduced-motion:reduce){
  .hero-stream .hs-track,.hero-v2 .hero-prize,.hero-v2 .hero-prize::before,.hero-stream .hs-face{animation:none}
  .hero-stream .hs-alt{opacity:0}
}


/* ══ 11. HERO WITHOUT THE FILM — pack + slab, rebuilt ════════ */
/* the film is gone: give the hero a lit backdrop so it isn't flat */
.hero-v2{
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(124,58,237,.16), transparent 58%),
    radial-gradient(90% 80% at 62% 92%, rgba(168,85,247,.10), transparent 62%),
    linear-gradient(180deg,#070810 0%,#080a12 55%,#06070c 100%)
}
.hero-v2::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:3px 3px;opacity:.5;mask-image:radial-gradient(80% 70% at 60% 40%,#000,transparent 78%)}
.hero-film,.hero-film-veil{display:none!important}

/* composition */
.hero-v2 .hero-prize{
  position:relative;width:min(100%,430px);aspect-ratio:4/5;
  display:block;animation:heroFloat 7.5s ease-in-out infinite;z-index:2
}
.hero-v2 .hp-glow{position:absolute;inset:-16% -12% -8% -12%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(168,85,247,.20),rgba(124,58,237,.10) 55%,transparent 78%);
  filter:blur(28px)}
.hero-v2 .hp-pack{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center}
.hero-v2 .hp-pack .hero-pack{
  position:relative;width:100%;height:100%;object-fit:contain;
  filter:drop-shadow(0 40px 60px rgba(0,0,0,.85)) drop-shadow(0 0 34px rgba(168,85,247,.14));
  animation:none;border-radius:0
}
/* the graded slab leaning against the pack */
.hero-v2 .hp-slab{
  position:absolute;z-index:3;right:-2%;bottom:7%;width:44%;
  transform:rotate(-7deg);transform-origin:60% 90%;
  border-radius:9px;overflow:hidden;
  background:linear-gradient(180deg,#1b1f29,#0b0e14);
  box-shadow:
    0 30px 60px rgba(0,0,0,.85),
    0 2px 0 rgba(255,255,255,.16) inset,
    0 0 0 1px rgba(255,255,255,.14),
    0 0 44px rgba(168,85,247,.16);
  transition:transform .5s var(--ease),box-shadow .5s var(--ease)
}
.hero-v2 .hp-slab::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;border-radius:9px;
  background:linear-gradient(120deg,transparent 42%,rgba(255,255,255,.14) 50%,transparent 58%);
  animation:slabSheen 7s ease-in-out infinite}
@keyframes slabSheen{0%,72%{transform:translateX(-130%)}92%,100%{transform:translateX(130%)}}
.hero-v2 .hp-slab img{display:block;width:100%;height:auto;position:relative;z-index:1}
.hero-v2 .hp-price{
  position:absolute;right:6px;bottom:6px;z-index:3;
  padding:4px 8px;border-radius:7px;font-size:12px;font-weight:800;
  letter-spacing:-.01em;color:#0d0b06;background:linear-gradient(180deg,#F4E6BC,#A855F7);
  box-shadow:0 6px 16px rgba(0,0,0,.55);font-variant-numeric:tabular-nums
}
.hero-v2 .hp-caption{
  position:absolute;left:0;bottom:-6px;z-index:4;margin:0;
  font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.5);
  max-width:60%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.hero-v2 .hp-caption b{display:block;font-size:12.5px;letter-spacing:.01em;text-transform:none;
  color:#EDE3C8;font-weight:600;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-v2 .hp-live{
  position:absolute;left:2%;top:1%;z-index:5;display:inline-flex;align-items:center;gap:6px;
  font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#fff;
  padding:5px 9px;border-radius:999px;background:rgba(8,10,16,.6);
  border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px)
}
.hero-v2 .hp-live i{width:5px;height:5px;border-radius:50%;background:#10B981;
  box-shadow:0 0 0 3px rgba(16,185,129,.18)}

/* kill the old panel look wherever it still paints */
.hero-v2 .hero-prize-card,.hero-v2 .hero-mini,.hero-v2 .hero-badge{display:none!important}

@media (max-width:760px){
  .hero-v2 .hero-prize{width:min(100%,300px);aspect-ratio:4/5;margin:0 auto}
  .hero-v2 .hp-slab{width:46%;right:-1%;bottom:8%}
  .hero-v2 .hp-caption{bottom:-2px;font-size:9.5px}
  .hero-v2 .hp-caption b{font-size:11.5px}
  .hero-v2 .hp-price{font-size:11px;padding:3px 7px}
}

/* ══ 12. THEATRE WITHOUT VIDEO — stills only ══════════════════ */
.cine-stage{position:absolute;inset:0;z-index:1;display:grid;place-items:center;
  background:radial-gradient(120% 80% at 50% 40%,#0d0b14,#05060a 70%)}
.cine-still{
  width:min(54vw,330px);height:auto;border-radius:0;background:none;
  filter:drop-shadow(0 40px 70px rgba(0,0,0,.9));
  transition:transform .45s var(--ease),filter .45s var(--ease)
}
.cine-still.tear{filter:brightness(1.22) saturate(1.1)}   /* no scale: the pack must not jump size */
.cine-tear{position:absolute;left:50%;top:50%;width:2px;height:0;opacity:0;
  transform:translate(-50%,-50%);
  background:linear-gradient(180deg,transparent,#fff 45%,#fff 55%,transparent);
  box-shadow:0 0 24px 6px rgba(168,85,247,.55)}
.cine-still.tear ~ .cine-tear{animation:tearLine .55s ease-out forwards}
@keyframes tearLine{0%{height:0;opacity:0}35%{height:110%;opacity:.95}100%{height:130%;opacity:0}}
@media (max-width:760px){.cine-still{width:min(72vw,280px)}}


/* ══ 13. PACK OPENING: FILM + FADES ═══════════════════════════ */
/* the film sits over the pack still and cross-fades in, then out to the card */
.cine-stage #cineVideo{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2;
  opacity:0;transition:opacity .55s cubic-bezier(.4,0,.2,1);background:#05060a
}
.cine-stage #cineVideo.on{opacity:1}
.cine-stage .cine-still{transition:opacity .55s cubic-bezier(.4,0,.2,1),transform .45s var(--ease),filter .45s var(--ease);z-index:1}
.cine-stage.playing .cine-still{opacity:0}
.cine-reveal{opacity:0;transition:opacity .5s cubic-bezier(.4,0,.2,1)}
.cine-reveal.on{opacity:1}
.cine-reveal .cine-card-wrap{animation:cardLand .7s cubic-bezier(.16,1.02,.3,1) both}


/* ══ 14. REAL RIP: pack still → film → black ═════════════════ */
.open-stage{position:fixed;inset:0;background:#05060a;display:grid;place-items:center;z-index:400}
.open-still{width:min(62vw,340px);height:auto;border-radius:12px;
  box-shadow:0 40px 90px rgba(0,0,0,.85);transition:opacity .5s cubic-bezier(.4,0,.2,1)}
.open-stage.film .open-still{opacity:0}
.open-stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .55s cubic-bezier(.4,0,.2,1)}
.open-stage video.on{opacity:1}
.open-black{position:absolute;inset:0;background:#05060a;opacity:0;pointer-events:none;
  transition:opacity .38s ease}
.open-black.on{opacity:1}
.open-skip{position:absolute;right:16px;top:16px;z-index:5}
.open-skip a{padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.45);color:#fff;font-size:12px;text-decoration:none}
@media (max-width:760px){.open-still{width:min(76vw,300px)}}


/* ══ 15. OPENING FILM: ONE SIZE, NO ZOOM ══════════════════════ */
/* the tier films are 720x1280 — never stretch them to fill a wide stage */
.cine-stage #cineVideo{
  position:absolute;inset:0;width:100%;height:100%;   /* absolute so 9:16 cannot inflate the grid */
  object-fit:cover;object-position:center center;background:#05060a;
  transform:none!important;animation:none!important
}
.open-stage video{
  object-fit:cover;object-position:center center;background:#05060a;
  transform:none!important;animation:none!important
}
.open-stage{background:#05060a}
.open-still{max-height:min(78vh,620px);width:auto;object-fit:contain}

/* ══ 16. PACK CARDS: CTA ABOVE THE FOLD ══════════════════════ */
.pack-cta{padding:10px 12px 12px}
.pack-open{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;
  border-radius:12px;font-weight:700;font-size:14px;color:#fff;
  background:linear-gradient(135deg,#7C3AED,#A855F7);
  box-shadow:0 10px 24px rgba(124,58,237,.3)}
.pack:hover .pack-open{filter:brightness(1.08)}
@media (max-width:760px){
  .pack-art{aspect-ratio:16/11;height:auto;min-height:0}
  .pack-art .pack-peek{width:100%;height:100%;object-fit:cover;object-position:center}
  .pack-fomo{display:none}
  .pack-meta{padding:8px 12px 0}
  .pack-cta{padding:8px 12px 10px}
  .pack-open{height:46px}
}


/* the theatre lives inside <main>, and a transformed ancestor makes position:fixed
   resolve against that box — pin explicit viewport units so it can never stretch */
.cine{position:fixed!important;top:0!important;left:0!important;
  width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden}
.cine-pre,.cine-reveal,.cine-stage{position:absolute!important;top:0;left:0;
  width:100%!important;height:100%!important;inset:auto!important}
.cine-reveal{align-items:center;justify-content:center}
.open-stage{position:fixed!important;top:0;left:0;width:100vw!important;height:100dvh!important;overflow:hidden}


/* ══ 17. SMOKE WIPE — hides the cut between film and card ════ */
/* .cine video would otherwise win the cascade — match its specificity */
.cine video.cine-smoke,.open-stage video.open-smoke{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  z-index:8;pointer-events:none;mix-blend-mode:screen;
  opacity:0;transition:opacity 1.15s cubic-bezier(.4,0,.2,1);background:transparent;
  transform:none!important
}
.cine video.cine-smoke.on,.open-stage video.open-smoke.on{opacity:1}
.cine-flash{z-index:7}


/* ══ 18. REVEAL: SMOKE CURTAIN SWEEPS DOWN (Opus spec) ═══════ */
/* layer order: pack/ film 1 · reveal 2 · curtain 3 · glow 4 · flash 5 · skip 6 */
.cine-reveal{z-index:2!important}
.cine-flash{z-index:5!important}
.cine-skip{z-index:12!important}
.cine video#cineVideo{z-index:1}

.cine-curtain,.cine-glow{
  position:absolute;left:0;right:0;top:0;height:200dvh;width:100%;
  pointer-events:none;opacity:0;transform:translate3d(0,-200dvh,0);
  -webkit-mask-image:linear-gradient(transparent 0%,#000 25%,#000 75%,transparent 100%);
          mask-image:linear-gradient(transparent 0%,#000 25%,#000 75%,transparent 100%);
  will-change:transform
}
.cine-curtain{
  z-index:9;background:#05060a;opacity:1;   /* opaque black — the occluder */
}
.cine-glow{
  z-index:10;mix-blend-mode:screen;object-fit:cover;background:transparent;
  transition:none
}
.cine-glow.b{transform:translate3d(0,-200dvh,0) scaleX(-1)}

/* the sweep itself: decelerate in, drift, accelerate out — never a dead stop */
/* one uninterrupted pass: enters at the top, leaves at the bottom, never stops.
   full cover happens for an instant at the midpoint — that is where the swap lands. */
@keyframes smokeSweep{
  0%   {transform:translate3d(0,-200dvh,0);animation-timing-function:cubic-bezier(.45,.05,.55,.95)}
  100% {transform:translate3d(0,100dvh,0)}
}
.cine-glow{opacity:0}
.cine-glow[data-live]{opacity:1}
.cine-curtain,.cine-glow{transition:none!important}

/* card settles underneath while the smoke leaves */
.cine-reveal .cine-card-wrap{transition:transform 1100ms cubic-bezier(.16,1,.3,1)}
.cine-reveal.pre .cine-card-wrap{transform:scale(1.04) translateY(16px)}

/* grain over the feathers so the masks never show a band */
.cine-curtain::after{content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:3px 3px;opacity:.5;mix-blend-mode:overlay}


/* ══ 19. BUTTONS: FLAT, NO COLOUR FADE ═══════════════════════ */
.btn{
  background:#7C3AED!important;
  box-shadow:0 1px 0 rgba(255,255,255,.14) inset,0 8px 18px rgba(0,0,0,.35)!important;
  transition:background .15s ease,border-color .15s ease,transform .1s ease!important
}
.btn:hover{background:#8B4BF0!important;filter:none!important;box-shadow:0 1px 0 rgba(255,255,255,.16) inset,0 8px 18px rgba(0,0,0,.35)!important}
.btn:active{background:#6D28D9!important}
.pack-open{background:#7C3AED!important;box-shadow:none!important}
.pack:hover .pack-open{background:#8B4BF0!important;filter:none!important}

/* pre-roll poster fills the same box as the film so nothing changes size */
.cine-still{position:absolute!important;inset:0;width:100%!important;height:100%!important;
  max-height:none!important;object-fit:contain;border-radius:0;box-shadow:none}
.cine-stage.playing .cine-still{opacity:0;transition:opacity .25s linear}


/* ── smoke must be the topmost layer and cover edge to edge ─────────────── */
.cine video.cine-smoke,.open-stage video.open-smoke{
  position:absolute;inset:0;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center;
  z-index:40!important;
  -webkit-mask-image:none!important;mask-image:none!important
}
.cine-curtain{z-index:39!important}
.cine-flash{z-index:41!important}
.cine-skip{z-index:45!important}
@media(max-width:760px){
  .cine video#cineVideo,.open-stage video#openFilm{object-fit:cover!important}
}

/* the pre-roll poster must fill exactly like the film — it was 488px tall with
   contain, which left a black band across the bottom third on phones */
.open-stage .open-still{
  position:absolute!important;inset:0;width:100%!important;height:100%!important;
  max-height:none!important;object-fit:cover!important;object-position:center center;
  z-index:1
}

/* the tier films frame the pack small with black margins baked in; on a phone
   that reads as a letterbox. A static scale fills the screen without motion. */
/* the films are authored full-frame now: no zoom needed. The 1.28 scale was a
   workaround for letterboxed clips and it was inflating the first frame. */
@media(max-width:760px){
  #openFilm,.open-stage .open-still{transform:none!important;transform-origin:center center}
}

/* the smoke plate is an accent over the pack, never a full-screen white wash */
.open-stage video.open-smoke,.cine video.cine-smoke{
  mix-blend-mode:screen!important;
  opacity:0!important;
  transition:opacity .5s ease!important
}
.open-stage video.open-smoke.on,.cine video.cine-smoke.on{opacity:.55!important}
.open-stage video#openFilm{z-index:1!important}

/* the opener is the film alone: the smoke plate was stretching a landscape clip
   to portrait and washing the whole frame out. The film already carries its own
   burst, and the card fades in after it. */
.open-smoke,.cine-smoke,.cine-glow,.cine-curtain{display:none!important}

/* the reveal card must sit EXACTLY where the film left it: the back frame's
   measured box, in viewport units, so the flip happens in place. */
.rip-stage.postfilm #cardLayer{
  position:fixed!important;
  left:var(--bx)!important;top:var(--by)!important;
  width:var(--bw)!important;height:var(--bh)!important;
  inset:auto!important;z-index:30!important;margin:0!important;
  transition:none!important
}
.rip-stage.postfilm #cardLayer .flipcard,
.rip-stage.postfilm #cardLayer .flip-inner{width:100%!important;height:100%!important}

/* every tier shares one master film, so the card box is the same everywhere:
   331x463 at (194,408) of 720x1280 → these exact viewport units. The var path
   proved unreliable on a fixed layer, so the fallback is explicit. */
.rip-stage.postfilm #cardLayer{
  left:26.94vw!important;top:31.88vh!important;
  width:45.97vw!important;height:36.17vh!important
}

/* the card back carried across the page change: same box, same pixels */
.open-back{
  position:fixed;left:26.94vw;top:31.88vh;width:45.97vw;height:36.17vh;
  object-fit:contain;opacity:0;transition:opacity .12s linear;pointer-events:none;z-index:42
}
.open-back.on{opacity:1}

/* card corners match the footage; the film dissolves rather than cutting */
.open-stage.fade-out,
#openFilm.fade-out{
  opacity:0!important;
  transition:opacity .28s ease-out!important
}
.flipcard,.flip-inner,.flip-face,#cardLayer{border-radius:var(--r,11px)!important;overflow:hidden}
.open-back{border-radius:var(--r,11px)}

/* cover-mapped card box (390x844 reference): 218x305 at 85,269.
   The runtime sets exact px; this is the no-JS fallback. */
.rip-stage.postfilm #cardLayer,
.open-back{left:21.93vw!important;top:31.88vh!important;width:55.96vw!important;height:36.17vh!important}

/* the film's own last frame, full-screen behind the card: same pixels, same
   cover-fit, so the hand-off is invisible. It fades once the card has turned. */
.rip-bg-frame{
  position:fixed;inset:0;z-index:1;pointer-events:none;
  background-size:cover;background-position:center center;background-repeat:no-repeat;
  opacity:1;transition:opacity .9s ease 1.1s
}
.rip-bg-frame.out{opacity:0}
.rip-stage.postfilm .rip-center,.rip-stage.postfilm .rip-media{position:relative;z-index:30}

/* the background must keep MOVING through the hand-off: a frozen still makes the
   particles stop dead, which reads as a patch. Looping video instead. */
video.rip-bg-frame{
  position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;
  pointer-events:none;opacity:1;transition:opacity .9s ease 1.1s
}

/* ── one card, one flip: video → its last frame → front ─────────────────── */
.rv-card{
  position:fixed;opacity:0;z-index:50;perspective:1400px;pointer-events:none;
  border-radius:var(--r,11px);overflow:hidden;transition:opacity .12s linear
}
.rv-card.on{opacity:1}
.rv-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;
  transition:transform .85s cubic-bezier(.2,.75,.2,1)}
.rv-card.flip .rv-inner{transform:rotateY(180deg)}
.rv-face{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:var(--r,11px)}
.rv-front{transform:rotateY(180deg)}
.rv-meta{position:fixed;left:0;right:0;bottom:18vh;text-align:center;opacity:0;
  transition:opacity .5s ease;z-index:51;pointer-events:none}
.rv-meta.on{opacity:1;pointer-events:auto}
.rv-meta h2{margin:6px 0 2px;font-size:clamp(20px,5.6vw,30px)}
.rv-val{font-size:26px;font-weight:800;margin:10px 0 14px}
.rv-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* stage leaves entirely once the film ends */
.open-stage.gone{opacity:0;transition:opacity .12s linear;pointer-events:none}

/* the back crop IS the card: fill the box exactly, never crop it further */
.rv-face{object-fit:fill!important;border-radius:var(--r,11px)}

/* the back is a cut-out of the frame: transparent corners, no glow fringe */
.rv-back{background:transparent!important;border-radius:var(--r,11px)!important}
.rv-front{border-radius:var(--r,11px)!important}

/* ── opener page: poster must sit in the film's box, meta must not touch the card ── */
.open-stage .open-still{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center!important;
  transform:none!important;
}

.rv-meta{
  position:fixed!important;left:0;right:0;bottom:0!important;
  padding:22px 20px calc(22px + env(safe-area-inset-bottom))!important;
  text-align:center;
  background:linear-gradient(to top, rgba(6,6,10,.96) 30%, rgba(6,6,10,.72) 65%, transparent);
  backdrop-filter:blur(10px);
  z-index:60!important;
}
.rv-meta .eyebrow{margin:0 0 2px;font-size:10px;letter-spacing:.22em;opacity:.75}
.rv-meta h2{margin:0 0 4px;font-size:clamp(19px,5.4vw,26px);line-height:1.1}
.rv-meta p.muted{margin:0 0 10px;font-size:12px;opacity:.7}
.rv-val{font-size:26px;font-weight:800;letter-spacing:-.01em;margin:0 0 14px}
.rv-actions{display:flex;gap:9px;justify-content:center}
.rv-actions .btn,.rv-actions .ghost{flex:1 1 0;min-height:46px}

/* ── the opener/reveal page is a single fixed screen: no scroll, no chrome bars ── */
html.rv-lock,html.rv-lock body{height:100%!important;overflow:hidden!important;overscroll-behavior:none}
html.rv-lock main{height:100%!important;min-height:0!important;padding:0!important;margin:0!important}
html.rv-lock .rv-meta{bottom:0!important}

/* ── reveal: tier-lit room, pedestal shadow, staggered entrance ─────────── */
.rv-ambient{
  position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;
  transition:opacity .9s ease .15s;
  background:
    radial-gradient(58% 42% at 50% 40%, color-mix(in srgb, var(--tier) 26%, transparent) 0%, transparent 68%),
    radial-gradient(90% 60% at 50% 108%, color-mix(in srgb, var(--tier) 14%, transparent) 0%, transparent 70%);
  filter:blur(2px)
}
.rv-ambient.on{opacity:1}
.rv-card{
  box-shadow:
    0 34px 60px rgba(0,0,0,.72),
    0 6px 18px rgba(0,0,0,.55),
    0 0 46px color-mix(in srgb, var(--tier, #7C3AED) 18%, transparent);
  transition:box-shadow .6s ease
}
.rv-meta > *{opacity:0;transform:translateY(10px);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.rv-meta.on > *{opacity:1;transform:none}
.rv-meta.on .eyebrow{transition-delay:.02s}
.rv-meta.on h2{transition-delay:.08s}
.rv-meta.on p.muted{transition-delay:.14s}
.rv-meta.on .rv-val{transition-delay:.2s}
.rv-meta.on .rv-actions{transition-delay:.28s}
.rv-val{font-variant-numeric:tabular-nums}

/* the panel fades in, but its links must be clickable the moment they are
   visible — pointer-events:none on the wrapper was swallowing the taps */
.rv-meta .rv-actions,.rv-meta .rv-actions a{pointer-events:auto!important}
.rv-meta{pointer-events:none}

/* ── corners must be CIRCULAR, matching the film's card ──────────────────
   border-radius:4.2% on a 339x489 box resolves to 14px across and 20px down —
   an ellipse. The card in the film has a circular corner, so the radius has to
   be a single length. --r is set from the rendered width in JS. */
.rv-card,.rv-inner,.rv-face,.rv-back,.rv-front{
  border-radius:var(--r, 14px)!important;
}

/* ── iOS / mobile GPU budget guard ────────────────────────────────────────
   iOS Safari allocates a separate render pass per backdrop-filter. With 10
   stacked on one screen plus several infinite animations, the WebView runs
   out of GPU memory and the tab crashes ("A problem repeatedly occurred").
   On touch/small screens we swap the frosted glass for a flat tint — visually
   near-identical, but no extra render passes — and stop the loops that keep
   the compositor awake while the page is idle. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .nav.is-stuck,
  .hero-ladder .lad,
  .cine-skip,
  .pack-hold,
  .slab,
  .hero-v2 .hs-card,
  .hero-stream .hs-card,
  .tier-pill,
  [class*="backdrop"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(8,10,16,.86) !important;
  
  .hero-stream .hs-face { animation: none !important; }
  .hero-stream .hs-alt { display: none !important; }
}
  /* keep the hero stream: it is transform-only and cheap */
  .hero-v2 .hero-prize,
  .hero-v2 .slab,
  .hero-v2 .pack-sweep {
    animation: none !important;
  }
  .cine-card-wrap::after {
    animation: none !important;
    opacity: .3 !important;
  }
}
