/* leagues/fixtures-sidebar.css - styling for the upcoming-fixtures rail.
 *
 * Pulled out of leagues/index.html's inline <style> so more than one page can
 * carry the rail. Pairs with leagues/fixtures-sidebar.js; load both, plus
 * leagues/wc-streaks.css, which owns the .wc-db-shell / .wc-db-sidebar layout
 * these rules sit inside.
 */

/* ── Sidebar fixtures rail (lifted from /wc/match) ─────────────── */
.wc-groups-sidebar-kickoff {
  padding: 18px 16px 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wc-groups-sidebar-kickoff strong { color: var(--wc-gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.wc-groups-filter { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px 4px; }
.wc-groups-filter-pill {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; min-height: 32px; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px; padding: 5px 8px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary);
  cursor: pointer;
  transition: background 140ms var(--wc-ease-out), color 140ms var(--wc-ease-out), border-color 140ms var(--wc-ease-out);
}
.wc-groups-filter-pill:hover { background: rgba(255, 39, 64, 0.10); color: var(--wc-gold); border-color: rgba(255, 39, 64, 0.30); }
.wc-groups-filter-pill.is-active { background: rgba(255, 39, 64, 0.14); color: var(--wc-gold); border-color: rgba(255, 39, 64, 0.45); }
.wc-groups-fixtures { padding: 4px 8px 8px; display: grid; gap: 6px; }
.wc-fix-day-head {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  padding: 8px 8px 4px; border-top: 1px solid var(--wc-streak-tile-border); margin-top: 2px;
}
.wc-fix-day-head:first-child { border-top: 0; margin-top: 0; padding-top: 4px; }
.wc-fix-day-head strong { color: var(--text-secondary); font-weight: 700; }
.wc-fix {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.018); border: 1px solid transparent;
  text-decoration: none; color: inherit;
  transition: background 140ms var(--wc-ease-out), border-color 140ms var(--wc-ease-out), transform 140ms var(--wc-ease-out);
}
.wc-fix:hover { background: rgba(255, 255, 255, 0.045); border-color: var(--wc-streak-tile-border); transform: translateY(-1px); }
.wc-fix.is-live { border-color: rgba(239, 68, 68, 0.30); background: rgba(239, 68, 68, 0.04); }
.wc-fix.is-finished { opacity: 0.65; }
.wc-fix-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-muted);
}
.wc-fix-meta-group { color: var(--wc-gold); padding: 1px 5px; border-radius: 3px; background: rgba(255, 39, 64, 0.08); border: 1px solid rgba(255, 39, 64, 0.22); }
.wc-fix-meta-time { font-variant-numeric: tabular-nums; }
.wc-fix-teams { display: grid; grid-template-columns: 1fr auto; gap: 4px; align-items: center; }
.wc-fix-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wc-fix-team-flag {
  width: 18px; height: 18px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; object-fit: contain;
}
.wc-fix-team-flag img { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.wc-fix-team-flag.is-fallback { font-family: var(--font-mono); font-size: 8px; font-weight: 700; color: var(--text-secondary); }
.wc-fix-team-name {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wc-fix-score { font-family: var(--font-mono); font-size: 13px; font-weight: 800; color: var(--text-muted); font-variant-numeric: tabular-nums; padding-left: 6px; }
.wc-fix.is-finished .wc-fix-score, .wc-fix.is-live .wc-fix-score { color: var(--text-primary); }
.wc-groups-fixtures-empty { padding: 14px 16px; font-family: var(--font-body); font-size: 12.5px; color: var(--text-muted); text-align: center; }
/* Clear the fixed ~80px nav so main content sits below it; the sticky
 * sidebar docks flush at top:80px (mirrors the match page). */
body.wc-mode .wc-db-main { padding-top: 84px; }
/* Nav drops to normal flow at <=768px (theme.css), so trim the desktop
 * clearance to a modest gap there - breakpoint must be 768, not 720, or
 * 721-768px keeps the dead headroom above the ticker. */
@media (max-width: 768px) { body.wc-mode .wc-db-main { padding-top: 16px; } }

/* ── Mobile fixtures drawer ────────────────────────────────────── */
/* The mobile drawer (.wc-db-sidebar sliding in, .wc-drawer-toggle,
 * .wc-drawer-backdrop) is NOT defined here - leagues/wc-streaks.css already
 * owns it, with a body.wc-mode prefix that outranks anything unprefixed. This
 * file had a duplicate copy lifted from the hub's inline <style>; it was
 * removed so there is one source of truth. Load wc-streaks.css alongside this.
 */
