/* =====================================================================
   Brand-Bid · /in-game-advertising
   Uses the shared inside-page system (guide.css: Montserrat, header, menu, footer)
   and adds a game journey that changes genre as you scroll:
   01 portal (RPG gate)  ->  02 character select (dark RPG, pinned reveal)  ->  03 ad break (night racing)
   ->  04 game library (old-school palace platformer)  ->  05 two factions (RPG again)  ->  06 ready bar  ->  footer
   Section titles are all caps and centred (owner, 2026-12-02).
   ===================================================================== */
.ig{--night:#07040c;--lime:#c8ff38;--gold:#ffd08a;--bronze:#d6aa62;background:var(--night);color:#fff}
.ig h2{margin:0;font-weight:800;letter-spacing:-.035em;line-height:1;font-size:clamp(40px,6.2vw,112px);text-transform:uppercase}
.ig .eyebrow{color:var(--pink)}
/* one subheadline style for the whole page: same font, size and colour under every section title (owner, 2026-12-03) */
.ig .ig-sub{max-width:36ch;text-wrap:balance;margin:clamp(14px,2.2vh,22px) auto 0;text-align:center;font-weight:500;font-style:normal;font-size:clamp(20px,2vw,30px);line-height:1.35;letter-spacing:-.01em;text-transform:none;color:rgba(255,255,255,.86)}
.ig-shell{width:min(100% - 2*var(--side),1240px);margin-inline:auto}

/* ---------------- 01 · PORTAL: scroll walks you through the gate ---------------- */
.ig-hero{position:relative;height:340vh;height:340svh;background:#000}
.ig-hero .stage,.ig-end .stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2.2vh,24px);padding-top:clamp(58px,8vh,84px);isolation:isolate}
.ig-hero h1{position:relative;z-index:3;margin:0;text-align:center;font-weight:800;text-transform:uppercase;letter-spacing:-.035em;line-height:.9;font-size:clamp(48px,min(10.6vw,15vh),190px);text-shadow:0 4px 40px rgba(0,0,0,.8);opacity:calc(1 - var(--tp,0));translate:0 calc(var(--tp,0) * -40px);animation:igTitle 1.6s var(--ease) .15s backwards}
.ig-hero h1 em{display:block;font-style:normal;color:#ff6a3d}
@keyframes igTitle{from{opacity:0;filter:blur(14px);transform:translateY(28px) scale(.96)}to{opacity:1;filter:none;transform:none}}
.ig-hero .cue{position:absolute;z-index:3;bottom:clamp(14px,3vh,34px);left:50%;translate:-50% 0;margin:0;font-size:11px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.7);opacity:calc(1 - var(--tp,0) * 2)}
.ig-hero .cue::after{content:"";display:block;width:1px;height:30px;margin:10px auto 0;background:linear-gradient(#fff,transparent);animation:cue 1.8s ease-in-out infinite}
@keyframes cue{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
/* the gate: same art and door layers as the home page card; scroll scales it up around the doorway */
.ig-gate{position:relative;flex:none;height:min(52vh,86vw * 1.327);height:min(52svh,86vw * 1.327);margin-bottom:clamp(26px,5vh,50px);aspect-ratio:880/1168;transform-origin:50.2% 55%;scale:var(--zoom,1);perspective:1400px;will-change:scale;animation:igGateIn 1.8s var(--ease) .5s backwards}
@keyframes igGateIn{from{opacity:0}to{opacity:1}}
.ig-gate img{position:absolute;inset:0;width:100%;height:100%;display:block}
.ig-gate .light{position:absolute;left:22.16%;top:17.55%;width:56.25%;height:69.35%;border-radius:50% 50% 0 0 / 30.6% 30.6% 0 0;background:radial-gradient(40% 60% at 50% 55%,#fff 0%,#fff4ea 30%,#ffb38a 60%,#5a0f08 100%)}
.ig-gate .leaf{backface-visibility:hidden;animation:igLeafL 7s cubic-bezier(.45,0,.25,1) infinite}
.ig-gate .leaf.l{clip-path:polygon(50.23% 86.90%,50.23% 17.55%,46.56% 17.73%,42.96% 18.27%,39.49% 19.17%,36.19% 20.40%,33.14% 21.94%,30.38% 23.77%,27.96% 25.86%,25.92% 28.17%,24.30% 30.66%,23.12% 33.29%,22.40% 36.01%,22.16% 38.78%,22.16% 86.90%);transform-origin:22.16% 50%;rotate:y calc(var(--open,0) * 1deg)}
.ig-gate .leaf.r{clip-path:polygon(50.23% 86.90%,50.23% 17.55%,53.89% 17.73%,57.49% 18.27%,60.97% 19.17%,64.26% 20.40%,67.31% 21.94%,70.07% 23.77%,72.50% 25.86%,74.54% 28.17%,76.16% 30.66%,77.34% 33.29%,78.06% 36.01%,78.41% 38.78%,78.41% 86.90%);transform-origin:78.41% 50%;rotate:y calc(var(--open,0) * -1deg);animation-name:igLeafR}
.ig-gate .beam{position:absolute;left:50.23%;top:17%;bottom:12%;width:22%;translate:-50% 0;background:radial-gradient(50% 50% at 50% 50%,rgba(255,240,225,.75),rgba(255,120,70,.25) 45%,transparent 75%);mix-blend-mode:screen;filter:blur(6px);animation:igBeam 7s cubic-bezier(.45,0,.25,1) infinite}
.ig-gate .runes{filter:brightness(1.9) saturate(1.4);mix-blend-mode:screen;-webkit-mask:radial-gradient(ellipse 41% 31% at 50.2% 38.8%,transparent 74%,#000 82%,#000 96%,transparent 100%);mask:radial-gradient(ellipse 41% 31% at 50.2% 38.8%,transparent 74%,#000 82%,#000 96%,transparent 100%);opacity:0;animation:igRunes 3.2s ease-in-out infinite}
@keyframes igLeafL{0%,12%{transform:rotateY(0)}55%,80%{transform:rotateY(16deg)}100%{transform:rotateY(0)}}
@keyframes igLeafR{0%,12%{transform:rotateY(0)}55%,80%{transform:rotateY(-16deg)}100%{transform:rotateY(0)}}
@keyframes igBeam{0%,12%{opacity:.3;scale:.35 1}55%,80%{opacity:1;scale:1 1}100%{opacity:.3;scale:.35 1}}
@keyframes igRunes{0%,100%{opacity:.15}50%{opacity:.85}}
.ig-hero .embers,.ig-end .embers{position:absolute;inset:0;z-index:1;pointer-events:none}
.ig-hero .embers i,.ig-end .embers i{position:absolute;left:var(--x);bottom:-10px;width:4px;height:4px;border-radius:50%;background:#ffd08a;box-shadow:0 0 8px 2px rgba(255,110,40,.85);opacity:0;animation:igEmber var(--t) linear infinite;animation-delay:var(--dl)}
@keyframes igEmber{0%{opacity:0;transform:translate(0,0)}12%{opacity:1}100%{opacity:0;transform:translate(var(--dx,20px),-70vh)}}
/* walking through: white light floods the screen, then goes dark for the next room */
.ig-hero .flash,.ig-end .flash{position:absolute;inset:0;z-index:4;pointer-events:none;background:radial-gradient(60% 60% at 50% 55%,#fff,#fff3e6 45%,#ffb38a);opacity:var(--flash,0)}
.ig-hero .dusk{position:absolute;inset:0;z-index:5;pointer-events:none;background:#000;opacity:var(--dusk,0)}

/* ---------------- 02 · CHARACTER SELECT ----------------
   The section overlaps the last screen of the portal and pins in place, so nothing scrolls in:
   when the portal has gone dark, the title fades in, then the room, then the heroes, then the panel. */
/* this page only: the header is not sticky, it scrolls away with the first screen (owner, 2026-12-03) */
.ig .site-header{position:absolute}
html:has(body.ig){scroll-padding-top:0}   /* menu links land exactly on their section (the room pins and reveals) */
.ig-select{position:relative;z-index:2;text-align:center;--fig:min(clamp(190px,29vh,380px),24vw)}
/* the room stays pinned for four steps of scrolling: Gen Z, Gen Alpha, Boomers, Custom (ingame.js picks one per step) */
.igjs .ig-select{height:calc(100vh + 4 * 70vh);height:calc(100svh + 4 * 70svh);margin-top:-100vh;margin-top:-100svh}
.sel-stage{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:safe center;padding:clamp(16px,3.4vh,40px) 0 clamp(14px,3vh,30px);background:#000}
.igjs .sel-stage{position:sticky;top:0;height:100vh;height:100svh}
.igjs .ig-select:not(.on) .sel-stage{background:transparent;pointer-events:none}
/* the headline sits above the heroes: at rest every head is clear below it (fit-test checks this), and a raised axe or
   flame during a move passes behind the letters instead of hiding them */
.ig-select h2{position:relative;z-index:4;text-shadow:0 4px 30px rgba(0,0,0,.7)}
.roster{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(6px,2vw,32px);width:100%;max-width:1240px;margin:calc(var(--fig) * .2 + 10px) auto 0;padding:0 var(--gutter)}
/* the reveal (only when ingame.js runs) */
.igjs .ig-select h2{opacity:0;filter:blur(10px);translate:0 22px;scale:.97;transition:opacity .9s var(--ease),filter .9s var(--ease),translate .9s var(--ease),scale .9s var(--ease)}
/* the heroes fade in on their own layers, never on .slot/.fig: opacity or a transform there would cut the
   "lighten" blend off from the room and show each hero's black frame as a box over his neighbour.
   They are hidden only before the reveal, so each layer keeps its own opacity and hover states afterwards */
.igjs .ig-select:not(.on) .slot .fig>*,.igjs .ig-select:not(.on) .slot .name{opacity:0}
.igjs .ig-select:not(.on) .slot .name{translate:0 24px}
.igjs .ig-select:not(.on) .slot .hero{bottom:-26%}
.slot .hero{transition:opacity .8s var(--ease),bottom .9s var(--ease)}
.igjs .ig-select.on:not(.shown) .slot .fig>*,.igjs .ig-select.on:not(.shown) .slot .name{transition-duration:.8s;transition-delay:calc(1s + var(--i,0) * .14s)}
.igjs .ig-select .aud-cue{opacity:0;transition:opacity .7s var(--ease) 1.7s}
.igjs .ig-select.on h2,.igjs .ig-select.on .aud-cue{opacity:1;filter:none;translate:none;scale:none}
/* the info box: hidden until the first hover (or tap), then it stays */
.igjs .ig-select .aud-panel{opacity:0;visibility:hidden;translate:0 14px;transition:opacity .45s var(--ease),translate .45s var(--ease),visibility 0s .45s}
.igjs .ig-select.on.touched .aud-panel{opacity:1;visibility:visible;translate:none;transition:opacity .45s var(--ease),translate .45s var(--ease),visibility 0s}
.igjs .ig-select.touched .aud-cue{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
.igjs .ig-select:not(.on) *{transition-delay:0s!important;transition-duration:.25s!important}
/* step indicator on the right edge: a short grey dash per audience; the current one is a longer red line with a
   sparkle at its end. It follows the scroll step (not hover), so it always says where you are in the scroll */
.aud-steps{position:absolute;z-index:6;right:clamp(4px,1.2vw,22px);top:50%;translate:0 -50%;display:flex;flex-direction:column;align-items:flex-end}
.aud-steps button{display:flex;align-items:center;justify-content:flex-end;width:58px;height:28px;padding:0 18px 0 0;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.aud-steps i{position:relative;display:block;width:14px;height:2px;border-radius:1px;background:rgba(255,255,255,.4);transition:width .5s var(--ease),background-color .35s}
.aud-steps button:hover i{background:rgba(255,255,255,.8)}
.aud-steps i::after{content:"";position:absolute;right:-15px;top:50%;width:13px;height:13px;margin-top:-6.5px;background:#fff;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);scale:0;rotate:-90deg;transition:scale .45s var(--ease),rotate .45s var(--ease)}
.aud-steps .on i{width:36px;background:var(--step,#ff3b30);box-shadow:0 0 8px rgba(255,59,48,.55)}
.aud-steps .on i::after{scale:1;rotate:0deg}
.aud-steps button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.igjs .ig-select .aud-steps{opacity:0;transition:opacity .7s var(--ease) 1.7s}
.igjs .ig-select.on .aud-steps{opacity:1}
.igjs .ig-select:not(.on) .aud-steps{pointer-events:none}
html:not(.igjs) .aud-steps{display:none}

.slot{position:relative;display:flex;flex-direction:column;align-items:center;padding:0;color:#fff;outline-offset:6px}
.slot[data-fx=fire]{--fxc:#ffc070;--fxg:rgba(255,80,20,.95)}
.slot[data-fx=storm]{--fxc:#e4ecff;--fxg:rgba(120,140,255,.95)}
.slot[data-fx=forge]{--fxc:#ffd98a;--fxg:rgba(255,140,30,.9)}
.slot[data-fx=gold]{--fxc:#fff2c0;--fxg:rgba(255,79,163,.9)}
.slot .fig{position:relative;width:100%;height:var(--fig);display:block}
/* each hero is one 3:4 frame of pure black with the hero standing in the middle and lots of room around him,
   so nothing is ever cut, even when he steps forward or swings his weapon. Still, idle loop and action clip all
   share that exact frame: the hero takes the slot's full height, his feet on the rune disc, the rest of the
   frame (black, cut away) reaching up toward the title. The roster sits above the title and starts
   a fifth of a hero's height below it, so the title never covers a head.
   Always full brightness, sharp, never faded (owner, 2026-12-03). */
/* heroes are solid: a cut-out still (transparent around the body only), and the clips drawn through a WebGL canvas
   that removes just the outer black (ingame.js). No blend modes, so nothing behind shows through the body. The
   video elements are only frame sources and stay invisible. */
.slot .hero{position:absolute;z-index:1;left:50%;bottom:-16%;height:202%;aspect-ratio:3/4;translate:-50% 0;pointer-events:none}
.slot .hero .art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.slot .hero video{opacity:0}
.slot .hero canvas.key{opacity:0}
.slot .hero.drawn canvas.key{opacity:1}
.slot .hero.drawn img.art{opacity:0}
.slot.custom .fig .art{position:absolute;left:50%;bottom:9%;height:100%;width:auto;max-width:none;translate:-50% 0;transform-origin:50% 100%}
/* idle: everyone breathes, a little out of step */
.slot .fig .idle{position:absolute;inset:0;animation:igBreathe 3.6s ease-in-out infinite;animation-delay:var(--dl,0s);transform-origin:50% 92%}
@keyframes igBreathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.008,1.018) translateY(-1px)}}
/* power: a glow behind each hero (fire flickers, the storm flashes, the forge pulses) and sparks rising from the disc */
.slot .aura{position:absolute;left:50%;bottom:10%;width:86%;height:74%;translate:-50% 0;border-radius:50% 50% 40% 40%;background:radial-gradient(closest-side,var(--fxg),transparent);filter:blur(22px);opacity:.18;transition:opacity .45s}
.slot[aria-selected=true] .aura,.slot.step .aura{opacity:.38}
.slot[data-fx=fire] .aura{animation:igFlicker 1.3s steps(6) infinite}
.slot[data-fx=storm] .aura{animation:igStorm 4.2s steps(1) infinite}
.slot[data-fx=forge] .aura{animation:igPulse 2.6s ease-in-out infinite}
.slot[data-fx=gold] .aura{animation:igPulse 3.4s ease-in-out infinite}
/* during a move the hero's own glow fades out: the clip brings its own light, and the dim haze around a spell would
   otherwise show as a darker patch against the glow */
.slot.acting .aura{animation:none;opacity:0}
@keyframes igFlicker{0%{scale:1 1}20%{scale:1.04 .97}40%{scale:.97 1.05}60%{scale:1.03 1}80%{scale:.98 1.04}100%{scale:1 1}}
@keyframes igStorm{0%,100%{filter:blur(22px) brightness(1)}61%{filter:blur(18px) brightness(1.5)}63%{filter:blur(22px) brightness(1)}66%{filter:blur(16px) brightness(1.7)}69%{filter:blur(22px) brightness(1)}}
@keyframes igPulse{0%,100%{scale:.94}50%{scale:1.06}}
.slot[data-fx=storm] .idle{animation:igBreathe 3.6s ease-in-out infinite,igBolt 4.2s steps(1) infinite;animation-delay:var(--dl,0s),0s}
@keyframes igBolt{0%,100%{filter:none}61%{filter:brightness(1.5) saturate(1.3)}63%{filter:none}66%{filter:brightness(1.75) saturate(1.4)}69%{filter:none}}
.slot[data-fx=fire] .idle{animation:igBreathe 3.6s ease-in-out infinite,igBurn 1.1s steps(5) infinite;animation-delay:var(--dl,0s),0s}
@keyframes igBurn{0%,100%{filter:brightness(1)}40%{filter:brightness(1.12) saturate(1.1)}70%{filter:brightness(.96)}}
.slot .fx{position:absolute;inset:0;pointer-events:none;opacity:.35;transition:opacity .45s}
.slot[aria-selected=true] .fx,.slot.step .fx{opacity:1}
.slot .fx i{position:absolute;left:var(--x);bottom:12%;width:var(--s,3px);height:var(--s,3px);border-radius:50%;background:var(--fxc);box-shadow:0 0 6px 2px var(--fxg);opacity:0;animation:igSpark var(--t) ease-out infinite;animation-delay:var(--dl)}
@keyframes igSpark{0%{opacity:0;transform:none}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy,-220px))}}
.slot[data-fx=storm] .fx i{width:2px;height:12px;border-radius:1px;animation-name:igZap}
@keyframes igZap{0%{opacity:0;transform:none}10%{opacity:1;transform:translate(6px,-30px) rotate(25deg)}20%{transform:translate(-4px,-70px) rotate(-20deg)}30%{opacity:1;transform:translate(8px,-110px) rotate(30deg)}45%,100%{opacity:0;transform:translate(0,-150px)}}
/* the rune disc under each hero */
.slot .base{display:none;position:absolute;left:50%;bottom:4%;width:70%;aspect-ratio:3.2;translate:-50% 0;border-radius:50%;background:radial-gradient(closest-side,rgba(255,79,163,.22),rgba(255,79,163,.06) 60%,transparent 72%);box-shadow:0 0 0 1px rgba(255,140,190,.2) inset;transition:background .45s,box-shadow .45s,opacity .8s var(--ease)}
.slot .name{position:relative;z-index:2;margin-top:6px;font-weight:800;font-size:clamp(24px,2.8vw,40px);line-height:1.05;letter-spacing:.01em;white-space:nowrap;text-transform:uppercase;padding-bottom:8px;border-bottom:3px solid transparent;transition:border-color .3s,color .3s,opacity .8s var(--ease),translate .9s var(--ease);color:rgba(255,255,255,.6)}
.slot[aria-selected=true] .name{color:#fff;border-color:var(--magenta)}
/* hover / selected: the rune disc and the glow light up (the hero art itself is never dimmed) */

.slot[aria-selected=true] .base,.slot.step .base{background:radial-gradient(closest-side,rgba(255,79,163,.6),rgba(255,79,163,.16) 60%,transparent 72%);box-shadow:0 0 0 1px rgba(255,170,210,.55) inset,0 0 40px rgba(255,79,163,.4)}
/* custom: an empty slot until you hover, then three heroes step out of the dark */
.slot.custom .fig .empty{position:absolute;left:50%;bottom:16%;translate:-50% 0;width:auto;height:78%;aspect-ratio:.42;border-radius:48% 48% 12% 12%;border:2px dashed rgba(255,255,255,.28);display:grid;place-items:center;font-size:clamp(30px,4vw,56px);font-weight:800;color:rgba(255,255,255,.4);transition:opacity .35s}
.slot.custom .fig img{pointer-events:none;height:78%;opacity:0;scale:.7;transition:opacity .4s,scale .7s var(--ease),translate .7s var(--ease),filter .45s}
.slot.custom[aria-selected=true] .fig .empty{opacity:0}
.slot.custom[aria-selected=true] .fig img{opacity:1;scale:1;filter:brightness(1.02) drop-shadow(0 18px 22px rgba(0,0,0,.75))}
.slot.custom[aria-selected=true] .fig img.c1{translate:-88% 4%;transition-delay:.05s}
.slot.custom[aria-selected=true] .fig img.c2{translate:-50% -2%;z-index:2}
.slot.custom[aria-selected=true] .fig img.c3{translate:-12% 4%;transition-delay:.1s}
/* the panel: an in-game tooltip frame. All four cards share one grid cell, so the frame keeps one size */
.aud-wrap{display:grid;justify-items:center;width:100%;margin-top:clamp(12px,2.6vh,26px)}
.aud-wrap>*{grid-area:1/1}
.aud-cue{align-self:center;margin:0;font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.aud-cue::before{content:"";display:inline-block;width:7px;height:7px;margin-right:10px;rotate:45deg;vertical-align:1px;background:var(--pink);box-shadow:0 0 8px rgba(255,79,163,.9);animation:igPulse 1.6s ease-in-out infinite}
.aud-panel{position:relative;display:grid;width:min(100% - 2*var(--gutter),900px);margin:0;text-align:left;background:linear-gradient(180deg,rgba(30,18,34,.97),rgba(11,7,15,.97));border:1px solid rgba(214,170,98,.75);border-radius:4px;box-shadow:0 0 0 4px rgba(11,7,15,.95),0 0 0 5px rgba(214,170,98,.35),0 24px 60px rgba(0,0,0,.65),inset 0 0 50px rgba(255,79,163,.07)}
.aud-panel::before,.aud-panel::after{content:"";position:absolute;top:50%;width:12px;height:12px;background:var(--bronze);rotate:45deg;translate:0 -50%;box-shadow:0 0 12px rgba(214,170,98,.7)}
.aud-panel::before{left:-7px}
.aud-panel::after{right:-7px}
.aud-card{position:relative;grid-area:1/1;display:grid;grid-template-columns:minmax(0,.58fr) minmax(0,1.42fr);align-items:center;gap:clamp(14px,2.4vw,30px);padding:clamp(12px,1.6vh,20px) clamp(20px,2.6vw,32px)}
.aud-card:not(.on){visibility:hidden}
.aud-card.on .who,.aud-card.on .info{animation:igSwap .35s var(--ease)}
@keyframes igSwap{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.aud-card .who{display:grid;gap:6px;padding-right:clamp(16px,3vw,36px);border-right:1px solid rgba(214,170,98,.4)}
.aud-card .cls{font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--bronze)}
.aud-card .who strong{font-weight:800;white-space:nowrap;font-size:clamp(24px,2.2vw,31px);letter-spacing:-.03em;line-height:.95;text-transform:uppercase}
.aud-card .info{display:grid;gap:clamp(8px,1.3vh,14px)}
.aud-card .stat{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:clamp(14px,1.6vw,22px);row-gap:12px}
.aud-card .stat b{font-weight:800;font-size:clamp(38px,min(3.8vw,6.4vh),62px);letter-spacing:-.03em;line-height:1;color:var(--pink);text-shadow:0 0 18px rgba(255,79,163,.45)}
/* the info text uses the page's subheadline type (Montserrat 500, same colour); only the numbers stay heavy */
.aud-card .stat span{font-weight:600;font-size:clamp(16px,min(1.35vw,2.4vh),20px);line-height:1.35;text-wrap:balance;color:rgba(255,255,255,.86)}
.aud-card .bar{grid-column:1/-1;position:relative;display:block;height:8px;border-radius:2px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(214,170,98,.35);overflow:hidden}
.aud-card .bar::before{content:"";position:absolute;inset:0;width:calc(var(--v) * 100%);background:linear-gradient(90deg,#e5146d,#ff4fa3 60%,#ffb35c);box-shadow:0 0 12px rgba(255,79,163,.7)}
.aud-card .bar::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 2px),rgba(11,7,15,.9) calc(10% - 2px) 10%)}
.aud-card.on .bar::before{animation:igFill .9s var(--ease) .1s backwards}
@keyframes igFill{from{width:0}}
.aud-card .perks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 28px}
.aud-card .perks li{display:flex;align-items:center;gap:12px;font-weight:600;font-size:clamp(14px,min(1.2vw,2.1vh),18px);color:rgba(255,255,255,.86)}
.aud-card .perks li::before{content:"";flex:none;width:12px;height:12px;rotate:45deg;background:var(--pink);box-shadow:0 0 8px rgba(255,79,163,.9)}
.aud-card .src{position:absolute;left:clamp(20px,2.6vw,32px);bottom:clamp(12px,1.6vh,20px);max-width:calc(29% - 44px);margin:0;font-size:12px;line-height:1.4;color:rgba(255,255,255,.5)}
.aud-card .src a{color:inherit}

/* ---------------- 03 · AD BREAK: night racing ---------------- */
.ig-break{position:relative;padding:clamp(80px,12vh,140px) 0;overflow:hidden;background:linear-gradient(180deg,var(--night),#0d0a1c 30%,#120b26)}
.ig-break::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(100deg,transparent 0 120px,rgba(200,255,56,.05) 120px 122px,transparent 122px 260px,rgba(255,79,163,.06) 260px 261px);pointer-events:none}
.ig-break h2{text-align:center}
.ig-break h2 em{font-style:normal;color:var(--lime)}
/* entrance: "Choose your" rises out of a blur, then "ad break" drops in large and settles with a lime flash, then the sub line */
.igjs .ig-break h2{opacity:0;filter:blur(10px);translate:0 26px;transition:opacity .8s var(--ease),filter .8s var(--ease),translate .9s var(--ease)}
.igjs .ig-break h2 em{display:inline-block;opacity:0;scale:1.35;filter:blur(6px);transition:opacity .5s var(--ease) .38s,scale .7s cubic-bezier(.2,1.4,.4,1) .38s,filter .5s var(--ease) .38s}
.igjs .ig-break .ig-shell>.ig-sub{opacity:0;translate:0 14px;transition:opacity .7s var(--ease) .85s,translate .7s var(--ease) .85s}
.igjs .ig-break.in h2,.igjs .ig-break.in .ig-shell>.ig-sub{opacity:1;filter:none;translate:none}
.igjs .ig-break.in h2 em{opacity:1;scale:1;filter:none;animation:igBreakFlash 1.1s ease-out .5s}
@keyframes igBreakFlash{0%{text-shadow:0 0 0 rgba(200,255,56,0)}25%{text-shadow:0 0 28px rgba(200,255,56,.95),0 0 60px rgba(200,255,56,.5)}100%{text-shadow:0 0 0 rgba(200,255,56,0)}}
/* no tilted (italic / skewed) text anywhere in the ad break (owner, 2026-12-03) */
.break-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(20px,3vw,40px);margin-top:clamp(28px,5vh,52px);align-items:stretch}
/* the format panel: a racing-game menu, not a white card */
.format-panel{position:relative;display:flex;flex-direction:column;padding:clamp(24px,3vw,44px);color:#fff;background:linear-gradient(160deg,rgba(34,22,64,.94),rgba(12,8,28,.96));border:1px solid rgba(200,255,56,.4);clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px));box-shadow:inset 0 0 60px rgba(200,255,56,.06)}
.format-panel::before{content:"";position:absolute;left:clamp(24px,3vw,44px);top:0;width:72px;height:4px;background:var(--lime);box-shadow:0 0 14px var(--lime)}
.format-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 clamp(22px,4vh,34px) 6px}
.format-tabs button{padding:11px 22px;border:0;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:rgba(200,255,56,.14);transition:background .2s,color .2s}
.format-tabs button:hover{background:rgba(200,255,56,.26)}
.format-tabs button[aria-selected=true]{background:var(--lime);color:#120b26}
/* the format headline: one line per idea. When the panel scrolls in, each line flashes twice and stays (no loop) */
.format-body h3{margin:0;font-weight:800;text-transform:uppercase;letter-spacing:-.03em;line-height:1.04;font-size:clamp(22px,2.35vw,36px)}
.format-body h3 span{display:block;white-space:nowrap}
.format-body h3 span+span{margin-top:.08em}
.format-body h3 span:nth-child(2){color:var(--lime)}
.igjs .format-panel:not(.seen) .format-body h3 span{opacity:0}
.format-panel.seen .format-body h3 span{animation:igFlash2 .95s steps(1,end) backwards}
.format-panel.seen .format-body h3 span:nth-child(2){animation-delay:.32s}
.format-panel.seen .format-body h3 span:nth-child(3){animation-delay:.64s}
@keyframes igFlash2{0%{opacity:0}14%{opacity:1;text-shadow:0 0 24px rgba(200,255,56,.9)}30%{opacity:.08}46%{opacity:1;text-shadow:0 0 24px rgba(200,255,56,.9)}62%{opacity:.08}78%,100%{opacity:1;text-shadow:none}}
.demo-steps{list-style:none;counter-reset:step;margin:clamp(20px,3.4vh,30px) 0;padding:0;display:grid;gap:10px}
.demo-steps li{display:flex;align-items:center;gap:12px;font-weight:600;font-size:15px;color:rgba(255,255,255,.45)}
.demo-steps li::before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:26px;height:26px;flex:none;border:1.5px solid currentColor;border-radius:4px;font-size:12px;font-weight:800}
.demo-steps li.current{color:#fff;font-weight:800}
.demo-steps li.current::before{background:var(--lime);border-color:var(--lime);color:#120b26}
.demo-hint{display:flex;gap:8px;align-items:baseline;margin:auto 0 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.14);font-size:14px;color:rgba(255,255,255,.7)}
.demo-hint svg{width:10px;height:10px;flex:none;color:var(--lime)}
.format-panel.changing .format-body{animation:igSwap .25s var(--ease)}
.arcade-stage{position:relative;overflow:hidden;isolation:isolate;display:grid;place-items:center;min-height:540px;padding:36px 16px;border-radius:22px;background:#140b24}
.arcade-stage .road{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s}
.arcade-stage .road.ready{opacity:.9}
.arcade-stage::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(40% 60% at 50% 50%,rgba(10,6,20,.15),rgba(10,6,20,.75))}
.sim-caption,.sim-led{position:absolute;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#fff;background:rgba(0,0,0,.45);padding:5px 8px;border-radius:6px}
.sim-caption{left:14px;top:14px}
.sim-led{right:14px;bottom:14px;display:flex;align-items:center;gap:7px}
.sim-led i{display:block;width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 8px var(--lime)}
/* the phone and the racing game inside it (fictional game, its own art direction) */
.phone-frame{--game-lime:#c8ff38;position:relative;width:236px;aspect-ratio:9/17.5;padding:6px;border-radius:35px;border:1px solid #665d6a;background:linear-gradient(125deg,#edeaf0,#5b555d 18%,#211f25 49%,#716c76 81%,#dfdce2);box-shadow:0 30px 60px -12px rgba(0,0,0,.7),0 0 0 2px #28252c}
.phone-frame::before{content:"";position:absolute;z-index:4;top:11px;left:calc(50% - 21px);background:#0b0910;width:42px;height:10px;border-radius:12px;pointer-events:none}
.screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:28px;background:#261638;color:#fff;font:400 1rem/1.4 Arial,sans-serif}
#race{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
.race-logo{position:absolute;left:0;right:0;top:10%;text-align:center;font:800 21px/.95 Arial,sans-serif;letter-spacing:-.065em;text-shadow:1px 2px 0 #6619aa;pointer-events:none}
.race-logo span{color:var(--game-lime)}
.lap-hud{position:absolute;left:16%;right:16%;top:19%;display:flex;align-items:center;gap:6px;font:700 9px/1 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#fff;text-shadow:0 1px 2px #000;transition:opacity .3s}
.lap-hud i{flex:1;height:5px;border-radius:3px;background:rgba(0,0,0,.45);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);overflow:hidden}
.lap-hud b{display:block;height:100%;width:0;background:var(--game-lime)}
.screen:not([data-state=drive]) .lap-hud{opacity:0}
.game-card{position:absolute;inset:auto 5% 4%;padding:9px 8px 5px;background:#140e24f5;border:1px solid #c8a6ff92;border-radius:10px;text-align:center;animation:igCard .35s var(--back)}
@keyframes igCard{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.bonus-icon{display:block;font:800 20px/1 Arial,sans-serif;color:var(--game-lime);margin-bottom:3px}
.game-card h4{margin:0;color:#fff;font:700 1rem/1.15 Arial,sans-serif;letter-spacing:-.02em}
.game-card p{color:#e9e1ef;font-size:.875rem;line-height:1.3;margin:6px 0 8px}
.game-action,.game-secondary{width:100%;border:0;display:block;font-weight:650;font-size:.875rem;line-height:1.2}
.game-action{position:relative;overflow:hidden;isolation:isolate;background:var(--game-lime);color:#15170e;border-radius:4px;padding:8px 4px;min-height:34px}
/* "Watch for turbo": the button pulses and fills up; if the player does not tap within 3 seconds it presses itself */
.game-action.nudge{animation:igNudge .9s ease-in-out infinite}
.game-action.nudge::before{content:"";position:absolute;inset:0;z-index:-1;background:#fff;opacity:.55;transform-origin:0 50%;animation:igCount 3s linear forwards}
.game-action.nudge.hold,.game-action.nudge.hold::before{animation-play-state:paused}
.game-action.pressed{animation:none;scale:.94;filter:brightness(1.2);transition:scale .12s,filter .12s}
@keyframes igNudge{0%,100%{box-shadow:0 0 0 0 rgba(200,255,56,.7)}50%{box-shadow:0 0 0 7px rgba(200,255,56,0);scale:1.04}}
@keyframes igCount{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.game-action[hidden]{display:none}
.game-secondary{background:transparent;color:#f0e8f6;text-decoration:underline;text-underline-offset:3px;padding:7px 0 4px;min-height:29px}
.game-secondary[hidden],.game-card[hidden],.drive-controls[hidden],.ad-screen[hidden],.ad-display[hidden],.ad-footer[hidden],#ad-video[hidden]{display:none}
.drive-controls{position:absolute;bottom:5%;left:12%;right:12%;text-align:center}
.drive-controls>div{display:flex;justify-content:center;gap:9px}
.drive-controls button{display:grid;place-items:center;width:44px;height:38px;border:1px solid #c9adf5;border-radius:6px;background:#181120ea;color:#f1e7fc}
.ad-screen,.ad-screen video,.ad-screen .ad-display{position:absolute;inset:0;width:100%;height:100%}
.ad-screen{background:#243711;animation:igAdIn .3s ease}
@keyframes igAdIn{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
.ad-screen video,.ad-screen .ad-display{object-fit:cover}
.ad-controls{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:22px 9px 6px;background:linear-gradient(#0007,transparent)}
.ad-controls span,.ad-controls button,.ad-footer button{background:#101806e6;color:#fff}
.ad-controls span{padding:2px 6px;border-radius:3px;font-size:.75rem}
.ad-controls button{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid #fff9;font:400 22px/1 Arial,sans-serif}
.ad-footer{position:absolute;right:9px;bottom:10px}
.ad-footer button{border:1px solid #fffa;border-radius:3px;padding:4px 7px;font-size:.8125rem}
.ad-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#2e391c}
.ad-progress i{display:block;height:100%;width:0;background:var(--game-lime)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------------- 04 · GAME LIBRARY: old-school palace ---------------- */
.ig-games{position:relative;padding:0 0 clamp(70px,10vh,120px);background:#140c2c;overflow:hidden}
.palace{position:relative;height:clamp(260px,38vw,520px);overflow:hidden}
.palace img{width:100%;height:100%;object-fit:cover;object-position:50% 60%;image-rendering:pixelated}
.palace::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(20,12,44,.1) 40%,#140c2c 98%)}
.palace .runner{position:absolute;z-index:2;bottom:20%;left:0;width:clamp(56px,6vw,88px);image-rendering:pixelated;animation:igRun 11s linear infinite;filter:drop-shadow(0 6px 4px rgba(0,0,0,.5))}
.palace .runner img{height:auto;object-fit:contain;animation:igHop .5s steps(2) infinite}
@keyframes igRun{0%{transform:translateX(-120px)}100%{transform:translateX(calc(100vw + 120px))}}
@keyframes igHop{0%,100%{translate:0 0}50%{translate:0 -4px}}
.games-head{position:relative;z-index:2;margin-top:clamp(-170px,-13vw,-80px);text-align:center}
.games-head h2{text-shadow:0 4px 30px rgba(10,6,24,.8)}
.games-head h2 em{font-style:normal;color:var(--gold)}
/* below the shelf: the rest of the library */
.more-games{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px 14px;margin:clamp(26px,4.4vh,44px) 0 0;text-align:center}
.more-games b{font-weight:800;font-size:clamp(40px,4.4vw,68px);line-height:1;letter-spacing:-.04em;color:var(--gold);text-shadow:0 0 26px rgba(255,208,138,.35)}
.more-games span{font-weight:800;font-size:clamp(17px,1.7vw,26px);letter-spacing:.02em;text-transform:uppercase;color:#fff}
/* one big game; click another and it opens up while the rest make room */
.game-shelf{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:clamp(10px,1.4vw,18px);margin-top:clamp(28px,5vh,52px);transition:grid-template-columns .65s var(--ease)}
.game-tile{position:relative;display:block;min-width:0;padding:0;text-align:left;border-radius:16px;overflow:hidden;border:2px solid transparent;background:#000;transition:border-color .25s,box-shadow .35s}
.game-tile:hover{border-color:rgba(255,208,138,.5)}
.game-tile[aria-selected=true]{border-color:var(--gold);box-shadow:0 0 34px rgba(255,208,138,.25)}
.tile-scene{position:relative;display:block;height:clamp(240px,29vw,420px)}
.scene-image{width:100%;height:100%;object-fit:cover;transition:scale .8s var(--ease),filter .4s}
.game-tile:not([aria-selected=true]) .scene-image{filter:brightness(.72) saturate(.85)}
.game-tile[aria-selected=true] .scene-image{scale:1.03}
.game-tile[data-title=subway] .scene-image{object-position:50% 43%}
.tile-icon{position:absolute;top:10px;left:10px;width:34px;height:34px;border-radius:8px;border:1px solid #ffffffcf}
.tile-copy{position:absolute;left:0;right:0;bottom:0;display:grid;gap:3px;padding:48px 16px 16px;background:linear-gradient(transparent,rgba(0,0,0,.88))}
.tile-copy>span{font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.tile-copy strong{font-weight:800;font-size:clamp(14px,1.3vw,20px);line-height:1.05;letter-spacing:-.01em;text-transform:uppercase;color:#fff;transition:font-size .4s var(--ease)}
.game-tile[aria-selected=true] .tile-copy strong{font-size:clamp(20px,2.3vw,36px)}

/* ---------------- 05 · TWO FACTIONS ---------------- */
.ig-teams{padding:clamp(70px,11vh,130px) 0 clamp(50px,8vh,90px);background:#fff;color:var(--plum)}
.ig-teams h2{text-align:center}
.ig-teams h2 em{font-style:normal;color:var(--magenta)}
/* entrance: the title first, then the two cards */
.igjs .ig-teams h2{opacity:0;filter:blur(10px);translate:0 24px;transition:opacity .9s var(--ease),filter .9s var(--ease),translate .9s var(--ease)}
.igjs .ig-teams .faction{opacity:0;translate:0 48px;transition:opacity .8s var(--ease),translate .9s var(--ease),box-shadow .4s;transition-delay:calc(.55s + var(--i,0) * .16s)}
.igjs .ig-teams.in h2,.igjs .ig-teams.in .faction{opacity:1;filter:none;translate:none}
/* cards: picture on top, text and button below; hover grows the card and pushes the other, the text keeps its size */
.factions{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(14px,2vw,28px);max-width:1120px;margin:clamp(28px,5vh,52px) auto 0;transition:grid-template-columns .6s var(--ease)}
.faction{display:flex;flex-direction:column;min-width:0;border-radius:12px;overflow:hidden;background:#f4f3f6;color:var(--plum);text-decoration:none}
/* the heads sit at the very top of both paintings: crop from the top, a little taller than 16:9 */
.faction .ph{position:relative;display:block;aspect-ratio:16/10;overflow:hidden}
.faction .ph img{width:100%;height:100%;object-fit:cover;object-position:50% 0%;transform-origin:50% 0;transition:scale 1s var(--ease)}
.faction:hover .ph img{scale:1.04}
.faction .txt{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(22px,2.6vw,36px) clamp(22px,2.6vw,36px) clamp(26px,3vw,40px)}
.faction .side{font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--magenta)}
.faction.alliance .side{color:#2f5fd0}
.faction h3{margin:8px 0 0;font-weight:800;letter-spacing:-.035em;line-height:1;text-transform:uppercase;font-size:clamp(30px,3.2vw,52px);white-space:nowrap}
.faction p{width:min(100%,32ch);margin:12px 0 22px;font-size:clamp(16px,1.25vw,19px);line-height:1.5;color:var(--ink-2)}
.faction .btn{display:inline-flex;align-items:center;min-height:46px;padding:10px 22px;border-radius:8px;border:1.5px solid var(--plum);font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;transition:background .25s,color .25s,border-color .25s}
.faction:hover .btn{background:var(--magenta);border-color:var(--magenta);color:#fff}
@media (min-width:900px) and (hover:hover){
  .factions:has(.horde:hover){grid-template-columns:1.2fr .8fr}
  .factions:has(.alliance:hover){grid-template-columns:.8fr 1.2fr}
}

/* ---------------- 06 · READY TO PLAY: the portal in reverse ----------------
   Same gate and layers as the opening portal, driven backwards by scroll (ingame.js): you start inside the
   light, the camera pulls back out of the doorway, the doors swing shut, then the title and the button arrive. */
.ig-end{position:relative;height:300vh;height:300svh;background:#000;color:#fff}
.ig-end h2{position:relative;z-index:3;text-align:center;font-size:clamp(44px,min(7.4vw,11vh),132px);line-height:.92;text-shadow:0 4px 40px rgba(0,0,0,.8);opacity:var(--te,0);translate:0 calc((1 - var(--te,0)) * 26px)}
.ig-end h2 em{font-style:normal;color:#ff6a3d}
@media (max-width:699px){.ig-end h2{font-size:clamp(44px,14vw,72px)}.ig-end h2 em{display:block}}
.ig-end .ig-gate{animation:none;margin-bottom:clamp(70px,13vh,130px)}
.ig-end .end-cta{position:absolute;z-index:3;left:50%;bottom:clamp(22px,5vh,52px);display:inline-flex;align-items:center;justify-content:center;gap:10px;height:58px;padding:0 32px;border-radius:999px;background:transparent;border:1.5px solid #fff;color:#fff;font-weight:600;font-size:13px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;white-space:nowrap;text-shadow:0 1px 12px rgba(0,0,0,.6);opacity:var(--tc,0);translate:-50% calc((1 - var(--tc,0)) * 24px);pointer-events:none;transition:background .25s,color .25s,text-shadow .25s}
.ig-end.done .end-cta{pointer-events:auto}
.ig-end .end-cta:hover,.ig-end .end-cta:focus-visible{background:#fff;color:var(--plum);text-shadow:none}

/* footer: grey, so the dark text reads */
.ig .g-footer{background:#e9e6ee;color:var(--ink-2)}
.ig .g-footer .logo{color:var(--plum)}

/* ---------------- phones ---------------- */
@media (max-width:899px){
  .ig-hero{height:260vh;height:260svh}
  .ig-end{height:240vh;height:240svh}
  /* phones: four heroes cannot be bigger in four 90px columns without cutting and overlapping each other,
     so the room becomes a swipe row, about two heroes per screen. The row's top padding keeps the raised
     weapons inside the scroller (its clip edge sits in the black above the heroes) */
  .roster{--slot:42vw;flex-shrink:0;display:flex;gap:0;max-width:none;margin-top:calc(4px - clamp(150px,29vh,250px) * .52);padding:calc(clamp(150px,29vh,250px) * .86) calc((100vw - var(--slot)) / 2) 0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
  .roster::-webkit-scrollbar{display:none}
  .slot{flex:0 0 var(--slot);scroll-snap-align:center}
  .slot .fig{height:clamp(150px,29vh,250px)}
  .slot .name{font-size:clamp(20px,6.2vw,26px);letter-spacing:0}
  /* the Custom fan sits a little to the right, clear of the dwarf next to it */
  .slot.custom[aria-selected=true] .fig img.c1{translate:-76% 4%}
  .slot.custom[aria-selected=true] .fig img.c2{translate:-40% -2%}
  .slot.custom[aria-selected=true] .fig img.c3{translate:-4% 4%}
  .aud-card{grid-template-columns:1fr;gap:8px;padding:14px 16px}
  .aud-card .who{display:flex;align-items:baseline;gap:10px;border:0;padding:0}
  .aud-card .who strong{font-size:22px}
  .aud-card .info{gap:10px}
  .aud-card .stat{column-gap:12px;row-gap:8px}
  .aud-card .stat b{font-size:clamp(36px,10.5vw,46px)}
  .aud-card .stat span{font-size:clamp(15px,4.2vw,18px)}
  .aud-card .perks{flex-direction:column;gap:6px}
  .aud-card .perks li{gap:10px;font-size:clamp(14px,3.9vw,17px)}
  .aud-card .perks li::before{width:10px;height:10px}
  .aud-card .src{position:static;max-width:none}
  .site-header .pill.talk{height:36px;padding:0 13px;font-size:11px;letter-spacing:.07em}
  .site-header .menu-btn{padding:0 4px}
  .break-grid{grid-template-columns:1fr}
  .arcade-stage{min-height:480px}
  .game-shelf{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
  .game-tile{flex:0 0 74%;scroll-snap-align:start}
  .game-tile .tile-copy strong{font-size:20px}
  .factions{grid-template-columns:1fr}
}
/* small phones: the header button must not touch the logo */
@media (max-width:400px){.site-header .pill.talk{padding:0 11px;font-size:10px;letter-spacing:.04em}}
@media (max-width:350px){.site-header .pill.talk{white-space:normal;max-width:92px;height:40px;line-height:1.15;text-align:center}}
/* mid-height laptops (761-880px tall): tighter gaps so the bigger proof box fits under the heroes */
@media (min-width:900px) and (max-height:880px){.aud-wrap{margin-top:10px}}
/* short laptop screens: everything in the pinned room has to fit in one screen */
@media (min-width:900px) and (max-height:760px){
  .sel-stage{padding-top:14px}
  .ig-select{--fig:min(clamp(160px,29vh,230px),24vw)}
  .slot .name{font-size:clamp(22px,2.2vw,32px)}
  .aud-card{padding-block:12px}
  .aud-card .src{font-size:11px;line-height:1.3}
}
@media (max-width:899px) and (max-height:720px){
  .aud-card{padding-block:12px}
  .aud-card .stat b{font-size:34px}
  .aud-card .stat span{font-size:15px}
  .aud-card .perks li{font-size:14px}
  .roster{--slot:38vw}
  .slot .name{font-size:clamp(17px,5.2vw,22px)}
  .aud-card .perks{flex-direction:row;gap:4px 14px}
  .slot .fig{height:clamp(130px,24vh,190px)}
  .roster{margin-top:calc(2px - clamp(130px,24vh,190px) * .6);padding-top:calc(clamp(130px,24vh,190px) * .86)}
  .aud-card .src{font-size:11px;line-height:1.3}
}
/* very short wide windows (under 600px tall): smaller heroes and headline so the whole room still fits */
@media (min-width:900px) and (max-height:600px){
  .sel-stage{padding-top:8px;padding-bottom:8px}
  .ig-select{--fig:min(clamp(96px,26vh,150px),24vw)}
  .ig-select h2{font-size:clamp(32px,min(6.2vw,11vh),112px)}
  .slot .name{font-size:clamp(18px,min(2.2vw,4.4vh),32px)}
  .aud-wrap{margin-top:6px}
  .aud-card .src{display:none}
}
/* very short phones (under 600px tall, e.g. a small phone with the browser bars showing) */
@media (max-width:899px) and (max-height:600px){
  .sel-stage{padding-top:8px;padding-bottom:8px}
  .ig-select h2{font-size:32px}
  .aud-wrap{margin-top:8px}
  .aud-card .src{display:none}
}
/* phones on their side (under 500px tall): the same, for the swipe row */
@media (max-width:899px) and (max-height:500px){
  .sel-stage{padding-top:6px;padding-bottom:6px}
  .ig-select h2{font-size:clamp(26px,8vh,40px)}
  .roster{--slot:30vw;margin-top:calc(2px - clamp(90px,26vh,130px) * .6);padding-top:calc(clamp(90px,26vh,130px) * .86)}
  .slot .fig{height:clamp(90px,26vh,130px)}
  .slot .name{font-size:16px;padding-bottom:4px}
  .aud-wrap{margin-top:6px}
  .aud-card{grid-template-columns:auto 1fr;column-gap:20px;padding-block:8px}
  .aud-card .stat b{font-size:28px}
  .aud-card .perks,.aud-card .src{display:none}
}
/* reduced motion: no scroll zoom, no pinned reveal, nothing loops */
@media (prefers-reduced-motion:reduce){
  .ig-hero,.ig-end{height:auto}
  .ig-hero .stage,.ig-end .stage{position:relative;height:100vh}
  .ig-end{--te:1;--tc:1}
  .ig-end .end-cta{pointer-events:auto}
  .igjs .ig-select{height:auto;margin-top:0}
  .igjs .sel-stage{position:relative;height:auto}
  .igjs .ig-select h2,.igjs .ig-select .slot,.igjs .ig-select .aud-panel,.igjs .ig-teams h2,.igjs .ig-teams .faction{opacity:1;visibility:visible;filter:none;translate:none;scale:none;transition:none}
  .igjs .ig-select .aud-cue{display:none}
  .igjs .ig-select .aud-steps{display:none}
  .igjs .ig-break h2,.igjs .ig-break h2 em,.igjs .ig-break .ig-shell>.ig-sub{opacity:1;filter:none;translate:none;scale:none;transition:none;animation:none}
  .igjs .format-panel .format-body h3 span{opacity:1;animation:none}
  .game-action.nudge,.game-action.nudge::before{animation:none}
  .igjs .ig-select .sel-stage{background:var(--night);pointer-events:auto}
  .ig-gate,.ig-gate .leaf,.ig-gate .beam,.ig-gate .runes,.ig-hero .embers i,.slot .fig .idle,.slot .aura,.slot .fx i,.palace .runner,.palace .runner img{animation:none}
  .ig-hero .flash,.ig-hero .dusk,.ig-end .flash{display:none}
  .ig-end .embers i{animation:none}
}
