/* US States Game. Base layout and components; the student-app skin (style A, picked 2026-10-14) is at the end. */

:root {
  --canvas: #ffffff;
  --canvas-deep: #e7ebf0;
  --paper-row: #f4f6f9;
  --ink: #18202a;
  --ink-soft: #4a5563;
  --sign: #0e6b3b;
  --sign-deep: #074127;
  --sign-ink: #f6f6ef;
  --blue: #1d4ea3;
  --blue-deep: #11336f;
  --red: #c8202f;
  --brown: #6b4426;
  --toll: #5b2c83;
  --slate: #2f3b4c;
  --bus: #ffc21a;
  --bus-hi: #ffd04d;
  --ocean: #bfe1f4;
  --ocean-deep: #8cc3e2;
  --land: #ffffff;
  --land-line: #7d8896;
  --off: #e6eaef;
  --hover: #ffe79a;
  --good: #3f9b62;
  --meh: #f2a53a;
  --bad: #d83a3a;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --press: 5px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font: inherit; color: inherit; touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  background: var(--bus);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 12px;
  border-radius: var(--r-sm);
}
.skip:focus { left: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- top bar ---------- */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-shield { width: 34px; height: 37px; display: block; }
.brand-word { font-weight: 900; font-size: 21px; letter-spacing: -0.012em; }

.shield-red { fill: var(--red); }
.shield-blue { fill: var(--blue); }
svg text { font-family: "Nunito", system-ui, sans-serif; font-weight: 900; font-size: 17px; fill: var(--sign-ink); }

.sound {
  min-height: 40px;
  padding: 6px 14px 4px;
  border: 0;
  border-radius: 999px;
  background: var(--land);
  box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.sound[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }

/* ---------- game layout ---------- */

.game {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px max(16px, env(safe-area-inset-right)) 28px max(16px, env(safe-area-inset-left));
}

.rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.view { display: flex; flex-direction: column; gap: 12px; }

h1 {
  margin: 4px 0 0;
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.022em;
}
.lede { margin: 2px 0 0; color: var(--ink-soft); max-width: 34ch; }

.label {
  margin: 4px 0 -4px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* chunky pressables: ink outline + solid bottom edge that collapses on press */
.mode,
.btn,
.ans,
.zoom button {
  border: 0;
  cursor: pointer;
  transition-property: transform, box-shadow, background-color;
  transition-duration: 100ms, 100ms, 140ms;
  transition-timing-function: var(--ease-out);
}

.modes { display: grid; gap: 10px; }
.mode {
  display: grid;
  gap: 1px;
  padding: 11px 14px 10px;
  text-align: left;
  border-radius: var(--r-md);
  background: var(--land);
  box-shadow: inset 0 0 0 2px var(--ink), 0 var(--press) 0 var(--ink);
}
.mode-name { font-weight: 900; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; }
.mode-desc { font-size: 14px; color: var(--ink-soft); }
.mode[aria-checked="true"] {
  background: var(--sign);
  color: var(--sign-ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 var(--press) 0 var(--ink);
}
.mode[aria-checked="true"] .mode-desc { color: #cfe5d6; }
.mode:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }

.regions { display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 7px 14px 5px;
  border: 0;
  border-radius: 999px;
  background: var(--land);
  box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 100ms var(--ease-out);
}
.chip span { color: var(--ink-soft); font-weight: 700; }
.chip[aria-checked="true"] { background: var(--ink); color: var(--canvas); }
.chip[aria-checked="true"] span { color: var(--hover); }
.chip:active { transform: translateY(2px); }

.btn {
  align-self: flex-start;
  min-height: 52px;
  padding: 12px 26px 9px;
  border-radius: var(--r-md);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
  box-shadow: inset 0 0 0 2px var(--ink), 0 var(--press) 0 var(--ink);
}
.btn:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.btn-go { background: var(--bus); }
.btn-plain { background: var(--land); }

.btn-text {
  align-self: flex-start;
  min-height: 40px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.best { margin: -2px 0 0; font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.vs {
  padding: 12px 14px 10px;
  border-radius: var(--r-md);
  background: var(--blue);
  color: var(--sign-ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 var(--press) 0 var(--ink);
  font-weight: 700;
  line-height: 1.35;
}
.vs b { font-weight: 900; }

/* ---------- the highway sign ---------- */

.signpost { position: relative; padding-top: 25px; }

.exit-tab {
  position: absolute;
  top: 0;
  right: 22px;
  padding: 4px 12px 5px;
  border-radius: 8px 8px 0 0;
  background: var(--sign);
  color: var(--sign-ink);
  box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 4px var(--sign-ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.exit-tab b { font-weight: 900; }

.sign {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 116px;
  padding: 16px 18px 15px 22px;
  border-radius: 14px;
  background: var(--sign);
  color: var(--sign-ink);
  box-shadow: inset 0 0 0 5px var(--sign), inset 0 0 0 8px var(--sign-ink), 0 7px 0 var(--sign-deep);
}
.sign-verb {
  grid-column: 1;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #cfe5d6;
}
.sign-name {
  grid-column: 1;
  font-weight: 900;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
h1.sign-name { margin: 2px 0 0; }
.sign-hero { min-height: 0; padding-top: 15px; padding-bottom: 16px; }
.sign-hero .sign-name { font-size: 27px; line-height: 1.05; }
.streak { margin: 6px 0 0; font-weight: 900; font-size: 18px; }

.sign-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  margin-left: 12px;
  fill: var(--sign-ink);
}

.hint {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
  color: var(--ink-soft);
}
.hint.bad { color: var(--bad); }
.hint.good { color: var(--good); }

.hud {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  background: var(--land);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.hud-shield svg { display: block; width: 46px; height: 51px; }
.hud-shield.big svg { width: 96px; height: 106px; }
.stat { display: grid; line-height: 1.1; }
.stat-label {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stat-val { font-weight: 900; font-size: 24px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.tries { display: flex; gap: 6px; margin-left: auto; }
.tries i { width: 14px; height: 14px; border-radius: 50%; background: var(--good); box-shadow: inset 0 0 0 2px var(--ink); }
.tries i.used { background: var(--bad); }

/* capitals answers: road-sign colors */
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; }
.ans {
  min-height: 66px;
  padding: 10px 12px 8px;
  border-radius: var(--r-md);
  color: var(--sign-ink);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  text-align: left;
  box-shadow: inset 0 0 0 2px var(--ink), 0 var(--press) 0 var(--ink);
}
.ans:nth-child(1) { background: var(--blue); }
.ans:nth-child(2) { background: var(--brown); }
.ans:nth-child(3) { background: var(--toll); }
.ans:nth-child(4) { background: var(--slate); }
.ans:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.ans.wrong {
  background: var(--canvas-deep);
  color: var(--ink-soft);
  transform: translateY(4px);
  box-shadow: inset 0 0 0 2px var(--ink-soft), 0 1px 0 var(--ink-soft);
  cursor: default;
}
.ans.right { background: var(--good); }

/* results */
.result { display: flex; align-items: center; gap: 16px; }
.result-main { margin: 0; font-weight: 900; font-size: 26px; line-height: 1.1; letter-spacing: -0.012em; }
.result-sub { margin: 4px 0 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(10, 20px); gap: 5px; }
.grid i { width: 20px; height: 20px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(24, 32, 42, 0.3); }
.grid .g { background: var(--good); }
.grid .y { background: var(--meh); }
.grid .r { background: var(--bad); }
.grid .p { background: var(--canvas-deep); box-shadow: none; }
.grid .now { background: var(--bus); box-shadow: inset 0 0 0 2px var(--ink); }
.tip { margin: 0; font-size: 14px; color: var(--ink-soft); max-width: 36ch; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- the map ---------- */

.board {
  position: relative;
  height: min(calc(100svh - 92px), 640px);
  min-height: 340px;
  border-radius: var(--r-lg);
  background: var(--ocean);
  box-shadow: inset 0 0 0 3px var(--ink), 0 7px 0 rgba(24, 32, 42, 0.14);
  overflow: hidden;
}

#map {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#map.zoomed { touch-action: none; cursor: grab; }
#map.dragging { cursor: grabbing; }

.st {
  fill: var(--land);
  stroke: var(--land-line);
  stroke-width: 0.9;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 160ms var(--ease-out);
}
.pickable .st { cursor: pointer; }
@media (hover: hover) {
  .pickable .st:not(.done):not(.off):hover { fill: var(--hover); }
  .pickable .tab:not(.done):hover .tabbox { fill: var(--hover); }
}
.st.done { stroke: var(--sign-ink); }
.st.g { fill: var(--good); }
.st.y { fill: var(--meh); }
.st.r { fill: var(--bad); }
.st.off { fill: var(--off); stroke: #c9d0d8; pointer-events: none; }
.st.flash { fill: var(--bad); }
.st.target { fill: var(--bus); stroke: var(--ink); stroke-width: 2; }
.st.reveal { animation: reveal 0.9s steps(2, jump-none) 2; }
@keyframes reveal { 0% { fill: var(--bad); } 100% { fill: var(--land); } }

.hitpad { fill: transparent; }
.sep { fill: none; stroke: var(--ocean-deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.lead { fill: none; stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.tabbox { fill: var(--land); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: fill 160ms var(--ease-out); }
.pickable .tab { cursor: pointer; }
.tab.g .tabbox { fill: var(--good); }
.tab.y .tabbox { fill: var(--meh); }
.tab.r .tabbox { fill: var(--bad); }
.tab.off { display: none; }
.tab.target .tabbox { fill: var(--bus); }

.zoom { position: absolute; right: 12px; bottom: 14px; display: grid; gap: 9px; }
.zoom button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--land);
  box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink);
}
.zoom button:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.zoom svg { width: 22px; height: 22px; fill: var(--ink); }

.map-toast {
  position: absolute;
  left: 50%;
  top: 14px;
  margin: 0;
  padding: 6px 14px 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms var(--ease-out);
}
.map-toast.show { opacity: 1; }

/* confetti, finish only */
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.confetti i {
  position: absolute;
  top: -12px;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  animation: fall 1.6s var(--ease-out) forwards;
}
@keyframes fall {
  from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  to { transform: translate3d(var(--dx), 92vh, 0) rotate(var(--rot)); opacity: 0; }
}

/* ---------- learn content ---------- */

.learn { max-width: 1320px; margin: 0 auto; padding: 22px max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left)); }
.learn h2 { margin: 0 0 10px; font-weight: 900; font-size: 28px; line-height: 1.1; letter-spacing: -0.012em; }
.learn p,
.learn li { max-width: 68ch; }
.steps,
.tips { margin: 0; padding-left: 22px; }
.steps li,
.tips li { margin-bottom: 8px; }
.note { color: var(--ink-soft); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  background: var(--land);
  box-shadow: inset 0 0 0 2px var(--ink);
}
table.states { width: 100%; border-collapse: collapse; font-size: 15px; }
.states th {
  padding: 10px 14px 8px;
  background: var(--sign);
  color: var(--sign-ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.states td { padding: 7px 14px 5px; border-top: 1px solid #e3e8ee; }
.states tbody tr:nth-child(even) td { background: var(--paper-row); }

.faq { max-width: 76ch; border-top: 2px solid var(--ink); padding: 12px 0; }
.faq summary { font-weight: 800; font-size: 18px; cursor: pointer; }
.faq p { margin: 8px 0 0; }

.foot {
  max-width: 1320px;
  margin: 26px auto 0;
  padding: 16px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border-top: 2px solid var(--ink);
  font-size: 14px;
  color: var(--ink-soft);
}
.foot a { color: inherit; }

/* ---------- small screens ---------- */

@media (max-width: 880px) {
  .game { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .board { display: flex; flex-direction: column; height: auto; min-height: 0; }
  #map { height: auto; aspect-ratio: 1020 / 593; }
  .zoom { position: static; display: flex; justify-content: flex-end; gap: 8px; padding: 2px 10px 12px; }
  .zoom button { width: 40px; height: 40px; }
  .grid.live { display: flex; gap: 2px; }
  .grid.live i { flex: 1 1 0; width: auto; height: 8px; border-radius: 2px; box-shadow: none; }
  .grid.live .now { background: var(--ink); box-shadow: none; }
  .tip { display: none; }
  .sign-arrow { transform: rotate(90deg); }
  h1 { font-size: 32px; }
}

@media (max-width: 420px) {
  .brand-word { font-size: 18px; }
  .hud { gap: 12px; padding: 6px 10px; }
  .stat-val { font-size: 20px; }
  .ans { font-size: 16px; min-height: 58px; }
  .grid { grid-template-columns: repeat(10, 18px); gap: 4px; }
  .grid i { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
}

/* ---------- skin: student app (rounded Nunito, same-hue 3D, no black outlines) ---------- */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #26313d;
  --ink-soft: #66737f;
  --line: #e1e7ee;
  --line-deep: #cdd6e0;
  --sign: #1e9e4c;
  --sign-deep: #157a39;
  --blue: #1898ec;
  --blue-deep: #0f7cc4;
  --orange: #ff9a1f;
  --orange-deep: #d97c0a;
  --grape: #9b5de5;
  --grape-deep: #7d41c4;
  --teal: #11b5a4;
  --teal-deep: #0b9284;
  --go: #58c322;
  --go-deep: #45a215;
  --good: #58c322;
  --meh: #ffb31f;
  --bad: #ff5a5a;
  --ocean: #d8eefc;
  --ocean-deep: #a9d6f5;
  --land-line: #98a6b5;
  --hover: #fff1b3;
}

body,
svg text { font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; }

.brand-word { font-weight: 900; letter-spacing: -0.01em; }

.sound {
  font-weight: 800;
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 2px var(--line);
}
.sound[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: none; }

/* sign becomes a bright prompt card */
.signpost { padding-top: 0; }
.exit-tab { display: none; }
.sign {
  border-radius: 20px;
  background: var(--sign);
  box-shadow: 0 5px 0 var(--sign-deep);
  padding: 16px 20px 18px;
}
.sign-verb { color: rgba(255, 255, 255, 0.82); font-weight: 800; letter-spacing: 0.06em; }
.sign-name { font-weight: 900; letter-spacing: -0.01em; }
.sign-hero { background: var(--blue); box-shadow: 0 5px 0 var(--blue-deep); }

.label { font-weight: 800; color: var(--ink-soft); letter-spacing: 0.06em; }

.mode {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--line), 0 4px 0 var(--line);
}
.mode-name { font-weight: 800; }
.mode-desc { font-weight: 600; }
.mode[aria-checked="true"] {
  background: #eaf6ff;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 2px var(--blue), 0 4px 0 var(--blue-deep);
}
.mode[aria-checked="true"] .mode-desc { color: #4f8fc0; }
.mode:active,
.mode[aria-checked="true"]:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--line), 0 1px 0 var(--line); }

.chip {
  background: #f0f4f8;
  color: var(--ink-soft);
  box-shadow: none;
  font-weight: 800;
}
.chip span { color: #8b97a3; }
.chip[aria-checked="true"] { background: var(--blue); color: #fff; }
.chip[aria-checked="true"] span { color: #cfe9fb; }

.btn {
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  font-size: 18px;
}
.btn-go { background: var(--go); color: #fff; box-shadow: 0 5px 0 var(--go-deep); }
@media (hover: hover) { .btn-go:hover { background: #63d12b; } }
.btn-plain { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--line), 0 5px 0 var(--line); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--go-deep); }
.btn-plain:active { box-shadow: inset 0 0 0 2px var(--line), 0 1px 0 var(--line); }
.btn-text { color: var(--blue); font-weight: 800; text-decoration: none; }

.vs { border-radius: 16px; background: var(--grape); box-shadow: 0 4px 0 var(--grape-deep); }

.hint { font-weight: 800; }

.hud { background: #f4f7fa; box-shadow: none; border-radius: 16px; }
.stat-val { font-weight: 900; }
.stat-label { font-weight: 800; }
.tries i { box-shadow: none; }

.ans {
  border-radius: 16px;
  font-weight: 800;
  color: #fff;
}
.ans:nth-child(1) { background: var(--blue); box-shadow: 0 5px 0 var(--blue-deep); }
.ans:nth-child(2) { background: var(--orange); box-shadow: 0 5px 0 var(--orange-deep); }
.ans:nth-child(3) { background: var(--grape); box-shadow: 0 5px 0 var(--grape-deep); }
.ans:nth-child(4) { background: var(--teal); box-shadow: 0 5px 0 var(--teal-deep); }
.ans:active { transform: translateY(4px); box-shadow: none; }
.ans.wrong { background: #eef2f6; color: #a3aebb; box-shadow: none; transform: translateY(4px); }
.ans.right { background: var(--good); box-shadow: 0 5px 0 var(--go-deep); }

.grid i { border-radius: 6px; box-shadow: none; }
.grid .p { background: #e9eef3; }
.grid .now { background: var(--meh); box-shadow: none; }

.result-main { font-weight: 900; }

.board { border-radius: 22px; box-shadow: inset 0 0 0 2px #c4e3f8; }
.zoom button { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 2px var(--line), 0 4px 0 var(--line); }
.zoom button:active { box-shadow: inset 0 0 0 2px var(--line), 0 1px 0 var(--line); }
.zoom svg { fill: var(--ink-soft); }
.st.target { stroke: var(--orange-deep); }
.tabbox { stroke: #8fa0b2; }

.learn h2 { font-weight: 900; }
.table-wrap { border-radius: 16px; box-shadow: inset 0 0 0 2px var(--line); }
.states th { background: #f4f7fa; color: var(--ink-soft); font-weight: 900; }
.states td { border-top-color: var(--line); }
.faq { border-top: 2px solid var(--line); }
.faq summary { font-weight: 800; }
.foot { border-top: 2px solid var(--line); }
