.theme-toggle{font:inherit;font-size:12px;font-weight:700;border:1px solid var(--line,#bdceba);border-radius:9px;background:var(--paper,#fff);color:var(--ink,#203d2d);padding:9px 11px;cursor:pointer;white-space:nowrap}.theme-toggle:focus-visible{outline:3px solid #dca243;outline-offset:3px}.theme-row{display:flex;justify-content:flex-end;margin-bottom:12px}.own-delete{max-width:156px;line-height:1.6;white-space:normal}
:root[data-theme=dark]{color-scheme:dark;--ink:#e5ece7;--muted:#acbbb1;--green:#8fd1a9;--green-light:#253d31;--line:#3b4e42;--paper:#202b25;--bg:#131b17;--red:#ffb0a3}
html[data-theme=dark] body{background:var(--bg);color:var(--ink)}
html[data-theme=dark] :is(.panel,.modal,dialog,.recent-item,.current-game,.library-card,.game-search-result,aside,.mode,.option,.secondary){background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.recent-panel,.current-panel){background:linear-gradient(155deg,#223d2c,#202b25 78%);border-color:var(--line)}
html[data-theme=dark] :is(input,textarea,select,.share-btn,.modal-cancel,.delete-btn,.side-remove){background:#17221b;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.request-description,.request-count,.library-count,.library-editor,.request-suggestions,.request-confirm-content,.status,.mistake,.game-search-source){background:#29382e;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.muted,.secret,.eyebrow,.recent-summary,.subtext,.privacy-note,.library-note,.request-date,.game-search-status,.game-search-source,.modal p,.recent-editor p,.library-editor p){color:var(--muted)}
html[data-theme=dark] :is(.send-btn,.primary,.modal-login,.side-add-form button,.library-save,.action,.recent-number){background:#366b4b;color:#fff}
html[data-theme=dark] :is(.mode:hover,.option:hover,.library-toggle:hover){background:#304737}
html[data-theme=dark] :is(.request-name-toggle:hover,.hero h1 span,.recent-kicker,#status,#live){color:#98dab3}
html[data-theme=dark] :is(a,.channel-links a,.steam-library-link){color:#85bdff}
html[data-theme=dark] :is(.brand,.library-toggle){color:var(--ink)}
html[data-theme=dark] :is(.request-comment-mark){color:#85bdff}
html[data-theme=dark] :is(.mode:disabled){background:#28302b;color:#aeb9b1}
html[data-theme=dark] :is(th,td,.ranking,.side-section+.side-section,.recent-editor){border-color:var(--line)}
html[data-theme=dark] #reference{background:#29382e}
html[data-theme=dark] :is(.creator-profile figcaption,.request-confirm-content dd,.library-editor summary,.library-editor textarea,.toggle-all-comments){background:#29382e;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input,textarea,select){background:#17221b!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#a2b1a7;opacity:1}
html[data-theme=dark] :is(.request-item:has(.request-name-toggle),.game-search-result:has(.search-comment-toggle)):hover{background:#293c30;border-color:#7aab8a}
html[data-theme=dark] dialog::backdrop{background:#040906b8}
@media(max-width:580px){.topbar .theme-toggle{font-size:10px;padding:8px 6px}.head-actions{gap:5px}.topbar{padding-left:12px;padding-right:12px}.topbar .brand{font-size:12px;gap:5px}.topbar .brand-mark{width:26px;height:26px}.topbar .admin-btn,.topbar .share-btn{padding:8px 7px;font-size:10px}.own-delete{max-width:125px;font-size:10px}}
@media(max-width:380px){.topbar{height:auto;min-height:60px;flex-wrap:wrap;gap:6px;padding-top:8px;padding-bottom:8px}.topbar .head-actions{margin-left:auto}}
