/* =================================================
   FIXTURES v2 additions — Gorton Pool
   Uses existing site vars. NO overrides of base styles.
   ================================================= */

/* ── Date group header ── */
.fx2-day-group {
  margin-bottom: 24px;
}

.fx2-day-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  background: #2d1b69;
  padding: 8px 14px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.fx2-day-header .material-symbols-outlined { font-size: 15px; opacity: .75; }

/* ── Fixture row ── */
.fx2-row {
  display: grid;
  grid-template-columns: 90px 1fr auto 1fr 160px;
  align-items: center;
  gap: 0 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-top: none;
  background: #fff;
  transition: background .1s;
}
.fx2-row:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}
.fx2-row:hover { background: rgba(125,18,219,.04); }

/* Time + badge */
.fx2-col--time {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fx2-time {
  font-size: .95rem;
  font-weight: 600;
  color: #2d1b69;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-ui);
}
.fx2-time--tbd {
  color: var(--muted);
  font-weight: 400;
  font-size: .85rem;
}

.fx2-comp-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}
.fx2-comp-badge--league {
  background: rgba(246,196,69,.2);
  color: #7a5800;
  border: 1px solid rgba(246,196,69,.4);
}
.fx2-comp-badge--team_ko {
  background: rgba(125,18,219,.08);
  color: #2d1b69;
  border: 1px solid rgba(125,18,219,.2);
}

/* Teams */
.fx2-col--home { text-align: right; }
.fx2-col--away { text-align: left; }

/* vs */
.fx2-col--vs { text-align: center; }
.fx2-vs {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Venue */
.fx2-col--venue {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fx2-venue {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.3;
}
.fx2-venue-icon {
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Result row ── */
.fx2-row--result {
  grid-template-columns: 1fr 70px 1fr 180px;
}
.fx2-col--score { text-align: center; }
.fx2-score {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #2d1b69;
}
.fx2-score-sep { color: var(--muted); font-weight: 400; }
.fx2-winner .link { font-weight: 700; color: #2d1b69; }

.fx2-scorecard-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: .8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-top: 2px;
}
.fx2-scorecard-link:hover { text-decoration: underline; }
.fx2-scorecard-link .material-symbols-outlined { font-size: 14px; }

/* ── Window nav ── */
.fx2-window-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}
.fx2-window-label {
  font-size: .875rem;
  font-weight: 600;
  color: #2d1b69;
  text-align: center;
}
.fx2-nav-btn--disabled {
  opacity: .4;
  pointer-events: none;
}

/* ── Filter bar ── */
.fx2-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(45,27,105,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.fx2-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fx2-filter-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.fx2-filter-label .material-symbols-outlined { font-size: 13px; }
.fx2-select,
.fx2-date-input {
  font-family: var(--font-ui);
  font-size: .875rem;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  min-width: 130px;
}
.fx2-select:focus, .fx2-date-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ── Empty state ── */
.fx2-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 20px;
  color: var(--muted);
  text-align: center;
}
.fx2-empty .material-symbols-outlined { font-size: 40px; opacity: .35; }

/* ── Mobile ── */
@media (max-width: 720px) {
  .fx2-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .fx2-col--home,
  .fx2-col--away { text-align: left; }
  .fx2-col--time { flex-direction: row; align-items: center; }
  .fx2-row--result { grid-template-columns: 1fr; }
  .fx2-col--score { text-align: left; }
  .fx2-filters { flex-direction: column; }
  .fx2-select { width: 100%; }
}
