/* Phase 2a portal direction. Code-drawn placeholders only. Motion follows the site switch. */
:root{--arc-midnight:#050314;--arc-indigo:#17113B;--arc-teal:#00FFD1;--arc-coral:#FF2D95;--arc-violet:#B983FF;--arc-brass:#FFC247;--arc-snow:#FFF8E7;--arc-mist:#C9C5F2;--arc-lime:#D8FF3E;--arc-cyan:#35BFFF}
html{scroll-padding-top:88px}
html.arcade-scroll-lock,html.arcade-scroll-lock body{overflow:hidden!important;overscroll-behavior:none}
body[data-page="arcade"],body[data-page="arcade-game"]{position:relative;background:var(--arc-midnight);color:var(--arc-snow);font-family:var(--sans)}
body[data-page="arcade"] .page,body[data-page="arcade-game"] .page{background:var(--arc-midnight);overflow:clip}
.arcade-page a:focus-visible,.arcade-topbar a:focus-visible,.arcade-topbar button:focus-visible,.arcade-tabs a:focus-visible,.arcade-footer a:focus-visible{outline:3px solid var(--arc-lime);outline-offset:5px}
.arcade-kicker{display:block;color:var(--arc-teal);font:700 11px/1.3 var(--sans);letter-spacing:.2em;text-transform:uppercase;text-shadow:0 0 18px rgba(0,255,209,.5)}
.arcade-topbar{position:fixed;z-index:120;left:0;right:0;top:0;height:78px;padding:0 max(24px,4vw);display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(180deg,rgba(5,3,20,.96),rgba(5,3,20,.68) 70%,transparent);pointer-events:none}
.arcade-topbar>*{pointer-events:auto}.arcade-portal-brand{display:flex;align-items:center;gap:12px;color:var(--arc-snow);text-decoration:none;font:400 21px/1 var(--serif);letter-spacing:-.02em}.arcade-portal-brand b{display:block;color:var(--arc-teal);font-weight:400;font-style:italic;text-shadow:0 0 18px rgba(0,255,209,.6)}
.arcade-lf{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--arc-brass);border-radius:50%;color:var(--arc-brass);font:700 13px/1 var(--serif);box-shadow:inset 0 0 0 3px var(--arc-midnight),inset 0 0 0 4px rgba(255,194,71,.45),0 0 20px rgba(255,194,71,.2)}
.arcade-top-actions{display:flex;align-items:center;gap:22px}.arcade-main-site,.arcade-call{color:var(--arc-snow);text-decoration:none;font-size:13px;min-height:48px;display:flex;align-items:center}.arcade-main-site{color:var(--arc-mist);text-decoration:underline;text-decoration-color:rgba(201,197,242,.4);text-underline-offset:5px}.arcade-call span{margin-left:5px}.arcade-motion{min-height:48px;padding:0 15px;border:1px solid rgba(0,255,209,.6);border-radius:30px;background:#0B0924;color:var(--arc-snow);font:600 12px/1 var(--sans);cursor:pointer;box-shadow:0 0 18px rgba(0,255,209,.12)}.arcade-motion b{color:var(--arc-teal);margin-left:5px}.arcade-motion[aria-pressed="true"] b{color:var(--arc-mist)}
.arcade-portal-hero{position:relative;isolation:isolate;height:max(760px,100svh);overflow:hidden;background:var(--arc-midnight)}.arcade-street-art{position:absolute;inset:0;width:100%;height:100%;z-index:-3}.arcade-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(5,3,20,.88) 0%,rgba(5,3,20,.34) 52%,rgba(5,3,20,.15)),linear-gradient(0deg,rgba(5,3,20,.85),transparent 42%)}.arcade-hero-copy{position:absolute;left:6vw;top:50%;transform:translateY(-45%);max-width:900px}.arcade-hero-copy h1{margin:18px 0 20px;font:400 clamp(76px,9vw,146px)/.76 var(--serif);letter-spacing:-.055em;text-shadow:0 8px 40px #050314}.arcade-hero-copy h1 span{display:block;font-size:.48em;line-height:1.2;letter-spacing:-.025em}.arcade-hero-copy h1 em{display:block;color:var(--arc-teal);font-weight:400;text-shadow:0 0 3px #E4FFF9,0 0 18px rgba(0,255,209,.95),0 0 65px rgba(0,255,209,.65),0 0 120px rgba(0,255,209,.4);animation:arcade-neon-breathe 5s ease-in-out infinite}.arcade-hero-copy p{color:var(--arc-snow);font-size:18px;text-shadow:0 2px 15px #050314}.arcade-enter{display:inline-flex;align-items:center;gap:34px;min-height:58px;padding:0 24px;margin-top:24px;border-radius:40px;background:var(--arc-lime);color:#050314;text-decoration:none;font-weight:800;box-shadow:0 0 20px rgba(216,255,62,.48),0 0 70px rgba(216,255,62,.24);transition:transform .2s,box-shadow .2s}.arcade-enter:hover{transform:translateY(-2px);box-shadow:0 0 26px rgba(216,255,62,.75),0 0 90px rgba(216,255,62,.32)}.arcade-enter b{font-size:22px}.arcade-open-sign{position:absolute;right:5vw;top:22%;padding:16px 20px;color:var(--arc-coral);font:800 18px/1.2 var(--mono);letter-spacing:.12em;text-align:center;transform:rotate(3deg);text-shadow:0 0 8px #FF2D95,0 0 30px #FF2D95;box-shadow:inset 0 0 30px rgba(255,45,149,.12),0 0 35px rgba(255,45,149,.15)}.arcade-open-sign span{display:block;margin-top:8px;color:var(--arc-snow);font-size:9px;letter-spacing:.14em;text-shadow:none}
.arcade-mobile-intro{display:none}.arcade-games{position:relative;isolation:isolate;padding:110px 5vw 100px;background:radial-gradient(ellipse at 50% 5%,rgba(185,131,255,.2),transparent 42%),radial-gradient(circle at 5% 55%,rgba(0,255,209,.13),transparent 35%),#09061D}.arcade-games:after{content:"";position:absolute;z-index:-1;inset:48% 0 0;opacity:.3;background-color:#0A071D;background-image:radial-gradient(circle at 20% 20%,#FF2D95 0 2px,transparent 3px),radial-gradient(circle at 70% 60%,#00FFD1 0 2px,transparent 3px),radial-gradient(circle at 45% 85%,#FFC247 0 1px,transparent 2px);background-size:53px 47px,67px 59px,41px 43px;transform:perspective(500px) rotateX(12deg)}.arcade-interior-glow{position:absolute;z-index:-1;left:20%;right:20%;top:150px;height:420px;background:#00FFD1;opacity:.06;filter:blur(100px);animation:arcade-room-glow 7s ease-in-out infinite}.arcade-section-heading{position:relative;z-index:2;max-width:750px}.arcade-section-heading h2,.arcade-score-wall h2,.arcade-poster-wall h2{font:400 clamp(54px,6vw,94px)/.92 var(--serif);letter-spacing:-.045em;margin:15px 0}.arcade-section-heading h2 em,.arcade-score-wall h2 em,.arcade-poster-wall h2 em,.arcade-howto h2 em{color:var(--arc-coral);font-weight:400;text-shadow:0 0 30px rgba(255,45,149,.38)}.arcade-section-heading p{max-width:540px;color:var(--arc-mist);font-size:17px;line-height:1.6}.arcade-mobile-game-list{display:none}
.arcade-cabinet-scene{position:relative;height:760px;max-width:1320px;margin:24px auto 0;display:flex;align-items:flex-end;justify-content:center;gap:0;perspective:1200px}.arcade-machine{position:relative;flex:0 0 250px;height:520px;margin-left:-24px;background:linear-gradient(90deg,#0D0A25,#21174C 48%,#0D0A25);clip-path:polygon(7% 0,93% 0,100% 7%,96% 100%,4% 100%,0 7%);filter:drop-shadow(0 30px 30px rgba(0,0,0,.6));transform:rotateY(-5deg)}.arcade-machine:first-child{margin-left:0}.arcade-live-machine{z-index:5;flex-basis:390px;height:690px;margin:0 -6px 0 0;transform:translateY(0) rotateY(4deg);background:linear-gradient(90deg,#080617 0 12%,#2B1854 13% 87%,#080617 88%);filter:drop-shadow(0 0 24px rgba(0,255,209,.25)) drop-shadow(0 36px 30px rgba(0,0,0,.65))}.arcade-live-machine a{position:absolute;inset:0;color:var(--arc-snow);text-decoration:none}.arcade-side-art{position:absolute;left:3%;top:5%;bottom:3%;width:11%;overflow:hidden;opacity:.85}.arcade-side-art svg{width:100%;height:100%;object-fit:cover}.arcade-machine-marquee{position:absolute;left:15%;right:10%;top:4%;height:118px;padding:14px;background:linear-gradient(135deg,#25124D,#11102E);box-shadow:inset 0 0 0 2px rgba(255,194,71,.65),0 0 14px rgba(255,194,71,.3),inset 0 0 28px rgba(255,45,149,.18);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:perspective(500px) rotateX(-2deg)}.arcade-machine-marquee small{color:var(--arc-brass);font:700 8px/1 var(--sans);letter-spacing:.14em}.arcade-machine-marquee strong{margin-top:8px;color:var(--arc-snow);font:400 34px/.9 var(--serif);text-shadow:0 0 14px rgba(255,45,149,.65)}.arcade-machine-screen{position:absolute;left:16%;right:12%;top:23%;height:47%;padding:14px;background:#02030D;border-radius:9% 9% 5% 5%;box-shadow:inset 0 0 0 8px #090B1E,inset 0 0 0 10px #35BFFF,0 0 24px rgba(53,191,255,.2);overflow:hidden}.arcade-machine-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(201,197,242,.05) 3px 4px),linear-gradient(115deg,rgba(255,255,255,.12),transparent 24%)}.arcade-mini-road{position:relative;height:100%;overflow:hidden;background:linear-gradient(90deg,#15102D 0 20%,#101D26 20% 80%,#15102D 80%);display:grid;place-items:center;text-align:center}.arcade-mini-road:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:3px;background:repeating-linear-gradient(#00FFD1 0 18px,transparent 18px 35px);box-shadow:-60px 0 #FF2D95,60px 0 #B983FF;opacity:.7}.arcade-mini-road b{z-index:1;color:var(--arc-snow);font:700 18px/1.6 var(--mono);text-shadow:0 0 12px #00FFD1}.arcade-mini-road i{position:absolute;width:25px;height:40px;background:var(--arc-coral);box-shadow:0 0 15px var(--arc-coral)}.arcade-mini-road i:nth-child(1){left:28%;top:15%}.arcade-mini-road i:nth-child(2){right:25%;top:42%;background:var(--arc-brass)}.arcade-mini-road i:nth-child(3){left:43%;bottom:8%;background:var(--arc-teal)}.arcade-machine-deck{position:absolute;left:13%;right:9%;top:72%;height:17%;display:flex;align-items:center;justify-content:center;gap:18px;background:linear-gradient(#2B1854,#0D0924);clip-path:polygon(0 0,100% 0,93% 100%,7% 100%);color:var(--arc-mist);font:700 10px/1.4 var(--mono);letter-spacing:.08em}.arcade-machine-deck b{display:block;color:var(--arc-lime);font-size:16px;margin-top:5px;text-shadow:0 0 14px rgba(216,255,62,.6)}.arcade-coin{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--arc-brass);color:#050314;font:800 20px/1 var(--serif);box-shadow:inset 0 0 0 4px #C78319,inset 0 0 0 6px #FFE29B,0 0 22px rgba(255,194,71,.45)}.arcade-covered-machine .arcade-machine-marquee{height:82px;color:var(--arc-mist);font:700 13px/1 var(--mono);letter-spacing:.12em}.arcade-covered-machine .arcade-machine-screen{top:20%;height:43%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--arc-coral);font:800 18px/1.4 var(--mono);text-align:center}.arcade-covered-machine .arcade-machine-screen span{z-index:2;transform:rotate(-5deg);text-shadow:0 0 15px currentColor}.arcade-covered-machine .arcade-machine-screen i{position:absolute;bottom:20px;color:var(--arc-mist);font:400 8px/1 var(--mono);letter-spacing:.15em}.arcade-covered-machine .arcade-machine-deck{height:20%}.arcade-cover{position:absolute;inset:15% 3% 0;background:repeating-linear-gradient(102deg,rgba(12,9,33,.94) 0 22px,rgba(42,27,70,.92) 23px 45px);clip-path:polygon(4% 0,95% 2%,100% 96%,80% 92%,63% 100%,40% 94%,18% 100%,0 95%);opacity:.88}.arcade-covered-machine .arcade-machine-screen{z-index:2;background:transparent;box-shadow:none}.arcade-violet-machine{height:560px;transform:translateY(-14px) rotateY(-9deg);filter:drop-shadow(0 0 20px rgba(185,131,255,.16))}.arcade-coral-machine{height:490px;transform:translateY(18px) rotateY(4deg)}.arcade-teal-machine{height:540px;transform:translateY(-4px) rotateY(10deg)}
.arcade-score-wall{position:relative;padding:110px 7vw;display:flex;align-items:flex-end;justify-content:space-between;gap:60px;min-height:540px;background:radial-gradient(circle at 85% 50%,rgba(53,191,255,.18),transparent 30%),linear-gradient(120deg,#050314,#111039 60%,#09051C);overflow:hidden}.arcade-score-wall:after{content:"01";position:absolute;right:3vw;top:-100px;color:transparent;-webkit-text-stroke:2px rgba(53,191,255,.18);font:700 520px/1 var(--mono);pointer-events:none}.arcade-score-wall>div,.arcade-score-wall>p{position:relative;z-index:1}.arcade-score-wall h2 em{color:var(--arc-cyan);text-shadow:0 0 35px rgba(53,191,255,.5)}.arcade-score-wall p{max-width:390px;color:var(--arc-mist);font-size:17px;line-height:1.7}.arcade-score-wall p strong{display:block;color:var(--arc-cyan);font:700 13px/1 var(--mono);letter-spacing:.2em;margin-bottom:16px}.arcade-best-wall{position:relative;padding:90px 24px 110px;text-align:center;background:radial-gradient(circle at 50% 40%,rgba(255,194,71,.16),transparent 36%),#080515;overflow:hidden}.arcade-best-number{color:var(--arc-brass);font:400 clamp(150px,25vw,340px)/.8 var(--serif);letter-spacing:-.08em;text-shadow:0 0 20px rgba(255,194,71,.6),0 0 90px rgba(255,194,71,.3)}.arcade-best-wall h2{margin:28px auto 12px;font:400 clamp(36px,4vw,58px)/1 var(--serif)}.arcade-best-wall p{color:var(--arc-mist);font-size:16px}.arcade-best-wall>a{display:inline-flex;align-items:center;gap:24px;min-height:52px;margin-top:20px;color:var(--arc-lime);font-weight:700;text-underline-offset:6px}.arcade-best-wall>a span{font-size:25px}
.arcade-poster-wall{position:relative;min-height:850px;padding:110px 6vw;background:radial-gradient(circle at 25% 30%,rgba(255,45,149,.14),transparent 32%),linear-gradient(#100A28,#070416);overflow:hidden}.arcade-poster-wall-copy{position:relative;z-index:4;width:38%}.arcade-poster-wall-copy p{color:var(--arc-mist);line-height:1.6;max-width:350px}.arcade-poster-cluster{position:absolute;right:3vw;top:70px;width:58%;height:720px}.arcade-wall-poster{position:absolute;width:270px;aspect-ratio:2/3;padding:25px;display:flex;flex-direction:column;background:linear-gradient(145deg,#29154D,#0E0A24);box-shadow:0 25px 60px rgba(0,0,0,.55),inset 0 0 50px rgba(255,45,149,.1);overflow:hidden}.arcade-wall-poster>span{color:var(--arc-brass);font:700 9px/1 var(--mono);letter-spacing:.17em}.arcade-wall-poster strong{position:relative;z-index:2;margin-top:auto;color:var(--arc-snow);font:400 39px/.95 var(--serif)}.arcade-wall-poster small{position:relative;z-index:2;margin-top:18px;color:var(--arc-mist);font-size:11px;line-height:1.6;text-transform:uppercase;letter-spacing:.08em}.arcade-poster-orb{position:absolute;left:-20%;top:14%;width:140%;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 13px,rgba(0,255,209,.18) 14px 15px),radial-gradient(circle at 60% 40%,#FF2D95,transparent 60%);filter:blur(.2px)}.arcade-poster-one{left:0;top:95px;transform:rotate(-8deg)}.arcade-poster-two{left:34%;top:0;transform:rotate(4deg);background:linear-gradient(145deg,#123E43,#0A1723)}.arcade-poster-two .arcade-poster-orb{background:repeating-linear-gradient(45deg,transparent 0 16px,rgba(255,194,71,.25) 17px 19px),radial-gradient(circle,#00FFD1,transparent 62%)}.arcade-poster-three{right:0;top:160px;transform:rotate(9deg);background:linear-gradient(145deg,#442016,#160A24)}.arcade-poster-three .arcade-poster-orb{background:repeating-radial-gradient(circle,transparent 0 13px,rgba(255,194,71,.25) 14px 15px),radial-gradient(circle at 40% 50%,#B983FF,transparent 60%)}
.arcade-footer{position:relative;padding:32px max(22px,5vw);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#03020B;color:var(--arc-mist);font-size:12px}.arcade-footer a{color:var(--arc-snow);min-height:48px;display:inline-flex;align-items:center;text-underline-offset:4px}.arcade-footer .lk{display:flex;gap:20px}.arcade-tabs{display:none}
/* Game cabinet and physical controls */
.arcade-game-intro{position:relative;padding:140px 5vw 30px;background:radial-gradient(circle at 75% 10%,rgba(255,45,149,.18),transparent 32%),var(--arc-midnight)}.arcade-game-intro h1{margin:12px 0;font:400 clamp(58px,7vw,104px)/.88 var(--serif);letter-spacing:-.05em}.arcade-game-intro h1 em{color:var(--arc-coral);font-weight:400;text-shadow:0 0 30px rgba(255,45,149,.5)}.arcade-game-intro p{color:var(--arc-mist);font-size:17px}.arcade-game-stage{position:relative;display:flex;align-items:flex-start;justify-content:center;gap:60px;padding:30px 5vw 110px;background:radial-gradient(circle at 28% 40%,rgba(0,255,209,.12),transparent 33%),linear-gradient(#050314,#0C0822)}.arcade-cabinet{position:relative;width:min(620px,58vw);padding:16px 24px 24px;background:linear-gradient(90deg,#0B081D,#24164A 12%,#17103A 88%,#090619);clip-path:polygon(4% 0,96% 0,100% 3%,98% 100%,2% 100%,0 3%);filter:drop-shadow(0 28px 35px rgba(0,0,0,.55));isolation:isolate}.arcade-marquee{min-height:80px;padding:12px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(110deg,#17113B,#32174B,#17113B);box-shadow:inset 0 0 0 2px rgba(255,194,71,.55),0 0 22px rgba(255,194,71,.18)}.arcade-marquee span{color:var(--arc-brass);font-size:9px;letter-spacing:.18em;text-transform:uppercase}.arcade-marquee strong{margin-top:6px;color:var(--arc-snow);font:400 30px/1 var(--serif);text-shadow:0 0 18px rgba(255,45,149,.65)}.arcade-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:13px 4px;font-family:var(--mono);font-size:11px;color:var(--arc-mist);text-align:center}.arcade-hud b{display:block;color:var(--arc-snow);font-size:14px;margin-top:4px}.arcade-screen{position:relative;width:min(100%,400px);margin:0 auto;aspect-ratio:2/3;max-height:570px;background:#050D14;border-radius:22px;overflow:hidden;box-shadow:inset 0 0 0 8px #070A1B,0 0 0 2px var(--arc-cyan),0 0 30px rgba(53,191,255,.2)}.arcade-screen:after{content:"";position:absolute;inset:0;z-index:8;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(201,197,242,.025) 3px 4px),linear-gradient(115deg,rgba(255,255,255,.06),transparent 24%)}.arcade-attract{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:radial-gradient(circle at 50% 40%,rgba(0,255,209,.15),transparent 45%),#050D14}.arcade-attract h2{font:400 48px/1 var(--serif);margin:14px 0;color:var(--arc-snow)}.arcade-attract p{color:var(--arc-mist);max-width:330px}.arcade-attract small{margin-top:14px;color:var(--arc-mist)}.arcade-attract-label{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--arc-teal)}.arcade-token{min-width:150px;min-height:52px;border:2px solid #FFF0B0;border-radius:50%;padding:8px 22px;background:var(--arc-brass);color:#050314;font:800 15px/1.1 var(--sans);box-shadow:0 0 20px rgba(255,194,71,.4),inset 0 0 0 4px #B87918;cursor:pointer}.arcade-token:hover,.arcade-token:focus-visible{background:var(--arc-lime);border-color:var(--arc-lime);outline:3px solid var(--arc-snow);outline-offset:3px}.arcade-token:disabled{opacity:.65}.arcade-play-intro{display:block;margin:14px auto 4px;min-height:52px}.arcade-cabinet.is-active .arcade-play-intro,.arcade-cabinet.is-resting .arcade-play-intro{display:none}.arcade-pause-row{height:48px;display:flex;justify-content:center;align-items:center}.arcade-pause-button{min-width:100px;min-height:48px;border:1px solid var(--arc-violet);background:#0B0924;color:var(--arc-snow);border-radius:25px}.arcade-pause-button:disabled{opacity:.45}.arcade-controls{padding:0 8px 8px;touch-action:none;user-select:none;-webkit-user-select:none}.arcade-dpad{display:grid;grid-template-columns:repeat(3,54px);grid-template-rows:repeat(2,54px);gap:7px;justify-content:center}.arcade-key{min-width:48px;min-height:48px;border:1px solid var(--arc-teal);border-bottom-width:4px;border-radius:8px;background:#17113B;color:var(--arc-snow);font:700 22px/1 var(--mono);touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer;box-shadow:0 0 12px rgba(0,255,209,.12)}.arcade-key.key-up{grid-column:2;grid-row:1}.arcade-key.key-left{grid-column:1;grid-row:2}.arcade-key.key-down{grid-column:2;grid-row:2}.arcade-key.key-right{grid-column:3;grid-row:2}.arcade-key.is-lit,.arcade-key:active{transform:translateY(2px);border-bottom-width:2px;background:var(--arc-teal);color:#050314;box-shadow:0 0 20px rgba(0,255,209,.7)}.arcade-space{display:block;width:min(280px,100%);height:50px;margin:9px auto 0;font-size:15px;letter-spacing:.12em}leffew-road-game{display:block;position:absolute;inset:0;outline:none}leffew-road-game:focus-visible{outline:3px solid var(--arc-lime);outline-offset:-3px}.arcade-playfield{position:absolute;inset:0;touch-action:none;overflow:hidden}.arcade-canvas{display:block;width:100%;height:100%;touch-action:none}.arcade-billboard{position:absolute;top:8px;padding:3px;background:rgba(5,13,20,.9);border:1px solid var(--arc-teal);color:var(--arc-teal);font:7px/1.2 var(--mono);text-align:center;pointer-events:none}.billboard-left{left:1px}.billboard-right{right:1px;border-color:var(--arc-violet);color:var(--arc-violet)}.arcade-overlay{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(5,7,20,.94);text-align:center;overflow:auto}.arcade-panel{width:100%;max-width:380px}.arcade-panel h1,.arcade-panel h2{font:400 clamp(34px,7vw,52px)/1 var(--serif);margin:10px 0 16px}.arcade-panel p{color:var(--arc-mist);line-height:1.45}.arcade-panel .arcade-kicker{color:var(--arc-teal)!important;font-size:10px!important}.arcade-selected b{color:var(--arc-lime)}.arcade-scoreline{display:flex;justify-content:center;gap:28px;margin:22px 0;color:var(--arc-mist)}.arcade-scoreline b{display:block;font-size:30px;color:var(--arc-snow)}.arcade-cta{margin-top:22px;padding-top:18px;border-top:1px solid #3A5361}.arcade-cta p{color:var(--arc-snow)}.arcade-cta a{display:inline-block;min-height:48px;padding:13px;margin:5px;color:#050314;background:var(--arc-lime);text-decoration:none;font-weight:800;border-radius:25px}.arcade-cta .arcade-cta-contact{background:var(--arc-teal)}.arcade-restart{margin-bottom:8px}.arcade-local-board{width:320px;padding-top:80px}.arcade-local-score{font:400 150px/.8 var(--serif);color:var(--arc-brass);letter-spacing:-.08em;margin:28px 0;text-shadow:0 0 35px rgba(255,194,71,.4)}.arcade-local-board p{color:var(--arc-mist);line-height:1.6}.arcade-local-board>a{display:inline-block;min-height:48px;padding-top:12px;color:var(--arc-lime);font-weight:700;text-underline-offset:5px}.arcade-cabinet-note{margin-top:70px;color:var(--arc-violet);font:700 10px/1.8 var(--mono);letter-spacing:.16em}.arcade-howto{padding:110px 7vw;display:flex;gap:9vw;background:radial-gradient(circle at 10% 60%,rgba(185,131,255,.12),transparent 35%),#09061D}.arcade-howto-title{flex:0 0 36%}.arcade-howto h2{font:400 clamp(48px,5vw,76px)/.95 var(--serif);margin:15px 0 24px}.arcade-howto-title p{color:var(--arc-mist);line-height:1.65}.arcade-howto ol{list-style:none;padding:0;margin:0;flex:1}.arcade-howto li{display:flex;gap:28px;padding:25px 0;border-top:1px solid rgba(185,131,255,.22)}.arcade-howto li>b{color:var(--arc-coral);font:400 36px/1 var(--serif)}.arcade-howto h3{margin:0 0 8px;color:var(--arc-snow);font:400 29px/1 var(--serif)}.arcade-howto li p{margin:0;color:var(--arc-mist);line-height:1.6}.arcade-cabinet.is-active{position:fixed;inset:0;z-index:9000;width:min(780px,100%);height:100dvh;margin:auto;padding:6px 10px;clip-path:none;display:grid;grid-template-rows:auto auto minmax(0,1fr) 48px auto;background:#050314;filter:none;box-shadow:0 0 0 100vmax rgba(5,3,20,.96)}.arcade-cabinet.is-active .arcade-marquee{min-height:40px;padding:4px 10px}.arcade-cabinet.is-active .arcade-marquee strong{font-size:17px;margin:0}.arcade-cabinet.is-active .arcade-hud{padding:5px 4px}.arcade-cabinet.is-active .arcade-screen{aspect-ratio:auto;height:100%;max-height:none;width:min(100%,450px);margin:auto;border-radius:12px}.arcade-cabinet.is-active .arcade-controls{padding-bottom:max(5px,env(safe-area-inset-bottom))}.arcade-cabinet.is-active .arcade-dpad{grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,50px);gap:5px}.arcade-cabinet.is-active .arcade-space{height:48px;margin-top:6px}.arcade-cabinet.is-active .arcade-overlay{padding:12px}.arcade-cabinet.is-active .arcade-panel h1,.arcade-cabinet.is-active .arcade-panel h2{font-size:34px;margin:6px 0 10px}.arcade-cabinet.is-active .arcade-panel p{font-size:13px;margin:7px 0}.arcade-cabinet.is-active .arcade-scoreline{margin:10px 0}.arcade-cabinet.is-active .arcade-cta{margin-top:10px;padding-top:8px}.arcade-cabinet.is-resting{height:calc(100dvh - 100px);min-height:560px;display:grid;grid-template-rows:auto auto minmax(0,1fr) 48px auto;scroll-margin-top:90px}.arcade-cabinet.is-resting .arcade-screen{aspect-ratio:auto;height:100%;max-height:none;width:min(100%,450px)}.arcade-cabinet.is-resting .arcade-marquee{min-height:44px;padding:5px 10px}.arcade-cabinet.is-resting .arcade-hud{padding:5px 4px}.arcade-cabinet.is-resting .arcade-overlay{padding:12px}.arcade-cabinet.is-resting .arcade-panel h1,.arcade-cabinet.is-resting .arcade-panel h2{font-size:34px;margin:6px 0 10px}.arcade-cabinet.is-resting .arcade-panel p{font-size:13px;margin:7px 0}.arcade-cabinet.is-resting .arcade-cta{margin-top:10px;padding-top:8px}.arcade-cabinet.is-game-over{grid-template-rows:auto auto minmax(0,1fr)}.arcade-cabinet.is-game-over .arcade-controls,.arcade-cabinet.is-game-over .arcade-pause-row{display:none}.arcade-shell-pause{background:rgba(5,7,20,.97)}
@keyframes arcade-neon-breathe{0%,100%{opacity:1}48%{opacity:.94}50%{opacity:.82}52%{opacity:.96}}@keyframes arcade-room-glow{0%,100%{opacity:.05;transform:scale(1)}50%{opacity:.11;transform:scale(1.15)}}
@media(max-width:1000px){.arcade-top-actions{gap:12px}.arcade-call span{display:none}.arcade-cabinet-scene{transform:scale(.82);transform-origin:center top;margin-bottom:-120px}.arcade-poster-wall-copy{width:34%}.arcade-poster-cluster{width:65%;right:-4vw;transform:scale(.85);transform-origin:right top}.arcade-game-stage{gap:25px}.arcade-local-board{width:260px}.arcade-local-score{font-size:120px}}
@media(max-width:760px){html{scroll-padding-top:72px}body[data-page="arcade"],body[data-page="arcade-game"]{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.arcade-topbar{height:64px;padding:0 16px;background:linear-gradient(180deg,rgba(5,3,20,.98),rgba(5,3,20,.86))}.arcade-portal-brand{font-size:16px;gap:8px}.arcade-lf{width:32px;height:32px;font-size:11px}.arcade-main-site{display:none}.arcade-top-actions{gap:7px}.arcade-call{min-width:48px;justify-content:center;color:var(--arc-lime);font-size:12px}.arcade-motion{min-width:48px;padding:0 10px;font-size:0}.arcade-motion:before{content:"MOTION";font-size:9px;color:var(--arc-mist)}.arcade-motion b{font-size:10px;margin-left:4px}.arcade-portal-hero{display:none}.arcade-mobile-intro{display:block;position:relative;padding:82px 20px 14px;background:var(--arc-midnight)}.arcade-slim-scene{position:relative;height:108px;margin:0 -20px 18px;overflow:hidden}.arcade-slim-scene .arcade-street-art{width:100%;height:100%;opacity:.9}.arcade-slim-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,var(--arc-midnight),transparent 60%)}.arcade-mobile-intro h2{margin:8px 0 6px;font:400 42px/.9 var(--serif);letter-spacing:-.035em}.arcade-mobile-intro h2 em{display:block;color:var(--arc-teal);font-weight:400;text-shadow:0 0 18px rgba(0,255,209,.65)}.arcade-mobile-intro p{margin:10px 0 0;color:var(--arc-mist);font-size:14px}.arcade-games{padding:24px 20px 70px;background:radial-gradient(circle at 90% 5%,rgba(185,131,255,.17),transparent 25%),#09061D}.arcade-games:after{display:none}.arcade-section-heading{margin-bottom:20px}.arcade-section-heading h2{font-size:36px;margin:8px 0}.arcade-section-heading p{display:none}.arcade-section-heading .arcade-kicker{font-size:9px}.arcade-mobile-game-list{display:flex;flex-direction:column;gap:22px}.arcade-game-tile{display:block;color:var(--arc-snow);text-decoration:none}.arcade-tile-art{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:16px;box-shadow:0 16px 35px rgba(0,0,0,.35),0 0 28px rgba(0,255,209,.1)}.arcade-tile-art svg{width:100%;height:100%}.arcade-live-label,.arcade-soon-label{position:absolute;left:14px;top:14px;padding:7px 9px;background:#050314;color:var(--arc-teal);font:800 9px/1 var(--mono);letter-spacing:.12em;box-shadow:0 0 15px rgba(0,255,209,.28)}.arcade-soon-label{color:var(--arc-violet)}.arcade-tile-info{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 0}.arcade-tile-info strong{display:block;font:400 25px/1 var(--serif)}.arcade-tile-info small{display:block;margin-top:6px;color:var(--arc-mist);font-size:12px;line-height:1.35}.arcade-tile-info>b{flex:none;color:var(--arc-mist);font-size:11px}.arcade-tile-info .arcade-tile-play{display:flex;align-items:center;justify-content:center;gap:10px;min-width:82px;min-height:50px;padding:0 15px;border-radius:30px;background:var(--arc-lime);color:#050314;font-size:15px;box-shadow:0 0 22px rgba(216,255,62,.3)}.arcade-tile-play i{font-style:normal;font-size:20px}.arcade-soon-tile{opacity:.75}.arcade-soon-tile .arcade-tile-art{filter:saturate(.35)}.arcade-cabinet-scene{display:none}.arcade-score-wall{min-height:430px;padding:64px 22px;display:block;background:radial-gradient(circle at 90% 70%,rgba(53,191,255,.2),transparent 42%),#08051C}.arcade-score-wall h2{font-size:52px}.arcade-score-wall p{margin-top:35px;font-size:14px}.arcade-score-wall:after{font-size:300px;top:0;right:-40px}.arcade-best-wall{padding:64px 22px 72px}.arcade-best-number{font-size:170px}.arcade-best-wall h2{font-size:37px}.arcade-best-wall p{font-size:14px;line-height:1.55}.arcade-poster-wall{min-height:auto;padding:70px 22px 90px}.arcade-poster-wall-copy{width:100%}.arcade-poster-wall h2{font-size:54px}.arcade-poster-cluster{position:relative;right:auto;top:auto;width:100%;height:580px;margin-top:35px;transform:none}.arcade-wall-poster{width:190px;padding:17px}.arcade-wall-poster strong{font-size:28px}.arcade-wall-poster small{font-size:8px}.arcade-poster-one{left:0;top:70px}.arcade-poster-two{left:auto;right:0;top:0}.arcade-poster-three{right:16%;top:290px}.arcade-tabs{position:fixed;z-index:110;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:4px 6px max(5px,env(safe-area-inset-bottom));background:rgba(5,3,20,.97);box-shadow:0 -12px 35px rgba(0,0,0,.4);backdrop-filter:blur(16px)}.arcade-tabs a{position:relative;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--arc-mist);text-decoration:none;font-size:10px}.arcade-tabs a[aria-current="page"]{color:var(--arc-teal);text-shadow:0 0 14px rgba(0,255,209,.45)}.arcade-tabs a[aria-current="page"]:before{content:"";position:absolute;top:-4px;width:32px;height:3px;background:var(--arc-teal);box-shadow:0 0 14px var(--arc-teal)}.arcade-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.arcade-tabs a:first-child svg path{fill:currentColor;stroke:none}.arcade-footer{padding:28px 20px;flex-wrap:wrap;justify-content:flex-start;gap:4px 18px;font-size:11px}.arcade-footer>span:first-child{flex-basis:100%}.arcade-footer>a{margin-left:auto}.arcade-game-intro{padding:92px 20px 20px}.arcade-game-intro h1{font-size:52px}.arcade-game-intro p{font-size:14px}.arcade-game-stage{display:block;padding:10px 14px 60px}.arcade-cabinet{width:100%;padding:12px 12px 18px}.arcade-marquee{min-height:64px}.arcade-marquee strong{font-size:25px}.arcade-hud{font-size:9px}.arcade-hud b{font-size:11px}.arcade-screen{max-height:none}.arcade-local-board{width:auto;padding:45px 10px 0}.arcade-local-score{font-size:110px;margin:22px 0}.arcade-cabinet-note{margin-top:35px}.arcade-howto{padding:70px 22px;display:block}.arcade-howto-title{margin-bottom:35px}.arcade-howto h2{font-size:52px}.arcade-howto li{gap:18px}.arcade-howto li>b{font-size:29px}.arcade-howto h3{font-size:25px}.arcade-howto li p{font-size:14px}.arcade-cabinet.is-active .arcade-marquee span{display:none}.arcade-cabinet.is-resting{height:calc(100dvh - 74px);min-height:480px}.arcade-cabinet.is-active .arcade-panel p,.arcade-cabinet.is-resting .arcade-panel p{font-size:14px}.arcade-cabinet.is-active .arcade-hud,.arcade-cabinet.is-resting .arcade-hud{font-size:10px}.arcade-cabinet.is-active .arcade-hud b,.arcade-cabinet.is-resting .arcade-hud b{font-size:12px}}
@media(max-width:380px){.arcade-portal-brand{font-size:14px}.arcade-lf{width:29px;height:29px}.arcade-call{display:none}.arcade-mobile-intro{padding-top:76px}.arcade-slim-scene{height:92px}.arcade-mobile-intro h2{font-size:38px}.arcade-tile-info strong{font-size:22px}.arcade-tile-info small{font-size:11px}.arcade-tile-info .arcade-tile-play{min-width:72px;padding:0 12px}.arcade-poster-cluster{height:530px}.arcade-wall-poster{width:170px}.arcade-cabinet.is-active .arcade-hud{font-size:8px}.arcade-cabinet.is-active .arcade-hud b{font-size:10px}.arcade-cabinet.is-active .arcade-dpad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px)}.arcade-cabinet.is-active .arcade-space{height:48px}.arcade-cabinet.is-active .arcade-cta a{padding:10px;min-height:44px}.arcade-cabinet.is-active .arcade-panel p{font-size:12px}}
html[data-motion="off"] body[data-page="arcade"] *,html[data-motion="off"] body[data-page="arcade-game"] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
/* Visual review fixes: solid portal chrome, first-fold Play, and full active-game clearance. */
body[data-page="arcade"] .mswitch,body[data-page="arcade-game"] .mswitch{display:none!important}
.arcade-topbar{background:#050314;border-bottom:1px solid rgba(185,131,255,.12)}
html.arcade-game-active .arcade-topbar,html.arcade-game-active .arcade-tabs{display:none}
body:has(.arcade-cabinet.is-resting) .arcade-game-intro{display:none}
body:has(.arcade-cabinet.is-resting) .arcade-game-stage{padding-top:100px}
.arcade-cabinet-scene{scroll-margin-top:86px}
.arcade-covered-machine:before{content:"";position:absolute;z-index:3;left:24%;right:24%;bottom:5%;height:54px;background:#080615;box-shadow:inset 0 0 0 2px #3D2B63,0 0 20px rgba(185,131,255,.12)}
.arcade-covered-machine:after{content:"LF";position:absolute;z-index:4;left:50%;bottom:7%;transform:translateX(-50%);color:var(--arc-brass);font:700 11px/1 var(--mono);letter-spacing:.12em}
@media(max-width:760px){
 .arcade-mobile-intro{padding-top:72px;padding-bottom:12px}.arcade-slim-scene{height:72px;margin-bottom:12px}.arcade-mobile-intro h2{font-size:34px;line-height:1}.arcade-mobile-intro h2 em{display:inline;margin-left:5px}.arcade-mobile-intro p{display:none}
 .arcade-games{padding-top:20px}.arcade-section-heading{margin-bottom:14px}.arcade-section-heading h2{display:none}.arcade-section-heading .arcade-kicker{font-size:10px}
 .arcade-tile-info small{font-size:13px}.arcade-tabs a{font-size:11px}.arcade-soon-tile .arcade-tile-art svg{filter:grayscale(.65) brightness(.55);transform:scale(1.18)}.arcade-soon-tile:nth-child(3) .arcade-tile-art svg{filter:hue-rotate(65deg) brightness(.48);transform:scale(1.38) translateX(7%)}
 body:has(.arcade-cabinet.is-resting) .arcade-game-stage{padding:100px 14px 24px}.arcade-cabinet.is-resting{scroll-margin-top:74px;height:calc(100dvh - 168px);min-height:0}.arcade-cabinet.is-game-over .arcade-marquee{min-height:36px}.arcade-cabinet.is-game-over .arcade-hud{padding:3px}.arcade-cabinet.is-game-over .arcade-panel h2{font-size:30px}.arcade-cabinet.is-game-over .arcade-panel p{font-size:12px}.arcade-cabinet.is-game-over .arcade-cta a{min-height:44px;padding:11px}
 .arcade-cabinet.is-active .arcade-hud,.arcade-cabinet.is-resting .arcade-hud{font-size:10px}.arcade-cabinet.is-active .arcade-hud b,.arcade-cabinet.is-resting .arcade-hud b{font-size:12px}
}
@media(max-width:380px){.arcade-mobile-intro h2{font-size:31px}.arcade-tile-info small{font-size:12px}.arcade-cabinet.is-active .arcade-hud{font-size:10px}.arcade-cabinet.is-active .arcade-hud b{font-size:12px}}
.arcade-live-machine{scroll-margin-top:110px}
@media(min-width:761px){.arcade-cabinet-scene{margin-top:80px}}
@media(max-width:760px){.arcade-cabinet.is-resting{scroll-margin-top:100px;height:calc(100dvh - 194px)}.arcade-cabinet.is-game-over{grid-template-rows:auto minmax(0,1fr)}.arcade-cabinet.is-game-over .arcade-hud{display:none}}
/* Phase 2e approved art. Phase 3 adds the separately approved SVG logo. */
.arcade-storefront-canvas{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:max(100%,56.25vw);aspect-ratio:16/9}.arcade-street-art{position:absolute;inset:0;width:100%;height:100%;z-index:0}.arcade-street-art img,.arcade-mobile-header-art img,.arcade-interior-art img,.arcade-tile-picture img,.arcade-side-picture img,.arcade-marquee-art img,.arcade-poster-art img,.arcade-cover img,.arcade-cabinet-side-art img{display:block;width:100%;height:100%;object-fit:cover}.arcade-hero-shade{z-index:1}.arcade-venue-sign{position:absolute;z-index:2;left:46%;top:9%;width:52%;height:24%;overflow:visible}.arcade-hero-copy{z-index:3;left:calc((100% - 100vw)/2 + 6vw);top:17%;width:25%;max-width:none;transform:none}.arcade-hero-copy h1{font-size:clamp(64px,6.4vw,104px)}.arcade-hero-copy h1 span{font-size:.48em}.arcade-logo-drop{position:absolute;z-index:2;left:3%;top:5%;width:20%;height:9%;pointer-events:none}
.arcade-mobile-header-art{position:absolute;inset:0;width:100%;height:100%}.arcade-slim-scene:after{z-index:1;pointer-events:none}
.arcade-interior-art{position:absolute;z-index:-3;inset:0;width:100%;height:100%}.arcade-interior-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,3,20,.68),rgba(5,3,20,.18) 48%,rgba(5,3,20,.32)),linear-gradient(0deg,#09061D 0%,transparent 36%,rgba(5,3,20,.28) 100%)}.arcade-games:after{display:none}.arcade-section-heading{text-shadow:0 2px 20px #050314}.arcade-section-heading p{max-width:480px;padding:10px 14px;margin-left:-14px;background:rgba(5,3,20,.66)}
.arcade-tile-picture{position:absolute;inset:0;width:100%;height:100%}.arcade-tile-art{isolation:isolate}.arcade-tile-art .arcade-live-label,.arcade-tile-art .arcade-soon-label{z-index:2;text-shadow:0 2px 8px #050314}.arcade-soon-tile:nth-child(2) .arcade-tile-picture img{filter:saturate(.72) brightness(.64);transform:scale(1.06)}.arcade-soon-tile:nth-child(3) .arcade-tile-picture img{filter:hue-rotate(38deg) saturate(.62) brightness(.5);transform:scale(1.22) translateX(-5%)}
.arcade-side-picture{width:100%;height:100%}.arcade-side-art .arcade-side-picture img{object-position:center}.arcade-machine-marquee{isolation:isolate;padding:0;overflow:hidden}.arcade-marquee-art{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.arcade-marquee-title{position:relative;z-index:1;display:block;width:100%;height:100%;filter:drop-shadow(0 0 8px rgba(255,45,149,.65))}.arcade-live-machine .arcade-machine-marquee .arcade-marquee-title{padding:8px 20px}.arcade-covered-machine .arcade-cover{position:absolute;z-index:0;inset:0;width:100%;height:100%;opacity:.58;pointer-events:none}.arcade-covered-machine .arcade-cover img{object-position:center;filter:saturate(.76) brightness(.72)}.arcade-covered-machine .arcade-machine-marquee,.arcade-covered-machine .arcade-machine-screen,.arcade-covered-machine .arcade-machine-deck{z-index:1}.arcade-violet-machine .arcade-cover img{object-position:46% center}.arcade-coral-machine .arcade-cover img{object-position:54% center;filter:hue-rotate(28deg) saturate(.7) brightness(.58)}.arcade-teal-machine .arcade-cover img{object-position:center;filter:saturate(.55) brightness(.55)}
.arcade-wall-poster{padding:0;isolation:isolate}.arcade-poster-art{position:absolute;inset:0;width:100%;height:100%;z-index:0}.arcade-wall-poster strong{position:absolute;z-index:2;left:6%;right:6%;top:5.5%;margin:0;font-size:29px;line-height:.96;text-shadow:0 2px 10px #050314}.arcade-wall-poster small{position:absolute;z-index:2;left:6%;right:29%;bottom:3%;margin:0;font-size:10px;line-height:1.45;text-shadow:0 2px 8px #050314}.arcade-poster-two strong{top:4.5%}.arcade-poster-three strong{top:4%}.arcade-poster-logo-zone{position:absolute;z-index:2;right:8%;bottom:4%;width:20%;height:6%;pointer-events:none}
.arcade-cabinet-side-art{position:absolute;z-index:0;left:0;top:0;bottom:0;width:9%;opacity:.82;pointer-events:none}.arcade-cabinet-side-art img{object-position:center}.arcade-cabinet .arcade-marquee{position:relative;z-index:1;min-height:92px}.arcade-cabinet .arcade-marquee-title{padding:7px 32px}
@media(max-width:1000px){.arcade-hero-copy h1{font-size:64px}.arcade-wall-poster strong{font-size:24px}.arcade-wall-poster small{font-size:9px}}
@media(max-width:760px){.arcade-interior-art{display:none}.arcade-mobile-intro .arcade-mobile-header-art img{object-position:center}.arcade-wall-poster strong{font-size:23px}.arcade-wall-poster small{font-size:8px}.arcade-cabinet-side-art{display:none}.arcade-cabinet .arcade-marquee{min-height:64px}.arcade-cabinet .arcade-marquee-title{padding:3px 20px}.arcade-cabinet.is-game-over .arcade-marquee .arcade-marquee-title{padding:0 16px}.arcade-section-heading p{padding:0;margin-left:0;background:none}}
@media(max-width:380px){.arcade-wall-poster strong{font-size:20px}.arcade-wall-poster small{font-size:7px}.arcade-cabinet.is-game-over .arcade-panel{padding:8px 12px}.arcade-cabinet.is-game-over .arcade-panel .arcade-kicker{margin:0 0 3px}.arcade-cabinet.is-game-over .arcade-panel h2{margin:0 0 4px}.arcade-cabinet.is-game-over .arcade-scoreline{margin:4px 0 7px}.arcade-cabinet.is-game-over .arcade-cta{margin-top:7px;padding-top:7px}.arcade-cabinet.is-game-over .arcade-cta p{margin:0 0 5px}.arcade-cabinet.is-game-over .arcade-cta a{padding:8px;min-height:42px}}

.arcade-mobile-break{display:none}
.arcade-soon-label{color:var(--arc-mist)}

@font-face{font-family:"Lightbox Neon";src:url("/assets/arcade/fonts/lightbox-neon.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0020-007E}
@font-face{font-family:"Lightbox Pixel";src:url("/assets/arcade/fonts/lightbox-pixel.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0020-007E}

/* Approved logo with a near-white core and layered brand-colored light. */
.arcade-logo-drop{display:flex;align-items:flex-start;filter:drop-shadow(0 0 3px rgba(255,248,231,.95)) drop-shadow(0 0 12px rgba(0,255,209,.8)) drop-shadow(0 0 35px rgba(0,255,209,.42));animation:arcade-logo-flicker 11s 3s infinite}
.arcade-logo-drop:after{content:"";position:absolute;z-index:-1;left:-25%;top:-90%;width:150%;height:260%;background:radial-gradient(ellipse,rgba(0,255,209,.17),transparent 67%);pointer-events:none}
.arcade-storefront-logo{display:block;width:100%;height:auto}
.arcade-poster-logo-zone{display:block;height:auto;right:5%;bottom:3.2%;width:31%;filter:drop-shadow(0 0 4px rgba(0,255,209,.5))}
.arcade-poster-logo{display:block;width:100%;height:auto}
.arcade-lf img{display:block;width:27px;height:auto;filter:brightness(.35) sepia(1) saturate(4) hue-rotate(345deg)}
.arcade-coin{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 32% 24%,#FFF0A8 0 6%,#FFC247 23%,#A96620 58%,#4D2B13 82%);box-shadow:inset 0 0 0 2px #FFE5A0,inset 0 0 0 5px #9B631F,0 0 15px rgba(255,194,71,.4)}
.arcade-coin-logo{width:21px;height:auto;filter:brightness(.3) sepia(1) saturate(5) hue-rotate(350deg)}

/* Embossed Leffew token. The approved SVG is only scaled and color-treated by CSS. */
.arcade-token{display:inline-flex;align-items:center;justify-content:center;gap:11px;isolation:isolate;font-family:"Lightbox Pixel",monospace;letter-spacing:.04em}
.arcade-token-disc{position:relative;flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(from 24deg,#6B3D15,#FFE8A0 12%,#B87424 24%,#FFF1B8 37%,#8E501B 54%,#FFC247 68%,#734013 83%,#FFE6A0);box-shadow:0 0 8px rgba(255,194,71,.72),0 0 24px rgba(255,194,71,.34),inset 0 0 0 2px rgba(255,248,216,.72),inset 0 0 0 5px rgba(88,45,10,.58)}
.arcade-token-rim{position:absolute;inset:6px;border-radius:50%;background:radial-gradient(circle at 34% 25%,#FFEAA6,#E1A63D 38%,#A76522 73%,#6E3C14);box-shadow:inset 1px 1px 1px #FFF0B8,inset -2px -2px 3px rgba(71,35,8,.72),0 0 0 1px rgba(83,43,10,.7)}
.arcade-token-rim:after{content:"";position:absolute;inset:2px;border-radius:50%;background:linear-gradient(112deg,transparent 20%,rgba(255,255,255,.48) 34%,transparent 43%);mix-blend-mode:screen}
.arcade-token-face{position:relative;z-index:1;width:31px;display:grid;place-items:center;transform:translateY(1px)}
.arcade-token-logo{display:block;width:100%;height:auto;filter:brightness(.27) sepia(1) saturate(5) hue-rotate(350deg) drop-shadow(0 1px 0 rgba(255,239,169,.55))}
.arcade-token-small{flex-basis:34px;width:34px;height:34px}
.arcade-token-small .arcade-token-rim{inset:4px}
.arcade-token-small .arcade-token-face{width:23px}
.arcade-token-label{position:relative;line-height:1.25}
.arcade-play-intro .arcade-token-disc{flex-basis:42px;width:42px;height:42px}
.arcade-token.is-loading .arcade-token-disc{animation:arcade-token-load .8s cubic-bezier(.4,0,.2,1) infinite}
.arcade-token:disabled{opacity:.86}

/* Finished cabinet and control iconography. */
.arcade-icon{width:18px;height:18px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.arcade-icon-motion{fill:none;stroke-width:1.7}
.arcade-motion{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.arcade-motion:before{content:none}
.arcade-pause-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.arcade-key-icon{display:block;width:27px;height:27px;margin:auto;fill:currentColor;filter:drop-shadow(0 0 5px rgba(53,191,255,.4))}
.arcade-key-shine{fill:none;stroke:rgba(255,255,255,.58);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.arcade-space{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:"Lightbox Pixel",monospace;letter-spacing:.12em}
.arcade-space-icon{width:26px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.arcade-key{position:relative;background:linear-gradient(145deg,#25324B 0%,#10152C 42%,#080A18 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.23),inset 0 -4px 0 rgba(0,0,0,.45),0 4px 0 #03040C,0 0 15px rgba(53,191,255,.15);transition:transform .07s,box-shadow .07s,color .07s}
.arcade-key.is-lit,.arcade-key:active{color:#FFF8E7;transform:translateY(3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 -1px 0 rgba(0,0,0,.3),0 1px 0 #03040C,0 0 22px rgba(0,255,209,.65);text-shadow:0 0 9px #00FFD1}
.arcade-tabs svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(0,255,209,.25))}
.arcade-page button:focus-visible,.arcade-page a:focus-visible,leffew-road-game:focus-visible{outline:3px solid var(--arc-lime);outline-offset:4px}

/* Scores and physical labels use the subset arcade face. Reading copy stays in Geist. */
.arcade-hud,.arcade-local-score,.arcade-best-number,.arcade-scoreline,.arcade-cabinet-note,.arcade-machine-deck,.arcade-machine-screen span,.arcade-live-label,.arcade-soon-label,.arcade-tile-play{font-family:"Lightbox Pixel",monospace}
.arcade-hud b{font-weight:400}
.arcade-cabinet-coin{position:absolute;z-index:2;right:27px;bottom:24px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 25%,#FFEAA6,#C7882D 48%,#6B3D15 80%);box-shadow:inset 0 0 0 2px #F8D378,inset 0 0 0 4px #87531B,0 0 12px rgba(255,194,71,.28);pointer-events:none}
.arcade-cabinet-coin-logo{width:17px;height:auto;filter:brightness(.3) sepia(1) saturate(5) hue-rotate(350deg)}

/* Letter-by-letter power on, followed by an occasional restrained tube flicker. */
.arcade-sign-letter{opacity:1;animation:arcade-power-letter .18s both;animation-delay:calc(220ms + var(--i) * 72ms)}
.arcade-venue-sign,.arcade-marquee-title{font-family:"Lightbox Neon",cursive}
.arcade-venue-sign{animation:arcade-sign-flicker 10s 2.8s infinite;filter:drop-shadow(0 0 14px rgba(0,255,209,.22))}
.arcade-sign-script{paint-order:stroke fill}
.arcade-marquee-title{filter:drop-shadow(0 0 3px rgba(255,248,231,.7)) drop-shadow(0 0 10px rgba(255,45,149,.65))}

/* Desktop rain, depth, wet light and gently moving puddle distortion. */
.arcade-rain,.arcade-puddle-glow{display:none}
@media(min-width:761px){
 .arcade-rain{display:block;position:absolute;z-index:1;inset:-15%;pointer-events:none;opacity:.17;background-image:repeating-linear-gradient(105deg,transparent 0 24px,rgba(201,225,255,.5) 25px,transparent 26px 52px),repeating-linear-gradient(105deg,transparent 0 61px,rgba(0,255,209,.24) 62px,transparent 63px 117px);background-size:83px 83px,137px 137px;animation:arcade-rain-fall .85s linear infinite;transform:translateZ(0)}
 .arcade-storefront-canvas .arcade-street-art{animation:arcade-depth-drift 15s ease-in-out infinite alternate;transform-origin:50% 55%}
 .arcade-puddle-glow{display:block;position:absolute;z-index:1;left:28%;right:0;bottom:0;height:29%;pointer-events:none;opacity:.32;background:repeating-radial-gradient(ellipse at 66% 100%,transparent 0 13px,rgba(0,255,209,.14) 14px,rgba(255,45,149,.08) 16px,transparent 19px 29px);filter:blur(.6px);mask-image:linear-gradient(transparent,#000);animation:arcade-puddle-wave 5s ease-in-out infinite alternate}
}

/* CRT glass, curvature, fine scanlines and edge vignette. Text overlays stay above the glass. */
.arcade-screen{border-radius:7%/4%;box-shadow:inset 0 0 0 8px #070A1B,inset 0 0 28px rgba(0,0,0,.7),0 0 0 2px var(--arc-cyan),0 0 30px rgba(53,191,255,.24)}
.arcade-screen:before{content:"";position:absolute;z-index:3;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,transparent 55%,rgba(0,0,0,.18) 75%,rgba(0,0,0,.58) 110%),linear-gradient(116deg,rgba(255,255,255,.075),transparent 26% 76%,rgba(255,255,255,.025));box-shadow:inset 0 0 20px rgba(0,0,0,.34)}
.arcade-screen:after{content:"";position:absolute;z-index:4;inset:0;border-radius:inherit;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(2,7,12,.12) 0 1px,transparent 1px 3px),linear-gradient(110deg,rgba(255,255,255,.035),transparent 32%);mix-blend-mode:multiply}
.arcade-playfield{border-radius:inherit}
.arcade-overlay{z-index:10}
.arcade-panel{text-shadow:0 2px 12px #050314}

/* Vintage print grain, halftone and slight registration error, kept off reading text. */
.arcade-print-texture{position:absolute;z-index:3;inset:0;pointer-events:none;opacity:.2;background-image:radial-gradient(circle,rgba(255,248,231,.45) 0 .6px,transparent .8px),repeating-linear-gradient(93deg,transparent 0 7px,rgba(5,3,20,.12) 8px,transparent 9px 17px);background-size:5px 5px,19px 23px;mix-blend-mode:soft-light}
.arcade-wall-poster strong{text-shadow:1px 0 rgba(255,45,149,.4),-1px 0 rgba(0,255,209,.3),0 2px 10px #050314}
.arcade-wall-poster:after{content:"";position:absolute;z-index:3;inset:0;pointer-events:none;background:radial-gradient(ellipse at 15% 90%,rgba(5,3,20,.17),transparent 38%),radial-gradient(ellipse at 90% 5%,rgba(255,248,231,.06),transparent 28%)}
.arcade-cabinet{background-image:linear-gradient(100deg,rgba(255,255,255,.06) 0 1%,transparent 2% 44%,rgba(255,255,255,.08) 45%,transparent 47%),repeating-linear-gradient(88deg,transparent 0 29px,rgba(255,255,255,.014) 30px,transparent 31px 67px),linear-gradient(90deg,#0B081D,#24164A 12%,#17103A 88%,#090619)}
.arcade-marquee{border-top:1px solid rgba(255,248,231,.56);border-bottom:2px solid rgba(63,31,12,.7)}

@keyframes arcade-power-letter{0%{opacity:.18}55%{opacity:.68}100%{opacity:1}}
@keyframes arcade-sign-flicker{0%,91%,93%,95%,100%{opacity:1}92%{opacity:.94}94%{opacity:.97}96%{opacity:.98}}
@keyframes arcade-logo-flicker{0%,89%,91%,93%,100%{opacity:1}90%{opacity:.95}92%{opacity:.98}}
@keyframes arcade-token-load{0%{transform:rotateY(0) translateY(0)}45%{transform:rotateY(180deg) translateY(-4px)}100%{transform:rotateY(360deg) translateY(0)}}
@keyframes arcade-rain-fall{from{background-position:0 -83px,0 -137px}to{background-position:-18px 83px,-28px 137px}}
@keyframes arcade-depth-drift{from{transform:translate3d(0,0,0) scale(1.005)}to{transform:translate3d(0,-5px,0) scale(1.012)}}
@keyframes arcade-puddle-wave{from{transform:skewX(-1deg) scaleX(.99);background-position:0 0}to{transform:skewX(1.2deg) scaleX(1.015);background-position:12px 3px}}

/* Motion Off removes every phase 3 animated or optical treatment, not just animation. */
html[data-motion="off"] .arcade-rain,html[data-motion="off"] .arcade-puddle-glow,html[data-motion="off"] .arcade-print-texture,html[data-motion="off"] .arcade-screen:before,html[data-motion="off"] .arcade-screen:after{display:none!important}
html[data-motion="off"] .arcade-logo-drop,html[data-motion="off"] .arcade-venue-sign,html[data-motion="off"] .arcade-storefront-canvas .arcade-street-art{animation:none!important;filter:none}
html[data-motion="off"] .arcade-sign-letter{animation:none!important;opacity:1}
html[data-motion="off"] .arcade-screen{border-radius:8px}
html[data-motion="off"] .arcade-wall-poster strong{text-shadow:0 2px 10px #050314}
html[data-motion="off"] .arcade-marquee-title{filter:none}
html[data-motion="off"] .arcade-token-disc{animation:none!important}

@media(max-width:760px){
 .arcade-motion>span{display:inline;font-size:9px}
 .arcade-motion .arcade-icon{width:14px;height:14px}
 .arcade-motion{gap:4px}
 .arcade-mobile-break{display:block}
 body[data-page="arcade"],body[data-page="arcade-game"]{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
 .arcade-logo-drop{left:3%;top:5%;width:28%;height:auto}
 .arcade-poster-logo-zone{width:34%}
 .arcade-token{gap:7px}
 .arcade-token-disc{flex-basis:34px;width:34px;height:34px}
 .arcade-token-rim{inset:4px}
 .arcade-token-face{width:23px}
 .arcade-play-intro .arcade-token-disc{flex-basis:34px;width:34px;height:34px}
 .arcade-cabinet-coin{right:16px;bottom:14px;width:23px;height:23px}
 .arcade-cabinet-coin-logo{width:15px}
 .arcade-key-icon{width:24px;height:24px}
 .arcade-screen{border-radius:16px/12px}
}
@media(max-width:380px){
 .arcade-token-disc{flex-basis:30px;width:30px;height:30px}
 .arcade-token-face{width:20px}
 .arcade-token-label{font-size:10px}
 .arcade-space-icon{width:22px}
}

/* Phase 3b: no portal bar. Three independent, safe-area-aware utility controls. */
.arcade-portal-actions{position:fixed;z-index:120;right:max(22px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;margin:0;padding:0;border:0;background:none;pointer-events:none}
.arcade-portal-actions .arcade-utility{pointer-events:auto;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:48px;padding:0 16px;border:1px solid rgba(255,248,231,.22);border-radius:999px;background:rgba(5,3,20,.60);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);color:var(--arc-snow);box-shadow:0 0 16px rgba(5,3,20,.24);font:600 12px/1 var(--sans);text-decoration:none;text-shadow:0 1px 0 #050314,1px 0 0 #050314,-1px 0 0 #050314,0 -1px 0 #050314,0 0 6px #050314;white-space:nowrap;cursor:pointer}
.arcade-portal-actions .arcade-main-site{color:var(--arc-snow);text-decoration:none}
.arcade-portal-actions .arcade-call{margin:0;color:var(--arc-snow)}
.arcade-portal-actions .arcade-call .arcade-utility-text{margin:0}
.arcade-portal-actions .arcade-motion{min-width:48px;margin:0;color:var(--arc-snow)}
.arcade-portal-actions .arcade-motion b{margin:0;color:var(--arc-teal)}
.arcade-portal-actions .arcade-motion[aria-pressed="true"] b{color:var(--arc-mist)}
.arcade-portal-actions .arcade-utility:hover{border-color:rgba(0,255,209,.64);background:rgba(5,3,20,.68)}
.arcade-portal-actions .arcade-utility:focus-visible{outline:3px solid var(--arc-lime);outline-offset:4px}
.arcade-portal-actions .arcade-icon{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;filter:drop-shadow(0 0 2px #050314)}
html.arcade-game-active .arcade-portal-actions{display:none}

/* On phones the lobby utilities scroll away with the intro, so tiles never pass beneath them. */
@media(max-width:760px){
 .arcade-portal-actions{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));bottom:auto;gap:8px}
 body[data-page="arcade-game"] .arcade-portal-actions{position:fixed}
 .arcade-portal-actions .arcade-utility{width:48px;min-width:48px;height:48px;min-height:48px;padding:0;border-radius:50%}
 .arcade-portal-actions .arcade-utility-text,.arcade-portal-actions .arcade-motion>span,.arcade-portal-actions .arcade-motion>b{display:none}
 .arcade-portal-actions .arcade-icon{width:20px;height:20px;flex-basis:20px}
}

/* Keep the pause action fully inside its scrollable overlay, including short phones. */
.arcade-shell-pause{align-items:flex-start}
.arcade-shell-pause .arcade-panel{flex-shrink:0;margin:auto}

/* Desktop utilities yield to physical cabinets, the local-best copy and footer text. */
@media(min-width:761px){
 html.arcade-footer-visible .arcade-portal-actions,html.arcade-cabinet-row-visible .arcade-portal-actions{display:none}
 .arcade-local-board{padding-top:0}
}

@media(max-width:380px){
 .arcade-cabinet.is-resting:not(.is-game-over) .arcade-hud{display:block;visibility:hidden;height:0;min-height:0;padding:0;overflow:hidden}
 .arcade-shell-pause .arcade-panel .arcade-kicker{margin:0 0 6px}
 .arcade-shell-pause .arcade-panel h2{font-size:26px;margin:0 0 6px}
}

/* Phase 3c: nothing floats over content, labeled controls in the page flow, exact-ratio marquee,
   centered SPACE, live tab highlight, desktop hero logo. Loaded last; overrides earlier layers. */

.arcade-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body[data-page="arcade"] .page,body[data-page="arcade-game"] .page{-webkit-tap-highlight-color:transparent}

/* Labeled utilities: Call, Motion switch, Leffew site. Always in the page flow. */
.arcade-utils{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.arcade-util{display:inline-flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;min-height:48px;margin:0;padding:0 18px;border:0;border-radius:999px;background:rgba(5,3,20,.72);box-shadow:inset 0 0 0 1px rgba(255,248,231,.2),0 0 18px rgba(5,3,20,.35);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--arc-snow);font:600 14px/1 var(--sans);letter-spacing:0;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:box-shadow .15s,background .15s,transform .1s}
.arcade-util:hover{background:rgba(23,17,59,.86);box-shadow:inset 0 0 0 1px rgba(0,255,209,.6),0 0 22px rgba(0,255,209,.18)}
.arcade-util:active{transform:scale(.96);background:rgba(0,255,209,.16)}
.arcade-util:focus-visible{outline:3px solid var(--arc-lime);outline-offset:3px}
.arcade-util .arcade-icon{flex:none;width:18px;height:18px;fill:none;stroke:var(--arc-lime);stroke-width:1.7}
.arcade-util-call{color:var(--arc-snow)}
.arcade-util-motion b{min-width:2.1em;text-align:left;color:var(--arc-teal);font-weight:700}
.arcade-util-motion[aria-checked="false"] b{color:var(--arc-mist)}
.arcade-switch-track{position:relative;flex:none;width:32px;height:18px;border-radius:9px;background:rgba(201,197,242,.22);box-shadow:inset 0 0 0 1px rgba(255,248,231,.28);transition:background .2s,box-shadow .2s}
.arcade-switch-track i{position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#FFF8E7;transition:transform .2s}
.arcade-util-motion[aria-checked="true"] .arcade-switch-track{background:var(--arc-teal);box-shadow:0 0 12px rgba(0,255,209,.55)}
.arcade-util-motion[aria-checked="true"] .arcade-switch-track i{transform:translateX(14px);background:#050314}
.arcade-util-site{color:var(--arc-mist)}

/* Desktop hero: the building sign is the only visible venue name; the approved logo takes the headline spot. */
.arcade-portal-hero .arcade-hero-copy{position:absolute;z-index:3;left:max(28px,6vw);top:50%;transform:translateY(-56%);width:min(34vw,470px);max-width:none}
.arcade-hero-copy .arcade-kicker{font-size:12px;line-height:1.7;letter-spacing:.22em}
.arcade-kicker-sep{display:none}
.arcade-kicker-line{display:block;white-space:nowrap;color:var(--arc-mist);text-shadow:0 2px 12px #050314}
.arcade-hero-logo{position:relative;width:86%;margin:26px 0 30px;filter:drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 0 8px rgba(0,255,209,.9)) drop-shadow(0 0 26px rgba(0,255,209,.55)) drop-shadow(0 0 60px rgba(0,255,209,.28));animation:arcade-logo-flicker 11s 3s infinite}
.arcade-hero-logo:before{content:"";position:absolute;z-index:-1;left:-18%;right:-18%;top:-55%;bottom:-55%;background:radial-gradient(ellipse at 45% 50%,rgba(0,255,209,.16),transparent 66%);pointer-events:none}
.arcade-hero-logo img{display:block;width:100%;height:auto}
.arcade-hero-copy p{margin:0;font-size:19px;line-height:1.5}
.arcade-utils-hero{position:absolute;z-index:4;right:max(24px,4vw);bottom:34px}
html[data-motion="off"] .arcade-hero-logo{animation:none!important}
@media(min-width:761px) and (max-width:1100px){.arcade-portal-hero .arcade-hero-copy{width:min(44vw,420px)}.arcade-hero-copy p{font-size:17px}}

/* Lobby desktop cabinet row on one floor line. */
.arcade-violet-machine{transform:rotateY(-9deg)}.arcade-coral-machine{transform:rotateY(4deg)}.arcade-teal-machine{transform:rotateY(10deg)}
.arcade-machine{transform-origin:50% 100%}

/* Marquee art at its own 4:1 shape. The title sits inside the dark plaque (art plaque spans about 21 to 80 percent across, 20 to 80 percent down). */
.arcade-cabinet .arcade-marquee,.arcade-live-machine .arcade-machine-marquee{position:relative;box-sizing:border-box;aspect-ratio:4/1;height:auto;min-height:0;padding:0;overflow:hidden;background:#0B0820;border:0;box-shadow:0 0 20px rgba(255,194,71,.2);transform:none}
.arcade-cabinet .arcade-marquee{width:100%;max-width:540px;margin:0 auto}
.arcade-marquee-art,.arcade-cabinet .arcade-marquee .arcade-marquee-art{position:absolute;inset:0;width:100%;height:100%}
.arcade-marquee-art img{object-fit:fill!important}
.arcade-cabinet .arcade-marquee .arcade-marquee-title,.arcade-live-machine .arcade-machine-marquee .arcade-marquee-title{position:absolute;z-index:1;left:24%;right:22.5%;top:24%;bottom:24%;width:auto;height:auto;padding:0}
.arcade-live-machine .arcade-machine-marquee{left:13%;right:8%;top:5.5%}

/* Cabinet controls: SPACE exactly centered under the Down arrow; no stray coin. */
.arcade-cabinet-coin{display:none!important}
.arcade-controls{display:flex;flex-direction:column;align-items:center}
.arcade-controls .arcade-space{display:flex;width:min(280px,100%);margin:9px 0 0}
.arcade-pause-button[hidden]{display:none!important}
.arcade-pause-button{gap:8px;padding:0 20px;font:600 14px/1 var(--sans);cursor:pointer}
.arcade-pause-button .arcade-icon{width:16px;height:16px}
.arcade-cabinet.is-paused .arcade-controls{opacity:.34;filter:saturate(.3);pointer-events:none}
.arcade-cabinet.is-paused .arcade-key{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 2px 0 #03040C}
.arcade-cabinet.is-paused .arcade-pause-button{border-color:var(--arc-lime);color:var(--arc-lime);box-shadow:0 0 16px rgba(216,255,62,.25)}
.arcade-hud b{white-space:nowrap}
.arcade-key{-webkit-tap-highlight-color:transparent}

/* Game over: one centered column, 48 px actions. */
.arcade-gameover .arcade-panel{display:flex;flex-direction:column;align-items:center;text-align:center}
.arcade-gameover .arcade-cta{width:100%;text-align:center}
.arcade-gameover .arcade-cta>div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.arcade-cta a{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px!important;margin:0!important;padding:0 18px!important;box-sizing:border-box}
.arcade-gameover.is-new-best .arcade-kicker{color:var(--arc-lime)!important;text-shadow:0 0 14px rgba(216,255,62,.6)}

/* Game page: the cabinet comes first. Desktop puts the intro and local best beside it. */
.arcade-game-stage{position:relative;padding:28px 5vw 72px}
.arcade-game-intro{padding:0;background:none}
.arcade-game-intro p{margin:10px 0 0;color:var(--arc-snow);font:400 clamp(26px,2.6vw,38px)/1.08 var(--serif);letter-spacing:-.02em}
.arcade-local-board{padding-top:0}
.arcade-local-board .arcade-kicker{margin-top:34px}
.arcade-local-score{margin:20px 0 18px}
.arcade-utils-game{margin-top:18px}
.arcade-cabinet-note{margin-top:28px}
.arcade-howto{padding-top:80px;padding-bottom:80px}
@media(min-width:1000px){
 .arcade-game-stage{display:grid;grid-template-columns:minmax(0,600px) 340px;grid-template-areas:"cab intro" "cab board";grid-template-rows:auto 1fr;align-items:start;justify-content:center;column-gap:64px;row-gap:0}
 .arcade-game-intro{grid-area:intro;padding-top:22px}
 .arcade-cabinet{grid-area:cab;width:100%}
 .arcade-local-board{grid-area:board;width:auto}
}
@media(min-width:761px) and (max-width:999px){
 .arcade-game-stage{display:flex;flex-direction:column;align-items:center;gap:0}
 .arcade-game-intro{width:min(620px,100%);margin-bottom:18px}
 .arcade-cabinet{width:min(620px,100%)}
 .arcade-local-board{width:min(620px,100%)}
}

/* Paused and game over: the cabinet sits at the top of the screen with no leftover header offset. */
body:has(.arcade-cabinet.is-resting) .arcade-game-stage{padding-top:max(10px,env(safe-area-inset-top))}
.arcade-cabinet.is-resting{height:calc(100dvh - 20px);min-height:520px;scroll-margin-top:max(10px,env(safe-area-inset-top))}
.arcade-cabinet.is-active,.arcade-cabinet.is-resting{grid-template-rows:auto auto minmax(0,1fr) 48px auto}
.arcade-cabinet.is-game-over{grid-template-rows:auto auto minmax(0,1fr)}
.arcade-cabinet.is-active .arcade-marquee,.arcade-cabinet.is-resting .arcade-marquee{width:min(100%,calc(var(--mq,64px) * 4));justify-self:center;--mq:clamp(34px,8.6dvh,76px)}
.arcade-cabinet.is-active{padding:max(6px,env(safe-area-inset-top)) 10px max(12px,calc(env(safe-area-inset-bottom) + 8px))}
.arcade-cabinet.is-active .arcade-cabinet-side-art,.arcade-cabinet.is-resting .arcade-cabinet-side-art{display:none}

/* Footer: firm name, office address, labeled utilities, then the legal line. */
.arcade-footer{display:grid;grid-template-columns:1fr auto;align-items:center;gap:22px 40px;padding:40px max(22px,5vw) 30px;background:#03020B;color:var(--arc-mist);font-size:13px}
.arcade-footer-firm strong{display:block;color:var(--arc-snow);font:400 24px/1.1 var(--serif);letter-spacing:-.01em}
.arcade-footer-firm span{display:block;margin-top:6px;color:var(--arc-mist);font-size:14px}
.arcade-footer .arcade-utils{justify-content:flex-end}
.arcade-footer .arcade-util{display:inline-flex;min-height:48px}
.arcade-footer-legal{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 20px;padding-top:14px;box-shadow:0 -1px 0 rgba(185,131,255,.16);font-size:12px}
.arcade-footer-legal .lk{display:flex;gap:6px}
.arcade-footer-legal .lk a{padding:0 10px;min-width:48px;justify-content:center}

/* Bottom tab bar: instant tap feedback; the highlight is driven by tabs.ts. */
.arcade-tabs a{-webkit-tap-highlight-color:transparent;transition:color .15s,background .15s}
.arcade-tabs a:active{background:rgba(0,255,209,.08)}
.arcade-tabs a[aria-current="page"]:before{left:50%;margin-left:-16px}

@media(max-width:760px){
 html{scroll-padding-top:env(safe-area-inset-top,0px)}
 .arcade-desktop-only{display:none}
 /* Phone lobby top: the approved header art shown whole at its own shape, then the title and a labeled utility row. No fixed or floating element. */
 .arcade-mobile-intro{padding:env(safe-area-inset-top,0px) 0 6px}
 .arcade-slim-scene{height:auto;aspect-ratio:2048/410;margin:0}
 .arcade-slim-scene:after{background:linear-gradient(0deg,var(--arc-midnight) 0,rgba(5,3,20,0) 42%)}
 .arcade-mobile-copy{position:relative;z-index:1;margin-top:-10px;padding:0 20px}
 .arcade-mobile-copy .arcade-kicker{font-size:10px}
 .arcade-mobile-title{margin:7px 0 0;color:var(--arc-snow);font:400 34px/1 var(--serif);letter-spacing:-.035em}
 .arcade-mobile-title em{color:var(--arc-teal);font-weight:400;text-shadow:0 0 18px rgba(0,255,209,.65)}
 .arcade-utils-intro{margin-top:14px;gap:8px}
 .arcade-utils-intro .arcade-util,.arcade-utils-game .arcade-util{padding:0 14px;font-size:13px}
 .arcade-games{padding-top:18px}
 .arcade-score-wall p strong{margin-bottom:10px}
 /* Game page on phones: one compact intro line, then the cabinet with Insert Token on the first screen. */
 .arcade-game-stage{display:block;padding:max(12px,env(safe-area-inset-top)) 14px 40px}
 .arcade-game-intro{padding:0 4px 12px}
 .arcade-game-intro .arcade-kicker{font-size:10px}
 .arcade-game-intro p{margin-top:6px;font-size:22px}
 .arcade-cabinet{padding:10px 10px 16px}
 .arcade-local-board{padding:6px 6px 0}
 .arcade-local-board .arcade-kicker{margin-top:28px}
 .arcade-local-score{font-size:96px;margin:16px 0 12px}
 .arcade-cabinet.is-resting{height:calc(100dvh - 92px - env(safe-area-inset-bottom));min-height:0}
 body:has(.arcade-cabinet.is-resting) .arcade-game-stage{padding-top:max(8px,env(safe-area-inset-top))}
 .arcade-howto{padding:60px 22px}
 .arcade-footer{grid-template-columns:1fr;gap:18px;padding:30px 20px 26px}
 .arcade-footer .arcade-utils{justify-content:flex-start}
 .arcade-footer-legal{justify-content:flex-start}
}
@media(max-width:380px){
 .arcade-utils-intro .arcade-util,.arcade-utils-game .arcade-util{padding:0 12px;font-size:12.5px;gap:7px}
 .arcade-mobile-title{font-size:31px}
}

/* Phone in landscape during play: screen in the middle, status left, controls right. */
@media(orientation:landscape) and (max-height:520px){
 .arcade-cabinet.is-active{width:100%;max-width:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"mq screen ctl" "hud screen ctl" "pause screen ctl";column-gap:18px;padding:max(6px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
 .arcade-cabinet.is-active .arcade-marquee{grid-area:mq;width:min(100%,220px);--mq:auto;align-self:end}
 .arcade-cabinet.is-active .arcade-hud{grid-area:hud;grid-template-columns:repeat(2,auto);justify-content:center;column-gap:22px;row-gap:6px}
 .arcade-cabinet.is-active .arcade-screen{grid-area:screen;height:calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:auto;aspect-ratio:2/3;margin:0}
 .arcade-cabinet.is-active .arcade-pause-row{grid-area:pause;align-self:start;height:auto;padding-top:6px}
 .arcade-cabinet.is-active .arcade-controls{grid-area:ctl;align-self:center;padding:0}
}

/* The main site's curtain footer offset (margin-bottom: var(--fh)) does not apply to the arcade shell: no dead gap above the footer. */
body[data-page="arcade"] .page,body[data-page="arcade-game"] .page{margin-bottom:0;border-radius:0;box-shadow:none}
/* Perspective from the floor so every cabinet stands on one line. */
.arcade-cabinet-scene{perspective-origin:50% 100%}

/* Loop 1 fixes (from the phase 3c screenshot review). */
/* Arcade copy is short display text in narrow columns: flush left, centered inside overlays, never justified (justified lines left rivers). */
.arcade-page p,.arcade-page small{text-align:left;text-wrap:pretty}
.arcade-overlay,.arcade-overlay p,.arcade-overlay h2,.arcade-overlay small,.arcade-attract,.arcade-attract p,.arcade-attract small{text-align:center;text-wrap:balance}
.arcade-overlay .arcade-panel{margin-left:auto;margin-right:auto}
.arcade-attract p{max-width:300px}
/* Insert Token centered under the marquee (inline-flex ignored the auto margins). */
.arcade-cabinet .arcade-play-intro{display:flex;margin:14px auto 6px}
/* HUD lines up with the screen below it. */
.arcade-hud{width:min(100%,400px);margin:0 auto;box-sizing:border-box}
.arcade-cabinet.is-active .arcade-hud,.arcade-cabinet.is-resting .arcade-hud{width:min(100%,450px)}
/* Pause row: a small gap above and below the 48 px button, same key size paused or playing. */
.arcade-cabinet.is-active,.arcade-cabinet.is-resting{grid-template-rows:auto auto minmax(0,1fr) 58px auto}
.arcade-cabinet.is-game-over{grid-template-rows:auto auto minmax(0,1fr)}
.arcade-pause-row{height:58px}
.arcade-cabinet.is-resting .arcade-dpad{grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,50px);gap:5px}
.arcade-cabinet.is-resting .arcade-space{height:48px;margin-top:6px}
.arcade-cabinet.is-paused .arcade-controls{opacity:.45;filter:saturate(.45)}
.arcade-cabinet.is-paused .arcade-pause-button{background:#0B0924}
/* Best numbers always fit their column, whatever the digit count (paintBest sets --digits). */
.arcade-best-number{font-size:min(340px,25vw,calc(84vw / var(--digits,1) / .8));white-space:nowrap}
.arcade-local-board{container-type:inline-size}
.arcade-local-score{font-size:min(150px,calc(96cqi / var(--digits,1) / .8));white-space:nowrap}
.arcade-best-wall>a{gap:10px}
.arcade-cabinet-note{letter-spacing:.1em}
/* Desktop hero: tight neon bloom on the logo (no box-shaped haze), copy column clear of the building, utilities under the button. */
.arcade-hero-logo:before{content:none}
.arcade-hero-logo{width:80%;filter:drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 0 4px rgba(0,255,209,.95)) drop-shadow(0 0 13px rgba(0,255,209,.6)) drop-shadow(0 0 30px rgba(0,255,209,.25))}
.arcade-portal-hero .arcade-hero-copy{width:min(29vw,420px)}
.arcade-utils-hero{position:static;margin-top:30px;gap:8px}
.arcade-utils-hero .arcade-util{min-height:44px;padding:0 15px;font-size:13px}
.arcade-storefront-canvas{left:auto;right:0;transform:translateY(-50%)}
@media(min-width:1000px){.arcade-game-stage{padding-top:44px}}
.arcade-utils-game{gap:8px}
/* Phones */
@media(max-width:760px){
 /* The approved header art becomes the opening scene behind the title, not a strip across the top. */
 .arcade-slim-scene{aspect-ratio:auto;height:clamp(150px,44vw,210px)}
 .arcade-slim-scene .arcade-mobile-header-art img{object-position:50% 50%}
 .arcade-slim-scene:after{background:linear-gradient(0deg,var(--arc-midnight) 4%,rgba(5,3,20,.55) 42%,rgba(5,3,20,0) 75%)}
 .arcade-mobile-copy{margin-top:-74px}
 .arcade-mobile-copy .arcade-kicker{text-shadow:0 1px 10px #050314,0 0 18px rgba(0,255,209,.5)}
 .arcade-mobile-title{text-shadow:0 2px 16px #050314}
 .arcade-utils-intro .arcade-util{flex:1 1 auto}
 .arcade-utils-game .arcade-util{flex:1 1 auto}
 .arcade-score-wall{padding-top:34px;min-height:0;padding-bottom:56px}
 .arcade-score-wall:after{display:none}
 .arcade-score-wall p{margin-top:22px}
 .arcade-best-wall{padding-top:34px}
 .arcade-best-wall,.arcade-best-wall h2,.arcade-best-wall p{text-align:center}
 .arcade-best-number{font-size:min(170px,calc(84vw / var(--digits,1) / .8))}
 .arcade-poster-wall{padding-top:40px}
 .arcade-tabs a[aria-current="page"]:before{top:0}
 .arcade-game-stage{padding-top:max(18px,env(safe-area-inset-top))}
}

/* Loop 2 fixes. */
.arcade-tabs a:first-child svg path{fill:none;stroke:currentColor}
.arcade-tabs svg circle{fill:currentColor;stroke:none}
.arcade-tabs a[data-tab="my-best"] svg circle{fill:none;stroke:currentColor}
.arcade-best-wall p{text-align:center}
.arcade-panel .arcade-kicker,.arcade-overlay .arcade-kicker{text-align:center}
.arcade-cabinet.is-active,.arcade-cabinet.is-resting{grid-template-rows:auto auto minmax(0,1fr) 62px auto}
.arcade-cabinet.is-game-over{grid-template-rows:auto auto minmax(0,1fr)}
.arcade-pause-row{height:62px}
.arcade-cabinet.is-paused .arcade-controls{opacity:.38;filter:grayscale(.8)}
.arcade-cabinet.is-resting{padding-top:14px}
.arcade-footer-legal .lk a:first-child{padding-left:0;justify-content:flex-start}
@media(max-width:760px){
 .arcade-mobile-intro .arcade-mobile-title{display:block}
 .arcade-slim-scene{height:clamp(170px,50vw,230px)}
 .arcade-mobile-copy{margin-top:-92px}
 .arcade-mobile-copy .arcade-kicker,.arcade-mobile-title{position:relative}
 .arcade-utils-intro{margin-top:16px}
 .arcade-games{padding-top:22px}
 .arcade-score-wall{padding-bottom:44px}
 .arcade-best-wall{padding-bottom:52px}
 .arcade-poster-wall{padding-bottom:56px}
 .arcade-wall-poster small{font-size:9.5px}
 .arcade-game-intro,.arcade-game-intro p{text-align:center}
 .arcade-hud{font-size:10px}.arcade-hud b{font-size:13px}
 .arcade-footer{padding-bottom:18px}
}
/* Loop 3 fixes. */
.arcade-portal-hero .arcade-hero-copy{width:min(27vw,400px)}
.arcade-hero-copy p{font-size:18px}
.arcade-utils-hero{flex-wrap:nowrap;width:max-content}
.arcade-utils-hero .arcade-util{padding:0 13px;font-size:12.5px;gap:7px}
@media(max-width:760px){
 .arcade-mobile-intro .arcade-mobile-title{margin:6px 0 0;color:var(--arc-snow);font:400 36px/1 var(--serif);letter-spacing:-.035em;text-shadow:0 2px 18px #050314,0 0 3px #050314}
 .arcade-mobile-intro .arcade-mobile-title em{text-shadow:0 0 3px #050314,0 0 18px rgba(0,255,209,.7)}
 .arcade-slim-scene:after{background:linear-gradient(0deg,#050314 6%,rgba(5,3,20,.7) 40%,rgba(5,3,20,.1) 78%),radial-gradient(ellipse at 18% 88%,rgba(5,3,20,.75),transparent 60%)}
 .arcade-mobile-intro{background:#050314}
 .arcade-games{background:radial-gradient(circle at 90% 18%,rgba(185,131,255,.15),transparent 30%),linear-gradient(180deg,#050314 0,#09061D 120px)}
}
@media(max-width:380px){.arcade-mobile-intro .arcade-mobile-title{font-size:32px}}
.arcade-hero-logo{display:block;border-radius:6px}
.arcade-hero-logo:focus-visible{outline:3px solid var(--arc-lime);outline-offset:8px}
@media(max-width:760px){
 .arcade-slim-scene{height:clamp(210px,60vw,270px)}
 .arcade-mobile-copy{margin-top:-136px}
 .arcade-slim-scene:after{background:linear-gradient(0deg,#050314 0,#050314 14%,rgba(5,3,20,.8) 46%,rgba(5,3,20,.12) 82%),radial-gradient(ellipse at 20% 70%,rgba(5,3,20,.7),transparent 62%)}
 .arcade-games{padding-top:26px}
}
@media(max-width:380px){.arcade-mobile-copy{margin-top:-132px}}
@media(max-width:760px){.arcade-games{background:radial-gradient(circle at 92% 46%,rgba(185,131,255,.14),transparent 32%),linear-gradient(180deg,#050314 0,#09061D 160px)}}
/* Loop 4 fixes. The site's phone rule (main p{text-align:left!important}) must not pull overlay and centered copy left. */
.arcade-page .arcade-overlay p,.arcade-page .arcade-attract p,.arcade-page .arcade-best-wall p{text-align:center!important}
@media(max-width:760px){.arcade-page .arcade-game-intro p{text-align:center!important}}
.arcade-cabinet.is-active .arcade-marquee,.arcade-cabinet.is-resting .arcade-marquee,.arcade-cabinet.is-game-over .arcade-marquee{min-height:0;padding:0}
/* My Best is the last lobby section: give it room so a tab tap can bring it to the top of any phone. */
@media(max-width:760px){.arcade-best-wall{min-height:calc(100svh - 300px);box-sizing:border-box}}
/* Tablets and phones in landscape (761 to 1100 px): the hero copy sits low, under the sign, and the hero keeps a storefront shape. */
@media(min-width:761px) and (max-width:1100px){
 .arcade-portal-hero .arcade-hero-copy{top:auto;bottom:6%;transform:none;width:min(470px,62vw)}
 .arcade-hero-logo{width:58%;margin:18px 0 20px}
 .arcade-utils-hero{margin-top:22px}
}
@media(min-width:761px) and (max-aspect-ratio:1/1){.arcade-portal-hero{height:clamp(640px,82vw,100svh)}}
/* Phone landscape: the paused and game over cabinet keeps the side by side layout and fits the screen. */
@media(orientation:landscape) and (max-height:520px){
 .arcade-cabinet.is-resting{width:100%;max-width:none;height:calc(100dvh - 16px);min-height:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"mq screen ctl" "hud screen ctl" "pause screen ctl";column-gap:18px;padding:8px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));clip-path:none}
 .arcade-cabinet.is-resting .arcade-marquee{grid-area:mq;width:min(100%,220px);align-self:end}
 .arcade-cabinet.is-resting .arcade-hud{grid-area:hud;display:grid;visibility:visible;height:auto;grid-template-columns:repeat(2,auto);justify-content:center;column-gap:22px;row-gap:6px}
 .arcade-cabinet.is-resting .arcade-screen{grid-area:screen;height:calc(100dvh - 32px);width:auto;aspect-ratio:2/3;margin:0}
 .arcade-cabinet.is-resting .arcade-pause-row{grid-area:pause;align-self:start;height:auto;padding-top:6px}
 .arcade-cabinet.is-resting .arcade-controls{grid-area:ctl;align-self:center;padding:0}
 .arcade-cabinet.is-game-over .arcade-screen{grid-row:1/-1}
 body:has(.arcade-cabinet.is-resting) .arcade-game-stage{padding:8px 0 0;display:block}
 body:has(.arcade-cabinet.is-resting) .arcade-local-board{display:none}
}
/* Loop 5 fixes. */
/* Every cabinet part has its own grid row in play, pause and game over (an empty HUD row once collapsed the game over screen). */
@media not all and (orientation:landscape) and (max-height:520px){
 .arcade-cabinet.is-active>.arcade-marquee,.arcade-cabinet.is-resting>.arcade-marquee{grid-row:1}
 .arcade-cabinet.is-active>.arcade-hud,.arcade-cabinet.is-resting>.arcade-hud{grid-row:2}
 .arcade-cabinet.is-active>.arcade-screen,.arcade-cabinet.is-resting>.arcade-screen{grid-row:3}
 .arcade-cabinet.is-active>.arcade-pause-row,.arcade-cabinet.is-resting>.arcade-pause-row{grid-row:4}
 .arcade-cabinet.is-active>.arcade-controls,.arcade-cabinet.is-resting>.arcade-controls{grid-row:5}
 .arcade-cabinet.is-game-over{grid-template-rows:auto auto minmax(0,1fr) 0 0}
}
/* Paused: the HUD stays visible on small phones now that the overlay has no second button. */
.arcade-cabinet.is-resting:not(.is-game-over) .arcade-hud{display:grid;visibility:visible;height:auto;padding:5px 4px;overflow:visible}
/* Paused: the frozen road stays visible, dimmed, behind the message. */
.arcade-shell-pause{background:rgba(5,7,20,.74)!important}
.arcade-shell-pause .arcade-panel{text-shadow:0 2px 14px #050314,0 0 4px #050314}
/* Attract screen before play: a small drawn road instead of repeating the marquee title. */
.arcade-attract{gap:10px;justify-content:center}
.arcade-attract-road{width:min(62%,240px);height:auto;aspect-ratio:4/3;border-radius:10px;margin-bottom:8px;box-shadow:0 0 0 1px rgba(53,191,255,.35),0 0 24px rgba(0,255,209,.12)}
.arcade-attract-road b{font-size:15px}
.arcade-attract-label{margin-top:4px}
.arcade-footer-legal{font-size:13px}
.arcade-footer-firm span{white-space:nowrap}
@media(max-width:760px){.arcade-score-wall,.arcade-best-wall{padding-top:46px}.arcade-poster-wall{padding-top:46px}}
@media(max-width:380px){.arcade-attract-road{width:56%}}
/* Phone landscape: fixed marquee size; game over gets the screen and controls columns for its card; compact hero. */
@media(orientation:landscape) and (max-height:520px){
 .arcade-cabinet.is-active .arcade-marquee,.arcade-cabinet.is-resting .arcade-marquee{width:220px;max-width:100%;height:55px;aspect-ratio:auto}
 .arcade-cabinet.is-resting{grid-template-rows:auto auto 1fr}
 .arcade-cabinet.is-game-over{grid-template-areas:"mq screen screen" "hud screen screen" "pause screen screen"}
 .arcade-cabinet.is-game-over .arcade-screen{aspect-ratio:auto;width:100%;grid-row:auto}
 .arcade-cabinet.is-game-over .arcade-panel{max-width:440px}
 .arcade-cabinet.is-game-over .arcade-panel h2{font-size:28px;margin:2px 0 6px}
 .arcade-cabinet.is-game-over .arcade-scoreline{margin:6px 0 8px}
 .arcade-cabinet.is-game-over .arcade-cta{margin-top:8px;padding-top:8px}
 .arcade-portal-hero{height:100svh;min-height:360px}
 .arcade-portal-hero .arcade-hero-copy{top:50%;bottom:auto;transform:translateY(-50%);width:min(40vw,360px)}
 .arcade-hero-copy .arcade-kicker{font-size:10px}
 .arcade-hero-logo{width:62%;margin:10px 0 12px}
 .arcade-hero-copy p{font-size:14px}
 .arcade-enter{min-height:48px;margin-top:14px}
 .arcade-utils-hero{margin-top:12px}
}
@media(orientation:landscape) and (max-height:520px){.arcade-cabinet.is-active{grid-template-rows:auto auto 1fr}}
/* Loop 6 fixes. */
.arcade-cabinet .arcade-side-right{left:auto;right:0;transform:scaleX(-1)}
.arcade-cabinet.is-active .arcade-side-right,.arcade-cabinet.is-resting .arcade-side-right{display:none}
.arcade-section-heading p{background:none!important;padding:0!important;margin-left:0!important;text-shadow:0 2px 14px #050314,0 0 3px #050314}
@media(min-width:761px){.arcade-score-wall{flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.arcade-score-wall p{margin-top:26px}}
.arcade-cabinet.is-game-over>.arcade-screen{margin-top:8px}
.arcade-hud{font-size:11px}
@media(max-width:760px){.arcade-hud,.arcade-cabinet.is-active .arcade-hud,.arcade-cabinet.is-resting .arcade-hud{font-size:10.5px}.arcade-score-wall{padding-bottom:36px}}
@media(min-width:761px) and (max-width:1100px){
 .arcade-hero-shade{background:linear-gradient(0deg,rgba(5,3,20,.94) 0,rgba(5,3,20,.78) 34%,rgba(5,3,20,.2) 62%,transparent 80%),linear-gradient(90deg,rgba(5,3,20,.55),transparent 70%)}
 .arcade-footer{grid-template-columns:1fr}
 .arcade-footer .arcade-utils{justify-content:flex-start}
}
/* Loop 7 fixes. */
.arcade-kicker-line{color:rgba(255,248,231,.86)}
.arcade-hud{color:#E2DEFF}
.arcade-attract-road{width:min(74%,300px)}
@media(min-width:761px) and (max-width:900px){.arcade-cabinet-scene{zoom:.68}}
@media(min-width:901px) and (max-width:1000px){.arcade-cabinet-scene{zoom:.78}}
@media(min-width:1001px) and (max-width:1150px){.arcade-cabinet-scene{zoom:.9}}
@media(min-width:761px) and (max-width:1100px){.arcade-hero-shade{background:linear-gradient(0deg,rgba(5,3,20,.94) 0,rgba(5,3,20,.8) 36%,rgba(5,3,20,.25) 62%,transparent 80%),linear-gradient(90deg,rgba(5,3,20,.78),rgba(5,3,20,.35) 62%,transparent 85%)}}
/* Loop 8 fixes. */
.arcade-side-art-right{left:auto;right:3%;transform:scaleX(-1)}
.arcade-poster-wall{background:radial-gradient(circle at 25% 30%,rgba(255,45,149,.14),transparent 32%),linear-gradient(#09061D,#100A28 140px,#070416)}
@media(max-width:760px){
 .arcade-best-wall{display:flex;flex-direction:column;align-items:center;justify-content:center}
 /* Poster wall on phones: two up, one below, small tilts, no poster covering another poster's words or logo. */
 .arcade-poster-cluster{height:auto;aspect-ratio:349/560;min-height:0}
 .arcade-wall-poster{width:46%}
 .arcade-poster-one{left:0;top:0;transform:rotate(-4deg)}
 .arcade-poster-two{left:auto;right:0;top:7%;transform:rotate(3.5deg)}
 .arcade-poster-three{left:27%;right:auto;top:53%;transform:rotate(-1.5deg)}
 .arcade-wall-poster strong{font-size:21px}
}
@media(max-width:380px){.arcade-wall-poster strong{font-size:19px}}
.arcade-violet-machine,.arcade-coral-machine,.arcade-teal-machine{height:540px}
.arcade-live-machine .arcade-mini-road i:nth-child(1){left:22%;top:66%}
.arcade-live-machine .arcade-mini-road i:nth-child(2){right:18%;top:12%}
@media(max-width:760px){.arcade-wall-poster small{font-size:8.5px;right:34%}}
@media(orientation:landscape) and (max-height:520px){
 .arcade-cabinet.is-game-over{grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:auto auto 1fr;grid-template-areas:"mq screen" "hud screen" "pause screen"}
 .arcade-cabinet.is-game-over>.arcade-screen{grid-area:screen;margin-top:0;height:calc(100dvh - 32px)}
 .arcade-cabinet.is-game-over>.arcade-marquee{grid-area:mq;align-self:end}
 .arcade-cabinet.is-game-over>.arcade-hud{grid-area:hud;align-self:start}
}

/* Phase 3d: WebKit fixes. */

/* Marquee title. Root cause of the iPhone overflow: the title svg was absolutely positioned with width:auto and
   height:auto between left/right/top/bottom insets. iOS WebKit sizes an absolutely positioned replaced element with
   auto width from its intrinsic default (300 x 150, ratio-corrected to 300 x 60) instead of stretching it between the
   insets, so the title rendered at 300 px wide from 24% in and ran out of the marquee. Explicit percentage width and
   height work the same in every engine. The box is the art's inner frame measured from the pixels
   (20.3% to 79.6% across, 18.6% to 81.3% down); the outlined title is centered in it with even margins. */
.arcade-cabinet .arcade-marquee .arcade-marquee-title,
.arcade-live-machine .arcade-machine-marquee .arcade-marquee-title{position:absolute;z-index:1;left:20.33%;top:18.55%;right:auto;bottom:auto;width:59.33%;height:62.7%;padding:0!important;margin:0;max-width:none;overflow:visible}

/* Display headings with line-height under 1: the glyph descent spilled 6 to 11 px out of the box (scrollHeight over
   clientHeight). Pad the box to hold the glyphs and take the same amount off the bottom margin, so spacing is unchanged. */
.arcade-section-heading h2,.arcade-score-wall h2,.arcade-poster-wall h2{padding-bottom:.22em;margin-bottom:calc(15px - .22em)}
.arcade-howto h2{padding-bottom:.22em;margin-bottom:calc(24px - .22em)}
.arcade-best-wall h2{padding-bottom:.22em;margin-bottom:calc(12px - .22em)}
.arcade-mobile-title,.arcade-mobile-intro .arcade-mobile-title{padding-bottom:.2em;margin-bottom:-.2em}

/* Tab bar: fully opaque so nothing reads through it while the page scrolls underneath. */
.arcade-tabs{background:#050314}

/* Before play: the road fills the frame edge to edge (no small preview floating in an empty box) and the caption sits
   in its own band under it, so no text ever lies on the drawing. Code drawn; lane dashes roll unless Motion is Off. */
.arcade-cabinet .arcade-attract{justify-content:flex-start;gap:3px;padding:8px 8px 14px}
.arcade-cabinet .arcade-attract .arcade-attract-road{position:relative;inset:auto;flex:1 1 auto;min-height:56px;width:100%;height:auto;aspect-ratio:auto;margin:0 0 10px;border-radius:14px 14px 4px 4px;box-shadow:none;background:linear-gradient(90deg,#15102D 0 12%,#101D26 12% 88%,#15102D 88%)}
.arcade-cabinet .arcade-attract .arcade-attract-road:before{left:12%;right:12%;width:auto;box-shadow:none;opacity:.75;
  background:linear-gradient(90deg,transparent calc(25% - 1px),#FF2D95 calc(25% - 1px) calc(25% + 1px),transparent calc(25% + 1px) calc(75% - 1px),#B983FF calc(75% - 1px) calc(75% + 1px),transparent calc(75% + 1px)),repeating-linear-gradient(#00FFD1 0 18px,transparent 18px 35px) 50% 0/3px 100% repeat-y;
  animation:arcade-attract-dash 1.6s linear infinite}
.arcade-cabinet .arcade-attract .arcade-attract-road i{width:auto;height:24%;max-width:9.3%;aspect-ratio:5/8;right:auto;bottom:auto;transform:translateX(-50%)}
.arcade-cabinet .arcade-attract .arcade-attract-road i:nth-child(1){left:21.5%;top:8%}
.arcade-cabinet .arcade-attract .arcade-attract-road i:nth-child(2){left:59.5%;top:38%}
.arcade-cabinet .arcade-attract .arcade-attract-road i:nth-child(3){left:40.5%;top:auto;bottom:8%}
.arcade-cabinet .arcade-attract:after{content:none}
.arcade-cabinet .arcade-attract > :not(.arcade-attract-road){position:relative;z-index:2;margin:0;flex:none;padding:0 12px}
.arcade-cabinet .arcade-attract p{max-width:300px}
@keyframes arcade-attract-dash{from{background-position:0 0,50% 0}to{background-position:0 0,50% 35px}}
html[data-motion="off"] .arcade-attract .arcade-attract-road:before{animation:none}

/* Phones in portrait: one machine on the first screen. cabinet.ts measures the room between the screen's top and the
   tab bar (once per width, so the iOS toolbar collapsing never shifts the page) into --attract-h. */
@media (max-width:760px) and (orientation:portrait){
  .arcade-cabinet .arcade-screen:has(> .arcade-attract){aspect-ratio:auto;height:var(--attract-h,max(120px,calc(100svh - 25vw - 316px)));max-height:none}
}

/* Phones in landscape, before play: the screen beside marquee, Insert Token and HUD, all above the tab bar. */
@media (orientation:landscape) and (max-height:520px){
  .arcade-game-stage:has(.arcade-attract) .arcade-game-intro{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;column-gap:14px;padding:8px 20px 2px}
  .arcade-game-stage:has(.arcade-attract) .arcade-game-intro .arcade-kicker{font-size:10px}
  .arcade-game-stage:has(.arcade-attract) .arcade-game-intro p{margin:0;font-size:18px;line-height:1.15}
  /* two columns without a grid, so the tall screen never stretches the gaps between marquee, token and HUD:
     a wrapping flex column with a fixed height puts the screen in line one and the rest, centered, in line two */
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract){display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;align-content:space-between;row-gap:12px;column-gap:16px;box-sizing:border-box;height:calc(var(--attract-h,max(120px,calc(100svh - 150px))) + 20px);padding:10px calc(9% + 10px)}
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-pause-row,.arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-controls{display:none}
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-marquee{align-self:center;width:min(50%,calc((var(--attract-h,max(120px,calc(100svh - 150px))) - 124px) * 4));min-height:0;margin:0}
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-token{align-self:center;margin:0}
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-hud{width:50%;margin:0;padding:2px 0;font-size:9px}
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-hud b{margin-top:2px;font-size:11px}
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-screen{order:-1;flex:none;width:46%;height:var(--attract-h,max(120px,calc(100svh - 150px)));aspect-ratio:auto;max-height:none;margin:0}
  .arcade-cabinet .arcade-attract{padding:8px 8px 10px}
  .arcade-cabinet .arcade-attract .arcade-attract-road i{width:auto;height:17%}
}

/* Display text with line-height under 1 in tiles and posters: hold the glyph descent inside the box (Chromium measured
   4 px of overflow) without moving anything: the padding is taken back by an equal negative bottom margin. */
.arcade-wall-poster strong,.arcade-tile-info strong,.arcade-machine-marquee strong{padding-bottom:.16em;margin-bottom:-.16em}

/* Webfont failure or slow load (swap): metric matched fallbacks, so fallback text takes the same room as Instrument
   Serif and Geist (descriptors from scripts/font_fallbacks.mjs: Times New Roman and Arial on iOS and macOS, measured
   through their metric compatible Liberation twins; DejaVu on Linux). Arcade pages only. */
@font-face{font-family:"LF Serif Fallback Times";src:local("Times New Roman"),local("TimesNewRomanPSMT"),local("Liberation Serif");size-adjust:79.95%;ascent-override:123.83%;descent-override:38.77%;line-gap-override:0%}
@font-face{font-family:"LF Serif Fallback DejaVu";src:local("DejaVu Serif"),local("DejaVuSerif");size-adjust:64.99%;ascent-override:152.34%;descent-override:47.7%;line-gap-override:0%}
@font-face{font-family:"LF Sans Fallback Arial";src:local("Arial"),local("ArialMT"),local("Liberation Sans");size-adjust:102.04%;ascent-override:98.49%;descent-override:28.91%;line-gap-override:0%}
@font-face{font-family:"LF Sans Fallback DejaVu";src:local("DejaVu Sans"),local("DejaVuSans");size-adjust:92.47%;ascent-override:108.68%;descent-override:31.9%;line-gap-override:0%}
html:root{--serif:"Instrument Serif","LF Serif Fallback Times","LF Serif Fallback DejaVu",Georgia,serif;--sans:"Geist","LF Sans Fallback Arial","LF Sans Fallback DejaVu",system-ui,sans-serif}

/* The big best number (line-height .8): hold the glyph descent inside its box without moving anything. */
.arcade-best-number{padding-bottom:.26em;margin-bottom:-.26em}

/* Short attract screens (small phones, landscape): caption is the label and one line, so it never runs past the frame. */
.arcade-cabinet[data-attract-compact] .arcade-attract small{display:none}
.arcade-cabinet[data-attract-compact] .arcade-attract p{font-size:13px;line-height:1.3}
.arcade-cabinet[data-attract-compact] .arcade-attract{padding-bottom:10px}

/* Phones: the attract caption is the label and one line, so the road keeps most of the frame. */
@media (max-width:760px),(orientation:landscape) and (max-height:520px){
  .arcade-cabinet .arcade-attract small{display:none}
  .arcade-cabinet .arcade-attract p{font-size:13px;line-height:1.3}
}
.arcade-game-intro .arcade-nw{white-space:nowrap}
/* Intro line wraps evenly on narrow phones (no single word left on the last line). */
.arcade-game-intro p{text-wrap:balance}
/* Phones in landscape: a lighter Insert Token beside the marquee, and a compact tab bar (icon beside label, 48 px). */
@media (orientation:landscape) and (max-height:520px){
  .arcade-cabinet:has(> .arcade-screen > .arcade-attract) > .arcade-token{min-height:48px;min-width:0;padding:4px 18px;font-size:12px}
  .arcade-tabs{padding-top:2px}
  .arcade-tabs a{min-height:48px;flex-direction:row;gap:8px}
  .arcade-tabs a[aria-current="page"]:before{top:-2px}
}

/* Wall posters: the headline sits in the dark title band painted at the top of each poster (measured: 18.1%, 18.2%
   and 21.8% of the poster height, phase3d/posterband.mjs). Sized to the poster width, two lines always fit inside
   the band at every screen size. The small print gets a dark label plate where the art runs to the bottom edge. */
.arcade-wall-poster{container-type:inline-size}
.arcade-wall-poster strong{font-size:9.4cqi!important;line-height:.96!important;top:4.5%;text-wrap:balance}
.arcade-wall-poster small{background:rgba(5,3,20,.74);padding:2px 5px;border-radius:2px}

/* Tablets (761 to 1000 px): the poster cluster ran 4vw past the right edge, so the third poster and its headline
   were cut by the page edge. Keep all three posters inside the page. */
@media (min-width:761px) and (max-width:1000px){.arcade-poster-cluster{right:5vw}}

/* Phase 3e: poster type lives on the art, no boxes (William 2026-11-26), and the phone poster cluster has explicit sizes.

   1. Each approved poster final paints a flat navy title band and footer band around its illustration (the token
      poster also a cream frame). The art itself is unchanged; the img is scaled and offset inside the poster so only
      the illustration shows, a 2:3 window measured from the 1200x1800 final's pixels (phase3e/README in REPORT.md):
        commute  x 207 y 332 w 787 h 1180   token  x 212 y 352 w 716 h 1074   portal  x 748 y 792 w 404 h 606
      (portal: below the blank storefront sign and its molding, centered on the doorway; served as its own sharp crop
      from the approved 1696x2528 final, wall-poster-portal-door-*, phase3e/crop_portal.mjs, so no offset)
      --px and --py are the window's left and top as fractions of the art, --pc its width fraction (equal to its
      height fraction because poster and art are both 2:3). Explicit width, height, left and top: no auto sizing.
   2. Legibility comes from a soft night falloff at the top and bottom of the art (many stops, no visible edge) and a
      dark glow around the letters, measured against the real pixels behind the text (phase3e/posterfit.mjs). */
.arcade-wall-poster .arcade-poster-art{overflow:hidden}
.arcade-wall-poster .arcade-poster-art img{position:absolute;max-width:none;max-height:none;object-fit:fill;width:calc(100% / var(--pc));height:calc(100% / var(--pc));left:calc(-100% * var(--px) / var(--pc));top:calc(-100% * var(--py) / var(--pc))}
.arcade-poster-one{--px:.1725;--py:.18444;--pc:.65583}
.arcade-poster-two{--px:.17667;--py:.19556;--pc:.59667}
.arcade-poster-three{--px:0;--py:0;--pc:1}
.arcade-wall-poster .arcade-poster-art:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(6,4,22,.86) 0%,rgba(6,4,22,.8) 8%,rgba(6,4,22,.67) 15%,rgba(6,4,22,.49) 22%,rgba(6,4,22,.31) 29%,rgba(6,4,22,.15) 36%,rgba(6,4,22,.05) 44%,rgba(6,4,22,0) 51%,rgba(6,4,22,0) 64%,rgba(6,4,22,.16) 72%,rgba(6,4,22,.4) 79%,rgba(6,4,22,.66) 86%,rgba(6,4,22,.84) 93%,rgba(6,4,22,.9) 100%)}
.arcade-wall-poster strong{text-shadow:1px 0 rgba(255,45,149,.42),-1px 0 rgba(0,255,209,.32),0 0 3px rgba(6,4,22,.9),0 0 14px rgba(6,4,22,.85),0 2px 22px rgba(6,4,22,.7)}
html[data-motion="off"] .arcade-wall-poster strong{text-shadow:0 0 3px rgba(6,4,22,.9),0 0 14px rgba(6,4,22,.85),0 2px 22px rgba(6,4,22,.7)}
.arcade-wall-poster small{background:none;padding:0;border-radius:0;color:var(--arc-snow);text-shadow:0 0 2px rgba(6,4,22,.95),0 0 8px rgba(6,4,22,.9),0 1px 14px rgba(6,4,22,.8)}
.arcade-poster-logo-zone{filter:drop-shadow(0 0 3px rgba(6,4,22,.9)) drop-shadow(0 0 4px rgba(0,255,209,.45))}

/* Desktop and tablet: explicit poster height (was aspect-ratio). */
.arcade-wall-poster{height:405px}

/* Phones: every size in the cluster comes from the poster wall's content width (the wall is the size container), so
   nothing depends on aspect-ratio or auto sizing. The cluster is 349:560 as before, posters 46% wide and 2:3, the
   same positions as phase 3c in fractions of the cluster. The percentage lines are the fallback for browsers without
   container units. */
@media (max-width:760px){
  .arcade-poster-wall{container-type:inline-size}
  .arcade-poster-cluster{width:100%;height:auto;aspect-ratio:349/560;width:100cqw;height:calc(100cqw * 560 / 349);max-width:100%}
  .arcade-wall-poster{width:46%;width:46cqw;height:calc(46cqw * 1.5)}
  .arcade-poster-two{top:calc(100cqw * 560 / 349 * .07)}
  .arcade-poster-three{left:27cqw;top:calc(100cqw * 560 / 349 * .53)}
}

/* Tablets (761 to 1000 px): three 270 px posters in the scaled cluster covered each other's small print and logos
   (phase 3d layout). Same two up, one below arrangement as phones, explicit sizes in the cluster's own box
   (720 px tall): no poster covers another poster's words or logo. */
@media (min-width:761px) and (max-width:1000px){
  .arcade-wall-poster{width:46%;height:320px}
  .arcade-poster-one{left:0;top:0;transform:rotate(-4deg)}
  .arcade-poster-two{left:auto;right:0;top:50px;transform:rotate(3.5deg)}
  .arcade-poster-three{left:27%;right:auto;top:382px;transform:rotate(-1.5deg)}
}
/* The token poster's fog is the brightest sky of the three: a lighter night falloff (contrast still measured). */
.arcade-poster-two .arcade-poster-art:after{background:linear-gradient(180deg,rgba(6,4,22,.62) 0%,rgba(6,4,22,.58) 8%,rgba(6,4,22,.48) 15%,rgba(6,4,22,.35) 22%,rgba(6,4,22,.22) 29%,rgba(6,4,22,.11) 36%,rgba(6,4,22,.04) 44%,rgba(6,4,22,0) 51%,rgba(6,4,22,0) 64%,rgba(6,4,22,.16) 72%,rgba(6,4,22,.4) 79%,rgba(6,4,22,.66) 86%,rgba(6,4,22,.84) 93%,rgba(6,4,22,.9) 100%)}
/* Portal and commute small print on phones wrap to three lines and climb into the doorway glow and the light trails:
   the falloff starts earlier (the token poster's dark ledge does not need it). */
@media (max-width:760px){.arcade-poster-three .arcade-poster-art:after,.arcade-poster-one .arcade-poster-art:after{background:linear-gradient(180deg,rgba(6,4,22,.86) 0%,rgba(6,4,22,.8) 8%,rgba(6,4,22,.67) 15%,rgba(6,4,22,.49) 22%,rgba(6,4,22,.31) 29%,rgba(6,4,22,.15) 36%,rgba(6,4,22,.05) 44%,rgba(6,4,22,0) 50%,rgba(6,4,22,0) 56%,rgba(6,4,22,.18) 64%,rgba(6,4,22,.44) 71%,rgba(6,4,22,.7) 78%,rgba(6,4,22,.86) 85%,rgba(6,4,22,.93) 92%,rgba(6,4,22,.95) 100%)}}
/* iPhone SE width (380 px and under): the small print wraps to four lines and climbs higher, so the ground falloff
   rises with it and the tracking tightens a little (fewer lines). */
@media (max-width:380px){.arcade-wall-poster small{letter-spacing:.04em}.arcade-poster-art:after,.arcade-poster-two .arcade-poster-art:after,.arcade-poster-three .arcade-poster-art:after,.arcade-poster-one .arcade-poster-art:after{background:linear-gradient(180deg,rgba(6,4,22,.86) 0%,rgba(6,4,22,.8) 8%,rgba(6,4,22,.67) 15%,rgba(6,4,22,.49) 22%,rgba(6,4,22,.31) 29%,rgba(6,4,22,.15) 36%,rgba(6,4,22,.04) 43%,rgba(6,4,22,0) 47%,rgba(6,4,22,.2) 55%,rgba(6,4,22,.5) 63%,rgba(6,4,22,.76) 71%,rgba(6,4,22,.9) 79%,rgba(6,4,22,.95) 87%,rgba(6,4,22,.96) 100%)}}
/* Desktop (over 1000 px): at 1280 px the third poster covered the token poster's logo (phase 3d layout: fixed 270 px
   posters in a cluster that narrows with the window). The phase 3d composition at 1440 px (270 px posters, tops 95 and
   160 px, nothing covered) is kept as is from 1440 px up and scaled with the cluster below that (container units). */
@media (min-width:1001px){
  .arcade-poster-cluster{container-type:inline-size}
  .arcade-wall-poster{--w:min(32.34cqw,270px);width:var(--w);height:calc(var(--w) * 1.5)}
  .arcade-poster-one{top:min(11.38cqw,95px)}
  .arcade-poster-three{top:min(19.16cqw,160px)}
}
/* Small print never runs into the logo: it ends 2% of the poster width before the logo zone starts. */
.arcade-wall-poster small{right:38%}
@media (max-width:760px){.arcade-wall-poster small{right:41%}}
@media (max-width:380px){.arcade-wall-poster small{right:41%}}

/* Phase 4: live leaderboard. Appended last by scripts/build.mjs. The approved phase 3 look is untouched:
   these rules only style the new board, the name step and the number one displays. */
:root{--px:"Lightbox Pixel",ui-monospace,monospace;--vfd:#7DFFE9}

/* ---------- Wall board: a wall-mounted vacuum display ---------- */
.arcade-board{position:relative;width:100%;box-sizing:border-box;padding:12px 12px 10px;border-radius:16px;background:linear-gradient(180deg,#0E0C2A,#060518 60%,#04030F);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 0 1px rgba(53,191,255,.22),0 22px 44px rgba(0,0,0,.55),0 0 46px rgba(0,255,209,.08)}
.arcade-board:before,.arcade-board:after{content:"";position:absolute;top:7px;width:5px;height:5px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#8D89B8,#2A2752 70%);box-shadow:0 1px 0 rgba(0,0,0,.6)}
.arcade-board:before{left:7px}.arcade-board:after{right:7px}
.arcade-board-tabs{display:flex;gap:6px;margin:4px 6px 10px}
.arcade-board-tabs button{flex:1 1 0;min-width:0;min-height:44px;padding:0 8px;border:0;border-radius:10px;background:linear-gradient(180deg,#17143A,#0B0A22);color:var(--arc-mist);font:400 12px/1 var(--px);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:inset 0 -3px 0 rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.07);transition:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.arcade-board-tabs button[aria-selected="true"]{background:linear-gradient(180deg,#5CFFE4,var(--arc-teal));color:#050314;box-shadow:inset 0 2px 0 rgba(0,0,0,.25),0 0 18px rgba(0,255,209,.45)}
.arcade-board-tabs button:focus-visible{outline:2px solid var(--arc-lime);outline-offset:2px}
.arcade-board-display{position:relative;border-radius:10px;padding:8px 10px 6px;background:radial-gradient(ellipse at 50% 0%,rgba(0,255,209,.07),transparent 70%),#020611;box-shadow:inset 0 0 0 1px rgba(0,255,209,.12),inset 0 0 24px rgba(0,0,0,.9);overflow:hidden}
.arcade-board-display:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,rgba(0,0,0,.22) 2px 3px)}
.arcade-board-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(10,auto)}
.arcade-board-rows li{display:grid;grid-template-columns:2.4em minmax(0,1fr) auto;align-items:baseline;column-gap:.6em;min-height:28px;padding:3px 2px;font:400 13px/1.6 var(--px);color:var(--vfd);text-shadow:0 0 6px rgba(0,255,209,.55);white-space:nowrap}
.arcade-board-rows li+li{box-shadow:inset 0 1px 0 rgba(0,255,209,.06)}
.arcade-board-rows li>b{font-weight:400;color:var(--arc-brass);text-shadow:0 0 6px rgba(255,194,71,.45)}
.arcade-board-rows li>span{overflow:hidden;text-overflow:ellipsis;color:#E6FFFA}
.arcade-board-rows li>i{font-style:normal;text-align:right;font-variant-numeric:tabular-nums}
.arcade-board-rows li.is-empty>span{color:#8E8AB8;text-shadow:none}
.arcade-board-rows li.is-you>span,.arcade-board-rows li.is-you>i{color:var(--arc-lime);text-shadow:0 0 10px rgba(216,255,62,.7)}
.arcade-board-rows li:first-child:not(.is-empty)>i{color:var(--arc-snow)}
.arcade-board-status{margin:6px 0 2px;font:400 12px/1.4 var(--px);color:var(--arc-mist);text-align:center!important;letter-spacing:.04em}
.arcade-board-status[hidden]{display:none}
.arcade-board[data-status="unavailable"] .arcade-board-rows{opacity:.28}
.arcade-board[data-status="unavailable"] .arcade-board-status{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);margin:0;padding:10px 12px;font-size:14px;color:var(--arc-snow);text-shadow:0 0 12px rgba(255,45,149,.6);z-index:1}
.arcade-board[data-status="loading"] .arcade-board-rows li>span{animation:arcade-vfd-wait 1.6s ease-in-out infinite}
@keyframes arcade-vfd-wait{50%{opacity:.45}}
.arcade-board-remove{margin:12px 2px 0;font:400 14px/1.45 var(--sans);color:var(--arc-mist)}
.arcade-board-remove a{color:var(--arc-teal);text-decoration:underline;text-underline-offset:3px}
.arcade-board-remove a:focus-visible{outline:2px solid var(--arc-lime);outline-offset:2px;border-radius:2px}

/* Game page: board heads the aside beside the cabinet (desktop) and below the controls (phones) */
.arcade-local-board .arcade-board-kicker{margin-top:6px}
.arcade-local-board .arcade-board{margin-top:14px}
.arcade-local-board .arcade-board-remove{text-align:left!important}
@media(max-width:760px){
 .arcade-local-board .arcade-board-kicker{margin-top:28px}
 .arcade-board-tabs button{min-height:48px;font-size:12px}
 .arcade-board-rows li{min-height:30px;font-size:13px}
}

/* Lobby: the Top Scores wall */
.arcade-score-wall-board{width:min(460px,100%);flex:0 0 auto;position:relative;z-index:1}
@media(max-width:760px){.arcade-score-wall-board{width:100%;margin-top:22px}.arcade-score-wall .arcade-board-remove{text-align:left!important}}

/* ---------- Attract mode: title card and top 10 take turns on the cabinet screen ---------- */
.arcade-attract>:not(.arcade-attract-board){transition:opacity .22s ease .24s}
.arcade-attract-board{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;gap:4px;padding:10px 12px 12px;box-sizing:border-box;container-type:size;opacity:0;visibility:hidden;transition:opacity .22s ease 0s,visibility 0s linear .22s;background:radial-gradient(ellipse at 50% 0%,rgba(0,255,209,.1),transparent 60%),#030512;pointer-events:none}
.arcade-attract-board-title{flex:0 0 auto;font:400 clamp(9px,4.6cqh,13px)/1.2 var(--px);letter-spacing:.14em;text-transform:uppercase;color:var(--arc-teal);text-align:center;text-shadow:0 0 10px rgba(0,255,209,.6)}
.arcade-attract-board .arcade-board-rows{flex:1 1 auto;min-height:0;grid-template-rows:repeat(10,minmax(0,1fr))}
.arcade-attract-board .arcade-board-rows li{min-height:0;padding:0 4px;align-items:center;font-size:clamp(8px,6.2cqh,15px);line-height:1}
[data-attract-page="scores"] .arcade-attract>:not(.arcade-attract-board){opacity:0;transition-delay:0s}
[data-attract-page="scores"] .arcade-attract-board{opacity:1;visibility:visible;transition:opacity .22s ease .24s,visibility 0s linear .22s}

/* ---------- Number one displays (lobby cabinet screen and phone game tile) ---------- */
.arcade-topone{display:flex;align-items:baseline;gap:6px;min-width:0;white-space:nowrap;font:400 10px/1 var(--px);letter-spacing:.06em}
.arcade-topone[data-status="unavailable"]{display:none!important}
.arcade-topone>i{font-style:normal;color:var(--arc-brass);text-shadow:0 0 8px rgba(255,194,71,.55)}
.arcade-topone>b{font-weight:400;color:var(--vfd);text-shadow:0 0 8px rgba(0,255,209,.7)}
.arcade-topone>em{font-style:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--arc-snow)}
.arcade-topone>em:empty{display:none}
.arcade-machine-screen .arcade-topone{position:absolute;z-index:3;left:9%;right:9%;bottom:7%;justify-content:center;transform:none;padding:5px 6px;border-radius:6px;background:rgba(2,3,13,.88);box-shadow:inset 0 0 0 1px rgba(0,255,209,.25);font-size:9px;text-shadow:none}
.arcade-machine-screen .arcade-topone>i{position:static;bottom:auto;font:inherit;color:var(--arc-brass);letter-spacing:.06em}
.arcade-topone-tile{position:absolute;z-index:2;right:14px;bottom:14px;max-width:calc(100% - 28px);padding:7px 9px;box-sizing:border-box;background:#050314;box-shadow:0 0 15px rgba(0,255,209,.28);font-size:9px}

/* ---------- Game over step 1: optional name ---------- */
.arcade-name-step{display:grid;gap:6px;width:100%;max-width:330px;margin:8px auto 0;text-align:left}
.arcade-name-step label{font:700 11px/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--arc-mist)}
.arcade-name-step input{box-sizing:border-box;width:100%;height:46px;padding:0 14px;border:1px solid rgba(53,191,255,.55);border-radius:12px;background:#0B0A22;color:var(--arc-snow);font:500 17px/1.2 var(--sans);caret-color:var(--arc-lime);-webkit-appearance:none;appearance:none}
.arcade-name-step input:focus{outline:2px solid var(--arc-teal);outline-offset:2px;border-color:var(--arc-teal)}
.arcade-name-step input[aria-invalid="true"]{border-color:var(--arc-coral);box-shadow:0 0 0 1px var(--arc-coral)}
.arcade-name-note{margin:0;font:400 12px/1.35 var(--sans);color:var(--arc-mist);text-align:left!important}
.arcade-name-msg{margin:0;min-height:0;font:600 13px/1.35 var(--sans);color:#FF7DBE;text-align:left!important}
.arcade-name-msg:empty{display:none}
.arcade-name-actions{display:flex;gap:8px;margin-top:2px}
.arcade-name-actions button{min-height:46px;border-radius:999px;font:400 12px/1 var(--px);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.arcade-name-post{flex:1.5 1 0;border:0;background:var(--arc-lime);color:#050314;box-shadow:0 0 18px rgba(216,255,62,.35),inset 0 -3px 0 rgba(0,0,0,.2)}
.arcade-name-post:active{transform:translateY(1px);box-shadow:0 0 10px rgba(216,255,62,.3),inset 0 2px 0 rgba(0,0,0,.25)}
.arcade-name-post:disabled{cursor:progress;opacity:.82}
.arcade-name-skip{flex:1 1 0;border:1px solid rgba(201,197,242,.5);background:transparent;color:var(--arc-snow)}
.arcade-name-actions button:focus-visible{outline:2px solid var(--arc-teal);outline-offset:2px}
.arcade-name-overlay.is-busy .arcade-name-post{animation:arcade-vfd-wait 1s ease-in-out infinite}
.arcade-name-check{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.arcade-name-check:has(iframe[style*="visible"]){position:static;width:auto;height:auto;clip-path:none}
.arcade-rank-line{margin:2px 0 6px;max-width:320px;font:400 12px/1.5 var(--px);letter-spacing:.03em;color:var(--vfd);text-align:center!important;text-shadow:0 0 8px rgba(0,255,209,.45)}
.arcade-rank-line[data-tone="top"]{color:var(--arc-lime);text-shadow:0 0 12px rgba(216,255,62,.6)}
.arcade-rank-line[data-tone="muted"]{color:var(--arc-mist);text-shadow:none}
.arcade-rank-line[hidden]{display:none}
.arcade-name-overlay .arcade-scoreline{margin-bottom:2px}
/* Phase 4b: when the name step is taller than the screen (short viewports, keyboard up), it starts at the top and
   scrolls instead of centering past both edges; auto margins still center it whenever it fits. */
.arcade-name-overlay{align-items:flex-start}
.arcade-name-overlay>.arcade-panel{margin-top:auto;margin-bottom:auto}
@media(max-height:620px),(max-width:340px){
 .arcade-name-overlay .arcade-panel h2{font-size:28px!important;margin:2px 0!important}
 .arcade-name-step{gap:5px;margin-top:4px}
 .arcade-name-step input,.arcade-name-actions button{height:44px;min-height:44px}
}

/* Motion Off: no pulses, no attract fades */
html[data-motion="off"] .arcade-board *,html[data-motion="off"] .arcade-attract>*,html[data-motion="off"] .arcade-name-overlay *{animation:none!important;transition:none!important}
/* The attract caption rules from phase 3d position every child; the table is its own full-screen layer. */
.arcade-screen .arcade-attract>.arcade-attract-board{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;flex:none!important;padding:10px 12px 12px!important;z-index:3!important}
/* Step 2 with a rank line: the approved panel nearly fills an SE screen, so the line takes room from spacing only. */
.arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-scoreline{margin-top:4px;margin-bottom:2px}
@media(max-height:700px),(max-width:360px){
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-panel h2{margin-top:0!important;margin-bottom:0!important}
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-kicker{margin-bottom:0!important}
 .arcade-rank-line{font-size:11px;line-height:1.35;margin:0 0 4px}
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-cta{margin-top:6px!important;padding-top:6px!important}
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-restart{margin-top:2px!important;margin-bottom:2px!important}
}
@media(max-height:700px),(max-width:360px){
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-panel{padding-top:4px!important;padding-bottom:4px!important}
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-cta p{margin-top:0!important;margin-bottom:4px!important}
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-scoreline{margin-top:2px;margin-bottom:0}
}
/* Phone landscape and other very short screens: the rank line takes the kicker's slot. */
@media(max-height:420px){
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-kicker{display:none!important}
 .arcade-gameover:has(.arcade-rank-line:not([hidden])) .arcade-panel{gap:2px}
 .arcade-rank-line{order:-1;margin:0 0 2px}
}
@media(max-height:420px){
 .arcade-name-overlay .arcade-kicker{display:none!important}
 .arcade-name-overlay .arcade-panel h2{font-size:24px!important;margin:0!important}
 .arcade-name-overlay .arcade-scoreline{margin:0!important}
 .arcade-name-step{gap:4px;margin-top:2px}
 .arcade-name-note{font-size:11px}
}
/* Scores unavailable: the frame stays (no layout shift) but the rows go dark, so the message never sits on row text. */
.arcade-board[data-status="unavailable"] .arcade-board-rows li>*{visibility:hidden}
.arcade-board[data-status="unavailable"] .arcade-board-rows{opacity:.5}

.arcade-attract-board[data-status="unavailable"]{display:none}
/* While a name is typed the fixed tab bar steps aside, so it can never sit over the field or the buttons. */
html.arcade-typing .arcade-tabs{display:none!important}
.arcade-name-step input::placeholder{color:#8E8AB8;opacity:1}
/* Physical board: a metal bezel around the display, light spilling onto the wall behind it. */
.arcade-board{padding:14px 14px 12px;background:linear-gradient(150deg,#2B2858 0%,#121033 22%,#08071B 55%,#16143A 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(201,197,242,.16),inset 0 0 0 6px rgba(5,3,20,.55),0 26px 50px rgba(0,0,0,.6),0 0 90px rgba(0,255,209,.10)}
.arcade-board:before,.arcade-board:after{top:6px;width:6px;height:6px}
.arcade-board-display{box-shadow:inset 0 0 0 1px rgba(0,255,209,.14),inset 0 2px 10px rgba(0,0,0,.9),0 0 0 3px #04030E}
/* Lobby wall on desktop: headline left, board hung on the wall to the right. */
@media(min-width:1000px){
 .arcade-score-wall{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:6vw!important}
 .arcade-score-wall-board{width:min(560px,44vw)}
 .arcade-score-wall-board .arcade-board-rows li{font-size:15px;min-height:34px}
 .arcade-score-wall-board .arcade-board-tabs button{font-size:13px;min-height:48px}
}
@media(min-width:761px) and (max-width:999px){.arcade-score-wall-board{width:min(560px,100%);margin-top:30px}}
@media(max-width:999px){.arcade-score-wall h2{margin-bottom:8px}}
/* Lobby cabinet: the number one reads across the top of the screen, like an arcade high score line. */
.arcade-machine-screen .arcade-topone{top:6%;bottom:auto;left:7%;right:7%}
/* Step 2 spacing and a clearer rejection message */
@media(min-height:701px) and (min-width:361px){.arcade-rank-line{margin-bottom:10px}}
.arcade-name-msg{font-size:14px;color:#FF8FC8;text-shadow:0 0 10px rgba(255,45,149,.45)}
.arcade-board-rows li{column-gap:1em}
.arcade-board-rows li>i{min-width:3.2em}
.arcade-board[data-status="unavailable"] .arcade-board-status{font-size:16px;letter-spacing:.06em;text-shadow:0 0 14px rgba(255,45,149,.75),0 0 2px #050314}
.arcade-name-msg{font-weight:700;color:#FF5FAE}
.arcade-board-remove{color:#DCD9F7}
/* Accented names (Zoë, Peña, Šimić): the pixel face's Latin-1 and caron letters, downloaded only when a name needs them. */
@font-face{font-family:"Lightbox Pixel";src:url("/assets/arcade/fonts/lightbox-pixel-latin1.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+00A0-00FF,U+0160-0161,U+017D-017E}
.arcade-machine-screen .arcade-topone{font-size:10px}
