
.brand-right{min-width:0;flex-wrap:wrap;justify-content:flex-end}.theme-toggle{appearance:none;display:inline-grid;place-items:center;flex:0 0 auto;width:40px;height:40px;padding:0;border:1px solid var(--line,#c9c7c0);border-radius:999px;background:var(--surface,#fff);color:var(--text,#16171c);cursor:pointer}
.theme-toggle:hover{border-color:currentColor}.theme-toggle svg{grid-area:1/1;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .theme-moon{display:none}
html[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.06);color:#f4f3f7;border-color:rgba(255,255,255,.24)}html[data-theme="dark"] .theme-toggle:hover{border-color:#f4f3f7}html[data-theme="dark"] .theme-toggle .theme-sun{display:none}html[data-theme="dark"] .theme-toggle .theme-moon{display:block}
.theme-player-toggle{appearance:none;width:100%;border:0;background:transparent;font-family:inherit;line-height:inherit;text-align:left;cursor:pointer}.theme-player-toggle>svg{display:none}.theme-player-toggle .theme-moon{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-player-toggle .theme-switch-track{position:relative;width:38px;height:22px;margin-left:auto;border:1px solid var(--control-border,rgba(255,255,255,.22));border-radius:999px;background:var(--soft-hover,rgba(255,255,255,.08));flex:none}.theme-player-toggle .theme-switch-track i{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:currentColor;transition:transform .16s ease}.theme-player-toggle[aria-checked="true"] .theme-switch-track i{transform:translateX(16px)}
@media(max-width:600px){.theme-toggle{width:40px;height:40px}.theme-player-toggle{min-height:44px}.brand-right{flex:0 0 auto;flex-wrap:nowrap}.brand>.brand-home{flex:0 1 112px;width:auto;min-width:64px}}
@media(max-width:380px){.theme-toggle{width:36px;height:36px}.theme-toggle svg{width:18px;height:18px}header.brand{gap:8px}.brand-right{gap:6px}.brand-right .btn-ghost{min-height:40px;padding:0 9px}}
@media(prefers-reduced-motion:reduce){.theme-player-toggle .theme-switch-track i{transition:none}}
