/* Pearl / Obsidian: a dedicated appearance action, independent of account and sound. */
html[data-theme=light]{color-scheme:light;--back:#f5f4f0;--rail:#eceef0;--panel:#fffefb;--line:#cdd5df;--ink:#243244;--muted:#536275;--accent:#a74b13;--green:#206d49}
.global-topbar #theme-toggle{display:grid;place-items:center;flex:none;align-self:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border-radius:50%;color:#f8bd80;border:1px solid #556171;background:radial-gradient(circle at 35% 25%,#394759,#1b2430);box-shadow:inset 0 1px 0 #ffffff12,0 3px 10px #0002;cursor:pointer}
.theme-orbit{position:relative;width:22px;height:22px;display:block}.theme-orbit svg{position:absolute;inset:0;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;transition:opacity .22s ease,transform .3s ease}.theme-sun{opacity:0;transform:rotate(-65deg) scale(.65)}.theme-moon{opacity:1;transform:rotate(0) scale(1)}
html[data-theme=light] .theme-sun{opacity:1;transform:rotate(0) scale(1)}html[data-theme=light] .theme-moon{opacity:0;transform:rotate(65deg) scale(.65)}
.global-topbar #theme-toggle:hover{border-color:#e5a06b;box-shadow:0 0 0 3px #f9a86816,inset 0 1px #ffffff18}.global-topbar #theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
html[data-theme=light] .global-topbar #theme-toggle{color:#90501d;border-color:#d4be9e;background:radial-gradient(circle at 35% 25%,#fffef9,#eee5d6);box-shadow:inset 0 1px white,0 3px 10px #5b411312}
@media(min-width:741px) and (max-width:1100px){.global-topbar #account-name{font-size:0;gap:0;max-width:34px;margin-right:0}.global-topbar>.store{gap:9px}.global-topbar .store-picker{width:150px;min-width:120px;padding-right:9px}.global-topbar .header-account-menu{gap:7px}}
@media(max-width:740px){.global-topbar>.store{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px;align-items:center}.global-topbar .store-picker{grid-column:1;grid-row:1}.global-topbar #theme-toggle{grid-column:2;grid-row:1}.global-topbar .header-account-menu{grid-column:auto;grid-row:auto}}
@media(prefers-reduced-motion:reduce){.theme-orbit svg{transition:none}}
@media print{#theme-toggle{display:none!important}}
