/* hazeljs-examples, Go: the bar (your side, whose turn, Hazel's side) and the board, an SVG that fills its column */
.go-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 520px; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.go-bar .side { font-weight: 700; padding: 2px 10px; border-radius: 6px; white-space: nowrap; }
.go-bar .side.black { background: #1f2328; color: #f3f4f6; }
.go-bar .side.white { background: #f3f4f6; color: #1f2328; border: 1px solid #c9ccd1; }
.go-bar .side.now { box-shadow: 0 0 0 3px #f59e0b; }
.go-bar .turn { flex: 1 1 0; min-width: 0; text-align: center; font-size: 0.95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* (one line always: a longer turn's words never wrap and move the board) */
.goban-wrap { max-width: 520px; }
.goban svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.goban .pt { fill: transparent; cursor: pointer; }
.goban .pt:hover { fill: rgba(0, 0, 0, 0.12); }
.goban.busy .pt, .goban.over .pt { cursor: default; }
.goban.busy .pt:hover, .goban.over .pt:hover { fill: transparent; }
/* a point where a stone is not allowed flashes red for a moment */
.goban .pt.nope { animation: go-nope 0.7s; }
@keyframes go-nope { 0%, 55% { fill: rgba(220, 38, 38, 0.45); } 100% { fill: transparent; } }
/* full screen: the controls on the left (hidden in landscape until ☰), the bar above the board in the rest, the board as large as fits */
html.oracle-fs .go-ui { grid-template-columns: minmax(200px, 0.55fr) minmax(0, 3fr); grid-template-rows: auto minmax(0, 1fr); }
html.oracle-fs .go-ui > .go-bar { grid-column: 2; grid-row: 1; justify-self: center; width: min(100%, calc(100vh - 110px)); margin: 0 0 8px; }   /* (as wide as the board) */
html.oracle-fs .go-ui > .goban-wrap { grid-column: 2; grid-row: 2; justify-self: center; align-self: start; width: min(100%, calc(100vh - 110px)); max-width: none; }
html.oracle-fs .go-ui > .fs-cast { grid-row: 1 / -1; }

/* (0.0.35) Hazel's randomness: the slider, and what it says */
.noise-pick { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.noise-pick input[type=range] { width: 120px; accent-color: var(--accent); }
.noise-pick output { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.92em; }
