.board-workspace { --board-ink: #202023; --board-green: #52525a; --board-orange: #74747b; color: var(--board-ink); }
.board-heading { align-items: center; margin-bottom: 26px; }
.board-heading h2 { margin: 8px 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.8px; }
.board-heading p { margin-bottom: 0; }
.board-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.board-canvas-card { padding: 0 !important; overflow: hidden; }
.board-canvas-top { padding: 22px 24px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-canvas-top > div { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.board-live-dot { width: 8px; height: 8px; background: var(--board-green); border-radius: 50%; }
.board-frame-state { font-size: 11px; color: #74747b; white-space: nowrap; }
.board-rink-wrap { padding: 0 18px; }
.tactics-rink { display: block; width: 100%; height: auto; aspect-ratio: 1000/540; touch-action: none; user-select: none; -webkit-user-select: none; }
.tactics-rink:focus-visible { outline: 3px solid #74747b; outline-offset: -5px; border-radius: 16px; }
.rink-brand { font: 700 22px system-ui, sans-serif; letter-spacing: 9px; fill: #b4b4bb; }
.board-token { cursor: grab; filter: drop-shadow(0 3px 3px #20202324); }
.board-token:active { cursor: grabbing; }
.board-token:focus-visible { outline: none; }
.board-token:focus-visible > .board-token-hit { fill: #74747b40; }
.board-canvas-legend { display: flex; align-items: center; gap: 18px; padding: 8px 26px 22px; flex-wrap: wrap; color: #74747b; font-size: 11px; }
.board-canvas-legend span { display: inline-flex; align-items: center; gap: 6px; }
.board-canvas-legend i, .board-token-actions i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.board-drag-hint { margin-left: auto; color: #74747b; }
.board-transport { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-top: 1px solid #e2e2e4; background: #fafafa; }
.board-play { background: var(--board-green); color: #fff; border: none; width: 46px; height: 44px; border-radius: 12px; font-size: 18px; cursor: pointer; flex-shrink: 0; }
.board-play:disabled { opacity: .4; cursor: default; }
.board-restart { min-width: 36px; padding: 5px !important; font-size: 24px; color: #74747b; }
.board-scrubber { flex: 1; min-width: 45px; accent-color: var(--board-green); height: 32px; }
.board-time { white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; color: #52525a; }
.board-speed { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; color: #74747b; }
.board-speed input { padding: 7px 3px 7px 8px; border: 1px solid #e2e2e4; border-radius: 7px; color: var(--board-ink); background: white; min-height: 38px; width: 56px; }
.board-timeline { display: flex; gap: 12px; padding: 16px 24px 20px; }
.board-frame-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.board-frame { display: grid; gap: 7px; justify-items: start; min-width: 100px; background: #fafafa; border: 1px solid #e2e2e4; border-radius: 10px; padding: 13px 15px; text-align: left; color: #74747b; cursor: pointer; }
.board-frame span { font-size: 19px; font-weight: 750; letter-spacing: -1px; }
.board-frame small { font-size: 10px; }
.board-frame.is-current { background: #f5f5f5; border-color: #74747b; color: var(--board-green); box-shadow: inset 0 0 0 1px #74747b; }
.board-add-frame { border: 1px dashed #b4b4bb; color: #52525a; background: transparent; border-radius: 10px; padding: 10px 13px; display: flex; gap: 8px; align-items: center; text-align: left; font-size: 10px; line-height: 1.5; cursor: pointer; min-width: 110px; }
.board-add-frame b { font-size: 23px; font-weight: 400; }
.board-add-frame:disabled { opacity: .4; }
.board-instructions { padding: 14px 24px; background: #f5f5f5; border-top: 1px solid #e2e2e4; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 10px; line-height: 1.9; color: #74747b; }
.board-instruction-number { display: inline-grid; place-items: center; border-radius: 50%; width: 17px; height: 17px; font-size: 10px; font-weight: 700; color: #52525a; background: #e2e2e4; margin-left: 6px; }
.board-instruction-number:first-child { margin-left: 0; }
.board-sidebar { display: grid; gap: 17px; }
.board-editor { padding: 21px !important; }
.board-editor .eyebrow { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 19px; }
.board-editor .field { display: grid; gap: 7px; margin-bottom: 14px; font-size: 11px; color: #74747b; font-weight: 600; }
.board-editor .field input, .board-editor .field select, .board-editor .field textarea { width: 100%; box-sizing: border-box; background: #fafafa; border: 1px solid #e2e2e4; color: #3d3d43; border-radius: 8px; padding: 10px 11px; font-size: 12px; line-height: 1.6; font-family: inherit; }
.board-editor .field textarea { font-size: 12px; line-height: 1.65; resize: vertical; min-height: 90px; }
.board-small-actions .btn { font-size: 11px; padding: 8px 0; }
.board-small-actions { display: flex; justify-content: space-between; gap: 12px; }
.board-small-actions .board-delete-drill { color: #52525a; }
.board-token-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.board-token-actions .btn { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 10px 8px; font-size: 11px; min-height: 42px; border: 1px solid #e2e2e4; background: #fafafa; border-radius: 8px; color: #52525a; }
.board-selected-panel { border-top: 1px solid #e2e2e4; margin-top: 17px; padding-top: 14px; }
.board-select-help { margin: 0; font-size: 11px; line-height: 1.7; }
.board-selected-caption { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: #74747b; margin-bottom: 12px; }
.board-selected-edit { display: flex; gap: 10px; align-items: center; }
.board-selected-edit .field { flex: 1; min-width: 0; }
.board-selected-edit .btn { color: #52525a; font-size: 11px; }
.board-selected-panel small { display: block; font-size: 10px; line-height: 1.6; color: #74747b; }
.board-delete-frame { color: #74747b; padding: 12px 0 0; background: none; border: none; font-size: 11px; cursor: pointer; text-align: left; }
.board-tip { background: #e2e2e4; color: #52525a; border-radius: 13px; padding: 22px; }
.board-tip > span { font-size: 9px; letter-spacing: 1.3px; font-weight: 700; }
.board-tip p { font-size: 13px; line-height: 1.75; margin: 12px 0; }
.board-tip small { display: block; font-size: 10px; line-height: 1.6; opacity: .8; }
@media (min-width: 1450px) { .board-layout { grid-template-columns: minmax(0,1fr) 310px; } }
@media (max-width: 1150px) { .board-layout { grid-template-columns: minmax(0,1fr); } .board-sidebar { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } .board-transport { gap: 10px; } }
@media (max-width: 760px) { .board-sidebar { grid-template-columns: 1fr; } .board-heading { align-items: flex-start; gap: 12px; } .board-heading .btn { font-size: 11px; white-space: nowrap; } .board-canvas-top { padding: 17px 16px; } .board-rink-wrap { padding: 0 5px; } .board-canvas-legend { padding: 10px 16px 15px; gap: 11px; } .board-drag-hint { display: none !important; } .board-transport { padding: 14px 13px; gap: 8px; flex-wrap: wrap; } .board-time { font-size: 10px; } .board-speed { margin-left: auto; } .board-timeline { padding: 14px; gap: 8px; } .board-frame { min-width: 80px; padding: 12px; } .board-add-frame { min-width: 90px; padding: 8px; font-size: 9px; } .board-instructions { padding: 12px; gap: 4px; font-size: 9px; } .board-frame-state { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .board-token { filter: none; } }

/* Novaggio's home markers use red; opponents use slate in the rink SVG. */
.board-workspace{--board-ink:#28282c;--board-green:#bd3035;--board-orange:#cf383d}
.tactics-rink:focus-visible{outline-color:#bd3035}.board-token:focus-visible>.board-token-hit{fill:#bd303540}
.board-frame.is-current{background:#faeeee;border-color:#bd3035;color:#bd3035;box-shadow:inset 0 0 0 1px #bd3035}
.board-add-frame{color:#74747b;border-color:#c7c7cd}.board-instructions{background:#f5f5f5;border-color:#e2e2e4;color:#74747b}.board-instruction-number{background:#faeeee;color:#bd3035}
.board-small-actions .board-delete-drill,.board-selected-edit .btn,.board-delete-frame{color:#a1272c}
.board-tip{background:#fcf4f4;color:#52525a}.board-tip>span{color:#bd3035}
