.game-page[data-astro-cid-wfhtulxj]{width:100%}.kg-game-header[data-astro-cid-wfhtulxj]{text-align:center;margin-bottom:16px}.kg-game-header[data-astro-cid-wfhtulxj] h1[data-astro-cid-wfhtulxj]{margin:0 0 6px;font-size:clamp(1.6rem,3vw,2rem);color:var(--text)}.kg-game-tagline[data-astro-cid-wfhtulxj]{color:var(--text-2);font-size:1rem;margin:0}.kg-game-frame[data-astro-cid-wfhtulxj]{background:var(--brand-900);border-radius:20px;overflow:hidden;box-shadow:0 16px 40px #002b502e;margin-bottom:28px}.kg-game-toolbar[data-astro-cid-wfhtulxj]{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#ffffff0f;border-bottom:1px solid rgba(255,255,255,.08);color:#fff}.kg-game-emoji[data-astro-cid-wfhtulxj]{font-size:1.4rem;line-height:1}.kg-game-name[data-astro-cid-wfhtulxj]{flex:1;font-size:1rem;font-weight:700;color:#fff}.kg-fullscreen[data-astro-cid-wfhtulxj]{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:6px 10px;cursor:pointer;display:inline-flex;align-items:center}.kg-fullscreen[data-astro-cid-wfhtulxj]:hover{background:#ffffff2e}.kg-game-stage[data-astro-cid-wfhtulxj]{background:var(--surface);padding:clamp(16px,3vw,28px)}.lp-section[data-astro-cid-wfhtulxj]{margin-top:28px}.lp-section[data-astro-cid-wfhtulxj] h2[data-astro-cid-wfhtulxj]{margin-bottom:12px;color:var(--text)}.lp-section[data-astro-cid-wfhtulxj] p[data-astro-cid-wfhtulxj]{color:var(--text-2)}.sd-root{display:flex;flex-direction:column;width:100%;min-height:100%}.sd-hud{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border);flex-shrink:0}.sd-stats{display:flex;flex-wrap:wrap;gap:14px}.sd-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-left:auto}.sd-difficulty{background:var(--surface-2, #f4f7fc);border:1.5px solid var(--border, #e3e8ef);border-radius:10px;padding:6px 10px;font:inherit;color:var(--text);cursor:pointer}.sd-status{text-align:center;color:var(--text-2);font-size:1rem;margin:14px 0 8px;min-height:1.4em}.sd-board{display:block;position:relative;border-radius:16px;overflow:hidden;background:var(--surface-2, #f4f7fc);border:1.5px solid var(--border, #e3e8ef);box-shadow:0 8px 24px #002b5014;width:100%;margin:8px auto 16px;aspect-ratio:4 / 3;max-height:70vh;touch-action:none;flex:1 1 auto;min-height:0}@media(min-width:720px){.sd-board{aspect-ratio:12 / 5}}.sd-board canvas{display:block;width:100%!important;height:100%!important}.sd-board:focus-visible{outline:3px solid var(--brand-500, #4dffd9);outline-offset:2px}@media(max-width:768px){body[data-layout=game] .sd-hud{gap:8px;padding-bottom:8px;font-size:.92rem}body[data-layout=game] .sd-stats{gap:8px}body[data-layout=game] .sd-stats .hud-stat{min-width:56px}body[data-layout=game] .sd-stats .hud-stat .label{font-size:.62rem}body[data-layout=game] .sd-stats .hud-stat .value{font-size:1.05rem}body[data-layout=game] .sd-controls{gap:6px;margin-left:0;width:100%;justify-content:flex-end}body[data-layout=game] .sd-controls .btn{padding:.5em .9em;font-size:.88rem;min-height:40px}body[data-layout=game] .sd-difficulty{padding:6px 8px;font-size:.88rem;min-height:40px}body[data-layout=game] .sd-status{margin:6px 0 4px;font-size:.88rem;min-height:1.2em}body[data-layout=game] .sd-board{margin:4px auto;border-radius:10px;aspect-ratio:auto;max-height:none;min-height:320px}}.sd-result{margin-top:20px}.sd-result-card{text-align:center;padding:28px;border-radius:var(--radius-lg, 16px);background:linear-gradient(135deg,color-mix(in srgb,var(--brand-500, #4dffd9) 12%,var(--surface, #fff)),var(--surface, #fff));border:1px solid var(--brand-200, #b8c8e6)}.sd-result-card h2{margin:0 0 16px;color:var(--brand-700, #1e3a8a)}.sd-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin:16px 0 20px}.sd-result-grid>div{display:flex;flex-direction:column;gap:4px;padding:10px;background:#fff9;border-radius:12px}.sd-result-grid .label{font-size:.85rem;color:var(--text-2)}.sd-result-grid .value{font-size:1.25rem;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}.sd-new-best{font-weight:700;color:var(--brand-600, #047857);margin:12px 0;font-size:1.1rem}
