/*
 * League section redesign (index, season, review queue, next season).
 * Generated from the prototypes in E:\Testing Layouts\league. Every class is prefixed lg-;
 * shared rules sit under .lg, page rules under .lg--<page>.
 */

.lg {
  --bg: #0f0f12;
  --card: #171718;
  --inner: #111112;
  --yellow: #FFDF00;
  --text: #f4f4f6;
  --muted: #a8a8ad;
  --dim: #6e6e74;
  --line: rgba(255, 255, 255, .08);
  --red: #ff4655;
  --red-soft: #ff7b86;
  --ease: cubic-bezier(.16, 1, .3, 1);
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 0 56px;
  color: var(--text);
  font-family: "Outfit", sans-serif;
}
.lg *, .lg *::before, .lg *::after { box-sizing: border-box; }
.lg button, .lg input, .lg select, .lg textarea { font-family: "Outfit", sans-serif; }
.lg [hidden] { display: none !important; }
.lg a { color: inherit; }
.lg h1, .lg h2, .lg h3, .lg h4, .lg p { margin: 0; color: inherit; }
.lg .lg-hero h1 { color: #fff; }

/* Entrance */
.lg .lg-hero h1, .lg .lg-hero p, .lg .lg-identity { animation: lg-in-left .8s var(--ease) both; }
.lg .lg-spotlight { animation: lg-in-right .9s var(--ease) .1s both; }
.lg [data-rise] { animation: lg-rise .6s var(--ease) both; animation-delay: calc(.1s + var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) { .lg *, .lg *::before, .lg *::after { animation: none !important; transition: none !important; } }

/* ---------- Shared ---------- */
.lg .lg-kicker { color: var(--yellow); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg .lg-muted { color: var(--muted); }
.lg .lg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.lg .lg-btn--primary { background: var(--yellow); color: #111; }
.lg .lg-btn--primary:hover { box-shadow: 0 10px 30px -8px rgba(255, 223, 0, .6); transform: translateY(-1px); }
.lg .lg-btn--soft { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-btn--soft:hover { background: rgba(255, 223, 0, .18); }
.lg .lg-btn--ghost { border-color: rgba(255, 255, 255, .1); background: #1d1d20; color: var(--text); }
.lg .lg-btn--ghost:hover { border-color: rgba(255, 223, 0, .5); color: var(--yellow); }
.lg .lg-btn--sm { min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: .8rem; }
.lg .lg-btn--block { width: 100%; }
.lg .lg-btn__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--yellow); color: #111; font-size: .72rem; font-weight: 900; }
.lg .lg-field { width: 100%; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: #09090a; color: var(--text); font-size: .9rem; font-weight: 600; color-scheme: dark; }
.lg .lg-field:focus { border-color: rgba(255, 223, 0, .6); outline: none; box-shadow: 0 0 0 3px rgba(255, 223, 0, .12); }
.lg label.lg-label { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg .lg-note { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 12px; color: var(--muted); font-size: .9rem; font-weight: 600; line-height: 1.45; }
.lg .lg-note > i { color: var(--yellow); font-size: 1.05rem; }
.lg .lg-note--danger { border-color: rgba(255, 70, 85, .4); border-style: solid; background: rgba(255, 70, 85, .06); color: var(--red-soft); }
.lg .lg-note--danger > i { color: var(--red); }
.lg .lg-note--ok { border-color: rgba(255, 223, 0, .4); border-style: solid; background: rgba(255, 223, 0, .06); color: var(--yellow); }
.lg .lg-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, .5); color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; backdrop-filter: blur(6px); }
.lg .lg-status--active { border-color: rgba(255, 70, 85, .55); color: #ff5a67; }
.lg .lg-status--active::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: lg-live 1.2s ease-in-out infinite; }
.lg .lg-status--completed { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-status--draft { border-style: dashed; color: var(--muted); }
.lg .lg-status--archived { color: rgba(255, 255, 255, .4); }
.lg .lg-status--needs_review { border-style: dashed; border-color: rgba(255, 223, 0, .55); color: var(--yellow); }
.lg .lg-status--disputed { border-color: rgba(255, 70, 85, .55); background: rgba(255, 70, 85, .08); color: var(--red-soft); }
@keyframes lg-live { 50% { opacity: .2; } }
.lg .lg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(17, 17, 18, .82); color: var(--muted); font-size: .62rem; font-weight: 900; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.lg .lg-chip--scheduled { border-color: rgba(255, 223, 0, .5); color: var(--yellow); }
.lg .lg-chip--proposed { border-style: dashed; border-color: rgba(255, 223, 0, .45); color: var(--yellow); }
.lg .lg-chip--played,
.lg .lg-chip--forfeit { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-chip--disputed { border-color: rgba(255, 70, 85, .55); color: var(--red-soft); }
.lg .lg-chip--cancelled { color: rgba(255, 255, 255, .35); text-decoration: line-through; }
.lg .lg-mark { display: inline-grid; flex: 0 0 auto; place-items: center; width: 26px; height: 26px; overflow: hidden; }
.lg .lg-mark img { width: 100%; height: 100%; object-fit: contain; }
.lg .lg-mark--fallback { border: 1px solid rgba(255, 213, 0, .2); border-radius: 7px; background: rgba(255, 213, 0, .055); color: #ffd500; font-size: .74rem; }
.lg .lg-mark--lg { width: 40px; height: 40px; }
.lg .lg-mark--lg.lg-mark--fallback { border-radius: 10px; font-size: 1.05rem; }
.lg .lg-hero { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; padding: 30px 32px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--inner); }
.lg .lg-hero__art { position: absolute; inset: -30px; z-index: -4; display: grid; grid-template-columns: repeat(4, 1fr); filter: blur(5px) saturate(.85); opacity: .26; transform: scale(1.05); }
.lg .lg-hero__art span { background: var(--art) center / cover no-repeat; }
.lg .lg-hero__wash { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 130% at 0% 30%, rgba(255, 223, 0, .18), transparent 60%), linear-gradient(180deg, rgba(17, 17, 18, .3), rgba(17, 17, 18, .94)); }
.lg .lg-hero__spot { position: absolute; inset: 0; z-index: -2; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 223, 0, .08), transparent 60%); pointer-events: none; }
.lg .lg-hero__ghost { position: absolute; left: -10px; bottom: -8px; z-index: -1; color: transparent; font-size: clamp(70px, 12vw, 160px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; animation: lg-ghost 34s linear infinite; }
@keyframes lg-ghost { to { transform: translateX(-15%); } }
.lg .lg-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.lg .lg-hero__grid--split { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: center; }
.lg .lg-hero h1 { margin: 8px 0 10px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.lg .lg-hero p { max-width: 560px; color: var(--muted); font-size: 1.02rem; font-weight: 500; line-height: 1.45; }
.lg .lg-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lg .lg-identity { display: flex; align-items: center; gap: 24px; min-width: 0; }
.lg .lg-identity__logo { display: grid; flex: 0 0 auto; place-items: center; width: 120px; height: 120px; border: 1px solid rgba(255, 223, 0, .4); border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .35)); box-shadow: 0 0 0 6px rgba(0, 0, 0, .25), 0 20px 50px -16px rgba(255, 223, 0, .35); }
.lg .lg-identity__logo img { width: 62%; height: 62%; object-fit: contain; }
.lg .lg-identity h1 { margin: 6px 0 12px; }
.lg .lg-identity__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.lg .lg-identity__meta > span:not(.lg-status) { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .35); color: var(--muted); font-size: .8rem; font-weight: 700; }
.lg .lg-identity__meta i { color: var(--yellow); }
.lg .lg-spotlight { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10, 10, 11, .55); backdrop-filter: blur(6px); text-align: center; }
.lg .lg-spotlight small { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lg .lg-spotlight__count { font-size: 2.4rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.lg .lg-spotlight__count span { color: var(--dim); font-size: 1rem; }
.lg .lg-spotlight__sub { color: var(--muted); font-size: .82rem; font-weight: 600; }
.lg .lg-spotlight__sub b { color: var(--text); }
.lg .lg-bar { height: 8px; overflow: hidden; border-radius: 99px; background: #222; }
.lg .lg-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 223, 0, .5), var(--yellow)); transition: width 1.2s var(--ease); }
.lg .lg-bar--sm { height: 5px; }
.lg .lg-champion { border-color: rgba(255, 223, 0, .5); background: radial-gradient(120% 100% at 50% 0%, rgba(255, 223, 0, .14), transparent 60%), rgba(10, 10, 11, .6); box-shadow: 0 24px 60px -34px rgba(255, 223, 0, .55); }
.lg .lg-champion__logo { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 10px auto 2px; }
.lg .lg-champion__logo img { width: 100%; height: 100%; object-fit: contain; }
.lg .lg-champion__logo.is-fallback { border: 1px solid rgba(255, 213, 0, .2); border-radius: 20px; background: rgba(255, 213, 0, .055); color: #ffd500; font-size: 2.2rem; }
.lg .lg-champion__crown { position: absolute; top: -16px; left: 50%; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: #111; font-size: .64rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.lg .lg-champion strong { font-size: 1.4rem; font-weight: 900; }
.lg .lg-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.lg .lg-fact { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(17, 17, 18, .7); }
.lg .lg-fact small { display: block; color: var(--dim); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg .lg-fact strong { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 900; }
.lg .lg-fact > i { color: var(--yellow); font-size: 1.2rem; opacity: .7; }
.lg .lg-fact a { text-decoration: none; }
.lg .lg-fact a:hover { color: var(--yellow); }
.lg .lg-tabs { position: sticky; top: 10px; z-index: 30; display: flex; gap: 6px; margin-top: 14px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: rgba(23, 23, 24, .88); backdrop-filter: blur(12px); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .8); }
.lg .lg-tabs a { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-weight: 800; text-decoration: none; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.lg .lg-tabs a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.lg .lg-tabs a.is-active { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-panel { margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); scroll-margin-top: 90px; }
.lg .lg-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lg .lg-panel__head h2 { margin-top: 2px; font-size: 1.3rem; font-weight: 900; }
.lg .lg-panel__head p { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.lg .lg-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--inner); color: var(--muted); font-size: .82rem; font-weight: 900; }
.lg .lg-count.is-hot { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-seg { display: inline-flex; flex-wrap: nowrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--inner); }
.lg .lg-seg button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: .85rem; font-weight: 800; white-space: nowrap; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.lg .lg-seg button:hover { color: var(--text); }
.lg .lg-seg button.is-on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-seg button span { color: var(--dim); font-size: .74rem; }
.lg .lg-seg button.is-on span { color: rgba(255, 223, 0, .7); }
.lg .lg-rail { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lg .lg-rail__track { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.lg .lg-rail__track::-webkit-scrollbar { display: none; }
.lg .lg-rail__btn { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--inner); color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease, opacity .2s ease; }
.lg .lg-rail__btn:hover:not(:disabled) { border-color: rgba(255, 223, 0, .45); color: var(--yellow); }
.lg .lg-rail__btn:disabled { opacity: .3; cursor: default; }
.lg .lg-standings { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.lg .lg-standings__scroll { overflow-x: auto; }
.lg .lg-standings table { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lg .lg-standings th { padding: 11px 10px; background: #151516; color: var(--dim); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.lg .lg-standings td { padding: 11px 10px; border-top: 1px solid rgba(255, 255, 255, .05); background: var(--inner); font-size: .9rem; font-weight: 700; text-align: center; transition: background .2s ease; }
.lg .lg-standings tbody tr:hover td { background: rgba(255, 223, 0, .04); }
.lg .lg-standings th:nth-child(2),
.lg .lg-standings td:nth-child(2) { text-align: left; }
.lg .lg-standings th:last-child,
.lg .lg-standings td:last-child { text-align: right; }
.lg .lg-standings td:first-child { width: 44px; color: var(--muted); font-weight: 900; }
.lg .lg-standings .lg-team { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.lg .lg-standings .lg-team:hover { color: var(--yellow); }
.lg .lg-standings .lg-pts { color: var(--yellow); font-weight: 900; }
.lg .lg-standings .lg-rd-pos { color: var(--text); }
.lg .lg-standings .lg-rd-neg { color: var(--dim); }
.lg .lg-standings tr.lg-zone--champion td:first-child,
.lg .lg-standings tr.lg-zone--promotion td:first-child { box-shadow: inset 3px 0 0 var(--yellow); color: var(--yellow); }
.lg .lg-standings tr.lg-zone--relegation td:first-child { box-shadow: inset 3px 0 0 var(--red); color: var(--red-soft); }
.lg .lg-standings tr.lg-zone--out td:first-child { box-shadow: inset 3px 0 0 rgba(255, 255, 255, .25); }
.lg .lg-standings tr.lg-zone--out .lg-team { color: var(--muted); }
.lg .lg-standings tr.is-you td { background: rgba(255, 223, 0, .05); }
.lg .lg-zone-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lg .lg-zone-badge--champion { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg .lg-zone-badge--promotion { border-color: rgba(255, 223, 0, .4); color: var(--yellow); }
.lg .lg-zone-badge--relegation { border-color: rgba(255, 70, 85, .45); color: var(--red-soft); }
.lg .lg-zone-badge--out { border-style: dashed; color: var(--dim); }
.lg .lg-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 11px 14px; border-top: 1px solid var(--line); background: #141415; color: var(--dim); font-size: .76rem; font-weight: 700; }
.lg .lg-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg .lg-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); }
.lg .lg-legend i.is-red { background: var(--red); }
.lg .lg-legend i.is-out { background: rgba(255, 255, 255, .25); }
.lg .lg-empty { display: grid; justify-items: center; gap: 8px; padding: 44px 20px; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 16px; background: var(--inner); text-align: center; }
.lg .lg-empty > i { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 4px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 16px; background: rgba(255, 223, 0, .06); color: var(--yellow); font-size: 1.5rem; }
.lg .lg-empty strong { font-size: 1.1rem; font-weight: 900; }
.lg .lg-empty span { color: var(--muted); font-size: .9rem; }
.lg .lg-empty--compact { padding: 26px 16px; }
.lg .lg-empty--compact > i { width: 44px; height: 44px; border-radius: 12px; font-size: 1.15rem; }
.lg .lg-messages { display: grid; gap: 8px; margin-top: 14px; }
@keyframes lg-in-left { from { opacity: 0; transform: translateX(-40px); } }
@keyframes lg-in-right { from { opacity: 0; transform: translateX(40px); } }
@keyframes lg-rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) {
.lg .lg-hero__grid--split { grid-template-columns: 1fr; }
.lg .lg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {

.lg .lg-hero { padding: 22px 16px; }
.lg .lg-hero__grid { grid-template-columns: 1fr; align-items: start; }
.lg .lg-identity { flex-direction: column; align-items: flex-start; gap: 16px; }
.lg .lg-identity__logo { width: 84px; height: 84px; border-radius: 18px; }
.lg .lg-panel { padding: 16px; }
.lg .lg-tabs { overflow-x: auto; scrollbar-width: none; }
.lg .lg-tabs a { flex: 0 0 auto; padding: 10px 14px; }
}

/* ---------- leagues.html ---------- */
.lg--index .lg-section { margin-top: 30px; }
.lg--index .lg-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 2px 14px; }
.lg--index .lg-section__head h2 { margin-top: 4px; font-size: 1.45rem; font-weight: 900; }
.lg--index .lg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lg--index .lg-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s ease; }
.lg--index .lg-card:hover { border-color: rgba(255, 223, 0, .4); transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(255, 223, 0, .5); }
.lg--index .lg-card--draft { border-style: dashed; }
.lg--index .lg-card__art { position: relative; isolation: isolate; height: 112px; overflow: hidden; }
.lg--index .lg-card__art::before { content: ""; position: absolute; inset: -10px; z-index: -2; background: var(--art) center / cover no-repeat; filter: blur(1.5px) saturate(.9); transition: transform .6s var(--ease); }
.lg--index .lg-card__art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 23, 24, .15), rgba(23, 23, 24, .96)); }
.lg--index .lg-card--completed .lg-card__art::before { filter: blur(1.5px) grayscale(.6); }
.lg--index .lg-card:hover .lg-card__art::before { transform: scale(1.06); }
.lg--index .lg-card__art .lg-status { position: absolute; top: 12px; left: 12px; }
.lg--index .lg-card__game { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .55); color: var(--text); font-size: .72rem; font-weight: 800; backdrop-filter: blur(6px); }
.lg--index .lg-card__game img { width: 16px; height: 16px; object-fit: contain; }
.lg--index .lg-card__body { position: relative; z-index: 1; display: grid; gap: 14px; padding: 0 18px 18px; margin-top: -34px; }
.lg--index .lg-card__identity { display: flex; align-items: flex-end; gap: 14px; }
.lg--index .lg-card__logo { flex: 0 0 auto; display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid rgba(255, 223, 0, .35); border-radius: 16px; background: linear-gradient(145deg, #1d1d20, #0e0e10); box-shadow: 0 0 0 5px var(--card); }
.lg--index .lg-card__logo img { width: 58%; height: 58%; object-fit: contain; }
.lg--index .lg-card h3 { margin: 0 0 6px; font-size: 1.18rem; font-weight: 900; line-height: 1.1; overflow-wrap: anywhere; }
.lg--index .lg-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lg--index .lg-card__chips span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--inner); color: var(--muted); font-size: .72rem; font-weight: 700; }
.lg--index .lg-card__chips i { color: var(--yellow); }
.lg--index .lg-card__facts { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.lg--index .lg-card__fact { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--inner); }
.lg--index .lg-card__fact small { color: var(--dim); font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg--index .lg-card__fact strong { font-size: .95rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.lg--index .lg-card__fact strong span { color: var(--dim); font-weight: 700; }
.lg--index .lg-card__fact .lg-bar { margin-top: 3px; }
.lg--index .lg-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 18px; border-top: 1px solid var(--line); background: #141415; }
.lg--index .lg-card__open { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: .86rem; font-weight: 900; text-decoration: none; transition: gap .25s var(--ease), color .2s ease; }
.lg--index .lg-card:hover .lg-card__open { gap: 10px; color: var(--yellow); }
.lg--index .lg-card__staff { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255, 223, 0, .5); border-radius: 8px; background: rgba(255, 223, 0, .1); color: var(--yellow); font-size: .76rem; font-weight: 900; text-decoration: none; }
.lg--index .lg-card__staff:hover { background: rgba(255, 223, 0, .2); }
.lg--index .lg-card__note { color: var(--dim); font-size: .8rem; font-weight: 700; }
@media (max-width: 1100px) {
.lg--index .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
.lg--index .lg-grid { grid-template-columns: 1fr; }
}

/* ---------- season.html ---------- */
.lg--season .lg-actionbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.lg--season .lg-actionbar__status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; }
.lg--season .lg-actionbar__status > i { color: var(--yellow); }
.lg--season .lg-actionbar__spacer { flex: 1; }
.lg--season .lg-season-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 18px; }
.lg--season .lg-season-grid > .lg-panel,
.lg--season .lg-side > .lg-panel { margin-top: 0; }
.lg--season .lg-side { display: grid; gap: 18px; }
.lg--season .lg-division-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 2px 12px; }
.lg--season .lg-division-title h3 { font-size: 1.1rem; font-weight: 900; }
.lg--season .lg-division-title small { color: var(--dim); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg--season .lg-division-title span { color: var(--muted); font-size: .84rem; font-weight: 700; }
.lg--season .lg-pager { display: inline-flex; align-items: center; gap: 6px; }
.lg--season .lg-pager b { min-width: 40px; color: var(--dim); font-size: .78rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.lg--season .lg-pager .lg-rail__btn { width: 30px; height: 30px; border-radius: 8px; }
.lg--season .lg-side-timer { height: 2px; margin: -6px 0 12px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .06); }
.lg--season .lg-side-timer i { display: block; width: 100%; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; animation: lg-sideTimer 7s linear forwards; }
.lg--season .lg-side:hover .lg-side-timer i,
.lg--season .lg-side:focus-within .lg-side-timer i { animation-play-state: paused; }
@keyframes lg-sideTimer { to { transform: scaleX(1); } }
.lg--season .lg-mini-list.is-swap { animation: lg-sideSwap .45s var(--ease); }
@keyframes lg-sideSwap { from { opacity: 0; transform: translateY(6px); } }
.lg--season .lg-mini-list { display: grid; gap: 10px; }
.lg--season .lg-seg--full { display: flex; margin-bottom: 14px; }
.lg--season .lg-seg--full button { flex: 1; justify-content: center; }
.lg--season .lg-mini__team { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.lg--season .lg-mini__team > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg--season .lg-mini__row small { flex: 0 0 auto; color: var(--muted); font-size: .76rem; font-weight: 700; }
.lg--season .lg-mini__row small i { color: var(--yellow); }
.lg--season a.lg-mini { color: inherit; text-decoration: none; }
.lg--season .lg-mini { display: grid; gap: 8px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--inner); transition: border-color .2s ease, background .2s ease; }
.lg--season .lg-mini:hover { border-color: rgba(255, 223, 0, .3); background: rgba(255, 223, 0, .03); }
.lg--season .lg-mini__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--dim); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg--season .lg-mini__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; font-weight: 800; }
.lg--season .lg-mini__row a { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
.lg--season .lg-mini__row a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg--season .lg-mini__row a:hover { color: var(--yellow); }
.lg--season .lg-mini__row b { flex: 0 0 auto; min-width: 26px; color: var(--muted); font-size: 1rem; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.lg--season .lg-mini__row.is-winner b { color: var(--yellow); }
.lg--season .lg-mini__row.is-loser a { color: var(--muted); }
.lg--season .lg-mini__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .05); color: var(--muted); font-size: .8rem; font-weight: 700; }
.lg--season .lg-mini__foot i { color: var(--yellow); }
.lg--season .lg-mini__foot em { color: var(--dim); font-style: normal; }
.lg--season .lg-link { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-size: .8rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.lg--season .lg-link:hover { color: var(--yellow); }
.lg--season .lg-st { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--inner); }
.lg--season .lg-st__scroll { overflow-x: auto; }
.lg--season .lg-st__body { min-width: 600px; }
.lg--season .lg-st__row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 42px 42px 42px 58px 140px 62px; align-items: center; gap: 0 6px; padding: 0 14px 0 12px; font-variant-numeric: tabular-nums; }
.lg--season .lg-st__row > span { text-align: center; }
.lg--season .lg-st__head { height: 40px; background: #151516; color: var(--dim); font-size: .64rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.lg--season .lg-st__head > span:nth-child(2) { text-align: left; }
.lg--season .lg-st__head .lg-st__wr-h { text-align: left; padding-left: 4px; }
.lg--season .lg-st__team-row { position: relative; height: 58px; border-top: 1px solid rgba(255, 255, 255, .045); font-size: .92rem; font-weight: 700; transition: background .2s ease; }
.lg--season .lg-st__team-row:hover { background: rgba(255, 255, 255, .025); }
.lg--season .lg-st__team-row.lg-zone--champion { background: linear-gradient(90deg, rgba(255, 223, 0, .1), rgba(255, 223, 0, 0) 55%); }
.lg--season .lg-st__team-row.lg-zone--promotion { background: linear-gradient(90deg, rgba(255, 223, 0, .055), rgba(255, 223, 0, 0) 45%); }
.lg--season .lg-st__team-row.lg-zone--relegation { background: linear-gradient(90deg, rgba(255, 70, 85, .07), rgba(255, 70, 85, 0) 45%); }
.lg--season .lg-st__pos { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .86rem; font-weight: 900; }
.lg--season .lg-zone--champion .lg-st__pos { border-color: var(--yellow); background: var(--yellow); color: #111; box-shadow: 0 0 18px -4px rgba(255, 223, 0, .6); }
.lg--season .lg-zone--promotion .lg-st__pos { border-color: rgba(255, 223, 0, .55); background: rgba(255, 223, 0, .14); color: var(--yellow); }
.lg--season .lg-zone--relegation .lg-st__pos { border-color: rgba(255, 70, 85, .5); background: rgba(255, 70, 85, .12); color: var(--red-soft); }
.lg--season .lg-zone--out .lg-st__pos { border-style: dashed; border-color: rgba(255, 255, 255, .25); color: var(--dim); }
.lg--season .lg-st__team { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: .95rem; font-weight: 800; text-decoration: none; }
.lg--season .lg-st__team > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg--season .lg-st__team:hover { color: var(--yellow); }
.lg--season .lg-st__team .lg-mark { width: 32px; height: 32px; }
.lg--season .lg-st__team .lg-mark--fallback { border-radius: 8px; font-size: .85rem; }
.lg--season .lg-st__team .bi-trophy-fill { flex: 0 0 auto; color: var(--yellow); font-size: .8rem; }
.lg--season .lg-zone--out .lg-st__team { color: var(--muted); }
.lg--season .lg-st__w { color: var(--text); }
.lg--season .lg-st__l,
.lg--season .lg-st__p { color: var(--muted); }
.lg--season .lg-st__rd.is-pos { color: var(--text); }
.lg--season .lg-st__rd.is-neg { color: var(--red-soft); opacity: .8; }
.lg--season .lg-st__rd.is-zero { color: var(--dim); }
.lg--season .lg-st__wr { display: flex; align-items: center; gap: 10px; padding-left: 4px; }
.lg--season .lg-st__wr i { position: relative; flex: 1; height: 5px; overflow: hidden; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.lg--season .lg-st__wr i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, rgba(255, 223, 0, .55), var(--yellow)); }
.lg--season .lg-st__wr b { min-width: 34px; color: var(--muted); font-size: .78rem; font-weight: 800; text-align: right; }
.lg--season .lg-st__pts { font-size: 1.12rem; font-weight: 900; }
.lg--season .lg-zone--champion .lg-st__pts { color: var(--yellow); }
.lg--season .lg-st__line { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 14px; border-top: 1px solid rgba(255, 255, 255, .045); background: #0d0d0e; font-size: .6rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lg--season .lg-st__line::before,
.lg--season .lg-st__line::after { content: ""; flex: 1; border-top: 1px dashed currentColor; opacity: .45; }
.lg--season .lg-st__line--promotion { color: var(--yellow); }
.lg--season .lg-st__line--relegation { color: var(--red-soft); }
.lg--season .lg-st__line--out { color: var(--dim); }
.lg--season .lg-st__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 11px 14px; border-top: 1px solid var(--line); background: #141415; color: var(--dim); font-size: .74rem; font-weight: 700; }
.lg--season .lg-st__foot > span { display: inline-flex; align-items: center; gap: 7px; }
.lg--season .lg-st__foot .lg-sw { width: 12px; height: 12px; border: 1px solid; border-radius: 4px; }
.lg--season .lg-st__foot .lg-sw--champion { border-color: var(--yellow); background: var(--yellow); }
.lg--season .lg-st__foot .lg-sw--promotion { border-color: rgba(255, 223, 0, .55); background: rgba(255, 223, 0, .14); }
.lg--season .lg-st__foot .lg-sw--relegation { border-color: rgba(255, 70, 85, .5); background: rgba(255, 70, 85, .12); }
.lg--season .lg-st__foot .lg-sw--out { border-style: dashed; border-color: rgba(255, 255, 255, .3); }
.lg--season .lg-st__foot .lg-st__key { margin-left: auto; letter-spacing: .02em; }
.lg--season .lg-st__foot .lg-st__key b { color: var(--muted); font-weight: 900; }
.lg--season .lg-fx-tools { display: grid; gap: 12px; margin-bottom: 18px; }
.lg--season .lg-weeks .lg-rail__track button { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--inner); color: var(--muted); font-size: .84rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.lg--season .lg-weeks .lg-rail__track button:hover { color: var(--text); }
.lg--season .lg-weeks .lg-rail__track button.is-on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg--season .lg-weeks .lg-rail__track button i { margin-left: 4px; color: var(--yellow); font-size: .7rem; }
.lg--season .lg-week { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 28px 0; }
.lg--season .lg-week:first-of-type { padding-top: 6px; }
.lg--season .lg-week:last-child { padding-bottom: 0; }
.lg--season .lg-week::after { content: ""; position: absolute; top: 34px; bottom: 0; left: 5px; width: 1px; background: rgba(255, 255, 255, .1); }
.lg--season .lg-week:first-of-type::after { top: 12px; }
.lg--season .lg-week:last-child::after { display: none; }
.lg--season .lg-week__rail { position: sticky; top: 90px; align-self: start; display: grid; gap: 6px; padding-left: 26px; }
.lg--season .lg-week__rail::before { content: ""; position: absolute; top: 9px; left: 0; width: 9px; height: 9px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: var(--card); }
.lg--season .lg-week.is-done .lg-week__rail::before { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 223, 0, .12); }
.lg--season .lg-week.is-now .lg-week__rail::before { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 223, 0, .12); }
.lg--season .lg-week__rail .lg-kicker { line-height: 1; }
.lg--season .lg-week__num { font-size: 2.6rem; font-weight: 900; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lg--season .lg-week:not(.is-done):not(.is-now) .lg-week__num { color: rgba(255, 255, 255, .45); }
.lg--season .lg-week__date { color: var(--muted); font-size: .8rem; font-weight: 800; }
.lg--season .lg-week__state { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: .74rem; font-weight: 800; }
.lg--season .lg-week.is-done .lg-week__state { color: var(--yellow); }
.lg--season .lg-week__rail .lg-bar { margin-top: 2px; }
.lg--season .lg-week__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; }
.lg--season .lg-week__grid[style*="--cols:4"] .lg-fx__team { gap: 9px; font-size: .92rem; }
.lg--season .lg-fx { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--inner); transition: border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease; }
.lg--season .lg-fx:hover { border-color: rgba(255, 223, 0, .35); transform: translateY(-2px); box-shadow: 0 24px 40px -30px rgba(255, 223, 0, .45); }
.lg--season .lg-fx--disputed { border-color: rgba(255, 70, 85, .35); }
.lg--season .lg-fx--disputed::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--red); }
.lg--season .lg-week:nth-of-type(even) .lg-fx { border-style: dashed; border-color: rgba(255, 255, 255, .16); }
.lg--season .lg-week:nth-of-type(even) .lg-fx--disputed { border-color: rgba(255, 70, 85, .45); }
.lg--season .lg-week:nth-of-type(even) .lg-fx:hover { border-color: rgba(255, 223, 0, .6); }
.lg--season .lg-fx__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px 0; }
.lg--season .lg-fx__time { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lg--season .lg-fx__time i { font-size: .8rem; }
.lg--season .lg-fx--scheduled .lg-fx__time { color: var(--yellow); }
.lg--season .lg-fx__rows { display: grid; gap: 2px; padding: 10px 8px; }
.lg--season .lg-fx__row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 8px 7px 10px; border-radius: 10px; }
.lg--season .lg-fx__row.is-win { background: linear-gradient(90deg, rgba(255, 223, 0, .09), rgba(255, 223, 0, 0) 70%); box-shadow: inset 2px 0 0 var(--yellow); }
.lg--season .lg-fx__team { display: flex; flex: 1; align-items: center; gap: 11px; min-width: 0; font-weight: 800; text-decoration: none; }
.lg--season .lg-fx__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg--season .lg-fx__team:hover { color: var(--yellow); }
.lg--season .lg-fx__row.is-loss .lg-fx__team { color: var(--muted); }
.lg--season .lg-fx__row.is-loss .lg-mark img { opacity: .5; }
.lg--season .lg-fx__pts { min-width: 30px; font-size: 1.3rem; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.lg--season .lg-fx__row.is-win .lg-fx__pts { color: var(--yellow); }
.lg--season .lg-fx__row.is-loss .lg-fx__pts { color: var(--dim); }
.lg--season .lg-fx__pts--none { color: rgba(255, 255, 255, .2); font-size: 1rem; }
.lg--season .lg-fx__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .05); color: var(--muted); font-size: .78rem; font-weight: 900; text-decoration: none; transition: color .2s ease, background .2s ease; }
.lg--season .lg-fx__foot i { transition: transform .25s var(--ease); }
.lg--season .lg-fx:hover a.lg-fx__foot { color: var(--yellow); background: rgba(255, 223, 0, .04); }
.lg--season .lg-fx:hover a.lg-fx__foot i { transform: translateX(3px); }
.lg--season span.lg-fx__foot { color: var(--dim); font-weight: 700; }
@media (max-width: 1100px) {
.lg--season .lg-season-grid { grid-template-columns: 1fr; }
.lg--season .lg-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg--season .lg-week__grid { --cols: 2 !important; }
}
@media (max-width: 760px) {
.lg--season .lg-side { grid-template-columns: 1fr; }
.lg--season .lg-week { grid-template-columns: 1fr; gap: 12px; }
.lg--season .lg-week__rail { position: static; grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 10px; }
.lg--season .lg-week__rail .lg-kicker,
.lg--season .lg-week__rail .lg-bar { display: none; }
.lg--season .lg-week__num { font-size: 1.6rem; }
.lg--season .lg-week__grid { --cols: 1 !important; }
.lg--season .lg-panel__head { flex-wrap: wrap; }
.lg--season .lg-st__body { min-width: 0; }
.lg--season .lg-st__row { grid-template-columns: 42px minmax(0, 1fr) 34px 34px 46px 44px; padding: 0 10px; }
.lg--season .lg-st__row > :nth-child(3),
.lg--season .lg-st__row > :nth-child(7) { display: none; }
.lg--season .lg-st__foot .lg-st__key { margin-left: 0; }
}

/* ---------- review-queue.html ---------- */
.lg--review .lg-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-weight: 800; text-decoration: none; }
.lg--review .lg-back:hover { color: var(--yellow); }
.lg--review .lg-counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 380px; }
.lg--review .lg-counter { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 10, 11, .55); backdrop-filter: blur(6px); text-decoration: none; transition: border-color .2s ease; }
.lg--review .lg-counter:hover { border-color: rgba(255, 223, 0, .4); }
.lg--review .lg-counter strong { font-size: 2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.lg--review .lg-counter span { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg--review .lg-counter.is-hot strong { color: var(--yellow); }
.lg--review .lg-counter.is-danger strong { color: var(--red-soft); }
.lg--review .lg-queue { display: grid; gap: 10px; }
.lg--review .lg-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--inner); transition: border-color .2s ease, background .2s ease; }
.lg--review .lg-item:hover { border-color: rgba(255, 223, 0, .3); background: rgba(255, 223, 0, .03); }
.lg--review .lg-item--disputed { box-shadow: inset 3px 0 0 var(--red); }
.lg--review .lg-item--needs_review { box-shadow: inset 3px 0 0 var(--yellow); }
.lg--review .lg-item__teams { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.lg--review .lg-item__teams a { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-weight: 800; text-decoration: none; }
.lg--review .lg-item__teams a:hover { color: var(--yellow); }
.lg--review .lg-item__teams em { color: var(--yellow); font-size: .8rem; font-style: italic; font-weight: 900; }
.lg--review .lg-item__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.lg--review .lg-item__meta i { color: var(--yellow); }
@media (max-width: 900px) {
.lg--review .lg-counters { min-width: 0; }
.lg--review .lg-item { grid-template-columns: 1fr; gap: 10px; }
.lg--review .lg-item .lg-btn { justify-self: start; }
}

/* ---------- next-season.html ---------- */
.lg--next .lg-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-weight: 800; text-decoration: none; }
.lg--next .lg-back:hover { color: var(--yellow); }
.lg--next .lg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; margin-top: 18px; }
.lg--next .lg-layout > .lg-panel,
.lg--next .lg-side > .lg-panel { margin-top: 0; }
.lg--next .lg-side { position: sticky; top: 16px; display: grid; gap: 18px; }
.lg--next .lg-division + .lg-division { margin-top: 22px; }
.lg--next .lg-division__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 12px; }
.lg--next .lg-division__head small { color: var(--dim); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lg--next .lg-division__head h3 { font-size: 1.1rem; font-weight: 900; }
.lg--next .lg-slots { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px dashed rgba(255, 223, 0, .45); border-radius: 8px; color: var(--yellow); font-size: .76rem; font-weight: 800; }
.lg--next .lg-moves { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.lg--next .lg-move { display: grid; grid-template-columns: 44px minmax(0, 1fr) 70px 230px; align-items: center; gap: 12px; padding: 11px 14px; background: var(--inner); transition: background .2s ease; }
.lg--next .lg-move + .lg-move { border-top: 1px solid rgba(255, 255, 255, .05); }
.lg--next .lg-move:hover { background: rgba(255, 223, 0, .04); }
.lg--next .lg-move__pos { color: var(--muted); font-weight: 900; font-variant-numeric: tabular-nums; }
.lg--next .lg-move .lg-team { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; text-decoration: none; }
.lg--next .lg-move .lg-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg--next .lg-move .lg-team:hover { color: var(--yellow); }
.lg--next .lg-move__pts { color: var(--yellow); font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.lg--next .lg-move__to { display: inline-flex; align-items: center; justify-self: end; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .8rem; font-weight: 800; white-space: nowrap; }
.lg--next .lg-move--promoted { box-shadow: inset 3px 0 0 var(--yellow); }
.lg--next .lg-move--promoted .lg-move__pos { color: var(--yellow); }
.lg--next .lg-move--promoted .lg-move__to { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg--next .lg-move--champion { box-shadow: inset 3px 0 0 var(--yellow); }
.lg--next .lg-move--champion .lg-move__pos { color: var(--yellow); }
.lg--next .lg-move--champion .lg-move__to { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--yellow); }
.lg--next .lg-move--relegated { box-shadow: inset 3px 0 0 var(--red); }
.lg--next .lg-move--relegated .lg-move__pos { color: var(--red-soft); }
.lg--next .lg-move--relegated .lg-move__to { border-color: rgba(255, 70, 85, .45); color: var(--red-soft); }
.lg--next .lg-move--out_of_league { box-shadow: inset 3px 0 0 rgba(255, 255, 255, .25); }
.lg--next .lg-move--out_of_league .lg-team { color: var(--muted); }
.lg--next .lg-move--out_of_league .lg-move__to { border-style: dashed; color: var(--dim); }
.lg--next .lg-form { display: grid; gap: 8px; }
.lg--next .lg-form label { margin-top: 6px; }
.lg--next .lg-form label:first-child { margin-top: 0; }
.lg--next .lg-form .lg-btn { margin-top: 12px; }
.lg--next .lg-form small { color: var(--dim); font-size: .76rem; font-weight: 600; }
.lg--next .lg-rules { display: grid; gap: 8px; }
.lg--next .lg-rule { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--inner); color: var(--muted); font-size: .88rem; font-weight: 600; line-height: 1.4; }
.lg--next .lg-rule i { margin-top: 1px; color: var(--yellow); }
.lg--next .lg-rule i.is-red { color: var(--red); }
.lg--next .lg-rule i.is-out { color: var(--dim); }
@media (max-width: 1100px) {
.lg--next .lg-layout { grid-template-columns: 1fr; }
.lg--next .lg-side { position: static; }
}
@media (max-width: 680px) {
.lg--next .lg-move { grid-template-columns: 34px minmax(0, 1fr) auto; }
.lg--next .lg-move__to { grid-column: 2 / -1; justify-self: start; }
}

/* ---------- Site offsets (fixed navbar) ---------- */
.lg .lg-tabs { top: 84px; }
.lg .lg-panel { scroll-margin-top: 150px; }
.lg--season .lg-week__rail { top: 150px; }
@media (min-width: 1101px) { .lg--next .lg-side { top: 84px; } }
.lg .lg-champion strong a { text-decoration: none; }
.lg .lg-champion strong a:hover { color: var(--yellow); }
/* Django form widgets (gh-input) inside League forms get the field look */
.lg .lg-form input:not([type="checkbox"]):not([type="radio"]), .lg .lg-form select, .lg .lg-form textarea { width: 100%; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: #09090a; color: var(--text); font-size: .9rem; font-weight: 600; color-scheme: dark; }
.lg .lg-form input:focus, .lg .lg-form select:focus, .lg .lg-form textarea:focus { border-color: rgba(255, 223, 0, .6); outline: none; box-shadow: 0 0 0 3px rgba(255, 223, 0, .12); }
.lg .lg-form__error { color: var(--red-soft) !important; font-weight: 700 !important; }
/* Movement tags size to their text (real division names are long) */
@media (min-width: 681px) { .lg--next .lg-move { grid-template-columns: 44px minmax(0, 1fr) 70px auto; } }
/* League match page (uses the .mdv tournament match styles; only the League-only bits live here) */
.mdv--league .mdv-score-inputs { display: grid; gap: 8px; }
.mdv--league .mdv-btn--locked, .mdv--league .mdv-btn--locked:disabled { cursor: not-allowed; opacity: .55; }
.lg--season .lg-mini__top > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

