:root{--page-bg:#0b0b0b;--surface:#171717;--surface-soft:#202020;--text:#fff;--text-soft:#e4e4e4;--text-muted:#b9b9b9;--accent:#ac660f;--accent-surface:#ac660f;--border:#ac660f55;--header-bg:#0b0b0b;--overlay:#050505d9}
html[data-theme="light"]{--page-bg:#fff;--surface:#fff;--surface-soft:#f4f4f4;--text:#111;--text-soft:#333;--text-muted:#666;--accent:#ac660f;--border:#ac660f33;--header-bg:#fff;--overlay:#000b}
body{font-family:Arial,Helvetica,sans-serif}
.site-header{background:var(--header-bg);border-bottom:1px solid var(--border);backdrop-filter:none}
.site-nav{max-width:1320px;height:92px}
.brand{font-family:Georgia,serif;font-size:25px;letter-spacing:-.045em}
.brand-logo img{filter:none}
.nav-links a{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.theme-toggle,.language-toggle,.menu-toggle{border-radius:0;background:transparent}
.language-menu,.nav-links{border-radius:0}
.game-section{width:min(100%,1220px);padding-top:95px;padding-bottom:100px}
.game-section h1{color:var(--text);font:800 clamp(51px,7vw,89px)/1 Arial,Helvetica,sans-serif;letter-spacing:-.07em}
.lead{margin:24px auto 45px;color:var(--text-soft);font-size:17px;line-height:1.65}
.game-shell{padding:27px;border:1px solid var(--border);border-radius:0;background:var(--surface);box-shadow:none}
.game-status{margin-bottom:17px;color:var(--text-soft)}
.game-status>span{border-radius:0;background:transparent;border-color:var(--border);font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.game-status strong{color:var(--accent)}
.game-board{border:1px solid #ac660f88;border-radius:0;background:#0c0c0c;box-shadow:none}
.game-board::before{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#ac660f1b calc(25% - 1px),#ac660f1b 25%);mask-image:linear-gradient(to bottom,#0005,transparent 75%)}
.game-board::after{height:11px;background:var(--accent);opacity:.7;box-shadow:none}
.game-overlay{background:#050505d9;backdrop-filter:blur(2px)}
.game-panel{max-width:430px;border:1px solid #ac660f88;border-radius:0;background:#111;box-shadow:0 20px 60px #0008}
.game-panel h2{color:var(--accent);font:800 31px/1.1 Arial,Helvetica,sans-serif;letter-spacing:-.04em}
.game-panel p{color:#e4e4e4}
.button{border:1px solid var(--accent-surface);border-radius:0;background:var(--accent-surface);color:#fff;font:800 12px Arial,Helvetica,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.button:hover{background:#fff;border-color:#fff;color:#0b0b0b;box-shadow:none}
.control-button{border-radius:0;background:var(--surface);color:var(--accent)}
.instructions{color:var(--text-muted)}
.leaderboard{margin-top:36px;padding:27px;border:1px solid var(--border);border-radius:0;background:var(--surface)}
.leaderboard h2{color:var(--accent);font:800 28px Arial,Helvetica,sans-serif;letter-spacing:-.04em}
.leaderboard-form input{border-radius:0}
.analytics-consent{border-radius:0}.analytics-consent button,.analytics-manage{border-radius:0}
html[data-theme="light"] .brand,html[data-theme="light"] .nav-links a[aria-current="page"]{color:var(--accent)}
html[data-theme="light"] .game-panel{background:#fff;color:#111;box-shadow:0 20px 60px #0006}
html[data-theme="light"] .game-panel h2{color:var(--accent)}
html[data-theme="light"] .game-panel p{color:#333}
html[data-theme="light"] .game-shell{box-shadow:none}
html[data-theme="light"] .game-board{background:#0c0c0c;border-color:var(--accent-surface)}
.language-toggle,.control-button{color:var(--accent);border-color:var(--border)}
.lang-button:hover,.lang-button.active{background:var(--accent-surface);color:#fff}
@media(max-width:720px){.site-nav{height:72px}.game-section{padding:65px 18px 75px}.game-section h1{font-size:clamp(43px,11vw,67px)}.game-shell{padding:12px}.game-status{gap:5px}.game-status>span{padding:8px;font-size:10px}.game-status strong{font-size:17px}.leaderboard{padding:18px}.nav-links{background:var(--surface)}.menu-toggle{border-radius:0}}
@media(max-width:430px){.brand{gap:5px;font-size:clamp(11px,3.7vw,15px)}.brand-logo,.brand-logo img{width:30px;height:30px}.brand-logo{flex-basis:30px}.site-nav{gap:4px}.nav-actions{gap:4px}.theme-toggle{width:34px;min-width:34px;height:34px}.language-toggle{min-width:46px;height:34px;padding:0 6px}.menu-toggle{width:36px;height:36px}}
