/* The score strip sits beside the playing surface, clear of the ball and throw targets. */
.gs-board {
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(70px,23%,185px);
  grid-template-areas:"situation map" "scores map";
  align-items:center;
  container-type:inline-size;
  gap:3px clamp(6px,1.65vw,16px);
  padding:5px clamp(8px,2vw,22px);
  background:#13382e;
  color:#fbfaef;
  border-block:1px solid #547463;
  font:600 .91rem/1.12 var(--sans,Arial,sans-serif);
  font-variant-numeric:tabular-nums;
  text-align:left;
}
.gs-board [hidden] {display:none}
.gs-clubs {grid-area:scores;display:grid;gap:3px;min-width:0}
.gs-row {display:grid;grid-template-columns:3px minmax(0,1fr) auto;align-items:center;column-gap:7px;min-height:24px}
.gs-stripe {align-self:stretch;background:#cce197;border-radius:2px}
.gs-derby-score .gs-stripe {background:#f1b85c}
.gs-club {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gs-full {display:none}
.gs-short {letter-spacing:.06em;font-size:.85em}
.gs-runs {color:#fffef1;font:700 1.18rem/.95 var(--sans,Arial,sans-serif)}
.gs-inning {grid-area:situation;display:flex;align-items:baseline;gap:5px 12px;flex-wrap:wrap}
.gs-period {font:700 1.12rem/1.14 var(--sans,Arial,sans-serif);white-space:nowrap}
.gs-details {display:flex;align-items:baseline;flex-wrap:wrap;column-gap:9px;row-gap:1px;color:#d9e4d6;font-size:.79rem}
.gs-details span {white-space:nowrap}
.gs-map {grid-area:map;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;border-left:1px solid #557260}
.gs-map canvas {display:block;width:min(100%,124px);min-width:0;height:auto;aspect-ratio:132/72;background:none;pointer-events:none}
.gs-key {display:flex;gap:5px;font-size:.65rem;font-weight:600;line-height:1.55;color:#f0f0dd}
.gs-key span {display:block;white-space:nowrap}
.gs-key span::before {content:"";display:inline-block;vertical-align:.04em;border-radius:50%;width:5px;height:5px;margin-right:5px;background:#f7bb54}
.gs-key span:nth-child(2) {display:none}
.gs-key span:nth-child(2)::before {background:#a4cabb}
.gs-key span:last-child::before {background:#fffef2}
@container (min-width:380px) {
  .gs-full {display:inline}
  .gs-short {display:none}
}
@container (min-width:570px) {
  .gs-map {flex-direction:row;justify-content:space-evenly}
  .gs-key {display:block;font-size:.7rem}
  .gs-key span:nth-child(2) {display:block}
}

.gs-line-scroll {grid-area:scores;overflow-x:auto;min-width:0;scrollbar-width:thin;scrollbar-color:#809d89 #13382e}
.gs-line-scroll:focus-visible {outline:2px solid #f4c36e;outline-offset:1px}
.gs-lines {border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;color:#f4f6ed;font:600 .84rem/1.12 var(--sans,Arial,sans-serif);font-variant-numeric:tabular-nums}
.gs-lines th,.gs-lines td {padding:2px .13rem;min-width:1rem;text-align:center;white-space:nowrap}
.gs-lines thead th {font-size:.68rem;letter-spacing:.02em;color:#b7cdbd;font-weight:600;border-bottom:1px solid #527563}
.gs-lines :is(th,td):first-child {position:sticky;left:0;background:#13382e;z-index:1;text-align:left;padding-left:4px;padding-right:5px}
.gs-lines tbody th {font-weight:700;border-left:3px solid #b2d084}
.gs-lines tbody .gs-side-0 {border-color:#efb75c}
.gs-lines .gs-total {position:sticky;right:0;background:#204839;color:#fffdf1;font-weight:700;border-left:1px solid #678877;min-width:1.5rem}
.gs-lines th[aria-current="true"],.gs-lines .gs-current-score {background:#43533b;color:#ffe4a6}
.gs-lines .gs-unplayed {color:#97aa9b;font-weight:400}
.gs-line-full {display:none}
@container (min-width:570px) {
  .gs-line-full {display:inline}
  .gs-line-short {display:none}
  .gs-lines th,.gs-lines td {padding-block:3px}
}
@media(max-width:360px) {
  .gs-board {grid-template-columns:minmax(0,1fr) 65px;column-gap:4px;padding-inline:6px}
  .gs-line-scroll {padding-bottom:5px}
}
