/* Optional native board controls. Every rule belongs to this game module. */
.depth-board-controls { margin-top: 12px; width: 100%; min-width: 0; border: 2px solid var(--brass); border-radius: 12px; color: var(--ink); background: var(--paper-2); }
.depth-board-controls summary { min-height: 44px; padding: 10px 12px; font-weight: 700; cursor: pointer; overflow-wrap: anywhere; }
.depth-board-controls summary span { font-size: .86rem; font-weight: 400; }
.depth-board-body { display: grid; gap: 10px; padding: 0 10px 12px; }
.depth-board-note { font-size: .8rem; line-height: 1.5; }
.depth-board-status, .depth-board-readout { font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.depth-board-readout { padding: 8px; background: var(--paper); border-radius: 8px; }
.depth-board-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.depth-board-directions button, .depth-board-cancel { min-width: 44px; min-height: 44px; padding: 8px 10px; border: 2px solid var(--brass); border-radius: 8px; background: var(--paper); color: var(--ink); font: 600 .86rem var(--body); cursor: pointer; }
.depth-board-directions button:disabled, .depth-board-cancel:disabled { opacity: .5; cursor: default; }
.depth-board-controls summary:focus-visible, .depth-board-directions button:focus-visible, .depth-board-cancel:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.depth-board-grid { position: absolute; inset: 0; z-index: 9; display: grid; grid-template-rows: repeat(8, 1fr); }
.depth-board-grid[hidden] { display: none; }
.depth-board-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); min-height: 0; }
.depth-board-row > [role="gridcell"] { min-width: 0; min-height: 0; }
.depth-board-cell { display: block; width: 100%; height: 100%; min-width: 0; padding: 0; border: 0; border-radius: 18%; background: transparent; color: var(--ink); cursor: pointer; touch-action: manipulation; }
.depth-board-cell[data-picked="true"] { box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--paper); }
.depth-board-cell:focus-visible { outline: 3px solid var(--ink); outline-offset: -4px; background: color-mix(in oklab, var(--paper) 24%, transparent); }
.depth-board-cell[aria-disabled="true"] { cursor: default; }
@media (prefers-reduced-motion: reduce) { .depth-board-controls *, .depth-board-grid * { animation: none; transition: none; } }
