.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 11px;border:1px solid var(--color-border-control,var(--rule));border-radius:6px;background:var(--surface);color:var(--ink);font:600 12px/1.2 "Wanted Sans",Arial,sans-serif;white-space:nowrap;cursor:pointer;flex-shrink:0}
.theme-toggle[hidden]{display:none}.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .sun{display:none}[data-theme=dark] .theme-toggle .moon{display:none}[data-theme=dark] .theme-toggle .sun{display:block}
.archive-brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.archive-page .archive-brand-row .archive-brand{margin:0}.archive-brand-row .theme-toggle{padding:8px}
@media(max-width:640px){.strip{gap:12px}.strip .theme-toggle{margin:12px 0}.strip .lang{padding:8px 10px}.strip .home-link{font-size:22px}}
@media(min-width:861px) and (max-height:800px){.archive-brand-row{margin-bottom:14px}}
@media screen{
  :root[data-theme=dark]{color-scheme:dark;--paper:#13171e;--surface:#1c222c;--ink:#edf1f7;--muted:#acb8cb;--accent:#8db4ff;--rule:#394558;--tint:#25344c;
    --color-paper:var(--paper);--color-paper-2:var(--surface);--color-paper-3:#252e3d;--color-rail:#171d27;--color-line:var(--rule);
    --color-border-control:#718097;--color-border-control-hover:var(--accent);--color-ink:var(--ink);--color-ink-2:#c2ccdc;--color-ink-3:var(--muted);
    --color-gold:#edc16c;--color-gold-soft:#352c1c;--color-link:var(--accent);--color-focus:#a6c4ff;--color-down:#ff9e91;--color-scrim:#080c14c9}
  [data-theme=dark] .skip{background:var(--ink);color:var(--paper)}
  [data-theme=dark] .project-screen{background:#242d3b}
  [data-theme=dark] .project-screen.catpost{background:#25302b}
  [data-theme=dark] .project-screen.phantom{background:#252e43}
  [data-theme=dark] .project-links a{border-color:var(--rule)}
  [data-theme=dark] :is(.ncsoft,.kaist,.mensa){background:#f7f8fa;border-radius:4px;box-sizing:content-box;padding:5px}
  [data-theme=dark] .archive-page .topbar{background:#13171ef5}
  [data-theme=dark] .archive-page .review-dialog{box-shadow:0 24px 100px #0008}
  [data-theme=dark] .archive-page .controls button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--paper)}
  [data-theme=dark] .archive-page .controls button[aria-pressed=true] span{color:var(--paper)}
}
@media print{.theme-toggle{display:none!important}}
