@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,400&display=swap');

:root {
    --bg-color: #050507;
    --surface-1: rgba(18, 18, 24, 0.78);
    --surface-2: rgba(28, 28, 38, 0.65);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(229, 198, 116, 0.32);
    --text-main: #f8fafc;
    --text-muted: #8e96aa;
    --gold: #E5C674;
    --gold-bright: #F5DC8E;
    --silver: #cbd5e1;
    --bronze: #d97706;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 50% -10%, rgba(229, 198, 116, 0.09) 0%, transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 68px;
    padding-bottom: 96px;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #050507; }
::-webkit-scrollbar-thumb {
    background: rgba(229, 198, 116, 0.35);
    border-radius: 3px;
}

/* =========================================================================
   MINIMAL TOP HEADER
   ========================================================================= */
#app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.84);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    max-width: 980px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    white-space: nowrap;
}

.logo-year {
    color: var(--gold);
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

/* Desktop Mode Switcher */
.mode-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
}

.mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-svg {
    width: 15px;
    height: 15px;
}

.mode-btn:hover {
    color: #fff;
}

.mode-btn.active {
    background: rgba(229, 198, 116, 0.14);
    color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(229, 198, 116, 0.35);
}

/* Voter Profile Pill */
.voter-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.voter-badge-btn:hover {
    border-color: var(--border-gold);
}

.voter-avatar-mini {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(229, 198, 116, 0.12);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--gold);
    overflow: hidden;
}

.voter-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================================
   APP VIEWS
   ========================================================================= */
.app-view {
    display: none;
    max-width: 780px;
    margin: 0 auto;
    padding: 12px 16px 32px;
    animation: viewFade 0.25s ease;
}

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

@keyframes viewFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none !important;
}

/* =========================================================================
   MINIMAL SYNC BAR & CATEGORY STRIP
   ========================================================================= */
.sync-control-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pulse-ring {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748b;
}

.sync-status.connected .pulse-ring {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.presenter-launch-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.presenter-launch-link:hover {
    color: var(--gold);
    border-color: var(--border-gold);
}

.inline-svg {
    width: 13px;
    height: 13px;
}

/* Category Strip */
.category-strip-wrapper {
    margin-bottom: 14px;
    overflow: hidden;
}

.category-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 1px 6px;
    scrollbar-width: none;
}

.category-strip::-webkit-scrollbar { display: none; }

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cat-pill-svg {
    width: 14px;
    height: 14px;
    display: inline-flex;
    opacity: 0.75;
}

.cat-pill-svg svg {
    width: 100%;
    height: 100%;
}

.cat-pill.active {
    background: rgba(229, 198, 116, 0.14);
    border-color: var(--gold);
    color: #fff;
}

.cat-pill.active .cat-pill-svg {
    color: var(--gold);
    opacity: 1;
}

.cat-pill.voted {
    border-color: rgba(229, 198, 116, 0.28);
}

.cat-pill.locked-pill {
    opacity: 0.38;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.015);
}

.cat-pill-check {
    width: 13px;
    height: 13px;
    display: inline-flex;
    color: var(--gold);
}

.cat-pill-check svg {
    width: 100%;
    height: 100%;
}

/* =========================================================================
   STANDBY PANEL (WHEN WAITING FOR PRESENTER REVEAL)
   ========================================================================= */
.standby-panel {
    text-align: center;
    padding: 56px 24px;
    border-radius: 22px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    margin: 12px 0;
}

.standby-icon-ring {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(229, 198, 116, 0.08);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.standby-icon-ring svg {
    width: 24px;
    height: 24px;
}

.standby-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.standby-panel h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.standby-panel p {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.5;
}

/* =========================================================================
   MINIMALIST 2026 VOTING STAGE CARD
   ========================================================================= */
.voting-card-2026 {
    background: var(--surface-1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.voting-card-2026.voting-locked {
    border-color: rgba(239, 68, 68, 0.4);
}

.vc-header {
    margin-bottom: 18px;
}

.vc-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.vc-badge {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
}

.vc-champion-25 {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
}

.vc-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vc-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(229, 198, 116, 0.1);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.vc-icon-box svg {
    width: 22px;
    height: 22px;
}

.vc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2px;
}

.vc-subtitle {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* PODIUM SLOTS */
.podium-slots-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.podium-slot {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 68px;
}

.podium-slot.active-slot {
    border-color: var(--gold);
    background: rgba(229, 198, 116, 0.07);
}

.slot-gold.filled {
    border-color: rgba(229, 198, 116, 0.5);
    background: rgba(229, 198, 116, 0.09);
}

.slot-silver.filled {
    border-color: rgba(203, 213, 225, 0.35);
    background: rgba(203, 213, 225, 0.06);
}

.slot-bronze.filled {
    border-color: rgba(217, 119, 6, 0.4);
    background: rgba(217, 119, 6, 0.06);
}

.slot-medal {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.slot-medal span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--gold);
}

.slot-medal em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.65rem;
    opacity: 0.75;
}

.slot-placeholder {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
}

.slot-pill-filled {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
}

.slot-mini-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.slot-name-text {
    font-size: 0.84rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.slot-clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.68rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NOMINEES GRID */
.nominees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.nominee-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    color: #fff;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.nominee-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}

.nominee-card:active {
    transform: scale(0.96);
}

.nominee-card.selected-rank-1 {
    background: rgba(229, 198, 116, 0.14);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(229, 198, 116, 0.18);
}

.nominee-card.selected-rank-2 {
    background: rgba(203, 213, 225, 0.1);
    border-color: var(--silver);
}

.nominee-card.selected-rank-3 {
    background: rgba(217, 119, 6, 0.12);
    border-color: var(--bronze);
}

.nominee-card.nominee-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.nominee-card.nominee-disabled.selected-rank-1,
.nominee-card.nominee-disabled.selected-rank-2,
.nominee-card.nominee-disabled.selected-rank-3 {
    opacity: 0.85;
}

.cat-pill-closed-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.nominee-avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
}

.selected-rank-1 .nominee-avatar-wrap {
    border-color: var(--gold);
}

.nominee-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nominee-avatar.placeholder-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(229, 198, 116, 0.1);
}

.nominee-name {
    font-size: 0.84rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.nominee-medal {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
}

.nominee-medal.rank-1 { background: var(--gold); color: #000; }
.nominee-medal.rank-2 { background: var(--silver); color: #000; }
.nominee-medal.rank-3 { background: var(--bronze); color: #fff; }

/* Custom Nominee Box */
.custom-nominee-box {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

#custom-nominee-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    outline: none;
}

.btn-add-custom {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: rgba(229, 198, 116, 0.12);
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Footer inside Card */
.vc-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.vc-vote-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vc-nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-cat {
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
}

.btn-submit-vote {
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(229, 198, 116, 0.5);
    background: linear-gradient(135deg, #E5C674 0%, #C5A059 100%);
    color: #050507;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

/* Minimal Vector Reaction Bar */
.live-reaction-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.reaction-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.reaction-btn-group {
    display: flex;
    gap: 8px;
}

.reaction-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.reaction-btn:hover, .reaction-btn:active {
    border-color: var(--gold);
    background: rgba(229, 198, 116, 0.14);
    transform: translateY(-2px) scale(1.08);
}

.sync-domain-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* Bubbling Emoji Reactions in Bottom-Left Corner */
.corner-reactions-widget {
    position: fixed;
    bottom: 82px;
    left: 18px;
    width: 120px;
    height: 220px;
    z-index: 3000;
    pointer-events: none;
    overflow: visible;
}

.corner-emoji-bubble {
    position: absolute;
    bottom: 0;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(12, 12, 18, 0.85);
    border: 1px solid rgba(229, 198, 116, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    animation: cornerBubbleUp 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ceb-emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.ceb-sender {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
}

@keyframes cornerBubbleUp {
    0% {
        opacity: 0;
        transform: translate(0, 12px) scale(0.6);
    }
    15% {
        opacity: 1;
        transform: translate(calc(var(--drift-x, 0px) * 0.3), -18px) scale(1.05);
    }
    75% {
        opacity: 0.95;
        transform: translate(var(--drift-x, 0px), -120px) scale(0.98);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--drift-x, 0px) * 1.2), -175px) scale(0.82);
    }
}

/* =========================================================================
   EXCLUSIVE IDENTITY ONBOARDING MODAL
   ========================================================================= */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 6, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.onboarding-card {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0e0e14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 26px 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
    text-align: center;
}

.onboarding-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.onboarding-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.onboarding-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.45;
}

.crew-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.crew-pick-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.crew-pick-btn:hover:not(.taken) {
    border-color: var(--gold);
    background: rgba(229, 198, 116, 0.08);
}

.crew-pick-btn.mine {
    border-color: var(--gold);
    background: rgba(229, 198, 116, 0.14);
}

.crew-pick-btn.taken {
    opacity: 0.32;
    cursor: not-allowed;
    filter: grayscale(0.9);
}

.crew-pick-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
}

.crew-pick-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.crew-taken-badge, .crew-mine-badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1px 6px;
    border-radius: 999px;
    white-space: nowrap;
}

.crew-taken-badge {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.crew-mine-badge {
    background: var(--gold);
    color: #000;
}

.btn-ghost-sm {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

/* Admin Modal */
.admin-modal-card { text-align: left; }
.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.modal-close-x {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}
.admin-section {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
}
.admin-section h3 {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 10px;
}
.admin-form-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.admin-form-grid input[type="text"] {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-family: 'Inter', sans-serif;
}
.admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.admin-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.btn-neon-sm, .btn-danger-sm {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn-neon-sm {
    border: 1px solid var(--border-gold);
    background: rgba(229, 198, 116, 0.1);
    color: var(--gold);
}
.btn-danger-sm {
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

/* =========================================================================
   HERO BANNERS & LEADERBOARDS
   ========================================================================= */
.section-hero-banner {
    text-align: center;
    padding: 24px 16px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
}

.era-pill {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.hero-subline {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 14px;
}

.live-stats-summary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.stat-chip {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.stat-chip strong { color: #fff; }
.stat-chip-action {
    cursor: pointer;
    color: var(--gold);
    border-color: var(--border-gold);
}

/* Archive Search */
.archive-search-bar {
    max-width: 580px;
    margin: 14px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#archive-search-input {
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    outline: none;
}

.archive-quick-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.archive-quick-filters::-webkit-scrollbar { display: none; }

.archive-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0;
}

.archive-filter-chip img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.archive-filter-chip.active {
    background: rgba(229, 198, 116, 0.14);
    border-color: var(--gold);
    color: var(--gold);
}

/* Leaderboard Cards */
.topic-section { margin-bottom: 2.5rem; }
.topic-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: 1px;
    color: var(--gold);
}

.leaderboard-container {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 1.35rem;
    margin-bottom: 1.2rem;
}

.live-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.85rem;
}

.leaderboard-container h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.85rem;
}

.live-card-top h3 { margin-bottom: 0; }

.card-h3-svg {
    width: 17px;
    height: 17px;
    color: var(--gold);
    display: inline-flex;
}

.card-h3-svg svg { width: 100%; height: 100%; }

.btn-jump-vote {
    padding: 5px 11px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: rgba(229, 198, 116, 0.08);
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
}

.leaderboard {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard th {
    text-align: left;
    padding: 0.65rem 0.5rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--border-subtle);
}

.leaderboard td {
    padding: 0.85rem 0.5rem;
    font-size: 0.92rem;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.leaderboard tr:last-child td { border-bottom: none; }

.player-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.player-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.player-avatar.placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
}

.live-bar-wrap {
    position: relative;
    padding: 4px 8px;
    border-radius: 8px;
    overflow: hidden;
}

.live-bar-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(229, 198, 116, 0.16), transparent);
    border-radius: 8px;
    z-index: 1;
}

.pts-cell {
    text-align: right;
    white-space: nowrap;
}

.pts-cell strong {
    color: var(--gold);
    font-size: 0.92rem;
}

.empty-votes-cell {
    text-align: center;
    color: var(--text-muted);
    padding: 1.2rem !important;
    font-size: 0.84rem;
}

.leaderboard td:first-child {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    width: 44px;
    color: var(--text-muted);
}

.leaderboard tbody tr:nth-child(1) td:first-child { color: var(--gold); }
.leaderboard tbody tr:nth-child(2) td:first-child { color: var(--silver); }
.leaderboard tbody tr:nth-child(3) td:first-child { color: var(--bronze); }

.highlight-row {
    background: rgba(229, 198, 116, 0.12) !important;
}

/* Censored Placeholder (2025 Archive) */
.censored-placeholder {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    background: #08080c;
    display: flex;
    justify-content: center;
    align-items: center;
}

.censored-blur-bg {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%, rgba(229, 198, 116, 0.25), transparent 60%);
    filter: blur(40px);
}

.censored-lock {
    position: relative;
    z-index: 2;
    color: var(--gold);
}

.lock-icon { width: 2.8rem; height: 2.8rem; }

.card-caption {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.click-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    background: var(--gold);
    z-index: 9999;
    animation: particleFade 0.65s ease-out forwards;
}

@keyframes particleFade {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* =========================================================================
   MINIMAL MOBILE BOTTOM DOCK
   ========================================================================= */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 380px;
    background: rgba(12, 12, 16, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 5px;
    z-index: 2000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    justify-content: space-around;
}

.dock-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dock-svg {
    width: 16px;
    height: 16px;
}

.dock-btn.active {
    background: rgba(229, 198, 116, 0.15);
    color: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(229, 198, 116, 0.35);
}

footer {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.footer-art-piece {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.6;
}

.footer-line-decoration {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, var(--gold));
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.footer-presenter-link {
    color: var(--gold);
    text-decoration: none;
}

@media (max-width: 768px) {
    .mode-nav { display: none; }
    .mobile-bottom-dock { display: flex; }

    .voting-card-2026 {
        padding: 16px 14px;
        border-radius: 20px;
    }

    .vc-title { font-size: 1.35rem; }

    .podium-slots-bar {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .podium-slot {
        min-height: 46px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
    }

    .slot-medal {
        margin-bottom: 0;
        min-width: 100px;
    }

    .nominees-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .nominee-card {
        padding: 12px 6px 10px;
        border-radius: 14px;
    }

    .nominee-avatar-wrap {
        width: 46px;
        height: 46px;
    }

    .nominee-name { font-size: 0.8rem; }
}