@import "https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@600;700;800;900&display=swap";
:root{--ink:#132346;--muted:#72809a;--blue:#315efb;--yellow:#ffcf48;--paper:#f4f6fb;--line:#e6eaf3}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Noto Sans TC,sans-serif;font-size:16px}button,input,select{font:inherit}button{cursor:pointer;color:var(--ink);background:#edf1fa;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:800;transition:transform .15s,background .15s,box-shadow .15s;display:inline-flex}button:hover{background:#e1e8f8;transform:translateY(-2px)}button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:default;transform:none}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline-offset:3px;outline:3px solid #ffb52e}h1,h2,h3,p{margin:0}p{line-height:1.8}h1{letter-spacing:-1px;font-size:30px;font-weight:900}h2{font-size:22px;font-weight:900}h3{font-size:19px;font-weight:900}.app{min-height:100vh}.sidebar{z-index:30;border-right:1px solid var(--line);background:#fff;flex-direction:column;width:228px;padding:28px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{background:0 0;justify-content:flex-start;gap:10px;margin-bottom:47px;padding:0}.brand>span{letter-spacing:1px;text-align:left;flex-direction:column;font-family:Barlow Condensed,sans-serif;font-size:24px;font-weight:900;line-height:.88;display:flex}.brand>span>span{color:var(--blue);margin-top:6px}.brand-dot{color:#ffc94a;margin-left:2px}.brand-icon{background:var(--blue);color:#fff;border-radius:13px;place-items:center;width:47px;height:47px;display:grid;transform:rotate(-5deg);box-shadow:0 4px #1a36ba}.nav-label{letter-spacing:2px;color:#a1abc0;margin-bottom:14px;padding-left:15px;font-family:Barlow Condensed,sans-serif;font-size:13px;font-weight:800}nav{flex-direction:column;gap:7px;display:flex}nav button{color:#7c89a2;background:0 0;justify-content:flex-start;padding:14px 16px;font-size:15px;font-weight:700;position:relative}nav button.active{color:var(--blue);background:#edf1ff}nav button.active:before{content:"";background:var(--blue);border-radius:0 3px 3px 0;width:4px;height:26px;position:absolute;left:-18px}nav small{color:var(--blue);background:#dbe3ff;border-radius:5px;margin-left:auto;padding:2px 5px;font-size:12px}.nav-new{color:#b58015;background:#fff0d2;border-radius:5px;margin-left:auto;padding:3px 5px;font-family:Barlow Condensed,sans-serif;font-size:12px}.sidebar-bottom{margin-top:auto;padding-top:25px}.hero-mini{background:#f4f7fd;border:1px solid #e7edf8;border-radius:13px;align-items:center;gap:0;margin-top:20px;margin-bottom:23px;display:flex}.hero-mini canvas{margin-left:-10px}.hero-mini>div{flex-direction:column;margin-left:-6px;display:flex}.hero-mini b{font-family:Barlow Condensed,sans-serif;font-size:23px}.hero-mini span{color:#7f8ba1;margin:2px 0 7px;font-size:12px}.hero-mini button{color:var(--blue);background:0 0;justify-content:flex-start;padding:0;font-size:12px}.settings-link{color:#8792a6;background:0 0;justify-content:flex-start;padding:10px 15px;font-size:14px}.guest-label{color:#a0a9ba;padding:12px 15px;font-size:12px}.main{margin-left:228px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:16px;height:83px;padding:0 36px;display:flex}.breadcrumb{color:#929bb0;align-items:center;gap:12px;font-size:14px;display:flex}.breadcrumb b{color:#223359;font-weight:700}.top-actions{align-items:center;gap:13px;display:flex}.wallet{color:#b68412;white-space:nowrap;background:#fff8e5;border:1px solid #ffefc4;border-radius:9px;align-items:center;gap:7px;padding:7px 12px;font-size:14px;display:flex}.wallet.gems{color:#2ba881;background:#edfbf5;border-color:#d5f4e8}.sound-button{color:#7b86a0;background:0 0;width:38px;height:38px;padding:8px}.profile-button{text-align:left;background:0 0;margin-left:9px;padding:0}.profile-button>span{color:#315af7;background:#dce6ff;border:3px solid #fff;border-radius:12px;outline:1px solid #d4dff7;place-items:center;width:40px;height:40px;display:grid}.profile-button>div{flex-direction:column;gap:4px;display:flex}.profile-button b{font-size:13px}.profile-button small{color:#8e99af;letter-spacing:1.3px;font-family:Barlow Condensed,sans-serif;font-size:12px}main{max-width:1600px;margin:auto;padding:30px 36px 18px}.page-title{justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px;display:flex}.eyebrow{letter-spacing:1.7px;color:#8c96ad;font-family:Barlow Condensed,Noto Sans TC,sans-serif;font-size:12px;font-weight:800}.page-title .eyebrow{margin-bottom:6px}.search{color:#97a1b5;background:#fff;border:1px solid #e6eaf3;border-radius:9px;align-items:center;gap:10px;width:250px;padding:11px 14px;display:flex}.search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:14px}.search kbd{background:#f3f5fa;border-radius:4px;padding:1px 5px}.lobby-row{grid-template-columns:minmax(0,1fr) 254px;gap:22px;margin-bottom:30px;display:grid}.hero-banner{background:var(--arena-accent);isolation:isolate;border-radius:17px;min-height:285px;position:relative;overflow:hidden;box-shadow:0 7px #dce4f7}.hero-banner img{object-fit:cover;object-position:center 49%;z-index:-2;width:78%;height:100%;position:absolute;right:-4%}.hero-overlay{background:linear-gradient(90deg,var(--arena-accent) 0%,color-mix(in srgb,var(--arena-accent) 95%,transparent) 24%,color-mix(in srgb,var(--arena-accent) 30%,transparent) 48%,transparent 72%);z-index:-1;position:absolute;inset:0}.hero-text{padding:24px 30px}.season{letter-spacing:1.6px;color:#fff8d0;background:#ffffff18;border:1px solid #ffffff38;border-radius:5px;margin-bottom:13px;padding:5px 10px;font-family:Barlow Condensed,sans-serif;font-size:12px;font-weight:800;display:inline-block}.hero-text h2{color:#fff;letter-spacing:-1.5px;font-size:39px;font-weight:900;line-height:1.22}.hero-text h2 span{color:#ffd54a}.hero-text p{color:#e2e9ff;margin:10px 0 16px;font-size:13px}.yellow{background:var(--yellow);color:#162548;border:1px solid #ffe187;box-shadow:0 4px #dbab2b}.yellow:hover{background:#ffdc70;box-shadow:0 5px #dbab2b}.hero-text .yellow{padding:11px 18px;font-size:14px}.hero-foot{color:#c1d0fa;margin-top:12px;font-size:12px;display:block}.mission-card{background:#fff;border:1px solid #e5eaf4;border-radius:16px;flex-direction:column;padding:21px;display:flex}.row{align-items:center;gap:12px;display:flex}.between{justify-content:space-between}.mission-card h3{margin:15px 0 7px;font-size:23px;line-height:1.45}.mission-card p{color:#8690a5;font-size:13px}.mission-progress{background:#edf1f9;border-radius:7px;height:7px;margin:16px 0 10px;overflow:hidden}.mission-progress span{background:#3864ff;border-radius:7px;height:100%;transition:width .4s;display:block}.mission-card .row b{color:#315efb;font-size:13px}.mission-card .row>span{color:#8a96ad;font-size:12px}.mission-card>button{background:#f1f5fd;justify-content:space-between;width:100%;margin-top:auto;padding:9px 12px;font-size:13px}.section-title{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.section-title h2{align-items:center;gap:9px;font-size:20px;display:flex}.section-title h2>span{letter-spacing:1px;color:#97a2b8;margin-left:4px;font-family:Barlow Condensed,Noto Sans TC,sans-serif;font-size:12px;font-weight:600}.section-title>button{color:#7f8ba3;background:0 0;padding:4px 0;font-size:12px}.section-title .filter-toggle{background:#e8edf9;padding:7px 11px;font-size:12px}.featured-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.featured{margin-bottom:30px}.game-card{background:#fff;border:1px solid #e2e8f3;border-radius:13px;transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden}.game-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #1e3b7012}.card-main{text-align:left;background:#fff;border-radius:0;width:100%;padding:0;display:block}.card-main:hover{background:#fff;transform:none}.game-preview{border-bottom:1px solid #e6edf7;place-items:center;height:145px;display:grid;position:relative;overflow:hidden}.featured-grid .game-preview{height:152px}.preview-tag{letter-spacing:.6px;color:#d5e5ff;background:#ffffff18;border:1px solid #ffffff1c;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700;position:absolute;top:13px;left:13px}.game-number{opacity:.2;font-family:Barlow Condensed,sans-serif;font-size:37px;position:absolute;bottom:10px;right:15px}.card-copy{padding:14px 16px 13px}.card-copy .eyebrow{letter-spacing:.7px;font-size:10px}.card-copy h3{margin:5px 0 9px;font-size:17px}.card-meta{color:#a1adc2;justify-content:space-between;align-items:center;font-size:12px;display:flex}.card-meta svg{color:var(--blue)}.favorite{color:#a9bedf;background:#152e66a8;border-radius:7px;padding:7px;position:absolute;top:11px;right:11px}.favorite:hover{background:#264278}.favorite.saved{color:#ffcf4a}.snake-preview{width:132px;height:85px;position:relative}.snake-preview span{background:#43e5ae;border-radius:6px;width:27px;height:27px;position:absolute;box-shadow:0 0 17px #43e5ae77,0 4px #258379}.snake-preview span:first-child{top:50px;left:0}.snake-preview span:nth-child(2){top:50px;left:30px}.snake-preview span:nth-child(3){top:50px;left:60px}.snake-preview span:nth-child(4){top:20px;left:60px}.snake-preview span:nth-child(5){background:#ffd351;top:20px;left:90px;box-shadow:0 0 20px #ffd35177,0 4px #b6943c}.snake-preview i{background:#ff6f9c;border-radius:3px;width:13px;height:13px;position:absolute;top:25px;right:-15px;transform:rotate(25deg);box-shadow:0 0 15px #ff6f9c}.mini-2048{grid-template-columns:repeat(2,46px);gap:7px;display:grid;transform:rotate(-8deg)}.mini-2048 span{color:#273552;background:#ffd350;border-radius:7px;place-items:center;width:46px;height:43px;font-family:Barlow Condensed,sans-serif;font-size:24px;display:grid;box-shadow:0 4px #b38b35}.mini-2048 span:nth-child(2){background:#fff0ab}.mini-2048 span:nth-child(3){background:#ff9950}.mini-2048 span:nth-child(4){background:#ff718b}.mini-memory{gap:6px;display:flex;transform:rotate(-8deg)}.mini-memory span{color:#ffee9a;background:#876ce5;border:2px solid #b49af5;border-radius:7px;place-items:center;width:34px;height:68px;font-size:25px;display:grid;box-shadow:0 4px #4b3c94}.mini-memory span:first-child,.mini-memory span:last-child{color:#9470e5;background:#e2d2ff}.category-tabs{flex-wrap:wrap;gap:8px;margin-bottom:21px;display:flex}.category-tabs button{color:#7d89a1;white-space:nowrap;background:#fff;border:1px solid #e4eaf5;border-radius:8px;padding:9px 14px;font-size:13px;font-weight:600}.category-tabs button.active{color:#fff;background:#315efb;border-color:#315efb;box-shadow:0 3px #2446c6}.category-tabs small{opacity:.7;font-size:11px}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.game-grid .game-preview{height:130px}.game-grid .card-copy h3{font-size:15px}.empty{text-align:center;color:#8b9bb8;background:#fff;border:1px dashed #d8e1f1;border-radius:14px;flex-direction:column;align-items:center;gap:15px;padding:48px 25px;display:flex}.empty h3{color:#344d77}.empty p{font-size:14px}.empty button{margin-top:7px}.brawler-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;display:grid}.brawler-card{text-align:center;background:#fff;background:linear-gradient(160deg,#fff,color-mix(in srgb,var(--hero-color) 8%,white));border:1px solid #e0e7f3;border-radius:14px;flex-direction:column;align-items:center;padding:15px 12px;display:flex;position:relative}.brawler-card.selected{border:2px solid #3f67ff}.brawler-card .rarity{color:#99a4b9;align-self:flex-start;font-size:11px}.brawler-card h3{font-family:Barlow Condensed,sans-serif;font-size:26px}.brawler-card p{color:#6d7e9d;margin:5px 0;font-size:13px}.brawler-card button{width:100%;margin-top:17px;padding:10px 5px;font-size:13px}.roster-intro{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:25px;margin-bottom:25px;padding:15px 24px;display:flex}.roster-intro h2{font-family:Barlow Condensed,sans-serif;font-size:30px}.roster-intro h2 span{color:#315efb;font-size:16px}.roster-intro p{font-size:14px}.roster-intro>button{white-space:nowrap;margin-left:auto}.muted{color:#8592ac;font-size:13px;line-height:1.8}.shop-banner{color:#245e62;background:#dff7f1;border:1px solid #c1ede1;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:25px;padding:23px 28px;display:flex}.shop-banner .eyebrow{color:#499f8d}.shop-banner h2{margin:8px 0}.shop-banner p{color:#5d958d;font-size:13px}.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:18px;display:grid}.shop-card{background:#fff;border:1px solid #e3eaf4;border-radius:14px;overflow:hidden}.item-art{place-items:center;height:150px;display:grid}.item-copy{padding:17px}.item-copy h3{margin:7px 0 18px;font-size:16px}.item-copy button{width:100%;font-size:14px}.notice{color:#778aa9;background:#edf1fa;border-radius:10px;margin-top:22px;padding:16px;font-size:13px;line-height:1.8}.leader-toolbar{align-items:center;gap:20px;margin-bottom:24px;display:flex}.leader-toolbar select{color:#334c78;background:#fff;border:1px solid #dce3f1;border-radius:9px;padding:11px 17px}.leader-panel{background:#fff;border:1px solid #e2e8f3;border-radius:14px;overflow:hidden}.leader-head,.leader-row{grid-template-columns:80px 1fr 140px;align-items:center;gap:16px;padding:19px 27px;display:grid}.leader-head{color:#8a97b0;background:#eef2fa;font-size:13px}.leader-row{border-bottom:1px solid #edf1f8;font-size:15px}.leader-row strong{color:#315efb}.local-title{margin:30px 0 20px}.settings-panel{background:#fff;border:1px solid #e2e9f5;border-radius:15px;max-width:760px;padding:28px}.settings-panel label{border-bottom:1px solid #e8edf7;justify-content:space-between;align-items:center;padding:24px 0;display:flex}.settings-panel p{color:#8594ad;margin:8px 0 17px;font-size:13px}.settings-panel input{accent-color:#315efb;width:24px;height:24px}.settings-panel h2:not(:first-child){margin-top:28px}footer{color:#a1adbf;border-top:1px solid #e3e8f1;justify-content:space-between;gap:12px;margin-top:35px;padding-top:20px;font-size:11px;display:flex}footer span:first-child{letter-spacing:1.4px;font-family:Barlow Condensed,sans-serif;font-size:12px;font-weight:800}footer b{color:#d9b555;margin:0 5px}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:100;background:#071631bf;justify-content:center;align-items:center;padding:20px;animation:.18s fadeIn;display:flex;position:fixed;inset:0}.game-modal{background:#f5f7fc;border-radius:18px;width:min(920px,100%);max-height:94dvh;animation:.24s pop;overflow:auto;box-shadow:0 20px 100px #00163d60}.game-modal>header{z-index:2;background:#fff;border-bottom:1px solid #e1e8f4;align-items:center;gap:15px;padding:17px 24px;display:flex;position:sticky;top:0}.game-modal header h2{margin-top:3px;font-size:21px}.game-modal header .eyebrow{font-size:11px}.game-modal header>button:last-child{background:0 0;padding:7px}.back-button{background:#eef2fb;padding:9px}.game-mode{color:#8b97ae;margin-left:auto;font-size:12px}.action-game,.puzzle-game{padding:22px}.game-toolbar{color:#8d99b0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;font-size:13px;display:flex}.game-toolbar b{color:#315efb;margin-left:5px;font-size:19px}.small{padding:8px 12px;font-size:13px}.action-game canvas{object-fit:contain;touch-action:none;background:#091d46;border-radius:12px;width:100%;height:auto;max-height:58dvh;display:block}.instructions{color:#8b98b0;text-align:center;margin:17px 0;font-size:13px}.touch-controls{touch-action:none;justify-content:center;align-items:center;gap:10px;display:flex}.touch-controls button{touch-action:none;background:#e5ebf9;min-width:45px;padding:8px 15px;font-size:20px}.opponents{color:#8193b0;justify-content:space-between;gap:16px;max-width:560px;margin:0 auto 20px;font-size:13px;display:flex}.board{aspect-ratio:1;background:#b1c3de;border:9px solid #25416e;border-radius:12px;gap:1px;max-width:520px;margin:auto;display:grid;box-shadow:0 6px #193156}.board button{aspect-ratio:1;background:#e2e8ef;border-radius:0;padding:0;position:relative}.board button:hover{background:#fff2c3}.board button:disabled{opacity:1}.board button span{border-radius:50%;width:73%;height:73%;box-shadow:inset 0 -4px 5px #0002,0 2px 3px #0003}.p1 span{background:#152c55}.p2 span{background:#ffda62}.board.othello{background:#163c33;border-color:#17372e;gap:2px}.board.othello button{background:#4a987a}.board.othello .p1 span{background:#142e2b}.board.othello .p2 span{background:#eef4eb}.board.othello small{color:#cae9ce;font-size:30px}.board.connect{aspect-ratio:7/6;background:#2148a5;border-color:#2148a5;gap:7px}.board.connect button{background:#122952;border-radius:50%}.board.connect .p1 span{background:#ff719f}.board.connect .p2 span{background:#ffcf48}.tiles{gap:10px;max-width:480px;margin:12px auto;display:grid}.grid4{grid-template-columns:repeat(4,1fr)}.grid5{grid-template-columns:repeat(5,1fr)}.grid8{grid-template-columns:repeat(8,1fr);gap:4px}.tile{aspect-ratio:1;background:#e1e8f5;border-radius:12px;place-items:center;font-family:Barlow Condensed,sans-serif;font-size:36px;font-weight:800;animation:.2s pop;display:grid}.tile-2{color:#2c9a7e;background:#dcf5ec}.tile-4{color:#3180ac;background:#c4e9f8}.tile-8{color:#a47b21;background:#ffecac}.tile-16{color:#986425;background:#ffce7e}.tile-32{color:#923f35;background:#ffa186}.tile-64{color:#fff;background:#ff7da0}.tile-128,.tile-256,.tile-512,.tile-1024,.tile-2048{color:#fff;background:#9775ee;box-shadow:0 0 20px #a78ae644}.memory-card{aspect-ratio:1;color:#bdcaff;background:#5369c7;border:3px solid #788fef;font-size:36px;transition:transform .4s;box-shadow:0 4px #34488e}.memory-card:hover{background:#637bdc}.memory-card.revealed{color:#6243a5;background:#ece5fd;border-color:#e0d2fa;transform:rotateY(360deg)}.light{aspect-ratio:1;color:#4b638f;background:#253a64;border:2px solid #375581;font-size:26px}.light.on{color:#af8631;background:#ffe183;border-color:#fff0b6;box-shadow:0 0 18px #ffe18355}.grid8 button{aspect-ratio:1;background:#dce5f5;border:2px solid #c9d5e8;border-radius:5px;min-width:0;padding:0;font-size:20px}.grid8 button.mine-open{color:#416397;background:#f0f3f9;border-color:#e0e8f5}.hanoi{grid-template-columns:repeat(3,1fr);gap:12px;max-width:600px;margin:25px auto;display:grid}.hanoi>button{background:#e7edf9;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-width:0;height:230px;padding:0 0 25px;display:flex;position:relative}.hanoi .pole{background:#a7b8d4;border-radius:5px;width:9px;height:170px;position:absolute;top:20px;left:calc(50% - 4px)}.hanoi .disc{z-index:1;border:2px solid #fff8;border-radius:8px;height:26px;font-size:13px}.hanoi span{color:#758bb2;font-size:12px;position:absolute;bottom:3px;left:0;right:0}.hanoi .selected{outline:3px solid #ffc94a}.sudoku{background:#b5c4df;border:4px solid #b5c4df;grid-template-columns:repeat(9,1fr);gap:2px;max-width:500px}.sudoku input{aspect-ratio:1;text-align:center;color:#315efb;background:#fff;border:0;outline:0;width:100%;min-width:0;font-size:24px}.sudoku input.given{color:#233c68;background:#ecf1f9;font-weight:800}.sudoku input.incorrect{color:#e65476;background:#ffe1e7}.sudoku input:nth-child(3n){border-right:3px solid #9dafd0}.sudoku input:nth-child(n+19):nth-child(-n+27),.sudoku input:nth-child(n+46):nth-child(-n+54){border-bottom:3px solid #9dafd0}.soko{gap:3px;max-width:540px}.soko>div{aspect-ratio:1;background:#dee8f6;border-radius:5px;place-items:center;font-size:30px;display:grid}.soko .wall{background:#385176;box-shadow:inset 0 -4px #273d5d}.soko .goal{background:#ffedb2}.targets{max-width:560px}.targets button{aspect-ratio:1;color:#a6b7d3;background:#dce5f6;border:3px solid #cad8ee;border-radius:50%;padding:0;font-size:52px}.targets button.active{background:#ffe6ae;border-color:#ffd255;animation:.2s pop}.targets.dual{max-width:750px}.targets.dual button{font-size:35px}.rhythm{background:#122953;border:5px solid #253e72;border-radius:15px;grid-template-columns:repeat(4,1fr);gap:3px;max-width:480px;height:350px;margin:20px auto;display:grid;overflow:hidden}.rhythm button{background:#1e3964;border-radius:0;display:block;position:relative;overflow:hidden}.rhythm .note{background:#48e9bd;border-radius:4px;width:60%;height:15px;position:absolute;left:20%;box-shadow:0 0 20px #48e9bd66}.rhythm .hitline{background:#ffdb59;height:5px;position:absolute;top:87%;left:0;right:0;box-shadow:0 0 20px #ffdb59}.stack-stage{background:#0f2a50;border-radius:13px;width:400px;max-width:100%;height:420px;margin:20px auto;position:relative;overflow:hidden}.stack-stage div{border-bottom:4px solid #0002;border-radius:3px;height:23px;position:absolute}.rps-health{color:#f57c9e;justify-content:space-between;max-width:500px;margin:20px auto;font-weight:800;display:flex}.rps-choices{justify-content:center;gap:20px;margin:45px 0;display:flex}.rps-choices button{background:#e0e7fa;border:3px solid #c9d5f3;width:120px;height:120px;font-size:60px;box-shadow:0 6px #b2c1e4}.card-table{color:#c9f0dd;background:#226757;border-radius:15px;min-height:290px;margin-bottom:20px;padding:22px}.card-table p{margin:5px 0;font-size:13px}.card-table>div{gap:10px;min-height:98px;display:flex}.card-table span{color:#183354;background:#fffdf7;border-radius:7px;width:60px;height:85px;padding:14px 12px;font-size:23px;font-weight:800;animation:.3s deal;box-shadow:0 5px #164c43}.card-table small{font-size:16px;display:block}.game-message{text-align:center;color:#4e6b99;min-height:35px;margin-top:20px;padding:8px;font-size:14px}.completed .game-message{color:#278f74;font-weight:800}.auth-modal{background:#fff;border-radius:18px;width:440px;max-width:100%;padding:32px;animation:.2s pop;position:relative;box-shadow:0 20px 90px #00163355}.auth-modal h2{margin:24px 0 8px}.auth-modal>p{color:#8795b0;margin-bottom:22px;font-size:14px}.auth-modal form label{margin:18px 0;font-size:14px;font-weight:700;display:block}.auth-modal input{border:1px solid #dbe4f3;border-radius:9px;width:100%;margin-top:8px;padding:13px;font-size:14px}.auth-modal form button{width:100%}.auth-modal .muted{margin:24px 0 0;font-size:12px}.close-modal{background:0 0;padding:6px;position:absolute;top:14px;right:14px}.error{background:#fff0f3;padding:12px;color:#d75577!important;margin-bottom:16px!important;font-size:13px!important}.toast{color:#fff;z-index:150;background:#172c50;border:1px solid #4a628b;border-radius:12px;align-items:center;gap:12px;max-width:90%;padding:15px 18px;font-size:14px;animation:.2s fadeIn;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0c224c44}.toast>svg{color:#ffd44b;flex-shrink:0}.toast button{color:#adc3e6;background:0 0;flex-shrink:0;padding:0}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reduce-motion button:hover{transform:none}.reduce-motion .hero-mini canvas{visibility:visible}@keyframes pop{0%{opacity:.5;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes deal{0%{opacity:0;transform:translate(50px,-25px)rotate(15deg)}to{opacity:1;transform:none}}@media (min-width:1500px){main{padding:36px 48px}.hero-banner{min-height:320px}.hero-text{padding:30px 35px}.hero-text h2{font-size:48px}.game-preview{height:170px}.game-grid .game-preview{height:150px}.featured-grid .game-preview{height:175px}}@media (max-width:1200px){.sidebar{width:195px;padding:24px 13px}.main{margin-left:195px}.topbar{padding:0 25px}main{padding:25px}.game-grid,.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brawler-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lobby-row{grid-template-columns:minmax(0,1fr) 215px;gap:16px}.hero-text{padding:24px}.hero-banner img{width:90%;right:-19%}.mission-card h3{font-size:21px}.section-title h2>span{display:none}.brand>span{font-size:21px}.hero-mini canvas{width:75px!important;height:75px!important}}@media (max-width:960px){.sidebar{width:82px;padding:25px 13px}.main{margin-left:82px}.brand>span,.nav-label,nav button span,nav small,.nav-new,.sidebar-bottom{display:none}.brand{justify-content:center;margin-bottom:40px}.brand-icon{width:44px;height:44px}nav button{justify-content:center;padding:17px}.topbar{padding:0 22px}.profile-button>div{display:none}.page-title h1{font-size:25px}.search{width:210px}.lobby-row{grid-template-columns:1fr 220px}.hero-text h2{font-size:32px}.hero-text p{font-size:12px}.hero-text{padding:23px}.hero-banner img{width:100%;right:-28%}.hero-banner{min-height:280px}.brawler-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.roster-intro{flex-wrap:wrap;gap:14px}.roster-intro p{max-width:300px}.roster-intro>button{margin-left:0}.game-grid{gap:14px}.card-copy{padding:12px}.game-grid .card-copy h3{font-size:14px}.card-meta{font-size:11px}}@media (max-width:720px){.sidebar{background:#fff;border-top:1px solid #e2e9f5;border-right:0;width:100%;height:65px;padding:0;inset:auto 0 0;box-shadow:0 -3px 20px #294b7511}.sidebar .brand{display:none}nav{flex-direction:row;justify-content:space-around;gap:0;width:100%;height:100%}nav button{border-radius:0;flex-direction:column;flex:1;gap:4px;padding:11px 9px}nav button span{font-size:10px;display:inline}nav button.active:before{border-radius:0 0 3px 3px;width:50%;height:3px;top:0;left:25%}nav button .nav-new{display:none}.main{margin-left:0;padding-bottom:65px}.topbar{height:66px;padding:0 18px}.breadcrumb{gap:5px;font-size:12px}.top-actions{gap:7px}.wallet{gap:4px;padding:6px 8px;font-size:12px}.wallet svg{width:15px}.profile-button{margin-left:2px}.profile-button>span{width:33px;height:33px;font-size:12px}.sound-button{width:30px;height:30px;padding:4px}main{padding:22px 18px}.page-title{flex-wrap:wrap;gap:15px;margin-bottom:20px}.page-title h1{font-size:25px}.page-title .eyebrow{font-size:10px}.search{width:100%;padding:10px 13px}.lobby-row{grid-template-columns:1fr;gap:18px;margin-bottom:24px}.hero-banner{min-height:288px}.hero-text{padding:24px}.hero-text h2{font-size:37px}.hero-text p{max-width:200px;font-size:12px}.hero-banner img{object-position:center;width:95%;right:-25%}.hero-overlay{background:linear-gradient(90deg,#214bdc 0%,#214bdcf0 28%,#214bdc30 64%,#214bdc00)}.mission-card{grid-template-columns:1fr 1fr;gap:5px 16px;padding:17px;display:grid}.mission-card>.row:first-child{grid-column:1/-1}.mission-card h3{margin:4px 0;font-size:17px;line-height:1.6}.mission-card h3 br{display:none}.mission-card p{align-self:center;font-size:12px}.mission-card .mission-progress{grid-column:1/-1;margin:7px 0}.mission-card>button{grid-area:4/2}.mission-card>.row:nth-last-child(2){grid-area:4/1}.featured-grid{gap:10px}.featured-grid .game-preview{height:100px}.featured-grid .preview-tag{display:none}.featured-grid .card-copy{padding:10px}.featured-grid .card-copy h3{font-size:13px}.featured-grid .card-meta span{display:none}.featured-grid .card-copy .eyebrow{font-size:9px}.featured-grid .game-number{font-size:24px;bottom:7px;right:8px}.featured-grid .favorite{padding:4px;top:6px;right:6px}.featured-grid .snake-preview{transform:scale(.67)}.featured-grid .mini-2048{transform:scale(.65)rotate(-8deg)}.featured-grid .mini-memory{transform:scale(.64)rotate(-8deg)}.section-title h2{font-size:17px}.section-title h2 svg{width:21px}.section-title>button{font-size:11px}.game-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.game-grid .game-preview{height:120px}.game-grid .card-meta span{white-space:nowrap;text-overflow:ellipsis;max-width:90%;overflow:hidden}.category-tabs{gap:6px}.category-tabs button{padding:8px 11px;font-size:12px}.brawler-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.brawler-card canvas{width:130px!important;height:130px!important}.roster-intro{padding:14px}.roster-intro canvas{width:110px!important;height:110px!important}.roster-intro>div{flex:1}.roster-intro p{font-size:12px}.roster-intro .muted{font-size:11px}.roster-intro button{width:100%}.shop-banner{padding:20px}.shop-banner h2{font-size:20px}.shop-banner>svg{flex-shrink:0;width:45px;margin-left:10px}.shop-banner p{font-size:11px}.item-art{height:130px}.item-copy{padding:13px}.item-copy h3{font-size:14px}.item-copy button{padding:9px;font-size:12px}.leader-head,.leader-row{grid-template-columns:40px 1fr 70px;padding:17px 14px;font-size:13px}.leader-toolbar{flex-wrap:wrap;gap:10px}.leader-toolbar select{font-size:14px}.settings-panel{padding:20px}.settings-panel h2{font-size:19px}.settings-panel label b{font-size:14px}footer{flex-direction:column;font-size:10px}.modal-backdrop{padding:8px}.game-modal{border-radius:13px;max-height:95dvh}.game-modal>header{gap:9px;padding:13px}.game-modal header h2{font-size:18px}.game-modal .game-mode{font-size:10px}.action-game,.puzzle-game{padding:14px}.game-toolbar{gap:10px;font-size:12px}.game-toolbar .row{gap:7px}.game-toolbar .small{padding:7px 9px;font-size:11px}.opponents{gap:8px;font-size:11px}.board{border-width:5px}.tiles{gap:7px}.tile{font-size:30px}.memory-card{font-size:29px}.grid8{gap:3px}.grid8 button{font-size:16px}.sudoku{gap:1px}.sudoku input{font-size:19px}.soko>div{font-size:24px}.targets button{font-size:40px}.hanoi{gap:5px}.hanoi .disc{max-width:95%;font-size:10px}.hanoi>button{height:210px}.instructions{font-size:12px}.rps-choices{gap:10px}.rps-choices button{width:90px;height:90px;font-size:43px}.auth-modal{max-height:92dvh;padding:25px;overflow:auto}.auth-modal h2{font-size:22px}.toast{width:max-content;max-width:92%;padding:12px 14px;font-size:12px;bottom:80px}.game-message{font-size:12px}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}
