/* FIFA 2026 interactive standings + awards widgets */
.fifa-interactive {
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  background: var(--card, rgba(255, 255, 255, 0.03));
}
.fifa-interactive__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.fifa-interactive__head h2 {
  margin: 0;
  font-size: 1.1rem;
}
.fifa-interactive__updated {
  font-size: 0.78rem;
  color: var(--muted, #a3aec5);
}
.fifa-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.fifa-tab {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.15));
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.fifa-tab:hover { border-color: var(--gold, #f2b94b); }
.fifa-tab.is-active {
  background: var(--gold, #f2b94b);
  border-color: var(--gold, #f2b94b);
  color: #111;
  font-weight: 600;
}
.fifa-panel { display: none; }
.fifa-panel.is-active { display: block; }
.fifa-grid-overview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.fifa-group-card {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.12s;
}
.fifa-group-card:hover {
  border-color: var(--gold, #f2b94b);
  transform: translateY(-1px);
}
.fifa-group-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #a3aec5);
  margin-bottom: 0.35rem;
}
.fifa-group-card__leader {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.fifa-group-card__pts {
  font-size: 0.78rem;
  color: var(--muted, #a3aec5);
}
.fifa-standings-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.fifa-standings-table th,
.fifa-standings-table td {
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  text-align: center;
}
.fifa-standings-table th:first-child,
.fifa-standings-table td:first-child { text-align: left; }
.fifa-standings-table tr.fifa-q1 { background: rgba(46, 160, 67, 0.12); }
.fifa-standings-table tr.fifa-q2 { background: rgba(46, 160, 67, 0.06); }
.fifa-standings-table tr.fifa-q3 { background: rgba(242, 185, 75, 0.08); }
.fifa-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted, #a3aec5);
  margin: 0.75rem 0 0;
}
.fifa-legend span::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.fifa-legend .q1::before { background: rgba(46, 160, 67, 0.55); }
.fifa-legend .q2::before { background: rgba(46, 160, 67, 0.3); }
.fifa-legend .q3::before { background: rgba(242, 185, 75, 0.45); }
.fifa-results-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.fifa-results-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.06));
  font-size: 0.88rem;
}
.fifa-bracket-note {
  font-size: 0.88rem;
  color: var(--muted, #a3aec5);
  margin: 0;
}
.fifa-bracket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.fifa-bracket-slot {
  border: 1px dashed var(--line, rgba(255, 255, 255, 0.15));
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.8rem;
  min-height: 2.5rem;
}
.fifa-awards-tabs { margin-bottom: 1rem; }
.fifa-awards-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fifa-awards-table th,
.fifa-awards-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  text-align: left;
}
.fifa-awards-table tr:first-child td { font-weight: 600; }
@media (max-width: 640px) {
  .fifa-standings-table { font-size: 0.78rem; }
  .fifa-standings-table th:nth-child(n+3):nth-child(-n+7),
  .fifa-standings-table td:nth-child(n+3):nth-child(-n+7) { display: none; }
}
