/**
 * Landing v3 — public event detail (cup / meetup / class of team)
 * Matches latest-events section: dark glass, lime accent, visible wallpaper
 */

/* Native scroll on event detail — global smooth scroll causes sticky wheel feel */
body.landing-event-detail {
    scroll-behavior: auto;
    overflow-x: clip;
}

body.landing-event-detail .landing-v2-topbar {
    /* Lighter blur on fixed topbar while scrolling long pages */
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}

/* ── Page shell ───────────────────────────────────────────── */
.led-page {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #020617 0%, #0f172a 45%, #1e293b 78%, #1a2e05 100%);
    color: #e2e8f0;
    overflow-x: clip;
    isolation: isolate;
}

/* Wallpaper — fixed so it does not repaint on every scroll frame */
.led-wallpaper {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
}

.led-wallpaper-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.44;
    filter: grayscale(85%) contrast(1.15) brightness(0.55) saturate(0.15);
    transform: translateZ(0);
}

.led-wallpaper-scrim {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(2, 6, 23, 0.62) 0%,
        rgba(15, 23, 42, 0.58) 45%,
        rgba(30, 41, 59, 0.52) 78%,
        rgba(26, 46, 5, 0.58) 100%
    );
    transform: translateZ(0);
}

.led-glow {
    position: fixed;
    z-index: 2;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    transform: translateZ(0);
    will-change: auto;
}

.led-glow-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: 8%;
    background: rgba(132, 204, 22, 0.12);
}

.led-glow-2 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: 4%;
    background: rgba(132, 204, 22, 0.07);
}

.led-inner {
    position: relative;
    z-index: 3;
    padding: 5.5rem 1rem 3.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .led-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ── Back link ──────────────────────────────────────────── */
.led-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    transition: color 0.15s;
    text-decoration: none;
}

.led-back:hover {
    color: #c4e538;
}

/* ── Hero ───────────────────────────────────────────────── */
.led-hero-shell {
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(165deg, rgba(26, 31, 40, 0.94) 0%, rgba(18, 22, 30, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.led-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .led-hero {
        flex-direction: row;
        align-items: center;
    }
}

.led-hero-media {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(196, 229, 56, 0.35);
    background: linear-gradient(160deg, #0f172a 0%, #334155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.led-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.led-hero-media i {
    font-size: 2rem;
    color: #c4e538;
}

.led-hero-body {
    min-width: 0;
    flex: 1;
}

.led-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(196, 229, 56, 0.12);
    color: #c4e538;
    border: 1px solid rgba(196, 229, 56, 0.28);
    margin-bottom: 0.5rem;
}

.led-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin: 0 0 0.65rem;
    line-height: 1.1;
}

.led-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.68);
}

.led-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.led-meta i {
    color: rgba(196, 229, 56, 0.75);
    font-size: 0.75rem;
}

.led-status {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.led-status--open { background: rgba(34, 197, 94, 0.18); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.led-status--ongoing { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.led-status--done { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.25); }
.led-status--upcoming { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }

/* ── Tabs ───────────────────────────────────────────────── */
.led-tabs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    margin-bottom: 1rem;
    padding: 0.35rem;
    border-radius: 0.85rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.led-tabs::-webkit-scrollbar {
    display: none;
}

.led-tab-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.52);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.led-tab-count {
    font-size: 0.68rem;
    opacity: 0.8;
}

.led-tab-btn:hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
}

.led-tab-btn.is-active,
.led-tab-btn[aria-selected="true"] {
    color: #0b0f14;
    background: linear-gradient(135deg, #c4e538 0%, #a6ff00 100%);
    border-color: rgba(196, 229, 56, 0.5);
    box-shadow: 0 4px 14px rgba(196, 229, 56, 0.25);
}

/* ── Panels ─────────────────────────────────────────────── */
.led-panel {
    display: none;
}

.led-panel.is-active {
    display: block;
}

/* Horizontal table scroll — don't steal vertical wheel scroll */
.led-page .overflow-x-auto,
.led-page .led-inset-card-body {
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
}

.led-panel-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.led-panel-stack--gap > * + * {
    margin-top: 0;
}

/* ── Cards (info / overview) ────────────────────────────── */
.led-card {
    border-radius: 1.1rem;
    background: linear-gradient(165deg, rgba(26, 31, 40, 0.96) 0%, rgba(18, 22, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
}

.led-card + .led-card {
    margin-top: 1rem;
}

.led-panel-stack .led-card + .led-card {
    margin-top: 0;
}

.led-card h3 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(196, 229, 56, 0.75);
    margin: 0 0 0.75rem;
}

.led-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 1rem;
}

.led-dl {
    display: grid;
    gap: 0.55rem;
}

.led-dl-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.led-dl-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.led-dl-row dt {
    color: rgba(255, 255, 255, 0.42);
}

.led-dl-row dd {
    font-weight: 600;
    color: #f1f5f9;
    text-align: right;
}

.led-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.led-chip {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(196, 229, 56, 0.08);
    border: 1px solid rgba(196, 229, 56, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.led-participant-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.led-participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    color: #e2e8f0;
}

.led-pair-block {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.led-pair-block:last-child {
    border-bottom: none;
}

.led-pair-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c4e538;
    margin-bottom: 0.25rem;
}

/* ── Class of Team — teams & pairs (public overview) ───── */
.led-cot-teams-card h3 {
    margin-bottom: 1rem;
}

.led-cot-teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 0.85rem;
}

.led-cot-team {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem;
    border-radius: 0.85rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.led-cot-team--a {
    border-color: rgba(196, 229, 56, 0.18);
    background: linear-gradient(165deg, rgba(196, 229, 56, 0.06) 0%, rgba(0, 0, 0, 0.28) 55%);
}

.led-cot-team--b {
    border-color: rgba(251, 191, 36, 0.16);
    background: linear-gradient(165deg, rgba(251, 191, 36, 0.05) 0%, rgba(0, 0, 0, 0.28) 55%);
}

.led-cot-team__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.led-cot-team__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.led-cot-team--a .led-cot-team__icon {
    color: #c4e538;
    background: rgba(196, 229, 56, 0.1);
    border: 1px solid rgba(196, 229, 56, 0.22);
}

.led-cot-team--b .led-cot-team__icon {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.led-cot-team__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.led-cot-team__side {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.led-cot-team__name {
    margin: 0;
    font-family: 'Oswald', 'Impact', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #f8fafc;
    line-height: 1.1;
}

.led-cot-team__count {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.led-cot-team__empty {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.led-cot-pairs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.led-cot-pair {
    padding: 0.6rem 0.65rem;
    border-radius: 0.6rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.led-cot-pair--incomplete {
    border-color: rgba(251, 191, 36, 0.22);
}

.led-cot-pair__label {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(196, 229, 56, 0.85);
    margin-bottom: 0.45rem;
}

.led-cot-team--b .led-cot-pair__label {
    color: rgba(251, 191, 36, 0.9);
}

.led-cot-pair__players {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.led-cot-player {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.led-cot-player__avatar {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid rgba(196, 229, 56, 0.22);
    font-size: 0.58rem;
    font-weight: 800;
    color: #c4e538;
}

.led-cot-team--b .led-cot-player__avatar {
    border-color: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.led-cot-player__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.led-cot-player__name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.led-cot-pair__amp {
    flex-shrink: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 520px) {
    .led-cot-teams {
        grid-template-columns: 1fr;
    }

    .led-cot-pair__players {
        flex-wrap: wrap;
    }

    .led-cot-pair__amp {
        display: none;
    }

    .led-cot-player {
        flex: 1 1 calc(50% - 0.25rem);
    }
}

/* ── CTA ────────────────────────────────────────────────── */
.led-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.led-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c4e538 0%, #a6ff00 100%);
    color: #0b0f14;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid rgba(196, 229, 56, 0.4);
}

.led-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(196, 229, 56, 0.3);
    color: #0b0f14;
}

.led-cta .text-sm {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ── Empty state ────────────────────────────────────────── */
.led-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.875rem;
    border-radius: 1.1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ── Data panels (schedule / standings / groups) ────────── */
.led-inset-card {
    border-radius: 1.1rem;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(26, 31, 40, 0.92) 0%, rgba(18, 22, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.led-inset-card-head {
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(18, 47, 50, 0.95) 0%, rgba(80, 110, 30, 0.85) 55%, rgba(120, 150, 50, 0.35) 100%);
}

.led-inset-card-head h3 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.led-inset-card-head h3 i {
    color: #c4e538;
}

.led-inset-head-meta {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.led-inset-card-body {
    padding: 0.85rem 1rem 1rem;
}

.led-inset-card-footer {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.led-inset-card-footer h4 {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(196, 229, 56, 0.8);
}

.led-inset-note,
.led-inset-footnote {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

.led-inset-footnote {
    margin: 0.85rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.led-standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
}

.led-standings-legend strong {
    color: #c4e538;
}

/* ── Tables ─────────────────────────────────────────────── */
.led-data-table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.led-data-table thead {
    background: rgba(0, 0, 0, 0.28);
}

.led-data-table th,
.led-data-table td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    color: #e2e8f0;
}

.led-data-table th {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
}

.led-data-table tbody tr:hover td {
    background: rgba(196, 229, 56, 0.04);
}

.led-data-table tbody tr.is-qualified {
    background: rgba(74, 222, 128, 0.06);
}

.led-data-table .text-green-700,
.led-data-table .text-green-600 { color: #4ade80 !important; }
.led-data-table .text-red-600 { color: #f87171 !important; }
.led-data-table .text-gray-400,
.led-data-table .text-gray-500 { color: rgba(255, 255, 255, 0.4) !important; }

.led-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.led-badge--qualified {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

/* ── Group match cards ──────────────────────────────────── */
.led-round-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(196, 229, 56, 0.75);
    margin-bottom: 0.45rem;
}

.led-match-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.55rem;
}

@media (min-width: 768px) {
    .led-match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .led-match-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.led-match-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.65rem;
    padding: 0.65rem 0.75rem;
    background: rgba(0, 0, 0, 0.22);
}

.led-match-card.is-completed {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.22);
}

.led-match-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f1f5f9;
}

.led-match-score {
    flex-shrink: 0;
    font-weight: 800;
    color: #c4e538;
}

.led-match-vs {
    flex-shrink: 0;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);
}

.led-match-date {
    margin-top: 0.35rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Knockout bracket ───────────────────────────────────── */
.led-bracket-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.75rem;
    min-width: min-content;
}

.led-bracket-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.led-bracket-round {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c4e538;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.led-bracket-matches {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Knockout readonly cards — dark theme override */
.led-page .cup-public-match-card {
    background: linear-gradient(165deg, rgba(30, 36, 48, 0.95) 0%, rgba(20, 24, 32, 0.98) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    max-width: 280px;
    width: 100%;
}

.led-page .cup-public-match-card > div:first-child {
    background: rgba(0, 0, 0, 0.3) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.led-page .cup-public-match-card .divide-y > div {
    color: #f1f5f9 !important;
}

.led-page .cup-public-match-card .font-semibold {
    color: #f8fafc !important;
}

.led-page .cup-public-match-card .bg-green-50 {
    background: rgba(74, 222, 128, 0.12) !important;
}

.led-page .cup-public-match-card > div:last-child {
    background: rgba(0, 0, 0, 0.25) !important;
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.led-page .cup-public-match-card .text-lg {
    color: #c4e538 !important;
}

/* ── Schedule rows (COT) ────────────────────────────────── */
.led-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.led-schedule-row {
    padding: 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    transition: border-color 0.15s;
}

.led-schedule-row:hover {
    border-color: rgba(196, 229, 56, 0.2);
}

.led-schedule-row.is-done {
    border-left: 3px solid #4ade80;
    background: rgba(74, 222, 128, 0.06);
}

.led-schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.55rem;
}

.led-schedule-seq {
    font-weight: 700;
    color: #c4e538;
}

.led-schedule-court {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.led-schedule-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.65rem;
    align-items: center;
}

@media (max-width: 640px) {
    .led-schedule-match {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.led-schedule-team {
    min-width: 0;
}

.led-schedule-team--away {
    text-align: right;
}

@media (max-width: 640px) {
    .led-schedule-team--away { text-align: center; }
}

.led-schedule-pair {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
}

.led-schedule-players {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.48);
    margin-top: 0.15rem;
}

.led-schedule-badge {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
}

.led-schedule-badge--a {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.led-schedule-badge--b {
    background: rgba(236, 72, 153, 0.12);
    color: #f9a8d4;
    border: 1px solid rgba(236, 72, 153, 0.22);
}

.led-schedule-score {
    font-size: 1rem;
    font-weight: 800;
    color: #c4e538;
    text-align: center;
}

.led-schedule-score .text-gray-400 {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ── Cup statistics tab — dark overrides ────────────────── */
.led-cup-statistics .bg-white {
    background: linear-gradient(165deg, rgba(26, 31, 40, 0.92) 0%, rgba(18, 22, 30, 0.95) 100%) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

.led-cup-statistics .text-slate-500,
.led-cup-statistics .text-slate-800 {
    color: rgba(255, 255, 255, 0.45) !important;
}

.led-cup-statistics .text-slate-800.mt-0\.5,
.led-cup-statistics p.text-xl {
    color: #f8fafc !important;
}

.led-cup-statistics .v3-content-card {
    background: linear-gradient(165deg, rgba(26, 31, 40, 0.92) 0%, rgba(18, 22, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.led-cup-statistics .v3-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.led-cup-statistics .v3-card-title {
    color: #f8fafc;
    font-size: 0.85rem;
}

.led-cup-statistics .v3-stat-sub-label {
    color: rgba(196, 229, 56, 0.85);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.led-cup-statistics .v3-stat-player-name {
    color: #f1f5f9;
}

.led-cup-statistics .v3-stat-player-team,
.led-cup-statistics .v3-stat-team-cell,
.led-cup-statistics .v3-stat-empty {
    color: rgba(255, 255, 255, 0.45) !important;
}

.led-cup-statistics .v3-stat-thead-row th {
    background: rgba(0, 0, 0, 0.28) !important;
    color: rgba(255, 255, 255, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.led-cup-statistics .v3-stat-player-row td,
.led-cup-statistics .v3-stat-total-row td {
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.led-cup-statistics .v3-stat-player-row:hover td {
    background: rgba(196, 229, 56, 0.04) !important;
}

.led-cup-statistics .text-emerald-600 { color: #4ade80 !important; }
.led-cup-statistics .text-red-500 { color: #f87171 !important; }

.led-cup-statistics .bg-emerald-100 { background: rgba(74, 222, 128, 0.15) !important; color: #4ade80 !important; }
.led-cup-statistics .bg-amber-100 { background: rgba(251, 191, 36, 0.15) !important; color: #fbbf24 !important; }
.led-cup-statistics .bg-red-100 { background: rgba(248, 113, 113, 0.15) !important; color: #f87171 !important; }
.led-cup-statistics .bg-slate-200 { background: rgba(148, 163, 184, 0.2) !important; color: #cbd5e1 !important; }
.led-cup-statistics .bg-orange-100 { background: rgba(251, 146, 60, 0.15) !important; color: #fb923c !important; }

.led-cup-statistics .border-slate-200 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ── Tailwind utility overrides inside led-page ─────────── */
.led-page .text-white\/50 { color: rgba(255, 255, 255, 0.5) !important; }
.led-page .text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }
.led-page .text-white\/40 { color: rgba(255, 255, 255, 0.4) !important; }
.led-page .text-lime-300\/80 { color: rgba(196, 229, 56, 0.8) !important; }
