.fr-standings-section {
  padding: 7rem 1.5rem 3rem;
  display: flex;
  justify-content: center;
  background: var(--black);
  font-family: var(--font-body);
}

.fr-st-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fr-st-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fr-st-header iconify-icon {
  font-size: 32px;
  color: var(--yellow);
}
.fr-st-header h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.fr-st-header p {
  font-size: 14px;
  color: rgba(244, 247, 242, 0.4);
  margin: 4px 0 0 0;
}

.fr-st-card {
  position: relative;
  background: rgba(20, 32, 26, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.06);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.fr-table-responsive {
  width: 100%;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
}

.fr-st-card:has(.fr-lb-empty:not([hidden])) .fr-table-responsive {
  display: none;
}

.fr-standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  color: var(--white);
}

.fr-standings-table th,
.fr-standings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(244, 247, 242, 0.05);
  vertical-align: middle;
}

.fr-standings-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(244, 247, 242, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fr-standings-table tbody tr {
  transition: background 0.2s ease;
}
.fr-standings-table tbody tr:hover {
  background: rgba(244, 247, 242, 0.02);
}

.font-data {
  font-family: var(--font-data);
  font-size: 15px;
}
.tx-center { text-align: center; }
.text-muted { color: rgba(244, 247, 242, 0.3); }
.text-muted-yellow {color: var(--green); font-weight: bold;}
.text-green { color: var(--green); }
.text-red { color: var(--red); }

.fr-table-team {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fr-t-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.fr-t-placeholder {
  width: 24px;
  height: 24px;
  background: rgba(244, 247, 242, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}
.fr-t-name {
  font-weight: 500;
  color: var(--white) !important;
  font-family: var(--font-data);
}

.th-pts, .td-pts {
  background: rgba(244, 247, 242, 0.02);
}
.td-pts {
  color: var(--yellow);
  font-weight: 700;
}

.zone-europe .rank-col span {
  border-left: 3px solid var(--yellow);
  padding-left: 8px;
}
.zone-relegation .rank-col span {
  border-left: 3px solid var(--red);
  padding-left: 8px;
}

.fr-st-legend {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  font-size: 12px;
  color: rgba(244, 247, 242, 0.5);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(244, 247, 242, 0.05);
}
.fr-st-legend .leg-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fr-st-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.fr-st-legend .dot.ucl { background: var(--yellow); }
.fr-st-legend .dot.drop { background: var(--red); }

.zone-ucl .rank-col span {
  border-left: 3px solid var(--blue);
  padding-left: 8px;
}
.zone-uel .rank-col span {
  border-left: 3px solid var(--yellow);
  padding-left: 8px;
}
.zone-uecl .rank-col span {
  border-left: 3px solid var(--green);
  padding-left: 8px;
}
.zone-relegation .rank-col span {
  border-left: 3px solid var(--red);
  padding-left: 8px;
}

.fr-st-legend .dot.ucl { background: var(--blue); }
.fr-st-legend .dot.uel { background: var(--yellow); }
.fr-st-legend .dot.uecl { background: var(--green); }
.fr-st-legend .dot.drop { background: var(--red); }

.fr-next-fixture-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.fr-next-opp-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.fr-next-opp-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.fr-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.fr-stat-card {
  background: rgba(20, 32, 26, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.05);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fr-stat-card:hover {
  background: rgba(20, 32, 26, 0.6);
  transform: translateY(-2px);
}

.fr-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.fr-stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.fr-stat-title {
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(244, 247, 242, 0.4);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fr-stat-value {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fr-stat-sub {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 500;
  color: var(--white) !important;
}

.fr-stat-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(244, 247, 242, 0.03);
  border: 1px solid rgba(244, 247, 242, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
  box-sizing: border-box;
}

.fr-stat-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fr-stat-ph { font-size: 22px; color: rgba(244,247,242,.2); }
.fr-stat-value.muted { color: rgba(244,247,242,.35); font-weight: 500; }

.fr-stat-card--wide { grid-column: span 2; }

.fr-bw-inline {
  font-family: var(--font-data);
  font-weight: 800;
  color: var(--yellow);
  margin: 0 4px;
}

.fr-st-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(244, 247, 242, 0.85);
  box-sizing: border-box;
}
.fr-st-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fr-cards-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.fr-card-half {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(244,247,242,.03);
  border: 1px solid rgba(244,247,242,.06);
}
.fr-card-chip {
  width: 13px; height: 18px; border-radius: 3px; flex-shrink: 0;
}
.fr-card-half.yellow .fr-card-chip { background: yellow }
.fr-card-half.red .fr-card-chip { background: var(--red); }
.fr-card-num {
  font-family: var(--font-data); font-weight: 800; font-size: 1.15rem;
  color: var(--white); line-height: 1;
}
.fr-card-lbl {
  font-family: var(--font-body); font-size: .75rem;
  color: rgba(244,247,242,.45);
}