.oc-wall-footer{font-size:.8rem;color:var(--text-soft);text-align:center;padding:5px}.oc-board-grid{display:grid!important;gap:12px!important;min-height:0}.wall-board{min-width:0;min-height:0;border:1px solid var(--line-strong);border-radius:14px;padding:14px;background:var(--surface-2);display:flex;flex-direction:column;gap:8px;overflow:hidden}.wall-board.live{border-color:var(--success)}.wall-board-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.wall-board-head strong{font-size:1.15rem}.wall-board-head>span{font-size:.65rem;font-weight:850;color:var(--success);white-space:nowrap}.wall-opponents{flex:1;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:0}.wall-team{font-weight:850;font-size:clamp(1rem,1.22vw,1.5rem);line-height:1.16;overflow-wrap:anywhere}.wall-team span{display:block}.wall-versus{font-size:.6rem;letter-spacing:.15em;color:var(--muted)}.wall-score{display:flex;justify-content:space-between;align-items:baseline;gap:8px;border-top:1px solid var(--line);padding-top:7px}.wall-score strong{font-size:1.6rem;font-weight:950;color:var(--success)}.wall-score>span{font-size:.8rem;font-weight:750;color:var(--text-soft)}.wall-available{margin:auto;color:var(--muted)}.wall-competition{font-size:clamp(.65rem,.85vw,.82rem);font-weight:750;color:var(--text-soft);letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}.wall-board.live .wall-competition{color:var(--success)}
@media(min-width:1100px) and (min-height:650px){
  .tv.board-wall-active{height:100dvh;min-height:0;padding:14px 22px;display:flex;flex-direction:column;gap:12px;overflow:hidden}
  .board-wall-active :is(.tv-head,.head){flex:none;padding-bottom:8px;margin:0;align-items:center;gap:20px}
  .board-wall-active :is(.tv-head,.head) h1{font-size:1.65rem;margin:0}
  .board-wall-active .oc-display-brand{margin-bottom:4px;font-size:1.1rem;gap:8px}
  .board-wall-active .oc-display-brand img{width:28px;height:28px}
  .board-wall-active .clock{font-size:2rem}.board-wall-active .clock small{font-size:.6rem}
  .board-wall-active .summary{margin-top:4px}.board-wall-active .summary span{font-size:.65rem;padding:3px 8px}
  .board-wall-active .tv-actions{display:none}
  .board-wall-active .actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  .board-wall-active .oc-board-grid{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));overflow:hidden}
  .board-wall-active[data-wall-size="6"] .oc-board-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
  .board-wall-active[data-wall-size="6"] .wall-team{font-size:clamp(1.3rem,1.65vw,2rem)}
  .board-wall-active .layout{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
  .board-wall-active .layout>section{display:flex;flex:1;min-height:0}
  .board-wall-active .layout>.calls{display:none}
  .board-wall-active #matchMode{display:flex!important;flex:1;min-height:0}
  .board-wall-active #matchMode>.grid{display:flex;flex:1;min-height:0;margin:0}
  .board-wall-active #matchMode .panel-tv:first-child{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;border:0;background:none}
  .board-wall-active #matchMode :is(.queue,.groups,.panel-tv>.eyebrow){display:none}
  .board-wall-active .oc-wall-footer{flex:none;padding:0}
}
@media(max-width:1099px){.oc-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(220px,auto)!important;overflow:visible!important}.tv.board-wall-active{height:auto!important;overflow:visible}.wall-board{min-height:220px}.wall-team{font-size:1.1rem}}@media(max-width:600px){.oc-board-grid{grid-template-columns:1fr!important}}
.wall-board.called{border-color:var(--warn)}.wall-board.called .wall-board-head>span,.oc-wall-footer.has-calls{color:var(--warn);font-weight:850}
@media(min-width:1100px) and (min-height:650px){
  .board-wall-active[data-wall-size="8"] .oc-board-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
  .board-wall-active[data-wall-size="8"] .wall-team{font-size:clamp(1.2rem,1.5vw,1.8rem)}
}

.wall-board.occupied{border-color:var(--warn)}.wall-board.occupied .wall-board-head>span{color:var(--warn)}

/* Broadcast sizing: the grid follows the boards on the page, and type scales with each card,
   so four boards fill a 1080p screen and names stay legible from the oche. */
@media(min-width:1100px) and (min-height:650px){
  .board-wall-active .oc-board-grid{grid-template-columns:repeat(var(--wall-cols,4),minmax(0,1fr))!important;grid-template-rows:repeat(var(--wall-rows,2),minmax(0,1fr))!important;gap:clamp(12px,1vw,22px)!important}
  .board-wall-active .oc-board-grid .wall-board{container-type:size;padding:clamp(14px,4cqi,34px);gap:clamp(6px,2.4cqb,20px);border-radius:clamp(12px,2cqi,20px)}
  .board-wall-active .oc-board-grid .wall-board-head strong{font-size:clamp(1.1rem,6.5cqi,2.6rem)}
  .board-wall-active .oc-board-grid .wall-board-head>span{font-size:clamp(.75rem,3.2cqi,1.2rem);letter-spacing:.08em}
  .board-wall-active .oc-board-grid .wall-team{font-size:clamp(1.1rem,min(8cqi,12cqb),4.2rem);line-height:1.08}
  .board-wall-active .oc-board-grid .wall-versus{font-size:clamp(.85rem,3.4cqi,1.4rem);letter-spacing:0;font-weight:700;margin:.15em 0}
  .board-wall-active .oc-board-grid .wall-competition{font-size:clamp(.75rem,2.9cqi,1.15rem)}
  .board-wall-active .oc-board-grid .wall-score{padding-top:clamp(7px,2cqb,16px)}
  .board-wall-active .oc-board-grid .wall-score strong{font-size:clamp(1.6rem,10cqi,4.6rem)}
  .board-wall-active .oc-board-grid .wall-score>span{font-size:clamp(.8rem,3.2cqi,1.25rem)}
  .board-wall-active .oc-board-grid .wall-available{font-size:clamp(1rem,5cqi,2rem)}
  /* Operator controls stay out of the picture until someone points at or tabs into the header. */
  .board-wall-active .actions{opacity:0;transition:opacity .2s ease}
  .board-wall-active :is(.tv-head,.head):hover .actions,.board-wall-active .actions:focus-within{opacity:1}
}
.wall-versus{text-transform:none}
.wall-score.pending{justify-content:flex-start}
@media(min-width:1100px) and (min-height:650px){.board-wall-active .head>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:8px}}
/* The clock already tells the room the time; show feed status on the TV only when something is wrong. */
.board-wall-active #feedStatus[data-state=live]{display:none}

/* Live board: remaining score is the hero; legs in a fixed column; the thrower is marked by dot and tint. */
.wall-live{flex:1;display:flex;flex-direction:column;justify-content:center;gap:.35em;min-height:0}
.wall-live-cols,.wall-live-row{display:grid;grid-template-columns:.7em minmax(0,1fr) 2.2em 3.2em;align-items:center;column-gap:.5em}
.wall-live-cols{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.wall-live-cols span:nth-child(n+2){text-align:right}
.wall-live-row{padding:.25em .4em;border-radius:10px;font-size:1rem}
.wall-live-row.throwing{background:color-mix(in srgb,var(--success) 13%,transparent)}
.wall-throw{width:.55em;height:.55em;border-radius:50%;background:transparent}
.wall-live-row.throwing .wall-throw{background:var(--success)}
.wall-live-name{min-width:0;font-weight:850;line-height:1.1;overflow-wrap:anywhere}
.wall-live-name span{display:block}
.wall-live-name small{display:block;font-weight:600;color:var(--text-soft);font-size:.62em;margin-top:.15em}
.wall-live-legs{text-align:right;font-weight:900;color:var(--text-soft);font-variant-numeric:tabular-nums}
.wall-live-rem{text-align:right;font-weight:950;font-size:1.6em;font-variant-numeric:tabular-nums;line-height:1}
@media(min-width:1100px) and (min-height:650px){
  .board-wall-active .oc-board-grid .wall-live-row{font-size:clamp(1rem,min(5.6cqi,8cqb),2.6rem)}
  .board-wall-active .oc-board-grid .wall-live-cols{font-size:clamp(.7rem,2.4cqi,1rem)}
}
/* Live names keep the shared .wall-team hook but take their size from the row; pairs sit on one line. */
.board-wall-active .oc-board-grid .wall-live-name.wall-team,.wall-live-name.wall-team{font-size:1em;line-height:1.1}
.wall-live-name span{display:inline}
.wall-live-name span+span::before{content:" & ";color:var(--muted);font-weight:700}
@container (max-height:340px){.wall-live-name small{display:none}.wall-live-cols{display:none}}
/* Iteration 9: live boards lead; ready and free boards sit on one line each. */
.oc-wall-footer{font-size:clamp(14px,1.1vw,22px)!important;font-weight:700;color:var(--text-soft)}
.oc-wall-footer[hidden]{display:none!important}
.wall-queue{grid-column:1/-1;display:grid;grid-template-columns:repeat(var(--queue-cols,2),minmax(0,1fr));gap:clamp(8px,.8vw,16px);min-width:0}
.wall-board.wall-compact{flex-direction:row;align-items:center;gap:.75em;padding:.55em .9em;border-radius:12px;font-size:clamp(16px,1.25vw,26px);min-height:0;background:var(--surface)}
.wall-compact>strong{flex:none;font-weight:900}
.wall-compact-next{flex:1;min-width:0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-soft)}
.wall-compact-next.muted{color:var(--muted)}
.wall-compact-status{flex:none;font-size:.7em;font-weight:850;letter-spacing:.08em;color:var(--muted)}
.wall-compact.occupied .wall-compact-status{color:var(--warn)}
.wall-live-cols{font-size:1rem}
.wall-live-cols span{font-size:.62em;font-weight:800;letter-spacing:.08em;white-space:nowrap}
.wall-live-cols,.wall-live-row{grid-template-columns:.7em minmax(0,1fr) 2.4em 3.4em!important}
.wall-live-legs{font-size:1.1em}
.wall-board.live .wall-score{flex-wrap:wrap;align-items:baseline}
.wall-board.live .wall-score .wall-competition{flex:1 1 auto}
.wall-board.live .wall-score>span{margin-left:auto;font-weight:800}
@media(min-width:1100px) and (min-height:650px){
  .board-wall-active .oc-board-grid.has-queue{grid-template-rows:repeat(var(--wall-rows,1),minmax(0,1fr)) auto!important}
  .board-wall-active .oc-board-grid .wall-live-cols{font-size:clamp(1rem,min(5.6cqi,8cqb),2.6rem)!important}
  .board-wall-active .oc-board-grid .wall-board.live .wall-live-row,.board-wall-active .oc-board-grid .wall-board.live .wall-live-cols{font-size:clamp(1rem,min(5.6cqi,8cqb),3.2rem)!important}
  .board-wall-active .oc-board-grid .wall-board.wall-compact{container-type:normal;padding:.55em .9em;border-radius:12px;gap:.75em}
  .board-wall-active .oc-board-grid .wall-competition{font-size:clamp(14px,2.9cqi,1.25rem)}
  .board-wall-active .oc-board-grid .wall-score>span{font-size:clamp(14px,3.2cqi,1.35rem)}
}
@media(prefers-reduced-motion:reduce){
  .board-wall-active .actions{transition:none}
}
/* Iteration 9b: score rows sit directly under the board title with fixed heights, so the Legs and
   To go headings line up across boards; names take a container-relative size and stay on one line
   (ellipsis only as a last resort). Small TV text never drops below clamp(14px,1.1vw,22px). */
.wall-board.live .wall-live{justify-content:flex-start;gap:.2em;padding-top:clamp(4px,1.5cqb,18px)}
/* The remaining score is sized from the card (--wall-rem), and its column is a fixed multiple of it,
   so the To go column has the same width in every row and on every board. */
.wall-board.live .wall-live{--wall-rem:clamp(1.6em,min(11cqi,12cqb),8rem)}
.wall-live-cols,.wall-live-row{grid-template-columns:.55em minmax(0,1fr) max(1.7em,3.4rem) calc(var(--wall-rem,1.6em)*1.85)!important;column-gap:.35em}
.wall-live-row{height:max(2.5em,calc(var(--wall-rem,1.6em)*1.3),19cqb);box-sizing:border-box;padding:.2em .3em;align-items:center}
.wall-board.live .wall-live-rem{font-size:var(--wall-rem,1.6em)}
.wall-live-cols{flex:none}
.wall-live-name{display:flex;flex-direction:column;justify-content:center;gap:.12em;min-width:0;overflow:hidden}
.board-wall-active .oc-board-grid .wall-live-name.wall-team,.wall-live-name.wall-team{font-size:max(1rem,min(1em,4cqi));line-height:1.1}
.wall-live-names{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.005em}
.wall-live-meta{display:flex;align-items:center;gap:.5em;min-width:0;white-space:nowrap;overflow:hidden;font-size:max(14px,.62em)}
.wall-live-meta:empty{display:none}
.wall-live-meta small{display:inline;margin:0;font-size:1em;font-weight:600;color:var(--text-soft);overflow:hidden;text-overflow:ellipsis;min-width:0}
.wall-live-cols span{font-size:max(14px,.55em)}
.wall-board-head>span,.wall-versus,.wall-score>span,.wall-competition,.wall-compact-status{font-size:clamp(14px,1.1vw,22px)}
@media(min-width:1100px) and (min-height:650px){
  .board-wall-active .oc-board-grid .wall-board-head>span{font-size:max(clamp(14px,1.1vw,22px),min(3.2cqi,1.2rem))}
  .board-wall-active .oc-board-grid .wall-versus,.board-wall-active .oc-board-grid .wall-competition,.board-wall-active .oc-board-grid .wall-score>span{font-size:max(clamp(14px,1.1vw,22px),min(2.9cqi,1.35rem))}
  .board-wall-active .oc-board-grid .wall-compact-status{font-size:max(14px,.7em)}
}
@container (max-height:340px){.wall-live-meta{display:none}.wall-live-row{height:1.8em}}
/* Narrow cards: the player on throw shows the checkout route in place of average and last visit. */
