:root {
    /* Core Colors — Dark Navy */
    --bg-primary: #070B14;
    --bg-secondary: #0A1628;
    --bg-tertiary: #132040;

    /* Accents — Gold Dominant */
    --accent-primary: #D4A017;
    --accent-secondary: #B8860B;
    --accent-gold: #FFD700;
    --accent-gold-light: #FFE44D;
    --accent-silver: #C0C0C0;
    --accent-bronze: #CD7F32;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;

    /* Status Colors */
    --success: #10B981;
    --danger: #EF4444;

    /* Typography */
    --font-family: 'Outfit', sans-serif;

    /* Effects — Gold Glass */
    --glass-bg: rgba(10, 22, 40, 0.5);
    --glass-border: rgba(212, 160, 23, 0.12);
    --glass-blur: blur(12px);
    --glow-gold: 0 0 20px rgba(212, 160, 23, 0.25);
    --glow-gold-strong: 0 0 40px rgba(255, 215, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(212, 160, 23, 0.06), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(184, 134, 11, 0.06), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.03), transparent 30%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== PUBLIC AESTHETIC LIFT PASS 2026-04-11 ===== */
.header {
    background:
        linear-gradient(180deg, rgba(7, 11, 20, 0.94), rgba(7, 11, 20, 0.86)),
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.08), transparent 58%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.34), transparent);
    opacity: 0.82;
    pointer-events: none;
}

.logo-container {
    gap: 14px;
}

.logo-text {
    letter-spacing: 0.07em;
}

.nav-tabs {
    position: relative;
    padding: 6px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 20, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 34px rgba(0, 0, 0, 0.18);
}

.nav-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.22), transparent);
    pointer-events: none;
}

.nav-tab {
    min-height: 46px;
    border-radius: 16px;
}

.nav-tab.active {
    box-shadow:
        0 14px 26px rgba(120, 88, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-telegram-deep {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 223, 99, 0.18);
    background:
        linear-gradient(135deg, rgba(27, 141, 228, 0.96), rgba(17, 95, 165, 0.94)),
        radial-gradient(circle at top left, rgba(255, 219, 77, 0.18), transparent 34%);
    box-shadow:
        0 18px 38px rgba(14, 84, 144, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-telegram-deep span,
.btn-telegram-deep i {
    position: relative;
    z-index: 1;
}

.champions-section {
    position: relative;
    overflow: hidden;
}

.champions-section::after {
    content: '';
    position: absolute;
    top: 72px;
    left: 50%;
    width: 520px;
    height: 220px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.11), transparent 72%);
    filter: blur(44px);
    opacity: 0.78;
    pointer-events: none;
}

.podium-grid {
    position: relative;
    gap: 24px;
}

.champion-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.1), transparent 42%),
        rgba(7, 12, 22, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 28px 64px rgba(0, 0, 0, 0.24);
}

.champion-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent),
        radial-gradient(circle at 50% 120%, rgba(255, 215, 0, 0.08), transparent 36%);
    pointer-events: none;
}

.champion-card > * {
    position: relative;
    z-index: 1;
}

.champion-card-frame {
    border-color: rgba(255, 255, 255, 0.04);
}

.champion-topline {
    margin-bottom: 20px;
}

.champion-avatar {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 0 8px rgba(255, 215, 0, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.24);
}

.champion-signal-bar {
    border: 1px solid rgba(255, 215, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
        rgba(10, 17, 28, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.champion-pedestal-label {
    max-width: 28ch;
    margin-inline: auto;
    line-height: 1.72;
}

.champion-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 225, 109, 0.12), rgba(255, 215, 0, 0.05)),
        rgba(13, 21, 33, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 28px rgba(0, 0, 0, 0.2);
}

.champion-btn:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, rgba(255, 225, 109, 0.18), rgba(255, 215, 0, 0.08)),
        rgba(14, 23, 35, 0.96);
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(255, 215, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.champion-placeholder .champion-avatar {
    opacity: 0.18;
    filter: grayscale(1);
}

.champion-placeholder .champion-pedestal-label {
    color: rgba(166, 178, 196, 0.8);
}

.champion-btn-placeholder {
    color: rgba(231, 219, 152, 0.76);
}

.quick-stats-bar {
    gap: 16px;
}

.quick-stat-card {
    min-height: 106px;
    border: 1px solid rgba(255, 215, 0, 0.08);
}

.leaderboard-section {
    position: relative;
}

.leaderboard-section::after {
    content: '';
    position: absolute;
    top: 74px;
    right: 40px;
    width: 240px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.09), transparent 72%);
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
}

.search-bar {
    max-width: 520px;
    width: 100%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.12);
}

.search-bar input {
    font-size: 0.98rem;
}

.leaderboard-container {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 215, 0, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01)),
        rgba(6, 12, 22, 0.9);
}

.leaderboard-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 44px;
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.22), transparent);
    pointer-events: none;
}

.leaderboard-topbar {
    padding: 28px 28px 20px;
}

.leaderboard-title {
    font-size: clamp(1.55rem, 2vw, 1.9rem);
}

.leaderboard-meta-pill {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
        rgba(9, 16, 27, 0.88);
    color: rgba(202, 212, 226, 0.9);
}

.leaderboard-header {
    border-top: 1px solid rgba(255, 215, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(255, 255, 255, 0.012);
}

.leaderboard-body::after {
    content: '';
    position: absolute;
    top: 0;
    right: 36px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.12), transparent 14%, transparent 86%, rgba(255, 215, 0, 0.12));
    opacity: 0.55;
    pointer-events: none;
}

.trader-row-wrapper {
    scroll-margin-top: 132px;
}

.trader-row {
    padding-top: 18px;
    padding-bottom: 18px;
}

.trader-row::before {
    left: 12px;
    right: 12px;
    top: 6px;
    bottom: 6px;
    border: 1px solid transparent;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
        rgba(255, 255, 255, 0.005);
}

.trader-row::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.92), rgba(255, 215, 0, 0.14));
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}

.trader-row:hover::before {
    border-color: rgba(255, 215, 0, 0.08);
    background:
        linear-gradient(90deg, rgba(255, 215, 0, 0.06), rgba(255, 255, 255, 0.01)),
        rgba(255, 255, 255, 0.006);
}

.trader-row:hover::after,
.trader-row.current-user-row::after,
.trader-row.top-1::after,
.trader-row.top-2::after,
.trader-row.top-3::after {
    opacity: 1;
}

.rank-badge {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(11, 18, 30, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 18px rgba(0, 0, 0, 0.18);
}

.row-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(11, 18, 28, 0.84);
}

.trader-row-wrapper.expanded .row-arrow {
    background: rgba(255, 215, 0, 0.1);
}

.trader-details {
    margin: 0 18px 14px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-empty-shell {
    overflow: hidden;
}

.profile-empty-shell::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 24px;
    opacity: 0.8;
    pointer-events: none;
}

.profile-empty-flow .profile-empty-step:nth-child(1) {
    background:
        radial-gradient(circle at top left, rgba(255, 215, 0, 0.09), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(9, 15, 24, 0.84);
}

.profile-empty-flow .profile-empty-step:nth-child(2) {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(9, 15, 24, 0.84);
}

.profile-empty-flow .profile-empty-step:nth-child(3) {
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(9, 15, 24, 0.84);
}

.profile-empty-step,
.profile-empty-card {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 28px rgba(0, 0, 0, 0.16);
}

.profile-empty-card {
    min-height: 138px;
}

.profile-empty-hint {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 24px rgba(0, 0, 0, 0.14);
}

.hall-hero-section {
    padding-top: 22px;
    padding-bottom: 36px;
}

.hall-empty-state {
    position: relative;
    overflow: hidden;
    padding: 38px 38px 34px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 215, 0, 0.1), transparent 34%),
        radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.04), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(255, 215, 0, 0)),
        rgba(8, 13, 22, 0.86);
}

.hall-empty-state::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 26px;
    pointer-events: none;
}

.hall-empty-hero {
    grid-template-columns: auto minmax(0, 1fr) minmax(300px, 0.92fr);
    align-items: start;
}

.hall-empty-crest {
    width: 96px;
    height: 96px;
    border-radius: 32px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.16);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.08), transparent 56%),
        rgba(255, 255, 255, 0.03);
}

.hall-empty-copy {
    display: grid;
    gap: 12px;
    padding-top: 6px;
}

.hall-empty-timeline {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(10, 16, 27, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 16px 30px rgba(0, 0, 0, 0.14);
}

.hall-empty-timeline-step {
    position: relative;
    display: grid;
    gap: 4px;
    padding-left: 26px;
}

.hall-empty-timeline-step:not(:last-child) {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.06);
}

.hall-empty-timeline-step strong {
    color: rgba(244, 247, 251, 0.96);
    font-size: 0.94rem;
}

.hall-empty-timeline-step span {
    color: rgba(171, 183, 198, 0.88);
    line-height: 1.58;
}

.hall-empty-timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.92);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.08);
}

.hall-empty-panel {
    min-height: 188px;
    padding: 22px 20px 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 30px rgba(0, 0, 0, 0.14);
}

.hall-empty-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(221, 229, 239, 0.9);
    font-weight: 600;
}

.hall-empty-note i {
    color: rgba(255, 216, 82, 0.94);
}

.footer {
    position: relative;
    overflow: hidden;
    margin-top: 118px;
    padding: 28px 0 30px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.11), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(4, 8, 16, 0.98);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.025) 50%, transparent 100%);
    pointer-events: none;
}

.footer-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 28px;
    margin-bottom: 28px;
    align-items: stretch;
}

.footer-intro-copy {
    position: relative;
    padding: 32px 32px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 22, 0.86);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 26px 54px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.footer-intro-copy::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 0%, rgba(255, 215, 0, 0.12), transparent 42%),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.02) 38px 39px, transparent 39px 78px);
    opacity: 0.72;
    pointer-events: none;
}

.footer-intro-copy > * {
    position: relative;
    z-index: 1;
}

.footer-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 216, 82, 0.94);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-intro-title {
    margin: 16px 0 14px;
    max-width: 15ch;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: rgba(248, 250, 252, 0.98);
}

.footer-intro-text {
    max-width: 62ch;
    color: rgba(182, 194, 211, 0.9);
    font-size: 1.02rem;
    line-height: 1.72;
}

.footer-signal-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.footer-signal-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
        rgba(8, 14, 24, 0.84);
    color: rgba(229, 235, 242, 0.92);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 16px 30px rgba(0, 0, 0, 0.14);
}

.footer-signal-pill i {
    color: rgba(255, 216, 82, 0.94);
}

.footer-grid {
    gap: 24px;
}

.footer-brand,
.footer-column {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 28px 28px 26px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 22, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 22px 42px rgba(0, 0, 0, 0.16);
}

.footer-brand::before,
.footer-column::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.08), transparent 34%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0.68;
    pointer-events: none;
}

.footer-brand > *,
.footer-column > * {
    position: relative;
    z-index: 1;
}

.footer-brand {
    gap: 22px;
}

.footer-logo {
    width: 76px;
    height: 76px;
    filter: drop-shadow(0 12px 18px rgba(255, 215, 0, 0.14));
}

.footer-brand-title,
.footer-heading {
    font-size: 1.06rem;
    letter-spacing: 0.1em;
}

.footer-brand-copy,
.footer-column p {
    max-width: 34ch;
}

.footer-column-cta {
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 22, 0.82);
}

.footer-seal-row {
    margin-top: 22px;
}

.footer-seal {
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 22, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 30px rgba(0, 0, 0, 0.12);
}

.footer-bottom {
    margin-top: 18px;
    color: rgba(140, 154, 174, 0.82);
    letter-spacing: 0.04em;
}

@media (min-width: 1040px) {
    .profile-empty-shell {
        grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
        grid-template-areas:
            "badge highlights"
            "title highlights"
            "copy highlights"
            "flow highlights"
            "actions actions";
        align-items: start;
    }

    .profile-empty-badge {
        grid-area: badge;
        justify-self: start;
    }

    .profile-empty h3 {
        grid-area: title;
        max-width: 13ch;
        text-align: left;
    }

    .profile-empty #profileEmptyText {
        grid-area: copy;
        margin: 0;
        max-width: 58ch;
        text-align: left;
    }

    .profile-empty-flow {
        grid-area: flow;
    }

    .profile-empty-highlights {
        grid-area: highlights;
        grid-template-columns: 1fr;
        align-self: stretch;
        margin-left: 10px;
    }

    .profile-empty-actions {
        grid-area: actions;
        justify-self: start;
    }
}

@media (max-width: 1100px) {
    .footer-intro {
        grid-template-columns: 1fr;
    }

    .hall-empty-hero {
        grid-template-columns: 1fr;
    }

    .hall-empty-timeline {
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 18px !important;
    }

    .logo-container,
    .auth-container {
        justify-content: center;
    }

    .nav-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .btn-telegram-deep {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .leaderboard-topbar {
        padding: 22px 18px 18px;
    }

    .leaderboard-body::after,
    .leaderboard-section::after,
    .champions-section::after {
        display: none;
    }

    .profile-empty-shell,
    .hall-empty-state,
    .footer-intro-copy {
        padding: 24px 18px 22px;
    }

    .hall-empty-timeline {
        padding: 16px;
    }

    .footer {
        padding-top: 18px;
    }

    .footer-signal-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .footer-intro-title,
    .profile-empty h3 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .champion-card {
        border-radius: 28px;
    }

    .champion-btn {
        width: 100%;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-accent {
    color: var(--accent-gold);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-secondary {
    color: var(--text-secondary);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

body.vip-gate-open {
    overflow: hidden;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-4 {
    margin-top: 16px;
}

.full-width {
    width: 100%;
}

/* Base Components */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* App Layout */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 40px 0;
}

.vip-gate {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 40px;
    background:
        linear-gradient(180deg, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0.92) 100%),
        radial-gradient(circle at top, rgba(212, 160, 23, 0.12), transparent 45%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.vip-gate-card {
    max-width: 700px;
    width: 100%;
    padding: 44px 36px 40px;
    text-align: center;
    box-shadow: var(--glow-gold);
}

.vip-gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    background: rgba(212, 160, 23, 0.10);
    border: 1px solid rgba(212, 160, 23, 0.18);
    border-radius: 999px;
    padding: 9px 16px;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.vip-gate-title {
    font-size: 2.25rem;
    line-height: 1.04;
    margin-bottom: 14px;
}

.vip-gate-text {
    max-width: 540px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.vip-gate-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-section {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeUp var(--transition-smooth);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1600px !important;
    /* Pousse les éléments vers les bords */
    padding: 0 40px !important;
}

.auth-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    /* Replace fixed width with flex unit */
    min-width: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    justify-content: flex-start;
    flex: 1;
    /* Replace fixed width with flex unit */
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #FFF, var(--accent-gold));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* ===== NAV TABS ===== */
.nav-tabs {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 6px;
    justify-content: center;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-tab:hover {
    color: var(--text-secondary);
    background: rgba(212, 160, 23, 0.08);
}

.nav-tab.active {
    color: var(--accent-gold);
    background: rgba(212, 160, 23, 0.15);
}

.nav-tab i {
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.28);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: rgba(212, 160, 23, 0.52);
    background: rgba(212, 160, 23, 0.10);
}

/* ===== VIEW PANELS ===== */
.view-panel {
    display: none;
    animation: fadeUp 0.3s ease;
}

.view-panel.active {
    display: block;
}

#view-admin {
    max-width: 1520px;
    margin: 0 auto;
}

/* ===== CHAMPIONS PODIUM ===== */
.champions-section {
    margin-bottom: 48px;
    margin-top: 0;
    text-align: center;
}

.champions-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--accent-gold);
    margin-bottom: 32px;
    position: relative;
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.champion-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.champion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.04), transparent);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite;
}

.champion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-gold-strong);
    border-color: rgba(212, 160, 23, 0.3);
}

.champion-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.champion-card.silver {
    border-color: rgba(192, 192, 192, 0.2);
}

.champion-card.bronze {
    border-color: rgba(205, 127, 50, 0.2);
}

.champion-card.champion-placeholder {
    opacity: 0.35;
    filter: grayscale(0.4);
}

.placeholder-avatar {
    opacity: 0.3;
    filter: grayscale(1);
}

.champion-rank-badge {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.champion-rank-badge.r1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.champion-rank-badge.r2 {
    background: linear-gradient(135deg, #E8E8E8, #A0A0A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.champion-rank-badge.r3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.champion-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
}

.champion-card.gold .champion-avatar {
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.champion-card.silver .champion-avatar {
    border: 3px solid var(--accent-silver);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.2);
}

.champion-card.bronze .champion-avatar {
    border: 3px solid var(--accent-bronze);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.2);
}

.champion-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.champion-subtitle {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.champion-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.champion-stat-val {
    font-size: 1.1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.champion-stat-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.champion-btn {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: 20px;
    color: var(--accent-gold);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.champion-btn:hover {
    background: rgba(212, 160, 23, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.15);
}

/* ===== QUICK STATS BAR ===== */
.quick-stats-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    justify-content: center;
}

.quick-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px 20px;
    flex: 1;
    max-width: 260px;
    transition: all var(--transition-fast);
}

.quick-stat-card:hover {
    border-color: rgba(212, 160, 23, 0.2);
    transform: translateY(-2px);
}

.quick-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.quick-stat-info {
    flex: 1;
    min-width: 0;
}

.quick-stat-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.quick-stat-name {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ===== SEARCH & FILTER TOOLBAR ===== */
.leaderboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 16px;
    flex: 1;
    max-width: 360px;
    transition: border-color var(--transition-fast);
}

.search-bar:focus-within {
    border-color: rgba(212, 160, 23, 0.4);
}

.search-bar i {
    color: var(--text-tertiary);
    font-size: 1rem;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    width: 100%;
}

.search-bar input::placeholder {
    color: var(--text-tertiary);
}

.filter-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 3px;
}

.filter-tab {
    padding: 7px 16px;
    background: transparent;
    border: none;
    border-radius: 7px;
    color: var(--text-tertiary);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    color: var(--text-secondary);
}

.filter-tab.active {
    color: var(--accent-gold);
    background: rgba(212, 160, 23, 0.15);
}

/* ===== LEADERBOARD ===== */
.leaderboard-container {
    --leaderboard-columns: 52px minmax(188px, 1.18fr) 138px 138px 138px 36px;
    margin-top: 16px;
    animation: fadeUp var(--transition-smooth) 0.1s backwards;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.leaderboard-container::-webkit-scrollbar {
    display: none;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: var(--leaderboard-columns);
    min-width: 690px;
    padding: 14px 20px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
}

.leaderboard-header > div:nth-child(3),
.leaderboard-header > div:nth-child(4),
.leaderboard-header > div:nth-child(5) {
    justify-self: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 14px;
}

.trader-row {
    display: grid;
    grid-template-columns: var(--leaderboard-columns);
    min-width: 690px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: all var(--transition-fast);
    position: relative;
}

.trader-row:hover {
    background: rgba(212, 160, 23, 0.04);
    transform: scale(1.005);
}

.trader-row:last-child {
    border-bottom: none;
}

.trader-row.current-user-row {
    background: linear-gradient(90deg, rgba(212, 160, 23, 0.1), rgba(7, 11, 20, 0.02));
    box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.18);
}

/* Top 3 gold left border */
.trader-row.top-1 {
    border-left: 3px solid var(--accent-gold);
    background: rgba(255, 215, 0, 0.03);
}

.trader-row.top-2 {
    border-left: 3px solid var(--accent-silver);
    background: rgba(192, 192, 192, 0.02);
}

.trader-row.top-3 {
    border-left: 3px solid var(--accent-bronze);
    background: rgba(205, 127, 50, 0.02);
}

/* Rank Styling */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.trader-row.top-1 .rank-badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.trader-row.top-2 .rank-badge {
    background: rgba(192, 192, 192, 0.15);
    color: var(--accent-silver);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}

.trader-row.top-3 .rank-badge {
    background: rgba(205, 127, 50, 0.15);
    color: var(--accent-bronze);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.3);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
}

.trader-row.top-1 .avatar {
    border-color: var(--accent-gold);
}

.trader-row.top-2 .avatar {
    border-color: var(--accent-silver);
}

.trader-row.top-3 .avatar {
    border-color: var(--accent-bronze);
}

.trader-name {
    font-weight: 600;
    font-size: 1rem;
}

.trader-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trader-you-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.16);
    border: 1px solid rgba(212, 160, 23, 0.24);
    color: var(--accent-gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trader-subtitle-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.trader-subtitle {
    font-size: 0.76rem;
    color: var(--text-tertiary);
    line-height: 1.2;
}

.trader-inline-insights {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.insight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.insight-pill-up {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.22);
    color: var(--success);
}

.insight-pill-down {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
}

.insight-pill-flat {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
}

.insight-pill-lead,
.insight-pill-trail {
    background: rgba(212, 160, 23, 0.12);
    border-color: rgba(212, 160, 23, 0.22);
    color: var(--accent-gold-light);
}

.stat-value {
    font-weight: 700;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    justify-self: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 14px;
}

.roi-value {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.signed-positive {
    color: var(--success) !important;
}

.signed-negative {
    color: var(--danger) !important;
}

.signed-neutral {
    color: var(--accent-gold) !important;
}

.row-arrow {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    text-align: center;
    transition: transform var(--transition-smooth);
}

.trader-row-wrapper.expanded .row-arrow {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* ===== PUBLIC PROFILE ACCORDION (LEADERBOARD) ===== */
.trader-row-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.trader-row-wrapper:last-child {
    border-bottom: none;
}

.trader-row-wrapper .trader-row {
    border-bottom: none;
}

.trader-row-wrapper.expanded {
    background: rgba(212, 160, 23, 0.03);
}

.trader-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), padding var(--transition-smooth), opacity var(--transition-smooth);
    opacity: 0;
    padding: 0 20px;
    background: rgba(10, 22, 40, 0.4);
}

.trader-row-wrapper.expanded .trader-details {
    max-height: 110px;
    padding: 10px 20px 10px 20px;
    opacity: 1;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.details-grid {
    display: grid;
    grid-template-columns: var(--leaderboard-columns);
    min-width: 690px;
    align-items: center;
    column-gap: 0;
}

.details-spacer {
    grid-column: 1 / span 2;
}

.details-endcap {
    grid-column: 6;
}

.d-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    width: 100%;
    min-height: 50px;
    text-align: center;
    box-sizing: border-box;
    padding-inline: 14px;
}

.d-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.1;
    letter-spacing: 0.04em;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.d-val {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
}

.score-max {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.score-formula {
    font-size: 0.62rem;
    color: var(--text-tertiary);
    line-height: 1.2;
    margin-top: 2px;
    white-space: nowrap;
}

.details-chart-wrapper {
    flex: 1;
    max-width: 200px;
}

/* ===== TELEGRAM BUTTON ===== */
.btn-telegram {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.3);
    padding: 10px 20px;
    border-radius: 12px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-telegram i {
    font-size: 1.25rem;
}

.btn-telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.15);
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-tertiary);
    font-size: 0.875rem;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translate3d(-50%, 14px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    30% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes bounceDiag {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes goldPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 160, 23, 0.15);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 0.3);
    }
}

@keyframes goldGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    50% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    }
}

/* ===== PRIZE SLIDER ===== */
.prize-slider-wrapper {
    margin: 32px auto 0;
    max-width: 800px;
    position: relative;
    width: 100%;
}

.prize-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(212, 160, 23, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 160, 23, 0.05);
    animation: goldPulse 6s ease-in-out infinite;
    width: 100%;
}

.slider-track {
    display: flex;
    will-change: transform;
    transition: transform 3s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide {
    min-width: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(7, 11, 20, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Changement ici : de space-between à center pour centrer le contenu quand la slide n'a qu'un élément (ou gérer via des classes spécifiques) */
    padding: 32px 48px;
    position: relative;
    overflow: hidden;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.04), transparent);
    transform: skewX(-20deg);
    animation: shine 8s infinite;
}

.prize-info h3 {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.prize-info h2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, #FFF, var(--accent-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Award slide — image full-bleed, no overlay */
.slide-award {
    padding: 0;
    position: relative;
    height: 300px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 160, 23, 0.18), transparent 32%),
        radial-gradient(circle at 80% 22%, rgba(212, 160, 23, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(7, 11, 20, 0.88) 100%);
}

.award-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) blur(0);
    transition: opacity 0.52s ease, transform 0.7s ease, filter 0.7s ease;
}

.prize-slider.is-loading .award-img {
    opacity: 0;
    transform: scale(1.02);
    filter: saturate(0.82) blur(7px);
}

.prize-slider.is-loading .slide-award::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 215, 0, 0.11), transparent 26%),
        radial-gradient(circle at 80% 26%, rgba(255, 215, 0, 0.09), transparent 24%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.028), transparent 38%),
        linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 215, 0, 0.045) 43%, transparent 57%),
        linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(7, 11, 20, 0.88) 100%);
    background-size: auto, auto, auto, 220% 100%, 100% 100%;
    animation: sliderSkeleton 2.4s linear infinite, goldPulse 5.8s ease-in-out infinite;
    box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.13), inset 0 0 34px rgba(212, 160, 23, 0.06);
    z-index: 1;
    pointer-events: none;
}

/* Standalone countdown bar between slider and Champions */
.countdown-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 48px auto 48px;
    max-width: 800px;
    width: 100%;
}

.countdown-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-gold);
    font-weight: 600;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 8px;
    text-align: center;
    align-items: center;
}

.time-sep {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    animation: countdownPulse 1s ease-in-out infinite;
    line-height: 1;
    margin-bottom: 18px;
}

.time-box {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 14px;
    padding: 12px 14px 10px;
    min-width: 68px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.time-box:hover {
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.time-val {
    font-size: 1.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--accent-gold-light);
    animation: goldGlow 3s ease-in-out infinite;
    line-height: 1.1;
}

.time-label {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-top: 6px;
    letter-spacing: 0.08em;
    font-weight: 600;
}

@keyframes countdownPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes sliderSkeleton {

    0% {
        background-position: 200% 0, 0 0;
    }

    100% {
        background-position: -30% 0, 0 0;
    }
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.25);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--accent-gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    width: 24px;
    border-radius: 4px;
}

/* ===== SLIDER CONTROLS ===== */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7, 11, 20, 0.6);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--accent-gold);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: rgba(212, 160, 23, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: -38px;
}

.next-btn {
    right: -38px;
}

@media (max-width: 960px) {
    .prev-btn {
        left: -14px;
    }

    .next-btn {
        right: -14px;
    }
}

@media (max-width: 768px) {
    .prev-btn {
        left: 7px;
    }

    .next-btn {
        right: 7px;
    }
}

/* ===== USER PROFILE HEADER ===== */
.user-profile {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 60px;
    padding: 10px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 160, 23, 0.16);
    transition: all var(--transition-fast);
    max-width: 100%;
}

.profile-trigger:hover {
    background: rgba(212, 160, 23, 0.08);
    border-color: rgba(212, 160, 23, 0.28);
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 160, 23, 0.32);
}

.user-name {
    font-weight: 700;
    font-size: 1rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
    transform-origin: top center;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-sizing: border-box;
    width: min(292px, calc(100vw - 32px));
    padding: 10px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    animation: dropdownReveal 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    will-change: transform, opacity;
}

.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-menu button:hover {
    background: rgba(212, 160, 23, 0.08);
}

.dropdown-menu button.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dropdown-action-spaced {
    margin-top: 0;
}

.broker-connected-status {
    width: 100%;
    min-width: 0;
}

.broker-status-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 79, 112, 0.42), rgba(16, 44, 86, 0.48));
    border: 1px solid rgba(52, 211, 153, 0.24);
}

.broker-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.broker-status-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 800;
}

.broker-status-title i {
    font-size: 1.08rem;
}

.broker-status-fresh .broker-status-title,
.broker-status-pending .broker-status-title {
    color: #24d1a1;
}

.broker-status-delayed .broker-status-title {
    color: var(--accent-gold);
}

.broker-status-stale .broker-status-title {
    color: #ff8c66;
}

.broker-status-details {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(7, 11, 20, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.broker-status-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    font-size: 0.88rem;
}

.broker-status-row span {
    color: var(--text-muted);
    font-weight: 600;
}

.broker-status-row strong {
    color: var(--text-light);
    text-align: right;
    font-weight: 700;
    word-break: break-word;
    line-height: 1.35;
}

.broker-status-row-server strong {
    line-height: 1.32;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-gold));
    color: var(--bg-primary);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== USER STATS BANNER ===== */
.user-stats-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 28px;
    margin-bottom: 24px;
    animation: fadeUp var(--transition-smooth) backwards;
    border-left: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 8px;
    align-items: start;
    flex: 1;
    min-width: 0;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.stats-grid .stat-label {
    min-height: 2.1em;
    line-height: 1.15;
}

.user-stats-banner .stat-value {
    width: auto;
    justify-self: auto;
    padding-inline: 0;
    text-align: left;
    line-height: 1.1;
}

.stats-action {
    display: flex;
    align-items: center;
}

.account-status-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(100%, 208px);
}

.account-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
}

.sync-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

#accountStatusWrap .account-status,
#accountStatusWrap .sync-status {
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 6px 14px;
    box-sizing: border-box;
}

#accountStatusWrap .account-status {
    border-radius: 999px;
}

.sync-status-fresh {
    border-color: rgba(16, 185, 129, 0.32);
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.sync-status-delayed {
    border-color: rgba(212, 160, 23, 0.32);
    background: rgba(212, 160, 23, 0.12);
    color: var(--accent-gold-light);
}

.sync-status-stale {
    border-color: rgba(239, 68, 68, 0.28);
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.sync-status-pending {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-tertiary);
}

#accountStatusWrap .account-status,
#accountStatusWrap .sync-status,
#accountStatusWrap .sync-status-fresh,
#accountStatusWrap .sync-status-delayed,
#accountStatusWrap .sync-status-stale,
#accountStatusWrap .sync-status-pending {
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.24);
    box-shadow: none;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp 0.2s ease;
}

.modal-content {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 450px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 160, 23, 0.15);
}

.modal-header {
    margin-bottom: 24px;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-btn:hover {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.1);
}

.broker-server-field {
    position: relative;
}

#brokerServer::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
    width: 0;
    display: none;
}

.broker-supported-hint {
    line-height: 1.6;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 320px;
    max-width: min(420px, calc(100vw - 32px));
    background: linear-gradient(135deg, rgba(10, 18, 28, 0.98), rgba(8, 26, 36, 0.96));
    color: var(--text-primary);
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(212, 160, 23, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 160, 23, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-weight: 500;
    animation: fadeUp 0.3s ease forwards;
    backdrop-filter: blur(14px);
}

.toast-brand {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 160, 23, 0.2), rgba(7, 19, 26, 0.96));
    border: 1px solid rgba(212, 160, 23, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-brand-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.28));
}

.toast-status-icon {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(7, 19, 26, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.toast-status-icon-info {
    background: rgba(212, 160, 23, 0.18);
    color: var(--accent-gold);
}

.toast-status-icon-success {
    background: rgba(28, 201, 149, 0.16);
    color: #21d0a1;
}

.toast-status-icon-error {
    background: rgba(255, 107, 107, 0.16);
    color: var(--danger);
}

.toast-status-icon-pending {
    background: rgba(212, 160, 23, 0.18);
    color: var(--accent-gold);
}

.toast-status-icon-delayed {
    background: rgba(255, 159, 67, 0.18);
    color: #ffb347;
}

.toast-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.toast-title {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.toast-detail {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.toast.info {
    border-color: rgba(212, 160, 23, 0.28);
}

.toast.success {
    border-color: rgba(28, 201, 149, 0.3);
}

.toast.error {
    border-color: rgba(255, 107, 107, 0.3);
}

.toast.persistent-sync {
    border-left-color: rgba(28, 201, 149, 0.95);
    background: linear-gradient(135deg, rgba(7, 19, 26, 0.98), rgba(6, 35, 37, 0.96));
    border: 1px solid rgba(28, 201, 149, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(28, 201, 149, 0.08);
}

.toast.persistent-sync.pending {
    border-color: rgba(212, 160, 23, 0.32);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 160, 23, 0.08);
}

.toast.persistent-sync.delayed {
    border-color: rgba(255, 159, 67, 0.35);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 159, 67, 0.1);
}

/* ============================================ */
/* ===== PROFILE PAGE ===== */
/* ============================================ */

.profile-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    margin-bottom: 32px;
    border-left: 4px solid var(--accent-gold);
}

.profile-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-meta-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.2);
}

.profile-header-info h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.profile-header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 20px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.profile-header-badge i {
    font-size: 1.3rem;
}

/* Profile Stats Grid */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.insight-value-up {
    color: var(--success);
}

.insight-value-down {
    color: #fca5a5;
}

.insight-value-flat {
    color: var(--text-secondary);
}

.insight-value-lead,
.insight-value-trail {
    color: var(--accent-gold-light);
}

.profile-stat-card {
    padding: 24px;
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.profile-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

.profile-stat-card .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: block;
}

.profile-stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.profile-stat-card .stat-label {
    margin-bottom: 0;
}

/* Equity Curve */
.equity-section {
    padding: 28px;
    margin-bottom: 32px;
}

.equity-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.equity-chart {
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: 12px 0;
}

.equity-bar {
    flex: 1;
    background: var(--accent-gold);
    border-radius: 3px 3px 0 0;
    transition: all var(--transition-fast);
    min-width: 4px;
    position: relative;
}

.equity-bar:hover {
    background: var(--accent-gold);
    filter: brightness(1.2);
}

.equity-bar.negative {
    background: var(--danger);
}

.equity-empty {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px dashed rgba(212, 160, 23, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.05), rgba(7, 11, 20, 0.35));
    color: var(--text-tertiary);
    font-size: 0.95rem;
    text-align: center;
}

/* Recent Trades */
.trades-section {
    padding: 28px;
    margin-bottom: 32px;
}

.trades-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.trades-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.trades-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.trades-table thead th {
    text-align: left;
    padding: 12px 16px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}

.trades-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    white-space: nowrap;
}

.trades-table tbody tr:hover {
    background: rgba(212, 160, 23, 0.03);
}

.trades-table tbody tr:last-child td {
    border-bottom: none;
}

.trades-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.trades-pagination-info {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.trades-pagination-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trades-page-btn {
    min-width: 112px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.trades-page-btn:hover:not(:disabled) {
    border-color: rgba(212, 160, 23, 0.45);
    box-shadow: 0 0 18px rgba(212, 160, 23, 0.12);
    color: var(--accent-gold);
}

.trades-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.trade-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trade-type-badge.buy {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.trade-type-badge.sell {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* Profile Empty State */
.profile-empty {
    text-align: center;
    padding: 80px 20px;
}

.profile-empty h3 {
    margin: 16px 0 8px;
    color: var(--text-secondary);
}

/* ============================================ */
/* ===== HALL OF FAME ===== */
/* ============================================ */

.winner-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-gold);
    transition: all var(--transition-fast);
    animation: fadeUp 0.3s ease backwards;
}

.winner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.winner-info {
    flex: 1;
}

.winner-month {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.winner-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.winner-prize {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.winner-stats {
    display: flex;
    gap: 24px;
}

.winner-stat {
    text-align: center;
}

.winner-stat-val {
    font-weight: 700;
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
}

.winner-stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.winner-equity-chart {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 40px;
    margin-top: 16px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.winner-equity-chart .mini-bar {
    flex: 1;
    background: var(--accent-gold);
    border-radius: 2px 2px 0 0;
    min-width: 3px;
    transition: background 0.2s ease;
}

.winner-equity-chart .mini-bar:hover {
    filter: brightness(1.2);
}

.winner-equity-chart .mini-neg {
    background: var(--danger);
}


/* ============================================ */
/* ===== RESPONSIVE ===== */
/* ============================================ */

@media (max-width: 1024px) {
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .podium-grid {
        gap: 14px;
    }
}

@media (max-width: 768px) {

    /* Header */
    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 0 16px !important;
    }

    .logo-container,
    .auth-container {
        width: 100%;
        justify-content: center;
    }

    .auth-container {
        order: 2;
    }

    .nav-tabs {
        order: 3;
        width: auto;
        justify-content: center;
    }

    .slider-btn {
        display: none;
    }

    .nav-tab span {
        display: none;
    }

    .nav-tab {
        padding: 10px 16px;
    }

    .nav-tab i {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .user-profile {
        width: 100%;
    }

    .profile-trigger {
        min-width: 240px;
        max-width: min(320px, 100%);
        padding: 12px 22px;
    }

    .dropdown-menu {
        top: calc(100% + 10px);
        width: min(292px, calc(100vw - 32px));
    }

    .btn-telegram span {
        display: none;
    }

    .btn-telegram {
        padding: 10px 14px;
    }

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Champions Podium */
    .podium-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .champions-title {
        font-size: 2rem;
    }

    .champion-card {
        padding: 20px 16px;
    }

    .champion-avatar {
        width: 64px;
        height: 64px;
    }

    /* Quick Stats */
    .quick-stats-bar {
        flex-wrap: wrap;
    }

    .quick-stat-card {
        flex: 1 1 calc(50% - 8px);
        max-width: none;
    }

    /* Search & Filter */
    .leaderboard-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar {
        max-width: none;
    }

    .filter-tabs {
        justify-content: center;
    }

    /* Prize Slider */
    .slide {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 24px;
    }

    /* Award slide overrides — image full-bleed, no column padding */
    .slide-award {
        padding: 0;
        height: 260px;
    }

    .prize-info h2 {
        font-size: 1.8rem;
    }

    .countdown {
        justify-content: center;
    }

    .time-box {
        min-width: 60px;
        padding: 10px 12px;
    }

    /* Stats Banner */
    .user-stats-banner {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .account-status-stack {
        align-items: center;
        width: min(100%, 224px);
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 24px;
        width: 100%;
    }

    .stat-block {
        text-align: center;
        align-items: center;
    }

    .stats-grid .stat-label {
        min-height: auto;
    }

    /* Leaderboard */
    .leaderboard-header {
        padding: 12px 16px;
        font-size: 0.75rem;
    }

    .trader-row {
        padding: 12px 16px;
    }

    .rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .avatar {
        width: 36px;
        height: 36px;
    }

    .trader-name {
        font-size: 0.95rem;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .roi-value {
        font-size: 1rem;
    }

    /* Profile */
    .profile-header-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px;
    }

    .profile-header-info {
        flex-direction: column;
        align-items: center;
    }

    .profile-meta-stack {
        align-items: center;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-stat-card {
        padding: 16px;
    }

    .profile-stat-card .stat-value {
        font-size: 1.4rem;
    }

    .trades-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .trades-pagination-actions {
        width: 100%;
        justify-content: space-between;
    }

    /* Hall of Fame */
    .winner-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .winner-stats {
        justify-content: center;
    }

    .winner-prize {
        justify-content: center;
    }

    /* Modal Full Screen */
    .modal-content {
        max-width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Toast */
    .toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 14px;
    }

    .auth-container {
        width: 100%;
    }

    .profile-trigger {
        min-height: 56px;
        min-width: 220px;
        width: min(280px, 100%);
        gap: 12px;
        padding: 10px 18px;
    }

    .avatar-small {
        width: 36px;
        height: 36px;
    }

    .dropdown-menu {
        width: min(280px, calc(100vw - 24px));
        padding: 10px;
        border-radius: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .podium-grid {
        max-width: 100%;
    }

    .quick-stat-card {
        flex: 1 1 100%;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .profile-stat-card .stat-icon {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .profile-stat-card .stat-value {
        font-size: 1.2rem;
    }

    .equity-chart {
        height: 140px;
    }

    .winner-avatar {
        width: 64px;
        height: 64px;
    }

    .winner-name {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .user-stats-banner .stat-value {
        text-align: center;
    }
}

/* ===== TELEGRAM DEEP LINK BUTTON ===== */
.btn-telegram-deep {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0088cc, #0077b5);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 0 12px rgba(0, 136, 204, 0.3);
    white-space: nowrap;
}

.btn-telegram-deep:hover {
    background: linear-gradient(135deg, #0099dd, #0088cc);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
    transform: translateY(-1px);
}

.btn-telegram-deep i {
    font-size: 1.3rem;
}

/* ===== SLIDER NAVIGATION CONTROLS ===== */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: #000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.3);
}

.slider-btn i {
    font-size: 1.4rem;
}

.slider-btn:hover {
    background: #FFF;
    color: #000;
    border-color: #FFF;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

@media (max-width: 800px) {
    .slider-btn {
        display: none;
    }
}

/* ===== INPUT NUMBER FIX ===== */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ===== COSMETIC UPGRADE ===== */
body {
    position: relative;
    background-image:
        radial-gradient(circle at 15% 18%, rgba(255, 215, 0, 0.11), transparent 20%),
        radial-gradient(circle at 82% 16%, rgba(255, 215, 0, 0.08), transparent 18%),
        radial-gradient(circle at 50% 55%, rgba(212, 160, 23, 0.045), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(180deg, #050912 0%, #09101b 48%, #060a12 100%);
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    opacity: 0.22;
    background:
        linear-gradient(rgba(255, 215, 0, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.018) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black 22%, transparent 78%);
}

body::after {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.08), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(255, 215, 0, 0.035), transparent 24%);
}

main {
    position: relative;
}

.card-glass {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(8, 16, 30, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 36px rgba(0, 0, 0, 0.28);
}

.header {
    background:
        linear-gradient(180deg, rgba(10, 14, 24, 0.95) 0%, rgba(8, 12, 22, 0.84) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.logo-container {
    gap: 14px;
}

.logo-image {
    filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.24));
}

.logo-text {
    letter-spacing: 0.08em;
}

.nav-tabs {
    padding: 7px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(6, 12, 22, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-tab {
    padding: 11px 20px;
    border-radius: 12px;
}

.nav-tab.active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-telegram-deep {
    position: relative;
    padding: 11px 20px;
    border: 1px solid rgba(255, 215, 0, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, #0b91d8, #0674b9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) inset, 0 0 24px rgba(7, 116, 185, 0.32);
}

.btn-telegram-deep:hover {
    border-color: rgba(255, 215, 0, 0.34);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 0 28px rgba(7, 116, 185, 0.42);
}

.hero-section {
    position: relative;
    max-width: 980px;
    margin: 0 auto 56px;
    padding: 30px 28px 12px;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.hero-section::before {
    width: 460px;
    height: 180px;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03) 38%, transparent 72%);
    filter: blur(18px);
}

.hero-section::after {
    inset: 18px 6% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.34), transparent);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255, 228, 77, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-kicker-line {
    width: 52px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.hero-title {
    font-size: clamp(3.2rem, 7vw, 4.9rem);
    margin-bottom: 18px;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
    max-width: 700px;
    font-size: 1.12rem;
    line-height: 1.72;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(10, 18, 30, 0.72);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-badge i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.prize-slider-wrapper {
    max-width: 920px;
    margin-top: 8px;
}

.prize-slider-wrapper::before,
.prize-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    width: 150px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

.prize-slider-wrapper::before {
    left: -50px;
    background: radial-gradient(circle at left center, rgba(255, 215, 0, 0.16), transparent 68%);
}

.prize-slider-wrapper::after {
    right: -50px;
    background: radial-gradient(circle at right center, rgba(255, 215, 0, 0.16), transparent 68%);
}

.prize-slider {
    border-radius: 30px;
    border-color: rgba(255, 215, 0, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 22, 0.92);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 215, 0, 0.06);
}

.prize-slider::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

.slide-award {
    height: 334px;
}

.award-img {
    filter: saturate(1.02) contrast(1.04);
    transition: opacity 0.52s ease, transform 0.8s ease, filter 0.7s ease;
}

.prize-slider:hover .award-img {
    transform: scale(1.02);
    filter: saturate(1.08) contrast(1.06);
}

.slider-dots {
    bottom: 20px;
}

.slider-dot {
    width: 9px;
    height: 9px;
}

.slider-btn {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
    background:
        linear-gradient(180deg, rgba(255, 215, 0, 0.98), rgba(199, 155, 11, 0.94));
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #0b111a;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 215, 0, 0.18);
}

.slider-btn:hover {
    background: linear-gradient(180deg, #ffe466, #d8a80c);
    color: #05070c;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 32px rgba(255, 215, 0, 0.28);
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

.countdown-bar {
    position: relative;
    padding: 22px 30px 8px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        rgba(7, 12, 22, 0.7);
    border: 1px solid rgba(212, 160, 23, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.countdown-bar::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    pointer-events: none;
}

.countdown-label {
    letter-spacing: 0.2em;
}

.time-box {
    min-width: 78px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(2, 6, 12, 0.72);
}

.time-val {
    font-size: 2rem;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading-centered {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 34px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 228, 77, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.section-copy {
    max-width: 520px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.champions-section,
.leaderboard-section {
    position: relative;
    padding: 38px 32px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
        rgba(7, 12, 22, 0.6);
    border: 1px solid rgba(212, 160, 23, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.champions-section::before,
.leaderboard-section::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.06);
    pointer-events: none;
}

.champions-title {
    margin-bottom: 0;
    font-size: clamp(2.6rem, 4vw, 3.5rem);
}

.podium-grid {
    max-width: 1080px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 24px;
}

.champion-card {
    padding: 24px 22px 26px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.008)),
        rgba(10, 18, 30, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.26);
}

.champion-card::before {
    opacity: 0.8;
}

.champion-card::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 16px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent 68%);
    filter: blur(10px);
    opacity: 0.45;
    pointer-events: none;
}

.champion-card-glow,
.champion-card-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.champion-card-glow {
    background: radial-gradient(circle at top center, rgba(255, 215, 0, 0.14), transparent 48%);
    opacity: 0.9;
}

.champion-card-frame {
    inset: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.podium-slot-1 {
    grid-column: 2;
    transform: translateY(-24px);
}

.podium-slot-2 {
    grid-column: 1;
}

.podium-slot-3 {
    grid-column: 3;
}

.champion-card.gold {
    border-color: rgba(255, 215, 0, 0.34);
    box-shadow: 0 28px 52px rgba(0, 0, 0, 0.34), 0 0 48px rgba(255, 215, 0, 0.08);
}

.champion-card.silver,
.champion-card.bronze {
    min-height: 342px;
}

.champion-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.champion-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.champion-rank-badge {
    margin-bottom: 0;
    font-size: 2.2rem;
}

.champion-avatar {
    width: 94px;
    height: 94px;
    margin-bottom: 18px;
}

.champion-name {
    font-size: 1.24rem;
}

.champion-subtitle {
    margin-bottom: 18px;
}

.champion-stats {
    gap: 12px;
    margin-bottom: 18px;
}

.champion-stat-block {
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.champion-pedestal-label {
    margin-bottom: 14px;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.champion-btn {
    padding: 10px 24px;
    border-radius: 999px;
}

.quick-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto 52px;
}

.quick-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 96px;
    border-radius: 20px;
    padding: 18px 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
        rgba(8, 16, 28, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 28px rgba(0, 0, 0, 0.22);
}

.quick-stat-card::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    opacity: 0.72;
    pointer-events: none;
}

.quick-stat-card::before {
    content: '';
    position: absolute;
    inset: auto -10% -36px;
    height: 86px;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(24px);
    pointer-events: none;
}

.quick-stat-card.quick-stat-gold::before {
    background: rgba(255, 215, 0, 0.3);
}

.quick-stat-card.quick-stat-amber::before {
    background: rgba(255, 162, 0, 0.26);
}

.quick-stat-card.quick-stat-royal::before {
    background: rgba(88, 143, 255, 0.26);
}

.quick-stat-card.quick-stat-emerald::before {
    background: rgba(16, 185, 129, 0.26);
}

.quick-stat-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
}

.quick-stat-value {
    font-size: 1.46rem;
}

.leaderboard-section {
    margin-top: 6px;
}

.leaderboard-toolbar {
    justify-content: flex-start;
    margin-bottom: 22px;
}

.search-bar {
    max-width: 440px;
    min-height: 56px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(6, 12, 22, 0.82);
}

.leaderboard-container {
    margin-top: 0;
    border-radius: 24px;
    border: 1px solid rgba(212, 160, 23, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(6, 12, 22, 0.88);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.leaderboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 18px;
}

.leaderboard-kicker {
    margin-bottom: 6px;
    color: rgba(255, 228, 77, 0.92);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.leaderboard-title {
    font-size: 1.5rem;
    line-height: 1.08;
}

.leaderboard-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.leaderboard-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

.leaderboard-meta-pill i {
    color: var(--accent-gold);
}

.leaderboard-header {
    padding-top: 16px;
    background: rgba(255, 255, 255, 0.015);
}

.leaderboard-body {
    position: relative;
}

.leaderboard-empty-state {
    text-align: center;
    padding: 56px 24px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 1rem;
}

.trader-row-wrapper {
    position: relative;
}

.trader-row {
    padding-top: 16px;
    padding-bottom: 16px;
}

.trader-row::before {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    top: 8px;
    bottom: 8px;
    border-radius: 16px;
    background: transparent;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
    z-index: 0;
}

.trader-row > * {
    position: relative;
    z-index: 1;
}

.trader-row:hover::before {
    background: rgba(255, 215, 0, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.06);
}

.trader-row.current-user-row::before {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0));
}

.rank-badge {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.avatar {
    width: 48px;
    height: 48px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.trader-name {
    font-size: 1.02rem;
}

.trader-row.top-1,
.trader-row.top-2,
.trader-row.top-3 {
    background: transparent;
}

.trader-row.top-1::before {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.01));
}

.trader-row.top-2::before {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.07), rgba(192, 192, 192, 0.01));
}

.trader-row.top-3::before {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.08), rgba(205, 127, 50, 0.01));
}

.trader-details {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(8, 16, 28, 0.66);
}

.trader-row-wrapper.expanded .trader-details {
    border-top-color: rgba(255, 215, 0, 0.08);
}

.d-stat {
    min-height: 64px;
}

.footer {
    margin-top: 100px;
    padding: 44px 0 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
        rgba(4, 8, 16, 0.94);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.footer-brand,
.footer-column {
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(212, 160, 23, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
        rgba(7, 12, 22, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.22));
}

.footer-brand-title,
.footer-heading {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.footer-brand-copy,
.footer-column p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.footer-column-cta {
    text-align: center;
}

.footer-column-cta p {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.65;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 22px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.84rem;
}

@media (max-width: 1100px) {
    .quick-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .prev-btn {
        left: -18px;
    }

    .next-btn {
        right: -18px;
    }
}

@media (max-width: 900px) {
    .champions-section,
    .leaderboard-section {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading-centered {
        align-items: center;
    }

    .podium-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .podium-slot-1,
    .podium-slot-2,
    .podium-slot-3 {
        grid-column: auto;
        transform: none;
    }

    .champion-card.silver,
    .champion-card.bronze {
        min-height: 0;
    }

    .leaderboard-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 14px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 14px 0 4px;
        margin-bottom: 42px;
    }

    .hero-kicker {
        letter-spacing: 0.16em;
        font-size: 0.74rem;
    }

    .hero-kicker-line {
        width: 30px;
    }

    .hero-badges {
        gap: 10px;
    }

    .hero-badge {
        width: 100%;
        justify-content: center;
    }

    .prize-slider {
        border-radius: 24px;
    }

    .slide-award {
        height: 248px;
    }

    .countdown-bar {
        padding-inline: 14px;
    }

    .time-box {
        min-width: 64px;
        padding-inline: 10px;
    }

    .quick-stats-bar {
        grid-template-columns: 1fr;
    }

    .leaderboard-meta {
        justify-content: flex-start;
    }

    .footer {
        margin-top: 72px;
    }
}

@media (max-width: 520px) {
    .champions-section,
    .leaderboard-section {
        padding: 24px 14px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .champions-title {
        font-size: 2.2rem;
    }

    .countdown {
        gap: 4px;
    }

    .time-box {
        min-width: 0;
        padding: 10px 8px 8px;
    }

    .time-val {
        font-size: 1.55rem;
    }

    .time-sep {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .leaderboard-topbar {
        padding: 20px 16px 12px;
    }

    .leaderboard-header,
    .trader-row,
    .trader-details {
        min-width: 690px;
    }

    .footer-brand,
    .footer-column {
        padding: 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    .hero-orb,
    .slide::after,
    .prize-slider,
    .prize-slider.is-loading .slide-award::before,
    .footer-seal,
    .row-arrow,
    .nav-tab.active i {
        animation: none !important;
    }
}

/* ===== FINAL POLISH ===== */
@keyframes slowOrbit {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.85;
    }

    50% {
        transform: translate3d(0, -10px, 0) scale(1.04);
        opacity: 1;
    }
}

@keyframes sealPulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 215, 0, 0.16);
    }

    50% {
        box-shadow: 0 0 26px rgba(255, 215, 0, 0.18);
    }
}

main::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: min(980px, 92vw);
    height: 540px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at top center, rgba(255, 215, 0, 0.08), transparent 52%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 55%);
    pointer-events: none;
    z-index: -1;
    filter: blur(8px);
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.18), transparent);
    pointer-events: none;
}

.nav-tab.active i {
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.34);
}

.hero-section {
    overflow: hidden;
    isolation: isolate;
}

.hero-stage-lines {
    position: absolute;
    inset: 18px 10% auto;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0.9;
}

.hero-stage-lines span {
    width: clamp(88px, 18vw, 180px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.34), transparent);
}

.hero-orb {
    position: absolute;
    top: 62px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.08), transparent 36%),
        radial-gradient(circle, rgba(255, 215, 0, 0.13), rgba(255, 215, 0, 0.02) 56%, transparent 72%);
    filter: blur(2px);
    opacity: 0.9;
    pointer-events: none;
    animation: slowOrbit 8.5s ease-in-out infinite;
}

.hero-orb::after {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.16);
}

.hero-orb-left {
    left: 4%;
}

.hero-orb-right {
    right: 4%;
    animation-delay: -3.2s;
}

.hero-section .text-accent {
    background: linear-gradient(180deg, #ffe879 0%, #ffd700 45%, #e3ab00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero-badge {
    position: relative;
}

.hero-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.prize-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
    pointer-events: none;
    z-index: 1;
}

.slider-plaque {
    position: absolute;
    top: -22px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(8, 14, 26, 0.92);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.slider-plaque i {
    color: var(--accent-gold);
    font-size: 0.92rem;
}

.slider-plaque-left {
    left: 22px;
}

.slider-plaque-right {
    right: 22px;
}

.slide-award::after {
    background: linear-gradient(90deg, rgba(7, 11, 20, 0.5), transparent 18%, transparent 82%, rgba(7, 11, 20, 0.5));
    animation: none;
    transform: none;
    width: auto;
    left: 0;
}

.countdown-bar {
    overflow: hidden;
}

.countdown-bar::after {
    content: '';
    position: absolute;
    inset: auto 18px 0;
    height: 56px;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.16), transparent 70%);
    filter: blur(24px);
    opacity: 0.55;
    pointer-events: none;
}

.champions-section::after,
.leaderboard-section::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at top center, rgba(255, 215, 0, 0.055), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 20%);
    pointer-events: none;
}

.podium-grid {
    position: relative;
    padding-top: 14px;
    z-index: 1;
}

.podium-grid::before {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.24), transparent);
    pointer-events: none;
}

.podium-stage {
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: min(880px, calc(100% - 120px));
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.78;
}

.podium-stage-step {
    position: absolute;
    bottom: 0;
    border-radius: 22px 22px 14px 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
        rgba(9, 16, 28, 0.9);
    border: 1px solid rgba(212, 160, 23, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 20px 34px rgba(0, 0, 0, 0.28);
}

.podium-stage-step::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.18), transparent);
}

.podium-stage-step-left,
.podium-stage-step-right {
    width: 28%;
    height: 70px;
}

.podium-stage-step-center {
    left: 50%;
    transform: translateX(-50%);
    width: 33%;
    height: 98px;
}

.podium-stage-step-left {
    left: 3%;
}

.podium-stage-step-right {
    right: 3%;
}

.champion-card {
    z-index: 1;
}

.podium-slot-1 {
    transform: translateY(-30px) scale(1.04);
    z-index: 2;
}

.champion-card.gold .champion-emblem {
    background: radial-gradient(circle at 30% 30%, rgba(255, 228, 77, 0.26), rgba(255, 215, 0, 0.08));
    border-color: rgba(255, 215, 0, 0.34);
    box-shadow: 0 0 22px rgba(255, 215, 0, 0.18);
}

.champion-card.gold .champion-pedestal-label {
    color: rgba(255, 228, 77, 0.92);
}

.champion-card:hover {
    transform: translateY(-10px) scale(1.01);
}

.leaderboard-container {
    position: relative;
}

.leaderboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.32), transparent);
    pointer-events: none;
}

.leaderboard-header {
    position: relative;
}

.leaderboard-header::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.12), transparent);
    pointer-events: none;
}

.trader-row-wrapper:nth-child(even) .trader-row::before {
    background: rgba(255, 255, 255, 0.008);
}

.trader-row:hover::before,
.trader-row-wrapper:nth-child(even) .trader-row:hover::before {
    background: rgba(255, 215, 0, 0.03);
}

.trader-row.current-user-row::before {
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.12);
}

.rank-badge {
    position: relative;
    overflow: hidden;
}

.rank-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 160, 23, 0.08);
}

.footer-seal-row {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.footer-seal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
        rgba(8, 14, 24, 0.78);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: sealPulse 5.8s ease-in-out infinite;
}

.footer-seal i {
    color: var(--accent-gold);
    font-size: 0.98rem;
}

@media (max-width: 900px) {
    .podium-grid::before {
        display: none;
    }

    .podium-stage {
        display: none;
    }

    .podium-slot-1 {
        transform: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        gap: 14px;
    }

    .logo-container {
        justify-content: center;
    }

    .logo-text {
        font-size: 1.05rem;
        letter-spacing: 0.06em;
    }

    .auth-container {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .nav-tabs {
        order: 3;
        width: min(100%, 340px);
        gap: 8px;
        padding: 8px;
    }

    .nav-tab {
        flex: 1 1 0;
        min-height: 46px;
        padding: 10px 8px;
        justify-content: center;
    }

    .nav-tab i {
        font-size: 1.08rem;
    }

    .btn-telegram-deep {
        width: min(100%, 240px);
        justify-content: center;
    }

    .hero-section::before {
        width: 360px;
        height: 190px;
        top: 12px;
    }

    .hero-orb {
        width: 88px;
        height: 88px;
        top: 82px;
        opacity: 0.72;
    }

    .slider-plaque {
        position: static;
        margin: 0 auto 12px;
    }

    .prize-slider-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .slider-plaque-right {
        display: none;
    }

    .section-copy {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .hero-stage-lines {
        inset-inline: 4%;
    }

    .logo-image {
        height: 32px;
    }

    .logo-text {
        font-size: 0.98rem;
    }

    .hero-title {
        font-size: 3.2rem;
        line-height: 0.98;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-badge {
        min-height: 40px;
        font-size: 0.84rem;
    }

    .hero-orb {
        display: none;
    }

    .prize-slider {
        border-radius: 22px;
    }

    .slide-award {
        height: 214px;
    }

    .leaderboard-meta-pill {
        min-height: 34px;
        font-size: 0.72rem;
        padding: 0 10px;
    }

    .footer-seal {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 10px 14px;
        min-height: 0;
        line-height: 1.35;
    }
}

/* ===== ASSET INTEGRATION ===== */
:root {
    --texture-asset: url('../assets/luxury_dark_gold_texture_4096.png');
    --seal-asset: url('../assets/gtc_seal_2048.png');
    --ornament-corner-asset: url('../assets/ornament-corner.svg');
    --ornament-divider-asset: url('../assets/ornament-divider.svg');
}

body::before {
    opacity: 0.16;
    background-image: var(--texture-asset);
    background-size: 880px 880px;
    background-repeat: repeat;
    background-position: center;
    mix-blend-mode: screen;
    mask-image: none;
    -webkit-mask-image: none;
}

.hero-section,
.champions-section,
.leaderboard-section,
.leaderboard-container,
.countdown-bar,
.footer-brand,
.footer-column {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
        var(--texture-asset);
    background-size: auto, 760px 760px;
    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-blend-mode: normal, soft-light;
}

.hero-section {
    border-radius: 28px;
    background-color: rgba(7, 12, 22, 0.14);
}

.leaderboard-container {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--texture-asset);
}

.countdown-bar {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        var(--texture-asset);
}

.footer-brand,
.footer-column {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
        var(--texture-asset);
}

.hero-section,
.champions-section,
.leaderboard-section,
.footer {
    position: relative;
}

.ornament-corners {
    position: absolute;
    inset: 14px;
    pointer-events: none;
    z-index: 0;
}

.ornament-corners .corner {
    position: absolute;
    width: 62px;
    height: 62px;
    background-image: var(--ornament-corner-asset);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.42;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.08));
}

.ornament-corners .corner.tl {
    top: 0;
    left: 0;
}

.ornament-corners .corner.tr {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.ornament-corners .corner.bl {
    bottom: 0;
    left: 0;
    transform: rotate(-90deg);
}

.ornament-corners .corner.br {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.ornament-corners-hero .corner {
    opacity: 0.36;
}

.section-divider {
    width: 240px;
    height: 24px;
    margin: -6px auto 28px;
    background-image: var(--ornament-divider-asset);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.78;
    pointer-events: none;
}

.section-divider-left {
    margin: -6px 0 26px;
}

.frame-clamps {
    position: absolute;
    inset: 8px;
    pointer-events: none;
    z-index: 3;
}

.frame-clamps .clamp {
    position: absolute;
    width: 34px;
    height: 34px;
    border-color: rgba(255, 215, 0, 0.28);
    border-style: solid;
    opacity: 0.74;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.08));
}

.frame-clamps .clamp.tl {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
    border-top-left-radius: 10px;
}

.frame-clamps .clamp.tr {
    top: 0;
    right: 0;
    border-width: 1px 1px 0 0;
    border-top-right-radius: 10px;
}

.frame-clamps .clamp.bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 1px 1px;
    border-bottom-left-radius: 10px;
}

.frame-clamps .clamp.br {
    right: 0;
    bottom: 0;
    border-width: 0 1px 1px 0;
    border-bottom-right-radius: 10px;
}

.frame-clamps-slider {
    inset: 18px;
}

.seal-watermark {
    position: absolute;
    width: 420px;
    aspect-ratio: 1 / 1;
    background-image: var(--seal-asset);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.11;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: saturate(0.92) brightness(0.92);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.82) 58%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.82) 58%, transparent 78%);
}

.seal-watermark-hero {
    top: -14px;
    right: 2%;
    width: 380px;
    opacity: 0.095;
    transform: rotate(9deg);
}

.seal-watermark-podium {
    top: 48px;
    left: 50%;
    width: 340px;
    opacity: 0.06;
    transform: translateX(-50%);
}

.seal-watermark-footer {
    right: 7%;
    bottom: 18px;
    width: 250px;
    opacity: 0.07;
}

@media (max-width: 900px) {
    .seal-watermark-hero {
        width: 260px;
        top: 44px;
        right: -4%;
        opacity: 0.075;
    }

    .seal-watermark-podium {
        width: 260px;
        top: 84px;
        opacity: 0.05;
    }

    .seal-watermark-footer {
        width: 210px;
        right: 50%;
        bottom: 18px;
        transform: translateX(50%);
        opacity: 0.055;
    }
}

@media (max-width: 768px) {
    .hero-section {
        border-radius: 22px;
    }

    .seal-watermark-hero {
        width: 220px;
        top: 70px;
        right: 50%;
        transform: translateX(50%);
        opacity: 0.06;
    }

    .seal-watermark-podium {
        width: 210px;
        top: 92px;
        opacity: 0.045;
    }
}

@media (max-width: 520px) {
    .seal-watermark-hero,
    .seal-watermark-podium,
    .seal-watermark-footer {
        opacity: 0.042;
    }

    .seal-watermark-footer {
        width: 180px;
        bottom: 28px;
    }
}

/* ===== CINEMATIC REFINEMENT ===== */
@keyframes heroAuraDrift {
    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.88;
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 1;
    }
}

@keyframes frameSweep {
    0% {
        background-position: 130% 0, 0 0, 0 0;
    }

    100% {
        background-position: -40% 0, 0 0, 0 0;
    }
}

@keyframes podiumGlowBreath {
    0%,
    100% {
        opacity: 0.78;
        transform: scale(1);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.03);
    }
}

@keyframes institutionalSheen {
    0%,
    100% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 36px rgba(0, 0, 0, 0.26);
    }

    50% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 42px rgba(0, 0, 0, 0.32);
    }
}

body::before {
    opacity: 0.125;
    background-size: 980px 980px;
}

.hero-section,
.champions-section,
.leaderboard-section,
.leaderboard-container,
.countdown-bar,
.footer-brand,
.footer-column {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
        radial-gradient(circle at center, rgba(6, 10, 18, 0.76) 0%, rgba(6, 10, 18, 0.62) 34%, rgba(6, 10, 18, 0.42) 66%, rgba(6, 10, 18, 0.26) 100%),
        var(--texture-asset);
    background-size: auto, auto, 820px 820px;
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: center, center, center;
    background-blend-mode: normal, normal, soft-light;
}

.hero-section::before {
    animation: heroAuraDrift 18s ease-in-out infinite;
}

.hero-orb {
    animation-duration: 14s;
}

.seal-watermark {
    filter: saturate(0.82) brightness(0.84) blur(0.1px);
}

.prize-slider {
    isolation: isolate;
    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 0 1px rgba(255, 215, 0, 0.08),
        0 0 0 1px rgba(255, 215, 0, 0.04);
}

.prize-slider::before {
    inset: 11px;
    border-color: rgba(255, 215, 0, 0.13);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 0 32px rgba(255, 215, 0, 0.045);
}

.prize-slider::after {
    background:
        linear-gradient(110deg, transparent 26%, rgba(255, 255, 255, 0.055) 38%, rgba(255, 215, 0, 0.05) 44%, transparent 56%),
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
    background-size: 220% 100%, 100% 100%, 100% 100%;
    animation: frameSweep 10.5s linear infinite;
}

.slider-plaque {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012)),
        rgba(8, 14, 26, 0.94);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.countdown-bar {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 14px 30px rgba(0, 0, 0, 0.22);
}

.champion-card {
    animation: institutionalSheen 12s ease-in-out infinite;
}

.champion-card-glow {
    animation: podiumGlowBreath 12s ease-in-out infinite;
}

.champion-card.gold .champion-card-glow {
    opacity: 0.96;
}

.leaderboard-container {
    border-color: rgba(212, 160, 23, 0.12);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.leaderboard-topbar {
    position: relative;
    padding-top: 26px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
}

.leaderboard-topbar::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.16), transparent);
    pointer-events: none;
}

.leaderboard-kicker {
    color: rgba(255, 228, 77, 0.96);
}

.leaderboard-title {
    letter-spacing: -0.035em;
}

.leaderboard-meta-pill {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.02);
    border-color: rgba(212, 160, 23, 0.18);
    color: #b7c0cf;
}

.leaderboard-header {
    color: rgba(156, 168, 186, 0.82);
    letter-spacing: 0.08em;
}

.leaderboard-header > div:first-child,
.leaderboard-header > div:last-child {
    position: relative;
}

.leaderboard-header > div:first-child::before,
.leaderboard-header > div:last-child::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.46);
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.16);
}

.leaderboard-header > div:first-child::before {
    left: -10px;
}

.leaderboard-header > div:last-child::after {
    right: -10px;
}

.trader-row::before {
    border: 1px solid transparent;
}

.trader-row::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), transparent);
    transform: translateY(-50%);
    opacity: 0.65;
    pointer-events: none;
}

.trader-row:hover::before {
    background: rgba(255, 215, 0, 0.028);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.075);
}

.trader-row.current-user-row::before {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.095), rgba(255, 215, 0, 0));
}

.trader-row.top-1::before {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.018));
}

.trader-row.top-2::before {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.08), rgba(192, 192, 192, 0.015));
}

.trader-row.top-3::before {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.09), rgba(205, 127, 50, 0.015));
}

.trader-row.top-1 .rank-badge,
.trader-row.top-2 .rank-badge,
.trader-row.top-3 .rank-badge {
    position: relative;
    overflow: visible;
}

.trader-row.top-1 .rank-badge::before,
.trader-row.top-2 .rank-badge::before,
.trader-row.top-3 .rank-badge::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.12);
    opacity: 0.72;
}

.trader-row.top-2 .rank-badge::before {
    border-color: rgba(192, 192, 192, 0.16);
}

.trader-row.top-3 .rank-badge::before {
    border-color: rgba(205, 127, 50, 0.16);
}

.trader-row.top-1 .trader-name,
.trader-row.top-2 .trader-name,
.trader-row.top-3 .trader-name {
    font-weight: 700;
}

.trader-row.top-1 .stat-value,
.trader-row.top-2 .stat-value,
.trader-row.top-3 .stat-value {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.04);
}

.trader-name {
    color: rgba(245, 247, 250, 0.98);
    letter-spacing: -0.015em;
}

.trader-you-badge,
.insight-pill,
.leaderboard-meta-pill,
.hero-badge,
.slider-plaque {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.trader-subtitle {
    color: rgba(129, 145, 170, 0.82);
}

.stat-value {
    color: rgba(233, 238, 245, 0.95);
}

.roi-value {
    color: #ffd54a;
}

.trader-details {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
        rgba(7, 14, 24, 0.74);
}

.trader-row-wrapper.expanded .trader-details {
    border-top-color: rgba(255, 215, 0, 0.11);
}

@media (max-width: 768px) {
    body::before {
        opacity: 0.105;
    }

    .ornament-corners {
        inset: 10px;
    }

    .ornament-corners .corner {
        width: 48px;
        height: 48px;
        opacity: 0.32;
    }

    .leaderboard-topbar {
        padding-top: 22px;
    }

    .section-divider {
        width: 190px;
        margin-bottom: 22px;
    }

    .frame-clamps-slider {
        inset: 14px;
    }

    .frame-clamps .clamp {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 520px) {
    body::before {
        opacity: 0.09;
    }

    .prize-slider::after,
    .champion-card,
    .champion-card-glow {
        animation-duration: 14s;
    }

    .ornament-corners .corner {
        width: 40px;
        height: 40px;
        opacity: 0.26;
    }

    .section-divider {
        width: 164px;
    }

    .frame-clamps-slider {
        inset: 12px;
    }
}

/* ============================================
   ADMIN PANEL
   ============================================ */

.nav-tab-admin {
    border-color: rgba(212, 160, 23, 0.3) !important;
}
.nav-tab-admin i { color: var(--accent-gold); }

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-tab {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-tab:hover { border-color: var(--accent-gold); color: var(--text-light); }
.admin-tab.active {
    background: rgba(212, 160, 23, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}
.admin-section-header h3 { font-size: 1rem; color: var(--text-light); margin: 0; }
.admin-section-subtitle { margin: 6px 0 0; }

.admin-section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-admin-refresh {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-admin-refresh:hover { border-color: var(--accent-gold); color: var(--text-light); }

.admin-table-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow-x: hidden;
    padding: 18px;
}

.admin-table-wrap.admin-accounts-fit {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}
.admin-table th {
    background: rgba(212, 160, 23, 0.08);
    color: var(--accent-gold);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.admin-table td {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    white-space: normal;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.015); }

.admin-accounts-table,
.admin-accounts-table-compact {
    table-layout: auto;
}

.admin-accounts-table th,
.admin-accounts-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.admin-accounts-table th:nth-child(1),
.admin-accounts-table td:nth-child(1) { width: 36%; }
.admin-accounts-table th:nth-child(2),
.admin-accounts-table td:nth-child(2) { width: 24%; }
.admin-accounts-table th:nth-child(3),
.admin-accounts-table td:nth-child(3) { width: 40%; }

.admin-account-row td {
    padding-top: 12px;
    padding-bottom: 12px;
}

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(212, 160, 23, 0.35);
    flex-shrink: 0;
    background: rgba(255,255,255,0.04);
}

.admin-user-avatar-compact {
    width: 30px;
    height: 30px;
}

.admin-user-inline-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    flex-wrap: nowrap;
}

.admin-user-name {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.admin-user-username {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.admin-user-fact,
.admin-account-inline-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
    font-size: 0.68rem;
    line-height: 1;
    flex-shrink: 0;
}

.admin-account-broker {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.admin-account-primary,
.admin-account-secondary {
    min-width: 0;
    white-space: nowrap;
}

.admin-account-primary {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.25;
    flex-shrink: 0;
}

.admin-accounts-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-accounts-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-accounts-toolbar-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-archive-summary {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.admin-account-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-account-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.035);
    color: var(--text-secondary);
    font-family: var(--font-family);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-account-filter-chip:hover,
.admin-account-filter-chip.active {
    border-color: rgba(212, 160, 23, 0.34);
    background: rgba(212, 160, 23, 0.08);
    color: var(--accent-gold);
}

.admin-account-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text-light);
    font-size: 0.68rem;
}

.admin-account-filter-count.pending {
    background: rgba(212, 160, 23, 0.16);
    color: var(--accent-gold);
}

.admin-account-filter-count.error {
    background: rgba(255, 80, 80, 0.16);
    color: #ff7c7c;
}

.admin-bulk-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,0.045), rgba(212, 160, 23, 0.045));
}

.admin-bulk-action-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.admin-bulk-action-copy strong {
    color: var(--text-light);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-bulk-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.admin-bulk-action-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.68rem;
}

.admin-archive-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    font-family: var(--font-family);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-archive-toggle:hover {
    border-color: rgba(212, 160, 23, 0.25);
    color: var(--accent-gold);
}

.admin-archive-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 6px;
}

.admin-archive-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-archive-header h4 {
    margin: 0;
}

.admin-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
}
.admin-status-badge.active { background: rgba(0, 200, 100, 0.15); color: #00c864; }
.admin-status-badge.ready { background: rgba(0, 200, 100, 0.15); color: #00c864; }
.admin-status-badge.verified { background: rgba(0, 200, 100, 0.15); color: #00c864; }
.admin-status-badge.pending { background: rgba(212, 160, 23, 0.12); color: var(--accent-gold); }
.admin-status-badge.disconnected { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.admin-status-badge.unknown { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.admin-status-badge.error { background: rgba(255, 80, 80, 0.15); color: #ff5050; }
.admin-status-badge.inactive { background: rgba(212, 160, 23, 0.12); color: var(--accent-gold); }

.btn-admin-lift {
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #ff5050;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}
.btn-admin-lift:hover { background: rgba(255, 80, 80, 0.2); }

.admin-loading { padding: 24px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.admin-empty { padding: 32px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.admin-control-empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.admin-control-plane-wrap {
    overflow: visible;
}

.admin-control-plane-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-control-generated {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.admin-control-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-control-metric-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)),
        rgba(9, 13, 24, 0.82);
}

.admin-control-metric-card.ready {
    border-color: rgba(0, 200, 100, 0.26);
}

.admin-control-metric-card.pending {
    border-color: rgba(212, 160, 23, 0.26);
}

.admin-control-metric-card.error {
    border-color: rgba(255, 80, 80, 0.28);
}

.admin-control-metric-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-control-metric-label i {
    color: var(--accent-gold);
    font-size: 0.95rem;
}

.admin-control-metric-value {
    color: var(--text-light);
    font-size: 1.4rem;
    line-height: 1.05;
}

.admin-control-metric-detail {
    color: var(--text-muted);
    font-size: 0.79rem;
    line-height: 1.45;
}

.admin-control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.admin-control-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-control-card-wide {
    grid-column: 1 / -1;
}

.admin-control-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-control-header-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.admin-control-header-meta h4 {
    margin: 0;
}

.admin-control-header-meta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.79rem;
    line-height: 1.5;
}

.admin-control-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-control-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-control-section-title {
    margin-bottom: 8px;
    color: var(--accent-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-control-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-control-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-control-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
}

.admin-control-list-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-control-list-copy strong {
    color: var(--text-light);
    font-size: 0.78rem;
}

.admin-control-list-copy span {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.admin-control-action-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: auto;
}

.admin-control-fact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-control-fact-strip-compact {
    gap: 6px;
}

.admin-control-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-control-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.28);
    background: rgba(212, 160, 23, 0.08);
    color: var(--text-light);
    font-size: 0.78rem;
    text-decoration: none;
}

.admin-control-link:hover {
    border-color: rgba(212, 160, 23, 0.5);
    background: rgba(212, 160, 23, 0.14);
}

.admin-control-fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 0.73rem;
    line-height: 1.2;
}

.admin-control-fact strong {
    color: var(--text-light);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.admin-control-bucket-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 10px;
}

.admin-control-bucket {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
}

.admin-control-bucket strong {
    color: var(--accent-gold);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-control-bucket span {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 700;
}

.admin-control-mini-note {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.admin-account-scope-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.2);
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), rgba(255,255,255,0.02));
}

.admin-account-scope-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-account-scope-copy strong {
    color: var(--text-light);
    font-size: 0.8rem;
}

.admin-account-scope-copy span {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.admin-bulk-audit-filter-shell {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-bulk-audit-failure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.admin-inline-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-inline-badges-compact {
    gap: 5px;
}

.admin-account-muted {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.admin-account-signal-line {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-signal-compact,
.admin-account-broker-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.admin-signal-summary {
    min-width: 0;
    flex: 1 1 auto;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.74rem;
}

.admin-signals-cell-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.admin-row-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.admin-row-toggle:hover,
.admin-row-toggle.open {
    color: var(--accent-gold);
    border-color: rgba(212, 160, 23, 0.34);
    background: rgba(212, 160, 23, 0.08);
}

.admin-row-toggle i {
    transition: transform var(--transition-fast);
}

.admin-row-toggle.open i {
    transform: rotate(180deg);
}

.admin-account-detail-row td {
    padding-top: 0;
    border-top: none;
    min-width: 0;
    overflow: hidden;
}

.admin-account-details-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-account-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 10px;
    padding: 0 0 12px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.admin-account-detail-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.admin-account-details-grid > * {
    min-width: 0;
    max-width: 100%;
}

.admin-account-detail-label {
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-account-detail-value {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-admin-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.045);
    color: var(--text-light);
    font-family: var(--font-family);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-admin-inline:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(212, 160, 23, 0.34);
}

.btn-admin-inline:disabled,
.btn-admin-inline.is-busy {
    opacity: 0.52;
    cursor: not-allowed;
    transform: none;
}

.btn-admin-inline.primary {
    border-color: rgba(212, 160, 23, 0.28);
    background: rgba(212, 160, 23, 0.12);
    color: var(--accent-gold);
}

.btn-admin-inline.secondary {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}

.btn-admin-inline.danger {
    border-color: rgba(255, 80, 80, 0.3);
    background: rgba(255, 80, 80, 0.12);
    color: #ff8b8b;
}

.admin-account-action-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.admin-control-table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

.admin-control-table-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.admin-control-table-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-control-table-head h5,
.admin-control-sample-head h5 {
    margin: 0;
    color: var(--text-light);
    font-size: 0.84rem;
}

.admin-control-table-head p,
.admin-control-sample-head p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.admin-control-samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.admin-control-sample-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.admin-control-sample-card-alert {
    border-color: rgba(255, 80, 80, 0.25);
    background: linear-gradient(180deg, rgba(255, 80, 80, 0.08), rgba(255,255,255,0.03));
}

.admin-control-sample-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-control-sample-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-control-sample-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
}

.admin-control-sample-title {
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-control-sample-meta {
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.5;
}

.admin-control-jump {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(212, 160, 23, 0.28);
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-gold);
    font-family: var(--font-family);
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-control-jump:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(255, 215, 0, 0.38);
}

.admin-control-jump:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-worker-instance-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    .admin-section-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-table-wrap.admin-accounts-fit {
        overflow-x: hidden;
    }

    .admin-accounts-table {
        min-width: 0;
    }

    .admin-control-grid {
        grid-template-columns: 1fr;
    }

    .admin-control-card-wide {
        grid-column: auto;
    }

    .admin-control-table-grid,
    .admin-control-samples-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .admin-accounts-table {
        min-width: 0;
    }

    .admin-control-metric-grid,
    .admin-control-subgrid,
    .admin-control-bucket-row {
        grid-template-columns: 1fr;
    }

    .admin-control-header {
        flex-direction: column;
    }

    .admin-account-filter-row,
    .admin-bulk-action-row,
    .admin-bulk-action-buttons,
    .admin-account-actions {
        width: 100%;
    }

    .admin-bulk-action-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-admin-inline {
        width: 100%;
        justify-content: center;
    }
}

.admin-slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.admin-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
}
.admin-card-wide { max-width: 640px; }
.admin-card h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-card h4 i { color: var(--accent-gold); }
.admin-hint { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 14px; }
.admin-hint code { background: rgba(255,255,255,0.08); padding: 1px 5px; border-radius: 3px; }

.admin-image-preview {
    width: 100%;
    aspect-ratio: 798 / 300;
    background: rgba(0,0,0,0.3);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.admin-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-image-preview span { color: var(--text-muted); font-size: 0.8rem; }

.btn-admin-upload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: all 0.2s;
    margin-bottom: 8px;
}
.btn-admin-upload:hover { border-color: var(--accent-gold); color: var(--text-light); }

.btn-admin-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.4);
    color: var(--accent-gold);
    padding: 8px 16px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
    margin-top: 4px;
}
.btn-admin-save:hover { background: rgba(212, 160, 23, 0.25); }
.btn-admin-save:disabled { opacity: 0.5; cursor: not-allowed; }

.admin-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.admin-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 7px;
    font-size: 0.9rem;
    width: 90px;
}
.admin-input:focus { outline: none; border-color: var(--accent-gold); }
.admin-input-unit { color: var(--text-muted); font-size: 0.85rem; }

.admin-textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-light);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.admin-textarea:focus { outline: none; border-color: var(--accent-gold); }

.admin-broadcast-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-admin-send {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-admin-send:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,160,23,0.4); }
.btn-admin-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-admin-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.4);
    color: #ff5050;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-admin-danger:hover { background: rgba(255, 80, 80, 0.22); border-color: #ff5050; }
.btn-admin-danger:disabled { opacity: 0.5; cursor: not-allowed; }

.admin-status {
    font-size: 0.8rem;
    margin-top: 8px;
    min-height: 18px;
}
.admin-status.info { color: #8fa6c9; }
.admin-status.success { color: #00c864; }
.admin-status.error { color: #ff5050; }

/* ===== USER FIX PASS ===== */
.seal-watermark {
    display: none !important;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.podium-stage,
.podium-grid::before,
.podium-grid::after {
    display: none !important;
}

.podium-grid {
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    justify-content: center;
    gap: 26px;
}

.podium-slot-1,
.podium-slot-2,
.podium-slot-3 {
    grid-column: auto;
    transform: none !important;
    z-index: 1;
}

.champion-card,
.champion-card.gold,
.champion-card.silver,
.champion-card.bronze {
    min-height: 440px;
    height: 100%;
}

.champion-card:hover {
    transform: translateY(-6px);
}

.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1420px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}

.footer-brand,
.footer-column {
    height: 100%;
}

.hero-section,
.champions-section,
.leaderboard-section,
.leaderboard-toolbar,
.leaderboard-container,
.quick-stat-card,
.champion-card,
.footer-brand,
.footer-column,
.footer-seal,
.market-pill,
.hero-badge {
    border-color: rgba(255, 215, 0, 0.055);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.16),
        0 0 44px rgba(255, 215, 0, 0.022),
        inset 0 1px 0 rgba(255, 255, 255, 0.022);
}

.hero-section {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.038), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.006)),
        linear-gradient(180deg, rgba(6, 12, 22, 0.44), rgba(6, 12, 22, 0.22)),
        var(--texture-asset);
    background-blend-mode: screen, normal, normal, soft-light;
}

.champions-section,
.leaderboard-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.026), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006)),
        rgba(7, 12, 22, 0.36);
}

.leaderboard-container,
.leaderboard-toolbar,
.quick-stat-card,
.champion-card,
.footer-brand,
.footer-column {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.quick-stat-card,
.champion-card,
.footer-brand,
.footer-column {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.006)),
        linear-gradient(180deg, rgba(7, 12, 22, 0.72), rgba(7, 12, 22, 0.48));
}

.leaderboard-container {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.022), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006)),
        linear-gradient(180deg, rgba(6, 12, 22, 0.8), rgba(6, 12, 22, 0.68));
}

.leaderboard-toolbar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004)),
        linear-gradient(180deg, rgba(7, 12, 22, 0.68), rgba(7, 12, 22, 0.5));
}

.champion-card::before {
    opacity: 0.18;
}

.champion-card::after,
.quick-stat-card::before {
    opacity: 0.22;
    filter: blur(32px);
}

@media (max-width: 1100px) {
    .podium-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .hero-badges {
        grid-template-columns: 1fr;
        width: min(100%, 520px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}

/* ===== USER FIX PASS 3 ===== */
body {
    position: relative;
    background-image:
        radial-gradient(circle at 15% 18%, rgba(255, 215, 0, 0.11), transparent 20%),
        radial-gradient(circle at 82% 16%, rgba(255, 215, 0, 0.08), transparent 18%),
        radial-gradient(circle at 50% 55%, rgba(212, 160, 23, 0.045), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(180deg, #050912 0%, #09101b 48%, #060a12 100%);
    background-color: var(--bg-primary);
}

body::before,
body::after {
    display: block !important;
}

body::before {
    opacity: 0.22;
    background:
        linear-gradient(rgba(255, 215, 0, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.018) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black 22%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, black 22%, transparent 78%);
}

body::after {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.08), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(255, 215, 0, 0.035), transparent 24%);
}

.hero-orb,
.hero-orb::after,
.prize-slider-wrapper::before,
.prize-slider-wrapper::after {
    display: none !important;
}

.hero-section,
.champions-section,
.leaderboard-section,
.countdown-bar,
.leaderboard-container,
.leaderboard-toolbar,
.quick-stat-card,
.champion-card,
.footer-brand,
.footer-column,
.footer-seal,
.market-pill,
.hero-badge,
.time-box,
.search-bar {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
        radial-gradient(circle at center, rgba(6, 10, 18, 0.76) 0%, rgba(6, 10, 18, 0.62) 34%, rgba(6, 10, 18, 0.42) 66%, rgba(6, 10, 18, 0.26) 100%) !important;
    background-color: rgba(7, 12, 22, 0.72);
    background-blend-mode: normal, normal;
}

.hero-section {
    background-color: rgba(7, 12, 22, 0.14);
}

.prize-slider {
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 215, 0, 0.06);
}

.prize-slider::after {
    background:
        linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.038) 40%, rgba(255, 215, 0, 0.03) 46%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%);
    background-size: 220% 100%, 100% 100%;
    animation: frameSweep 12s linear infinite;
}

.leaderboard-header > div:first-child::before,
.leaderboard-header > div:last-child::after {
    display: none !important;
}

@keyframes rowArrowFloat {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.88;
    }

    50% {
        transform: translateY(2px);
        opacity: 1;
    }
}

.row-arrow {
    color: rgba(255, 215, 0, 0.92);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.2);
    animation: rowArrowFloat 1.8s ease-in-out infinite;
}

.trader-row-wrapper.expanded .row-arrow {
    animation: none;
    transform: rotate(180deg);
}

.footer-brand-title,
.footer-heading {
    color: rgba(255, 215, 0, 0.96);
    font-size: 0.92rem;
    letter-spacing: 0.1em;
}

.footer-brand-title::after,
.footer-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.75), transparent);
}

.footer-brand-copy,
.footer-column p {
    max-width: 38ch;
    margin: 0 auto;
}

/* ===== USER FIX PASS 2 ===== */
:root {
    --texture-asset: none;
}

body {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.016), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.003)),
        linear-gradient(180deg, #08101d 0%, #070d18 52%, #050b14 100%);
    background-color: #050b14;
}

body::before {
    display: none !important;
}

.hero-section,
.champions-section,
.leaderboard-section,
.countdown-bar,
.leaderboard-container,
.leaderboard-toolbar,
.quick-stat-card,
.champion-card,
.footer-brand,
.footer-column,
.footer-seal,
.market-pill,
.hero-badge,
.time-box,
.search-bar {
    background-image: none !important;
}

.hero-section,
.champions-section,
.leaderboard-section,
.countdown-bar,
.leaderboard-container,
.leaderboard-toolbar,
.quick-stat-card,
.champion-card,
.footer-brand,
.footer-column,
.footer-seal,
.market-pill,
.hero-badge,
.time-box,
.search-bar {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.018), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005)),
        linear-gradient(180deg, rgba(9, 16, 29, 0.9), rgba(6, 12, 22, 0.82));
}

.countdown-bar {
    min-height: 160px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}

.countdown-label {
    margin: 0;
}

.countdown {
    min-height: 78px;
    align-items: center;
}

.time-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-brand {
    display: flex;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .countdown-bar {
        min-height: 150px;
        padding: 16px 14px;
    }
}

/* ===== VERSION B FRONTEND REBALANCE ===== */
.hero-title,
.countdown .time-val,
.quick-stat-value,
.champion-stat-val,
.stat-value,
.rank-badge,
.d-val {
    font-variant-numeric: tabular-nums;
}

.hero-section::after {
    inset: 20px 7% auto;
    background:
        linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.18) 18%, rgba(255, 215, 0, 0.4) 50%, rgba(255, 215, 0, 0.18) 82%, transparent),
        repeating-linear-gradient(90deg, transparent 0 32px, rgba(255, 215, 0, 0.06) 32px 33px, transparent 33px 66px);
}

.hero-stage-lines {
    inset: 16px 9% auto;
    opacity: 0.64;
}

.hero-stage-lines span {
    height: 10px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.18), transparent),
        repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 215, 0, 0.12) 16px 17px, transparent 17px 34px);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-badges {
    gap: 10px;
}

.hero-badge,
.market-pill,
.leaderboard-meta-pill,
.slider-plaque,
.footer-seal {
    border-color: rgba(255, 215, 0, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.028), rgba(255, 215, 0, 0)),
        rgba(8, 14, 24, 0.92);
}

.hero-badge,
.leaderboard-meta-pill,
.slider-plaque {
    letter-spacing: 0.08em;
}

.hero-market-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 860px);
    margin: 18px auto 0;
    position: relative;
    z-index: 1;
}

.market-pill {
    position: relative;
    display: grid;
    gap: 2px;
    min-height: 62px;
    padding: 12px 14px 11px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.022), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.market-pill::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.7), rgba(255, 215, 0, 0));
    opacity: 0.78;
}

.market-pill-key {
    color: rgba(138, 151, 171, 0.92);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.market-pill-value {
    color: rgba(244, 247, 252, 0.94);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

#view-leaderboard .hero-section {
    padding: 26px 28px 26px;
}

#view-leaderboard .hero-kicker {
    margin: 0 0 12px;
}

#view-leaderboard .hero-title {
    margin: 0 0 14px;
}

#view-leaderboard .hero-subtitle {
    margin: 0 auto 18px;
}

#view-leaderboard .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 940px);
    margin: 0 auto;
    margin-top: 0;
}

#view-leaderboard .hero-market-strip {
    margin-top: 12px;
}

#view-leaderboard .hero-badge {
    justify-content: center;
    min-width: 0;
    padding: 0 18px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    #view-leaderboard .hero-badges {
        display: flex;
        width: auto;
    }

    #view-leaderboard .hero-badge {
        white-space: normal;
    }
}

.ornament-corners .corner {
    width: 26px;
    height: 26px;
    background-image: none;
    border-top: 1px solid rgba(255, 215, 0, 0.28);
    border-left: 1px solid rgba(255, 215, 0, 0.28);
    opacity: 0.92;
    filter: none;
}

.ornament-corners .corner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 1px;
    background: rgba(255, 215, 0, 0.52);
    box-shadow: 0 6px 0 rgba(255, 215, 0, 0.18);
}

.ornament-corners-hero .corner,
.ornament-corners-section .corner {
    opacity: 0.62;
}

.section-divider {
    width: min(100%, 320px);
    height: 16px;
    margin: 2px auto 30px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.14) 18%, rgba(255, 215, 0, 0.42) 50%, rgba(255, 215, 0, 0.14) 82%, transparent),
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 215, 0, 0.08) 18px 19px, transparent 19px 38px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 1px, 100% 16px;
    opacity: 0.9;
}

.section-divider-left {
    margin: 4px 0 28px;
}

.frame-clamps .clamp {
    width: 18px;
    height: 18px;
    border-color: rgba(255, 215, 0, 0.26);
    opacity: 0.9;
    filter: none;
}

.frame-clamps-slider {
    inset: 16px;
}

.seal-watermark-hero {
    opacity: 0.048;
    width: 330px;
}

.seal-watermark-podium {
    opacity: 0.032;
    width: 290px;
}

.seal-watermark-footer {
    opacity: 0.04;
}

.prize-slider {
    border-radius: 24px;
}

.prize-slider::before {
    inset: 14px;
    border-color: rgba(255, 215, 0, 0.09);
}

.prize-slider::after {
    background:
        linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, 0.05) 36%, rgba(255, 215, 0, 0.04) 42%, transparent 56%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 54px, rgba(255, 215, 0, 0.035) 54px 55px, rgba(255, 255, 255, 0) 55px 110px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%);
    background-size: 220% 100%, 100% 100%, 100% 100%;
}

.slider-plaque {
    top: -18px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.7rem;
}

.slider-plaque i {
    font-size: 0.84rem;
}

.champions-section::after,
.leaderboard-section::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 24%),
        radial-gradient(circle at top center, rgba(255, 215, 0, 0.04), transparent 24%);
}

.podium-stage {
    opacity: 0.56;
}

.podium-stage-step {
    border-radius: 16px 16px 10px 10px;
    border-color: rgba(255, 215, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03), transparent 38%),
        rgba(9, 16, 28, 0.9);
}

.champion-card {
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.026), rgba(255, 215, 0, 0) 36%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0 1px, rgba(255, 255, 255, 0) 1px 28px),
        rgba(8, 15, 26, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.032), 0 18px 34px rgba(0, 0, 0, 0.26);
}

.champion-card::before {
    opacity: 0.34;
}

.champion-card::after {
    opacity: 0.24;
}

.champion-card.gold {
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32), 0 0 32px rgba(255, 215, 0, 0.05);
}

.champion-topline {
    margin-bottom: 12px;
}

.champion-rank-badge {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.08);
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.08em;
}

.champion-emblem {
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.032);
    border: 1px solid rgba(255, 215, 0, 0.08);
}

.champion-subtitle {
    margin-bottom: 10px;
    color: rgba(173, 185, 204, 0.86);
}

.champion-signal-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.champion-signal-bar span {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    background: rgba(255, 255, 255, 0.028);
    color: rgba(175, 188, 208, 0.9);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.champion-stat-block {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
        rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.035);
}

.champion-pedestal-label {
    letter-spacing: 0.18em;
}

.quick-stat-card {
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03), rgba(255, 215, 0, 0)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0 1px, rgba(255, 255, 255, 0) 1px 24px),
        rgba(8, 16, 28, 0.82);
}

.quick-stat-label {
    letter-spacing: 0.12em;
}

.quick-stat-value {
    letter-spacing: -0.03em;
}

.leaderboard-section {
    margin-top: 14px;
}

.leaderboard-container {
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.025), rgba(255, 215, 0, 0) 30%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0 1px, rgba(255, 255, 255, 0) 1px 32px),
        rgba(5, 11, 21, 0.92);
    border-color: rgba(255, 215, 0, 0.08);
}

.leaderboard-container::before {
    left: 22px;
    right: 22px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.14) 16%, rgba(255, 215, 0, 0.36) 50%, rgba(255, 215, 0, 0.14) 84%, transparent),
        repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 215, 0, 0.08) 20px 21px, transparent 21px 42px);
}

.leaderboard-topbar {
    padding-top: 24px;
    padding-bottom: 18px;
}

.leaderboard-kicker {
    letter-spacing: 0.18em;
}

.leaderboard-title {
    letter-spacing: -0.03em;
}

.leaderboard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leaderboard-meta-pill {
    min-height: 34px;
    border-radius: 12px;
    color: rgba(183, 195, 214, 0.92);
}

.leaderboard-header {
    background: rgba(255, 255, 255, 0.012);
    color: rgba(154, 168, 189, 0.88);
    letter-spacing: 0.12em;
}

.trader-row {
    min-height: 78px;
}

.trader-row::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.004)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.018), rgba(255, 215, 0, 0) 26%);
    border-color: rgba(255, 255, 255, 0.02);
}

.trader-row::after {
    width: 40px;
    background:
        linear-gradient(90deg, rgba(255, 215, 0, 0.2), transparent),
        repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 215, 0, 0.08) 8px 9px, transparent 9px 18px);
}

.trader-row:hover::before {
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.06);
}

.rank-badge {
    min-width: 46px;
    border-radius: 12px;
    padding: 10px 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        rgba(10, 18, 31, 0.94);
    border: 1px solid rgba(255, 215, 0, 0.08);
    letter-spacing: 0.06em;
}

.rank-badge::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 58%);
}

.trader-subtitle {
    letter-spacing: 0.02em;
}

.trader-you-badge,
.insight-pill {
    border-radius: 999px;
}

.trader-details {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.016), rgba(255, 255, 255, 0.008)),
        rgba(5, 10, 18, 0.88);
}

.d-label,
.score-formula {
    letter-spacing: 0.08em;
}

.footer-brand,
.footer-column {
    border-color: rgba(255, 215, 0, 0.08);
}

@media (max-width: 900px) {
    .hero-market-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-market-strip {
        gap: 8px;
        margin-top: 14px;
    }

    .market-pill {
        min-height: 56px;
        padding: 11px 12px 10px;
    }

    .market-pill-key {
        font-size: 0.64rem;
    }

    .market-pill-value {
        font-size: 0.82rem;
    }

    .ornament-corners .corner {
        width: 22px;
        height: 22px;
    }

    .section-divider {
        width: min(100%, 220px);
    }

    .frame-clamps-slider {
        inset: 12px;
    }

    .slider-plaque {
        min-height: 32px;
    }
}

@media (max-width: 520px) {
    .hero-market-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-pill {
        min-height: 0;
    }
}

@media (max-width: 380px) {
    .hero-market-strip {
        grid-template-columns: 1fr;
    }
}

/* ===== VERSION B FINAL PASS ===== */
.slider-telemetry {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 4;
    display: grid;
    gap: 4px;
    max-width: 300px;
    padding: 12px 14px 11px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03), rgba(255, 215, 0, 0)),
        rgba(7, 12, 20, 0.84);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.slider-telemetry::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.28), transparent);
}

.slider-telemetry-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.slider-telemetry-label,
.slider-telemetry-index {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.slider-telemetry-label {
    color: rgba(148, 162, 184, 0.92);
}

.slider-telemetry-index {
    color: rgba(255, 228, 77, 0.96);
}

.slider-telemetry-title {
    color: rgba(245, 247, 252, 0.98);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.slider-telemetry-meta {
    color: rgba(166, 179, 199, 0.82);
    font-size: 0.76rem;
    letter-spacing: 0.03em;
}

/* ===== AESTHETIC UPGRADE PASS ===== */
.btn-telegram-deep {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 219, 77, 0.18);
    background:
        linear-gradient(135deg, rgba(26, 139, 228, 0.98), rgba(21, 115, 198, 0.94)),
        linear-gradient(90deg, rgba(255, 219, 77, 0.18), rgba(255, 219, 77, 0));
    box-shadow:
        0 18px 38px rgba(14, 84, 144, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-telegram-deep::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(255, 211, 58, 0.18), rgba(255, 211, 58, 0));
    pointer-events: none;
}

.btn-telegram-deep::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 40%;
    height: 220%;
    transform: rotate(18deg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    opacity: 0.55;
    pointer-events: none;
}

.btn-telegram-deep:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 44px rgba(14, 84, 144, 0.34),
        0 0 0 1px rgba(255, 220, 92, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.countdown-bar {
    position: relative;
    max-width: 980px;
    padding: 28px 32px 30px;
    border-radius: 30px;
    border: 1px solid rgba(212, 160, 23, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0)),
        rgba(7, 12, 21, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 26px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.countdown-bar::before,
.countdown-bar::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.countdown-bar::before {
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.12), transparent 48%),
        linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.06), transparent);
}

.countdown-bar::after {
    inset: 16px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 22px;
}

.countdown-topline,
.countdown-subcopy,
.countdown,
.countdown-track {
    position: relative;
    z-index: 1;
}

.countdown-topline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.countdown-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(239, 246, 255, 0.88);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.countdown-status-pill i {
    color: rgba(255, 220, 92, 0.96);
}

.countdown-subcopy {
    max-width: 640px;
    margin: 4px auto 8px;
    text-align: center;
    color: rgba(173, 185, 203, 0.92);
    line-height: 1.7;
}

.countdown {
    gap: 14px;
}

.time-box {
    min-width: 94px;
    padding: 18px 18px 14px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        rgba(7, 12, 20, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 28px rgba(0, 0, 0, 0.16);
}

.time-val {
    font-size: 2.2rem;
    letter-spacing: -0.04em;
}

.time-sep {
    margin-bottom: 10px;
    font-size: 1.9rem;
}

.countdown-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.countdown-track-item {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(10, 15, 25, 0.82);
    text-align: left;
}

.countdown-track-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 216, 82, 0.9);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.countdown-track-value {
    color: rgba(225, 231, 241, 0.9);
    line-height: 1.55;
}

.champion-card.champion-placeholder {
    opacity: 0.72;
    filter: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)),
        rgba(10, 15, 24, 0.84);
}

.champion-btn-placeholder {
    color: rgba(255, 233, 135, 0.68);
    border-color: rgba(255, 215, 0, 0.14);
    background: rgba(255, 215, 0, 0.05);
    opacity: 0.82 !important;
    cursor: default !important;
}

.quick-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.quick-stat-card {
    position: relative;
    gap: 14px;
    max-width: none;
    min-height: 106px;
    padding: 18px 20px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        rgba(10, 15, 25, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 16px 42px rgba(0, 0, 0, 0.18);
}

.quick-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.14), transparent 42%);
    opacity: 0.9;
    pointer-events: none;
}

.quick-stat-card::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.24), transparent);
}

.quick-stat-card > * {
    position: relative;
    z-index: 1;
}

.quick-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 24px 52px rgba(0, 0, 0, 0.24);
}

.quick-stat-avatar-wrap {
    width: 48px;
    height: 48px;
    padding: 3px;
    border: 1px solid rgba(255, 215, 0, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.quick-stat-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.quick-stat-label {
    color: rgba(255, 216, 82, 0.88);
    letter-spacing: 0.14em;
    font-size: 0.66rem;
    font-weight: 800;
}

.quick-stat-name {
    margin-top: 4px;
    font-size: 0.98rem;
    color: rgba(243, 247, 252, 0.96);
}

.quick-stat-value {
    font-size: 1.29rem;
    letter-spacing: -0.04em;
}

.profile-empty {
    padding: 16px 0 0;
}

.profile-empty-shell {
    position: relative;
    display: grid;
    gap: 26px;
    padding: 42px 34px 38px;
    border-radius: 28px;
    border: 1px solid rgba(212, 160, 23, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(255, 215, 0, 0)),
        rgba(8, 13, 23, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 24px 64px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.profile-empty-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.12), transparent 42%),
        linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.04), transparent);
    pointer-events: none;
}

.profile-empty-shell > * {
    position: relative;
    z-index: 1;
}

.profile-empty-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 216, 82, 0.92);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.profile-empty h3 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1;
    color: rgba(248, 250, 252, 0.98);
    letter-spacing: -0.05em;
}

.profile-empty #profileEmptyText {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(179, 191, 209, 0.9);
    font-size: 1.04rem;
    line-height: 1.75;
}

.profile-empty-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.profile-empty-step,
.profile-empty-card {
    display: grid;
    gap: 10px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(9, 15, 24, 0.8);
    text-align: left;
}

.profile-empty-step {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 14px;
}

.profile-empty-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.16);
    color: rgba(255, 216, 82, 0.94);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.profile-empty-step strong,
.profile-empty-card-title {
    display: block;
    color: rgba(245, 247, 250, 0.96);
    font-weight: 800;
}

.profile-empty-step span:not(.profile-empty-step-index),
.profile-empty-card-copy {
    color: rgba(166, 178, 196, 0.88);
    line-height: 1.6;
}

.profile-empty-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.profile-empty-card i {
    font-size: 1.3rem;
    color: rgba(255, 216, 82, 0.9);
}

.profile-empty-actions {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.profile-empty-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.12);
    color: rgba(220, 228, 239, 0.9);
    font-weight: 600;
}

.profile-empty-hint i {
    color: rgba(255, 216, 82, 0.96);
}

.hall-hero-section {
    padding-bottom: 30px;
}

.hall-hero-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.hall-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(225, 233, 243, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
}

.hall-hero-pill i {
    color: rgba(255, 216, 82, 0.92);
}

.hall-of-fame-root {
    display: grid;
    gap: 20px;
}

.hall-empty-state {
    display: grid;
    gap: 20px;
    padding: 30px 32px;
    border-radius: 28px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
        linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(255, 215, 0, 0)),
        rgba(8, 13, 22, 0.82);
}

.hall-empty-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
}

.hall-empty-crest {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.hall-empty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hall-empty-panel {
    display: grid;
    gap: 8px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(10, 16, 26, 0.82);
}

.hall-empty-panel-kicker {
    color: rgba(255, 216, 82, 0.9);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hall-empty-panel strong {
    color: rgba(244, 247, 251, 0.96);
    font-size: 1rem;
    line-height: 1.35;
}

.hall-empty-panel p {
    color: rgba(170, 182, 198, 0.88);
    line-height: 1.65;
}

.footer {
    position: relative;
    margin-top: 118px;
    padding: 56px 0 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.08);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.08), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        rgba(4, 8, 16, 0.96);
}

.footer-brand,
.footer-column {
    padding: 26px 26px 24px;
    border-radius: 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 44px rgba(0, 0, 0, 0.18);
}

.footer-brand {
    gap: 20px;
}

.footer-logo {
    width: 70px;
    height: 70px;
}

.footer-brand-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.footer-metric {
    display: grid;
    gap: 6px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.footer-metric strong {
    color: rgba(255, 216, 82, 0.92);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-metric span {
    color: rgba(188, 198, 213, 0.86);
    line-height: 1.55;
    font-size: 0.88rem;
}

.footer-inline-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(225, 232, 241, 0.9);
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-inline-chip i {
    color: rgba(255, 216, 82, 0.94);
}

@media (max-width: 1100px) {
    .quick-stats-bar,
    .profile-empty-flow,
    .profile-empty-highlights,
    .hall-empty-grid,
    .footer-brand-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .countdown-bar {
        padding: 22px 16px 20px;
        border-radius: 24px;
    }

    .countdown-topline {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-track,
    .quick-stats-bar,
    .profile-empty-flow,
    .profile-empty-highlights,
    .hall-empty-grid,
    .footer-brand-metrics {
        grid-template-columns: 1fr;
    }

    .time-box {
        min-width: 78px;
    }

    .profile-empty-shell,
    .hall-empty-state {
        padding: 24px 18px 22px;
    }

    .hall-empty-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hall-empty-crest {
        justify-self: center;
    }
}

.section-system-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 20px;
    position: relative;
    z-index: 1;
}

.section-system-strip-centered {
    justify-content: center;
}

.system-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01)),
        rgba(255, 255, 255, 0.02);
    color: rgba(176, 189, 210, 0.92);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.podium-grid {
    padding-top: 18px;
}

.podium-grid::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 48px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
        repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 215, 0, 0.05) 24px 25px, transparent 25px 50px);
    opacity: 0.65;
    pointer-events: none;
}

.champion-card-frame {
    border-color: rgba(255, 255, 255, 0.028);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 28%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.018) 22px 23px, rgba(255, 255, 255, 0) 23px 46px);
}

.leaderboard-toolbar {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008)),
        linear-gradient(90deg, rgba(255, 215, 0, 0.025), rgba(255, 215, 0, 0)),
        rgba(7, 12, 20, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028), 0 14px 26px rgba(0, 0, 0, 0.18);
}

.leaderboard-toolbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
}

.search-bar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008)),
        rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

.search-bar input {
    letter-spacing: 0.01em;
}

.leaderboard-topbar {
    gap: 16px;
}

.leaderboard-title,
.section-title,
.champions-title {
    text-wrap: balance;
}

.leaderboard-body {
    position: relative;
}

.leaderboard-body::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 36px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.12), transparent 16%, transparent 84%, rgba(255, 215, 0, 0.12));
    pointer-events: none;
}

@media (max-width: 768px) {
    .slider-telemetry {
        left: 14px;
        right: 14px;
        bottom: 12px;
        max-width: 270px;
        padding: 10px 12px;
    }

    .section-system-strip {
        margin-bottom: 16px;
    }

    .system-chip {
        min-height: 28px;
        padding: 0 10px;
        font-size: 0.64rem;
    }
}

@media (max-width: 520px) {
    .slider-telemetry {
        max-width: none;
    }

    .slider-telemetry-title {
        font-size: 0.9rem;
    }

    .slider-telemetry-meta {
        font-size: 0.72rem;
    }

    .leaderboard-body::before {
        left: 28px;
    }
}

/* ===== ICON FALLBACKS AND LEADERBOARD HARDENING ===== */
.ph-caret-left::before,
.ph-caret-right::before,
.ph-caret-down::before {
    font-family: inherit !important;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.ph-caret-left::before {
    content: '\2039';
}

.ph-caret-right::before {
    content: '\203A';
}

.ph-caret-down::before {
    content: '\2304';
}

.quick-stat-avatar-wrap {
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(212, 160, 23, 0.24);
    background: rgba(7, 12, 22, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.quick-stat-avatar {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.quick-stat-value {
    text-align: right;
}

.row-arrow {
    min-width: 30px;
    margin-left: 2px;
}

/* ===== FINAL AESTHETIC OVERRIDES ===== */
.quick-stat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(10, 15, 24, 0.92) !important;
}

.quick-stat-card.quick-stat-gold {
    background:
        radial-gradient(circle at top right, rgba(255, 215, 0, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(10, 15, 24, 0.92) !important;
}

.quick-stat-card.quick-stat-amber {
    background:
        radial-gradient(circle at top right, rgba(255, 166, 0, 0.15), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(10, 15, 24, 0.92) !important;
}

.quick-stat-card.quick-stat-royal {
    background:
        radial-gradient(circle at top right, rgba(79, 134, 255, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(10, 15, 24, 0.92) !important;
}

.quick-stat-card.quick-stat-emerald {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(10, 15, 24, 0.92) !important;
}

.quick-stat-card::before {
    inset: 0 !important;
    height: auto !important;
    border-radius: inherit !important;
    filter: none !important;
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 45%) !important;
}

.quick-stat-label,
.quick-stat-name,
.quick-stat-value {
    position: relative;
    z-index: 1;
}

.profile-empty-shell {
    display: grid !important;
    text-align: center !important;
}

.profile-empty-flow,
.profile-empty-highlights,
.hall-empty-grid,
.footer-brand-metrics {
    display: grid !important;
}

.profile-empty-step,
.profile-empty-card,
.hall-empty-panel,
.footer-metric {
    text-align: left !important;
}

.profile-empty-step {
    display: grid !important;
}

.profile-empty-step div {
    display: grid;
    gap: 6px;
}

.hall-empty-state {
    display: grid !important;
}

.hall-empty-hero {
    display: grid !important;
}

.hall-hero-strip {
    display: flex !important;
}

.hall-hero-pill,
.countdown-status-pill,
.footer-inline-chip,
.profile-empty-badge,
.profile-empty-hint {
    justify-content: center;
}

.footer-logo {
    width: 54px !important;
    height: 54px !important;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.12);
}

.footer-brand-metrics {
    align-items: stretch;
}

.footer-metric {
    min-height: 88px;
}

@media (max-width: 768px) {
    main {
        padding: 24px 0;
    }

    .header {
        padding: 12px 0;
    }

    .header-container {
        gap: 12px !important;
        padding: 0 14px !important;
    }

    .logo-text {
        font-size: 0.98rem;
        letter-spacing: 0.04em;
    }

    .nav-tabs {
        width: 100%;
        gap: 6px;
        padding: 6px;
    }

    .nav-tab {
        flex: 1;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 10px 8px 8px;
    }

    .nav-tab span {
        display: block !important;
        font-size: 0.62rem;
        line-height: 1.15;
        text-align: center;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: normal;
    }

    .nav-tab i {
        font-size: 1.02rem;
    }

    .slider-dots {
        bottom: 12px;
        gap: 10px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 30px;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
    }

    .time-sep {
        display: none;
    }

    .time-box {
        min-width: 0;
        width: 100%;
    }

    .leaderboard-container {
        overflow: visible;
    }

    .leaderboard-header {
        display: none;
    }

    .leaderboard-body::before {
        display: none;
    }

    .trader-row-wrapper {
        border: 1px solid rgba(212, 160, 23, 0.08);
        border-radius: 22px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
            rgba(9, 14, 24, 0.86);
        overflow: hidden;
        margin-bottom: 12px;
    }

    .trader-row,
    .trader-details,
    .details-grid {
        min-width: 0;
    }

    .trader-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            'rank profile arrow'
            'stat1 stat2 stat3';
        gap: 14px 10px;
        padding: 16px 14px 14px;
        align-items: start;
        border-left: none;
        transform: none !important;
    }

    .trader-row > * {
        width: auto;
        padding-inline: 0;
    }

    .trader-row > :nth-child(1) {
        grid-area: rank;
    }

    .trader-row > :nth-child(2) {
        grid-area: profile;
    }

    .trader-row > :nth-child(3) {
        grid-area: stat1;
    }

    .trader-row > :nth-child(4) {
        grid-area: stat2;
    }

    .trader-row > :nth-child(5) {
        grid-area: stat3;
    }

    .trader-row > :nth-child(6) {
        grid-area: arrow;
        justify-self: end;
        align-self: center;
    }

    .profile-info {
        gap: 12px;
        align-items: center;
    }

    .avatar {
        width: 48px;
        height: 48px;
    }

    .trader-name {
        font-size: 1.02rem;
    }

    .trader-subtitle {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .trader-row > :nth-child(3),
    .trader-row > :nth-child(4),
    .trader-row > :nth-child(5) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        padding: 12px 12px 10px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.03);
        font-size: 1.12rem;
        line-height: 1.1;
    }

    .trader-row > :nth-child(3)::before,
    .trader-row > :nth-child(4)::before,
    .trader-row > :nth-child(5)::before {
        font-size: 0.64rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(148, 163, 184, 0.86);
    }

    .trader-row > :nth-child(3)::before {
        content: 'Win rate';
    }

    .trader-row > :nth-child(4)::before {
        content: 'ROI';
    }

    .trader-row > :nth-child(5)::before {
        content: 'PnL';
    }

    .trader-details {
        padding: 0 14px 14px;
        background: transparent;
    }

    .trader-row-wrapper.expanded .trader-details {
        max-height: none;
        padding: 0 14px 14px;
        border-top: none;
    }

    .details-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 4px;
    }

    .details-spacer,
    .details-endcap {
        display: none;
    }

    .d-stat {
        align-items: flex-start;
        text-align: left;
        min-height: 0;
        padding: 14px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.03);
    }

    .d-label,
    .score-formula {
        white-space: normal;
    }
}

/* ===== USER FIX PASS 4 ===== */
.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.footer-column,
.footer-column-brand {
    display: grid;
    grid-template-rows: 1fr;
    align-content: center;
    justify-items: center;
    min-height: 100%;
    padding: 22px 24px 20px;
    text-align: center;
}

.footer-column-body {
    display: grid;
    align-content: center;
    gap: 14px;
    justify-items: center;
    width: min(100%, 34ch);
}

.footer-heading {
    display: grid;
    align-content: center;
    min-height: 42px;
    width: 100%;
}

.footer-column p {
    max-width: 30ch;
    min-height: 78px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.48;
}

.footer-column-brand .footer-column-body {
    width: min(100%, 34ch);
}

.footer-column,
.footer-column-cta,
.footer-column-brand {
    text-align: center;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-column,
    .footer-column-brand {
        grid-template-rows: auto;
    }

    .footer-column p {
        min-height: 0;
    }
}
