/* ============================================================
   MIRAI Pro — публичные страницы лиги (расписание, таблица, матч, команда).
   Токены и .mp-* берём из landing.css (грузится первым).
   ============================================================ */

.lg-main { position: relative; z-index: 1; }
.lg-shell { max-width: 1000px; margin: 0 auto; padding: 40px 24px 90px; }
.lg-shell--narrow { max-width: 760px; }

.lg-head { margin-bottom: 30px; }
.lg-title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 60px); line-height: 1; }
.lg-section { margin-top: 38px; }
.lg-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.lg-muted { color: var(--muted); }
.lg-empty { padding: 30px; text-align: center; color: var(--muted); border-radius: 16px; }
.lg-empty a { color: var(--accent-bright); }
.lg-back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 14px; transition: color 0.2s ease; }
.lg-back:hover { color: var(--accent-bright); }

/* ─── Карточки матчей ─────────────────────────────────────── */
.lg-matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lg-match { display: block; padding: 18px 20px; border-radius: 16px; transition: transform 0.2s ease, border-color 0.2s ease; }
.lg-match:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.lg-match-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.lg-match-type { letter-spacing: 0.04em; text-transform: uppercase; }
.lg-live { color: #fff; background: var(--accent); padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 11px; letter-spacing: 0.08em; animation: lg-pulse 1.6s ease-in-out infinite; }
@keyframes lg-pulse { 50% { opacity: 0.55; } }
.lg-match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.lg-team { font-weight: 600; font-size: 16px; }
.lg-team--b { text-align: right; }
.lg-team.is-win { color: var(--accent-bright); }
.lg-score { font-family: var(--display); font-size: 20px; color: var(--muted); white-space: nowrap; }
.lg-match-meta { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

/* ─── Таблица команд ──────────────────────────────────────── */
.lg-table-wrap { overflow-x: auto; border-radius: 16px; padding: 6px; }
.lg-standings, .lg-maps { width: 100%; border-collapse: collapse; }
.lg-standings th, .lg-maps th { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--border); }
.lg-standings td, .lg-maps td { text-align: center; padding: 13px 10px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.lg-standings tr:last-child td, .lg-maps tr:last-child td { border-bottom: none; }
.lg-standings th:nth-child(2), .lg-tname { text-align: left; }
.lg-tname a { font-weight: 600; }
.lg-tname a:hover { color: var(--accent-bright); }
.lg-rank { font-family: var(--display); color: var(--accent); font-size: 16px; }
.lg-pts { font-weight: 700; color: var(--accent-bright); }
.lg-standings tr.is-lead { background: rgba(245,0,125,0.06); }

/* ─── Селектор сезона ─────────────────────────────────────── */
.lg-season-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lg-pill { font-size: 13px; padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border-strong); color: var(--muted); transition: all 0.18s ease; }
.lg-pill:hover { color: var(--text); border-color: rgba(255,255,255,0.32); }
.lg-pill.is-active { background: var(--accent-soft); border-color: rgba(245,0,125,0.4); color: var(--accent-bright); }

/* ─── Страница матча ──────────────────────────────────────── */
.lg-matchhero { padding: 30px 28px; border-radius: 20px; text-align: center; }
.lg-mh-meta { display: flex; justify-content: center; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.lg-mh-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.lg-mh-team { font-family: var(--display); font-size: clamp(20px, 4vw, 34px); }
.lg-mh-team:first-child { text-align: right; }
.lg-mh-team:last-child { text-align: left; }
.lg-mh-team.is-win { color: var(--accent-bright); }
.lg-mh-num { font-family: var(--display); font-size: clamp(28px, 6vw, 52px); color: #fff; white-space: nowrap; }
.lg-mh-tournament { margin-top: 18px; color: var(--muted); font-size: 14px; }
.lg-maps .lg-win { color: var(--accent-bright); font-weight: 700; }

/* ─── Составы ─────────────────────────────────────────────── */
.lg-rosters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lg-rosters { grid-template-columns: 1fr; } }
.lg-roster { padding: 22px 24px; border-radius: 16px; }
.lg-roster-team { font-family: var(--display); font-weight: 400; font-size: 20px; margin-bottom: 14px; }
.lg-roster ul { list-style: none; display: grid; gap: 10px; }
.lg-roster li { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.lg-roster li:last-child { border-bottom: none; padding-bottom: 0; }
.lg-roster a:hover { color: var(--accent-bright); }

/* ─── Страница команды ────────────────────────────────────── */
.lg-teamhero { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 20px; margin-bottom: 8px; }
.lg-team-logo { width: 76px; height: 76px; border-radius: 18px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, rgba(245,0,125,0.55), rgba(123,60,220,0.5)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
.lg-team-logo::after { content: attr(data-initials); font-family: var(--display); font-size: 26px; color: #fff; }
.lg-team-name { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 40px); line-height: 1; }

/* Активный пункт навигации */
.mp-nav-links a.is-active { color: var(--text); }
.mp-nav-links a.is-active::after { width: 100%; }
