
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: #080b12;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,137,243,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 110%, rgba(255,45,198,0.14) 0%, transparent 65%);
    font-family: 'Rajdhani', sans-serif;
    color: #f0f4ff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 2rem;
}


body::before {
    content: '';
    position: fixed; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(0,0,0,0.07) 3px, rgba(0,0,0,0.07) 4px
    );
    pointer-events: none; z-index: 0;
}

body::after {
    content: '';
    position: fixed; inset: 0;
    background: url('/images/hnh-logo.png') no-repeat center center;
    background-size: 60%;
    opacity: 0.07;
    pointer-events: none; z-index: 0;
}

.wait-wrap {
    position: relative; z-index: 1;
    animation: fadeIn 0.8s ease forwards;
}

.wait-logo {
    height: 90px; width: auto;
    filter: drop-shadow(0 0 12px rgba(0,137,243,0.4));
    margin-bottom: 1.5rem;
}

.wait-eyebrow {
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: #ff2dc6; margin-bottom: 0.5rem;
}

.wait-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.08em; line-height: 1;
    background: linear-gradient(135deg, #0089f3 0%, #ffffff 45%, #ff2dc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 24px rgba(0,137,243,0.3));
    margin-bottom: 0.5rem;
}

.wait-sub {
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: #6b7a99; margin-bottom: 2.5rem;
}

.wait-spinner {
    display: flex; align-items: center;
    justify-content: center; gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.wait-dot {
    width: 8px; height: 8px; border-radius: 50%;
    animation: pulse 1.2s ease-in-out infinite;
}
.wait-dot:nth-child(1) { background: #0089f3; animation-delay: 0s;   }
.wait-dot:nth-child(2) { background: #7ec8ff; animation-delay: 0.2s; }
.wait-dot:nth-child(3) { background: #ff2dc6; animation-delay: 0.4s; }
.wait-dot:nth-child(4) { background: #7ec8ff; animation-delay: 0.6s; }
.wait-dot:nth-child(5) { background: #0089f3; animation-delay: 0.8s; }

.wait-message {
    font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: #6b7a99; margin-bottom: 2rem;
}

.wait-divider {
    width: 160px; height: 2px;
    background: linear-gradient(90deg, transparent, #0089f3, #ff2dc6, transparent);
    border-radius: 2px; margin: 0 auto 2rem;
}

.reload-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: #f0f4ff;
    background: linear-gradient(135deg, rgba(0,137,243,0.25), rgba(255,45,198,0.15));
    border: 1px solid #0089f3;
    border-radius: 6px; padding: 0.65rem 2rem;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 0 16px rgba(0,137,243,0.2);
}
.reload-btn:hover {
    background: linear-gradient(135deg, rgba(0,137,243,0.4), rgba(255,45,198,0.3));
    box-shadow: 0 0 28px rgba(0,137,243,0.4);
    transform: translateY(-1px);
}
.reload-btn:active { transform: translateY(0); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse  { 0%, 100% { transform: scale(0.6); opacity: 0.4; } 50% { transform: scale(1.2); opacity: 1; } }

/* Academy cards */
.academy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    padding: 3rem 2.5rem;
    height: 220px;
    position: relative;
    z-index: 1;
    transition: all 0.25s ease;
}
.academy-card-blue {
    background: linear-gradient(135deg, rgba(0,137,243,0.2), rgba(0,137,243,0.05));
    border: 1px solid #0089f3;
    box-shadow: 0 0 20px rgba(0,137,243,0.2);
}
.academy-card-pink {
    background: linear-gradient(135deg, rgba(255,45,198,0.2), rgba(255,45,198,0.05));
    border: 1px solid #ff2dc6;
    box-shadow: 0 0 20px rgba(255,45,198,0.2);
}
.academy-card-blue:hover {
    background: linear-gradient(135deg, rgba(0,137,243,0.35), rgba(0,137,243,0.15));
    box-shadow: 0 0 40px rgba(0,137,243,0.45);
    transform: translateY(-3px);
}
.academy-card-pink:hover {
    background: linear-gradient(135deg, rgba(255,45,198,0.35), rgba(255,45,198,0.15));
    box-shadow: 0 0 40px rgba(255,45,198,0.45);
    transform: translateY(-3px);
}
.academy-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: 0.08em;
    color: #f0f4ff;
    margin: 0.75rem 0 0.5rem;
}
.academy-card-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7a99;
}
.academy-card-icon-blue { color: #0089f3; font-size: 2.5rem; }
.academy-card-icon-pink { color: #ff2dc6; font-size: 2.5rem; }

/* Vertical-center a page within the flex body */
.page-vcenter {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── Academy default header ── */
.academy-default-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}
.academy-default-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(0,137,243,0.45));
    flex-shrink: 0;
}
.academy-default-title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.academy-default-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #ff2dc6;
    margin-bottom: 0.35rem;
}
.academy-default-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    letter-spacing: 0.06em;
    line-height: 1;
    background: linear-gradient(135deg, #0089f3 0%, #ffffff 45%, #ff2dc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Season selector */
.season-selector {
    border: 1px solid rgba(0,137,243,0.3);
    border-radius: 10px;
    background: rgba(0,137,243,0.05);
    overflow: hidden;
    margin-top: 1.5rem;
}
.season-selector-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: #0089f3;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(0,137,243,0.2);
    background: rgba(0,137,243,0.08);
}
.season-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0f4ff;
    border-bottom: 1px solid rgba(0,137,243,0.1);
    transition: all 0.2s ease;
}
.season-item:last-child { border-bottom: none; }
.season-item:hover {
    background: rgba(0,137,243,0.15);
    color: #7ec8ff;
    padding-left: 2rem;
}
.season-item-badge {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    background: rgba(0,137,243,0.15);
    border: 1px solid rgba(0,137,243,0.4);
    color: #0089f3;
    margin-left: auto;
    flex-shrink: 0;
}

/* Season selector — pink variant */
.season-selector-pink {
    border-color: rgba(255,45,198,0.3);
    background: rgba(255,45,198,0.05);
}
.season-selector-header-pink {
    color: #ff2dc6;
    border-bottom-color: rgba(255,45,198,0.2);
    background: rgba(255,45,198,0.08);
}
.season-item-pink {
    border-bottom-color: rgba(255,45,198,0.1);
}
.season-item-pink:hover {
    background: rgba(255,45,198,0.15);
    color: #ff8fe8;
}
.season-item-badge-pink {
    background: rgba(255,45,198,0.15);
    border-color: rgba(255,45,198,0.4);
    color: #ff2dc6;
}

/* Completed season row — label + action icons */
.season-item-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}
.season-item-split:last-child { border-bottom: none; }
.season-item-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}
.season-item-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}
.season-item-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.season-item-action:hover {
    background: rgba(0,137,243,0.15);
    border-color: rgba(0,137,243,0.4);
    color: var(--text-primary);
}
.season-item-badge-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 2rem;
    padding: 0 0.75rem;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,160,0,0.1));
    border: 1px solid rgba(255,215,0,0.4);
    color: #ffd700;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Create new season row */
.season-item-new {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ff2dc6;
    border-top: 1px dashed rgba(255,45,198,0.3);
    transition: all 0.2s ease;
}
.season-item-new:hover {
    background: rgba(255,45,198,0.12);
    color: #ff8fe8;
    padding-left: 2rem;
}
.season-item-new-icon {
    font-size: 1.3rem;
    line-height: 1;
}

/* ── New Season Form ── */
.new-season-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.new-season-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ff2dc6;
    margin-bottom: 0.5rem;
}
.new-season-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    letter-spacing: 0.08em;
    line-height: 1;
    background: linear-gradient(135deg, #0089f3 0%, #ffffff 50%, #ff2dc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}
.new-season-sub {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #6b7a99;
}
.new-season-form {
    position: relative;
    z-index: 1;
}

.form-section-hh {
    background: rgba(0,137,243,0.04);
    border: 1px solid rgba(0,137,243,0.18);
    border-radius: 10px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}
.form-section-title-hh {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: #0089f3;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0,137,243,0.2);
}
.form-section-row-hh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0,137,243,0.2);
}
.form-section-row-hh .form-section-title-hh {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-label-hh {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #6b7a99;
    margin-bottom: 0.4rem;
}
.form-ctrl-hh {
    display: block;
    width: 100%;
    background: rgba(8,11,18,0.7);
    border: 1px solid rgba(0,137,243,0.3);
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #f0f4ff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}
.form-ctrl-hh:focus {
    border-color: #0089f3;
    box-shadow: 0 0 0 3px rgba(0,137,243,0.15);
}
.form-ctrl-hh::placeholder { color: #3a4560; }
.form-ctrl-hh option {
    background: #0d1220;
    color: #f0f4ff;
}
.form-hint-hh {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #3a4560;
    margin-top: 0.35rem;
}

/* Events section */
.btn-add-event-hh {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff2dc6;
    background: rgba(255,45,198,0.1);
    border: 1px solid rgba(255,45,198,0.35);
    border-radius: 6px;
    padding: 0.35rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-add-event-hh:hover {
    background: rgba(255,45,198,0.2);
    box-shadow: 0 0 12px rgba(255,45,198,0.3);
}
.event-row-hh {
    border-bottom: 1px solid rgba(0,137,243,0.1);
    padding: 0.75rem 0;
}
.event-row-hh:last-child { border-bottom: none; }
.event-row-fields-hh {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}
.event-field-label-hh { flex: 1; }
.event-field-date-hh { flex: 0 0 160px; }
.event-field-overstat-hh { flex: 0 0 140px; }
.btn-remove-event-hh {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid rgba(255,45,198,0.3);
    color: rgba(255,45,198,0.6);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1px;
}
.btn-remove-event-hh:hover {
    background: rgba(255,45,198,0.15);
    color: #ff2dc6;
    border-color: #ff2dc6;
}
.no-events-hh {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #3a4560;
    text-align: center;
    padding: 1rem 0 0.25rem;
}

/* Form action buttons */
.form-actions-hh {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 0.5rem;
}
.btn-hh-ghost {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7a99;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(107,122,153,0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-hh-ghost:hover {
    color: #f0f4ff;
    border-color: rgba(107,122,153,0.6);
    background: rgba(107,122,153,0.1);
}
.btn-hh-submit {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f0f4ff;
    background: linear-gradient(135deg, rgba(0,137,243,0.35), rgba(255,45,198,0.25));
    border: 1px solid #0089f3;
    border-radius: 6px;
    padding: 0.65rem 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 18px rgba(0,137,243,0.25);
}
.btn-hh-submit:hover {
    background: linear-gradient(135deg, rgba(0,137,243,0.5), rgba(255,45,198,0.4));
    box-shadow: 0 0 32px rgba(0,137,243,0.45);
    transform: translateY(-1px);
}
.btn-hh-submit:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   SEASON MANAGEMENT DASHBOARD
   ═══════════════════════════════════════════════════ */

.mgmt-dash-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.mgmt-dash-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff2dc6;
    margin-bottom: 0.4rem;
}
.mgmt-dash-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
}
.mgmt-dash-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #8899bb;
}
.mgmt-dash-sep { opacity: 0.4; }

.mgmt-dash-status {
    display: inline-block;
    padding: 0.15rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mgmt-dash-status-active    { background: rgba(0,137,243,0.18); color: #0089f3; }
.mgmt-dash-status-upcoming  { background: rgba(255,45,198,0.15); color: #ff2dc6; }
.mgmt-dash-status-completed { background: rgba(34,197,94,0.15);  color: #22c55e; }

.mgmt-dash-actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.mgmt-dash-actions-center {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
}
.mgmt-dash-actions > *:last-child {
    display: flex;
    justify-content: flex-end;
}
.mgmt-dash-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1px solid #2a3550;
    color: #8899bb;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    margin-right: auto;
}
.mgmt-dash-btn-ghost:hover { border-color: #0089f3; color: #0089f3; }

.mgmt-dash-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1.2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff2dc6, #c400a0);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}
.mgmt-dash-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

.mgmt-dash-btn-stream {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0,137,243,0.15), rgba(255,45,198,0.15));
    border: 1px solid rgba(255,45,198,0.4);
    color: #ff2dc6;
    transition: opacity 0.2s, transform 0.15s;
}
.mgmt-dash-btn-stream:hover { opacity: 0.85; transform: translateY(-1px); color: #ff2dc6; }

.mgmt-dash-btn-rebuild {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    color: #7a90b0;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, color 0.15s;
}
.mgmt-dash-btn-rebuild:hover { opacity: 0.85; transform: translateY(-1px); color: #c8d8f0; }

.mgmt-dash-btn-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(0,137,243,0.5);
    background: linear-gradient(135deg, rgba(0,137,243,0.2), rgba(255,45,198,0.15));
    color: #7ec8ff;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.15s;
}
.mgmt-dash-btn-stats:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(0,137,243,0.3);
    color: #fff;
}

.mgmt-dash-btn-finalize {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255,215,0,0.4);
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,160,0,0.1));
    color: #ffd700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.15s;
}
.mgmt-dash-btn-finalize:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(255,215,0,0.3);
}

/* ── Hamburger menu ── */
.mgmt-hamburger-wrap {
    position: relative;
    flex-shrink: 0;
}
.mgmt-hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: var(--text-muted, #6b7a99);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mgmt-hamburger-btn:hover {
    background: rgba(0,137,243,0.12);
    border-color: rgba(0,137,243,0.4);
    color: #c8d8f0;
}
.mgmt-hamburger-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 200px;
    background: #0e1629;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 200;
    overflow: hidden;
}
.mgmt-hamburger-menu.open { display: block; }
.mgmt-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #c8d8f0;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-align: left;
}
.mgmt-menu-item:hover {
    background: rgba(0,137,243,0.12);
    color: #fff;
}
.mgmt-menu-item-gold { color: #ffd700; }
.mgmt-menu-item-gold:hover { background: rgba(255,215,0,0.1); color: #ffd700; }
.mgmt-menu-item-danger { color: #e07070; }
.mgmt-menu-item-danger:hover { background: rgba(220,53,69,0.12); color: #ff8080; }
.mgmt-menu-sep {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0.25rem 0;
}

/* ── Cards ── */
.mgmt-card {
    background: #0e1629;
    border: 1px solid #1e2d4a;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    position: relative;
    z-index: 1;
}
.mgmt-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a6080;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mgmt-card-title-note {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: none;
    color: #7a90b0;
    margin-left: 0.25rem;
}
.mgmt-card-count {
    background: #1a2a45;
    color: #8899bb;
    border-radius: 20px;
    padding: 0.05rem 0.5rem;
    font-size: 0.72rem;
}
.mgmt-card-add-btn {
    background: none;
    border: 1px solid #2a3f60;
    color: #4a6080;
    border-radius: 6px;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
    padding: 0;
}
.mgmt-card-add-btn:hover { border-color: #3b82f6; color: #3b82f6; }

/* ── Add-event inline form ── */
.mgmt-add-event-form {
    background: #0b1220;
    border: 1px solid #1e3a5f;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}
.mgmt-add-event-fields { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.mgmt-add-event-field  { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 120px; }
.mgmt-add-event-label  { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #4a6080; }
.mgmt-add-event-input  {
    background: #0e1629;
    border: 1px solid #2a3f60;
    border-radius: 6px;
    color: #c8d8f0;
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    width: 100%;
}
.mgmt-add-event-input:focus { outline: none; border-color: #3b82f6; }
.mgmt-add-event-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.mgmt-add-event-save {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.mgmt-add-event-save:hover { opacity: 0.85; }
.mgmt-add-event-cancel {
    background: none;
    border: 1px solid #2a3f60;
    border-radius: 6px;
    color: #4a6080;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.mgmt-add-event-cancel:hover { border-color: #4a6080; color: #8899bb; }

/* ── Event toolbar (back · prev · pills · next · action) ── */
.mgmt-event-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* ── Event switcher (standalone, kept for other uses) ── */
.mgmt-event-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.mgmt-event-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #2a3f60;
    border-radius: 6px;
    color: #7ab8f5;
    font-size: 1.3rem;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}
.mgmt-event-nav-btn:hover { background: #0e1e35; border-color: #3b82f6; color: #fff; }
.mgmt-event-nav-btn-disabled { color: #2a3f60; cursor: default; border-color: #1a2a40; }
.mgmt-event-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1;
}
.mgmt-event-pill {
    padding: 0.25rem 0.65rem;
    border: 1px solid #2a3f60;
    border-radius: 20px;
    color: #4a6080;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.mgmt-event-pill:hover  { border-color: #3b82f6; color: #7ab8f5; }
.mgmt-event-pill.active { border-color: #3b82f6; background: #1e3a5f; color: #7ab8f5; }

/* ── Upload CSV panel ── */
.mgmt-upload-panel {
    background: #0b1220;
    border: 1px solid #1e3a5f;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.mgmt-upload-form {}
.mgmt-upload-fields { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.mgmt-upload-file-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #0e1629;
    border: 1px dashed #2a3f60;
    border-radius: 7px;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    transition: border-color 0.2s;
}
.mgmt-upload-file-label:hover { border-color: #3b82f6; }
.mgmt-upload-file-label input[type="file"] { display: none; }
.mgmt-upload-file-icon { font-size: 1rem; flex-shrink: 0; }
.mgmt-upload-file-text { color: #4a6080; font-size: 0.83rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgmt-upload-submit {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 7px;
    color: #fff;
    font-size: 0.83rem;
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.mgmt-upload-submit:hover { opacity: 0.85; }
.mgmt-upload-hint { color: #3a5070; font-size: 0.75rem; }
.mgmt-upload-hint code { color: #5a7898; }
.mgmt-upload-msg { font-size: 0.82rem; font-weight: 600; border-radius: 6px; padding: 0.35rem 0.75rem; margin-bottom: 0.65rem; }
.mgmt-upload-msg-ok  { background: rgba(34,197,94,0.1);  color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.mgmt-upload-msg-err { background: rgba(239,68,68,0.1);  color: #f87171; border: 1px solid rgba(239,68,68,0.25); }

/* ── Info rows ── */
.mgmt-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #131f35;
    font-size: 0.875rem;
}
.mgmt-info-row:last-child { border-bottom: none; }
.mgmt-info-label { color: #4a6080; white-space: nowrap; flex-shrink: 0; }
.mgmt-info-value { color: #c8d8f0; text-align: right; }
.mgmt-info-mono  { font-family: monospace; font-size: 0.8rem; color: #7a9ab8; }

/* ── Event game grid & damage panel ── */
.ev-quality-score {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #4a6080;
    text-transform: none;
}

.ev-game-grid {
    display: flex;
    gap: 6px;
    padding: 0.25rem 0 0.75rem;
}

.ev-game-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    gap: 5px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    cursor: pointer;
    min-width: 0;
}
.ev-game-tile:hover {
    background: rgba(0,137,243,0.1);
    border-color: rgba(0,137,243,0.35);
}
.ev-game-tile-active {
    background: linear-gradient(135deg, rgba(0,137,243,0.18), rgba(255,45,198,0.12));
    border-color: rgba(255,45,198,0.5);
    box-shadow: 0 0 14px rgba(255,45,198,0.18);
}
.ev-game-tile-active:hover {
    background: linear-gradient(135deg, rgba(0,137,243,0.22), rgba(255,45,198,0.16));
}
.ev-game-tile-nodata {
    opacity: 0.3;
    cursor: not-allowed;
}
.ev-game-tile-nodata:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.07);
    box-shadow: none;
}
.ev-game-tile-num {
    font-family: 'Bebas Neue', 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.07em;
    color: #c8d8f0;
    line-height: 1;
}
.ev-game-tile-active .ev-game-tile-num {
    background: linear-gradient(135deg, #0089f3, #ff2dc6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ev-game-tile-time {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #4a6080;
    text-align: center;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.ev-dmg-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ev-dmg-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a6080;
    margin-bottom: 0.75rem;
}
.ev-dmg-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.25rem 0 0.5rem;
}
.ev-dmg-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}
.ev-dmg-row-top {
    background: linear-gradient(135deg, rgba(0,137,243,0.1), rgba(255,45,198,0.08));
    border-color: rgba(255,45,198,0.25);
}
.ev-dmg-rank {
    font-family: 'Bebas Neue', 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #4a6080;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.ev-dmg-row-top .ev-dmg-rank { color: #ff2dc6; }
.ev-dmg-weapon {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: capitalize;
    color: #c8d8f0;
    width: 180px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ev-dmg-row-top .ev-dmg-weapon { color: #fff; }
.ev-dmg-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.ev-dmg-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #0089f3, #ff2dc6);
    transition: width 0.4s ease;
}
.ev-dmg-row-top .ev-dmg-bar { background: linear-gradient(90deg, #ff2dc6, #0089f3); }
.ev-dmg-total {
    font-family: 'Bebas Neue', 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #0089f3;
    width: 70px;
    text-align: right;
    flex-shrink: 0;
}
.ev-dmg-row-top .ev-dmg-total { color: #ff2dc6; }

.ev-feed-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    flex-wrap: wrap;
}
.ev-feed-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.ev-feed-url {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.75);
    background: transparent;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ev-feed-copy {
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.ev-feed-copy:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Events ── */
.mgmt-event-list { display: flex; flex-direction: column; gap: 0; }
.mgmt-event-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #131f35;
    font-size: 0.875rem;
}
.mgmt-event-row:last-child { border-bottom: none; }
.mgmt-event-label { color: #c8d8f0; }
.mgmt-event-date  { color: #4a6080; font-size: 0.8rem; }
.mgmt-event-row-overall { background: rgba(59,130,246,0.07); border-radius: 4px; padding: 0.4rem 0.5rem; margin-bottom: 0.25rem; border-bottom: 1px solid #1e3a5f !important; }
.mgmt-event-overall-label { color: #7ab8f5; font-weight: 600; }
.mgmt-event-link { text-decoration: none; display: flex; justify-content: space-between; align-items: center; flex: 1; min-width: 0; }
.mgmt-event-delete-form { flex-shrink: 0; margin: 0; padding: 0; }
.mgmt-event-delete-btn {
    background: none;
    border: none;
    color: #3a4a66;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.2rem 0 0.5rem;
    cursor: pointer;
    transition: color 0.15s;
}
.mgmt-event-delete-btn:hover { color: #e05555; }
.mgmt-event-link:hover .mgmt-event-label,
.mgmt-event-link:hover .mgmt-event-overall-label { color: #fff; }
.mgmt-event-link:hover .mgmt-event-date { color: #7ab8f5; }
.mgmt-event-no-lb { color: #4a6080; font-size: 0.7rem; white-space: nowrap; }
.mgmt-event-row-warn { background: rgba(251,191,36,0.05); border-bottom-color: rgba(251,191,36,0.15) !important; }
.mgmt-event-row-warn .mgmt-event-label { color: #fbbf24; }
.mgmt-event-warn-badge   { color: #fbbf24; font-size: 0.8rem; margin-left: 0.3rem; vertical-align: middle; }
.mgmt-event-nodata-badge { color: #4a6080; font-size: 0.8rem; margin-left: 0.3rem; vertical-align: middle; }
.mgmt-event-label-group  { display: inline-flex; align-items: center; min-width: 0; }

/* ── Empty state ── */
.mgmt-empty {
    color: #4a6080;
    font-size: 0.875rem;
    text-align: center;
    padding: 1.5rem 0;
}

/* ── Leaderboard table ── */
.mgmt-lb-table-wrap {
    overflow-x: auto;
    margin: 0 -0.2rem;
}
.mgmt-lb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.mgmt-lb-th {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a6080;
    border-bottom: 1px solid #1e2d4a;
    white-space: nowrap;
}
.mgmt-lb-td {
    padding: 0.55rem 0.75rem;
    color: #c8d8f0;
    border-bottom: 1px solid #0d1628;
    white-space: nowrap;
    text-align: left;
}
.mgmt-lb-row:last-child .mgmt-lb-td { border-bottom: none; }
.mgmt-lb-row:hover .mgmt-lb-td { background: #131f35; }
.mgmt-lb-num { text-align: right; }
.mgmt-lb-rank      { width: 2.5rem; text-align: center; font-size: 1rem; }
.mgmt-lb-placement { width: 3rem;   text-align: center; font-size: 1rem; }

/* ── Leaderboard view toggle ── */
.mgmt-lb-toggle { display: flex; gap: 0; border: 1px solid #2a3f60; border-radius: 7px; overflow: hidden; }
.mgmt-lb-toggle-btn {
    background: none;
    border: none;
    color: #4a6080;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.mgmt-lb-toggle-btn + .mgmt-lb-toggle-btn { border-left: 1px solid #2a3f60; }
.mgmt-lb-toggle-btn.active { background: #1e3a5f; color: #7ab8f5; }
.mgmt-lb-toggle-btn:not(.active):hover { background: #0e1e35; color: #8899bb; }
.mgmt-lb-player { font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.mgmt-lb-team   { color: #6a80a0; font-size: 0.82rem; text-align: left; }

.mgmt-lb-top-1 .mgmt-lb-player { color: #ffd700; }
.mgmt-lb-top-2 .mgmt-lb-player { color: #a8c8ff; }
.mgmt-lb-top-3 .mgmt-lb-player { color: #ffb06e; }

/* ── Top 5 highlight cards ── */
.mgmt-top5-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mgmt-top5-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #1e2d4a;
    background: #131f35;
    position: relative;
    z-index: 1;
    transition: border-color 0.2s;
}
.mgmt-top5-row:hover { border-color: #2a3f60; }

.mgmt-top5-rank-1 { border-color: #3a3010; background: #1e1c10; }
.mgmt-top5-rank-2 { border-color: #1e3050; background: #111e30; }
.mgmt-top5-rank-3 { border-color: #3a2010; background: #1e1510; }

.mgmt-top5-medal {
    font-size: 1.4rem;
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
    color: #4a6080;
    font-weight: 700;
}

.mgmt-top5-info {
    flex: 1;
    min-width: 0;
}
.mgmt-top5-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c8d8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mgmt-top5-rank-1 .mgmt-top5-name { color: #ffd700; }
.mgmt-top5-rank-2 .mgmt-top5-name { color: #a8c8ff; }
.mgmt-top5-rank-3 .mgmt-top5-name { color: #ffb06e; }

.mgmt-top5-team {
    font-size: 0.78rem;
    color: #4a6080;
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mgmt-top5-score {
    text-align: right;
    flex-shrink: 0;
}
.mgmt-top5-score-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.mgmt-top5-score-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a6080;
    margin-top: 0.15rem;
}

.mgmt-top5-stats {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex-shrink: 0;
    min-width: 5rem;
}
.mgmt-top5-stat {
    font-size: 0.78rem;
    color: #8899bb;
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
}
.mgmt-top5-stat-label {
    color: #4a6080;
}

/* ── Event Stats display ── */
.es-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}
.es-header {
    text-align: center;
    margin-bottom: 2rem;
}
.es-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #ff2dc6;
    margin-bottom: 0.3rem;
}
.es-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #0089f3 0%, #ffffff 45%, #ff2dc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.es-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7a99;
    margin-top: 0.35rem;
}
.es-divider {
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0089f3, #ff2dc6, transparent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}
/* Stat carousel */
.es-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.es-carousel {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.3rem 0.5rem;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.es-carousel::-webkit-scrollbar { display: none; }
.es-carousel-btn {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #6b7a99;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.es-carousel-btn:hover {
    border-color: rgba(0,137,243,0.4);
    color: #f0f4ff;
    background: rgba(0,137,243,0.08);
}
.es-carousel-btn.active {
    border-color: #0089f3;
    background: linear-gradient(135deg, rgba(0,137,243,0.3), rgba(255,45,198,0.2));
    color: #fff;
    box-shadow: 0 0 14px rgba(0,137,243,0.35);
}
.es-nav-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #6b7a99;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.es-nav-btn:hover { border-color: #0089f3; color: #f0f4ff; background: rgba(0,137,243,0.1); }
/* HUD banner */
.es-hud {
    text-align: center;
    margin-bottom: 1.5rem;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.es-hud-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #6b7a99;
    margin-bottom: 0.25rem;
}
.es-hud-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #0089f3 0%, #ffffff 50%, #ff2dc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    line-height: 1;
}
.es-hud-name.visible { opacity: 1; transform: translateY(0); }
.es-hud-prompt {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.12em;
    color: #6b7a99;
    opacity: 0.5;
}
.es-hud-bar {
    width: 120px; height: 2px;
    background: linear-gradient(90deg, transparent, #0089f3, #ff2dc6, transparent);
    border-radius: 2px;
    margin-top: 0.4rem;
    opacity: 0;
    transition: opacity 0.35s ease 0.2s;
}
.es-hud-bar.visible { opacity: 1; }
/* Podium */
.es-top3 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.es-podium-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 280px;
}
.es-podium-card {
    width: 100%;
    background: #111827;
    border-radius: 10px;
    padding: 1rem 0.9rem 0.9rem;
    text-align: center;
    position: relative;
    margin-bottom: 0.6rem;
    border: 1px solid rgba(255,255,255,0.06);
}
.es-podium-col[data-pos="1"] .es-podium-card { border-color: rgba(255,215,0,0.35); box-shadow: 0 0 22px rgba(255,215,0,0.1); }
.es-podium-col[data-pos="2"] .es-podium-card { border-color: rgba(192,200,216,0.25); }
.es-podium-col[data-pos="3"] .es-podium-card { border-color: rgba(205,127,50,0.25); }
.es-podium-medal { position: absolute; top: -12px; right: 12px; font-size: 1.4rem; }
.es-podium-pos {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem; letter-spacing: 0.15em; margin-bottom: 0.25rem;
}
.es-podium-col[data-pos="1"] .es-podium-pos { color: #ffd700; }
.es-podium-col[data-pos="2"] .es-podium-pos { color: #c0c8d8; }
.es-podium-col[data-pos="3"] .es-podium-pos { color: #cd7f32; }
.es-podium-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    letter-spacing: 0.04em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.1; margin-bottom: 0.1rem;
}
.es-podium-col[data-pos="1"] .es-podium-name {
    background: linear-gradient(135deg, #0089f3, #ff2dc6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.es-podium-team {
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: #6b7a99; margin-bottom: 0.6rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.es-podium-stat {
    display: inline-flex; flex-direction: column; align-items: center;
    background: rgba(0,137,243,0.1); border: 1px solid rgba(0,137,243,0.2);
    border-radius: 6px; padding: 0.3rem 0.9rem;
}
.es-podium-col[data-pos="1"] .es-podium-stat {
    background: linear-gradient(135deg, rgba(0,137,243,0.15), rgba(255,45,198,0.15));
    border-color: rgba(255,45,198,0.25);
}
.es-podium-stat-label { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #6b7a99; margin-bottom: 1px; }
.es-podium-stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.05em; }
.es-podium-col[data-pos="1"] .es-podium-stat-value { color: #ffd700; }
.es-podium-col[data-pos="2"] .es-podium-stat-value { color: #c0c8d8; }
.es-podium-col[data-pos="3"] .es-podium-stat-value { color: #cd7f32; }
.es-podium-block {
    width: 100%; border-radius: 6px 6px 0 0;
    display: flex; align-items: center; justify-content: center;
}
.es-podium-col[data-pos="1"] .es-podium-block { height: 60px; background: linear-gradient(180deg, rgba(255,215,0,0.22) 0%, rgba(255,215,0,0.05) 100%); border: 1px solid rgba(255,215,0,0.3); border-bottom: none; }
.es-podium-col[data-pos="2"] .es-podium-block { height: 44px; background: linear-gradient(180deg, rgba(192,200,216,0.12) 0%, rgba(192,200,216,0.03) 100%); border: 1px solid rgba(192,200,216,0.2); border-bottom: none; }
.es-podium-col[data-pos="3"] .es-podium-block { height: 32px; background: linear-gradient(180deg, rgba(205,127,50,0.12) 0%, rgba(205,127,50,0.03) 100%); border: 1px solid rgba(205,127,50,0.2); border-bottom: none; }
.es-podium-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.05em; opacity: 0.2; }
.es-podium-col[data-pos="1"] .es-podium-num { color: #ffd700; opacity: 0.3; }
.es-podium-col[data-pos="2"] .es-podium-num { color: #c0c8d8; }
.es-podium-col[data-pos="3"] .es-podium-num { color: #cd7f32; }
.es-ground { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #0089f3, #ff2dc6, transparent); border-radius: 2px; margin-bottom: 1.1rem; }
/* Row list */
.es-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.es-row {
    display: grid;
    grid-template-columns: 40px 1fr 130px;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    background: #111827;
    margin-bottom: 0.4rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.es-row:hover { background: rgba(0,137,243,0.08); border-color: rgba(0,137,243,0.2); }
.es-pos { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; text-align: center; color: #6b7a99; }
.es-player { min-width: 0; }
.es-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-team { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #6b7a99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-stat { display: flex; flex-direction: column; gap: 3px; }
.es-stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.05em; color: #0089f3; text-align: right; }
.es-row[data-pos="1"] .es-stat-value { color: #ffd700; }
.es-row[data-pos="2"] .es-stat-value { color: #c0c8d8; }
.es-row[data-pos="3"] .es-stat-value { color: #cd7f32; }
.es-bar-track { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.es-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #0089f3, #ff2dc6); width: 0%; transition: width 0.55s cubic-bezier(0.22,1,0.36,1); }
.es-empty { text-align: center; padding: 3rem 0; color: #6b7a99; font-size: 0.9rem; }
@media (max-width: 768px) { .es-columns { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .es-row { grid-template-columns: 36px 1fr 90px; } }