/* LSL50 Nivel C — público premium (posiciones / líderes / calendario) */

/* ── Standings panel ── */
.lsl-standings-panel {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(10, 37, 72, 0.55), rgba(8, 12, 20, 0.92));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.lsl-standings-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #d7a72f, #f5d78a 45%, transparent 85%);
}

.lsl-standings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lsl-standings-head .lsl-brand-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--lsl-brand-gold, #d7a72f);
}

.lsl-standings-head h2 {
  margin: 0;
  font-family: var(--lsl-font-display, "Oswald", sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

.lsl-standings-link {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lsl-brand-gold, #d7a72f);
  text-decoration: none;
}

.lsl-standings-link:hover {
  color: #f5d78a;
}

.lsl-standings-table {
  width: 100%;
  border-collapse: collapse;
}

.lsl-standings-table th,
.lsl-standings-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.lsl-standings-table thead th {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.28);
}

.lsl-standings-table tbody tr:hover td {
  background: rgba(215, 167, 47, 0.06);
}

.lsl-standings-table tbody tr:last-child td {
  border-bottom: 0;
}

.lsl-standings-pos {
  font-family: var(--lsl-font-display, "Oswald", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.lsl-team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lsl-team-cell img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a2548;
}

.lsl-team-cell strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.lsl-num-win { color: #34d399; font-weight: 800; }
.lsl-num-loss { color: #f87171; font-weight: 700; }
.lsl-num-pct {
  color: var(--lsl-brand-gold, #d7a72f);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
}
.lsl-num-streak { font-weight: 800; color: #fff; }
.lsl-num-muted { color: rgba(255, 255, 255, 0.45); font-size: 12px; font-weight: 700; }

.lsl-standings-panel.is-compact .lsl-standings-head {
  padding: 14px 16px 12px;
}

.lsl-standings-panel.is-compact .lsl-standings-table th,
.lsl-standings-panel.is-compact .lsl-standings-table td {
  padding: 10px 12px;
}

/* ── Rule notes (brand, not blue alert) ── */
.lsl-rule-note--brand,
.lsl-rule-note.lsl-rule-note--brand {
  margin: 12px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(215, 167, 47, 0.22);
  background: rgba(215, 167, 47, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

/* ── Department / leader boards ── */
.lsl-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lsl-dept-card {
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.95), rgba(8, 12, 20, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  position: relative;
}

.lsl-dept-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #d7a72f, transparent 70%);
}

.lsl-dept-head {
  padding: 14px 16px;
  font-family: var(--lsl-font-display, "Oswald", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 37, 72, 0.45);
}

.lsl-dept-head span {
  color: rgba(215, 167, 47, 0.85);
  font-weight: 600;
}

.lsl-dept-body {
  padding: 6px;
}

.lsl-rank-row {
  display: grid;
  grid-template-columns: 28px 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.lsl-rank-row:hover {
  background: rgba(215, 167, 47, 0.07);
}

.lsl-rank-num {
  font-family: var(--lsl-font-display, "Oswald", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.lsl-rank-row:nth-child(1) .lsl-rank-num { color: #f5d78a; }
.lsl-rank-row:nth-child(2) .lsl-rank-num { color: #cbd5e1; }
.lsl-rank-row:nth-child(3) .lsl-rank-num { color: #d97706; }

.lsl-rank-meta {
  min-width: 0;
}

.lsl-rank-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.lsl-rank-team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.lsl-rank-val {
  font-family: var(--lsl-font-display, "Oswald", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lsl-brand-gold, #d7a72f);
  font-variant-numeric: tabular-nums;
}

/* Feature heroes */
.lsl-feature-hero--photo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(215, 167, 47, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(215, 167, 47, 0.16), transparent 42%),
    linear-gradient(135deg, #0a2548, #08101c 60%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.lsl-feature-hero--photo .lsl-feature-name {
  font-family: var(--lsl-font-display, "Oswald", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Calendar / panel shell */
.lsl-panel-shell {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 37, 72, 0.4), rgba(8, 12, 20, 0.95));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  padding: 16px 18px 18px;
  position: relative;
}

.lsl-panel-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #d7a72f, transparent 75%);
}

@media (max-width: 1100px) {
  .lsl-dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .lsl-standings-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .lsl-dept-grid {
    grid-template-columns: 1fr;
  }
  .lsl-feature-hero--photo {
    grid-template-columns: 1fr;
  }
}
