:root {
  --bg: #eceee6;
  --glow: #dfeadb;
  --card: #fdfefb;
  --ink: #1b241d;
  --muted: #667163;
  --line: #d6ddd0;
  --accent: #17804e;
  --accent-2: #0f6b40;
  --accent-ink: #fff;
  --btn: #f3f6ef;
  --btn-hover: #e2ead9;
  --good: #2f9e61;
  --warn: #d2413a;
  --chance: #2f7fbf;
  --shadow: 0 1px 2px rgba(20, 40, 20, .08), 0 6px 20px rgba(20, 40, 20, .07);
  color-scheme: light;
  /* The height always visible: on phones 100vh counts the address bar too.
     svh rather than dvh, so the board doesn't resize as the bar slides away. */
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111512;
    --glow: #1a2a20;
    --card: #1c221e;
    --ink: #e6ede4;
    --muted: #98a595;
    --line: #313b33;
    --accent: #3fb277;
    --accent-2: #2a9460;
    --accent-ink: #06170d;
    --btn: #262e28;
    --btn-hover: #323c34;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { min-height: 100vh; background: radial-gradient(1100px 620px at 32% -8%, var(--glow), transparent 70%) no-repeat var(--bg); }
body { font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
button, select, input { font: inherit; color: inherit; }
kbd {
  font: 11px/1 ui-monospace, Consolas, monospace; padding: 2px 5px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--btn); color: var(--muted);
}
.muted { color: var(--muted); }
.small { font-size: 12px; font-weight: 400; }

/* Beside the board: what's used while playing (.side). Below it: settings and
   reference (.more), so the sidebar isn't a long column next to empty space.
   One column on narrow screens, in page order. */
.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-rows: auto 1fr;
  grid-template-areas: "board side" "more side";
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 18px 40px;
}
.board-col { grid-area: board; }
.side { grid-area: side; align-self: start; }
.more {
  grid-area: more; align-self: start; justify-self: center;
  width: 100%; max-width: max(min(100%, calc((var(--vh) - 210px) * 1.3)), 720px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start;
}
.more .credits { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "board" "side" "more"; padding: 10px 16px 40px; }
  .more { max-width: none; grid-template-columns: minmax(0, 1fr); }
  /* The coach card is below the board here: show the coach badge. */
  .coach-badge:not([hidden]) { display: inline-block; }
}

/* ---------------------------------------------------------------- board column */
.board-col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.topbar {
  width: 100%; max-width: var(--board-w); min-width: min(100%, 420px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}
.brand { font-weight: 750; font-size: 20px; letter-spacing: .2px; white-space: nowrap; margin: 0; }
.brand .logo { width: 28px; height: 28px; border-radius: 6px; vertical-align: -7px; margin-right: 8px; }
.brand span { color: var(--accent); font-weight: 600; }
/* The coach badge: shown only by the single-column layout above, where the
   coach card is below the board (one rule, so the two can never disagree). */
.coach-badge {
  display: none; margin-left: auto; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .2px;
  background: var(--pill, #888); border-color: transparent; color: var(--pill-ink, #1d1d1d);
}
.coach-badge.pending { background: var(--line); color: var(--muted); }
.coach-badge:hover:not(:disabled) { background: var(--pill, #888); border-color: transparent; filter: brightness(1.08); }
.coach-badge.pending:hover:not(:disabled) { background: var(--line); }
.players { display: flex; gap: 8px; }
.player {
  display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  background: var(--card); border: 2px solid transparent; box-shadow: var(--shadow); font-size: 14px; white-space: nowrap;
}
.player.turn { border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.player .count { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 2ch; text-align: right; }
.player .off { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.player .off::before { content: "·"; margin-right: 6px; }
.player.thinking .pname::after { content: " …"; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.player.session { font-weight: 650; font-variant-numeric: tabular-nums; }
/* Phones: the pills say only who and the pip count (the checkers borne off and the AI's level are left out). */
@media (max-width: 480px) {
  .player .off, .player .plevel { display: none; }
  .players { flex-wrap: wrap; gap: 6px; }
  .player { padding: 5px 9px; gap: 6px; }
}
.chk-icon { width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; }
.chk-icon.dark { background: radial-gradient(circle at 36% 30%, #6a6f78, #2b2e35 35%, #07080a 80%); box-shadow: inset 0 0 0 1px #000; }
.chk-icon.light { background: radial-gradient(circle at 36% 30%, #fff, #f6f1e4 55%, #c9bfa6); box-shadow: inset 0 0 0 1px #8a7f66; }

/* The board is 13 wide to 10 high (src/view.js): as wide as fits with the controls below it on screen. */
.board-col { --board-w: min(100%, calc((var(--vh) - 210px) * 1.3)); }
.board-wrap {
  width: 100%;
  max-width: var(--board-w);
  min-width: min(100%, 420px);
  aspect-ratio: 13 / 10;
  touch-action: manipulation;
}
.board-svg { width: 100%; height: 100%; display: block; border-radius: 12px; box-shadow: 0 2px 4px rgba(20, 12, 4, .35), 0 14px 36px rgba(20, 12, 4, .38); cursor: pointer; user-select: none; }
.board-svg text { font-family: system-ui, sans-serif; }

.message {
  /* Two full lines of text (1.45 line height) plus the padding, so a message of up to two lines never moves the controls below. */
  min-height: calc(2.9em + 8px); width: 100%; max-width: var(--board-w);
  padding: 8px 4px 0; text-align: center; color: var(--muted);
}
.message.bad { color: var(--warn); font-weight: 600; }

.controls, .nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 6px; }
/* Study mode: the dice set by hand, a row of six for each die. */
.dice-pick { display: inline-grid; grid-template-columns: repeat(6, auto); gap: 2px; }
.dice-pick[hidden] { display: none; }
.dice-pick button { padding: 1px 7px; font-size: 13px; border-radius: 6px; font-variant-numeric: tabular-nums; }
button {
  background: var(--btn); border: 1px solid var(--line); border-radius: 9px; padding: 7px 12px; cursor: pointer;
  transition: background .12s, border-color .12s;
}
button:hover:not(:disabled) { background: var(--btn-hover); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
button:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:disabled { opacity: .45; cursor: default; }
button.primary {
  background: linear-gradient(var(--accent), var(--accent-2)); border-color: var(--accent-2); color: var(--accent-ink); font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 2px 6px color-mix(in srgb, var(--accent) 35%, transparent);
}
button.primary:hover:not(:disabled) { filter: brightness(1.08); background: linear-gradient(var(--accent), var(--accent-2)); border-color: var(--accent-2); }
button.on { background: #fff3c4; border-color: #e2c35a; color: #3b2f00; }
/* Hovered (or, on a touch screen, last tapped) it stays light, so its dark text stays readable in dark mode. */
button.on:hover:not(:disabled) { background: #ffeca6; border-color: #e2c35a; }
button.pass-btn { display: none; }
.nav { align-items: center; }
.nav button { min-width: 42px; }
.move-label { min-width: 250px; text-align: center; font-variant-numeric: tabular-nums; }
/* Phones: the row spans the board and the label gives way, rather than wrapping (it needs 362px). */
@media (max-width: 480px) {
  .nav { align-self: stretch; flex-wrap: nowrap; }
  .move-label { min-width: 0; flex: 1; }
}
.variations { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 8px; font-size: 13px; }
.chip { padding: 3px 9px; border-radius: 999px; font-size: 13px; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------------------------------------------------------------- side */
.side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card { background: var(--card); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.coach { min-height: 400px; } /* room for a typical comment from the start; it grows from there (holdCoachHeight) */
.card h2 { font-size: 15px; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }

/* The left part is the player's chance (in study mode the light side's), in the
   colour of that side's checkers; the rest is the other side's. */
.winbar {
  position: relative; height: 26px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(#3a3d44, #101114); border: 1px solid var(--line);
}
.winbar-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#fff, #e9e2d0); transition: width .35s; }
.winbar.dark-left { background: linear-gradient(#fff, #e9e2d0); }
.winbar.dark-left .winbar-fill { background: linear-gradient(#3a3d44, #101114); }
/* White ink over a difference blend reads on either colour, wherever the split falls. */
.wl { position: absolute; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 650; color: #fff; mix-blend-mode: difference; }
.wl-l { left: 8px; }
.wl-r { right: 8px; }
.score-est { margin: 6px 0 4px; font-size: 14px; }
.luck { margin: 0 0 6px; font-size: 14px; }

.feedback p { margin: 6px 0; }
.feedback .tip { color: var(--ink); background: color-mix(in srgb, var(--accent) 8%, transparent); padding: 8px 10px; border-radius: 8px; }
.fb-entry { padding: 8px 0; }
.fb-entry + .fb-entry { border-top: 1px solid var(--line); }
.fb-entry:not(.latest) { opacity: .8; }
.fb-entry:first-child { padding-top: 0; }
.fb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--pill, #888); color: var(--pill-ink, #1d1d1d); letter-spacing: .2px;
}
.pill.pending { background: var(--line); color: var(--muted); }
.fb-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fb-actions button { font-size: 13px; padding: 5px 10px; }
.explain { list-style: none; margin: 8px 0 0; padding: 0; }
.explain li { padding: 3px 0 3px 18px; position: relative; font-size: 14px; }
.explain li::before { content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

.threat-box {
  margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px;
  background: color-mix(in srgb, #e03131 10%, transparent); border-left: 3px solid #e03131;
}
.threat-box p { margin: 4px 0; }
.hint-box {
  margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px;
  background: color-mix(in srgb, #e2c35a 16%, transparent); border-left: 3px solid #e2c35a;
}
.hint-box p { margin: 4px 0; }
.hints { margin: 4px 0 0; padding-left: 22px; }
.hints li { padding: 2px 0; }
.hints .lg-dot { display: inline-block; vertical-align: middle; margin-right: 6px; }
.review { margin-top: 10px; display: grid; gap: 7px; font-size: 13px; }
.rv-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rv-row .pill { font-size: 11px; padding: 1px 7px; }
.key-moments h3 { font-size: 14px; margin: 12px 0 4px; }
.review .key-moments h3 { font-size: 13px; margin: 4px 0 2px; }
.key-moments ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.key-moments li .chip { margin-right: 2px; }
.key-moments p { margin: 4px 0; }
.rv-worst { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.graph { height: 110px; cursor: pointer; }
.graph-svg { width: 100%; height: 100%; display: block; border-radius: 6px; }
/* Upper half: the player (in study mode the light side) is ahead; lower half: behind. */
.g-top { fill: #2d2a26; opacity: .12; }
.g-bottom { fill: #fff; opacity: .6; }
@media (prefers-color-scheme: dark) {
  /* On a dark card: ahead a little lighter, behind darker, the light line readable on both. */
  .g-top { fill: #fff; opacity: .07; }
  .g-bottom { fill: #000; opacity: .28; }
}
.g-mid { stroke: var(--muted); stroke-dasharray: 4 4; opacity: .5; }
.g-cur { stroke: var(--accent); stroke-width: 2; }
.g-wr { fill: none; stroke: var(--ink); stroke-width: 2; }
.g-luck { stroke: var(--chance); stroke-width: 1.5; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; vertical-align: middle; margin-right: 5px; }
.lg-wr { width: 16px; border-top: 2px solid var(--ink); }
.lg-luck { width: 8px; height: 8px; border: 1.5px solid var(--chance); transform: rotate(45deg); margin-left: 2px; }
.lg-dot { width: 9px; height: 9px; border-radius: 50%; }

.toggles { display: grid; gap: 4px; }
.toggle { display: grid; grid-template-columns: 38px 1fr; column-gap: 8px; align-items: center; cursor: pointer; padding: 4px 0; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .sw { width: 34px; height: 20px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.toggle input:checked + .sw { background: var(--accent); }
.toggle input:checked + .sw::after { transform: translateX(14px); }
.toggle input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggle .tl { font-weight: 600; font-size: 14px; }
.toggle small { grid-column: 2; color: var(--muted); font-size: 12px; line-height: 1.35; }

.settings { display: grid; gap: 10px; }
.settings label { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.settings label.inline { justify-content: flex-start; }
.settings select { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--btn); }
.settings .help { margin-top: -6px; font-size: 12px; }
.settings .row { display: flex; gap: 8px; }

.learn details { border-top: 1px solid var(--line); padding: 8px 0; }
.learn details:first-of-type { border-top: 0; padding-top: 0; }
.learn summary { cursor: pointer; font-weight: 600; }
.learn p, .learn ul { margin: 6px 0; font-size: 14px; }
.learn ul { padding-left: 20px; }
.credits { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; padding: 0 8px; }
.credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: var(--accent); }

.score-panel { border: 2px solid var(--accent); }
.score-panel .big { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
.score-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.score-table th, .score-table td { padding: 4px 6px; text-align: right; border-bottom: 1px solid var(--line); }
.score-table th:first-child, .score-table td:first-child { text-align: left; }
.score-table .total td { font-weight: 700; border-bottom: 0; }
.score-panel p.muted { font-size: 13px; margin: 6px 0; }
.score-panel .totals { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.score-panel .totals li { padding: 2px 0; }
.keys { margin: 10px 0 0; line-height: 1.9; }
.score-panel .advice { background: color-mix(in srgb, var(--good) 14%, transparent); padding: 6px 9px; border-radius: 8px; font-size: 14px; }

/* ---------------------------------------------------------------- dialog */
dialog {
  border: 0; border-radius: 16px; padding: 0; width: min(560px, calc(100vw - 32px));
  background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
dialog::backdrop { background: rgba(20, 15, 5, .45); }
dialog form, dialog .offer { padding: 18px 20px; }
#doubleDlg { width: min(400px, calc(100vw - 32px)); }
#doubleDlg:focus { outline: none; }
dialog h2 { margin: 0 0 10px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 650; margin-bottom: 6px; }
fieldset.row { display: flex; gap: 16px; flex-wrap: wrap; }
fieldset.row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
fieldset.row select, fieldset.row input { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--btn); width: 120px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg label, .level { cursor: pointer; }
.seg input, .level input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--btn); }
.seg input:checked + span, .level input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--btn)); }
.seg input:focus-visible + span, .level input:focus-visible + span { outline: 2px solid var(--accent); }
.levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; }
.level span { display: block; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--btn); height: 100%; }
.level small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 2px; }
menu { display: flex; justify-content: flex-end; gap: 8px; padding: 0; margin: 10px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* ---------------------------------------------------------------- board */
/* The backgammon board (src/view.js). The SVG is 1300 x 1000; the page sizes its wrapper. */
/* The colours of the felt, the points, the wood and the checkers are in src/view.js (FELT, POINT, WOOD, LOOK). */
.board-svg .pt-a, .board-svg .pt-b { stroke: rgba(0, 0, 0, .3); stroke-width: 1.5; stroke-linejoin: round; }
.board-svg .inlay { stroke-width: 2; opacity: .5; }
.board-svg .felt-edge { fill: none; stroke: rgba(0, 0, 0, .28); stroke-width: 6; }
.board-svg .hinge { stroke: rgba(0, 0, 0, .5); stroke-width: 3; }
.board-svg .tray { fill: #1d1109; stroke: #8a6a3a; stroke-width: 2; }
.board-svg .pt-num { fill: #ecd9a8; font-size: 26px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.board-svg .pipct { fill: #ecd9a8; font-size: 22px; text-anchor: middle; dominant-baseline: central; }
.board-svg .hit, .board-svg .cube-tip { fill: transparent; }
.board-svg .checker.ghost, .board-svg .borne.ghost { opacity: .5; }
.board-svg .count { text-anchor: middle; dominant-baseline: central; font-size: 40px; font-weight: 700; pointer-events: none; }
.board-svg .die rect, .board-svg .roll-die rect { fill: #fffaf0; stroke: #c9bfa6; stroke-width: 3; filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, .45)); }
.board-svg .die .pip, .board-svg .roll-die .pip { fill: #1c1a17; }
.board-svg .die.used { opacity: .3; }
/* The dice waiting to be rolled: faded, a button (src/view.js rollBtn). Pointing at them or focusing them lights them. */
.board-svg .roll-dice { cursor: pointer; outline: none; }
.board-svg .roll-die { opacity: .45; transition: opacity .12s; }
.board-svg .roll-dice:hover .roll-die, .board-svg .roll-dice:focus-visible .roll-die { opacity: .95; }
.board-svg .roll-hit { fill: transparent; stroke: transparent; stroke-width: 6; }
.board-svg .roll-dice:hover .roll-hit { fill: rgba(255, 255, 255, .1); }
.board-svg .roll-dice:focus-visible .roll-hit { stroke: #74c0fc; }
.board-svg .roll-label { fill: #f5efd9; font-size: 30px; font-weight: 650; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: rgba(4, 21, 11, .55); stroke-width: 5; }
/* A checker that can move with the dice left: a bright warm ring on a dark edge, so it shows on a light checker
   and on a dark one, with a glow and a slow pulse (decoration: nothing waits on it). Destinations are the blue rings below. */
.board-svg .movable { fill: none; stroke: #ffc93c; stroke-width: 6; filter: drop-shadow(0 0 5px rgba(255, 201, 60, .85)); }
.board-svg .cube rect { fill: #f6dc82; stroke: #8a6d1f; stroke-width: 3; filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, .4)); }
.board-svg .cube-v { fill: #3b2d05; font-weight: 800; text-anchor: middle; dominant-baseline: central; }
.board-svg .cube.offered rect { stroke: #d2413a; stroke-width: 6; }
.board-svg .target { fill: rgba(116, 192, 252, .22); stroke: #74c0fc; stroke-width: 8; }
.board-svg .target.hit { fill: rgba(210, 65, 58, .2); stroke: #ff6b6b; }
.board-svg .target.tray { fill: rgba(116, 192, 252, .18); stroke-dasharray: 14 9; stroke-width: 6; }
.board-svg .selected { fill: none; stroke: #ffd43b; stroke-width: 9; }
.board-svg .dice-note { fill: #f5efd9; font-size: 30px; font-weight: 650; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: rgba(4, 21, 11, .55); stroke-width: 5; }
.board-svg .mark-label { fill: #fff; font-size: 28px; font-weight: 750; text-anchor: middle; dominant-baseline: central; }
.board-svg .cursor { fill: none; stroke: #74c0fc; stroke-width: 8; }
.board-svg:focus { outline: none; }
.board-svg:focus-visible { outline: 3px solid #74c0fc; outline-offset: 3px; }

/* A point the coach's text names: pointing at it rings the point on the board. */
.pt { border-bottom: 1px dotted currentColor; cursor: help; }
.pt:hover { background: rgba(116, 192, 252, .25); }
.board-svg .locate { fill: rgba(255, 224, 102, .22); stroke: #ffe066; stroke-width: 6; stroke-dasharray: 14 8; }

/* Reduced motion: no blinks, slides or fades (the board's checkers already jump:
   view.js). Nothing on the page waits for a transition, so none is missed. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
