/* Story slides: everything after the intro. styles.css owns the frame, intro, chrome and start screen.

   Motion. Every .fx element spawns when its slide opens, idles while the slide is showing and
   despawns when the slide is left (during the slide transition). Mix one of each:
     spawn    fade (default)  rise  pop  zoom  drop  slide-l  slide-r   or set --spawn
     idle     drift (default) float  sway  breathe                     or set --idle
     despawn  out (default)                                            or set --despawn
   --d delays the spawn; the idle starts when the spawn ends. Numbers are .wheel reels (slides.js). */

/* Film grain over flat fills. On the frame, so the start screen can use it as well as the story. */
.frame{--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");}
.story,.finale-bg{
  --cream:#F4EAD5; --paper:#F8F0DF; --ink:#17130E;
  --red:#D23A2C; --red-deep:#A42219;
  --green:#1E4730; --chalk:#F1EDE1;
  --gold-deep:#B9832A; --gold-hi:#F8DC8C;
  --ease:cubic-bezier(.2,.8,.2,1);
  --spring:cubic-bezier(.3,1.5,.55,1);
  --exit:cubic-bezier(.35,0,.7,.4);
  --flash:var(--gold-hi);
  place-items:stretch;color:var(--cream);font-weight:500;
}
.story .body{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;
             padding:max(74px,10.5cqh) 30px max(74px,9.5cqh) 24px}
:where(.story) :where(h2,p,ul,ol,dl,dd,figure){margin:0;padding:0}
:where(.story) :where(ul,ol){list-style:none}
:where(.story) .cond{font-stretch:62%;font-weight:900;text-transform:uppercase;line-height:.84;letter-spacing:0}
:where(.story) .eyebrow{display:block;font-stretch:125%;font-weight:700;font-size:.62rem;line-height:1.25;letter-spacing:.24em;text-transform:uppercase}
:where(.story) .script{font-family:"Yellowtail","Brush Script MT",cursive;font-weight:400;line-height:1;text-transform:none;letter-spacing:0}

/* ---------- Motion system ---------- */
:where(.story .fx,.finale-bg .fx){--spawn:fx-fade;--sd:.8s;--se:var(--ease);--idle:fx-drift;--id:5.5s;--ie:ease-in-out;--idir:alternate;--despawn:fx-out;--od:.36s}
.slide.story.active .fx,.frame.finale .finale-bg .fx{
  animation-name:var(--spawn),var(--idle);
  animation-duration:var(--sd),var(--id);
  animation-timing-function:var(--se),var(--ie);
  animation-delay:var(--d,0s),calc(var(--d,0s) + var(--sd));
  animation-iteration-count:1,infinite;
  animation-direction:normal,var(--idir);
  animation-fill-mode:backwards,none;
}
/* --o staggers the despawn; slides.js cascades it through each slide's elements */
.slide.story:not(.active) .fx,.frame:not(.finale) .finale-bg .fx{animation:var(--despawn) var(--od) var(--exit) var(--o,0s) both}
.frame.paused .story *,.frame.paused .story *::before,.frame.paused .story *::after,.frame.paused .finale-bg *{animation-play-state:paused!important}

.story .rise{--spawn:fx-rise}
.story .pop{--spawn:fx-pop;--sd:.75s;--se:cubic-bezier(.25,.8,.35,1)}
.story .zoom{--spawn:fx-zoom;--sd:1.1s}
.story .drop{--spawn:fx-drop;--sd:1.1s;--se:linear}
.story .slide-l{--spawn:fx-slide-l}
.story .slide-r{--spawn:fx-slide-r}
.story .float{--idle:fx-float;--id:4.2s}
.story .sway{--idle:fx-sway;--id:6s}
.story .breathe{--idle:fx-breathe;--id:2.6s}

@keyframes fx-fade{from{opacity:0}}
@keyframes fx-rise{from{opacity:0;translate:0 3.5cqh}}
@keyframes fx-pop{0%{opacity:0;scale:.4}55%{opacity:1;scale:1.08}78%{scale:.98}100%{scale:1}}
@keyframes fx-zoom{from{opacity:0;scale:1.16}}
@keyframes fx-drop{
  0%{opacity:0;translate:0 -24cqh;animation-timing-function:cubic-bezier(.55,0,1,.45)}
  45%{opacity:1;translate:0 0;animation-timing-function:cubic-bezier(0,.55,.45,1)}
  64%{translate:0 -2.6cqh;animation-timing-function:cubic-bezier(.55,0,1,.45)}
  80%{translate:0 0;animation-timing-function:cubic-bezier(0,.55,.45,1)}
  90%{translate:0 -.6cqh;animation-timing-function:cubic-bezier(.55,0,1,.45)}
  100%{translate:0 0}}
@keyframes fx-slide-l{from{opacity:0;translate:-9cqw 0}}
@keyframes fx-slide-r{from{opacity:0;translate:9cqw 0}}
/* Idles animate `transform` only. Spawns use translate/scale/rotate/opacity, so the two never share a
   property, which is what lets Chrome run both on the GPU compositor instead of the main thread. */
@keyframes fx-drift{to{transform:translateY(-.45cqh)}}
@keyframes fx-float{to{transform:translateY(-1cqh)}}
@keyframes fx-sway{0%{transform:rotate(0deg)}25%{transform:rotate(1.5deg)}75%{transform:rotate(-1.5deg)}100%{transform:rotate(0deg)}}
@keyframes fx-breathe{to{transform:scale(1.035)}}
@keyframes fx-spin{to{transform:rotate(360deg)}}
@keyframes fx-out{to{opacity:0;scale:.92}}
@keyframes fx-out-up{to{opacity:0;translate:0 -6cqh}}
@keyframes fx-sheen{0%{translate:-120% 0}32%,100%{translate:120% 0}}

/* ---------- Number reels (slides.js builds the digits) ---------- */
.story .wheel{--spawn:fx-wheel;--se:linear;--idle:fx-breathe;--id:2.4s;--despawn:none;
              position:relative;display:inline-flex;vertical-align:top;font-variant-numeric:tabular-nums;transform-origin:50% 60%}
@keyframes fx-wheel{to{--wheel:1}}
.wheel-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wheel-vis{display:flex;align-items:flex-start;height:var(--cell,1em);line-height:var(--cell,1em)}
.wheel-digit{position:relative;display:block;height:var(--cell,1em);overflow:hidden}
.wheel-digit::before{content:"0";visibility:hidden}
.wheel-strip{position:absolute;inset:0 0 auto;display:flex;flex-direction:column}
.slide.active .wheel-strip{will-change:transform}
.wheel-glyph{display:block;flex:none;height:var(--cell,1em);text-align:center}
.wheel-comma{display:block;width:.22em;text-align:center}
.slide.active .wheel-vis{animation:fx-impact var(--pulse,.5s) linear var(--d,0s) backwards}
@keyframes fx-impact{
  25%{scale:var(--impact,1.06);color:var(--flash);filter:drop-shadow(0 0 .07em var(--flash))}
  50%{scale:calc(1 + (var(--impact,1.06) - 1) * .6);color:var(--flash);filter:drop-shadow(0 0 .04em var(--flash));animation-timing-function:ease-out}}
.slide.story:not(.active) .wheel-strip{animation:fx-roll-out .34s var(--exit) calc(var(--o,0s) + var(--i,0) * 45ms) both}
.slide.story:not(.active) .wheel-comma{animation:fx-out .3s var(--exit) var(--o,0s) both}
@keyframes fx-roll-out{to{translate:0 -33.34%}}

/* ---------- Stadium lights (season tickets and final) ---------- */
/* slides.js draws each lamp rack. Here: placement, a turn in perspective toward the field, and
   power on/off. --bank-w sizes the banks per slide. */
.bank{position:absolute;top:max(58px,7.4cqh);width:var(--bank-w,26cqw);perspective:360px;
      --spawn:none;--sd:.5s;--idle:fx-hum;--id:3.2s}
/* each bank faces in toward the field: its inner edge recedes */
.bank.l{left:4cqw;rotate:4deg;--turn:28deg}
.bank.r{right:4cqw;rotate:-4deg;--turn:-28deg;--id:3.7s}
.bank svg{position:relative;display:block;width:100%;height:100%;overflow:visible;transform:rotateX(16deg) rotateY(var(--turn,0deg))}
.bank .glow{mix-blend-mode:plus-lighter}
/* the halo the lights throw into the night air, in front of the bank so it washes over the frame */
.bank::after{content:"";position:absolute;z-index:1;inset:-70% -55%;border-radius:50%;pointer-events:none;mix-blend-mode:plus-lighter;
             background:radial-gradient(closest-side,rgba(255,236,196,.32),rgba(255,224,165,.13) 40%,rgba(255,210,140,.04) 70%,transparent)}
/* power-on: the bank's light and its halo warm up with a soft stutter (fading fully out once, then a
   small dip) before holding steady */
.slide.active .bank .light,.slide.active .bank::after{animation:fx-flicker 2s ease-in-out calc(var(--d,0s) + .2s) backwards}
.slide.story:not(.active) .bank .light,.slide.story:not(.active) .bank::after{animation:fx-dim .3s var(--exit) both}
@keyframes fx-flicker{0%{opacity:0}16%{opacity:.8}28%{opacity:0}48%{opacity:1}58%{opacity:.65}74%,100%{opacity:1}}
@keyframes fx-dim{to{opacity:0}}
@keyframes fx-hum{to{opacity:.93}}

/* ---------- Season tickets ---------- */
.s-pregame{background:#030303;--flash:#fff;--bank-w:min(36cqw,17.5cqh)}
.s-pregame .bg{background:linear-gradient(#000 35%,#0E0B07)}
/* the lights get their own band at the top; everything else centers below it */
.s-pregame .body{align-items:center;justify-content:safe center;text-align:center;gap:3.2cqh;
                 padding-top:calc(max(58px,7.4cqh) + var(--bank-w) * .64 + 4cqh)}
.cover-title{display:flex;flex-direction:column;align-items:center}
.cover-kicker{display:block;margin-bottom:1.5cqh;color:var(--gold);white-space:nowrap;
              font-stretch:125%;font-weight:800;font-size:min(3.5cqh,6.2cqw);line-height:1;letter-spacing:.22em;text-transform:uppercase}
.cover-kicker span{margin-right:-.22em}
.cover-title .cond{font-size:min(11.4cqh,19cqw);color:var(--cream);text-shadow:0 .6cqh 2cqh rgba(0,0,0,.6)}
.cover-title .script{font-size:min(10.6cqh,17.5cqw);color:var(--gold);margin-top:-.36em;rotate:-7deg;position:relative;
                     text-shadow:0 .05em 0 #000,0 .1em .3em rgba(0,0,0,.6)}

.tickets{position:relative;width:min(82cqw,39cqh);aspect-ratio:1.5;container-type:inline-size}
.tk{position:absolute;width:86%;filter:drop-shadow(0 1.4cqh 2.2cqh rgba(0,0,0,.6));
    --spawn:fx-deal;--sd:1.05s;--se:cubic-bezier(.2,.9,.25,1.04);--idle:fx-hover;--id:4.6s;--despawn:fx-out-up}
.tk.t1{left:0;top:3%;rotate:-8deg}
.tk.t2{right:0;bottom:3%;rotate:5deg;--id:5.4s;--o:.06s}
@keyframes fx-deal{from{opacity:0;translate:0 42cqh;rotate:20deg}}
@keyframes fx-hover{to{transform:translateY(-.9cqh) rotate(1.2deg)}}
.ticket{position:relative;display:flex;aspect-ratio:2.25;border-radius:2.2cqw;overflow:hidden;color:var(--ink);
        background:var(--grain),linear-gradient(100deg,#FBF5E6,#F0E4C9);
        -webkit-mask:radial-gradient(circle at 76% 0,#0000 3cqw,#000 calc(3cqw + .5px)) top/100% 51% no-repeat,
                     radial-gradient(circle at 76% 100%,#0000 3cqw,#000 calc(3cqw + .5px)) bottom/100% 51% no-repeat;
                mask:radial-gradient(circle at 76% 0,#0000 3cqw,#000 calc(3cqw + .5px)) top/100% 51% no-repeat,
                     radial-gradient(circle at 76% 100%,#0000 3cqw,#000 calc(3cqw + .5px)) bottom/100% 51% no-repeat}
.ticket::after{content:"";position:absolute;inset:0;pointer-events:none;translate:-120% 0;
               background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.7) 50%,transparent 62%)}
.slide.active .ticket::after{animation:fx-sheen 5s ease-in-out 2.1s infinite}
.slide.active .t2 .ticket::after{animation-delay:2.35s}
.tk-main{flex:1;display:flex;flex-direction:column;justify-content:space-between;text-align:left;
         padding:2.4cqw 2.2cqw 2.2cqw 3.6cqw;border-left:1.6cqw solid var(--gold)}
.tk-top{display:flex;align-items:center;justify-content:space-between;gap:2cqw}
.tk-brand{width:27cqw;background:var(--red)}
.tk-yr,.tk-foot,.tk-fields small,.tk-stub small{font-stretch:125%;font-weight:700;font-size:1.7cqw;letter-spacing:.16em;text-transform:uppercase}
.tk-yr,.tk-fields small,.tk-stub small{color:#7A6B55}
.tk-fields{display:flex;gap:4cqw;padding:1.2cqw 0 1.4cqw;border-block:1px solid rgba(23,19,14,.18)}
.tk-fields span{display:flex;flex-direction:column;gap:.7cqw}
.tk-fields b{font-stretch:62%;font-weight:900;font-size:9.2cqw;line-height:.8;text-transform:uppercase}
.tk-stub{width:24%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8cqw;
         border-left:2px dashed rgba(23,19,14,.3);background:rgba(233,185,73,.2)}
.tk-stub b{font-stretch:62%;font-weight:900;font-size:10.5cqw;line-height:.8}
.tk-code{display:block;width:68%;height:5cqw;margin-top:.6cqw;
         background:repeating-linear-gradient(90deg,var(--ink) 0 1px,transparent 1px 3px,var(--ink) 3px 5px,transparent 5px 6px,var(--ink) 6px 7px,transparent 7px 10px)}
.tagline{max-width:17em;font-stretch:105%;font-weight:700;font-size:min(2.7cqh,4.8cqw);line-height:1.3;color:var(--cream);text-wrap:balance}

/* ---------- Games attended ---------- */
.s-games{background:var(--gold);color:var(--ink);--flash:#fff}
.s-games .bg{background:radial-gradient(90% 55% at 30% 30%,#F3C962,transparent 70%)}
.burst{position:absolute;left:32%;top:33%;width:120cqh;aspect-ratio:1;translate:-50% -50%;
       background:repeating-conic-gradient(rgba(255,255,255,.16) 0 5deg,transparent 5deg 11deg);
       -webkit-mask:radial-gradient(closest-side,#000 12.7%,transparent 98%);mask:radial-gradient(closest-side,#000 12.7%,transparent 98%);
       --spawn:fx-burst-in;--sd:1.5s;--idle:fx-spin;--ie:linear;--idir:normal;--id:90s}
@keyframes fx-burst-in{from{opacity:0;scale:.5}}
.s-games .body{justify-content:center;gap:2.2cqh}
.games-kicker{font-size:min(7.4cqh,13cqw);line-height:.86;margin-bottom:-.6cqh;text-align:center}
.games-hero{display:flex;flex-direction:column;align-items:center}   /* "You attended" / 28 / "Games", one per line, centered */
.games-num{font-size:min(25cqh,50cqw);--cell:.92em;margin:-.05em 0 .01em}   /* same visible gap above and below */
.games-word{font-size:min(7.4cqh,13cqw);line-height:.86}
.cal{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1cqh 3cqw;margin-top:1.2cqh;padding:2cqh 3.6cqw 1.8cqh;
     border-radius:12px;background:rgba(255,248,230,.3);box-shadow:inset 0 0 0 1px rgba(23,19,14,.12)}
.cal-m{font-stretch:125%;font-weight:700;font-size:.54rem;line-height:1;letter-spacing:.16em;text-transform:uppercase;opacity:.75}
.cal-days{display:grid;grid-template-columns:repeat(31,1fr);align-items:center;justify-items:center}
.cal-days i{display:block;width:min(28%,3px);aspect-ratio:1;border-radius:50%;background:rgba(23,19,14,.22)}
.cal-days i.h,.cal-days i.a{width:min(74%,9px);background:none;box-shadow:inset 0 0 0 1.4px rgba(23,19,14,.45)}
.cal-days i.a{position:relative}
.cal-days i.a::after{content:"";position:absolute;inset:-1px;border-radius:50%;background:var(--ink)}
.cal-days i.x{visibility:hidden}
.slide.active .cal-days i.a::after{animation:fx-dot-on .5s var(--spring) var(--t,1s) backwards,
  fx-dot-idle 4.2s ease-in-out calc(var(--t,1s) + 1.6s + var(--day,0) * 45ms) infinite}
.slide.story:not(.active) .cal-days i.a::after{animation:fx-out .3s var(--exit) calc(var(--k,0) * 5ms) both}
@keyframes fx-dot-on{0%{scale:0;background:#fff}55%{scale:1.7;background:#fff}100%{scale:1}}
@keyframes fx-dot-idle{0%,84%,100%{transform:scale(1)}92%{transform:scale(1.5)}}

/* ---------- That's a lot of baseball: title and a stats bubble, over a drifting logo pattern ---------- */
.s-home{background:var(--paper);color:var(--ink);--flash:var(--red)}
.s-home .bg .paper,.s-collect .bg .paper{position:absolute;inset:-2%;background:var(--grain),radial-gradient(110% 70% at 50% 0%,#FFF9EC,transparent 65%)}
/* One exact repeat of faint-logo-background.png, tiled, drifting up-left forever (one tile per loop, so it
   never jumps). Multiply drops its white into the paper, leaving only the faint logos. The play state comes
   from the shared .bg rules, so it only moves while the slide is showing. */
.logo-tile{position:absolute;left:0;top:0;width:calc(100% + 280px);height:calc(100% + 279px);
           background:url(faint-logo-tile.webp) 0 0/280px 279px repeat;mix-blend-mode:multiply;
           animation-name:tile-drift;animation-duration:30s;animation-timing-function:linear;animation-iteration-count:infinite}
@keyframes tile-drift{to{transform:translate(-280px,-279px)}}
.s-home .body{align-items:center;justify-content:center;gap:3.2cqh;text-align:center}
.att-title{display:flex;flex-direction:column;align-items:center;line-height:.8}
.att-title .script{position:relative;z-index:1;margin-bottom:.06em;font-size:min(7.4cqh,13cqw);color:var(--red);rotate:-6deg}
.att-title .cond{font-size:min(11cqh,19.5cqw)}
/* the stats bubble, styled like the final slide's recap (solid, so there's no blur to redo as the pattern drifts) */
.att-recap{width:100%;max-width:min(84cqw,47cqh);display:grid;gap:.2cqh;padding:1.4cqh 4cqw 1.6cqh;border-radius:14px;
           background:#17130E;box-shadow:0 1.6cqh 4cqh rgba(23,19,14,.28)}
.att-recap li{display:grid;grid-template-columns:28% 1fr;align-items:baseline;gap:3cqw;padding:.8cqh 0;text-align:left;
              border-bottom:1px dashed rgba(244,234,213,.16)}
.att-recap li:last-child{border-bottom:0}
.att-recap b{justify-self:end;display:flex;font-size:min(5cqh,8.8cqw);line-height:.9;color:var(--gold)}
.att-recap li>span{font-stretch:105%;font-weight:700;font-size:min(2.3cqh,4.1cqw);line-height:1.2;color:var(--cream)}

/* ---------- The MVP card ---------- */
.s-mvp{background:#050505;--flash:#fff}
.spot{position:absolute;left:50%;top:47%;width:140cqw;aspect-ratio:1;translate:-50% -50%;border-radius:50%;
      background:radial-gradient(closest-side,rgba(233,185,73,.32),rgba(233,185,73,.07) 55%,transparent);
      --sd:1.2s;--idle:fx-breathe;--id:3.6s}
.name-rows{position:absolute;inset:-12% -20%;display:flex;flex-direction:column;justify-content:space-around;rotate:-12deg;
           --spawn:fx-fade;--sd:1.6s;--idle:none}
.name-rows span{display:flex;width:max-content;white-space:nowrap;font-stretch:62%;font-weight:900;font-size:15cqh;line-height:.9;
                text-transform:uppercase;color:transparent;-webkit-text-stroke:1.2px rgba(233,185,73,.22)}
.name-rows b{font-weight:900}
/* The names scroll continuously: always declared, so leaving or returning to the slide never restarts them,
   and running (this beats the .bg pause), so they don't freeze while the slide slides away. Pausing the story
   still stops them. */
.name-rows span{animation:fx-marquee 30s linear infinite}
.name-rows .r2,.name-rows .r4{animation-direction:reverse}
@keyframes fx-marquee{to{translate:-50% 0}}
.s-mvp .body{align-items:center;justify-content:center;gap:2.6cqh;text-align:center}
.s-mvp .body>.eyebrow{color:var(--gold);font-size:min(2.6cqh,4.6cqw);letter-spacing:.3em;margin:0 -.3em 2cqh 0}   /* right margin offsets the trailing spacing; bottom clears the helmet */
.card-stage{perspective:1100px;width:min(72cqw,41cqh);aspect-ratio:938/1232;container-type:size}   /* the real card's proportions */
.card{position:relative;width:100%;height:100%;transform-style:preserve-3d;will-change:transform;
      --spawn:fx-flip;--sd:1.3s;--se:cubic-bezier(.2,.75,.25,1.04);--idle:fx-tilt;--id:3.6s;--despawn:fx-flip-out;--od:.45s}
@keyframes fx-flip{0%{rotate:y 180deg;scale:.55;translate:0 22cqh}62%{scale:1.04}100%{rotate:y 0deg;scale:1;translate:0 0}}
@keyframes fx-tilt{0%{transform:none}50%{transform:rotateX(4deg) rotateY(-8deg)}100%{transform:rotateX(-3deg) rotateY(8deg)}}
@keyframes fx-flip-out{to{rotate:y -95deg;scale:.85;translate:0 -6cqh}}
.card-face,.card-back{position:absolute;inset:0;border-radius:5cqw;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;
                      border:2.2cqw solid transparent;box-shadow:0 4cqh 9cqh rgba(0,0,0,.6)}
/* Front: the real card image. Helmet and ball break out past the card's edges, so nothing clips it;
   the image overhangs the card box by the amounts measured from the artwork. */
.card-face{overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
/* Kept cheap for phones, since all of this turns in 3D: the shadow is a plain box-shadow painted once (not a
   drop-shadow filter that gets re-blurred), and the holo and shine are clipped by a rounded box (not an image mask). */
.card-face::before{content:"";position:absolute;inset:2%;border-radius:3cqw;box-shadow:0 4cqh 9cqh rgba(0,0,0,.55)}
.card-art{position:absolute;left:-10.02%;top:-4.87%;width:119.62%;height:auto;max-width:none}
.card-gloss{position:absolute;inset:1.2%;border-radius:2.4cqw;overflow:hidden}
.card-back{rotate:y 180deg;display:grid;place-content:center;justify-items:center;gap:4cqh;
           background:var(--grain) padding-box,repeating-linear-gradient(45deg,#18130C 0 8px,#100D08 8px 16px) padding-box,
                      linear-gradient(135deg,#F8DC8C,#B9832A 28%,#FFF4D2 48%,#C9932B 68%,#F5D47E) border-box}
.card-back .wordmark{width:70cqw}
.card-back .eyebrow{color:var(--gold);font-size:3.4cqw}
/* the holo band slides across an oversized layer (a transform, so it stays on the GPU) */
.card-holo{position:absolute;inset:-60%;pointer-events:none;mix-blend-mode:color-dodge;translate:-18% -18%;
           background:linear-gradient(115deg,transparent 38%,rgba(255,244,210,.2) 45%,rgba(233,185,73,.3) 49%,rgba(210,58,44,.18) 53%,transparent 60%)}
.slide.active .card-holo{animation:fx-holo 3.6s ease-in-out 1.8s infinite alternate}
@keyframes fx-holo{to{translate:18% 18%}}
.card-shine{position:absolute;inset:-25%;pointer-events:none;translate:-120% 0;
            background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.7) 50%,transparent 58%)}
.slide.active .card-shine{animation:fx-sheen 4.6s ease-in-out 2s infinite}   /* starts once the flip has landed */
.mvp-caption{max-width:19em;font-stretch:105%;font-weight:700;font-size:min(2.5cqh,4.5cqw);line-height:1.3;color:var(--cream)}

/* ---------- The Swig report ---------- */
.s-swig{background:var(--red);--flash:var(--gold-hi)}
.s-swig .bg{background:radial-gradient(110% 60% at 90% 45%,#E4513F,transparent 65%),linear-gradient(#C8352A,#A22018)}
/* rising fizz: the layer is one tile taller than the slide and slides up a tile per loop (GPU, no repaint) */
.fizz{position:absolute;inset:0 0 -46px;background-image:radial-gradient(circle,rgba(255,255,255,.2) 0 1.4px,transparent 2px),radial-gradient(circle,rgba(255,255,255,.12) 0 1px,transparent 1.5px);
      background-size:46px 46px;background-position:0 0,23px 21px;
      --idle:fx-fizz;--ie:linear;--idir:normal;--id:7s}
@keyframes fx-fizz{to{transform:translateY(-46px)}}
.s-swig .body{gap:1.35cqh;padding-bottom:max(62px,7.5cqh)}
.masthead{position:relative;z-index:2;padding:1cqh 0 1.2cqh;border-top:3px solid var(--cream);border-bottom:1px solid rgba(244,234,213,.55)}
.masthead h2{font-size:min(6.3cqh,11.4cqw);line-height:.86}
/* The Swig logo as a knockout stencil: the badge takes the title's own off-white, the lettering and ring are see-through */
.masthead .swig-logo{display:inline-block;height:1.2em;aspect-ratio:800/692;vertical-align:-.27em;margin:0 .04em;background:currentColor;
                     -webkit-mask:url(swig-mark.webp) center/contain no-repeat;mask:url(swig-mark.webp) center/contain no-repeat}
/* The cup extends above and below the stats, with the copy in front. */
.swig-hero{position:relative;z-index:2;display:flex;flex-direction:column;gap:.8cqh}
.swig-num{display:flex;align-items:flex-end;font-size:min(11.5cqh,23cqw);--cell:.9em;margin-left:-.03em;color:var(--cream)}
.swig-num small{margin:0 0 .1em .08em;font-size:.34em;line-height:1;color:var(--gold-hi)}
.swig-label{max-width:76%;font-stretch:105%;font-weight:800;font-size:min(2.2cqh,4.2cqw);line-height:1.2}
.swig-main{position:relative;flex:1;min-height:0}
.cup-wrap{position:absolute;inset:0;z-index:0;pointer-events:none;--idle:none}
.cup-hybrid{position:absolute;right:-16cqw;bottom:-10cqh;width:min(77cqw,37cqh);aspect-ratio:866/1816;isolation:isolate;
            transform-origin:50% 86%}
.slide.active .cup-hybrid{animation:fx-cup-sway 9s ease-in-out .55s infinite both;will-change:transform}
@keyframes fx-cup-sway{0%,100%{transform:rotate(-1.4deg)}50%{transform:rotate(1.4deg)}}
.cup-shell{position:absolute;inset:0;display:block;width:100%;height:100%}
.cup-shell-back{opacity:.7;filter:drop-shadow(-1.4cqw 1.8cqh 1.3cqh rgba(72,17,10,.24))}
/* The fluid and outside droplets share the original artwork's coordinates. Only the
   cup body needs a canvas; the tall straw and lid remain cached image layers. */
.cup-fluid,.cup-condensation{position:absolute;left:0;top:24.229075%;width:100%;height:75.770925%;pointer-events:none}
/* Keep the photographed lid opaque; let the live drink show through the clear, beaded plastic. */
.cup-shell-front{-webkit-mask-image:linear-gradient(#000 27.5%,rgba(0,0,0,.24) 29%,rgba(0,0,0,.14) 50%,rgba(0,0,0,.025) 82%,rgba(0,0,0,.045) 94%,#000 98.5%);
                  mask-image:linear-gradient(#000 27.5%,rgba(0,0,0,.24) 29%,rgba(0,0,0,.14) 50%,rgba(0,0,0,.025) 82%,rgba(0,0,0,.045) 94%,#000 98.5%)}
/* The existing logo stays exact, with cream ink and shading around the curved cup. */
.cup-photo-logo{position:absolute;left:25%;top:55%;width:48%;aspect-ratio:800/692;opacity:.95;
                background:linear-gradient(100deg,#D4C2A0,#F4EAD5 35%,#F4EAD5 65%,#CEB995);
                -webkit-mask:url(swig-mark.webp) center/contain no-repeat;mask:url(swig-mark.webp) center/contain no-repeat;
                transform:perspective(400px) rotateY(-7deg)}
.swig-stats{position:relative;z-index:2;display:grid;width:43%;gap:3cqh;padding-top:4cqh;
             text-shadow:0 1px 4px rgba(81,23,15,.7),0 0 12px rgba(134,32,22,.4)}
.swig-stats li{display:grid;align-content:start;gap:.6cqh}
.swig-stats b{display:flex;font-size:min(7.2cqh,14cqw);line-height:.85;color:var(--gold-hi)}
.swig-stats li>span{font-weight:600;font-size:min(2cqh,3.8cqw);line-height:1.25}
/* the season's 12 Dirty Soda Wednesdays; the ones you were at light up after the count lands */
.swig-stats .weds{display:flex;gap:min(.7cqw,3px);margin-top:.2cqh}
.weds i{width:min(1.5cqw,7px);aspect-ratio:1;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(244,234,213,.55)}
.weds i.on{background:var(--gold-hi);box-shadow:0 0 .8cqh rgba(248,220,140,.6)}
.slide.active .weds i.on{animation:fx-pop .5s var(--ease) calc(2.1s + var(--n) * .12s) backwards}

/* ---------- The bobbleheads ---------- */
.s-collect{background:var(--paper);color:var(--ink);--flash:var(--red)}
.s-collect .body{gap:1.8cqh}
.collect-title{position:relative;z-index:2;font-size:min(8.8cqh,16cqw);line-height:.84;max-width:8em}   /* bobbleheads drop in from behind it */
.cases{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:4.4cqw}
.case{position:relative;display:flex;flex-direction:column;gap:1.2cqh}
/* A display case in one solid color, with just enough light to ground the bobblehead: a soft glow from the
   top (.case-glow, which breathes gently), slightly darker edges, and the base's shadow (below). The case
   isn't clipped, so the bobbleheads break out of it; everything inside it sits in .case-clip, under the
   bobblehead, including the rim highlights, which are inset shadows. */
.case-box{position:relative;aspect-ratio:3/4;border-radius:16px;background:#211a14;
          box-shadow:0 1.6cqh 3cqh rgba(23,19,14,.32),0 .3cqh .7cqh rgba(23,19,14,.18)}
.case-clip{position:absolute;inset:0;border-radius:inherit;overflow:hidden;
           background:radial-gradient(130% 100% at 50% 40%,transparent 55%,rgba(0,0,0,.28)) #211a14;
           box-shadow:inset 0 1.5px 0 rgba(255,240,210,.12),inset 0 0 0 1px rgba(255,240,210,.05)}
.case-glow{position:absolute;left:50%;top:-34%;width:95%;aspect-ratio:1;translate:-50% 0;border-radius:50%;
           background:radial-gradient(closest-side,rgba(255,236,196,.2),transparent);--idle:fx-breathe;--id:3s}
/* The base's shadow on the floor. Its bottom face is an ellipse centered 50.3% across and 89% down, 30% x 6%
   of the case, given .bobble's size and position below; move one, move the other. A tight dark core sits
   right under the base and a soft shadow spreads around it. It fades in, tightening, as the bobblehead
   lands: the drop touches down about .5s after it starts, so --land is each bobble's --d (index.html) + .5s. */
.case-clip::after{content:"";position:absolute;inset:0;pointer-events:none;transform-origin:50.3% 89.5%;
                  background:radial-gradient(32.3% 6.75% at 50.3% 89.4%,rgba(0,0,0,.65),rgba(0,0,0,.58) 86%,transparent),
                             radial-gradient(43.3% 9.5% at 50.3% 89.75%,rgba(0,0,0,.35),rgba(0,0,0,.22) 55%,transparent)}
.case:nth-child(1){--land:1.5s}
.case:nth-child(2){--land:2s}
.slide.active .case-clip::after{animation:fx-shadow-land .5s cubic-bezier(.5,0,.75,0) calc(var(--land) - .5s) backwards}
@keyframes fx-shadow-land{from{opacity:0;scale:1.3}}
/* Photo bobbleheads, a little wider than their case so the player's head and Swiggy's arms break out of it.
   Body and head layers share one frame (both figures at the same scale, bases lined up). Centered with left,
   not translate, since the drop-in animates translate. */
.bobble{position:absolute;left:-2%;bottom:3%;width:104%;aspect-ratio:1156/1734;--idle:none}   /* stays planted on its shadow; the head bobbles */
.bobble img{position:absolute;inset:0;width:100%;height:100%}
.bobble .head{transform-origin:var(--neck,50% 95%);
              --spawn:fx-bobble-in;--sd:1.7s;--se:linear;--idle:fx-bobble;--id:1.7s;--despawn:fx-out}
@keyframes fx-bobble-in{0%{rotate:0deg}9%{rotate:15deg}22%{rotate:-12deg}36%{rotate:8.5deg}50%{rotate:-5.5deg}64%{rotate:3.4deg}80%{rotate:-1.6deg}100%{rotate:0deg}}
@keyframes fx-bobble{0%{transform:rotate(0deg)}25%{transform:rotate(2.4deg)}75%{transform:rotate(-2.4deg)}100%{transform:rotate(0deg)}}
.case figcaption{display:flex;flex-direction:column;gap:.35em}
.case figcaption b{font-size:min(3.5cqh,6.2cqw);line-height:.9}

/* ---------- Diamond Club ---------- */
.s-diamond{background:#050505;--flash:#fff}
.s-diamond .bg{background:radial-gradient(80% 45% at 50% 35%,rgba(233,185,73,.2),transparent 70%)}
.rays{position:absolute;left:50%;top:35%;   /* behind the number */
      width:96cqh;aspect-ratio:1;translate:-50% -50%;
      background:repeating-conic-gradient(rgba(233,185,73,.11) 0 3deg,transparent 3deg 12deg);
      -webkit-mask:radial-gradient(closest-side,#000 10.6%,transparent 97.4%);mask:radial-gradient(closest-side,#000 10.6%,transparent 97.4%);
      --spawn:fx-burst-in;--sd:1.5s;--idle:fx-spin;--ie:linear;--idir:normal;--id:80s}
.lattice{position:absolute;inset:0;
         background:repeating-linear-gradient(60deg,rgba(233,185,73,.07) 0 1px,transparent 1px 34px),
                    repeating-linear-gradient(-60deg,rgba(233,185,73,.07) 0 1px,transparent 1px 34px);
         -webkit-mask:linear-gradient(transparent 5%,#000 50%,transparent 95%);mask:linear-gradient(transparent 5%,#000 50%,transparent 95%)}
.s-diamond .body{align-items:center;justify-content:center;text-align:center;gap:3.6cqh}
/* the count, with a diamond popping out on either side as it lands */
.dc-count{display:flex;align-items:center;gap:3.5cqw}
.gem{position:relative;display:block;width:min(24cqw,11.5cqh);filter:drop-shadow(0 0 2.4cqh rgba(233,185,73,.5));--idle:fx-float;--id:3.2s}
.gem.r{--id:3.7s}
.gem svg{display:block;width:100%;height:auto}
.spark{position:absolute;width:3.2cqh;aspect-ratio:1;background:#FFF8E1;scale:0;
       clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%)}
.spark.s1{left:-12%;top:2%}
.spark.s2{right:-10%;top:24%;width:2.2cqh}
.spark.s3{left:60%;bottom:-8%;width:1.8cqh}
.slide.active .spark{animation:fx-twinkle 1.9s ease-in-out 1.2s infinite}
.slide.active .spark.s2{animation-delay:1.8s}
.slide.active .spark.s3{animation-delay:2.4s}
@keyframes fx-twinkle{0%,100%{scale:0;rotate:0deg}50%{scale:1;rotate:90deg}}
/* a big gold-foil number over "Diamond Club games" */
.dc-hero{display:flex;flex-direction:column;align-items:center}
.dc-num{font-size:min(21cqh,40cqw);--cell:.9em;margin-bottom:.02em;filter:drop-shadow(0 0 2cqh rgba(233,185,73,.35))}
.dc-num .wheel-glyph{color:transparent;background:linear-gradient(#FFF4D2,#F8DC8C 30%,#E9B949 62%,#B9832A);-webkit-background-clip:text;background-clip:text}
.diamond-title{display:flex;flex-direction:column;align-items:center;font-size:min(7.4cqh,13.6cqw);line-height:.86}
.diamond-title span{color:transparent;background:linear-gradient(100deg,#B9832A,#F8DC8C 30%,#FFF4D2 45%,#E9B949 60%,#B9832A) 0 0/200% 100%;
                    -webkit-background-clip:text;background-clip:text}
.slide.active .diamond-title span{animation:fx-foil 3.6s ease-in-out 1.6s infinite alternate}
@keyframes fx-foil{to{background-position:100% 0}}
.diamond-title em{margin-top:.12em;margin-right:-.42em;font-style:normal;font-stretch:125%;font-weight:800;font-size:.38em;letter-spacing:.42em;color:var(--cream)}
/* the games themselves: a Diamond Club pass for each, dealt out in a fan (the middle one sits higher) */
.passes{display:flex;align-items:flex-end;justify-content:center;gap:3cqw;margin-top:.6cqh}
.pass{position:relative;width:min(26cqw,14cqh);aspect-ratio:5/6.4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7cqh;
      padding-top:2.2cqh;border:1.5px solid transparent;border-radius:1.4cqh;overflow:hidden;rotate:var(--tilt,0deg);
      background:var(--grain) padding-box,linear-gradient(160deg,#211A11,#0B0907) padding-box,
                 linear-gradient(135deg,#F8DC8C,#B9832A 30%,#FFF4D2 50%,#C9932B 70%,#F5D47E) border-box;
      box-shadow:0 1.2cqh 2.6cqh rgba(0,0,0,.6);
      --spawn:fx-deal;--sd:1s;--se:cubic-bezier(.2,.9,.25,1.04);--idle:fx-hover;--id:4.6s;--despawn:fx-out-up}
.pass:nth-child(2){margin-bottom:1.6cqh;--id:5.2s}
/* the lanyard slot */
.pass::before{content:"";position:absolute;top:1.1cqh;left:50%;width:34%;height:.75cqh;translate:-50% 0;border-radius:99px;
              background:#000;box-shadow:inset 0 1px 2px rgba(0,0,0,.9),0 1px 0 rgba(255,236,190,.14)}
.pass i{width:26%;aspect-ratio:1.25;background:linear-gradient(160deg,#FFF4D2,#E9B949 55%,#A97424);
        clip-path:polygon(22% 0,78% 0,100% 36%,50% 100%,0 36%)}
.pass small{font-stretch:125%;font-weight:700;font-size:min(1.25cqh,2.3cqw);line-height:1;letter-spacing:.2em;text-transform:uppercase;color:rgba(244,234,213,.7);white-space:nowrap}
.pass b{font-size:min(6.4cqh,12cqw);line-height:.8;color:var(--cream)}
/* Foil glint: a bright band sweeps each pass (gold border included) every few seconds, starting as it lands and
   cascading left to right. Screen-blended, so it lights up the gold, diamond and numbers rather than graying them. */
.pass::after{content:"";position:absolute;inset:-2px;pointer-events:none;translate:-135% 0;mix-blend-mode:screen;
             background:linear-gradient(105deg,transparent 30%,rgba(255,228,170,.18) 42%,rgba(255,248,230,.75) 50%,rgba(255,228,170,.18) 58%,transparent 70%)}
.slide.active .pass::after{animation:fx-glint 3.4s cubic-bezier(.45,.05,.4,1) calc(var(--d) + 1.05s) infinite}
@keyframes fx-glint{0%{translate:-135% 0}28%,100%{translate:135% 0}}

/* ---------- The scoreboard ---------- */
.s-numbers{background:var(--green);color:var(--chalk);--flash:var(--gold-hi)}
.s-numbers .bg{background:linear-gradient(#22503A,#173A28)}
.panels{position:absolute;inset:-2%;
        background:var(--grain),repeating-linear-gradient(0deg,rgba(0,0,0,.12) 0 2px,transparent 2px 16.6%),
                   repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 7px)}
.s-numbers .body{justify-content:center}
.board-title{position:relative;margin:3.4cqh 0 2.4cqh;padding:1.6cqh 0 1.4cqh;text-align:center;border-block:2px solid rgba(241,237,225,.85)}
.board-title .cond{font-size:min(7.4cqh,13.4cqw);letter-spacing:.02em}
.board-title::before,.board-title::after{content:"";position:absolute;left:0;right:0;height:6px;
  background:radial-gradient(circle at 6px 50%,#FFF2C2 0 2px,transparent 2.7px) 0 0/36px 6px repeat-x,
             radial-gradient(circle at 18px 50%,rgba(255,226,150,.32) 0 1.8px,transparent 2.4px) 0 0/36px 6px repeat-x,
             radial-gradient(circle at 30px 50%,rgba(255,226,150,.32) 0 1.8px,transparent 2.4px) 0 0/36px 6px repeat-x}
.board-title::before{top:-10px}
.board-title::after{bottom:-10px}
.slide.active .board-title::before,.slide.active .board-title::after{animation:fx-chase .9s steps(3) infinite}
@keyframes fx-chase{to{background-position:36px 0,36px 0,36px 0}}
.board li{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4cqw;padding:1.45cqh 0;border-bottom:1px solid rgba(241,237,225,.15)}
.plates{display:flex;align-items:center;font-size:min(5.4cqh,9.4cqw);--cell:1.2em;perspective:300px}
.plates .wheel-vis{gap:3px}
.plates .wheel-digit,.plates .pct{padding:0 .13em;border-radius:3px;background:linear-gradient(#0F2A1B,#163522);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -2px 0 rgba(0,0,0,.35),0 2px 3px rgba(0,0,0,.25)}
.plates .wheel-digit{transform-origin:50% 0}
.plates .wheel-digit.empty{opacity:.5}
.plates .wheel-comma{display:none}
.plates .pct{display:block;height:var(--cell);line-height:var(--cell);margin-left:3px}
.slide.active .plates .wheel-digit{animation:fx-hang .6s var(--spring) calc(var(--d) + var(--i,0) * 70ms) backwards}
@keyframes fx-hang{from{opacity:0;rotate:x -95deg}}
.board .label{font-weight:600;font-size:min(2cqh,3.7cqw);line-height:1.25;color:rgba(241,237,225,.92)}
.board li.gold .wheel-digit,.board li.gold .pct{background:var(--gold);color:var(--ink);box-shadow:inset 0 -2px 0 rgba(0,0,0,.2),0 0 1.4cqh rgba(233,185,73,.45)}
.board li.gold .label{font-weight:800;color:var(--gold-hi)}

/* ---------- A favorite moment (an Instagram reel) ---------- */
.s-moment{background:#070605;--flash:#fff}
.s-moment .spot{top:62%}
.s-moment .body{align-items:center;text-align:center;gap:1.2cqh}
.moment-title{display:flex;flex-direction:column;align-items:center;line-height:.82}
.moment-title .script{position:relative;z-index:1;margin-bottom:.04em;font-size:min(4.6cqh,8.6cqw);color:var(--gold);rotate:-6deg;
                      text-shadow:0 .05em 0 #000,0 .1em .35em rgba(0,0,0,.8)}
.moment-title .cond{font-size:min(5.8cqh,10.6cqw);color:var(--cream)}
.s-moment .eyebrow{color:var(--gold-hi);font-size:min(1.6cqh,2.9cqw);letter-spacing:.22em;margin-right:-.22em;text-wrap:balance}
/* The post is Instagram's own embed. It's shown whole, never cropped (that would cut into Instagram's card):
   slides.js scales it (--k) to fit the space left under the title. */
.embed{position:relative;flex:1;min-height:0;width:100%;margin-top:1.2cqh}
.embed iframe{position:absolute;left:50%;top:50%;border:0;border-radius:12px;transform:translate(-50%,-50%) scale(var(--k,.8));
              box-shadow:0 2cqh 5cqh rgba(0,0,0,.6),0 0 0 1px rgba(233,185,73,.35)}

/* ---------- Fan type ---------- */
.s-fantype{background:var(--gold);color:var(--ink);--flash:#fff}
.s-fantype .body{justify-content:center;gap:2.6cqh}
.fan-title{align-self:center;font-size:min(8.6cqh,15.6cqw);line-height:.86;text-align:center}
/* Drumroll: the sticks rattle on a shaking snare under the title, then it pops away as the pennant unfurls */
.drumroll{position:absolute;left:0;right:0;top:40%;display:flex;flex-direction:column;align-items:center;gap:1.6cqh;opacity:0;pointer-events:none}
.drumroll svg{width:min(40cqw,22cqh);overflow:visible}
.drumroll p{font-size:min(4.6cqh,8.4cqw);line-height:1}
.dr-shadow{fill:rgba(23,19,14,.18)}
.dr-shell{fill:var(--red)}
.dr-cords{fill:none;stroke:var(--cream);stroke-width:2;stroke-linejoin:round}
.dr-hoop{fill:none;stroke:var(--ink);stroke-width:3.5}
.dr-head{fill:var(--cream);stroke:var(--ink);stroke-width:3.5}
.dr-hits{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;opacity:0}
.dr-stick path{fill:none;stroke:#7A4E28;stroke-width:4.5;stroke-linecap:round}
.dr-stick circle{fill:#7A4E28}
.dr-stick.l{transform-origin:28px 2px}
.dr-stick.r{transform-origin:92px 2px}
.dr-dots i{font-style:normal;opacity:0}
.slide.active .drumroll{animation:dr-life 2.15s var(--ease) .45s both}
.slide.active .dr-stick.l{animation:dr-hit-l .1s ease-in infinite alternate}
.slide.active .dr-stick.r{animation:dr-hit-r .1s ease-in -.05s infinite alternate}
.slide.active .dr-drum{animation:dr-shake .08s steps(2) infinite}
.slide.active .dr-hits{animation:dr-flash .1s steps(2) infinite}
.slide.active .dr-dots i{animation:dr-dot .9s linear infinite}
.slide.active .dr-dots i:nth-child(2){animation-delay:.15s}
.slide.active .dr-dots i:nth-child(3){animation-delay:.3s}
@keyframes dr-life{0%{opacity:0;transform:translateY(2cqh) scale(.85)}12%{opacity:1;transform:none}84%{opacity:1;transform:none}100%{opacity:0;transform:scale(1.15)}}
@keyframes dr-hit-l{from{rotate:-16deg}to{rotate:0deg}}
@keyframes dr-hit-r{from{rotate:16deg}to{rotate:0deg}}
@keyframes dr-shake{to{transform:translate(.8px,.5px)}}
@keyframes dr-flash{to{opacity:.85}}
@keyframes dr-dot{0%{opacity:0}30%,80%{opacity:1}100%{opacity:0}}
/* A felt pennant: sewn red header band with "The" up it, a felt body with soft folds and a light-catching
   edge, and lettering that tapers with the pennant (app.js sizes each letter to the height where it sits).
   The felt is a small texture tile rather than a live filter, so the unfurl stays smooth on phones. */
.pennant{position:relative;width:calc(100% + 54px);margin:1cqh 0 0 -24px;transform-origin:0 50%;
         filter:drop-shadow(0 1cqh 1.4cqh rgba(23,19,14,.3));
         --spawn:fx-unfurl;--sd:1s;--se:cubic-bezier(.2,.8,.25,1.1);--idle:fx-flutter;--id:2.6s;--despawn:fx-furl}
.pennant svg{display:block;width:100%;height:auto;overflow:visible}
.pn-body{fill:#1D1712}
.pn-edge{fill:none;stroke:rgba(255,244,220,.16);stroke-width:2;stroke-linecap:round}
.pn-letters{fill:var(--cream)}
.pn-word{font-family:"Archivo",sans-serif;font-weight:900;font-stretch:62%}   /* no fill here, so the shadow copy can be dark */
.pn-word-shadow{fill:rgba(0,0,0,.5)}
.pn-band{fill:url(#pn-band)}
.pn-stitch{fill:none;stroke:rgba(244,234,213,.8);stroke-width:2;stroke-dasharray:7 6;stroke-linecap:round}
.pn-the{font-family:"Archivo",sans-serif;font-weight:800;font-stretch:125%;font-size:26px;letter-spacing:.42em;
        text-transform:uppercase;text-anchor:middle;dominant-baseline:central;fill:var(--gold)}
@keyframes fx-unfurl{from{opacity:0;scale:0 1}55%{opacity:1}}
@keyframes fx-flutter{0%{transform:none}50%{transform:skewY(-1.4deg) scaleX(.99)}100%{transform:skewY(.8deg)}}
@keyframes fx-furl{to{opacity:0;scale:0 1}}
.fan-desc{max-width:17em;font-stretch:105%;font-weight:700;font-size:min(2.7cqh,4.9cqw);line-height:1.3}
.report{margin-top:.6cqh;padding:1.5cqh 4cqw 1cqh;border-radius:10px;background:var(--grain),var(--paper);
        box-shadow:0 1.2cqh 2.4cqh rgba(23,19,14,.18),inset 0 0 0 1px rgba(23,19,14,.1)}
.report-head{display:flex;justify-content:space-between;padding-bottom:.9cqh;margin-bottom:.4cqh;border-bottom:1.5px solid var(--ink);
             font-stretch:125%;font-weight:800;font-size:.54rem;letter-spacing:.2em;text-transform:uppercase}
.report li{display:grid;grid-template-columns:minmax(0,1.3fr) 1fr auto;align-items:center;gap:3cqw;padding:.8cqh 0;border-bottom:1px solid rgba(23,19,14,.1)}
.report li:last-child{border-bottom:0}
.report li>span{font-weight:700;font-size:min(1.75cqh,3.3cqw)}
.report .bar{position:relative;display:block;height:.9cqh;border-radius:99px;overflow:hidden;background:rgba(23,19,14,.12)}
.report .bar::after{content:"";position:absolute;inset:0;border-radius:inherit;transform-origin:left;background:var(--ink);scale:calc((var(--v) - 20) / 60) 1}
.report .bar::before{content:"";position:absolute;inset:0;z-index:1;translate:-120% 0;background:linear-gradient(90deg,transparent,rgba(255,236,190,.65),transparent)}
.slide.active .report .bar::after{animation:fx-grow 1s var(--ease) var(--d) backwards}
.slide.active .report .bar::before{animation:fx-sheen 3.6s ease-in-out calc(var(--d) + 1.2s) infinite}
.slide.story:not(.active) .report .bar::after{animation:fx-shrink .3s var(--exit) both}
@keyframes fx-grow{from{scale:0 1}}
@keyframes fx-shrink{to{scale:0 1}}
.report b{min-width:1.15em;display:flex;justify-content:flex-end;font-size:min(3.3cqh,6cqw);color:var(--red)}

/* ---------- Final: see you next season ---------- */
/* The ballpark at night sits behind the last two slides (both transparent) and stays put between them.
   slides.js sets .frame.finale while either is up. Back to front: the sky, the fireworks (slides.js),
   the photo, whose own sky is transparent, and .ballpark-light (also slides.js), which is masked to the
   photo and screen-blended so each burst briefly lights the stadium and field in its color. Everything
   sits in .ballpark, so the fade-in and the slow drift closer move it all together. */
.frame{isolation:isolate}   /* keeps the backdrop's z-index:-1 inside the frame, above its black background */
.finale-bg{position:absolute;inset:0;z-index:-1;background:#010208;opacity:0;visibility:hidden;transition:opacity .6s var(--ease),visibility 0s .6s}
.frame.finale .finale-bg{opacity:1;visibility:visible;transition:opacity .6s var(--ease)}
.frame.snap .finale-bg{transition:none}   /* app.js: jumping back to the start */
.ballpark{position:absolute;inset:0;--spawn:fx-reveal;--sd:2.4s;--idle:fx-push;--id:16s;--despawn:fx-dim}
.ballpark>*{position:absolute;inset:0;width:100%;height:100%}
.ballpark-photo{background:url("revised-bees-background.png") 50% 100%/cover no-repeat}
/* On the last page the ballpark softens and darkens, which hides the seams between the photo and the
   coded sky and keeps the buttons in focus. slides.js eases one value from sharp to soft and drives
   everything from it with canvas drawing and opacity only, so it looks the same in every browser
   (Safari doesn't render a backdrop-filter here) and stays cheap:
   - the photo: .ballpark-blur crossfades through a ladder of pre-blurred copies (blur/, made with
     ffmpeg, see the README). At either end a plain layer stands in for it, so nothing is redrawn
     while a page sits still: the photo itself, or .soft, the most blurred copy.
   - the fireworks: the sharp canvas crossfades into the soft one (low-res and blurred) and dims a bit
   - .ballpark-veil: black, fades to 50% */
.ballpark-photo.soft{background-image:url("blur/ballpark-blur-4.webp")}
.ballpark-photo.soft,.ballpark-blur,.ballpark-veil,.fireworks .soft{opacity:0}
.ballpark-veil{background:#000}
.ballpark-veil,.fireworks,.fireworks>canvas{will-change:opacity}   /* opacity changes every frame; keep them on the GPU */
.fireworks>canvas{position:absolute;inset:0;width:100%;height:100%}
.fireworks .soft{mix-blend-mode:plus-lighter}   /* so the two canvases crossfade exactly */
/* fireworks only show in open sky: anything below the horizon (--hz, from slides.js) or behind the
   photo's stadium is masked out, so the stadium always reads as in front */
.fireworks{-webkit-mask:linear-gradient(#000 calc(var(--hz,62%) - 4%),transparent calc(var(--hz,62%) + 1%)),url("revised-bees-background.png") 50% 100%/cover no-repeat;
           -webkit-mask-composite:source-out;
           mask:linear-gradient(#000 calc(var(--hz,62%) - 4%),transparent calc(var(--hz,62%) + 1%)),url("revised-bees-background.png") 50% 100%/cover no-repeat;
           mask-composite:subtract}
.ballpark-light{mix-blend-mode:screen;-webkit-mask:url("revised-bees-background.png") 50% 100%/cover no-repeat;
                mask:url("revised-bees-background.png") 50% 100%/cover no-repeat}
@keyframes fx-reveal{from{opacity:0;scale:1.08}}
@keyframes fx-push{to{transform:scale(1.035)}}
.s-final,.s-next{--flash:#fff}
.s-final .body{align-items:center;text-align:center;gap:1.6cqh}
.final-title{display:flex;flex-direction:column;align-items:center;line-height:.8}
.final-title .script{position:relative;z-index:1;margin-bottom:.02em;font-size:min(8.4cqh,15cqw);color:var(--gold);rotate:-6deg;
                     text-shadow:0 .05em 0 #000,0 .1em .35em rgba(0,0,0,.9),0 0 .7em rgba(0,0,0,.6)}
.final-title .cond{font-size:min(10cqh,17.6cqw);color:var(--cream);text-shadow:0 .5cqh 0 rgba(0,0,0,.45),0 .8cqh 3cqh rgba(0,0,0,.9)}
/* the recap sits on a dark glass panel so it reads over the photo */
.recap{width:100%;max-width:min(84cqw,47cqh);display:grid;gap:.2cqh;margin:1cqh 0;padding:1.2cqh 4cqw 1.4cqh;border-radius:14px;
       background:linear-gradient(rgba(10,9,7,.76),rgba(10,9,7,.64));border:1px solid rgba(244,234,213,.1);
       box-shadow:0 1.6cqh 4cqh rgba(0,0,0,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
       text-shadow:0 1px 8px rgba(0,0,0,.6)}
.recap li{display:grid;grid-template-columns:24% 1fr;align-items:baseline;gap:3cqw;padding:.6cqh 0;text-align:left;border-bottom:1px dashed rgba(244,234,213,.16)}
.recap li:last-child{border-bottom:0}
.recap b{justify-self:end;display:flex;font-size:min(4.4cqh,7.8cqw);line-height:.9;color:var(--gold)}
.recap li>span{font-stretch:105%;font-weight:700;font-size:min(2.15cqh,3.9cqw);color:var(--cream)}
.signoff{display:flex;flex-direction:column;align-items:center;gap:.9cqh;margin-top:auto;filter:drop-shadow(0 .4cqh 1.4cqh rgba(0,0,0,.85))}
.signoff .wordmark{width:min(46cqw,25cqh)}
.signoff .eyebrow{color:rgba(244,234,213,.85)}

/* ---------- Next season (held: stays up, no progress bar) ---------- */
.frame.hold .progress{opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}
.s-next .body{align-items:center;text-align:center}
.next-ctas{--idle:none;display:flex;flex-direction:column;gap:1.8cqh;width:min(80cqw,44cqh);margin-top:21cqh}   /* a little above center; buttons hold still */
.cta{--idle:none;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:.55em;padding:1.05em 1.4em;border-radius:999px;
     border:1.5px solid rgba(233,185,73,.75);background:rgba(10,9,7,.66);color:var(--cream);
     font-family:"Archivo",sans-serif;font-stretch:105%;font-weight:800;font-size:min(2.3cqh,4.5cqw);line-height:1;text-decoration:none;cursor:pointer;
     -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 1cqh 3cqh rgba(0,0,0,.45);
     -webkit-tap-highlight-color:transparent;transition:transform .4s var(--ease),background .25s,color .25s}
.cta svg{width:1.15em;height:1.15em;flex:none}
.cta.primary{border-color:var(--gold);background:var(--gold);color:var(--ink);box-shadow:0 0 2.6cqh rgba(233,185,73,.45),0 1cqh 3cqh rgba(0,0,0,.45)}
/* idle: a light sweep across the main button every few seconds */
.cta.primary::after{content:"";position:absolute;inset:-20%;pointer-events:none;translate:-120% 0;
                    background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.55) 50%,transparent 60%)}
.slide.active .cta.primary::after{animation:fx-sheen 4.2s ease-in-out 1.4s infinite}
/* idle: the second button's gold edge glows softly in and out */
.cta:not(.primary)::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
                          box-shadow:inset 0 0 0 1.5px var(--gold),0 0 2.2cqh rgba(233,185,73,.4)}
.slide.active .cta:not(.primary)::after{animation:fx-glow-in 2.6s ease-in-out 1.6s infinite alternate}
@keyframes fx-glow-in{to{opacity:1}}
.cta:active{transform:scale(.94)}
.cta:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
@media (hover:hover){
  .cta:hover{background:rgba(233,185,73,.18)}
  .cta.primary:hover{background:#F3C861}
}

/* Short frames (small phones) */
@container (max-height:720px){
  .cover-kicker{font-size:5.4cqw}
  .tickets{width:min(80cqw,34cqh)}
  .s-final .body{gap:1.2cqh}
  .final-title .cond{font-size:min(8.6cqh,15.4cqw)}
  .final-title .cond br{display:none}
  .recap li{padding:.25cqh 0}
  .s-home .body{gap:1cqh}
  .s-swig .body{gap:1.3cqh}
  .swig-num{font-size:min(10.4cqh,21cqw)}
}

@media (prefers-reduced-motion:reduce){
  .slide.story *,.slide.story *::before,.slide.story *::after,.finale-bg *{
    animation-duration:1ms!important;animation-delay:0s!important;animation-iteration-count:1!important}
  .s-swig .cup-hybrid{animation:none!important;transform:none}
}
