:root{--home-line:#ececef;--home-shadow:0 2px 8px rgba(255,36,66,.15)}
.game{min-height:100dvh;padding:calc(10px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));background:var(--panel-bg,#fff)}
.hud{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:12px;padding:2px 4px 8px}.hud-center{align-items:center;text-align:center}.hud-label{font-size:11px;color:var(--ink-3)}.hud-value b{font-size:24px}.hud-score{font-size:32px;color:var(--red)}
.hud .menu-btn{justify-self:end;align-self:end;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#1A1A1A}.hamburger-lines{display:flex;flex-direction:column;justify-content:center;gap:4px;width:22px;height:24px}.hamburger-lines i{display:block;height:3px;width:22px;border-radius:3px;background:currentColor}.hud .menu-btn::before,.hud .menu-btn::after{display:none}
.progress{height:20px;margin:0 4px 10px;border:1px solid var(--home-line);background:#f6f6f7;box-shadow:none}.progress-label{font-size:10px}.home-heading{text-align:center;padding:4px 0 8px;flex:none}.home-heading h1{margin:0;font-size:23px;line-height:1.4;color:var(--ink)}.board-area{align-items:center;justify-content:center;min-height:240px;padding:12px 0;margin:0}.board{margin:auto}#hint[hidden]{display:none!important}.slot-zone{margin-top:8px}.slots{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.slot-cell{border:1px dashed #e0e0e0;background:var(--panel-surface,#fff);border-radius:12px}.slot-cell.filled{border:1px solid #ffd6dd;background:var(--panel-surface,#fff)}.tools{padding-top:10px}
.home-entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;padding-top:12px;flex:none}.home-entries .atlas-link{display:flex;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;min-height:44px;margin:0;padding:0 6px;border:1px solid var(--home-line);border-radius:999px;background:var(--panel-surface,#fff);color:var(--ink-2);box-shadow:var(--home-shadow);font-size:12px;white-space:nowrap;letter-spacing:0}.home-entries .atlas-link b{font-size:inherit}.home-entries .atlas-link:active{background:var(--red-soft)}
.rank-results li.global-rank-row{display:grid;grid-template-columns:52px minmax(0,1fr) max-content;align-items:center;gap:8px;min-height:56px;white-space:nowrap}.global-rank-row .rank-prefix{width:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.global-rank-row .rank-player{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.global-rank-row b{white-space:nowrap;font-size:13px;color:var(--red)}
:root[data-dark] .hud .menu-btn,:root[data-dark] .hud .menu-btn .hamburger-lines,:root[data-dark] .hud .menu-btn .hamburger-lines i{color:#FFFFFF;background-color:transparent}.hud .menu-btn .hamburger-lines i{background-color:currentColor}:root[data-dark] .hud .menu-btn .hamburger-lines i{background:#FFFFFF}:root[data-dark] .home-entries .atlas-link{border-color:var(--panel-line);box-shadow:none}:root[data-dark] .slot-cell{border-color:var(--panel-line)}
#nickname:focus{outline:none;border-color:#1a1a1a;box-shadow:0 0 0 1px #1a1a1a}.forum-post-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.forum-post-actions button{min-height:40px;padding:6px 10px;border:1px solid var(--panel-line);border-radius:12px;background:var(--control-bg);color:var(--ink)}
.fruit-reference{display:none!important}
@media(max-width:350px){.game{padding-left:10px;padding-right:10px}.home-entries{gap:4px}.home-entries .atlas-link{font-size:11px}.rank-results li.global-rank-row{gap:5px;grid-template-columns:46px minmax(0,1fr) max-content}}
