/* Premier League standings — Display layer. */

.st-hero {
  padding: 48px var(--margin) 24px;
}

.st-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flash-red);
  margin-bottom: 8px;
}

.st-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--margin);
  overflow-x: auto;
}

.st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.st-table th {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  padding: 10px 8px;
  border-bottom: 1px solid var(--outline-variant);
}

.st-table th.st-club,
.st-table td.st-club {
  text-align: left;
}

.st-table td {
  text-align: center;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(95, 62, 58, 0.45);
  white-space: nowrap;
}

.st-pos {
  width: 2.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.st-club {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 11rem;
}

.st-club img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.st-club b {
  font-weight: 700;
  font-size: 14px;
}

.st-pts {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.st-form-h {
  text-align: right;
}

.st-form {
  text-align: right;
}

.st-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.st-dot.W { background: var(--flash-gradient); color: #fff; }
.st-dot.D { border: 1px solid var(--outline); color: var(--on-surface); }
.st-dot.L { border: 1px solid var(--flash-red); color: var(--flash-red); }

.st-row.zone-ucl td.st-pos { box-shadow: inset 3px 0 0 #5b8def; }
.st-row.zone-uel td.st-pos { box-shadow: inset 3px 0 0 #f5a623; }
.st-row.zone-rel td.st-pos { box-shadow: inset 3px 0 0 var(--flash-red); }

.st-row.is-ars {
  background: rgba(239, 1, 7, 0.08);
}

.st-row:hover {
  background: rgba(239, 1, 7, 0.06);
}

.st-legend {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px var(--margin) 72px;
  color: var(--on-surface-variant);
  font-size: 12px;
  line-height: 1.5;
}

.st-key {
  display: inline-block;
  margin: 0 16px 10px 0;
  padding-left: 10px;
  border-left: 3px solid transparent;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.st-key.zone-ucl { border-left-color: #5b8def; }
.st-key.zone-uel { border-left-color: #f5a623; }
.st-key.zone-rel { border-left-color: var(--flash-red); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .st-hide-sm { display: none; }
  .st-club { min-width: 8rem; }
  .st-club b { font-size: 13px; }
  .st-dot { width: 18px; height: 18px; font-size: 9px; margin-left: 2px; }
}
