
/* Shared selector only; Classic's existing theme and page rules remain unchanged. */
.header-account,.header-preferences{display:flex;align-items:center;gap:1rem}
.header-account{flex-shrink:0}.header-preferences{flex-shrink:0}
.theme-menu{position:relative}.theme-toggle{display:flex;align-items:center;gap:.45rem;min-height:44px;padding:.5rem .7rem;border:1px solid var(--border);background:var(--paper);color:var(--ink);border-radius:var(--radius-sm);font-weight:650}
.theme-options{position:absolute;right:0;top:calc(100% + .5rem);z-index:60;width:16.5rem;padding:.5rem;background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 .7rem 2rem var(--card-shadow)}
.theme-options[hidden]{display:none}
.theme-options button{display:flex;align-items:center;gap:.6rem;min-height:48px;width:100%;padding:.65rem;border:0;border-radius:var(--radius-sm);background:var(--paper);color:var(--ink);font-weight:600;text-align:left}
.theme-options button:hover{background:var(--soft)}.theme-options button[aria-pressed=true]{background:var(--soft)}
.theme-check{margin-left:auto;visibility:hidden}.theme-options [aria-pressed=true] .theme-check{visibility:visible}
.theme-swatch{width:1.6rem;height:1.6rem;flex:none;border-radius:50%;border:1px solid var(--border)}
.theme-swatch-sport{background:linear-gradient(135deg,#11242c 50%,#c5ed52 50%)}.theme-swatch-explore{background:linear-gradient(135deg,#123D42 50%,#F47B39 50%)}
.theme-message:empty{display:none}.theme-message:not(:empty){display:block;position:static;margin:.5rem 0 0;padding:.75rem .5rem 0 0;border-top:1px solid var(--border);color:var(--ink);font-size:.875rem;line-height:1.45}
.explore-only{display:none}
@media(min-width:60.01rem){.header{gap:1.25rem}.header nav{flex-wrap:wrap;justify-content:flex-end;gap:clamp(.65rem,1.5vw,1.8rem)}}
@media(max-width:60rem){.header-account{justify-content:flex-start}.header-preferences{position:relative;justify-content:flex-start;gap:1rem}.theme-menu{position:static}.theme-options{right:auto;left:0}.theme-message:not(:empty){right:auto;left:0}}
