/*
 * Civilization Lab — one screen, dark neutrals, a single teal accent for
 * anything the player can act on. Panels float over the world rather than
 * boxing it in, so the simulation is always the thing you are looking at.
 */

:root {
  --bg: #08090c;
  --surface: #101319;
  --surface-2: #161a22;
  --surface-3: #1d222c;
  --line: #262c38;
  --line-soft: #1c212b;
  --text: #e8ecf3;
  --text-dim: #98a2b3;
  --text-faint: #5f6b7e;
  --accent: #00d9c0;
  --accent-dim: #0b8f81;
  --accent-ink: #032420;
  --warn: #ffb020;
  --bad: #ff6a4d;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
  --panel-blur: saturate(150%) blur(18px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

.noscript {
  position: fixed; inset: 0; display: grid; place-content: center; text-align: center; padding: 2rem;
}

/* ---------------------------------------------------------------- chrome */

.app { position: fixed; inset: 0; pointer-events: none; }
.app[hidden] { display: none; }

.hud {
  position: absolute;
  pointer-events: auto;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hud-top {
  top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 14px;
}

.clock { min-width: 150px; }
.clock-year { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.clock-year small { font-size: 12px; color: var(--text-faint); margin-left: 4px; font-weight: 500; }
.clock-meta { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 12px; }
.clock-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

.transport { display: flex; align-items: center; gap: 8px; }
.speeds { display: flex; gap: 2px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 2px; }

.btn {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 80ms ease;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-3); border-color: #333c4c; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn[aria-pressed="true"], .btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-quiet { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-quiet:hover { color: var(--text); background: var(--surface-2); }
.btn-icon { width: 38px; height: 34px; display: grid; place-items: center; padding: 0; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn-accent:hover { background: #22ecd4; border-color: #22ecd4; }
.btn-sm { padding: 4px 9px; font-size: 12px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.speeds .btn { border: none; background: transparent; padding: 4px 9px; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.speeds .btn.is-active { background: var(--surface-3); color: var(--accent); font-weight: 700; }

.camera-modes { display: flex; gap: 2px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 2px; }
.camera-modes .btn { border: none; background: transparent; font-size: 12px; padding: 5px 10px; color: var(--text-dim); }
.camera-modes .btn.is-active { background: var(--surface-3); color: var(--text); font-weight: 600; }

.influence { margin-left: auto; min-width: 132px; }
.influence-bar { height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.influence-fill { height: 100%; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); border-radius: 3px; transition: width 400ms ease; }
.influence-text { font-size: 11px; color: var(--text-dim); margin-top: 4px; letter-spacing: 0.02em; }
.influence-text strong { color: var(--text); font-variant-numeric: tabular-nums; }

.top-actions { display: flex; gap: 6px; }

/* ------------------------------------------------------------ civ cards */

.hud-left {
  top: 84px; left: 14px; width: 268px;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding: 8px;
  display: flex; flex-direction: column; gap: 8px;
}

.civ-card {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--civ, var(--accent));
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.civ-card:hover { background: var(--surface-3); }
.civ-card.is-selected { border-color: var(--line); background: var(--surface-3); }
.civ-card.is-dead { opacity: 0.5; }

.civ-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.civ-name { font-weight: 650; letter-spacing: -0.01em; }
.civ-era { font-size: 11px; color: var(--text-faint); }
.civ-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.stat { background: var(--surface); border-radius: 6px; padding: 5px 7px; }
.stat-label { font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }
.civ-mood { margin-top: 8px; font-size: 11.5px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.pill {
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pill.war { background: rgba(255, 106, 77, 0.14); border-color: rgba(255, 106, 77, 0.4); color: #ff9d88; }
.pill.good { background: rgba(0, 217, 192, 0.12); border-color: rgba(0, 217, 192, 0.35); color: var(--accent); }
.pill.warn { background: rgba(255, 176, 32, 0.13); border-color: rgba(255, 176, 32, 0.35); color: #ffca63; }

.bar { height: 4px; border-radius: 2px; background: var(--surface); overflow: hidden; margin-top: 6px; }
.bar > span { display: block; height: 100%; border-radius: 2px; background: var(--civ, var(--accent)); transition: width 500ms ease; }

/* ----------------------------------------------------------------- feed */

.hud-right {
  top: 84px; right: 14px; width: 300px;
  max-height: calc(100vh - 190px);
  display: flex; flex-direction: column;
  padding: 10px 6px 6px 12px;
}
.feed-head { display: flex; align-items: center; justify-content: space-between; padding-right: 8px; }
.feed-head h2 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin: 0 0 6px; }
.toggle { font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 5px; cursor: pointer; }
.toggle input { accent-color: var(--accent); }

.feed { list-style: none; margin: 0; padding: 0 6px 0 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.feed-item {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px;
  padding: 7px 8px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent;
  animation: slide-in 320ms ease both;
}
.feed-item:hover { background: var(--surface-2); border-color: var(--line-soft); }
.feed-icon { color: var(--civ, var(--text-dim)); font-size: 14px; text-align: center; line-height: 1.3; }
.feed-title { font-size: 12.5px; line-height: 1.35; }
.feed-year { font-size: 10.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.feed-item.sev-3 .feed-title { font-weight: 600; }

@keyframes slide-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ inspector */

.hud-bottom {
  left: 50%; transform: translateX(-50%); bottom: 16px;
  min-width: 460px; max-width: min(860px, calc(100vw - 40px));
  padding: 12px 16px;
  display: flex; gap: 18px; align-items: center;
}
.hud-bottom[hidden] { display: none; }
.inspector-main { flex: 1; min-width: 0; }
.inspector-title { font-weight: 650; font-size: 15px; letter-spacing: -0.01em; }
.inspector-sub { color: var(--text-dim); font-size: 12px; margin-top: 2px; }
.inspector-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.inspector-stats .stat { background: transparent; padding: 0; }
.inspector-actions { display: flex; gap: 6px; flex-shrink: 0; }

.hint {
  position: absolute; bottom: 16px; left: 16px;
  font-size: 11.5px; color: var(--text-faint);
  pointer-events: none; max-width: 260px;
}

/* --------------------------------------------------------------- labels */

.labels { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.map-label {
  position: absolute; transform: translate(-50%, -100%);
  font-size: 11px; letter-spacing: 0.02em; white-space: nowrap;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(8, 9, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  backdrop-filter: blur(6px);
  pointer-events: auto; cursor: pointer;
  transition: opacity 200ms ease;
}
.map-label b { font-weight: 600; }
.map-label i { font-style: normal; color: var(--text-faint); margin-left: 5px; font-variant-numeric: tabular-nums; }
.map-label::before {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 1px; height: 5px;
  background: rgba(255, 255, 255, 0.22);
}
.map-label.is-capital { border-color: var(--civ); }
.map-label.is-selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

/* -------------------------------------------------------------- genesis */

.genesis {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #10151f 0%, #05070a 62%, #030406 100%);
  overflow-y: auto;
}
.genesis[hidden] { display: none; }

.genesis-inner { width: min(1020px, calc(100vw - 48px)); padding: 48px 0 56px; }
.genesis-title { font-size: 40px; font-weight: 300; letter-spacing: -0.03em; margin: 0; }
.genesis-title b { font-weight: 650; color: var(--accent); }
.genesis-lede { color: var(--text-dim); margin: 10px 0 30px; max-width: 60ch; font-size: 15px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 9px 14px; color: var(--text-dim); cursor: pointer; font-size: 13px;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }

.scenario-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.scenario {
  text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}
.scenario:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.scenario.is-active { border-color: var(--accent); background: var(--surface-2); }
.scenario h3 { margin: 0 0 6px; font-size: 15px; }
.scenario p { margin: 0; color: var(--text-dim); font-size: 12.5px; }
.scenario .question { margin-top: 10px; color: var(--accent); font-size: 12px; font-style: italic; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); }
.field input[type="text"], .field input[type="number"], .field select {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 11px; color: var(--text); width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field input[type="range"] { accent-color: var(--accent); width: 100%; }
.field .range-row { display: flex; align-items: center; gap: 10px; }
.field .range-value { font-variant-numeric: tabular-nums; color: var(--text-dim); font-size: 12px; min-width: 40px; text-align: right; }
.field .help { font-size: 11.5px; color: var(--text-faint); }

.genesis-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.btn-lg { padding: 12px 26px; font-size: 15px; border-radius: 10px; }

.saved-list { display: flex; flex-direction: column; gap: 8px; }
.saved-row {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.saved-row .meta { color: var(--text-faint); font-size: 12px; }
.empty { color: var(--text-faint); padding: 22px 0; }

/* -------------------------------------------------------------- dialogs */

.dialogs { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.dialog-backdrop {
  position: absolute; inset: 0; background: rgba(4, 5, 7, 0.62);
  backdrop-filter: blur(3px); pointer-events: auto;
  animation: fade 160ms ease both;
}
.dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(900px, calc(100vw - 48px)); max-height: calc(100vh - 96px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); pointer-events: auto;
  display: flex; flex-direction: column; overflow: hidden;
  animation: pop 180ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
.dialog.narrow { width: min(560px, calc(100vw - 48px)); }
.dialog.wide { width: min(1080px, calc(100vw - 48px)); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(0.98); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-bottom: 1px solid var(--line-soft);
}
.dialog-head h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.dialog-head .sub { color: var(--text-faint); font-size: 12px; margin-top: 2px; }
.dialog-body { padding: 18px; overflow-y: auto; }
.dialog-foot { padding: 12px 18px; border-top: 1px solid var(--line-soft); display: flex; gap: 8px; justify-content: flex-end; }

/* ------------------------------------------------------------ chronicle */

.chronicle-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.chronicle-filters select, .chronicle-filters input[type="search"] {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px 10px; color: var(--text);
}

.timeline { position: relative; padding-left: 92px; }
.timeline::before { content: ''; position: absolute; left: 78px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 9px 12px; border-radius: 9px; cursor: pointer; margin-bottom: 2px; }
.tl-item:hover { background: var(--surface-2); }
.tl-year {
  position: absolute; left: -92px; width: 62px; text-align: right; top: 10px;
  font-variant-numeric: tabular-nums; color: var(--text-faint); font-size: 12px;
}
.tl-dot {
  position: absolute; left: -18px; top: 15px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--civ, var(--text-faint));
}
.tl-item.sev-3 .tl-dot { background: var(--civ, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--civ, var(--accent)) 18%, transparent); }
.tl-title { font-size: 13.5px; font-weight: 550; }
.tl-text { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.tl-why { margin-top: 7px; }

/* ------------------------------------------------------------------ why */

.why-summary {
  background: var(--surface-2); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; font-size: 13.5px;
}
.cause-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cause {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 10px 12px;
}
.cause-label { font-size: 13px; }
.cause-value { color: var(--text-dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.cause-weight { width: 74px; height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden; }
.cause-weight > span { display: block; height: 100%; background: var(--accent); }
.cause.is-player { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.cause.is-player .cause-label::before { content: '◇ '; color: var(--accent); }

.chain { margin-top: 18px; border-left: 2px solid var(--line); padding-left: 16px; }
.chain h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-faint); margin: 0 0 10px; }
.chain-node { margin-bottom: 14px; }
.chain-node .link-label { font-size: 11px; color: var(--text-faint); }
.chain-node .link-title { font-size: 13px; font-weight: 550; cursor: pointer; }
.chain-node .link-title:hover { color: var(--accent); }
.chain-node .link-why { font-size: 12px; color: var(--text-dim); margin-top: 3px; }

/* ------------------------------------------------------------ characters */

.people-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; min-height: 380px; }
.people-list { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; max-height: 460px; padding-right: 4px; }
.person-row {
  text-align: left; background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 9px 10px; cursor: pointer;
}
.person-row:hover { background: var(--surface-2); }
.person-row.is-active { background: var(--surface-2); border-color: var(--line); }
.person-row .role { font-size: 11px; color: var(--text-faint); }
.person-row .name { font-size: 13px; font-weight: 550; }

.person-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.person-traits { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.trait { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px 10px; font-size: 11.5px; color: var(--text-dim); }
.trait b { color: var(--text); font-variant-numeric: tabular-nums; }

.transcript { display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.line { border-radius: 10px; padding: 9px 12px; font-size: 13px; max-width: 88%; }
.line.you { align-self: flex-end; background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.line.them { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line-soft); }
.line.them .refs { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.ask-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* --------------------------------------------------------- interventions */

.intervene-grid { display: grid; gap: 12px; }
.intervene-card { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; }
.intervene-card h3 { margin: 0 0 4px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.intervene-card .cost { font-size: 11px; color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 999px; padding: 1px 8px; }
.intervene-card p { margin: 0 0 12px; color: var(--text-dim); font-size: 12.5px; }
.intervene-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.intervene-controls select {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 10px;
}

/* --------------------------------------------------------------- toasts */

.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; box-shadow: var(--shadow);
  animation: toast-in 220ms ease both;
}
.toast.bad { border-color: rgba(255, 106, 77, 0.5); color: #ffb0a0; }
.toast.good { border-color: var(--accent-dim); color: var(--accent); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- shared */

.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--mono); font-size: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-faint); margin: 20px 0 10px; }
.section-title:first-child { margin-top: 0; }

.chart { width: 100%; height: 120px; display: block; }

.rel-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rel-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); font-weight: 500; padding: 6px 8px; }
.rel-table td { padding: 8px; border-top: 1px solid var(--line-soft); }
.rel-bar { width: 120px; height: 5px; background: var(--surface-2); border-radius: 3px; position: relative; }
.rel-bar span { position: absolute; top: 0; height: 100%; border-radius: 3px; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #37404f; background-clip: content-box; }

@media (max-width: 1080px) {
  .hud-left { width: 224px; }
  .hud-right { width: 250px; }
  .camera-modes { display: none; }
}
@media (max-width: 820px) {
  .hud-left, .hud-right { display: none; }
  .hud-bottom { min-width: 0; width: calc(100vw - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
