/* Kerro shell: the sidebar, the search row, the moving background and the
   footer that every page shares. Built by js/shell.js. One dark look on
   purpose: game art brings the colour and the chrome stays quiet. The light
   theme from Settings swaps the tokens and drops the moving background.

   The older names (--text, --border, --accent and so on) are kept as aliases,
   because chat, friends, polls and the other widgets draw with them. */

:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --surface: #18181a;
  --raise: #232326;
  --line: rgba(236, 240, 255, .08);
  --line-strong: rgba(236, 240, 255, .16);
  --ink: #f4f4f5;
  --ink-2: #dcdce2;
  --muted: #c4c4cc;
  --faint: #9c9ca6;
  --red: #ff3b3b;
  --red-fill: #d42a2a;
  --red-hover: #e33434;
  /* rgb triplets: a light wash for hovers, and the page colour for shading. */
  --wash: 236, 240, 255;
  --shade: 12, 12, 14;
  --pill: rgba(14, 14, 18, .42);
  --pill-hover: rgba(20, 20, 26, .55);
  --pill-solid: rgba(18, 18, 22, .78);
  --pod: rgba(10, 10, 14, .24);

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-stretch: 112%;

  --side-w: 236px;
  --pad: clamp(24px, 4.2vw, 68px);
  --bar-h: 0px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-enter: cubic-bezier(.05, .7, .1, 1);

  --surface-2: var(--raise);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --text: var(--ink);
  --muted-2: var(--faint);
  --accent: var(--red);
  --glass: rgba(12, 12, 14, .82);
}

/* Light theme, set on <html> by js/mimicry.js before the first paint. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f3f5;
  --surface: #ffffff;
  --raise: #e8e8ed;
  --line: rgba(20, 20, 32, .09);
  --line-strong: rgba(20, 20, 32, .18);
  --ink: #141418;
  --ink-2: #2b2b33;
  --muted: #55555f;
  --faint: #6b6b75;
  --red: #d42a2a;
  --wash: 20, 20, 40;
  --shade: 243, 243, 245;
  --pill: rgba(255, 255, 255, .72);
  --pill-hover: #fff;
  --pill-solid: #fff;
  --pod: rgba(255, 255, 255, .6);
  --glass: rgba(243, 243, 245, .88);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { interpolate-size: allow-keywords; }
html { background: var(--bg); scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
svg.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ── Background ──────────────────────────────────────────────────────── */
.fog { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.fog.on { opacity: .46; }
.fog canvas { display: block; }
.fog .vanta-canvas { opacity: 0; transition: opacity .55s ease; }
.fog .vanta-canvas.ready { opacity: 1; }
.fog .flat { position: absolute; inset: 0; will-change: opacity; }
.motes { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; animation: gv-fade-in 1.2s ease both; }
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .055; mix-blend-mode: overlay; background-size: 128px 128px; }
@media (min-width: 901px) {
  .motes { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) calc(var(--side-w) + 4px), #000 calc(var(--side-w) + 180px)); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) calc(var(--side-w) + 4px), #000 calc(var(--side-w) + 180px)); }
}
[data-theme="light"] .fog, [data-theme="light"] .motes, [data-theme="light"] .grain { display: none; }
/* A game covers the page, so nothing behind it needs drawing. */
.gv-in-game .fog, .gv-in-game .motes { visibility: hidden; }

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.side { position: fixed; z-index: 20; top: 0; left: 0; bottom: 0; width: var(--side-w); display: flex; flex-direction: column; gap: 10px; padding: 16px 0 14px 14px; overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
/* The sidebar is a few rounded pieces floating on the fog, not one wall. */
.pod { position: relative; padding: 6px; border-radius: 20px; background: var(--pod); border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 14px 30px -18px rgba(0, 0, 0, .8); }
[data-theme="light"] .pod { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .25); }
.brand { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 10px; margin: 10px 0 0; color: var(--ink); font-weight: 800; font-stretch: var(--display-stretch); font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.side .brand:focus-visible, .side .me:focus-visible { outline-offset: -2px; }
.nav { position: relative; display: grid; gap: 2px; }
.nav a, .nav summary, .nav button { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 14px; background: none; color: var(--muted); font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; transition: color .15s ease; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover, .nav button:hover, .nav details[open] summary { color: var(--ink); }
.nav [aria-current] { color: var(--ink); font-weight: 600; background: rgba(var(--wash), .07); }
.nav [aria-current] svg { color: var(--red); }
.nav .hl { position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 40px; border-radius: 14px; background: rgba(var(--wash), .05); opacity: 0; pointer-events: none; transition: transform .32s var(--ease-out), opacity .2s ease; }
.nav-label { margin: 6px 10px 4px; font-size: 13px; color: var(--muted); }
.nav .tail { margin-left: auto; transition: transform .2s var(--ease-out); }
.nav details[open] .tail { transform: rotate(180deg); }
.nav-more::details-content { height: 0; overflow: clip; transition: height .28s var(--ease-out), content-visibility .28s allow-discrete; }
.nav-more[open]::details-content { height: auto; }
.sub-nav { display: grid; gap: 2px; padding: 2px 0 4px 30px; }
.sub-nav a, .sub-nav button { height: 34px; font-size: 14px; }
/* Unread messages and friend requests, at the end of their row. */
.nav .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red-fill); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.nav .count.dot { min-width: 8px; width: 8px; height: 8px; padding: 0; }

.side-end { min-width: 0; margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.side-end:has(.bell.quiet) { margin-top: 0; }
.bell { display: grid; gap: 6px; padding: 14px; font-variant-numeric: tabular-nums; }
.bell.quiet { display: none; }
.bell-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; font-size: 13px; overflow-wrap: anywhere; }
.bell-now { font-weight: 600; }
.bell-ends { color: var(--muted); }
.bell-clock { font-size: 26px; font-weight: 700; font-stretch: var(--display-stretch); letter-spacing: -.01em; line-height: 1.1; }
.bell-clock::after { content: " left"; font-size: 14px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.bell-bar { height: 3px; border-radius: 2px; background: rgba(var(--wash), .1); overflow: hidden; }
.bell-bar span { display: block; height: 100%; width: 100%; background: var(--ink); opacity: .7; border-radius: 2px; transform-origin: left; transform: scaleX(0); }
.me { display: flex; align-items: center; gap: 11px; padding: 6px 18px 6px 6px; border-radius: 999px; color: var(--muted); text-align: left; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.me:hover { background: rgba(var(--wash), .07); border-color: var(--line-strong); color: var(--ink); }
.me-av { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--raise); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; overflow: hidden; font-size: 12px; font-weight: 700; }
.me-av svg { width: 16px; height: 16px; stroke-width: 2; }
.me-text { flex: 1; min-width: 0; }
.me b { display: flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.me b .name { min-width: 0; overflow-wrap: anywhere; }
.me b .verified-badge { width: 14px; height: 14px; flex-shrink: 0; }
.me small { display: block; font-size: 13px; }

@media (max-height: 700px) and (min-width: 901px) {
  .bell { padding: 10px 14px; gap: 4px; }
  .bell-clock { font-size: 20px; }
  .me small { display: none; }
  .side { padding-top: 10px; gap: 8px; }
  .nav a, .nav summary, .nav button, .nav .hl { height: 36px; }
  .nav-label { margin-top: 14px; }
}
@media (max-height: 620px) and (min-width: 901px) {
  .nav a, .nav summary, .nav button, .nav .hl { height: 32px; }
  .nav-label { margin-top: 8px; }
}

/* Phone bar, shown when the sidebar is not. */
.mbar { display: none; }

/* ── Main column ─────────────────────────────────────────────────────── */
.main { position: relative; min-width: 0; min-height: 100vh; margin-left: var(--side-w); padding: 0 var(--pad); display: flex; flex-direction: column; }
.top { position: sticky; top: -12px; z-index: 6; display: flex; align-items: center; gap: 10px; padding-block: 26px 0; }
/* Once it sticks, the search row sits on a soft blur that lets the fog through. */
.top::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--pad) * -1) -28px; background: rgba(var(--shade), .64); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent), linear-gradient(90deg, transparent, #000 var(--pad)); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent), linear-gradient(90deg, transparent, #000 var(--pad)); mask-composite: intersect;
  opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.top.stuck::before { opacity: 1; }
.search { position: relative; display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; max-width: 640px; height: 48px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--pill); border: 1px solid rgba(var(--wash), .12); color: var(--muted); transition: border-color .2s ease, background-color .2s ease; }
.search:hover { border-color: var(--line-strong); background: var(--pill-hover); }
.search:focus-within { border-color: rgba(var(--wash), .28); background: var(--pill-solid); }
.search:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15px; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.icon-btn:hover { color: var(--ink); background: rgba(var(--wash), .08); }
.top.stuck .search, .top.stuck .surprise { background: var(--pill-solid); }

/* Round buttons beside the search: Surprise me, Theme. */
.surprise-wrap, .theme-wrap { position: relative; }
.surprise { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--pill); border: 1px solid rgba(var(--wash), .12); color: var(--ink); font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .15s ease, transform .2s var(--ease-out); }
.surprise:hover { border-color: var(--line-strong); background: var(--pill-hover); }
.surprise:active { transform: scale(.97); transition-duration: .08s; }
.surprise-face { width: 32px; height: 32px; border-radius: 50%; background: transparent center / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.surprise-face svg { width: 18px; height: 18px; stroke-width: 2; }
.theme-face, .theme-sw { position: relative; overflow: hidden; transition: background .4s ease; }
.theme-face::after, .theme-sw::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.pop-panel { position: absolute; z-index: 5; top: calc(100% + 10px); right: 0; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 22px 44px -14px rgba(0, 0, 0, .75); transform-origin: top right; animation: gv-pop-in .2s var(--ease-out); }
.themes { width: 344px; padding: 14px 14px 10px; }
.themes-h { margin: 0 2px 8px; font-size: 13px; color: var(--muted); }
.themes-h + .themes-grid + .themes-h { margin-top: 12px; }
.themes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.theme-opt { display: grid; justify-items: center; gap: 6px; padding: 6px 2px 8px; border: 0; border-radius: 14px; background: none; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.theme-opt:hover { background: rgba(var(--wash), .06); color: var(--ink); }
.theme-opt[aria-pressed="true"] { color: var(--ink); }
.theme-sw { width: 46px; height: 46px; border-radius: 50%; transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.theme-opt:hover .theme-sw { transform: scale(1.06); }
.theme-opt[aria-pressed="true"] .theme-sw { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.themes-note { margin: 10px 2px 2px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) {
  .themes { position: fixed; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; width: auto; max-width: none; transform-origin: bottom center; }
  .theme-opt { padding: 4px 2px 6px; }
  .theme-sw { width: 40px; height: 40px; }
}
@media (forced-colors: active) { .theme-sw, .theme-face { forced-color-adjust: none; } .theme-opt[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; } }
@keyframes gv-fade-in { from { opacity: 0; } }
@keyframes gv-pop-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--ink); text-decoration: none; background: rgba(var(--wash), .06); border: 1px solid rgba(var(--wash), .14); cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .2s var(--ease-out); }
.btn:hover { background: rgba(var(--wash), .1); border-color: rgba(var(--wash), .3); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-red, .btn-primary { background: var(--red-fill); border-color: transparent; color: #fff; }
.btn-red:hover, .btn-primary:hover { background: var(--red-hover); border-color: transparent; }
.btn-red svg { fill: currentColor; stroke: none; width: 14px; height: 14px; }
.btn-icon { width: 48px; padding: 0; }
.btn-icon[aria-pressed="true"] svg { fill: currentColor; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: auto; padding-top: 72px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; width: 100%; padding-block: 24px 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .note { margin-left: auto; }
.foot .affiliation { flex-basis: 100%; max-width: 75ch; margin: 0; line-height: 1.5; }
.legal-notice { position: fixed; z-index: 1900; inset-inline: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 20px; width: min(760px, calc(100% - 32px)); margin-inline: auto; padding: 20px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 36px rgba(0, 0, 0, .3); }
.legal-notice-copy { flex: 1; min-width: 0; }
.legal-notice p { margin: 0; line-height: 1.5; }
.legal-notice .legal-notice-terms { font-size: 16px; font-weight: 600; }
.legal-notice .legal-notice-analytics { margin-top: 8px; color: var(--muted); font-size: 14px; }
.legal-notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-notice .btn { flex-shrink: 0; min-height: 44px; }
.gv-in-game .legal-notice { display: none; }
@media (max-width: 520px) {
  .legal-notice { flex-wrap: wrap; gap: 14px; padding: 16px; }
  .legal-notice-copy { flex-basis: 100%; }
  .legal-notice .btn { margin-inline-start: auto; }
}
.switch-btn { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; color: var(--muted); cursor: pointer; }
.switch-btn:hover { color: var(--ink); }
.switch-btn .track { width: 32px; height: 18px; border-radius: 9px; background: var(--raise); border: 1px solid var(--line-strong); position: relative; transition: background-color .2s ease; }
.switch-btn .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease-out), background-color .2s ease; }
.switch-btn[aria-checked="true"] .track { background: #3a3a40; }
[data-theme="light"] .switch-btn[aria-checked="true"] .track { background: #c9c9d2; }
.switch-btn[aria-checked="true"] .track::after { transform: translateX(14px); background: var(--ink); }
[data-theme="light"] #motion { display: none; }

/* ── A note to everyone (NOTICE in js/shell.js) ──────────────────────── */
.notice-bar { position: fixed; z-index: 1400; left: calc(50% + var(--side-w) / 2); bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100vw - var(--side-w) - 32px); padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 22px 44px -14px rgba(0, 0, 0, .75); animation: gv-pop-in .3s var(--ease-out); }
.notice-bar p { margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.notice-bar .btn { flex-shrink: 0; }
.gv-in-game .notice-bar { display: none; }
@media (max-width: 900px) { .notice-bar { left: 50%; max-width: calc(100vw - 32px); border-radius: 20px; padding: 12px 12px 12px 18px; } }

/* ── Narrow screens: the sidebar becomes a menu under a bar ─────────── */
@media (max-width: 1100px) { :root { --side-w: 212px; } }
@media (max-width: 900px) {
  :root { --bar-h: 60px; }
  html { scroll-padding-top: 140px; }
  .mbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; background: rgba(var(--shade), .94); border-bottom: 1px solid var(--line); }
  .mbar .brand { margin: 0; padding: 0; }
  .mbar button { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: none; color: var(--ink); font-weight: 600; cursor: pointer; }
  .mbar .count { min-width: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-fill); }
  .side { background: var(--surface); z-index: 40; top: calc(60px + env(safe-area-inset-top, 0px)); width: min(300px, 86vw); padding: 14px 14px 14px; transform: translateX(-102%); visibility: hidden; overscroll-behavior: contain; transition: transform .35s var(--ease-out), visibility 0s linear .35s; box-shadow: 20px 0 50px rgba(0, 0, 0, .5); }
  .side.open { transform: none; visibility: visible; transition: transform .35s var(--ease-out); }
  .side .brand { display: none; }
  .side .pod { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .side > .pod + .pod, .side-end { border-top: 1px solid var(--line); padding-top: 10px; }
  .side .me { padding: 6px 4px; }
  html:has(.side.open) { overflow: hidden; }
  .scrim { position: fixed; inset: calc(60px + env(safe-area-inset-top, 0px)) 0 0; z-index: 35; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
  .scrim.on { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  .main { margin-left: 0; padding: 0 16px; --pad: 16px; min-height: calc(100vh - 60px); }
  .top { padding-top: 14px; top: calc(60px + env(safe-area-inset-top, 0px)); }
  .search, .surprise { background: rgba(var(--shade), .55); }
}
@media (max-width: 900px) and (max-height: 500px) {
  .top { position: relative; top: auto; }
  .top.stuck::before { opacity: 0; }
  html { scroll-padding-top: 76px; }
}
@media (max-width: 640px) {
  .surprise-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .surprise { padding: 0 10px; }
  .foot .note { margin-left: 0; }
}
@media (min-width: 901px) { .side { scrollbar-width: thin; scrollbar-color: rgba(var(--wash), .22) transparent; } }

@media (forced-colors: active) {
  .nav [aria-current] { outline: 2px solid CanvasText; outline-offset: -2px; }
  .switch-btn .track::after { forced-color-adjust: none; background: CanvasText; }
  .switch-btn[aria-checked="true"] .track { forced-color-adjust: none; background: Highlight; border-color: Highlight; }
  .switch-btn[aria-checked="true"] .track::after { background: HighlightText; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-more::details-content, .nav .tail, .scrim, .fog, .fog canvas { transition-duration: .01s !important; animation: none !important; }
  .btn, .surprise, .switch-btn .track::after, .side, .nav .hl { transition-duration: .01s !important; }
  .pop-panel { animation: none; }
}
