/* روشن: وارونه‌سازی روشنایی با حفظ رنگ‌مایه (طلا طلا می‌ماند) */
html[data-theme=light]{filter:invert(1) hue-rotate(180deg) sepia(.16) saturate(1.05) brightness(.97) contrast(.96);background:#f4efe4}
html[data-theme=light] img:not(.brand-mark img):not(.brand img),html[data-theme=light] video,html[data-theme=light] iframe,html[data-theme=light] picture{filter:invert(1) hue-rotate(180deg)}
html[data-theme=light] body{background-color:var(--bg)}
.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}
