/* Y7 — Model Prestige League */

.sl-pl-rail {
  margin: 16px 4px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background:
    radial-gradient(900px 140px at 10% 0%, rgba(251, 191, 36, 0.14), transparent 55%),
    radial-gradient(700px 120px at 90% 100%, rgba(244, 63, 94, 0.1), transparent 50%),
    linear-gradient(180deg, #120c08, #0a0a0a);
  color: #f4f4f5;
}

.sl-pl-rail-head,
.sl-pl-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.sl-pl-rail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sl-pl-rail-title > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sl-pl-rail-title strong,
.sl-pl-page-head h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
}

.sl-pl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #1a1204;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  font-size: 18px;
  flex: none;
}

.sl-pl-meta {
  font-size: 12px;
  color: #d4b483;
  font-weight: 600;
}

.sl-pl-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #1a1204;
  text-decoration: none;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.sl-pl-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.sl-pl-competitor {
  flex: 0 0 auto;
  width: 96px;
  scroll-snap-align: start;
}

.sl-pl-competitor a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #f4f4f5;
}

.sl-pl-avatar {
  position: relative;
  width: 56px;
  height: 56px;
}

.sl-pl-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.45);
  background: #1f2937;
}

.sl-pl-rank {
  position: absolute;
  left: -4px;
  top: -4px;
  z-index: 2;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: #334155;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sl-pl-rank--gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #1a1204; }
.sl-pl-rank--silver { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #0f172a; }
.sl-pl-rank--bronze { background: linear-gradient(135deg, #fdba74, #c2410c); color: #1a1204; }

.sl-pl-live {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0a0a0a;
}

.sl-pl-name {
  font-size: 12px;
  font-weight: 700;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.sl-pl-score {
  font-size: 11px;
  color: #fde68a;
  font-weight: 700;
}

.sl-pl-empty,
.sl-pl-rail-foot {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 10px;
}

.sl-pl-rail-foot a { color: #fde68a; }

/* Public boards page */
.sl-pl-page {
  max-width: 1100px;
  margin: 24px auto 48px;
  padding: 0 16px;
  color: #e5e7eb;
}

.sl-pl-hero {
  padding: 28px 22px;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background:
    radial-gradient(800px 180px at 20% 0%, rgba(251, 191, 36, 0.18), transparent 55%),
    linear-gradient(165deg, #1a140c, #0b1020);
  margin-bottom: 20px;
}

.sl-pl-hero h1 {
  margin: 8px 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
}

.sl-pl-hero p { color: #cbd5e1; line-height: 1.55; max-width: 52ch; }

.sl-pl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.sl-pl-tabs a {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: #e2e8f0;
  border: 1px solid #334155;
  background: #0f172a;
}

.sl-pl-tabs a.is-active {
  color: #111;
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
  border-color: transparent;
}

.sl-pl-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
  align-items: end;
}

.sl-pl-podium-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.9);
  padding: 16px 12px;
  text-align: center;
}

.sl-pl-podium-card.is-first { transform: translateY(-10px); border-color: rgba(251, 191, 36, 0.45); }
.sl-pl-podium-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(251, 191, 36, 0.5);
}
.sl-pl-podium-card a { color: inherit; text-decoration: none; }
.sl-pl-podium-card .sl-pl-name { max-width: none; font-size: 14px; }

.sl-pl-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sl-pl-table th,
.sl-pl-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sl-pl-table th { color: #94a3b8; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.sl-pl-table a { color: #f8fafc; text-decoration: none; font-weight: 700; }

.sl-pl-model-card {
  max-width: 820px;
  margin: 24px auto 40px;
  padding: 0 16px;
  color: #e5e7eb;
}

.sl-pl-panel {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .sl-pl-podium { grid-template-columns: 1fr; }
  .sl-pl-podium-card.is-first { transform: none; }
}
