/* Shared ElseLife palette for all game entry points. */
html:root,html:root[data-theme=light]{--paper:#edf2f7;--card:#fff;--card2:#f4f7fb;--ink:#203249;--ink2:#4c6078;--ink3:#60738a;--rule:#cedae6;--rule2:#e5ecf3;--accent:#456b92;--accent-ink:#fff;--accent-soft:#eaf2fa;--stamp:#456b92;--stamp-soft:#eaf2fa;--gold:#a56c22;--shadow:0 6px 20px -14px #29486a44;--f-display:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;--f-body:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;--f-mono:ui-monospace,monospace;--tg-land:#d4dfea;--grid-lo:#e3eaf2;--grid-mid:#8ba8c6;--grid-hi:#456b92;color-scheme:light}
html:root[data-theme=dark]{--paper:#18222e;--card:#202e3e;--card2:#263648;--ink:#e5edf7;--ink2:#c1cedd;--ink3:#a9b9cc;--rule:#41546a;--rule2:#33465a;--accent:#9cbedf;--accent-ink:#18222e;--accent-soft:#2d435b;--stamp:#a6c5e3;--stamp-soft:#2d435b;--gold:#e6b877;--tg-land:#34485d;--grid-lo:#263648;--grid-mid:#587da2;--grid-hi:#b0cee9;color-scheme:dark}
body { background:var(--paper); color:var(--ink); }
::selection { background:var(--accent-soft); color:var(--ink); }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.seg { border-radius:8px; }
.seg button[aria-pressed="true"], .speed button[aria-pressed="true"], .fbtypes button[aria-pressed="true"] {
  background:var(--accent); color:var(--accent-ink); border-color:var(--accent);
}
.seg button:hover:not(:disabled):not([aria-pressed="true"]) { background:var(--accent-soft); color:var(--ink); }
.seg button:disabled { cursor:not-allowed; opacity:.4; }
select, input, textarea { accent-color:var(--accent); }
.local-edition-bar { color:var(--ink2); border-color:var(--rule); }
.local-edition-bar strong { color:var(--stamp); }
.elselife .speed #ffBtn { color:var(--accent); border-color:var(--accent); }
.elselife .echo-panel button[aria-pressed="true"] { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }

/* Chinese name with the original English wordmark. */
.brand-english { color:var(--stamp); font-size:18px; font-weight:600; margin:8px 0 20px; }
.brand-subtitle { color:var(--ink); font-size:clamp(17px,2vw,24px); line-height:1.6; margin:0 0 24px; }
