/* ═══════════════════════════════════════════════════════════════════════════
   ECEL LEAGUE CIRCUIT — Premium esports styling
   Used on: /leagues, /leagues/:slug, /leagues/:slug/standings
   Theme: respects --theme-primary / --theme-secondary / --theme-accent /
          --theme-bg-start / --theme-bg-mid / --theme-bg-end set on <body>
   Goal:  cinematic but readable — no scanlines, no busy patterns
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── BASE / SHARED ─────────────────────────────────────────────────────── */
.leagues-page,
.league-hub-page,
.league-standings-page {
    background:
        radial-gradient(ellipse 90% 50% at 15% -10%, var(--theme-glow1, rgba(224,38,49,0.18)) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 100% 110%, var(--theme-glow2, rgba(255, 106, 0,0.16)) 0%, transparent 55%),
        linear-gradient(180deg, var(--theme-bg-start, #0a0e16) 0%, var(--theme-bg-mid, #070a10) 50%, var(--theme-bg-end, #04060a) 100%);
    color: #e6ebf2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.leagues-page .footer,
.league-hub-page .footer,
.league-standings-page .footer {
    margin-top: auto;
}

/* ── /leagues LIST PAGE ────────────────────────────────────────────────── */
.leagues-hero {
    position: relative;
    padding: 6rem 1.5rem 3rem;
    overflow: hidden;
    isolation: isolate;
}

.leagues-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 106, 0, 0.18), transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 138, 51, 0.10), transparent 60%);
    pointer-events: none;
}

.leagues-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.leagues-hero-eyebrow {
    color: #ff6a00;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.leagues-hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    margin: 0 0 1rem;
}
.leagues-hero-title .hero-accent {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8a33 50%, #ff1f1f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(255, 106, 0, 0.35));
}

.leagues-hero-sub {
    color: rgba(230, 235, 242, 0.75);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.leagues-hero-tabs {
    display: inline-flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}
.leagues-tab {
    padding: 0.55rem 1.4rem;
    color: rgba(230, 235, 242, 0.7);
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
}
.leagues-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.leagues-tab.is-active {
    background: linear-gradient(135deg, #ff6a00, #cc5500);
    color: #0a0a0f;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35);
}

.leagues-main { padding: 0 1.5rem 4rem; }
.leagues-container { max-width: 1400px; margin: 0 auto; }

.leagues-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: rgba(230, 235, 242, 0.7);
}
.leagues-empty i { font-size: 3rem; color: rgba(255, 106, 0, 0.5); margin-bottom: 1rem; }
.leagues-empty h3 { color: #fff; font-size: 1.4rem; margin: 0.5rem 0; }
.leagues-empty p { margin-bottom: 1.5rem; }
.leagues-empty .btn-ghost,
.lh-empty .btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: rgba(255, 106, 0, 0.12);
    color: #ff6a00;
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
}
.leagues-empty .btn-ghost:hover,
.lh-empty .btn-ghost:hover {
    background: rgba(255, 106, 0, 0.22);
    border-color: rgba(255, 106, 0, 0.7);
}

/* ── League card on /leagues ───────────────────────────────────────────── */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.league-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.3) 100%),
        linear-gradient(160deg, color-mix(in srgb, var(--lc-primary, #3498db) 12%, #161a24) 0%, color-mix(in srgb, var(--lc-bg-a, #0a0e16) 95%, #000) 100%);
    border: 1px solid color-mix(in srgb, var(--lc-accent, #ff8a33) 28%, rgba(255, 255, 255, 0.12));
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    isolation: isolate;
    position: relative;
}
.league-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 50% at 100% 0%, color-mix(in srgb, var(--lc-accent, #ff8a33) 20%, transparent), transparent 60%);
    opacity: 0.7;
    z-index: 0;
}
.league-card > * { position: relative; z-index: 1; }
.league-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 28px color-mix(in srgb, var(--lc-primary, #3498db) 30%, transparent);
    border-color: color-mix(in srgb, var(--lc-accent, #ff8a33) 55%, white);
}

.league-card-banner {
    position: relative;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lc-primary, #3498db) 35%, #1a1f2a), color-mix(in srgb, var(--lc-secondary, #ff6a00) 25%, #0a0e16));
    overflow: hidden;
}
.league-card-banner img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.league-card:hover .league-card-banner img { transform: scale(1.05); }
.league-card-banner-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
}
.league-card-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
.league-card-featured {
    position: absolute;
    top: 0.7rem; left: 0.7rem;
    background: linear-gradient(135deg, #ff8a33, #cc5500);
    color: #0a0a0f;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.league-card-status {
    position: absolute;
    top: 0.7rem; right: 0.7rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: inline-flex; align-items: center; gap: 0.35rem;
}
.league-card-status--live      { background: linear-gradient(135deg, #ff1f1f, #c80000); border-color: rgba(255, 255, 255, 0.25); }
.league-card-status--reg       { background: linear-gradient(135deg, #22c55e, #15803d); border-color: rgba(255, 255, 255, 0.25); }
.league-card-status--announced { background: linear-gradient(135deg, #ff6a00, #cc5500); color: #0a0a0f; }
.league-card-status--completed { background: linear-gradient(135deg, #ff6a00, #cc5500); }
.league-card-status--cancelled,
.league-card-status--archived  { background: rgba(200, 0, 0, 0.6); }
.league-card-status--upcoming  { background: rgba(255, 106, 0, 0.5); }
.league-card-status--info,
.league-card-status--draft     { background: rgba(75, 85, 99, 0.6); }

.status-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: lc-pulse 1.6s infinite;
}
@keyframes lc-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.league-card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.league-card-titlewrap { display: flex; align-items: center; gap: 0.7rem; }
.league-card-logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid color-mix(in srgb, var(--lc-accent, #ff8a33) 40%, white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    flex: 0 0 auto;
}
.league-card-logo.placeholder { display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,0.4); font-size: 1.3rem; }
.league-card-title { color: #fff; font-size: 1.15rem; font-weight: 800; margin: 0; line-height: 1.1; }
.league-card-sub { color: color-mix(in srgb, var(--lc-accent, #ff8a33) 80%, white); font-size: 0.8rem; font-weight: 600; margin-top: 0.2rem; }

.league-card-tagline { color: rgba(230, 235, 242, 0.78); font-size: 0.9rem; line-height: 1.35; margin: 0; }

.league-card-stats {
    display: flex; gap: 1rem; flex-wrap: wrap;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.league-card-stat { flex: 1; min-width: 80px; }
.lc-stat-value { color: #fff; font-size: 1.05rem; font-weight: 800; line-height: 1; }
.lc-stat-label { color: rgba(230, 235, 242, 0.6); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; }

.league-card-cta {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 0.2rem;
}
.lc-cta-label { color: color-mix(in srgb, var(--lc-accent, #ff8a33) 90%, white); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; }
.league-card-cta i { color: color-mix(in srgb, var(--lc-accent, #ff8a33) 90%, white); transition: transform 0.2s ease; }
.league-card:hover .league-card-cta i { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════════════════
   /leagues/:slug — HUB PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.lh-hero {
    position: relative;
    min-height: 380px;
    padding: 7rem 1.5rem 2.5rem;
    overflow: hidden;
    isolation: isolate;
}
.lh-hero-banner {
    position: absolute; inset: 0;
    z-index: -2;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    filter: saturate(1.1) contrast(1.05);
}
.lh-hero-banner--gradient {
    background:
        radial-gradient(ellipse 60% 40% at 30% 30%, var(--theme-glow1) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 70% 70%, var(--theme-glow2) 0%, transparent 55%),
        linear-gradient(135deg, var(--theme-bg-start), var(--theme-bg-mid), var(--theme-bg-end));
}
.lh-hero-overlay {
    position: absolute; inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, transparent 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.85) 100%);
}
.lh-hero-container {
    max-width: 1300px;
    margin: 0 auto;
}
.lh-hero-meta {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.lh-hero-pill {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.lh-hero-pill--live      { background: linear-gradient(135deg, #ff1f1f, #c80000); border-color: rgba(255,255,255,.3); }
.lh-hero-pill--reg       { background: linear-gradient(135deg, #22c55e, #15803d); border-color: rgba(255,255,255,.3); }
.lh-hero-pill--announced { background: linear-gradient(135deg, #ff6a00, #cc5500); color: #0a0a0f; }
.lh-hero-pill--completed { background: linear-gradient(135deg, #ff6a00, #cc5500); }
.lh-hero-pill--featured  { background: linear-gradient(135deg, #ff8a33, #cc5500); color: #0a0a0f; }
.lh-hero-pill--ghost     { background: rgba(255, 255, 255, 0.08); }

.lh-hero-titlewrap {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.lh-hero-logo {
    width: 96px; height: 96px;
    border-radius: 18px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid color-mix(in srgb, var(--theme-accent) 50%, white);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.6),
        0 0 20px color-mix(in srgb, var(--theme-accent) 35%, transparent);
}
.lh-hero-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.01em;
}
.lh-hero-tagline {
    color: rgba(230, 235, 242, 0.85);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    margin: 0.5rem 0 0;
    max-width: 720px;
}

.lh-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
    margin: 1.5rem 0 1.5rem;
    max-width: 760px;
}
.lh-hero-stat {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.35));
    border: 1px solid color-mix(in srgb, var(--theme-accent) 30%, rgba(255,255,255,0.1));
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    backdrop-filter: blur(8px);
}
.lh-stat-value {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}
.lh-stat-label {
    color: rgba(230, 235, 242, 0.72);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
}
.lh-stat-note { color: var(--theme-accent); font-weight: 600; }
.lh-hero-stat--prize { border-color: color-mix(in srgb, var(--theme-accent) 60%, white); }
.lh-hero-stat--prize .lh-stat-value { color: var(--theme-accent); text-shadow: 0 0 14px color-mix(in srgb, var(--theme-accent) 45%, transparent); }

.lh-hero-actions {
    display: flex; gap: 0.8rem; flex-wrap: wrap;
}
.lh-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.lh-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.lh-btn-primary {
    background: linear-gradient(135deg, var(--theme-primary), color-mix(in srgb, var(--theme-primary) 60%, #000));
    color: #fff;
    border-color: color-mix(in srgb, var(--theme-accent) 50%, white);
    box-shadow:
        0 4px 14px color-mix(in srgb, var(--theme-primary) 40%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.15);
}
.lh-btn-ghost {
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

/* ── Main content ──────────────────────────────────────────────────────── */
.lh-main { flex: 1; padding: 2.5rem 1.5rem 4rem; }
.lh-container { max-width: 1300px; margin: 0 auto; }
.lh-container--narrow { max-width: 1100px; }

.lh-section { margin-bottom: 3rem; }
.lh-section-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.lh-section-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    display: inline-flex; align-items: center; gap: 0.6rem;
    letter-spacing: -0.01em;
}
.lh-section-title i { color: var(--theme-accent); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--theme-accent) 50%, transparent)); }
.lh-section-count {
    color: rgba(230, 235, 242, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.lh-section-link {
    color: var(--theme-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.35rem;
    transition: gap 0.2s ease;
}
.lh-section-link:hover { gap: 0.6rem; }

.lh-about {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.3));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem 1.8rem;
}
.lh-about-body p {
    color: rgba(230, 235, 242, 0.85);
    line-height: 1.65;
    margin: 0 0 0.8rem;
}
.lh-about-body p:last-child { margin-bottom: 0; }

.lh-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(230, 235, 242, 0.7);
}
.lh-empty i { font-size: 2.5rem; color: rgba(255, 255, 255, 0.2); margin-bottom: 1rem; }

/* ── QUALIFIER CARDS ──────────────────────────────────────────────────── */
.lh-qualifiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.2rem;
}

.lh-q-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.32) 100%),
        linear-gradient(160deg, color-mix(in srgb, var(--q-color, #3498db) 18%, #161a24) 0%, #0a0e16 100%);
    border: 1px solid color-mix(in srgb, var(--q-color, #3498db) 45%, rgba(255,255,255,0.15));
    border-left: 4px solid var(--q-color, #3498db);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    isolation: isolate;
}
.lh-q-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 50% at 100% 0%, color-mix(in srgb, var(--q-color, #3498db) 25%, transparent), transparent 70%);
    opacity: 0.6;
    z-index: 0;
}
.lh-q-card > * { position: relative; z-index: 1; }
.lh-q-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 18px color-mix(in srgb, var(--q-color, #3498db) 35%, transparent);
}

.lh-q-card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
}
.lh-q-region {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: rgba(230, 235, 242, 0.9);
    font-weight: 700;
}
.lh-q-flag {
    width: 28px; height: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.lh-q-region-code {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--q-color, #fff);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.lh-q-status {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.lh-q-status--live      { background: linear-gradient(135deg, #ff1f1f, #c80000); }
.lh-q-status--reg       { background: linear-gradient(135deg, #22c55e, #15803d); }
.lh-q-status--completed { background: linear-gradient(135deg, #ff6a00, #cc5500); }
.lh-q-status--cancelled { background: rgba(200, 0, 0, 0.7); }
.lh-q-status--upcoming  { background: rgba(255, 106, 0, 0.5); }
.lh-q-status--pending   { background: rgba(75, 85, 99, 0.6); }

.lh-q-body { padding: 1rem 1.1rem 0.4rem; flex: 1; }
.lh-q-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.7rem;
    line-height: 1.2;
}
.lh-q-tournament {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.5rem 0.7rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.8rem;
}
.lh-q-t-logo {
    width: 26px; height: 26px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}
.lh-q-t-name {
    color: rgba(230, 235, 242, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lh-q-empty-t {
    color: rgba(255, 31, 31, 0.85);
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.lh-q-meta {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.3rem;
}
.lh-q-meta li {
    color: rgba(230, 235, 242, 0.75);
    font-size: 0.8rem;
    display: inline-flex; align-items: center; gap: 0.45rem;
}
.lh-q-meta li i { color: var(--q-color, #ff8a33); width: 14px; }

.lh-q-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
    margin-top: 0.8rem;
    gap: 0.5rem;
}
.lh-q-cta {
    color: var(--q-color, #fff);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--q-color, #3498db) 45%, transparent);
    transition: all 0.15s ease;
}
.lh-q-cta:hover { background: color-mix(in srgb, var(--q-color, #3498db) 25%, rgba(0,0,0,0.5)); border-color: var(--q-color); }
.lh-q-link {
    color: rgba(230, 235, 242, 0.75);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.3rem;
    transition: color 0.15s ease;
}
.lh-q-link:hover { color: #fff; }

/* ── GLOBAL FINAL ─────────────────────────────────────────────────────── */
.lh-final-section .lh-section-title i { color: #ff8a33; }
.lh-final-card {
    background:
        linear-gradient(180deg, rgba(255, 209, 102, 0.10) 0%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(135deg, #1a1108 0%, #0a0a0f 100%);
    border: 1px solid rgba(255, 138, 51, 0.45);
    border-radius: 14px;
    padding: 1.5rem 1.8rem;
    position: relative;
    overflow: hidden;
}
.lh-final-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 40% at 100% 0%, rgba(255, 138, 51, 0.18), transparent 60%);
}
.lh-final-card > * { position: relative; }
.lh-final-info { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.lh-final-logo {
    width: 64px; height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: #000;
    border: 2px solid rgba(255, 138, 51, 0.55);
    box-shadow: 0 6px 18px rgba(255, 138, 51, 0.25);
}
.lh-final-name { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0; }
.lh-final-meta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    color: rgba(230, 235, 242, 0.8);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}
.lh-final-meta i { color: #ff8a33; margin-right: 0.3rem; }
.lh-final-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.lh-final-empty { color: rgba(230, 235, 242, 0.7); text-align: center; padding: 1.5rem; }
.lh-final-empty i { font-size: 2rem; color: rgba(255, 138, 51, 0.45); margin-bottom: 0.5rem; }

.lh-final-seeds {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 138, 51, 0.18);
}
.lh-final-seeds h4 { color: #ff8a33; font-size: 0.95rem; margin: 0 0 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }
.lh-seed-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.4rem; }
.lh-seed-item {
    padding: 0.5rem 0.7rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
}
.lh-seed-team { color: #fff; font-weight: 600; font-size: 0.85rem; }
.lh-seed-from { color: rgba(230, 235, 242, 0.65); font-size: 0.72rem; }

/* ── CIRCUIT RACE TABLE ───────────────────────────────────────────────── */
.lh-race {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.3)),
        linear-gradient(165deg, color-mix(in srgb, var(--theme-primary) 14%, #161a24) 0%, #0a0e16 100%);
    border: 1px solid color-mix(in srgb, var(--theme-accent) 35%, rgba(255,255,255,0.1));
    border-radius: 14px;
    padding: 1.2rem 1.4rem 1rem;
    overflow-x: auto;
}
.lh-race-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    min-width: 560px;
}
.lh-race-table thead th {
    text-align: left;
    color: var(--theme-accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 0.7rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35));
    border-bottom: 1px solid color-mix(in srgb, var(--theme-accent) 40%, transparent);
}
.lh-race-table tbody td {
    padding: 0.7rem 0.7rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(40,46,58,0.85), rgba(22,26,34,0.92));
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    vertical-align: middle;
    text-shadow: 0 1px 1px rgba(0,0,0,0.6);
}
.lh-race-table tbody td:first-child {
    border-left: 1px solid rgba(255,255,255,0.08);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.lh-race-table tbody td:last-child {
    border-right: 1px solid rgba(0,0,0,0.5);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.lh-race-rank { width: 52px; text-align: center; font-weight: 900; font-size: 1rem; color: rgba(255,255,255,0.85); }
.lh-race-team { display: flex; align-items: center; gap: 0.6rem; }
.lh-race-logo {
    width: 28px; height: 28px; border-radius: 6px; object-fit: cover;
    background: rgba(0,0,0,0.4);
    border: 1px solid color-mix(in srgb, var(--theme-accent) 55%, white);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 4px rgba(0,0,0,0.5);
}
.lh-race-name { color: #fff; font-weight: 700; }
.lh-race-played { text-align: center; color: rgba(255,255,255,0.78); font-weight: 600; }
.lh-race-points { text-align: right; }
.lh-race-points strong {
    color: var(--theme-accent);
    font-size: 1.1em;
    text-shadow: 0 0 10px color-mix(in srgb, var(--theme-accent) 60%, transparent), 0 1px 1px rgba(0,0,0,0.7);
}

/* Podium tints */
.lh-race-row--gold td {
    background: linear-gradient(180deg, rgba(255,209,102,0.32) 0%, rgba(184,123,8,0.28) 50%, rgba(80,50,4,0.55) 100%);
    border-top: 1px solid rgba(255,232,160,0.5);
    border-bottom: 1px solid rgba(80,50,4,0.7);
    box-shadow: inset 0 0 24px rgba(255,209,102,0.18);
}
.lh-race-row--silver td {
    background: linear-gradient(180deg, rgba(220,226,236,0.18) 0%, rgba(120,128,142,0.22) 50%, rgba(40,46,58,0.85) 100%);
    border-top: 1px solid rgba(220,226,236,0.35);
}
.lh-race-row--bronze td {
    background: linear-gradient(180deg, rgba(214,138,58,0.22) 0%, rgba(134,76,20,0.20) 50%, rgba(40,46,58,0.85) 100%);
    border-top: 1px solid rgba(214,138,58,0.4);
}

.lh-medal { font-size: 1.2rem; }
.lh-medal--gold   { color: #ffd166; filter: drop-shadow(0 0 8px rgba(255,209,102,0.6)); }
.lh-medal--silver { color: #e2e8f0; filter: drop-shadow(0 0 6px rgba(220,226,236,0.5)); }
.lh-medal--bronze { color: #d68a3a; filter: drop-shadow(0 0 6px rgba(214,138,58,0.5)); }

.lh-race-updated {
    color: rgba(230, 235, 242, 0.5);
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.6rem;
}

/* Standings full table — breakdown chips */
.lh-race-breakdown { padding: 0.5rem !important; }
.lh-pq-chip {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    margin: 0.15rem 0.2rem 0.15rem 0;
    color: rgba(230,235,242,0.85);
}
.lh-pq-label { color: var(--theme-accent); font-weight: 700; }
.lh-pq-place { color: rgba(230,235,242,0.7); }
.lh-pq-pts { color: #fff; font-weight: 700; }

/* ── REWARDS ──────────────────────────────────────────────────────────── */
.lh-rewards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.6rem;
}
.lh-reward {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.35));
    border: 1px solid color-mix(in srgb, var(--theme-accent) 30%, rgba(255,255,255,0.1));
    border-radius: 10px;
    padding: 0.7rem;
    text-align: center;
}
.lh-reward-place {
    color: var(--theme-accent);
    font-weight: 900;
    font-size: 1.1rem;
    text-shadow: 0 0 10px color-mix(in srgb, var(--theme-accent) 50%, transparent);
}
.lh-reward-points {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}
.lh-reward-label { color: rgba(230,235,242,0.7); font-size: 0.72rem; margin-top: 0.2rem; }
.lh-rewards-note {
    color: rgba(230,235,242,0.65);
    font-size: 0.82rem;
    margin: 1rem 0 0;
    font-style: italic;
}

/* ── /leagues/:slug/standings SUB-HERO ────────────────────────────────── */
.lh-sub-hero {
    padding: 6.5rem 1.5rem 2rem;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, var(--theme-glow1), transparent 60%);
}
.lh-sub-hero-container { max-width: 1100px; margin: 0 auto; }
.lh-breadcrumbs {
    color: rgba(230, 235, 242, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.lh-breadcrumbs a { color: rgba(230, 235, 242, 0.85); text-decoration: none; }
.lh-breadcrumbs a:hover { color: #fff; }
.lh-bc-sep { color: rgba(230, 235, 242, 0.4); }
.lh-bc-current { color: var(--theme-accent); font-weight: 600; }
.lh-sub-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin: 0 0 0.4rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
}
.lh-sub-title i { color: var(--theme-accent); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-accent) 50%, transparent)); }
.lh-sub-sub { color: rgba(230, 235, 242, 0.75); font-size: 1rem; margin: 0; }
.lh-sub-updated { color: rgba(230, 235, 242, 0.5); font-size: 0.8rem; margin-top: 0.6rem; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .lh-hero { padding-top: 6rem; min-height: 320px; }
    .lh-hero-titlewrap { gap: 0.8rem; }
    .lh-hero-logo { width: 72px; height: 72px; }
    .lh-qualifiers-grid { grid-template-columns: 1fr; }
    .lh-race-table { min-width: unset; font-size: 0.85rem; }
    .lh-race-breakdown { display: none; }
    .leagues-grid { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------------------------
   LEAGUE HUB � INTRO ANIMATION
   Cinematic ~2s overlay on first visit. Logo zoom + rings + light sweep +
   particles. Auto-dismisses, skip button always visible. Honors prefers-
   reduced-motion (no animation, immediate dismiss).
   --------------------------------------------------------------------------- */
.lh-intro {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, var(--theme-bg-mid, #070a10) 0%, var(--theme-bg-end, #02040a) 100%);
    opacity: 1;
    transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
.lh-intro.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }

.lh-intro-bg {
    position: absolute; inset: -10%;
    background:
        radial-gradient(ellipse 60% 40% at 30% 30%, var(--theme-glow1, rgba(255,60,60,0.55)) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 70%, var(--theme-glow2, rgba(255, 106, 0,0.45)) 0%, transparent 60%);
    filter: blur(20px);
    animation: lh-bg-pulse 4s ease-in-out infinite alternate;
}
@keyframes lh-bg-pulse {
    0%   { transform: scale(1)   rotate(0deg); opacity: 0.7; }
    100% { transform: scale(1.15) rotate(8deg); opacity: 1; }
}

.lh-intro-rays {
    position: absolute; inset: 0;
    background: conic-gradient(from 0deg at 50% 50%,
        transparent 0deg, var(--theme-accent, #ff8a33) 6deg, transparent 14deg,
        transparent 60deg, var(--theme-primary, #ff3c3c) 66deg, transparent 74deg,
        transparent 130deg, var(--theme-secondary, #ff6a00) 136deg, transparent 144deg,
        transparent 210deg, var(--theme-accent, #ff8a33) 216deg, transparent 224deg,
        transparent 290deg, var(--theme-primary, #ff3c3c) 296deg, transparent 304deg);
    opacity: 0;
    mix-blend-mode: screen;
    animation: lh-rays-spin 6s linear infinite, lh-rays-fade 2.2s ease-out 0.2s forwards;
    filter: blur(2px);
}
@keyframes lh-rays-spin { to { transform: rotate(360deg); } }
@keyframes lh-rays-fade {
    0%   { opacity: 0; }
    40%  { opacity: 0.35; }
    100% { opacity: 0.12; }
}

.lh-intro-particles { position: absolute; inset: 0; pointer-events: none; }
.lh-intro-particles span {
    position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
    background: var(--theme-accent, #ff8a33);
    box-shadow: 0 0 8px var(--theme-accent, #ff8a33), 0 0 14px var(--theme-primary, #ff3c3c);
    animation: lh-particle-rise 2.5s ease-out infinite;
    opacity: 0;
}
.lh-intro-particles span:nth-child(1)  { left:  8%; animation-delay: 0.00s; }
.lh-intro-particles span:nth-child(2)  { left: 18%; animation-delay: 0.20s; }
.lh-intro-particles span:nth-child(3)  { left: 28%; animation-delay: 0.45s; }
.lh-intro-particles span:nth-child(4)  { left: 38%; animation-delay: 0.10s; }
.lh-intro-particles span:nth-child(5)  { left: 48%; animation-delay: 0.30s; }
.lh-intro-particles span:nth-child(6)  { left: 58%; animation-delay: 0.55s; }
.lh-intro-particles span:nth-child(7)  { left: 68%; animation-delay: 0.05s; }
.lh-intro-particles span:nth-child(8)  { left: 78%; animation-delay: 0.40s; }
.lh-intro-particles span:nth-child(9)  { left: 88%; animation-delay: 0.25s; }
.lh-intro-particles span:nth-child(10) { left: 12%; animation-delay: 0.65s; }
.lh-intro-particles span:nth-child(11) { left: 32%; animation-delay: 0.80s; }
.lh-intro-particles span:nth-child(12) { left: 52%; animation-delay: 0.75s; }
.lh-intro-particles span:nth-child(13) { left: 72%; animation-delay: 0.95s; }
.lh-intro-particles span:nth-child(14) { left: 92%; animation-delay: 0.85s; }
.lh-intro-particles span:nth-child(15) { left: 42%; animation-delay: 1.10s; }
@keyframes lh-particle-rise {
    0%   { transform: translateY(0) scale(0.6);    opacity: 0;   }
    20%  { opacity: 1; }
    100% { transform: translateY(-110vh) scale(1); opacity: 0;   }
}

.lh-intro-stack {
    position: relative; z-index: 2;
    width: 280px; height: 280px;
    display: flex; align-items: center; justify-content: center;
}
.lh-intro-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--theme-primary, #ff3c3c);
    box-shadow: 0 0 40px var(--theme-primary, #ff3c3c), inset 0 0 30px var(--theme-primary, #ff3c3c);
    opacity: 0;
    animation: lh-ring-pop 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lh-intro-ring--2 {
    border-color: var(--theme-accent, #ff8a33);
    box-shadow: 0 0 30px var(--theme-accent, #ff8a33);
    animation-delay: 0.18s;
}
@keyframes lh-ring-pop {
    0%   { transform: scale(0.2); opacity: 0; }
    35%  { transform: scale(1.05); opacity: 0.95; }
    100% { transform: scale(2.4);  opacity: 0; }
}

.lh-intro-logo {
    position: relative; z-index: 2;
    width: 220px; height: 220px;
    object-fit: contain;
    border-radius: 50%;
    background: #000;
    padding: 10px;
    box-shadow:
        0 0 0 3px var(--theme-primary, #ff3c3c),
        0 0 50px var(--theme-primary, #ff3c3c),
        0 0 100px var(--theme-secondary, #ff6a00),
        inset 0 0 30px rgba(0,0,0,0.6);
    transform: scale(0.2) rotate(-90deg);
    opacity: 0;
    animation: lh-logo-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards,
               lh-logo-float 4s ease-in-out 1.6s infinite;
}
.lh-intro-logo--fallback {
    display: flex; align-items: center; justify-content: center;
    font-size: 100px; color: var(--theme-accent, #ff8a33);
}
@keyframes lh-logo-in {
    0%   { transform: scale(0.2) rotate(-90deg); opacity: 0; filter: blur(12px); }
    60%  { transform: scale(1.08) rotate(8deg);  opacity: 1; filter: blur(0); }
    100% { transform: scale(1)    rotate(0deg);  opacity: 1; filter: blur(0); }
}
@keyframes lh-logo-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-8px) scale(1.02); }
}

.lh-intro-shine {
    position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
    transform: translateX(-110%);
    animation: lh-shine 1.4s ease-out 0.95s forwards;
    z-index: 3;
}
@keyframes lh-shine {
    to { transform: translateX(110%); }
}

.lh-intro-titlewrap {
    position: relative; z-index: 2;
    margin-top: 2.5rem;
    text-align: center;
    max-width: min(720px, 90vw);
    opacity: 0;
    transform: translateY(20px);
    animation: lh-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}
.lh-intro-eyebrow {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-weight: 700; font-size: 0.9rem;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--theme-accent, #ff8a33);
    margin-bottom: 0.6rem;
    text-shadow: 0 0 14px var(--theme-accent, #ff8a33);
}
.lh-intro-title {
    font-family: 'Bebas Neue', 'Barlow', 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1; letter-spacing: 0.02em;
    color: #fff; margin: 0;
    background: linear-gradient(180deg, #fff 0%, #ffe9b5 60%, var(--theme-accent, #ff8a33) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 30px rgba(0,0,0,0.55);
}
.lh-intro-tagline {
    margin: 0.75rem 0 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: rgba(230, 235, 242, 0.88);
    letter-spacing: 0.02em;
}
@keyframes lh-title-in {
    to { opacity: 1; transform: translateY(0); }
}

.lh-intro-skip {
    position: absolute; bottom: 1.6rem; right: 1.6rem; z-index: 4;
    background: rgba(8, 12, 20, 0.6);
    color: rgba(230, 235, 242, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.85rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.lh-intro-skip:hover {
    background: var(--theme-primary, #ff3c3c);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Optional uploaded intro VIDEO (replaces CSS animation when present) ── */
.lh-intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    z-index: 2;
    pointer-events: none;
}
/* Tap-to-play CTA (visible only when autoplay is blocked) */
.lh-intro-playcta {
    position: absolute;
    inset: 0;
    margin: auto;
    width: max-content;
    height: max-content;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.1rem 1.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 2px solid var(--theme-primary, #ff3c3c);
    border-radius: 999px;
    font: 600 1rem/1 'Inter', sans-serif;
    cursor: pointer;
    z-index: 6;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
    transition: transform 0.18s ease, background 0.18s ease;
}
.lh-intro-playcta:hover { transform: scale(1.05); background: var(--theme-primary, #ff3c3c); }
.lh-intro-playcta i { font-size: 1.1rem; }

/* When an intro video is set, hide the CSS-only ornamental layers so the
   uploaded footage takes the spotlight. The skip button stays visible. */
.lh-intro--video .lh-intro-bg,
.lh-intro--video .lh-intro-rays,
.lh-intro--video .lh-intro-particles,
.lh-intro--video .lh-intro-stack,
.lh-intro--video .lh-intro-titlewrap { display: none !important; }
.lh-intro--video .lh-intro-skip { z-index: 5; }

/* When the intro is showing, the underlying page must stay scroll-locked */
body.lh-intro-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .lh-intro,
    .lh-intro-bg,
    .lh-intro-rays,
    .lh-intro-particles span,
    .lh-intro-ring,
    .lh-intro-logo,
    .lh-intro-shine,
    .lh-intro-titlewrap {
        animation: none !important;
        transition: none !important;
    }
    .lh-intro-logo  { opacity: 1; transform: none; }
    .lh-intro-titlewrap { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
    .lh-intro-stack { width: 200px; height: 200px; }
    .lh-intro-logo  { width: 160px; height: 160px; }
}
