#root{min-height:100vh}.gamePage{min-height:100vh;padding:clamp(20px,4vw,44px);display:grid;place-items:center;color:#f7f4e8;background:radial-gradient(circle at 15% 10%,rgba(255,201,71,.2),transparent 28%),radial-gradient(circle at 88% 88%,rgba(70,211,180,.18),transparent 30%),#15213b}.gameShell{width:min(100%,940px);display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);gap:clamp(36px,7vw,76px);align-items:center}.gameBrand{margin:0 0 50px;display:inline-flex;gap:10px;align-items:center;color:#ffcd4b;font-size:13px;font-weight:900;letter-spacing:.16em;text-decoration:none}.gameBrand:before{width:14px;height:14px;content:"";background:#ffcd4b;box-shadow:7px 7px #ef765d}.gameEyebrow{margin:0 0 12px;color:#56d3b6;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.backLink{margin:-28px 0 38px;display:block;color:#9da8bd;font-size:12px;font-weight:800;text-decoration:none}.backLink:hover{color:#fff}.gameIntro h1{margin:0;font-size:clamp(58px,9vw,104px);line-height:.88;letter-spacing:-.08em}.gameDescription{max-width:390px;margin:28px 0 0;color:#b8c1d4;font-size:17px;line-height:1.8}.gameCard{padding:clamp(18px,4vw,30px);color:#17213a;background:#f8f3e7;border-radius:28px;box-shadow:18px 18px #070d1b59}.gameStatus{margin-bottom:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gameStatus div{padding:12px 14px;border:1px solid #ded7c8;border-radius:13px;background:#fffdf8}.gameStatus span,.gameStatus strong{display:block}.gameStatus span{color:#7a7f8b;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.gameStatus strong{margin-top:3px;font-size:22px}.puzzleBoard{padding:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;border-radius:20px;background:#d9d1c1}.puzzleTile{aspect-ratio:1;border:0;border-radius:14px;color:#17213a;background:#ffcd4b;box-shadow:inset 0 -5px #9a64002e;font:900 clamp(28px,6vw,48px)/1 Inter,sans-serif;cursor:pointer;transition:transform .12s ease,background .12s ease}.puzzleTile:nth-child(3n+2){background:#ef765d}.puzzleTile:nth-child(3n){background:#56d3b6}.puzzleTile:hover:not(:disabled){transform:translateY(-2px)}.puzzleTile:focus-visible,.newGameButton:focus-visible{outline:4px solid #4777dd;outline-offset:3px}.puzzleTile.blank{background:transparent;box-shadow:none;cursor:default}.lightsPage{background:radial-gradient(circle at 15% 12%,rgba(174,118,255,.21),transparent 28%),radial-gradient(circle at 88% 88%,rgba(255,205,75,.16),transparent 30%),#15192c}.lightsCard{background:#eeecf7}.lightsBoard{padding:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px;border-radius:20px;background:#22283e}.lightTile{position:relative;aspect-ratio:1;border:0;border-radius:14px;background:#343b55;box-shadow:inset 0 -5px #00000040;cursor:pointer;transition:transform .12s ease,background .18s ease,box-shadow .18s ease}.lightTile:after{position:absolute;top:30%;right:30%;bottom:30%;left:30%;border-radius:50%;content:"";background:#555d77}.lightTile.on{background:#ffcd4b;box-shadow:0 0 24px #ffcd4ba6,inset 0 -5px #9a64002e}.lightTile.on:after{background:#fff4ae}.lightTile:hover:not(:disabled){transform:translateY(-2px)}.lightTile:focus-visible{outline:4px solid #8b66d9;outline-offset:3px}.twentyPage{background:radial-gradient(circle at 14% 12%,rgba(239,118,93,.2),transparent 28%),radial-gradient(circle at 88% 88%,rgba(86,211,182,.16),transparent 30%),#172039}.twentyCard{background:#f4ede2}.twentyBoard{padding:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-radius:20px;background:#b9aa98}.twentyTile{aspect-ratio:1;display:grid;place-items:center;border-radius:11px;color:#17213a;background:#eee4d67a;font-size:clamp(18px,4vw,32px);font-weight:900}.twentyTile.value-2{background:#eee4da}.twentyTile.value-4{background:#ede0c8}.twentyTile.value-8{color:#fff;background:#ef9a62}.twentyTile.value-16{color:#fff;background:#ef765d}.twentyTile.value-32{color:#fff;background:#e85e49}.twentyTile.value-64{color:#fff;background:#d94b38}.twentyTile.value-128{color:#17213a;background:#f2d66a;font-size:clamp(16px,3.5vw,28px)}.twentyTile.value-256{color:#17213a;background:#edcc54;font-size:clamp(16px,3.5vw,28px)}.twentyTile.value-512{color:#17213a;background:#e8c33e;font-size:clamp(16px,3.5vw,28px)}.twentyTile.value-1024,.twentyTile.value-2048{color:#fff;background:#2c987f;font-size:clamp(13px,3vw,24px)}.moveControls{margin-top:14px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.moveControls button{min-height:42px;border:0;border-radius:11px;color:#fff;background:#4b556d;font:900 22px/1 Inter,sans-serif;cursor:pointer}.moveControls button:hover{background:#17213a}.moveControls button:focus-visible{outline:4px solid #ef765d;outline-offset:2px}.homePage{min-height:100vh;padding:clamp(28px,5vw,64px);color:#f7f4e8;background:radial-gradient(circle at 10% 12%,rgba(255,205,75,.18),transparent 24%),radial-gradient(circle at 92% 85%,rgba(86,211,182,.16),transparent 28%),#15213b}.homeShell{width:min(100%,1060px);margin:0 auto}.homeIntro{max-width:720px;padding:4vh 0 clamp(46px,7vw,76px)}.homeIntro .gameBrand{margin-bottom:56px}.homeIntro h1{margin:0;font-size:clamp(64px,10vw,112px);line-height:.86;letter-spacing:-.08em}.homeIntro>p:last-child{max-width:530px;margin:28px 0 0;color:#b8c1d4;font-size:17px;line-height:1.75}.gameChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.choiceCard{min-width:0;padding:clamp(18px,3vw,28px);display:grid;grid-template-columns:150px minmax(0,1fr);gap:26px;align-items:center;border-radius:24px;color:#17213a;background:#f8f3e7;box-shadow:10px 10px #070d1b59;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}.choiceCard:hover{transform:translateY(-5px);box-shadow:14px 16px #070d1b4d}.choiceCard:focus-visible{outline:4px solid #ffcd4b;outline-offset:5px}.choicePreview{padding:7px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;border-radius:15px;aspect-ratio:1}.slidePreview{background:#d9d1c1}.slidePreview i{display:grid;place-items:center;border-radius:6px;background:#ffcd4b;font-style:normal;font-weight:900}.slidePreview i:nth-child(3n+2){background:#ef765d}.slidePreview i:nth-child(3n){background:#56d3b6}.slidePreview i:last-child{background:transparent}.lightsChoice{background:#eeecf7}.lightsPreview{background:#22283e}.lightsPreview i{border-radius:7px;background:#343b55}.lightsPreview i.on{background:#ffcd4b;box-shadow:0 0 12px #ffcd4bb3}.twentyChoice{background:#f4ede2}.twentyPreview{grid-template-columns:repeat(4,1fr);gap:4px;background:#b9aa98}.twentyPreview i{display:grid;place-items:center;border-radius:5px;background:#eee4d67a;font-size:11px;font-style:normal;font-weight:900}.twentyPreview i:nth-child(1){background:#eee4da}.twentyPreview i:nth-child(2){background:#ede0c8}.twentyPreview i:nth-child(5){color:#fff;background:#ef9a62}.twentyPreview i:nth-child(6){color:#fff;background:#ef765d}.twentyPreview i:nth-child(7){color:#fff;background:#e85e49}.twentyPreview i:nth-child(9){color:#fff;background:#d94b38}.lockstepChoice{background:#e9f4f0}.lockstepPreview{grid-template-columns:repeat(2,1fr);gap:6px;background:#284c4d}.lockstepPreview span{padding:4px;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;border-radius:6px;background:#d7e7e1}.lockstepPreview i{aspect-ratio:1;border-radius:2px;background:#f6f2e8}.lockstepPreview i.dot{border-radius:50%;background:#ef765d}.lockstepPreview i.goal{border:2px solid #2c987f;background:#ffcd4b}.lockstepPage{background:radial-gradient(circle at 14% 12%,rgba(86,211,182,.21),transparent 28%),radial-gradient(circle at 88% 88%,rgba(239,118,93,.18),transparent 30%),#122c35}.lockstepCard{background:#edf4ef}.lockstepRule{margin-bottom:14px;padding:11px 14px;display:flex;justify-content:space-between;gap:12px;border-radius:12px;color:#315256;background:#d7e7e1;font-size:12px}.lockstepRule strong{color:#17213a}.lockstepBoards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.lockstepBoardWrap>span{margin:0 0 5px 3px;display:block;color:#6f7c7c;font-size:9px;font-weight:900;letter-spacing:.14em}.lockstepBoard{padding:7px;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;border-radius:14px;background:#284c4d}.lockstepCell{position:relative;aspect-ratio:1;border-radius:4px;background:#f8f3e7}.lockstepCell.wall{background:#72918b}.lockstepCell.goal{background:#ffcd4b;box-shadow:inset 0 0 0 3px #d39b1c}.lockstepCell.player:after{position:absolute;top:23%;right:23%;bottom:23%;left:23%;border-radius:50%;content:"";background:#ef765d;box-shadow:0 2px #742d203d}.lockstepCell.goal.player:after{background:#17213a}.choiceCopy span{color:#737987;font-size:10px;font-weight:900;letter-spacing:.12em}.choiceCopy h2{margin:8px 0 10px;font-size:clamp(25px,3vw,34px);letter-spacing:-.04em}.choiceCopy p{margin:0;color:#646b77;font-size:13px;line-height:1.6}.choiceCopy strong{margin-top:20px;display:block;font-size:13px}.gameMessage{min-height:24px;margin:18px 0 0;color:#666b75;font-size:13px;text-align:center}.gameMessage.win{color:#16745f;font-weight:900}.newGameButton{width:100%;min-height:50px;margin-top:14px;border:0;border-radius:14px;color:#fff;background:#17213a;font:inherit;font-weight:900;cursor:pointer}@media (max-width: 720px){.gamePage{align-items:start}.gameShell{max-width:470px;grid-template-columns:1fr;gap:30px}.gameBrand{margin-bottom:34px}.backLink{margin-top:-16px;margin-bottom:28px}.gameIntro h1{font-size:clamp(52px,17vw,80px)}.gameDescription{margin-top:20px}.gameCard{box-shadow:10px 10px #070d1b59}.homePage{padding:24px 18px 44px}.homeIntro{padding-top:12px}.homeIntro .gameBrand{margin-bottom:42px}.homeIntro h1{font-size:clamp(58px,20vw,86px)}.gameChoices{grid-template-columns:1fr}.choiceCard{grid-template-columns:118px minmax(0,1fr);gap:18px}}@media (prefers-reduced-motion: reduce){.puzzleTile,.lightTile,.choiceCard{transition:none}}:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#f7f4e8;background:#15213b;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:#15213b}body{min-width:320px;min-height:100vh;margin:0}button{-webkit-tap-highlight-color:transparent}
