:root{--red:#a5102c;--red2:#75091e;--yellow:#ffc928;--gold:#f0a90b;--ink:#fffaf0;--muted:#c9c5bd;--night:#090b12;--panel:#151821;--panel2:#1d202b;--green:#42dd87;--shadow:0 24px 70px rgba(0,0,0,.48)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden;color:var(--ink);background:radial-gradient(circle at 10% 8%,rgba(165,16,44,.24),transparent 26rem),radial-gradient(circle at 88% 34%,rgba(255,201,40,.09),transparent 28rem),var(--night);font-family:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}.stadium-lights{position:fixed;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 12%,rgba(255,255,255,.025) 12.5%,transparent 19%),linear-gradient(245deg,transparent 8%,rgba(255,201,40,.025) 8.5%,transparent 17%)}
.app-shell{position:relative;width:min(1120px,calc(100% - 32px));margin:0 auto;padding:18px 0 max(30px,env(safe-area-inset-bottom))}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.brand{display:inline-flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border:3px solid var(--yellow);border-radius:50% 50% 44% 56%;color:var(--yellow);background:var(--red);box-shadow:0 8px 25px rgba(165,16,44,.4);font-size:1.45rem;font-weight:950;transform:rotate(-5deg)}.brand strong,.brand small{display:block}.brand strong{font-size:1.02rem;letter-spacing:.05em}.brand small{margin-top:3px;color:var(--muted);font-size:.68rem;letter-spacing:.08em}.header-actions{display:flex;gap:9px}.stars-total,.sound-button{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid rgba(255,255,255,.12);border-radius:14px;color:var(--ink);background:#191c25}.stars-total{gap:7px;min-width:75px;padding:0 14px}.sound-button{width:44px;cursor:pointer}.sound-button:hover{background:#252935}
.hero{position:relative;min-height:430px;overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:34px;background:#111723;box-shadow:var(--shadow)}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,7,13,.96) 0%,rgba(4,7,13,.73) 40%,rgba(4,7,13,.12) 72%),linear-gradient(0deg,rgba(4,7,13,.35),transparent 45%)}.hero-copy{position:relative;z-index:1;width:min(54%,560px);padding:clamp(42px,7vw,76px)}.eyebrow,.step-label{margin:0 0 9px;color:var(--yellow);font-size:.76rem;font-weight:950;letter-spacing:.18em}.hero h1{margin:0;font-size:clamp(3rem,7vw,5.8rem);line-height:.84;letter-spacing:-.06em;text-transform:uppercase}.hero-copy>p:not(.eyebrow){max-width:440px;margin:20px 0 27px;color:#dedbd4;font-size:1.03rem;line-height:1.55}.play-now{display:inline-flex;align-items:center;gap:14px;min-height:53px;padding:0 20px;border-radius:15px;color:#2e2100;background:var(--yellow);box-shadow:0 12px 30px rgba(255,201,40,.2);font-weight:950;text-decoration:none}.play-now:hover{transform:translateY(-2px)}.jersey-chip{position:absolute;right:22px;top:20px;display:grid;place-items:center;width:76px;height:88px;border:2px solid rgba(255,201,40,.65);border-radius:18px;color:var(--yellow);background:rgba(117,9,30,.84);backdrop-filter:blur(10px);transform:rotate(4deg)}.jersey-chip small{font-size:.62rem;letter-spacing:.12em}.jersey-chip strong{font-size:2.1rem;line-height:1}
.player-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:12px 0 22px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:#12151d}.player-strip>div{display:flex;align-items:center;justify-content:center;gap:10px;min-height:70px;padding:10px 16px;border-right:1px solid rgba(255,255,255,.08)}.player-strip>div:last-child{border:0}.player-strip p{margin:0}.player-strip small,.player-strip strong{display:block}.player-strip small{color:#777e91;font-size:.62rem;letter-spacing:.13em}.player-strip strong{margin-top:3px;font-size:.91rem}.pulse-dot{width:11px;height:11px;border:3px solid rgba(66,221,135,.25);border-radius:50%;background:var(--green);box-shadow:0 0 14px rgba(66,221,135,.7)}
.game-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.game-tab{position:relative;display:flex;align-items:center;gap:12px;min-height:82px;padding:13px 14px;border:1px solid rgba(255,255,255,.1);border-radius:20px;color:var(--ink);background:#151821;cursor:pointer;text-align:left;transition:transform .2s,background .2s,border-color .2s}.game-tab:hover{transform:translateY(-3px);background:#1d202b}.game-tab.active{border-color:rgba(255,201,40,.7);background:linear-gradient(135deg,rgba(165,16,44,.64),rgba(65,16,28,.82));box-shadow:inset 0 -3px 0 var(--yellow)}.tab-number{position:absolute;right:10px;top:7px;color:rgba(255,255,255,.2);font-size:.66rem}.tab-icon{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;border-radius:15px;color:var(--yellow);background:rgba(255,201,40,.11);font-size:1.4rem;font-weight:950}.game-tab strong,.game-tab small{display:block}.game-tab strong{font-size:.97rem}.game-tab small{margin-top:3px;color:var(--muted);font-size:.76rem}
.game-stage{min-height:590px}.game-panel{overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:30px;background:linear-gradient(145deg,#1a1d27,#101219);box-shadow:var(--shadow)}.game-panel.active{animation:panelIn .32s ease both}.panel-heading{display:flex;justify-content:space-between;gap:24px;padding:27px 30px 19px}.panel-heading h2{margin:0;font-size:clamp(1.65rem,3vw,2.35rem);letter-spacing:-.03em}.panel-heading p:last-child{margin:7px 0 0;color:var(--muted);line-height:1.45}.score-boxes{display:flex;gap:9px}.score-boxes>div{display:grid;place-items:center;min-width:88px;padding:9px 13px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#222632}.score-boxes span{color:#8f95a5;font-size:.72rem}.score-boxes strong{color:var(--yellow);font-size:1.4rem}.score-boxes b{font-weight:inherit}.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px;padding:14px 30px;border-top:1px solid rgba(255,255,255,.08);background:#0c0e14}.panel-footer p{margin:0;font-weight:800}.secondary-button{min-height:44px;padding:0 17px;border:1px solid rgba(255,255,255,.15);border-radius:13px;color:var(--ink);background:#20242e;cursor:pointer}.secondary-button:hover{background:#2a2e3a}
.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(76px,1fr));gap:11px;width:min(680px,calc(100% - 40px));margin:8px auto 28px}.memory-card{position:relative;min-height:106px;border:0;border-radius:18px;background:transparent;cursor:pointer;perspective:700px}.memory-card-inner{position:absolute;inset:0;border-radius:inherit;transform-style:preserve-3d;transition:transform .42s cubic-bezier(.2,.7,.2,1)}.memory-card.flipped .memory-card-inner,.memory-card.matched .memory-card-inner{transform:rotateY(180deg)}.card-face{position:absolute;inset:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:inherit;backface-visibility:hidden}.card-back{color:var(--yellow);background:linear-gradient(145deg,var(--red),var(--red2));font-size:2rem;font-weight:950}.card-front{background:linear-gradient(145deg,#fff7d3,#f5c936);transform:rotateY(180deg);font-size:2.65rem}.memory-card.matched .card-front{box-shadow:inset 0 0 0 4px var(--green);animation:matched .55s ease}
.versus{display:flex;align-items:center;justify-content:center;gap:24px;margin:4px auto 12px;color:var(--muted)}.versus span{display:flex;align-items:center;gap:7px}.versus b{font-size:1.5rem}.versus em{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#221800;background:var(--yellow);font-size:.7rem;font-style:normal;font-weight:950}.ttt-board{display:grid;grid-template-columns:repeat(3,100px);gap:8px;width:max-content;margin:12px auto 34px;padding:9px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:#0d0f15}.ttt-cell{display:grid;place-items:center;width:100px;height:100px;border:1px solid rgba(255,255,255,.1);border-radius:17px;color:var(--yellow);background:#20232d;cursor:pointer;font-size:2.9rem;transition:transform .15s,background .15s}.ttt-cell:hover:empty{transform:scale(.96);background:#292d39}.ttt-cell.cpu{color:#fff}.ttt-cell.win{background:rgba(66,221,135,.25);box-shadow:inset 0 0 0 3px var(--green)}
.penalty-scene{position:relative;min-height:395px;overflow:hidden;margin:0 22px 24px;border-radius:22px;background:linear-gradient(#162b3e 0 48%,#176338 48% 100%)}.penalty-scene:after{content:"";position:absolute;inset:48% 0 0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 55px,rgba(0,0,0,.025) 55px 110px);pointer-events:none}.scoreboard-mini{position:absolute;z-index:3;top:13px;left:50%;display:flex;align-items:center;gap:12px;min-height:34px;padding:0 12px;border-radius:7px;background:#090b10;transform:translateX(-50%);font-size:.66rem;letter-spacing:.08em}.scoreboard-mini strong{color:var(--yellow);font-size:1rem}.goal{position:absolute;z-index:1;left:50%;top:67px;width:min(510px,78%);height:205px;border:9px solid #f1f1ec;border-bottom-width:6px;transform:translateX(-50%);box-shadow:0 5px 0 rgba(0,0,0,.18)}.net{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 22px,rgba(255,255,255,.25) 23px 25px),repeating-linear-gradient(90deg,transparent 0 28px,rgba(255,255,255,.25) 29px 31px)}.goalie{position:absolute;z-index:2;left:50%;bottom:13px;font-size:4.4rem;transform:translateX(-50%);transition:left .42s cubic-bezier(.2,.8,.2,1),transform .42s}.goalie.left{left:17%;transform:translateX(-50%) rotate(-30deg)}.goalie.right{left:83%;transform:translateX(-50%) rotate(30deg)}.ball{position:absolute;z-index:5;left:50%;bottom:86px;font-size:3.15rem;transform:translateX(-50%);transition:left .48s cubic-bezier(.2,.8,.2,1),bottom .48s,transform .48s}.ball.shoot-left{left:24%;bottom:192px;transform:translateX(-50%) scale(.62) rotate(-360deg)}.ball.shoot-center{bottom:192px;transform:translateX(-50%) scale(.62) rotate(-360deg)}.ball.shoot-right{left:76%;bottom:192px;transform:translateX(-50%) scale(.62) rotate(360deg)}.shot-zones{position:absolute;z-index:6;left:50%;bottom:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:min(520px,calc(100% - 24px));transform:translateX(-50%)}.shot-zones button{min-height:50px;border:1px solid rgba(255,255,255,.34);border-radius:13px;color:#fff;background:rgba(4,9,16,.74);backdrop-filter:blur(8px);cursor:pointer;font-weight:850}.shot-zones button:hover{color:#211900;background:var(--yellow)}.shot-zones button:disabled{opacity:.5;cursor:not-allowed}
.trophy-shelf{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:22px;padding:26px 28px;border:1px solid rgba(255,255,255,.1);border-radius:26px;background:linear-gradient(120deg,rgba(165,16,44,.22),#14171f)}.trophy-shelf h2{margin:0;font-size:1.6rem}.badges{display:flex;gap:10px}.badge{display:flex;align-items:center;gap:10px;min-width:180px;padding:11px;border:1px solid rgba(255,201,40,.34);border-radius:16px;background:rgba(255,201,40,.08)}.badge>span{font-size:1.65rem}.badge p{margin:0}.badge strong,.badge small{display:block}.badge strong{font-size:.78rem}.badge small{margin-top:2px;color:var(--muted);font-size:.68rem}.badge.locked{filter:grayscale(1);opacity:.45}.badge:not(.locked){animation:badgePop .6s ease}footer{display:flex;justify-content:space-between;gap:20px;padding:22px 8px 0;color:#777e91;font-size:.76rem}
.toast{position:fixed;z-index:30;left:50%;bottom:max(24px,env(safe-area-inset-bottom));max-width:calc(100% - 28px);padding:13px 18px;border:1px solid rgba(255,201,40,.5);border-radius:14px;color:#241900;background:var(--yellow);box-shadow:0 18px 45px rgba(0,0,0,.45);font-weight:900;opacity:0;pointer-events:none;transform:translate(-50%,20px);transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}.celebration{position:fixed;inset:0;z-index:20;pointer-events:none}.confetti{position:absolute;top:-25px;animation:fall 1.8s ease-in forwards}
.memory-card:focus-visible,.ttt-cell:focus-visible,.shot-zones button:focus-visible,.game-tab:focus-visible,.secondary-button:focus-visible,.sound-button:focus-visible,.play-now:focus-visible{outline:4px solid #fff;outline-offset:3px}
@keyframes panelIn{from{opacity:0;transform:translateY(9px)}}@keyframes matched{50%{transform:scale(1.07)}}@keyframes badgePop{50%{transform:scale(1.08) rotate(-2deg)}}@keyframes fall{to{transform:translateY(105vh) rotate(640deg);opacity:.08}}
@media(max-width:760px){.app-shell{width:min(100% - 18px,640px);padding-top:max(10px,env(safe-area-inset-top))}.topbar{margin-bottom:10px}.brand-mark{width:42px;height:42px}.brand strong{font-size:.9rem}.hero{min-height:375px;border-radius:25px}.hero>img{object-position:62% center}.hero-shade{background:linear-gradient(0deg,rgba(4,7,13,.95),rgba(4,7,13,.08) 75%),linear-gradient(90deg,rgba(4,7,13,.45),transparent)}.hero-copy{position:absolute;left:0;bottom:0;width:100%;padding:24px}.hero h1{font-size:3.05rem}.hero-copy>p:not(.eyebrow){margin:10px 0 17px;font-size:.93rem;line-height:1.4}.play-now{min-height:48px}.jersey-chip{right:13px;top:12px;width:62px;height:73px}.jersey-chip strong{font-size:1.7rem}.player-strip{grid-template-columns:1fr 1fr;margin:9px 0 16px}.player-strip>div{min-height:62px}.player-strip>div:nth-child(2){border-right:0}.player-strip>div:nth-child(3){grid-column:1/-1;border-top:1px solid rgba(255,255,255,.08)}.game-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.game-tab{min-width:82%;min-height:72px;scroll-snap-align:start}.game-stage{min-height:570px}.panel-heading{display:block;padding:22px 18px 17px}.score-boxes{margin-top:16px}.score-boxes>div{flex:1}.memory-grid{grid-template-columns:repeat(3,1fr);width:calc(100% - 24px);gap:8px}.memory-card{min-height:84px}.card-front{font-size:2.15rem}.panel-footer{align-items:stretch;flex-direction:column;padding:14px 18px 17px}.panel-footer p{text-align:center}.ttt-board{grid-template-columns:repeat(3,min(27vw,92px));}.ttt-cell{width:min(27vw,92px);height:min(27vw,92px)}.penalty-scene{min-height:385px;margin:0 10px 18px}.goal{top:76px;width:88%;height:190px;border-width:7px}.ball{bottom:88px}.shot-zones{bottom:14px}.shot-zones button{min-height:48px;font-size:.78rem}.trophy-shelf{display:block;padding:23px 18px}.badges{display:grid;margin-top:18px}.badge{min-width:0}footer{flex-direction:column;align-items:center;gap:6px;text-align:center}}
@media(max-width:390px){.hero{min-height:350px}.hero h1{font-size:2.7rem}.game-tab{min-width:88%}.panel-heading h2{font-size:1.55rem}.memory-card{min-height:78px}.score-boxes>div{min-width:0}.ttt-board{gap:6px;padding:7px}.ttt-cell{font-size:2.4rem}.shot-zones{gap:5px}}
/* The clubhouse: every game is directly reachable on a phone. */
[hidden]{display:none!important}
button{touch-action:manipulation}
.game-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 4px 14px}
.game-menu-heading h2{margin:0;font-size:1.6rem}.game-menu-heading span{font-size:.9rem;color:var(--yellow)}
.game-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}
.game-tab{min-width:0;min-height:120px;flex-direction:column;align-items:flex-start;gap:8px;padding:14px}
.game-tab strong{font-size:.95rem}.game-tab small{font-size:.875rem}
.arena-toolbar{display:flex;justify-content:space-between;gap:12px;padding:14px 5px;color:var(--muted);font-size:.875rem}
.arena-toolbar a{color:var(--yellow);padding:5px 0}.game-stage{scroll-margin-top:12px}
.trophy-shelf{display:block}.badges{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:18px}.badge{min-width:0;flex-direction:column;align-items:flex-start}.badge strong,.badge small{font-size:.875rem}
.extra-body{padding:14px 24px 28px;min-height:300px;display:flex;flex-direction:column;align-items:center;gap:22px}
.extra-body>p{margin:0;line-height:1.5;text-align:center;max-width:36rem}
.arena-button{min-height:52px;min-width:64px;padding:12px 20px;border:1px solid #ffd465;border-radius:14px;background:var(--yellow);color:#261b00;font-weight:850;cursor:pointer}
.arena-button:disabled{opacity:.55;cursor:default}
.extra-body button:focus-visible{outline:3px solid white;outline-offset:4px}
.extra-body button{font-size:1rem}
.pass-pads{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:min(100%,360px)}
.pass-pad{min-height:100px;border:3px solid transparent;border-radius:20px;color:white;font-weight:800;cursor:pointer;transition:filter .1s,transform .1s}
.pad-0{background:#a91539}.pad-1{background:#a57700}.pad-2{background:#165caa}.pad-3{background:#12683f}
.pass-pad.lit{border-color:white;filter:brightness(1.8);transform:scale(.96)}
.kick-score{font-size:3.5rem}.timing-track{position:relative;width:min(100%,520px);height:58px;background:#3d2430;border-radius:18px;border:2px solid #81727a}
.timing-zone{position:absolute;top:0;bottom:0;left:38%;width:24%;background:var(--yellow)}
.timing-needle{position:absolute;top:-8px;bottom:-8px;left:3%;width:6px;transform:translateX(-50%);background:#fff;border-radius:4px;box-shadow:0 0 0 2px #111}
.timing-hint{color:var(--muted);font-size:1rem}
.catch-grid,.number-puzzle{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:min(100%,350px)}
.catch-cell,.puzzle-cell{min-width:0;aspect-ratio:1;border:1px solid #4c4f5c;border-radius:18px;background:#242935;color:#aaa;font-size:2.3rem!important;cursor:pointer}
.catch-cell.has-ball{background:#843125;border-color:var(--yellow);color:white}
.puzzle-cell{background:#9f1731;color:var(--yellow);font-weight:900}.puzzle-cell.blank{background:#090c12;border-style:dashed}
.math-equation{font-size:clamp(2.3rem,8vw,4rem);font-weight:900;color:var(--yellow)}
.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:min(100%,350px)}.answer-grid button{font-size:1.7rem;min-height:72px}
.word-clue{font-size:1.2rem}.word-slots{font-size:clamp(1.2rem,5vw,2rem);font-weight:900;min-height:50px;color:var(--yellow);letter-spacing:.06em;text-align:center}
.letter-bank{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;max-width:500px}
.letter-button{min-width:48px;min-height:56px;padding:8px;border:1px solid var(--yellow);border-radius:12px;background:#722034;color:white;font-size:1.5rem!important;font-weight:900;cursor:pointer}
.letter-button:disabled{opacity:.35}.word-actions{display:flex;gap:10px}
.sudoku-board{display:grid;grid-template-columns:repeat(4,1fr);width:min(100%,340px);border:3px solid var(--yellow)}
.sudoku-cell{aspect-ratio:1;min-width:0;border:1px solid #5a5960;background:#202630;color:white;font-size:1.7rem!important;cursor:pointer}
.sudoku-cell:nth-child(4n+2){border-right:3px solid var(--yellow)}.sudoku-cell:nth-child(n+5):nth-child(-n+8){border-bottom:3px solid var(--yellow)}
.sudoku-cell.clue{background:#393136;color:#f2ce78;font-weight:900}.sudoku-cell.selected{box-shadow:inset 0 0 0 4px white;background:#771731}
.sudoku-keys{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.sudoku-keys .arena-button{min-width:48px;padding:10px 14px}
.extra-score{white-space:nowrap;font-size:1.1rem!important}
.brand small,.player-strip small,.score-boxes span,.step-label,footer{font-size:.875rem}
.hero{min-height:300px}.hero-copy{padding:36px}.hero h1{font-size:4rem}.hero-copy>p:not(.eyebrow){margin:16px 0}.hero .play-now{display:none}
@media(max-width:900px){.game-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.badges{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .hero{min-height:205px}.hero-copy{padding:18px;width:80%}.hero h1{font-size:2.2rem;line-height:.98}
  .hero-copy>p:not(.eyebrow){display:none}.hero .eyebrow{font-size:.875rem}.hero>img{object-position:64% center}
  .player-strip{display:none}.game-menu-heading{margin:18px 3px 12px}.game-menu-heading h2{font-size:1.25rem}.game-menu-heading span{font-size:.875rem}
  .game-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;scroll-snap-type:none}
  .game-tab{min-width:0;min-height:84px;flex-direction:row;align-items:center;padding:9px;gap:8px;border-radius:16px}
  .game-tab strong{font-size:.875rem}.game-tab small{font-size:.875rem;line-height:1.25}
  .tab-icon{width:34px;height:40px;flex-basis:34px;font-size:1.15rem}.tab-number{font-size:.75rem;top:3px;right:6px}
  .arena-toolbar{font-size:.875rem}.arena-toolbar>span{max-width:52%;text-align:right}
  .extra-body{padding:10px 16px 24px}.badges{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand small{font-size:.75rem}.pass-pad{min-height:92px}.sudoku-keys{gap:6px}
  .game-stage{min-height:0}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Arcade club: touch-first games, 21–24. */
.arcade-spotlight{margin:24px 0;padding:24px;border:1px solid #d2a44866;border-radius:24px;background:linear-gradient(120deg,#431c2b,#252836);display:grid;grid-template-columns:1fr 1.35fr;gap:24px;align-items:center}
.arcade-spotlight h2{font-size:clamp(1.35rem,3vw,2rem);line-height:1.15;margin:8px 0 12px}.arcade-spotlight p:last-child{color:#e7cfc0;line-height:1.5;margin:0}
.arcade-picks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.arcade-picks button{color:#ffda65;background:#ffffff09;border:1px solid #ffffff24;border-radius:14px;padding:16px;text-align:left;cursor:pointer;font:800 1rem inherit;min-height:85px}.arcade-picks button span{display:block;font-weight:400;font-size:.85rem;color:#eee0d4;margin-top:6px}.arcade-picks button:hover{background:#ffffff14;border-color:#ffc928}
.arcade-tab{border-color:#b9904655;background:linear-gradient(145deg,#3a2831,#202b36)}.arcade-tab .tab-number{color:#ffda65}.arcade-tab{padding-top:22px}
.arcade-body{width:min(100%,520px);margin:auto;padding:0 20px 24px;box-sizing:border-box}.arcade-panel .panel-heading{padding-bottom:18px}
.arcade-hud{display:flex;justify-content:space-between;gap:8px;padding:14px 2px;color:#e8dbbf;font-size:.875rem;font-variant-numeric:tabular-nums}.arcade-hud strong{color:#ffdc57;margin-left:4px}.arcade-life{color:#ffb8c2}
.arcade-stage{position:relative;aspect-ratio:9/10;width:100%;overflow:hidden;border:2px solid #5b695a;border-radius:18px;background:#102c29;touch-action:none;user-select:none;-webkit-user-select:none}
.arcade-stage canvas{display:block;width:100%;height:100%}.arcade-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:#081d24ed;color:#fff;pointer-events:none}.arcade-overlay[hidden]{display:none}.arcade-overlay-icon{font-size:3.5rem}.arcade-overlay h3{font-size:1.8rem;margin:16px 0 6px}.arcade-overlay p{color:#e9d6b8;line-height:1.5}
.arcade-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:14px 0}.arcade-actions button{min-height:48px;flex:1;padding:12px;white-space:nowrap}.arcade-actions .arcade-primary{flex-basis:100%;background:#ffcf41;color:#26180a}.arcade-actions [hidden]{display:none!important}.arcade-actions button:disabled{opacity:.45;cursor:default}
.arcade-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:270px;margin:12px auto}.arcade-direction{border:1px solid #7c7052;border-radius:14px;background:#313546;color:#ffdd66;min-height:54px;font-size:1.9rem;font-weight:800;cursor:pointer;touch-action:none}.arcade-direction:active{background:#9c2338;color:white}.arcade-direction:disabled{opacity:.35}.direction-up{grid-column:2}.direction-left{grid-column:1;grid-row:2}.direction-down{grid-column:2;grid-row:2}.direction-right{grid-column:3;grid-row:2}.two-directions{grid-template-columns:1fr 1fr;max-width:none}.two-directions .direction-left{grid-column:1;grid-row:1}.two-directions .direction-right{grid-column:2;grid-row:1}
.arcade-message{text-align:center;min-height:2.8em;color:#ffe296;font-size:.95rem;line-height:1.45}.arcade-hint{text-align:center;color:#b7bdc9;font-size:.8rem;line-height:1.65}.arcade-stage:focus-visible,.arcade-direction:focus-visible,.arcade-picks button:focus-visible{outline:3px solid #ffcf41;outline-offset:3px}
.merge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;padding:10px;height:100%;box-sizing:border-box;background:#262433}.merge-tile{display:flex;align-items:center;justify-content:center;min-width:0;border-radius:10px;background:#383443;font-weight:900;font-size:clamp(1.15rem,5vw,2.2rem);color:#27181c;box-shadow:inset 0 1px #ffffff13}.merge-tile[data-level="1"]{background:#eee0bb}.merge-tile[data-level="2"]{background:#efca74}.merge-tile[data-level="3"]{background:#f2ab53}.merge-tile[data-level="4"]{background:#ee8248}.merge-tile[data-level="5"]{background:#d9523c;color:#fff}.merge-tile[data-level="6"]{background:#b52c41;color:#fff}.merge-tile[data-level="7"]{background:#942a4e;color:#fff}.merge-tile[data-level="8"]{background:#784477;color:#fff}.merge-tile[data-level="9"]{background:#ffd341;box-shadow:inset 0 0 0 3px #fff0a0}.merge-tile[data-level="10"]{background:#b7dc79}.merge-tile[data-level="11"]{background:#77dac0}
@media(max-width:760px){.arcade-spotlight{grid-template-columns:1fr;padding:18px;gap:18px}.arcade-picks button{padding:12px;min-height:82px}.arcade-body{padding:0 14px 20px}.arcade-tab{padding-top:20px}.arcade-hud{font-size:.8rem}.arcade-overlay h3{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){.confetti{display:none}}

/* Games 11–20: large touch controls and compact, readable boards. */
.game-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.game-filters button{min-height:44px;padding:9px 16px;border:1px solid #50505e;border-radius:24px;color:var(--ink);background:#191d28;font-size:.875rem;font-weight:800;cursor:pointer}
.game-filters button[aria-pressed=true]{color:#261b00;background:var(--yellow);border-color:var(--yellow)}
.game-filters button:focus-visible{outline:3px solid white;outline-offset:3px}
.four-legend{display:flex;justify-content:space-between;width:min(100%,440px);font-weight:800}
.four-board,.four-controls{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;width:min(100%,440px)}
.four-board{padding:7px;border:2px solid #606b80;border-radius:16px;background:#202c44;margin-top:-15px}
.four-cell{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;background:#0c101c;color:#626b80;font-size:1.9rem;line-height:1}
.four-cell.player-1{color:#ffc928;background:#70511b}.four-cell.player-2{color:#ff6b80;background:#711b33}
.four-drop{min-height:48px;min-width:0;padding:4px 0;border:1px solid #988045;border-radius:9px;color:var(--yellow);background:#302d2c;cursor:pointer;font-weight:800}
.four-drop:disabled{opacity:.4}
.maze-board{display:grid;grid-template-columns:repeat(6,1fr);width:min(100%,372px);background:#202b35;border:2px solid #ffc928}
.maze-cell{display:grid;place-items:center;aspect-ratio:1;border:2px solid transparent;min-width:0;font-size:1.7rem}.maze-cell.current{background:#622035}
.direction-pad{display:grid;grid-template-columns:repeat(3,minmax(64px,1fr));gap:8px;width:min(100%,320px)}
.direction-button{min-height:52px;padding:8px;border:1px solid #887b54;border-radius:12px;color:var(--ink);background:#29303c;cursor:pointer;font-weight:800}
.dir-0{grid-column:2;grid-row:1}.dir-1{grid-column:3;grid-row:2}.dir-2{grid-column:2;grid-row:2}.dir-3{grid-column:1;grid-row:2}
.lights-board{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:min(100%,330px)}
.light-cell{aspect-ratio:1;min-width:0;border:2px solid #5d6070;border-radius:18px;background:#161d2a;color:#9eabc1;font-size:2.2rem!important;cursor:pointer}
.light-cell.on{background:#796315;border-color:#ffc928;box-shadow:inset 0 0 22px #ffc92844}
.mystery-number{display:grid;place-items:center;width:150px;min-height:120px;border:2px solid var(--yellow);border-radius:24px;color:var(--yellow);background:#7c1730;font-size:3rem;font-weight:900}
.mystery-number small{font-size:.875rem;letter-spacing:.1em}
.guess-form{display:grid;gap:12px;width:min(100%,340px)}.guess-form label{font-weight:800}
.guess-form input{min-height:56px;width:100%;padding:10px 16px;border:2px solid #847555;border-radius:12px;color:white;background:#181d28;font-size:1.4rem}
.guess-form input:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.guess-history{overflow-wrap:anywhere;color:var(--muted)}
.quiz-question{font-size:1.4rem;font-weight:850;max-width:520px!important}
.quiz-options{display:grid;gap:12px;width:min(100%,450px)}.quiz-options button{text-align:left;white-space:normal}
.odd-board,.order-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(100%,400px)}
.odd-cell,.order-cell{display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:48px;padding:4px;border:1px solid #5e5868;border-radius:14px;background:#272d3b;color:var(--yellow);font-size:2rem!important;cursor:pointer;font-weight:900}
.order-cell{background:#771c32}.odd-cell.found,.order-cell.found{border-color:var(--green);background:#204837;color:#b9f5d2}
.order-cell:disabled{opacity:.6}
.reaction-target{width:min(100%,400px);min-height:210px;padding:24px;border:3px solid var(--yellow);border-radius:26px;background:#273144;color:white;font-size:1.7rem!important;font-weight:900;cursor:pointer}
.reaction-target.waiting{background:#881831;border-color:#ff8c9b}.reaction-target.ready{background:#147746;border-color:#8af0b2}
.reaction-target:disabled{cursor:default;opacity:.7}
.rps-duel{font-size:1.6rem;min-height:80px;display:flex;align-items:center;justify-content:center;gap:14px;text-align:center;line-height:1.5;max-width:100%}
.rps-duel span{font-size:1rem;color:var(--yellow)}.rps-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.rps-options button{min-height:70px}
.color-word{font-size:clamp(2rem,10vw,4rem);font-weight:950;letter-spacing:.05em;text-align:center}
@media(max-width:390px){.game-menu-heading{flex-wrap:wrap;gap:6px}.four-board,.four-controls{gap:3px}.four-board{padding:4px}.four-cell{font-size:1.5rem}.odd-cell,.order-cell{font-size:1.6rem!important}.maze-cell{font-size:1.35rem}.game-filters button{padding:9px 12px}.rps-options{gap:6px}.rps-options button{padding:12px}}
