.theme-toggle{flex:0 0 34px;width:34px;height:34px;padding:0;font-size:21px;border-radius:50%;line-height:1;display:inline-flex;align-items:center;justify-content:center}
html[data-theme=dark]{--ink:#ececec;--muted:#bdbdbd;--green:#85cdb5;--deep:#c6e8dc;--mint:#353535;--paper:#212121;--white:#292929;--line:#454545;--soft:#302d23;--red:#ffaaa0;--shadow:0 14px 45px #0004;background:#212121;color:#ececec}
html[data-theme=dark] body{background:#212121;color:#ececec}
html[data-theme=dark] :is(.card,.table-wrap,.chat-shell,.chat-main,.chat-sidebar,.chat-compose,.chat-header,.search-panel,.search-box,.listing-card,.role-choice,.auth-wrap,dialog,.skip,.dropdown,.region-panel){background:#292929;color:#ececec;border-color:#454545}
html[data-theme=dark] :is(input,select,textarea){background:#242424;color:#ececec;border-color:#555555}
html[data-theme=dark] :is(.btn,.primary){background:#256e58;color:#fff}
html[data-theme=dark] :is(.btn.secondary,.btn.light,.icon-btn,.badge,.signature,.chat-context,.bubble,.faq,.notification-row,.chat-item.active,th){background:#353535;color:#ececec;border-color:#505050}
html[data-theme=dark] .message.mine .bubble{background:#216850;color:#fff}
html[data-theme=dark] :is(.notice,.attachment-label){background:#342e21;color:#ecd6ae;border-color:#5d5135}
html[data-theme=dark] :is(.notice.green,.footer,.how-section,.cta){background:#252525;color:#ececec}
html[data-theme=dark] :is(.muted,.subtle,.small-text.muted,.header nav a,.eyebrow,td small,.field-hint,.footer a,.message small){color:#bdbdbd}
html[data-theme=dark] :is(.message-receipt.read,.text-button){color:#9ce2c7}
html[data-theme=dark] .brand img{mix-blend-mode:normal;background:#faf9f5;border-radius:8px}
html[data-theme=dark] :is(.world-card,.detail-head,.profile-cover){background:#303030}
html[data-theme=dark] .world-map{background:#272727}
html[data-theme=dark] .world-map path{stroke:#454545}
html[data-theme=dark] .volume-chart svg text{fill:#c9c9c9}
html[data-theme=dark] :is(button:not(.btn):not(.voice-toggle),.map-header span){color:#e5e5e5}
html[data-theme=dark] :is(.voice-player,.attachment-preview .voice-player){color:#e5e5e5}
html[data-theme=dark] button:not(.btn):not(.voice-toggle):not(.text-button):not(.icon-btn):not(.voice-speed){background:#353535}
html[data-theme=dark] :is(td,th,.header,.chat-context,.chat-header,.chat-compose,.chat-item){border-color:#454545}
@media(max-width:600px){.header-actions{gap:5px}.header-actions .theme-toggle{width:28px;height:28px;flex-basis:28px}.header-inner{gap:5px}.header .brand{width:115px}}

html[data-theme=dark] .header{background:#212121f5}html[data-theme=dark] :is(h1,h2,h3,h4,.page-title h1,.profile-intro h1){color:#ececec}html[data-theme=dark] .profile-cover:after{opacity:.15}html[data-theme=dark] .hero h1 em{color:#a8d8c5}
