.intro { padding-block: 40px 20px; }
.eyebrow { color: var(--gold); letter-spacing: .22em; font-size: .75rem; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 6px; text-wrap: balance; }
h1 b { font-weight: 700; color: var(--gold); }
.date { color: var(--muted); margin: 0; }

.leagues { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px 28px; }
.chip {
  font: inherit; font-size: .9rem; color: var(--fg); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: #04121f; border-color: var(--gold); font-weight: 600; }

.layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; padding-bottom: 64px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.panel-title { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin: 0 0 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-title small { color: var(--muted); font-family: var(--font-body); font-size: .8rem; font-weight: 400; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab { font: inherit; color: var(--muted); background: none; border: 0; padding: 10px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }

.matches { display: grid; gap: 10px; }
.group-label { color: var(--gold-soft); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin: 14px 0 2px; display: flex; align-items: center; gap: 8px; }
.group-label img { width: 18px; height: 18px; object-fit: contain; }
.match {
  display: grid; grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 14px 16px; background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 12px;
  transition: background .15s, border-color .15s;
}
.match:hover { background: var(--surface-hi); border-color: var(--line); }
.team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; }
.team span { overflow-wrap: anywhere; line-height: 1.25; }
.team img { width: 32px; height: 32px; object-fit: contain; flex: none; }
.team.away { flex-direction: row-reverse; text-align: right; }
.mid { text-align: center; }
.score { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.kick { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sub { display: block; font-size: .72rem; color: var(--muted); }
.pill { display: inline-block; font-size: .68rem; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-soft); margin-top: 2px; }
.pill.live { color: #fff; background: var(--live); border-color: var(--live); }
@media (max-width: 520px) {
  .match { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); padding: 12px 10px; gap: 6px; }
  .team { flex-direction: column; text-align: center; font-size: .85rem; gap: 4px; }
  .team.away { flex-direction: column; text-align: center; }
}

.board { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.table th { color: var(--muted); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 4px; text-align: center; }
.table td { padding: 9px 4px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); }
.table th:nth-child(2), .table td:nth-child(2) { text-align: left; }
.table td.pts { font-weight: 700; color: var(--gold); }
.table td.rank { width: 30px; box-shadow: inset 3px 0 0 var(--zone, transparent); }
.tname { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tname img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.tname span { overflow-wrap: anywhere; line-height: 1.2; }
.zone-up { --zone: var(--gold); }
.zone-eu { --zone: var(--blue); }
.zone-down { --zone: var(--live); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .75rem; padding: 12px 4px 4px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 520px) { .hide-sm { display: none; } }

.state { padding: 28px 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.state button { margin-top: 12px; }
.skeleton { height: 66px; border-radius: 12px; background: linear-gradient(90deg, var(--surface), var(--surface-hi), var(--surface)); background-size: 200% 100%; animation: sh 1.4s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

