/* Bracket view toggle + vertical bracket + penalty lines (homepage only).
   Toggle active state matches the site's gold filter buttons. Vertical
   cards use the same glass treatment as the hero cards so they read in
   both modes; light mode inverts to white glass with dark text. */
.board-view-toggle { display: flex; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.board-view-btn {
  border: 1px solid rgba(128, 128, 128, 0.45);
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.board-view-btn.active { background: #fdc52c; border-color: #fdc52c; color: #181733; }
.board-view-btn:focus-visible { outline: 2px solid #5e9ed6; outline-offset: 2px; }
.board-vertical { margin-top: 12px; }
.bv-round { margin-bottom: 22px; }
.bv-round h5 {
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fdc52c;
}
.bv-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.08));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}
.bv-card .bv-team { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.bv-card .bv-team + .bv-score + .bv-team { text-align: right; }
.bv-card .bv-score { font-weight: 800; font-size: 14px; color: #fdc52c; white-space: nowrap; text-align: center; }
.bv-card .bv-meta { grid-column: 1 / -1; font-size: 12px; opacity: 0.8; text-align: center; }
html[data-theme="light"] .bv-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.75));
  box-shadow: 0 10px 30px rgba(20, 40, 30, 0.10);
  color: #181733;
}
html[data-theme="light"] .bv-card .bv-score { color: #154284; }
html[data-theme="light"] .bv-round h5 { color: #154284; }
/* Penalty lines: small gold text, never emojis. */
.score-pens { font-size: 12px; font-weight: 700; color: #fdc52c; text-align: center; margin-top: 2px; }
.md-pens { font-size: 13px; font-weight: 700; color: #fdc52c; text-align: center; margin-top: 4px; }
.board-stage .box .board-pens {
  font-size: 11px;
  font-weight: 800;
  color: #f2c230;
  text-align: center;
  line-height: 1.2;
  padding: 1px 4px 3px;
  flex: none;
}
.board-stage .box.final-card .board-pens { color: #141a15; }
/* Live Controller penalty row: two small inputs beside each other. */
.live-pens-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-top: 10px; }
.live-pens-row .control-group { margin: 0; }
.live-pens-row .live-deck-score-input { width: 64px; }

/* Homepage bracket snapshot image (captured on Studio Save): full-width,
   same rounded card treatment as other homepage imagery. */
.board-image { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
