/* Championnat — mobile standings (premium) */
/* Hero: uses shared .m-page-hero from shell.css */

.div-club-card {
  margin-bottom: 14px;
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.16) 0%,
    rgba(30, 41, 59, 0.45) 100%
  );
}

.div-club-card-main {
  margin-top: 4px;
}

.div-club-card-meta {
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #bfdbfe;
}

.div-standings {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.div-head,
.div-row {
  display: grid;
  grid-template-columns:
    28px
    minmax(0, 1.35fr)
    22px 22px 22px
    26px 26px
    34px
    34px;
  align-items: center;
  gap: 4px;
  padding: 8px 8px;
}

.div-head {
  padding: 0 8px 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-muted);
}

.div-row {
  margin: 0;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--m-border);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.div-row--top {
  box-shadow: inset 3px 0 0 rgba(34, 197, 94, 0.75);
}

.div-row--bottom {
  box-shadow: inset 3px 0 0 rgba(239, 68, 68, 0.7);
}

.div-row--user {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(30, 41, 59, 0.5) 100%
  );
}

.div-pos {
  text-align: center;
  font-family: var(--m-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
}

.div-club {
  min-width: 0;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.div-head .div-club {
  font-weight: 700;
}

.div-club .club-fiche-link {
  display: block;
  min-height: 32px;
  padding: 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.div-stat,
.div-diff,
.div-pts {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--m-muted);
}

.div-row .div-stat,
.div-row .div-diff {
  color: #cbd5e1;
  font-weight: 600;
}

.div-pts {
  text-align: right;
  font-family: var(--m-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--m-gold);
}

.div-head .div-pts {
  color: var(--m-muted);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
}

.div-row .div-diff {
  font-weight: 700;
  font-size: 0.7rem;
}

.div-season-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
  padding-top: 8px;
}

.div-season-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-muted);
}

.div-season-select {
  width: auto;
  min-width: 120px;
  max-width: 160px;
  padding: 8px 10px;
  font-size: 0.85rem;
}

/* Popup d’aide Championnat (ⓘ) — réutilise .pe-stade-info-* via stade.css */
.m-division-title-row {
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.m-division-title-row .m-page-title {
  margin: 0;
}

.pe-stade-info-table--primes-saison thead th:nth-child(1),
.pe-stade-info-table--primes-saison tbody td:nth-child(1) {
  width: 44%;
}

.pe-stade-info-table--primes-saison thead th:nth-child(2),
.pe-stade-info-table--primes-saison tbody td:nth-child(2) {
  width: 56%;
}

.pe-stade-info-table--primes-saison thead th:nth-child(2),
.pe-stade-info-table--primes-saison .pe-primes-saison-montant {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pe-primes-saison-montant {
  color: #e2e8f0;
  font-weight: 600;
}
