:root[data-theme="burgundy"] { --bg:#f7f5f2; --surface:#fff; --text:#23232a; --muted:#625c61; --accent:#7e2b49; --soft:#f3e6eb; --border:#e9dce1; }
:root[data-theme="dark"] { color-scheme:dark; --bg:#101b26; --surface:#1b2a38; --text:#f2f7ff; --muted:#b3c5d7; --accent:#a5d1ef; --soft:#23394b; --border:#30495d; --success:#a9dfbd; --error:#f4a9b6; --success-bg:#223c35; --error-bg:#452d3a; }
:root[data-theme] :is([data-section="results"], [data-section="exam"]) { --canvas:var(--bg); --ink:var(--text); --primary:var(--accent); --card:var(--surface); }
:root[data-theme="dark"] :is(.primary,.featured,.hero-card,.result-hero,.outcome,.streak,.segments button[aria-pressed="true"],.option[aria-pressed="true"],.played,.steps span[aria-current="step"],.avatar) { color:#102438; }
:root[data-theme="dark"] :is(.primary,.featured,.hero-card,.result-hero,.outcome,.streak) :is(small,.pill,p) { color:inherit; }
:root[data-theme="dark"] body[data-section="duels"] { background:var(--bg); }

.circle { min-width:44px; min-height:44px; }
.topbar:has(.circle) { column-gap:6px; }
.segments :is(button,a), .filters button, .search button, .week-card .button, .timer, .text-action { min-height:44px; }
.search button { min-width:44px; }
.circle .icon { flex-shrink:0; }
:is(button,.button,.circle):disabled { cursor:default; }
@media (hover:hover) {
  :is(button,.button,.circle):not(:disabled):hover { filter:brightness(.97); }
}
:is(button,.button,.circle):not(:disabled):active { filter:brightness(.92); }
