.theme-toggle{width:36px;min-height:36px;padding:0;display:inline-grid;place-items:center;border-radius:999px;border:1px solid rgba(60,60,67,.12);background:linear-gradient(145deg,#7c6cff 0%,#5b4fe0 55%,#4a3fd0 100%);color:#fff;cursor:pointer;box-shadow:0 8px 16px rgba(91,79,224,.28),inset 0 1px 0 rgba(255,255,255,.28);font-size:16px;line-height:1}
.theme-toggle .theme-ico-dark{display:none}
html[data-theme="dark"] .theme-toggle{background:linear-gradient(145deg,#ffd56a 0%,#ffb020 55%,#f08c00 100%);border-color:rgba(255,176,32,.5);color:#3b2400;box-shadow:0 8px 16px rgba(255,160,20,.28),inset 0 1px 0 rgba(255,255,255,.35)}
html[data-theme="dark"] .theme-toggle .theme-ico-light{display:none}
html[data-theme="dark"] .theme-toggle .theme-ico-dark{display:inline}
.login-theme-wrap{position:fixed;top:16px;right:16px;z-index:20}
html[data-theme="dark"]{color-scheme:dark;--ink:#e8eef7;--muted:#8b98ab;--blue:#7dd3fc;--glass:rgba(16,24,38,.72);--line:rgba(255,255,255,.1);--shadow:0 22px 60px rgba(0,0,0,.38);color:var(--ink);background:#0b1017}
html[data-theme="dark"] body,body[data-theme="dark"]{background:linear-gradient(145deg,#0b1017 0%,#101826 52%,#0d1420 100%);color:var(--ink)}
html[data-theme="dark"] .aurora{opacity:.28}
html[data-theme="dark"] .a1{background:#1d4ed8}
html[data-theme="dark"] .a2{background:#6d28d9}
html[data-theme="dark"] .top{background:rgba(16,24,38,.78);border-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .brand-hello,html[data-theme="dark"] .hello-title{color:#7dd3fc;text-shadow:2px 3px 0 rgba(125,211,252,.12)}
html[data-theme="dark"] .glass{background:rgba(16,24,38,.72);border-color:rgba(255,255,255,.1);box-shadow:0 18px 48px rgba(0,0,0,.28)}
html[data-theme="dark"] .event-group{background:rgba(16,24,38,.62);border-color:rgba(255,255,255,.08);box-shadow:0 12px 34px rgba(0,0,0,.22)}
html[data-theme="dark"] .event-group summary:hover{background:rgba(255,255,255,.04)}
html[data-theme="dark"] .group-icon{background:rgba(125,211,252,.12)}
html[data-theme="dark"] .group-items{border-top-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .event-group .item{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .item-icon{background:rgba(125,211,252,.12)}
html[data-theme="dark"] .calendar-pair span{color:#c5d4e8;background:rgba(125,211,252,.12)}
html[data-theme="dark"] .countdown{color:#7dd3fc;background:rgba(125,211,252,.12)}
html[data-theme="dark"] .countdown.soon{color:#ffb020;background:rgba(255,176,32,.14)}
html[data-theme="dark"] .empty{border-color:rgba(255,255,255,.16);color:var(--muted)}
html[data-theme="dark"] .bot-config-body{border-top-color:rgba(255,255,255,.08)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:rgba(7,10,16,.72);border-color:rgba(255,255,255,.12);color:var(--ink)}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:rgba(125,211,252,.45);box-shadow:0 0 0 4px rgba(125,211,252,.12)}
html[data-theme="dark"] .ghost{background:rgba(255,255,255,.06);color:var(--ink);border-color:rgba(255,255,255,.12)}
html[data-theme="dark"] .circle{background:rgba(255,255,255,.06);color:#7dd3fc;border-color:rgba(255,255,255,.12)}
html[data-theme="dark"] .primary{box-shadow:0 9px 24px rgba(8,124,255,.28)}
html[data-theme="dark"] .switch{background:#3b4556}
html[data-theme="dark"] .schedule-hint{background:rgba(125,211,252,.1);color:var(--muted)}
html[data-theme="dark"] .advance-options .check{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] dialog::backdrop{background:rgba(5,8,14,.55)}
html[data-theme="dark"] .sheet{background:rgba(16,24,38,.96)}
html[data-theme="dark"] .city-option{background:rgba(255,255,255,.06);color:var(--ink)}
html[data-theme="dark"] .city-option.selected{background:rgba(125,211,252,.14);outline-color:#7dd3fc}
html[data-theme="dark"] .login-card{background:rgba(16,24,38,.82)}
html[data-theme="dark"] #toast{background:#e8eef7;color:#0b1017}
@media(max-width:480px){html[data-theme="dark"] .sheet-head{background:rgba(16,24,38,.98)}}
