/* ════════════════════════════════════════════════════════════════
   BASEBALL HUD
   Migrated from Electron overlay.css — DO NOT Tailwind-ify
   ════════════════════════════════════════════════════════════════ */
.bb-hud {
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(180deg, rgba(22,22,28,0.98) 0%, rgba(8,8,12,0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  border-radius: 3px;
  color: #fff;
  width: 360px;
  padding: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.bb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.bb-inning { font-size: 20px; }
.bb-bases {
  position: relative;
  width: 70px;
  height: 36px;
}
.bb-bases .base {
  position: absolute;
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.10);
  transform: rotate(45deg);
  border: 1px solid rgba(255,255,255,0.20);
}
.bb-bases .base.on { background: #ff3b3b; box-shadow: 0 0 8px rgba(255,80,80,0.8); }
.bb-bases .base-2 { left: 28px; top: 0; }
.bb-bases .base-1 { left: 50px; top: 18px; }
.bb-bases .base-3 { left: 6px;  top: 18px; }
.bb-mid {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
  padding-top: 8px;
}
.bb-scoreblock { display: grid; gap: 6px; }
.team-row {
  display: grid;
  grid-template-columns: 10px 1fr 40px;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 6px 8px;
}
.team-mark { width: 6px; height: 22px; border-radius: 2px; }
.bb-team-name { font-size: 18px; }
.team-score {
  background: rgba(255,255,255,0.90);
  color: #111;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  border-radius: 3px;
  padding: 2px 0;
}
.bb-count { display: grid; gap: 6px; }
.count-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 6px;
  align-items: center;
}
.count-label { font-size: 16px; }
.count-dots { display: flex; gap: 6px; }
.dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.dot.on.ball   { background: #2ddb63; box-shadow: 0 0 8px rgba(45,219,99,0.8); }
.dot.on.strike { background: #f1d341; box-shadow: 0 0 8px rgba(241,211,65,0.8); }
.dot.on.out    { background: #ff6a4d; box-shadow: 0 0 8px rgba(255,106,77,0.8); }


/* ════════════════════════════════════════════════════════════════
   LINESCORE
   ════════════════════════════════════════════════════════════════ */
.linescore {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  background: rgba(8,8,12,0.95);
  padding: 20px 28px;
  border-radius: 3px;
  font-size: 26px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.14);
  width: 60%;
  max-width: 900px;
}
.linescore table {
  border-collapse: collapse;
  color: #fff;
  width: 100%;
  table-layout: fixed;
}
.linescore th:first-child,
.linescore td:first-child { width: 24%; }
.linescore td, .linescore th {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.10);
}
.linescore th {
  font-weight: 700;
  opacity: 0.50;
  font-size: 0.7em;
  letter-spacing: 0.05em;
}
