/* Reuse the homepage's club identity on interior pages without repainting game arenas. */
body.club-shell:not(.home-page) {
  --bg:#f4f1e8; --surface:#fcfaf4; --text:#242723; --muted:#62655e;
  --border:#d7d6ca; --primary:#be3825; --primary-soft:#eee1d7;
  --club-red:#c23b28; --club-display:'KP Display','Arial Narrow',Impact,sans-serif;
  --club-sans:'KP Sans','Segoe UI',sans-serif; --radius:4px; --shadow:none;
  color-scheme:light; font-family:var(--club-sans);
}
.dark body.club-shell:not(.home-page) {
  --bg:#202923; --surface:#29332b; --text:#f0eee1; --muted:#bdc4b7;
  --border:#495145; --primary:#ff9a7b; --primary-soft:#43392f;
  --club-red:#ff9a7b; color-scheme:dark;
}
body.club-shell:not(.home-page):not(.bot-race-active):not(.balloon-game-mode) {background:var(--bg)!important;color:var(--text)}
body.club-shell .header {background:var(--bg);border-color:var(--border)}
body.club-shell .nav-shell {max-width:1360px;min-height:96px;padding:20px 48px;gap:28px}
body.club-shell .brand {font-family:var(--club-sans);font-size:24px;letter-spacing:-1.2px}
body.club-shell .brand-light {color:var(--text);font-weight:800}
body.club-shell .brand small {font:400 8px monospace;letter-spacing:1.8px}
body.club-shell .nav-shell nav>a,body.club-shell .games-toggle {color:var(--text);font-size:12px}
body.club-shell .nav-shell nav>a.active {color:var(--primary)}
body.club-shell .nav-shell nav>a.active:after {bottom:4px;height:2px;border-radius:0}
body.club-shell .games-toggle {border:0;padding:10px 0;border-radius:0;gap:6px}
body.club-shell .games-toggle>span:first-child {display:none}
body.club-shell .games-panel {border-radius:4px;box-shadow:0 12px 24px #24272318}
body.club-shell .game-nav-icon {color:var(--primary);background:var(--primary-soft);border-radius:4px}
body.club-shell .nav-shell .icon-button {border-radius:50%;background:transparent;min-width:44px;min-height:44px}
body.club-shell .account-link {border-radius:3px;border-color:var(--text);color:var(--text);font-size:11px;font-weight:700}
body.club-shell :is(a,button,input,select,textarea):focus-visible {outline:3px solid var(--primary);outline-offset:3px}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) #main {max-width:1280px;padding:42px 48px 88px}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) :is(.page-heading h1,.section-heading h2) {font-family:var(--club-display);font-weight:800;letter-spacing:-.5px}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) .page-heading {border-bottom:1px solid var(--text)}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) .page-heading h1 {font-size:clamp(38px,5vw,62px)}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) .card {border-radius:4px;box-shadow:none;border-color:var(--border)}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) .button:not(.danger) {background:#c23b28;color:#fffaf2;border-color:#c23b28;border-radius:3px}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) .button.secondary {background:var(--surface);color:var(--text);border-color:var(--border)}
body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) :is(.field input,.field select,.field textarea,.search-input) {background:var(--surface);border-radius:3px;border-color:var(--border)}
body.club-shell .footer {max-width:1360px;border-color:var(--border)}
@media(max-width:960px){body.club-shell .nav-shell {min-height:76px;padding:12px 22px;gap:12px}}
@media(max-width:700px){body.club-shell:not(.home-page):not(.ninja-game-mode):not(.balloon-game-mode):not(.bot-race-active) #main {padding:24px 18px 48px}}
@media(max-width:540px){body.club-shell .nav-shell {padding:12px 16px}}
