:root{color:#211b35;font-synthesis:none;--paper:#f7f3e9;--white:#fffdf7;--ink:#211b35;--muted:#5f5870;--line:#ded7e8;--accent:#523bc4;--lime:#d2f58d;--radius:24px;--gutter:clamp(16px, 4.5vw, 48px);--accent-soft:#eee8fd;--edge:#302446;--focus:#6640ee;background:#f7f3e9;font-family:Avenir Next,Trebuchet MS,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:var(--accent);text-underline-offset:.16em}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button,select{cursor:pointer}button:disabled{opacity:.51;cursor:default}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}h1,h2,h3,p{margin:0}p{color:var(--muted);line-height:1.55}h1,h2,h3{letter-spacing:-.035em;line-height:1.12}#root{flex-direction:column;min-height:100svh;display:flex}.skip{z-index:10;background:var(--white);padding:.6rem;position:fixed;top:1rem;left:1rem;transform:translateY(-200%)}.skip:focus{transform:translateY(0)}.site-header{background:var(--white);border-bottom:1px solid var(--line)}.header-inner{max-width:1280px;min-height:72px;padding:12px var(--gutter);grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;gap:12px clamp(14px,3vw,34px);margin:auto;display:grid}.brand,.brand-mark,.site-header nav,.site-header nav a,.header-tools,.button,.offline-pill,.profile-heading{align-items:center;display:flex}.brand{width:fit-content;color:var(--ink);letter-spacing:-.062em;white-space:nowrap;gap:10px;min-height:44px;font-size:clamp(1.2rem,2.3vw,1.55rem);font-weight:900;text-decoration:none}.brand-name>span{color:var(--accent)}.brand-mark{background:var(--accent);color:#fff;width:37px;height:29px;box-shadow:2px 2px 0 var(--ink);letter-spacing:0;border-radius:8px;justify-content:space-between;padding-inline:7px;font-size:15px;transform:rotate(-8deg)}.brand-mark i{color:var(--lime);font-size:11px;font-style:normal;transform:rotate(-30deg)}.site-header nav{gap:4px}.site-header nav a{color:var(--muted);white-space:nowrap;border-radius:11px;gap:7px;min-height:44px;padding:7px 11px;font-size:.93rem;font-weight:700;text-decoration:none}.site-header nav a[aria-current],.site-header nav a:hover{color:var(--ink);background:var(--accent-soft)}.header-tools{justify-self:end;gap:8px}.icon{flex:none;width:1.12em;height:1.12em;display:block}.square,.language-button{border:1px solid var(--line);background:var(--white);min-width:44px;height:44px;color:var(--ink);border-radius:11px;place-items:center;padding:0 7px;font-weight:850;display:grid}.header-install{color:var(--accent);justify-content:center;align-items:center;gap:7px;display:inline-flex}.header-install[aria-expanded=true]{background:var(--accent-soft)}.header-install-label{display:none}.square:hover,.language-button:hover,.button:hover{filter:brightness(.95)}.square:active,.language-button:active,.button:active{filter:brightness(.88)}.button{border:1px solid var(--line);background:var(--white);min-height:44px;color:var(--ink);border-radius:12px;justify-content:center;gap:8px;padding:8px 15px;font-weight:800;line-height:1.22;text-decoration:none;display:inline-flex}.button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.button.small{padding-inline:12px;font-size:.89rem}.account-link{white-space:nowrap;background:var(--ink);color:#fff;border-color:var(--ink);font-size:.9rem}main{width:100%;max-width:1160px;padding:clamp(28px, 5vw, 62px) var(--gutter) 48px;flex:1;margin-inline:auto}main:focus-visible{outline:none}main:focus-visible h1{outline:3px solid var(--focus);outline-offset:5px;border-radius:3px;width:fit-content}.game-page{padding-top:clamp(12px,2vw,26px)}.catalog-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:clamp(22px,3vw,36px);display:flex}.catalog-heading h1{letter-spacing:-.07em;overflow-wrap:anywhere;font-size:clamp(2.7rem,7.5vw,5.75rem);font-weight:900}.catalog-heading p{margin-top:8px;font-size:clamp(1rem,2vw,1.14rem)}.offline-pill{color:#36501c;background:#e9f2d6;border:1px solid #d8e7be;border-radius:99px;flex-shrink:0;align-self:end;gap:7px;padding:7px 11px;font-size:.81rem;font-weight:800}.status-dot{background:#4e721d;border-radius:50%;width:8px;height:8px}.game-art{isolation:isolate;place-items:center;height:clamp(170px,23vw,250px);display:grid;position:relative;overflow:hidden}.game-art:before{content:"";z-index:-1;aspect-ratio:1;background:repeating-radial-gradient(circle,#0000 0 16px,#22154a20 17px 18px,#0000 19px 30px);border-radius:50%;width:112%;position:absolute}.chess-art{background:#ad9afa}.cube-art{background:#d7f094}.sudoku-art{background:#aee2eb}.tictactoe-art{background:#ffcb9b}.tile-merge-art{background:#e9b5ea}.tile-merge-art-board{aspect-ratio:1;border:2px solid var(--edge);background:#3a2b58;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(65%,143px);padding:5px;font-size:clamp(.68rem,3vw,1.65rem);font-weight:900;display:grid;transform:rotate(-12deg);box-shadow:5px 6px #42285955}.tile-merge-art-board span{border-radius:6px;place-items:center;line-height:1;display:grid;box-shadow:inset 0 -3px #382b5633}.tile-merge-art-board span:first-child{background:#91ebc9}.tile-merge-art-board span:nth-child(2){background:#a9d6fc}.tile-merge-art-board span:nth-child(3){background:#bbaafb}.tile-merge-art-board span:nth-child(4){background:#f49ad3}.sudoku-art-board{aspect-ratio:1;border:2px solid var(--edge);background:var(--edge);color:#254d63;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;width:min(66%,145px);font-size:clamp(.7rem,3vw,1.7rem);font-weight:900;display:grid;overflow:hidden;transform:rotate(10deg);box-shadow:5px 7px #2e566c4d}.sudoku-art-board>span{background-color:#f4fbfc;background-image:linear-gradient(#b6d7dd 1px,#0000 1px),linear-gradient(90deg,#b6d7dd 1px,#0000 1px);background-position:0 0;background-repeat:repeat;background-size:33.3333% 33.3333%;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;place-items:center;line-height:1;display:grid}.sudoku-art-board>span:nth-child(2n){background-color:#d6edf1}.ttt-art-board{aspect-ratio:1;background:var(--edge);border-radius:13px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:min(56%,155px);padding:5px;font-size:clamp(1rem,4vw,1.75rem);font-weight:900;display:grid;transform:rotate(-10deg);box-shadow:3px 6px #33294b38}.ttt-art-board span{background:#fff8ea;border-radius:5px;place-items:center;line-height:1;display:grid}.ttt-art-board [data-mark=X]{color:var(--accent);background:#e6f3b9}.ttt-art-board [data-mark=O]{color:#a03924}.default-art{background:#ffd5aa;font-size:5rem}.art-spark{color:#fffdf7;font-size:clamp(24px,5vw,50px);line-height:1;position:absolute}.art-spark-a{top:17%;left:12%}.art-spark-b{font-size:clamp(20px,3.4vw,34px);bottom:15%;right:12%}.beyblade-art{background:radial-gradient(at 48% 63%,#5a6da2,#232854 65%,#151834)}.art-beyblade-rail{aspect-ratio:1.8;background:repeating-radial-gradient(#cad9fa25 0 1px,#0000 2px 14px);border:clamp(2px,.65vw,5px) solid #b8fb72;border-radius:50%;width:70%;max-width:280px;position:absolute;transform:rotate(-11deg);box-shadow:0 0 10px #b8fb7294,inset 0 0 22px #101d5080}.art-beyblade-top{aspect-ratio:1.4;background:radial-gradient(ellipse at center, var(--top-core) 0 15%, #202740 17% 26%, var(--top-shell) 28% 44%, transparent 46%), conic-gradient(from 12deg, #586784 0 10%, #eef5ff 12% 23%, #8796b5 24% 36%, #d4e7ff 37% 54%, #687892 55% 66%, #eff7ff 67% 80%, #8b9cb6 81% 94%, #d9ecff 95%);width:29%;max-width:107px;box-shadow:0 6px 0 var(--top-shell), 0 12px 12px #060b22b0;border-radius:48%;position:absolute;transform:rotate(-18deg)}.art-beyblade-first{--top-core:#d894fb;--top-shell:#6d3aa1;top:42%;left:23%}.art-beyblade-second{--top-core:#a8f5ff;--top-shell:#196786;top:28%;right:23%}.chess-art-board{aspect-ratio:1;z-index:-1;background:conic-gradient(#5a43c6 25%, #e9e1ff 0 50%, #5a43c6 0 75%, #e9e1ff 0) 0 0 / 25% 25%;border:5px solid #211b35;border-radius:6px;width:min(43%,205px);position:absolute;top:65%;left:49%;transform:translate(-50%,-50%)rotate(-28deg)skew(15deg,6deg)scaleY(.58);box-shadow:-11px 14px #211b35}.art-piece{color:#fff9e8;text-shadow:4px 5px #211b35,-2px -2px #211b35;font-family:Apple Symbols,DejaVu Sans,serif;font-size:clamp(104px,16vw,184px);line-height:.87;transform:translate(15%,-9%)rotate(-13deg)}.art-cube{aspect-ratio:1;width:clamp(70px,11vw,118px);position:relative;transform:translate(-10%,22%)rotate(-11deg)}.art-face{background:#211b35;border-radius:4px;grid-template-columns:repeat(3,1fr);gap:3px;width:100%;height:100%;padding:5px;display:grid;position:absolute}.art-face i{background:#f15873;border-radius:3px}.art-face-front i:nth-child(3n){background:#ffdc68}.art-face-front i:nth-child(n+7){background:#fa8b61}.art-face-top{transform-origin:0 100%;transform:translateY(-100%)skew(-43deg)scaleY(.55)}.art-face-top i{background:#ffe070}.art-face-top i:nth-child(2n){background:#fef6cf}.art-face-side{transform-origin:0 100%;transform:translate(100%)skewY(-47deg)scaleX(.51)}.art-face-side i{background:#7663e1}.art-face-side i:nth-child(2n){background:#29aba0}.art-shadow{background:#25371938;border-radius:50%;width:40%;height:19%;position:absolute;bottom:12%;left:32%}.game-card .game-art{flex:1;height:auto;min-height:0;container-type:size}.game-card .chess-art-board{width:min(43%,110cqh)}.game-card .art-piece{font-size:min(90cqh,184px)}.game-card .art-cube{width:min(55cqh,118px)}.game-card .sudoku-art-board{width:min(66%,72cqh,145px)}.game-card .ttt-art-board{width:min(56%,72cqh,155px)}.game-card .tile-merge-art-board{width:min(65%,72cqh,143px)}.game-card .art-beyblade-rail{width:min(70%,125cqh,280px)}.game-card .art-beyblade-top{width:min(29%,50cqh,107px)}.game-page-heading{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:8px 16px;margin-bottom:16px;display:flex}.game-page-heading h1{overflow-wrap:anywhere;font-size:clamp(2.25rem,5.4vw,3.9rem)}.back-link{align-items:center;gap:7px;min-height:44px;font-size:.94rem;font-weight:750;display:inline-flex}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(17px,3.4vw,32px)}.panel+.panel,.tutorial:not([hidden])+*,.game-setup+*,.room-status+*{margin-top:18px}.panel h1{margin-bottom:16px;font-size:clamp(2.1rem,5vw,3.7rem)}.panel h2{margin:0 0 10px}.panel p+*,.panel form+*,.panel .badges+*{margin-top:13px}.form-panel{max-width:550px}.panel form,.panel label{gap:8px;display:grid}.panel label{width:fit-content;max-width:100%;color:var(--ink);font-weight:750}.form-panel label{width:100%}.panel input,.panel select{min-height:44px;color:var(--ink);background:#fff;border:1px solid #9990ae;border-radius:10px;min-width:0;max-width:100%;padding:7px 10px}.panel small{color:var(--muted);font-weight:600}.form-actions,.panel form.inline-form,.inline-form,.match-options,.room-entry-actions{flex-wrap:wrap;align-items:end;gap:9px;display:flex}.game-loading{padding:12px 0}.issue{color:#a42d4c;font-weight:750}.online-entry{border-top:1px solid var(--line);margin-top:21px;padding-top:18px}.room-entry-actions input{width:100%;max-width:170px}.match-options{align-items:center;margin-top:14px}.room-code{color:var(--accent);letter-spacing:.19em;font-size:clamp(2.2rem,7vw,4rem);font-weight:900}.room-status{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.profile-heading,.friends-list li{gap:12px}.profile-heading{margin-bottom:22px}.profile-heading h1{overflow-wrap:anywhere;margin:0 0 5px}.profile-bests{margin-block:20px}.profile-bests dl{max-width:34rem;margin:0}.profile-bests dl>div{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:7px 0;display:flex}.profile-bests dd{font-variant-numeric:tabular-nums;margin:0;font-weight:750}.avatar{color:#4326aa;background:#ded4ff;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;font-size:21px;display:inline-grid}.avatar-1{color:#315313;background:#e4f5c7}.avatar-2{color:#7d350b;background:#ffe4bb}.avatar-3{color:#932843;background:#f7d7e0}.profile-heading .avatar{border-radius:18px;width:65px;height:65px;font-size:37px}.account-link .avatar{width:23px;height:23px;font-size:15px}.tag{color:var(--accent);font-weight:850}.badges,.friends-list{padding:0;list-style:none}.badges{flex-wrap:wrap;gap:8px;display:flex}.badges li{background:#ede7fc;border-radius:9px;padding:6px 10px;font-weight:750}.friends-list li{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;padding:8px 0;display:flex}.friends-list li>div{overflow-wrap:anywhere;min-width:0}.friends-list small{display:block}.friends-list .form-actions{margin-left:auto}.friend-code{-webkit-user-select:all;user-select:all;margin-left:5px;font-family:ui-monospace,monospace}.leaderboard{border-collapse:collapse;text-align:left;width:100%;margin-top:15px}.leaderboard th,.leaderboard td{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:8px 4px}.leaderboard td:last-child,.leaderboard th:last-child{text-align:right}.leaderboard td:last-child{font-variant-numeric:tabular-nums}.unverified{display:block}.site-footer{width:100%;max-width:1160px;padding:8px var(--gutter) max(16px, env(safe-area-inset-bottom));justify-content:flex-end;margin-inline:auto;display:flex}.policy-document{overflow-wrap:anywhere;max-width:70ch;margin-inline:auto}.policy-document h1{font-size:clamp(2rem,5vw,3.5rem)}.policy-document h1+p,.policy-document h2+p{margin-top:8px}.policy-document section{margin-top:24px}.policy-links{flex-wrap:wrap;gap:8px 18px;font-size:.9rem;display:flex}.policy-links a{align-items:center;min-height:44px;display:inline-flex}.policy-document>.policy-links,main>.policy-links{margin-top:20px}.install-instructions{grid-column:1/-1;width:min(100%,420px);margin-inline-start:auto;padding:16px;font-size:.9rem;font-weight:500}@media (width>=1100px){.header-install{padding-inline:11px;font-size:.89rem}.header-install-label{display:inline}}@media (width<=960px){.header-inner{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding-block:8px}.site-header nav{flex-wrap:wrap;grid-area:2/1/auto/-1}.header-tools{grid-area:1/2}}@media (width<=590px){.catalog-heading{flex-direction:column;align-items:start;margin-bottom:22px}.offline-pill{align-self:start}.site-header nav a{flex:1 0 auto;justify-content:center;gap:5px;padding-inline:6px;font-size:.86rem}.header-tools{gap:6px}.brand{gap:7px;font-size:1.15rem}.account-link{padding-inline:8px}}@media (width<=475px){.brand-mark{display:none}}@media (width<=400px){.brand-name{line-height:.95}.brand-name>span{display:block}}@media (width<=355px){.header-inner{column-gap:5px}.header-tools{gap:4px}.brand-mark{display:flex}.brand-name,.site-header nav a .icon{display:none}}.platform-header .header-inner{grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr)}.platform-header .brand-name,.platform-header .brand-name>span{display:inline}.platform-header .brand{letter-spacing:-.065em}.emvibe-mark{background:var(--accent);border-radius:9px;flex:none;justify-content:center;align-items:center;gap:2px;width:30px;height:30px;display:inline-flex}.emvibe-mark i{background:var(--white);border-radius:3px;width:3px;height:9px;transform:rotate(25deg)}.emvibe-mark i:nth-child(2){background:var(--lime);height:15px}.emvibe-mark i:nth-child(3){height:12px}a.language-button{color:var(--ink);text-decoration:none}.platform-header .arcade-nav{max-width:1280px;padding:0 var(--gutter) 8px;flex-wrap:wrap;align-items:center;gap:4px;margin:0 auto;display:flex}.section-overflow{position:relative}.section-overflow summary{cursor:pointer;padding:12px 8px;font-weight:700}.section-overflow>div{z-index:4;border:1px solid var(--line);background:var(--white);border-radius:12px;min-width:max-content;padding:5px;position:absolute;inset-inline-end:0}.platform-header .install-instructions{margin:0 var(--gutter) 12px auto;width:min(calc(100% - 2 * var(--gutter)), 420px)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.emvibe-search{min-width:0}.emvibe-search label,.emvibe-filter-group legend{margin-bottom:6px;font-size:.9rem;font-weight:800;display:block}.emvibe-search-field{background:var(--white);min-height:52px;color:var(--accent);border:1px solid #8575a4;border-radius:14px;align-items:center;gap:9px;padding-inline:14px;display:flex}.emvibe-search-field:focus-within{outline:3px solid var(--focus);outline-offset:2px}.emvibe-search-field input{color:var(--ink);background:0 0;border:0;width:100%;min-width:0;padding:8px 0}.emvibe-search-field input:focus-visible{outline:0}.emvibe-browse{flex-wrap:wrap;gap:7px 10px;margin-top:13px;display:flex}.emvibe-browse a{background:#f9f4ff;border:1px solid #bdacd9;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:7px 12px;font-weight:850;text-decoration:none;display:inline-flex}.emvibe-browse a:hover{background:var(--white);text-decoration:underline}.emvibe-items{gap:9px;margin:0;padding:0;list-style:none;display:grid}.emvibe-item{background:var(--white);border:1px solid var(--line);min-height:83px;color:var(--ink);border-radius:15px;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 13px;text-decoration:none;display:grid}.emvibe-item:hover{border-color:var(--accent)}.emvibe-item:hover strong{text-decoration:underline}.emvibe-item>.icon{color:var(--accent)}.emvibe-item-copy{overflow-wrap:anywhere;gap:3px;display:grid}.emvibe-item-copy>span{color:var(--muted);font-size:.9rem;line-height:1.4}.tool-tile-icon,.emvibe-thumb{border-radius:12px;width:50px;height:50px;display:grid;overflow:hidden}.tool-tile-icon{color:var(--accent);background:#f0e7fc;place-items:center;font-size:1.2rem}.emvibe-thumb .game-art{transform-origin:0 0;width:160px;height:160px;transform:scale(.3125)}.emvibe-tool-filters{flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:18px;display:flex}.emvibe-tool-filters .emvibe-search{flex:220px}.emvibe-filter-group{border:0;flex-wrap:wrap;gap:7px;min-width:0;margin:0;padding:0;display:flex}.emvibe-filter-group [aria-pressed=true]{color:var(--white);background:var(--accent);border-color:var(--accent)}.game-page-heading h1+p{max-width:62ch;margin-top:6px}.not-found{padding:clamp(16px,4vw,34px)}.not-found h1{margin-bottom:12px}@media (width<=960px){.platform-header .header-inner{grid-template-columns:minmax(0,1fr) auto}}@media (width<=590px){.games-header .header-inner{flex-wrap:wrap;justify-content:space-between;display:flex}.games-header .header-inner>nav{flex-basis:100%;order:1}.games-header .header-tools{flex-wrap:wrap;margin-inline-start:auto}}@media (width<=390px){.platform-header .brand{gap:4px}.emvibe-mark{border-radius:7px;width:22px;height:22px}.platform-header .brand-name{font-size:1rem}.platform-header .arcade-nav a{flex-grow:0}}.platform-search-dialog{border:1px solid var(--line);background:var(--white);width:min(36rem,100% - 32px);max-height:calc(100% - 32px);color:var(--ink);border-radius:16px;padding:clamp(16px,4vw,24px);overflow:auto}.platform-search-dialog::backdrop{background:#080b14aa}.platform-search-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;display:flex}.platform-search-title h2{font-size:1.35rem}.platform-search-dialog .platform-search-field{border:1px solid var(--line);min-height:48px;color:var(--accent);border-radius:10px;align-items:center;gap:9px;padding-inline:12px;display:flex}.platform-search-dialog .platform-search-field:focus-within{outline:2px solid var(--focus);outline-offset:2px}.platform-search-dialog .platform-search-field input{width:100%;min-width:0;min-height:44px;color:var(--ink);background:0 0;border:0;padding:0}.platform-search-dialog .platform-search-field input:focus-visible{outline:none}.platform-search-dialog .platform-search-results{max-height:min(24rem,54vh);margin-top:12px;overflow:auto}.platform-search-dialog .platform-search-results h3{color:var(--muted);padding:6px 8px;font-size:.92rem}.platform-search-dialog .platform-search-results p{padding-block:6px}.platform-search-dialog .platform-search-results ul{margin:0;padding:0;list-style:none}.platform-search-results a{overflow-wrap:anywhere;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:7px 8px;display:flex}.platform-search-results a:focus-visible{outline-offset:-2px}.platform-search-shortcut{align-items:center;gap:8px;min-height:44px;margin-top:8px;display:flex}.platform-search-shortcut input{margin:0}#root:has(.header-search-button[data-shortcut-disabled]) .platform-search-field kbd{display:none}.homepage-header .platform-search-dialog{--ink:var(--home-text);--muted:var(--home-muted);--accent:var(--home-cyan);--white:var(--home-surface);--line:#587586}@font-face{font-family:Inter;src:url(/fonts/inter-latin.woff2)format("woff2");font-weight:400 750;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;src:url(/fonts/inter-vietnamese.woff2)format("woff2");font-weight:400 750;font-display:swap;unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;src:url(/fonts/space-grotesk-latin.woff2)format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;src:url(/fonts/space-grotesk-vietnamese.woff2)format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}#root:has(>.homepage){background:#080b14}.homepage,.homepage-header{--home-bg:#080b14;--home-surface:#101522;--home-text:#edf3ff;--home-muted:#abb8cf;--home-line:#293248;--home-cyan:#66e7f5;--home-violet:#a38bf9;--home-heading:"Space Grotesk", "Avenir Next", system-ui, sans-serif;--home-mono:ui-monospace, "SF Mono", Consolas, monospace;--home-gutter:clamp(20px, 4vw, 36px);--home-width:calc(1160px + 2 * var(--home-gutter));--focus:var(--home-cyan);color:var(--home-text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Inter,Avenir Next,system-ui,sans-serif}.homepage-header.platform-header{background:var(--home-bg);border-color:var(--home-line)}.homepage-header.platform-header .header-inner{max-width:var(--home-width);min-height:76px;padding:12px var(--home-gutter);grid-template-columns:max-content 1fr auto;gap:6px clamp(22px,5vw,62px)}.homepage-header.platform-header .brand{color:var(--home-text);font:700 clamp(1.25rem, 2.4vw, 1.55rem) / 1 var(--home-heading);letter-spacing:-.045em}.homepage-header.platform-header .brand-name{font-size:inherit}.homepage-header .brand-name>span{color:var(--home-text)}.homepage-header .emvibe-mark{border-radius:8px;width:29px;height:29px}.homepage-header.platform-header nav a{min-height:44px;color:var(--home-muted);font-weight:550}.homepage-header.platform-header nav a:is(:hover,[aria-current]){color:var(--home-text);background:var(--home-surface)}.homepage-header .header-tools{gap:8px}.homepage-header :is(.square,.language-button,.header-search-button){color:var(--home-text);background:var(--home-surface);border-color:var(--home-line)}.homepage-header .language-button{min-width:60px;color:var(--home-muted);font:500 .72rem var(--home-mono);justify-content:center;align-items:center;gap:3px;display:flex}.homepage-header .active-language{color:var(--home-text)}.homepage-header .header-search-button{color:var(--home-muted)}.homepage-header .header-search-button:hover{color:var(--home-cyan)}main.homepage{max-width:var(--home-width);padding:0 var(--home-gutter);background:var(--home-bg)}.homepage :is(h1,h2,h3){color:var(--home-text);font-family:var(--home-heading);letter-spacing:-.035em;overflow-wrap:break-word;font-weight:690}.homepage :is(p,kbd){color:var(--home-muted)}.homepage :is(a,button){color:var(--home-cyan)}.home-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(12px,2.5vw,40px);min-height:clamp(390px,35vw,505px);padding-block:clamp(46px,5vw,76px) 24px;display:grid;position:relative}.home-intro{min-width:0}.home-intro h1{letter-spacing:-.047em;max-width:651px;font-size:clamp(2.9rem,5vw,4.35rem);line-height:1.07}.home-intro>p{max-width:49ch;margin-block:clamp(20px,2.2vw,32px) clamp(24px,2.6vw,37px);font-size:clamp(1rem,1.35vw,1.125rem);line-height:1.59}.homepage .platform-search{max-width:490px;position:relative}.homepage .platform-search-field{min-height:53px;color:var(--home-muted);background:#101725;border:1px solid #587586;border-radius:11px;align-items:center;gap:11px;padding-inline:15px;display:flex}.homepage .platform-search-field:focus-within{outline:2px solid var(--focus);outline-offset:2px}.homepage .platform-search-field input{width:100%;min-width:0;min-height:46px;color:var(--home-text);background:0 0;border:0;padding-block:6px;font-size:.9375rem}.homepage .platform-search-field input:focus-visible{outline:none}.homepage .platform-search-field input::placeholder{color:var(--home-muted);opacity:1}.homepage .platform-search-field kbd{border:1px solid var(--home-line);min-width:28px;font:500 .75rem / 1.2 var(--home-mono);text-align:center;background:#171e2e;border-radius:5px;padding:4px 7px}.homepage .platform-search-results{z-index:2;overscroll-behavior:contain;background:var(--home-surface);border:1px solid #587586;border-radius:12px;max-height:min(24rem,56vh);padding:9px 13px;position:absolute;inset:calc(100% + 9px) 0 auto;overflow:auto;box-shadow:0 12px 24px #080b1480}.homepage .platform-search-results p{padding:8px}.homepage .platform-search-results :is(h2,h3){color:var(--home-muted);padding:8px;font-size:.86rem}.homepage .platform-search-results ul{margin:0;padding:0;list-style:none}.homepage .platform-search-results a{min-height:44px;color:var(--home-text);align-items:center;padding:8px;display:flex}.homepage .platform-search-results a:focus-visible{outline-offset:-2px}.home-artwork{aspect-ratio:14/11;pointer-events:none;justify-self:center;width:100%;max-width:575px;height:auto;margin-inline:auto;display:block}@media (prefers-reduced-motion:no-preference){.artwork-lid{animation:1.65s cubic-bezier(.2,.75,.21,1) both settle-artwork-lid}.artwork-marker{animation:2.3s ease-out both settle-artwork-marker}}@keyframes settle-artwork-lid{0%{opacity:.55;transform:translateY(-13px)}to{opacity:1;transform:translateY(0)}}@keyframes settle-artwork-marker{0%{opacity:.22;transform:translate(-59px,35px)}32%{transform:translate(-39px,30px)}64%{transform:translate(-22px,23px)}to{opacity:1;transform:translate(0)}}.home-projects{border-top:1px solid var(--home-line);padding-block:clamp(26px,3vw,35px) clamp(30px,3.4vw,38px)}.homepage h2{font-size:clamp(1.75rem,3vw,2.15rem)}.home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,24px);margin-top:20px;display:grid}.home-project{border:1px solid var(--project-edge);background:var(--project-bg);border-radius:16px;min-width:0;padding:clamp(15px,2vw,22px);position:relative}.home-project:before{content:"";background:linear-gradient(90deg, var(--project-glow), transparent);width:75px;height:1px;position:absolute;inset:0 auto auto 22px}.home-project-games{--project-bg:#15132c;--project-edge:#493b69;--project-glow:var(--home-violet);--project-active:#d2f58d;--project-icon:#523bc4}.home-project-tools{--project-bg:#101d2a;--project-edge:#2b495a;--project-glow:var(--home-cyan);--project-active:var(--home-cyan);--project-icon:#142d3a}.home-project-title{align-items:center;gap:12px;display:flex}.home-project-title h3{font-size:clamp(1.5rem,2.6vw,1.9rem)}.home-project-icon{border:1px solid var(--project-edge);height:42px;color:var(--project-active);background:var(--project-icon);border-radius:10px;flex:0 0 42px;place-items:center;font-size:1.25rem;display:grid}.home-project>p{margin-block:15px 18px;font-size:.9375rem}.home-project .home-project-featured{font:500 .67rem / 1.4 var(--home-mono);letter-spacing:.09em;text-transform:uppercase;margin-block:0 5px}.home-project ul{margin:0;padding:0;list-style:none}.home-project li{border-top:1px solid var(--project-edge)}.home-project :is(li a,.home-project-link){justify-content:space-between;align-items:center;gap:10px;min-height:44px;font-size:.875rem;font-weight:580;text-decoration:none;display:flex}.home-project li a{color:var(--home-text)}.home-project li a .icon{color:var(--home-muted)}.home-project a:hover{text-decoration:underline}.home-project .home-project-link{color:var(--project-active)}.home-about{border-top:1px solid var(--home-line);padding-block:31px 40px}.home-about>p{max-width:70ch;margin-top:10px;line-height:1.62}.home-about>h1{font-size:clamp(2.6rem,5vw,4.15rem)}.home-about .home-github{border:1px solid var(--home-line);background:var(--home-surface);min-height:44px;color:var(--home-text);border-radius:8px;align-items:center;gap:10px;padding-inline:13px;font-size:.82rem;font-weight:590;text-decoration:none;display:inline-flex}.home-about .home-github:hover{text-decoration:underline}.home-github .icon{color:var(--home-cyan)}.home-footer{border-top:1px solid var(--home-line);text-align:center;padding-block:29px 50px}.home-footer .policy-links{justify-content:center;margin-bottom:8px}.home-footer,.home-footer p{color:var(--home-muted);font:500 .79rem / 1.45 var(--home-mono);letter-spacing:.035em}.homepage.about-page .home-about{border-top:0;padding-block:clamp(43px,9vw,108px)}@media (width>=760px){.about-page .home-github{margin-top:18px}}@media (width<=960px){.homepage-header.platform-header .header-inner{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding-block:11px 6px}.homepage-header.platform-header nav a{flex:none;padding-inline:8px}.homepage-header.platform-header nav a:first-child{margin-left:-8px}}@media (width<=759px){.home-hero{grid-template-columns:minmax(0,1fr);gap:11px;padding-block:30px 17px}.home-intro h1{font-size:clamp(2.1rem,10.3vw,3.45rem)}.home-intro>p{margin-block:18px 25px;font-size:.9375rem}.home-artwork{max-width:490px}.home-project-grid{grid-template-columns:minmax(0,1fr);margin-top:15px}.home-project>p{margin-block:13px 14px;font-size:.86rem}.home-project .home-project-featured{display:none}.home-about .home-github{margin-top:17px}}@media (pointer:coarse),(width<=600px){.homepage .platform-search-field kbd{display:none}}#root:has(>.arcade-page){background:#eff5ff}.arcade-page,.game-page{--arcade-ink:#10182f;--arcade-muted:#4c5871;--arcade-line:#dce4f2;--arcade-violet:#5135c7;--arcade-focus:#5135c7;--arcade-heading-font:"Space Grotesk", Inter, system-ui, sans-serif;--arcade-body-font:Inter, system-ui, sans-serif;--focus:var(--arcade-focus)}.arcade-page{max-width:1256px;font-family:var(--arcade-body-font);color:var(--arcade-ink);padding-top:clamp(16px,2vw,26px)}.arcade-page :is(h1,h2,h3){font-family:var(--arcade-heading-font)}.arcade-page p{color:var(--arcade-muted)}.arcade-page .arcade-hero{--focus:#66e7f5;padding:clamp(16px,2.7vw,34px);isolation:isolate;color:#fff;background:radial-gradient(at 90% -30%,#233b63 0,#0000 62%),#10182f;border:1px solid #263854;border-radius:clamp(20px,3vw,32px);grid-template-columns:minmax(0,1fr) minmax(105px,36%);align-items:center;min-height:clamp(148px,17vw,188px);padding-inline-end:0;display:grid;position:relative;overflow:hidden}.arcade-hero:before{content:"";z-index:-1;opacity:.33;background-image:radial-gradient(circle,#5c78a2 1px,#0000 1px);background-size:20px 20px;position:absolute;inset:0 42% 0 0;-webkit-mask-image:linear-gradient(145deg,#0007,#0000 58%,#000 130%);mask-image:linear-gradient(145deg,#0007,#0000 58%,#000 130%)}.arcade-hero-copy{z-index:1}.arcade-hero h1{color:#fff;letter-spacing:-.055em;overflow-wrap:anywhere;max-width:100%;font-size:clamp(1.8rem,5.3vw,4.4rem);font-weight:700;line-height:1.03}.arcade-hero p{color:#dce8fa;max-width:42ch;margin-top:10px;font-size:clamp(.9rem,2vw,1.1rem)}.arcade-hero .offline-pill{color:#ddfca9;background:#243d3b;border-color:#55735e;margin-top:12px;display:inline-flex}.arcade-hero .status-dot{background:#d2f58d;flex:none}.arcade-mascot{align-self:stretch;min-width:0;margin:0;position:relative}.arcade-mascot img{width:min(100%,328px);height:auto;display:block;position:absolute;top:50%;right:0;transform:translateY(-50%);-webkit-mask-image:radial-gradient(59% 58% at 53% 51%,#000 56%,#0000 100%);mask-image:radial-gradient(59% 58% at 53% 51%,#000 56%,#0000 100%)}.arcade-mascot figcaption{color:#c7f7ff;background:#10182f;border:1px solid #47617f;border-radius:999px;padding:3px 9px;font-size:.75rem;font-weight:700;position:absolute;bottom:0;right:clamp(10px,3vw,30px)}.arcade-discovery,.arcade-recent{margin-top:clamp(18px,2.4vw,28px)}.arcade-discovery-heading,.arcade-recent-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 16px;margin-bottom:9px;display:flex}.arcade-discovery-heading h2{font-size:clamp(1.35rem,3vw,2.05rem)}.arcade-count{font-size:.875rem}.arcade-filters{flex-wrap:wrap;gap:8px;margin-bottom:clamp(12px,2vw,20px);display:flex}.arcade-filters .button{color:var(--arcade-ink);text-align:center;background:#fff;border-color:#c2cee4;border-radius:999px;padding-inline:clamp(12px,2vw,18px);font-size:.875rem}.arcade-filters .button[aria-pressed=true]{border-color:var(--arcade-violet);background:var(--arcade-violet);color:#fff}.arcade-page .catalog{grid-template-columns:minmax(0,1fr);gap:clamp(14px,2.1vw,24px);display:grid}.arcade-page .game-card{border:1px solid var(--arcade-line);background:#fff;border-radius:22px;flex-direction:column;min-width:0;transition:box-shadow .16s,border-color .16s;display:flex;box-shadow:0 3px 12px #1124540d}.arcade-page .game-card:focus-within{border-color:var(--arcade-violet)}.arcade-cover{aspect-ratio:16/9;background:#dce6fc;border-radius:21px 21px 0 0;overflow:hidden}.arcade-cover img,.arcade-cover .game-art{object-fit:cover;width:100%;height:100%;display:block}.arcade-cover .game-art{display:grid}.arcade-page .game-card-body{overflow-wrap:anywhere;flex-direction:column;flex:1;align-items:start;gap:7px;padding:clamp(12px,2vw,18px);display:flex}.arcade-category{border-radius:6px;max-width:100%;padding:4px 8px;font-size:.75rem;font-weight:750;line-height:1.2}.arcade-category.category-puzzle{color:#20594f;background:#dbf5ef}.arcade-category.category-strategy{color:#4e2f8d;background:#eee7fd}.arcade-category.category-action{color:#773e16;background:#ffeddc}.arcade-page .game-card h3{font-size:clamp(1.18rem,2.4vw,1.6rem)}.arcade-page .game-card p{margin-bottom:6px;font-size:.93rem;line-height:1.45}.arcade-page .play-button{border-color:var(--arcade-violet);color:#fff;background:var(--arcade-violet);border-radius:12px;width:100%;min-height:48px;margin-top:auto;transition:background-color .16s}.arcade-page .play-button .icon{fill:currentColor}.arcade-page .play-button:hover{filter:none;background:#4226a9}.arcade-recent{border-bottom:1px solid var(--arcade-line);padding-bottom:14px}.arcade-recent-heading h2{align-items:center;gap:8px;font-size:clamp(1.12rem,2.6vw,1.5rem);display:flex}.arcade-recent-heading h2 .icon{color:var(--arcade-violet)}.arcade-clear.button{min-height:44px;color:var(--arcade-violet);text-underline-offset:.18em;background:0 0;border-color:#0000;padding-inline:4px;font-size:.875rem;text-decoration:underline}.arcade-recent ul{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.arcade-recent li{flex:136px;min-width:0;max-width:245px}.arcade-recent a{border:1px solid var(--arcade-line);min-height:48px;color:var(--arcade-ink);background:#fff;border-radius:12px;align-items:center;gap:8px;padding:5px 8px 5px 5px;font-size:.875rem;font-weight:750;text-decoration:none;display:flex}.arcade-recent a span{overflow-wrap:anywhere;flex:1}.arcade-recent a:hover span{text-decoration:underline}.arcade-recent .arcade-cover{border-radius:7px;flex:none;width:43px;height:36px}@media (width>=590px){.arcade-page .catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1024px){.arcade-discovery:has(.arcade-filters){grid-template-columns:auto 1fr;align-items:center;gap:14px 20px;display:grid}.arcade-filters{margin-bottom:0}.arcade-discovery:has(.arcade-filters) .arcade-discovery-heading{margin-bottom:0}.arcade-filters{justify-content:end}.arcade-discovery .catalog{grid-column:1/-1}.arcade-page .catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=589px){.arcade-filters .button{padding-inline:9px;font-size:.8125rem}}@media (hover:hover){.arcade-page .game-card:hover{border-color:#bcb0f0;box-shadow:0 8px 22px #13113a18}}@media (prefers-reduced-motion:reduce){.arcade-page :is(.game-card,.play-button){transition:none}}.platform-header.catalog-header{background:#fff;border-color:#dce4f2}.platform-header.catalog-header .header-inner{flex-wrap:wrap;align-items:center;gap:4px clamp(9px,2vw,24px);min-height:60px;padding-block:6px;display:flex}.catalog-header .brand{flex:1 0 auto;max-width:100%}.catalog-header .brand-name{white-space:normal}.catalog-primary-tools,.catalog-header-panel{display:contents}.catalog-header .header-tools{margin:0}.catalog-toolbar{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.catalog-header :is(.platform-nav,.arcade-nav){flex-wrap:wrap}.catalog-header :is(.platform-nav,.arcade-nav) a{white-space:normal;flex:0 auto}.platform-header.catalog-header .arcade-nav{flex-basis:100%;margin:0;padding:0}.catalog-header .install-instructions{margin-block:6px}.catalog-menu-toggle.square{display:none}@media (width<=860px){.catalog-primary-tools{flex-wrap:wrap;justify-content:end;align-items:center;gap:5px;max-width:100%;margin-inline-start:auto;display:flex}.catalog-header .header-tools{gap:5px}.catalog-menu-toggle.square{justify-content:center;align-items:center;gap:6px;height:auto;min-height:44px;padding:5px 8px;font-size:.82rem;display:flex}.catalog-header .platform-nav{flex-basis:100%}.catalog-header-interactive .catalog-header-panel{flex-basis:100%;grid-template-columns:minmax(0,1fr);gap:4px;padding:5px 0 2px;display:grid}.catalog-header-interactive .catalog-header-panel[data-open=false]{display:none}}@media (width<=350px){.catalog-menu-toggle.square{gap:3px;font-size:.75rem}}#root:has(>.game-page){background:#eff5ff}.game-page{--ink:var(--arcade-ink);--muted:var(--arcade-muted);--line:var(--arcade-line);--accent:var(--arcade-violet);--white:#fff;--paper:#f5f8ff;--accent-soft:#eee7fd;--game-accent:#5135c7;--game-tint:#eee7fd;--game-glow:#443586;--game-surface-radius:20px;--game-control-radius:12px;--game-shadow:0 3px 12px #23375b0b;color:var(--ink);font-family:var(--arcade-body-font)}.game-page[data-game=beyblade]{--game-accent:#12617e;--game-tint:#e2f4fb;--game-glow:#12498c}.game-page[data-game=chess]{--game-accent:#6937a1;--game-tint:#f1e7fc;--game-glow:#61258a}.game-page[data-game=color-connect]{--game-accent:#126b68;--game-tint:#dff7ef;--game-glow:#125b61}.game-page[data-game=rubik]{--game-accent:#166749;--game-tint:#def6e8;--game-glow:#28653d}.game-page[data-game=sokoban]{--game-accent:#345b91;--game-tint:#e7f0ff;--game-glow:#264b85}.game-page[data-game=sudoku]{--game-accent:#a43c54;--game-tint:#ffedf1;--game-glow:#753247}.game-page[data-game=tictactoe]{--game-accent:#a12975;--game-tint:#fae8f4;--game-glow:#6c2868}.game-page[data-game=tile-merge]{--game-accent:#8b4a0e;--game-tint:#fff0d9;--game-glow:#704425}.game-page[data-game=traffic-escape]{--game-accent:#54469b;--game-tint:#efebfb;--game-glow:#563b8c}.game-page :is(h1,h2,h3){font-family:var(--arcade-heading-font)}.game-heading{--focus:#8eebff;isolation:isolate;background:radial-gradient(ellipse at 100% 0%, var(--game-glow), transparent 69%), var(--ink);color:#fff;border:1px solid #263854;border-radius:clamp(20px,3vw,30px);grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:0 clamp(14px,3vw,32px);margin-bottom:16px;padding:clamp(14px,2.65vw,30px);display:grid;position:relative}.game-heading:before{content:"";z-index:-1;border-radius:inherit;opacity:.18;pointer-events:none;background-image:radial-gradient(circle,#9bafd7 1px,#0000 1px);background-size:20px 20px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(140deg,#0009,#0000 55%,#000);mask-image:linear-gradient(140deg,#0009,#0000 55%,#000)}.game-heading-copy{min-width:0}.game-heading .back-link{color:#e2eaff;font-size:.85rem;text-decoration:none}.game-heading .back-link:hover{text-decoration:underline}.game-heading .arcade-category{background:var(--game-tint);color:var(--game-accent);margin-top:6px;display:table}.game-heading h1{letter-spacing:-.055em;overflow-wrap:anywhere;margin-top:7px;font-size:clamp(2rem,5.6vw,4.2rem);line-height:1.02}.game-heading p{color:#e0ebff;max-width:49ch;margin-top:10px;font-size:clamp(.875rem,1.65vw,1.075rem)}.game-heading-cover{border-radius:clamp(10px,1.8vw,20px);grid-area:1/2/span 2;width:100%;overflow:hidden;box-shadow:0 8px 24px #080d2555}.game-heading-cover img{width:100%;height:auto;display:block}.game-heading-cover .game-art{aspect-ratio:16/9;height:auto}.game-heading>.tutorial-toggle{justify-self:start;margin-top:16px}.game-page .game-heading .tutorial-toggle{color:#fff;background:#1c2a49;border-color:#8092ba}.game-page .game-heading .tutorial-toggle[aria-expanded=true]{color:var(--ink);background:#fff}.game-heading-compact{border-radius:var(--game-surface-radius);grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-block:8px 14px}.game-heading-compact h1{margin-top:0;font-size:clamp(1.65rem,3.5vw,2.55rem)}.game-heading-compact>.tutorial-toggle{align-self:end;margin-top:0}.game-page .panel,.game-panel{border-color:var(--line);border-radius:var(--game-surface-radius);background:var(--white);box-shadow:var(--game-shadow)}.game-instructions-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.game-instructions-header h2{margin:0}.game-page .game-close{width:44px;padding:0}.game-instructions :is(ul,ol){padding-inline-start:1.3em;line-height:1.55}.game-instructions li+li{margin-top:.3em}.game-page .setup-controls{grid-template-columns:minmax(8rem,.65fr) minmax(0,3fr);align-items:start;gap:clamp(12px,2vw,24px);display:grid}.game-setup-compact .setup{padding:clamp(12px,2vw,20px)}.game-page .setup-controls>:only-child{grid-column:1/-1}.game-page label.game-variant{align-self:start;width:100%;font-size:.88rem;display:grid}.game-page .game-variant select{width:100%;min-width:0}.game-page .setup:not(.game-setup-compact .setup) .game-variant{padding-top:.3rem}.game-page .setup h2{font-size:clamp(1.3rem,2.6vw,1.7rem)}.game-page :is(.button,.game-button){--button-fill:var(--white);--button-text:var(--ink);--button-line:#c7d2e7;border-color:var(--button-line);border-radius:var(--game-control-radius);background:var(--button-fill);min-height:44px;color:var(--button-text);transition:background-color .15s,border-color .15s,transform .15s}.game-page :is(.button,.game-button).primary{--button-fill:var(--accent);--button-text:#fff;--button-line:var(--accent)}.game-page :is(.button,.game-button):where([aria-pressed=true]):not(.primary){--button-fill:var(--game-tint);--button-text:var(--game-accent);--button-line:var(--game-accent)}.game-page :is(.button,.game-button):active:not(:disabled){transform:translateY(1px)}.game-page select{border-radius:var(--game-control-radius);border-color:#a0aec6}.game-page .mode-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:10px;display:grid}.game-page .mode-button{overflow-wrap:anywhere;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;min-height:78px;padding:10px;font-size:.95rem;display:flex}.game-page .mode-button:not(.primary){--button-fill:var(--paper)}.game-page .mode-button:not(.primary):hover{border-color:var(--game-accent);filter:none}.game-mode-copy{text-align:start;gap:4px;display:grid}.game-mode-copy small{font-size:.78rem;line-height:1.38}.game-mode-icon,.game-feedback-icon{background:var(--game-tint);width:34px;height:34px;color:var(--game-accent);border-radius:9px;flex:none;place-items:center;display:grid}.game-mode-arrow{display:none}.game-page .game-setup-compact .mode-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,4.65rem),1fr));gap:6px}.game-page .game-setup-compact .setup-controls{align-items:end}.game-page .game-setup-compact .mode-button{justify-content:center;gap:6px;min-height:44px;padding:5px 8px;font-size:.85rem}.game-setup-compact .game-mode-icon{width:auto;height:auto;color:inherit;background:0 0}.game-setup-compact .game-mode-copy{text-align:center}.game-page .game-feedback{--feedback-ink:var(--game-accent);--feedback-fill:var(--game-tint);--feedback-edge:var(--line);border:1px solid var(--feedback-edge);border-radius:var(--game-control-radius);background:var(--feedback-fill);color:var(--feedback-ink);align-items:center;gap:10px;padding:10px 12px;line-height:1.4;display:flex}.game-page .game-feedback[data-tone=success]{--feedback-ink:#265317;--feedback-fill:#e8f7cd;--feedback-edge:#b8d88f}.game-page .game-feedback[data-tone=retry]{--feedback-ink:#783c12;--feedback-fill:#fff0dc;--feedback-edge:#e6c59e}.game-page .game-feedback[data-tone=neutral]{--feedback-ink:#344669;--feedback-fill:#edf2ff;--feedback-edge:#c6d2ee}.game-page .game-feedback[data-tone=alert]{--feedback-ink:#8d2c41;--feedback-fill:#fff0f2;--feedback-edge:#e9b9c4}.game-page .game-feedback:has(.game-feedback-copy:empty){clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.game-feedback-copy{overflow-wrap:anywhere;flex:1;min-width:0}.game-feedback-copy :is(strong,h2){font-family:var(--arcade-heading-font)}.game-feedback-icon{background:var(--white);color:var(--feedback-ink);animation:.18s ease-out both game-feedback-in}@keyframes game-feedback-in{0%{opacity:.5;transform:scale(.85)}}.game-page .game-score{border-color:var(--line);border-radius:var(--game-control-radius);background:var(--game-tint);color:var(--ink)}.game-score :is(output,time,dd,strong){font-variant-numeric:tabular-nums}.game-page .game-dialog{--focus:var(--arcade-focus);border:1px solid var(--line);border-radius:var(--game-surface-radius);background:var(--white);max-width:calc(100% - 32px);color:var(--ink);padding:clamp(16px,3.5vw,26px);box-shadow:0 16px 44px #10182f4d}.game-page .game-dialog::backdrop{background:#10182fb8}.game-room-outcome{flex:15rem;justify-items:start;gap:8px;display:grid}.game-room-outcome .game-feedback{width:100%}.game-room-outcome .game-feedback h2{margin:0}.game-room-outcome .game-feedback p{margin-top:4px}.game-page .game-room-active{padding-block:6px}.game-page .game-room-active .form-actions{margin-inline-start:auto}@media (width>=620px) and (width<=860px){.game-page .mode-button:not(.game-setup-compact .mode-button){flex-direction:column;align-items:flex-start}}@media (width<=619px){.game-page .setup-controls,.game-page .game-setup-compact .setup-controls,.game-page .setup:not(.game-setup-compact .setup) .mode-options{grid-template-columns:minmax(0,1fr)}.game-page .mode-button{min-height:56px}.game-mode-arrow{color:var(--game-accent);margin-inline-start:auto;display:inline-flex}.game-page .game-setup-compact .setup-controls{gap:8px}.game-page .game-setup-compact .game-variant{align-items:center;gap:8px;display:flex}.game-page .game-setup-compact .game-variant select{flex:7rem;width:auto}.game-page .game-setup-compact .mode-button{flex-wrap:wrap}}@media (width<=510px){.game-heading:not(.game-heading-compact){grid-template-columns:minmax(0,1fr)}.game-heading:not(.game-heading-compact) .game-heading-cover{grid-area:auto/1;margin-top:14px}.game-heading-cover img{aspect-ratio:2.1;object-fit:cover}.game-heading .tutorial-toggle{min-width:0;padding-inline:9px;font-size:.82rem}}@media (width<=365px){.game-heading-compact{grid-template-columns:minmax(0,1fr)}.game-heading-compact>.tutorial-toggle{justify-self:start}}@media (prefers-reduced-motion:reduce){.game-page :is(.button,.game-button){transition:none}.game-page :is(.button,.game-button):active:not(:disabled){transform:none}.game-feedback-icon{animation:none}}
