/* ─────────────────────────────────────────────────────
   Banana Ball Schedule — Modern Redesign
   ───────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.bbs-page-wrap {
  --bg: #fafaf7;
  --card: #ffffff;
  --card-border: rgba(0,0,0,.06);
  --text: #111;
  --muted: #777;
  --accent: #f5c518;
  --accent-dark: #e0b000;
  --black: #111;
  --live: #ef4444;
  --finished: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.04);
  --shadow-hover: 0 4px 20px rgba(0,0,0,.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.bbs-page-wrap * { box-sizing: border-box; }

/* ── Upcoming Widget Reset ── */
.bbs-upcoming-only { max-width: 100%; padding: 0; background: transparent; border-radius: 0; }

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.bbs-hero {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.bbs-hero::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .07;
  pointer-events: none;
}
.bbs-eyebrow {
  display: inline-block;
  background: rgba(245,197,24,.12);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.bbs-hero h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}
.bbs-hero p {
  margin: 0;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  max-width: 600px;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   FILTERS
   ══════════════════════════════════════════════════════ */
.bbs-filters-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.bbs-filters-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.bbs-filters-title { font-size: 16px; font-weight: 800; margin: 0; }
.bbs-filters-note  { font-size: 13px; color: var(--muted); margin: 0; }
.bbs-filters-form  { width: 100%; }

.bbs-filter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.bbs-filter-item       { grid-column: span 2; }
.bbs-filter-item-large { grid-column: span 4; }

.bbs-filter-item label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.bbs-filter-item select,
.bbs-filter-item input {
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font);
  font-weight: 500;
  background: #fafafa;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.bbs-filter-item select:focus,
.bbs-filter-item input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,197,24,.15);
}

.bbs-filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.bbs-btn-filter, .bbs-btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.bbs-btn-filter {
  background: var(--black);
  color: var(--accent);
}
.bbs-btn-filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.bbs-btn-reset {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(0,0,0,.1);
}

/* ── Results Bar ── */
.bbs-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.bbs-results-count { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.bbs-active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.bbs-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(245,197,24,.1);
  color: var(--text);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}

/* ── Editorial (intro / SEO blocks) ── */
.bbs-editorial-section .bbs-editorial-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}
.bbs-editorial-section .bbs-editorial-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.bbs-editorial-section .bbs-editorial-text:last-child {
  margin-bottom: 0;
}
.bbs-editorial-main-a {
  margin-bottom: 24px;
}
/* Space before schedule grid / empty state (after results bar) */
.bbs-editorial-main-b,
.bbs-editorial-team-why {
  margin-top: 8px;
  margin-bottom: 40px;
}
.bbs-editorial-footnote {
  margin-top: 40px;
  padding-top: 8px;
}

/* ══════════════════════════════════════════════════════
   SCHEDULE GRID
   ══════════════════════════════════════════════════════ */
.bbs-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

/* ══════════════════════════════════════════════════════
   MATCH CARD — Clean Horizontal Scoreboard
   ══════════════════════════════════════════════════════ */
.bbs-match-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, transform .25s ease;
  display: flex;
  flex-direction: column;
}
.bbs-match-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* ── Card Header (date + status) ── */
.bbs-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: #fafaf7;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.bbs-date-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 0;
}
.bbs-date-box .bbs-month {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .8;
}
.bbs-date-box .bbs-day {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.bbs-match-meta {
  text-align: right;
  flex: 1;
  min-width: 0;
}
.bbs-full-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status badges */
.bbs-status {
  display: inline-block;
  margin-top: 4px;
  background: rgba(0,0,0,.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.bbs-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  background: var(--live);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  animation: bbs-pulse 2s ease-in-out infinite;
}
@keyframes bbs-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .8; }
}
.bbs-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
}
.bbs-winner-line {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--finished);
}
.bbs-winner-line strong { font-weight: 800; }

/* ── Card Body — Teams Row (ALWAYS horizontal) ── */
.bbs-match-body {
  padding: 18px;
  flex: 1;
}

.bbs-teams-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.bbs-team {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0 4px;
}
.bbs-team-loser { opacity: .5; }

.bbs-team-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f8f8f4;
  border: 2px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.bbs-team-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.bbs-team-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bbs-team-score {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: var(--black);
}
.bbs-team-result-label {
  display: inline-block;
  margin-top: 6px;
  background: var(--finished);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* VS / FT / LIVE center badge */
.bbs-vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
  margin: 0 6px;
}

/* Live card glow */
.bbs-match-card.is-live-card {
  border-color: var(--live);
  box-shadow: 0 0 0 1px var(--live), 0 4px 20px rgba(239,68,68,.12);
}
.bbs-match-card.is-live-card .bbs-match-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bbs-match-card.is-live-card .bbs-vs-badge {
  background: var(--live);
  color: #fff;
}

/* Finished / Scoreboard card */
.bbs-match-card.is-finished .bbs-match-top {
  background: #f5f5f2;
}

/* ── Card Footer (venue) ── */
.bbs-match-bottom {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.bbs-venue {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.bbs-location {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Multi-team event */
.bbs-multi-event {
  background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.2);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════ */
.bbs-empty-state {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.bbs-empty-state h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.bbs-empty-state p  { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

/* ══════════════════════════════════════════════════════
   STANDINGS TABLE — Clean White Design
   ══════════════════════════════════════════════════════ */
.bbs-standings-wrap {
  max-width: 1280px;
  margin: 0 auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bbs-standings-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 8px 30px rgba(0,0,0,.06);
}
.bbs-standings-table-wrap { width: 100%; overflow-x: auto; }
.bbs-standings-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

/* ── Table Header ── */
.bbs-standings-table thead th {
  background: #111;
  color: #f5c518;
  font-size: 11px;
  font-weight: 800;
  padding: 14px 20px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  border: none;
}
.bbs-th-rank { width: 56px; text-align: center; padding-left: 16px; padding-right: 8px; }
.bbs-th-stat { text-align: center; width: 70px; }

/* ── Table Rows ── */
.bbs-standings-table tbody tr {
  transition: background .15s ease;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.bbs-standings-table tbody tr:last-child { border-bottom: none; }
.bbs-standings-table tbody tr:nth-child(even) { background: #fafafa; }
.bbs-standings-table tbody tr:hover { background: #f5f5f0; }

/* ── Top 4 Qualifier row tints + left border indicator ── */
.bbs-standings-table tbody tr.bbs-zone-safe {
  border-left: 4px solid #10b981;
}
.bbs-standings-table tbody tr.bbs-row-gold  { background: rgba(245,197,24,.06); }
.bbs-standings-table tbody tr.bbs-row-gold:hover  { background: rgba(245,197,24,.12); }
.bbs-standings-table tbody tr.bbs-row-silver { background: rgba(176,184,196,.06); }
.bbs-standings-table tbody tr.bbs-row-silver:hover { background: rgba(176,184,196,.12); }
.bbs-standings-table tbody tr.bbs-row-bronze { background: rgba(205,127,50,.05); }
.bbs-standings-table tbody tr.bbs-row-bronze:hover { background: rgba(205,127,50,.1); }
.bbs-standings-table tbody tr.bbs-row-4th { background: rgba(16,185,129,.04); }
.bbs-standings-table tbody tr.bbs-row-4th:hover { background: rgba(16,185,129,.08); }

/* ── Elimination Zone rows + left border indicator ── */
.bbs-standings-table tbody tr.bbs-zone-danger {
  border-left: 4px solid #ef4444;
  background: rgba(239,68,68,.03);
}
.bbs-standings-table tbody tr.bbs-zone-danger:hover {
  background: rgba(239,68,68,.07);
}

/* ── Qualifier / Elimination Separator ── */
.bbs-standings-table tbody tr.bbs-qualifier-separator {
  border-bottom: none;
  height: 0;
  line-height: 0;
}
.bbs-standings-table tbody tr.bbs-qualifier-separator:hover {
  background: transparent !important;
}
.bbs-standings-table tbody tr.bbs-qualifier-separator td {
  padding: 0 !important;
  border: none !important;
  height: 3px;
  line-height: 0;
}
.bbs-separator-line {
  height: 3px;
  background: linear-gradient(90deg,
    #10b981 0%, #10b981 48%,
    #666 48%, #666 52%,
    #ef4444 52%, #ef4444 100%
  );
}

/* ── Table Cells ── */
.bbs-standings-table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  vertical-align: middle;
  border: none;
}

/* ── Rank Badge ── */
.bbs-td-rank { text-align: center; padding-left: 16px; padding-right: 8px; }
.bbs-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  background: #f0f0f0;
  color: #888;
}
.bbs-rank-badge.bbs-row-gold {
  background: linear-gradient(135deg, #f5c518, #e0a800);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,197,24,.3);
}
.bbs-rank-badge.bbs-row-silver {
  background: linear-gradient(135deg, #b8c0cc, #8e96a4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(176,184,196,.25);
}
.bbs-rank-badge.bbs-row-bronze {
  background: linear-gradient(135deg, #cd7f32, #a46328);
  color: #fff;
  box-shadow: 0 2px 8px rgba(205,127,50,.25);
}
.bbs-rank-badge.bbs-row-4th {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16,185,129,.25);
}

/* ── Team Cell ── */
.bbs-td-team { padding-left: 12px; }
.bbs-standings-team { display: flex; align-items: center; gap: 14px; min-width: 160px; }
.bbs-standings-team-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f8f5;
  border: 2px solid rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 40px;
}
.bbs-standings-team-logo { width: 28px; height: 28px; object-fit: contain; }
.bbs-standings-team-name { font-size: 15px; font-weight: 800; line-height: 1.3; color: #111; }

/* ── Stat Cells ── */
.bbs-td-stat { text-align: center; font-weight: 800; font-size: 15px; }
.bbs-td-wins  { color: #059669; }
.bbs-td-losses { color: #dc2626; }
.bbs-td-pct {
  font-weight: 900;
  color: #111;
  font-variant-numeric: tabular-nums;
}

/* ── Empty State ── */
.bbs-standings-empty {
  text-align: center;
  color: #888;
  padding: 40px 20px !important;
  font-size: 14px;
  font-weight: 600;
}

/* ── Standings Mobile ── */
@media (max-width: 640px) {
  .bbs-standings-card { border-radius: 12px; }
  .bbs-standings-table thead th { padding: 12px 10px; font-size: 10px; letter-spacing: .6px; }
  .bbs-standings-table tbody td { padding: 12px 10px; font-size: 13px; }
  .bbs-th-rank, .bbs-td-rank { width: 44px; padding-left: 10px; padding-right: 4px; }
  .bbs-rank-badge { width: 28px; height: 28px; font-size: 12px; border-radius: 6px; }
  .bbs-standings-team { gap: 10px; min-width: 120px; }
  .bbs-standings-team-logo-wrap { width: 32px; height: 32px; flex: 0 0 32px; }
  .bbs-standings-team-logo { width: 22px; height: 22px; }
  .bbs-standings-team-name { font-size: 13px; }
  .bbs-td-stat { font-size: 13px; }
  .bbs-th-stat { width: 50px; }
}

/* ══════════════════════════════════════════════════════
   UPCOMING WIDGET GRID
   ══════════════════════════════════════════════════════ */
.bbs-upcoming-only .bbs-schedule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ══════════════════════════════════════════════════════
   LIVE STRIP
   ══════════════════════════════════════════════════════ */
.bbs-live-strip-wrap {
  margin: 24px 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-family: var(--font);
}
.bbs-live-strip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.bbs-live-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.bbs-live-strip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.bbs-live-strip-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.bbs-live-strip-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bbs-live-strip-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.bbs-live-strip-team-right {
  justify-content: flex-end;
  text-align: right;
  flex-direction: row-reverse;
}
.bbs-live-strip-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.bbs-live-strip-name {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bbs-live-strip-score {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.bbs-live-strip-sep { opacity: .5; }
.bbs-live-strip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.bbs-live-strip-venue,
.bbs-live-strip-time {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Score pill (used in some contexts) */
.bbs-score-line   { margin-top: 4px; }
.bbs-score-pill   { display: inline-flex; align-items: center; justify-content: center; background: var(--black); color: var(--accent); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 900; }
.bbs-score-pill-large { font-size: 15px; padding: 6px 14px; }

/* ══════════════════════════════════════════════════════
   STATS SECTION — Runs & Tricks (Match Cards)
   ══════════════════════════════════════════════════════ */
.bbs-stats-section {
  margin-top: 10px;
  padding: 6px 0 0;
  border-top: 1px dashed rgba(0,0,0,.08);
}
.bbs-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3px 0;
}
.bbs-stat-row + .bbs-stat-row {
  border-top: 1px solid rgba(0,0,0,.04);
}
.bbs-stat-label {
  width: 56px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  flex-shrink: 0;
}
.bbs-stat-val {
  flex: 1;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.bbs-stat-val-home { text-align: right; padding-right: 10px; }
.bbs-stat-val-away { text-align: left;  padding-left: 10px;  }

/* ══════════════════════════════════════════════════════
   MATCH FACT STRIP
   ══════════════════════════════════════════════════════ */
.bbs-match-fact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(245,197,24,.08) 0%, rgba(245,197,24,.03) 100%);
  border: 1px solid rgba(245,197,24,.14);
}
.bbs-match-fact-icon {
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}
.bbs-match-fact-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════
   LIVE STRIP — Stats & Fact Extensions
   ══════════════════════════════════════════════════════ */
.bbs-live-strip-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
}
.bbs-live-strip-stat {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  letter-spacing: .3px;
}
.bbs-live-strip-fact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.15);
}
.bbs-live-strip-fact-icon {
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}
.bbs-live-strip-fact span:last-child {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .bbs-upcoming-only .bbs-schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bbs-live-strip-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .bbs-filter-item       { grid-column: span 4; }
  .bbs-filter-item-large { grid-column: span 12; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   The key change: teams row stays HORIZONTAL (flex)
   with smaller logos and truncated names so the card
   never stretches into a confusing vertical list.
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .bbs-hero h2 { font-size: 26px; }
  .bbs-hero p  { font-size: 14px; }
  .bbs-filter-item,
  .bbs-filter-item-large { grid-column: span 12; }
  .bbs-filters-top,
  .bbs-results-bar { flex-direction: column; align-items: flex-start; }
  .bbs-schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bbs-page-wrap { padding: 16px 12px 40px; }
  .bbs-upcoming-only { padding: 0; }
  .bbs-hero { padding: 24px 16px; border-radius: 14px; }

  .bbs-upcoming-only .bbs-schedule-grid {
    grid-template-columns: 1fr;
  }

  .bbs-match-card { border-radius: 14px; }

  /* Match top: compact */
  .bbs-match-top { padding: 12px 14px; }
  .bbs-date-box { padding: 5px 10px; border-radius: 6px; }
  .bbs-date-box .bbs-day { font-size: 16px; }
  .bbs-date-box .bbs-month { font-size: 10px; }
  .bbs-full-date { font-size: 12px; }

  /* Match body */
  .bbs-match-body { padding: 14px; }

  /* ★ THE KEY: teams-row stays horizontal on mobile ★ */
  .bbs-teams-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .bbs-team-logo-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }
  .bbs-team-logo {
    width: 34px;
    height: 34px;
  }
  .bbs-team-name {
    font-size: 11px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .bbs-team-score {
    font-size: 22px;
    margin-top: 4px;
  }
  .bbs-team-result-label {
    font-size: 9px;
    padding: 2px 6px;
  }

  .bbs-vs-badge {
    width: 36px;
    height: 36px;
    font-size: 10px;
    margin: 0 4px;
  }

  /* Venue row */
  .bbs-match-bottom {
    margin-top: 10px;
    padding-top: 10px;
  }
  .bbs-venue   { font-size: 12px; }
  .bbs-location { font-size: 12px; }

  /* Stats section mobile */
  .bbs-stat-val { font-size: 13px; }
  .bbs-stat-label { font-size: 9px; width: 52px; }
  .bbs-stat-val-home { padding-right: 8px; }
  .bbs-stat-val-away { padding-left: 8px; }
  .bbs-match-fact { padding: 7px 10px; gap: 6px; }
  .bbs-match-fact-icon { font-size: 11px; }
  .bbs-match-fact-text { font-size: 11px; }

  /* Live strip mobile */
  .bbs-live-strip-card { padding: 12px; }
  .bbs-live-strip-teams {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .bbs-live-strip-team,
  .bbs-live-strip-team-right {
    flex-direction: row;
    justify-content: flex-start;
  }
  .bbs-live-strip-team-right {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .bbs-live-strip-name { font-size: 11px; }
  .bbs-live-strip-logo { width: 24px; height: 24px; flex: 0 0 24px; }
  .bbs-live-strip-score { font-size: 16px; }
  .bbs-live-strip-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* Ultra-small screens */
@media (max-width: 380px) {
  .bbs-team-logo-wrap {
    width: 40px;
    height: 40px;
  }
  .bbs-team-logo {
    width: 28px;
    height: 28px;
  }
  .bbs-team-name { font-size: 10px; }
  .bbs-team-score { font-size: 18px; }
  .bbs-vs-badge {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }
}