/* Tokens compartilhados por todas as páginas, inclusive os estúdios locais. */
:root{color-scheme:light;--background:#f4f4f7;--surface:#fff;--surface-card:#fff;--border-color:#d8d2e0;--text-main:#171120;--text-muted:#635b70;--primary:#820ad1;--primary-dark:#6708a6;--primary-light:#f3e8fd;--error:#b51d37;--theme-link:#6221a0;--theme-on-primary:#fff;--theme-primary-hover:#6708a6}
:root[data-theme="dark"]{color-scheme:dark;--background:#0c0812;--surface:#171120;--surface-card:#20182b;--border-color:#493558;--text-main:#f5f5fa;--text-muted:#bfb6cf;--primary:#9d4edd;--primary-dark:#c084fc;--primary-light:#2a163e;--error:#ff9bad;--theme-link:#8be9d7;--theme-primary-hover:#8741cf}
/* Um único controle padrão no topo; os controles antigos ficam sob a API comum. */
#btn-theme-toggle,.btn-theme-toggle-header{display:none!important}
.site-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-width:42px;min-height:42px;padding:9px 12px!important;margin:0;border:1px solid var(--border-color)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text-main)!important;font:600 13px system-ui!important;cursor:pointer;box-shadow:0 2px 8px #00000012;z-index:10001;pointer-events:auto}
.site-theme-toggle:hover{background:var(--primary-light)!important;border-color:var(--primary)!important}
.site-theme-toggle:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.site-theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-theme-toggle svg[hidden]{display:none}
.site-theme-floating{position:fixed;top:16px;right:16px}
.site-theme-vr{left:50%;right:auto;transform:translateX(-50%)}
@media(max-width:700px){.site-theme-label{display:none}.site-theme-toggle{padding:9px!important}.site-theme-floating{top:10px;right:10px}}
