/* Trail making. The board is square and as large as the screen allows, so
   circles and labels stay readable on a phone. Visited circles and the
   trail are drawn in neutral tones; nothing marks the next circle. */
.tmt-stage { cursor: default; padding: 12px; gap: 8px; }
/* Room for the pause button, which sits over the stage's top right corner. */
.tmt-stage[data-odak-state="running"] { padding-top: 52px; }
.tmt-wrap { width: 100%; max-width: min(600px, calc(100dvh - 150px)); min-width: 240px; }
.tmt-wrap[hidden] { display: none; }
.tmt-board { display: block; width: 100%; height: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tmt-node { cursor: pointer; outline: none; }
.tmt-hit { fill: transparent; }
.tmt-circle { fill: var(--surface); stroke: var(--text); stroke-width: 0.45; }
.tmt-node text { font-size: 4.1px; font-weight: 700; fill: var(--text); text-anchor: middle; pointer-events: none; }
.tmt-node.is-visited .tmt-circle { fill: var(--surface-2); stroke: var(--text-soft); }
.tmt-node.is-visited text { fill: var(--text-soft); }
.tmt-node:focus-visible .tmt-circle { stroke: var(--accent); stroke-width: 1.1; }
.tmt-node.is-wrong .tmt-circle { stroke: var(--accent-strong); stroke-width: 1.1; stroke-dasharray: 1.6 1; }
.tmt-node.is-last .tmt-circle { stroke: var(--accent-strong); stroke-width: 1.1; }
.tmt-trail line { stroke: var(--text-soft); stroke-width: 0.6; stroke-linecap: round; }
.tmt-caption { font-size: 3.1px; font-weight: 600; fill: var(--text-soft); text-anchor: middle; }
.tmt-feedback { min-height: 1.4em; margin: 0; font-weight: 700; text-align: center; }
.odak-stage[data-odak-state="running"] .odak-stage-msg[hidden] { display: none; }
