/* DAZZLED — visual identity: paper, ink, navy, poppy red, brass. */
:root {
  --paper: #f2eee4;
  --paper-2: #e9e3d5;
  --card: #fbf8f1;
  --ink: #14171c;
  --ink-2: #2b3038;
  --muted: #5a5f66;
  --line: #d3cbbb;
  --navy: #1d3247;
  --sea: #2f5d6e;
  --poppy: #c8372d;
  --poppy-ink: #ffffff;
  --brass: #b28a44;
  --good: #2c7a55;
  --bad: #b23a2c;
  --shadow: 0 1px 0 rgba(20, 23, 28, .06), 0 8px 24px -12px rgba(20, 23, 28, .25);
  --radius: 14px;
  --font-display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
[data-theme='dark'] {
  --paper: #0f1318;
  --paper-2: #151b22;
  --card: #171e26;
  --ink: #ece7dc;
  --ink-2: #d3cec2;
  --muted: #9aa3ab;
  --line: #2b343e;
  --navy: #9fc0d6;
  --sea: #7fb3c4;
  --poppy: #e2533f;
  --poppy-ink: #ffffff;
  --brass: #c9a35c;
  --good: #58c08e;
  --bad: #f07a68;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--poppy); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: .01em; margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--poppy); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 1rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px;
  background: repeating-linear-gradient(115deg, var(--ink) 0 14px, transparent 14px 22px, var(--navy) 22px 30px, transparent 30px 40px);
  opacity: .9;
}
.brand {
  font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; letter-spacing: .06em;
  color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .5rem; margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%; display: inline-block;
  background: conic-gradient(from 20deg, var(--ink) 0 22%, var(--paper-2) 22% 38%, var(--navy) 38% 61%, var(--paper-2) 61% 74%, var(--poppy) 74% 86%, var(--ink) 86%);
  box-shadow: inset 0 0 0 2px var(--brass);
}
.nav { display: none; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .45rem .7rem; border-radius: 999px;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current='page'] { background: var(--ink); color: var(--paper); }
.menu-toggle, .theme-toggle {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; height: 40px; font: 600 .9rem var(--font-body); cursor: pointer;
}
.menu-toggle { padding: 0 1rem; }
.theme-toggle { width: 40px; display: grid; place-items: center; padding: 0; }
.theme-toggle span {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  border: 2px solid var(--ink);
}
body.nav-open .nav {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; gap: .2rem;
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav { display: flex; gap: .15rem; }
  body.nav-open .nav { position: static; flex-direction: row; padding: 0; border: 0; }
}

main { max-width: 1180px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--card); color: var(--ink);
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--poppy); border-color: var(--poppy); color: var(--poppy-ink); }
.btn-primary:hover { color: var(--poppy-ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-big { font-size: 1.15rem; min-height: 54px; padding: .7rem 1.6rem; }
.btn-small { min-height: 36px; padding: .3rem .8rem; font-size: .88rem; border-width: 1.5px; }
.btn-wide { width: 100%; }
.btn[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--sea); text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }

.kicker {
  font: 600 .8rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--poppy); margin-bottom: .6rem;
}
.chip {
  display: inline-block; padding: .2rem .65rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-size: .85rem; font-weight: 600;
}

/* ---------- hero ---------- */
.hero { display: grid; gap: 1.5rem; align-items: center; padding: 1rem 0 2rem; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 2.5rem; padding-top: 2rem; } }
.dazzle-title { font-size: clamp(2.9rem, 9vw, 5.4rem); font-weight: 900; text-transform: uppercase; }
.dazzle-title span {
  background: repeating-linear-gradient(118deg, var(--ink) 0 .14em, var(--poppy) .14em .2em, var(--navy) .2em .34em, var(--ink) .34em .42em, var(--brass) .42em .5em);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}
.lead { font-size: 1.2rem; }
.hero-scope { position: relative; display: grid; justify-items: center; }
.scope {
  width: 100%; max-width: 520px; aspect-ratio: 1 / 1; display: block; border-radius: 50%;
  background: #06080a; box-shadow: 0 0 0 10px var(--ink), 0 0 0 12px var(--brass), var(--shadow);
  touch-action: manipulation;
}
.scope-cap { font: .85rem var(--font-mono); color: var(--muted); margin-top: 1.4rem; text-align: center; }
.best { font: .9rem var(--font-mono); color: var(--muted); }

.seg { border: 0; padding: 0; margin: 1.2rem 0 .4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.seg legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: flex; flex-direction: column; gap: .1rem; height: 100%;
  padding: .6rem .7rem; border: 2px solid var(--line); border-radius: 12px; background: var(--card);
  transition: border-color .15s, background .15s;
}
.seg span b { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .03em; }
.seg span small { color: var(--muted); font-size: .76rem; line-height: 1.25; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.seg input:checked + span small { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.seg input:focus-visible + span { outline: 3px solid var(--poppy); outline-offset: 2px; }

.challenge-banner {
  border: 2px dashed var(--poppy); border-radius: var(--radius); padding: .9rem 1rem .2rem; background: var(--card); margin: 1rem 0;
}

/* ---------- game ---------- */
.game { padding-top: .5rem; }
.game-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.game-title { font-size: 2rem; margin: 0; }
.game-meta { display: flex; gap: .4rem; margin-left: auto; }
.progress { flex-basis: 100%; height: 6px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(115deg, var(--poppy) 0 10px, var(--ink) 10px 14px); transition: width .4s ease; }
.game-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .game-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: start; } }
.scope-wrap { position: relative; display: grid; justify-items: center; padding: 12px; }
.scope-wrap .scope { max-width: 600px; }
.scope-down {
  position: absolute; inset: 12px;
  display: grid; place-content: center; justify-items: center; gap: .8rem; text-align: center; color: #dfe6ea; padding: 2rem;
  background: radial-gradient(closest-side, rgba(6, 8, 10, .82), rgba(6, 8, 10, .6) 85%, transparent 100%);
}
.scope-down p { font: 600 1rem var(--font-mono); margin: 0; max-width: 18em; }
.expo { position: absolute; left: 20%; right: 20%; bottom: 6%; height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); overflow: hidden; }
.expo i { display: block; height: 100%; width: 100%; background: #f4d27a; }
.scope-tools { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.2rem; }

.dial-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.dial-q { font-weight: 600; margin-bottom: .5rem; }
.dial-q .muted { font-weight: 400; display: block; font-size: .9rem; }
.dial { width: 100%; max-width: 300px; display: block; margin: 0 auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.dial.locked { cursor: default; }
.dial-face { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.dial-inner { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.dial-tick { stroke: var(--muted); stroke-width: 1; }
.dial-tick.major { stroke: var(--ink); stroke-width: 2.5; }
.dial-label { font: 700 11px var(--font-mono); fill: var(--muted); letter-spacing: .06em; }
.dial-los { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 5; }
.dial-ship path { stroke-width: 2.5; }
.dial-ship.guess path { fill: var(--poppy); stroke: var(--ink); }
.dial-ship.truth path { fill: none; stroke: var(--good); stroke-width: 4; stroke-dasharray: 7 4; }
.dial-ship { transition: transform .08s linear; }
.dial-funnel { fill: var(--ink); }
.dial-hub { fill: var(--ink); }
.dial-err { fill: color-mix(in srgb, var(--poppy) 22%, transparent); stroke: none; }
.dial-hint { font: 600 13px var(--font-body); fill: var(--muted); }
.dial-read { text-align: center; color: var(--muted); font-size: .9rem; min-height: 1.5em; margin: .4rem 0 .8rem; }
.verdict { margin: .5rem 0 1rem; }
.verdict .v-title { font-family: var(--font-display); font-size: 2.1rem; font-weight: 900; text-transform: uppercase; margin: 0 0 .2rem; }
.verdict .v-title .mono { font-size: 1.1rem; color: var(--poppy); vertical-align: middle; }
.verdict p { margin-bottom: .5rem; }

/* ---------- results ---------- */
.results { padding: 1rem 0 2rem; }
.res-head { text-align: center; max-width: 760px; margin: 0 auto 1.5rem; }
.res-rank { font-size: clamp(2.6rem, 8vw, 4.4rem); font-weight: 900; text-transform: uppercase; }
.res-score { font: 900 clamp(4rem, 14vw, 7rem)/1 var(--font-display); margin: .1em 0 .2em; color: var(--poppy); }
.res-score small { font-size: .4em; color: var(--muted); }
.res-verdict { font-size: 1.15rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: 0 auto 1.5rem; max-width: 900px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; display: flex; flex-direction: column; }
.stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat b { font-size: 1.6rem; }
.res-explain { max-width: 760px; margin: 0 auto 1.5rem; }
.sub { font-size: 1.8rem; margin-top: 1.5rem; }
.sightings { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sightings li { display: flex; gap: .7rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .5rem; }
.sightings canvas { width: 120px; height: 68px; border-radius: 8px; flex: none; background: #8fb0c4; }
.sightings div { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.3; min-width: 0; }
.sightings .good { color: var(--good); }
.sightings .bad { color: var(--bad); }
.card-share { display: grid; gap: .5rem; justify-items: center; }
.card-share canvas { width: 100%; max-width: 720px; height: auto; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- explain cards ---------- */
.section-title { margin-top: 1rem; }
.cards3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); position: relative; }
.card .num { position: absolute; top: .6rem; right: 1rem; font: 900 2.6rem var(--font-display); color: var(--line); }
.more-modes { display: grid; gap: .8rem; margin: 1.5rem 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mode-card {
  display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    repeating-linear-gradient(120deg, var(--ink) 0 10px, var(--poppy) 10px 14px, var(--navy) 14px 24px) border-box;
  border-color: transparent;
}
.mode-card b { font: 900 1.6rem var(--font-display); text-transform: uppercase; }
.mode-card span { color: var(--muted); font-size: .95rem; }
.mode-card:hover { color: var(--ink); transform: translateY(-2px); }
.remember { display: flex; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 2rem; max-width: 820px; }
.poppy {
  flex: none; width: 40px; height: 40px; border-radius: 50%; margin-top: .2rem;
  background: radial-gradient(circle at 50% 50%, #111 0 22%, transparent 23%), radial-gradient(circle at 35% 35%, #e04a3a, #a8231a);
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 120px); z-index: 60;
  background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600;
  transition: transform .25s ease; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 1.5rem 1rem 2.5rem; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- blink mode ---------- */
.blink-wrap { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .blink-wrap { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: start; } }
.blink-stage { position: relative; display: grid; justify-items: center; padding: 12px; }
.blink-hud { display: flex; justify-content: space-between; gap: .5rem; width: 100%; max-width: 600px; margin-bottom: .8rem; font-family: var(--font-mono); }
.blink-hud b { font-size: 1.4rem; display: block; font-family: var(--font-display); }
.blink-hud div { text-align: center; flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .3rem; }
.blink-flash { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; pointer-events: none; font: 900 4rem var(--font-display); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); opacity: 0; }
.blink-flash.on { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1); } }
.lr { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; width: 100%; max-width: 600px; margin-top: 1.2rem; }
.lr .btn { min-height: 64px; font-size: 1.3rem; font-family: var(--font-display); letter-spacing: .04em; }
.blink-over { background: radial-gradient(closest-side, rgba(6, 8, 10, .8), rgba(6, 8, 10, .55) 85%, transparent 100%); position: absolute; inset: 12px; display: grid; place-content: center; justify-items: center; text-align: center; color: #e8eef1; padding: 2.5rem; gap: .6rem; }
.blink-over h2 { color: #fff; font-size: clamp(1.8rem, 6vw, 3rem); margin: 0; }
.blink-over p { margin: 0; max-width: 22em; font-size: .95rem; }

/* ---------- studio ---------- */
.studio { display: grid; gap: 1.2rem; }
@media (min-width: 980px) { .studio { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); align-items: start; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.canvas-elev { width: 100%; aspect-ratio: 2.6 / 1; display: block; border-radius: 10px; background: #b9cfdb; touch-action: none; cursor: crosshair; }
.canvas-3d { width: 100%; aspect-ratio: 16 / 10; display: block; border-radius: 10px; background: #8fb0c4; touch-action: pan-y; cursor: grab; }
.toolrow { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .7rem 0; }
.toolrow label { font-size: .9rem; font-weight: 600; }
.toolrow select, .toolrow input[type='text'] {
  font: 500 .95rem var(--font-body); padding: .45rem .6rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); min-height: 40px;
}
.toolrow input[type='range'] { accent-color: var(--poppy); }
.swatches { display: flex; gap: .4rem; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed='true'] { border-color: var(--ink); box-shadow: 0 0 0 3px var(--poppy); }
.tool-btn[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.hint { font-size: .88rem; color: var(--muted); }
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.fleet button { border: 1px solid var(--line); border-radius: 10px; padding: .3rem; background: var(--paper); cursor: pointer; color: var(--ink); font: 600 .8rem var(--font-body); text-align: left; }
.fleet canvas { width: 100%; height: 60px; display: block; border-radius: 6px; }

/* ---------- story ---------- */
.prose { max-width: 760px; }
.timeline { list-style: none; margin: 1.5rem 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 4px; background: repeating-linear-gradient(180deg, var(--ink) 0 12px, var(--poppy) 12px 16px, var(--navy) 16px 28px); }
.timeline li { position: relative; padding: 0 0 1.3rem 46px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); }
.timeline .yr { font: 900 1.6rem var(--font-display); display: block; }
.timeline h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; line-height: 1.3; }
.timeline p { margin: 0; color: var(--ink-2); }
.tl-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin: 1rem 0 2rem; }
.numbers .card b { font: 900 2.6rem var(--font-display); color: var(--poppy); display: block; line-height: 1; margin-bottom: .3rem; }
.styles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; margin: 1rem 0 2rem; }
.styles-grid canvas { width: 100%; height: 120px; border-radius: 10px; display: block; margin-bottom: .6rem; cursor: pointer; }
.quiz { max-width: 720px; }
.quiz .q { font-size: 1.25rem; font-weight: 700; margin-bottom: .8rem; }
.quiz .opts { display: grid; gap: .5rem; }
.quiz .opt { text-align: left; justify-content: flex-start; border-radius: 12px; border-width: 1.5px; font-weight: 500; }
.quiz .opt.right { background: var(--good); border-color: var(--good); color: #fff; }
.quiz .opt.wrong { background: var(--bad); border-color: var(--bad); color: #fff; }
.quiz .explain-q { margin-top: .8rem; padding: .8rem 1rem; border-left: 4px solid var(--poppy); background: var(--paper-2); border-radius: 0 10px 10px 0; }
.quiz-top { display: flex; justify-content: space-between; font: 600 .9rem var(--font-mono); color: var(--muted); margin-bottom: .5rem; }

.src-list { padding-left: 1.2rem; }
.src-list li { margin-bottom: .4rem; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .seg { grid-template-columns: 1fr; }
  .seg span { flex-direction: row; align-items: baseline; gap: .6rem; }
  .scope { box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px var(--brass); }
}
