/* Light mode is an explicit palette. Never invert the whole document. */
html[data-theme=light]{filter:none!important;background:#f4efe4;color-scheme:light}
html[data-theme=light] img,html[data-theme=light] video,html[data-theme=light] iframe,html[data-theme=light] picture{filter:none}
html[data-theme=light] body{background-color:#f6f1e7}
html[data-theme=dark]{filter:none!important;color-scheme:dark}
.theme-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(212,166,79,.4);background:rgba(212,166,79,.1);color:#e8c47a;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.theme-btn:hover{background:rgba(212,166,79,.2)}
.theme-btn span{font-size:15px;line-height:1}
.theme-btn.floating{position:fixed;z-index:60;bottom:16px;inset-inline-start:16px}
@media(max-width:640px){.theme-btn b{display:none}.theme-btn{min-width:40px;min-height:40px;justify-content:center;padding:0}}
.v7-theme-toggle,[data-v7-theme]{display:none!important}
