/* /Components/VoteCard.razor.rz.scp.css */
/* ===== Vote Card Styles ===== */
.vote-card[b-mz67vem2kj] {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
    max-width: none;
    flex: 1;
    border-width: 2px;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #2E2E2E 0%, var(--card-background) 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Ensure minimum touch target size for accessibility (WCAG 2.1 AA) */
    min-height: 44px;
    min-width: 44px;
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    /* Ensure card doesn't expand beyond available space */
    overflow: hidden;
}

.vote-card .card-body[b-mz67vem2kj] {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    padding: clamp(0.3rem, 1vw, 0.6rem);
    position: relative;
    flex: 1;
    min-height: 0; /* Allow flexbox to shrink content */
}

.vote-card:hover[b-mz67vem2kj] {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 123, 255, 0.4), 0 4px 8px rgba(0, 0, 0, 0.4);
    border-color: var(--highlight-color);
    background: linear-gradient(135deg, #343434 0%, #2E2E2E 100%);
}

.vote-card:focus[b-mz67vem2kj],
.vote-card:focus-within[b-mz67vem2kj] {
    /* WCAG 2.1 AA compliant focus indicator */
    outline: 3px solid var(--highlight-color);
    outline-offset: 2px;
}

/* Winner state */
.vote-card.winner-card[b-mz67vem2kj] {
    border-color: var(--accent-color);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(155, 48, 255, 0.2) 0%, var(--card-background) 100%);
    box-shadow: 0 6px 20px rgba(155, 48, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vote-card.winner-card:hover[b-mz67vem2kj] {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(155, 48, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Selected state */
.vote-card.selected-song[b-mz67vem2kj] {
    border-width: 3px;
    border-color: var(--highlight-color);
    box-shadow: 0 8px 24px rgba(155, 48, 255, 0.5), 0 4px 8px rgba(155, 48, 255, 0.2);
    transform: translateY(-6px);
    /* Remove red/purple background - keep default gradient */
}

.vote-card.selected-song:hover[b-mz67vem2kj] {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(155, 48, 255, 0.6), 0 6px 12px rgba(155, 48, 255, 0.3);
}

/* ===== Song Info Section ===== */
.vote-card .song-info[b-mz67vem2kj] {
    text-align: center;
    margin-bottom: clamp(0.2rem, 0.6vw, 0.3rem);
    padding-bottom: 0;
    /* Remove separator border to reduce whitespace */
    flex-shrink: 1; /* Allow song info to compress if needed */
    min-height: 0; /* Allow flexbox to shrink */
}

.vote-card .card-title[b-mz67vem2kj] {
    font-size: clamp(0.75rem, 2.3vw, 1.3rem);
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: clamp(0.1rem, 0.3vw, 0.15rem);
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vote-card .card-subtitle[b-mz67vem2kj] {
    font-size: clamp(0.625rem, 1.4vw, 0.9rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: #DDDDDD;
    font-weight: 500;
}

.vote-card .card-subtitle i[b-mz67vem2kj] {
    font-size: 1em;
    color: var(--primary-color);
    flex-shrink: 0;
}

.vote-card .artist-text[b-mz67vem2kj] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ===== Rating Info Section ===== */
.vote-card .rating-info[b-mz67vem2kj] {
    margin-top: clamp(0.3rem, 0.8vw, 0.4rem);
    padding-top: clamp(0.3rem, 0.8vw, 0.4rem);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    flex-shrink: 0; /* Prevent rating section from being compressed */
}

.vote-card .rating-item[b-mz67vem2kj] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vote-card .rating-item i[b-mz67vem2kj] {
    font-size: 1.1rem;
}

.vote-card .rating-item strong[b-mz67vem2kj] {
    color: #DDDDDD;
    font-weight: 600;
}

.vote-card .rating-value[b-mz67vem2kj] {
    font-weight: 700;
    color: #FFFFFF;
    font-size: 1.1em;
}

.vote-card .rating-info small[b-mz67vem2kj] {
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    line-height: 1.5;
    display: block;
    color: #AAAAAA;
}

/* ===== Button and Badge Styles ===== */
.vote-card .btn[b-mz67vem2kj] {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.vote-card .btn i[b-mz67vem2kj] {
    font-size: 1.2em;
}

/* Winner badge - compact overlay style with green checkmark */
.vote-card .winner-badge[b-mz67vem2kj] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #28a745 0%, #20883a 100%);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
    z-index: 1;
    width: 2rem;
    height: 2rem;
}

.vote-card .winner-badge i[b-mz67vem2kj] {
    font-size: 1.1em;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767px) {
    .vote-card .card-body[b-mz67vem2kj] {
        padding: clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .vote-card .song-info[b-mz67vem2kj] {
        margin-bottom: 0.5rem;
        padding-bottom: 0;
    }
    
    .vote-card .rating-info[b-mz67vem2kj] {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .vote-card .rating-item[b-mz67vem2kj] {
        font-size: 0.875rem;
        gap: 0.25rem;
    }

    .vote-card:hover[b-mz67vem2kj] {
        transform: translateY(-4px);
    }

    .vote-card.selected-song:hover[b-mz67vem2kj] {
        transform: translateY(-6px);
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-sjekpn1ujk] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header[b-sjekpn1ujk] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, var(--primary-color) 0%, #0056b3 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main[b-sjekpn1ujk] {
    flex: 1;
    padding-top: 0.5rem;
}

.content[b-sjekpn1ujk] {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(0.5rem, 2vw, 1rem);
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ===== Top Navigation Bar ===== */
.navbar[b-o6u2xtj31w] {
    min-height: 50px;
    padding: 0.25rem 1rem;
    background: linear-gradient(90deg, var(--primary-color) 0%, #0056b3 100%);
}

.navbar-brand[b-o6u2xtj31w] {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.navbar-brand:hover[b-o6u2xtj31w] {
    color: #FFD700;
}

.navbar-brand i[b-o6u2xtj31w] {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

/* ===== Navbar Toggler (Mobile) ===== */
.navbar-toggler[b-o6u2xtj31w] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.375rem 0.5rem;
    transition: background-color 0.2s ease;
    min-height: 44px;
    min-width: 44px;
    font-size: 1rem;
}

.navbar-toggler:hover[b-o6u2xtj31w] {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler:focus[b-o6u2xtj31w] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
    box-shadow: none;
}

/* ===== Navigation Links ===== */
.navbar-nav[b-o6u2xtj31w] {
    gap: 0.5rem;
}

.nav-item[b-o6u2xtj31w] {
    display: flex;
    align-items: center;
}

.nav-link[b-o6u2xtj31w] {
    color: #FFFFFF !important;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-height: 44px;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.nav-link i[b-o6u2xtj31w] {
    font-size: 1rem;
}

.nav-link:hover[b-o6u2xtj31w] {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFD700 !important;
    transform: translateY(-2px);
}

.nav-link.active[b-o6u2xtj31w] {
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link:focus[b-o6u2xtj31w] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}


/* ===== Mobile Collapsed Menu ===== */
@media (max-width: 767.98px) {
    .navbar[b-o6u2xtj31w] {
        min-height: 48px;
        padding: 0.25rem 0.75rem;
    }

    .navbar-collapse[b-o6u2xtj31w] {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.98);
        margin: 0;
        padding: 1rem;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .navbar-nav[b-o6u2xtj31w] {
        flex-direction: column;
        gap: 0.25rem;
    }

    .navbar-collapse.collapse:not(.show)[b-o6u2xtj31w] {
        display: none;
    }

    .navbar-collapse.show[b-o6u2xtj31w] {
        display: block;
    }
}

/* ===== Mobile Landscape Mode ===== */
/* Ultra-compact navigation in mobile landscape to maximize voting area */
/* Prioritizes space for two-handed thumb voting */
@media (max-width: 767.98px) and (max-height: 500px) and (orientation: landscape) {
    .navbar[b-o6u2xtj31w] {
        min-height: 40px;
        padding: 0.125rem 0.5rem;
    }

    .navbar-brand[b-o6u2xtj31w] {
        font-size: 0.875rem;
        padding: 0.125rem 0;
        gap: 0.25rem;
    }

    .navbar-brand i[b-o6u2xtj31w] {
        font-size: 1rem;
    }

    .navbar-toggler[b-o6u2xtj31w] {
        padding: 0.25rem 0.375rem;
        font-size: 0.875rem;
    }

    .navbar-collapse[b-o6u2xtj31w] {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.98);
        margin: 0;
        padding: 0.75rem 1rem;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-link[b-o6u2xtj31w] {
        padding: 0.625rem 0.875rem;
    }
}

/* ===== Desktop/Tablet Horizontal Layout ===== */
@media (min-width: 768px) {
    .navbar[b-o6u2xtj31w] {
        min-height: 50px;
        padding: 0.25rem 1rem;
    }

    .navbar-nav[b-o6u2xtj31w] {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .navbar-collapse[b-o6u2xtj31w] {
        display: flex !important;
        justify-content: flex-end;
    }

    .nav-link[b-o6u2xtj31w] {
        padding: 0.375rem 0.75rem;
    }
}

/* ===== Admin nav link highlight ===== */
.admin-link[b-o6u2xtj31w] {
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #FFD700 !important;
}
/* /Pages/AddSong.razor.rz.scp.css */
.credit-info[b-hkh5qcwd4m] {
    background: linear-gradient(135deg, rgba(155, 48, 255, 0.1) 0%, rgba(37, 140, 251, 0.1) 100%);
}

.credit-info .card[b-hkh5qcwd4m] {
    background-color: var(--card-background);
    border: 2px solid rgba(155, 48, 255, 0.3);
}

.credits-count[b-hkh5qcwd4m] {
    font-size: 2rem;
    color: #9b30ff;
}

.search-section[b-hkh5qcwd4m] {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.card[b-hkh5qcwd4m] {
    transition: transform 0.2s;
}

.card:hover[b-hkh5qcwd4m] {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(155, 48, 255, 0.3);
}

audio[b-hkh5qcwd4m] {
    height: 40px;
}

.pagination-info[b-hkh5qcwd4m] {
    font-size: 0.9rem;
}
/* /Pages/AdminReview.razor.rz.scp.css */
.review-card[b-ey22fwb76w] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.review-card:hover[b-ey22fwb76w] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-card-selected[b-ey22fwb76w] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.review-card .card-header[b-ey22fwb76w] {
    background-color: rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
}

.review-card-resolved[b-ey22fwb76w] {
    border: 1px solid #d1e7dd;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
    opacity: 0.85;
}

.review-card-resolved:hover[b-ey22fwb76w] {
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.1);
    opacity: 1;
}

.review-card-resolved .card-header[b-ey22fwb76w] {
    background-color: rgba(25, 135, 84, 0.05);
    border-bottom: 1px solid rgba(25, 135, 84, 0.2);
}

.empty-state[b-ey22fwb76w] {
    text-align: center;
    padding: 2rem;
}

.empty-icon[b-ey22fwb76w] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

dl.row dt[b-ey22fwb76w] {
    font-weight: 600;
    color: #495057;
}

dl.row dd[b-ey22fwb76w] {
    color: #212529;
}

code[b-ey22fwb76w] {
    font-size: 0.8em;
    word-break: break-all;
}
/* /Pages/Leaderboard.razor.rz.scp.css */

    /* Container */
    .leaderboard-container[b-d9lwy3r190] {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }

    /* Header */
    .leaderboard-header[b-d9lwy3r190] {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .leaderboard-title[b-d9lwy3r190] {
        font-size: 3rem;
        font-weight: 700;
        color: #FFFFFF;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .trophy-icon[b-d9lwy3r190] {
        font-size: 3.5rem;
        animation: pulse 2s ease-in-out infinite;
        filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    }

    @@keyframes pulse {
        0%[b-d9lwy3r190], 100%[b-d9lwy3r190] { transform: scale(1); }
        50%[b-d9lwy3r190] { transform: scale(1.1); }
    }

    .leaderboard-subtitle[b-d9lwy3r190] {
        font-size: 1.125rem;
        color: var(--secondary-text);
        font-weight: 400;
    }

    /* Rating System Selector */
    .rating-system-selector[b-d9lwy3r190] {
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }

    .rating-btn[b-d9lwy3r190] {
        font-weight: 600;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        border: 2px solid var(--primary-color);
        transition: all 0.2s ease;
    }

    .rating-btn:hover[b-d9lwy3r190] {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .rating-btn.active[b-d9lwy3r190] {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .rating-icon[b-d9lwy3r190] {
        font-size: 1.2rem;
        margin-right: 0.25rem;
    }

    /* Loading */
    .loading-container[b-d9lwy3r190] {
        text-align: center;
        padding: 4rem 0;
    }

    .loading-text[b-d9lwy3r190] {
        margin-top: 1.5rem;
        font-size: 1.125rem;
        color: var(--secondary-text);
        font-weight: 500;
    }

    /* Action Bar */
    .action-bar[b-d9lwy3r190] {
        margin-bottom: 1.5rem;
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .btn-action[b-d9lwy3r190] {
        font-weight: 600;
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
        transition: all 0.2s ease;
    }

    .btn-action:hover[b-d9lwy3r190] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Table */
    .table-responsive[b-d9lwy3r190] {
        border-radius: 0.75rem;
        overflow-x: auto;
        margin-bottom: 1.5rem;
        background: var(--card-background);
        -webkit-overflow-scrolling: touch;
    }

    .leaderboard-table[b-d9lwy3r190] {
        margin-bottom: 0;
        font-size: 0.95rem;
        width: 100%;
        color: #FFFFFF;
    }

    .leaderboard-table thead[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
        color: white;
    }

    .leaderboard-table thead th[b-d9lwy3r190] {
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.875rem;
        letter-spacing: 0.5px;
        padding: 1.25rem 1rem;
        border: none;
        white-space: nowrap;
    }

    .leaderboard-row[b-d9lwy3r190] {
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .leaderboard-row:hover[b-d9lwy3r190] {
        background-color: #333333;
        transform: scale(1.005);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .leaderboard-row td[b-d9lwy3r190] {
        padding: 1.25rem 1rem;
        vertical-align: middle;
    }

    /* Row Highlights */
    .row-gold[b-d9lwy3r190] {
        background: linear-gradient(90deg, rgba(220, 20, 60, 0.15) 0%, var(--card-background) 100%);
    }

    .row-silver[b-d9lwy3r190] {
        background: linear-gradient(90deg, rgba(155, 48, 255, 0.15) 0%, var(--card-background) 100%);
    }

    .row-bronze[b-d9lwy3r190] {
        background: linear-gradient(90deg, rgba(0, 123, 255, 0.15) 0%, var(--card-background) 100%);
    }

    /* Rank Cell */
    .rank-cell[b-d9lwy3r190] {
        text-align: center;
        width: 80px;
        min-width: 80px;
    }

    .rank-badge[b-d9lwy3r190] {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: 2rem;
        font-weight: 700;
        font-size: 1rem;
        transition: transform 0.2s ease;
    }

    .rank-badge:hover[b-d9lwy3r190] {
        transform: scale(1.1);
    }

    .rank-gold[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--accent-color) 0%, #8B0000 100%);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(220, 20, 60, 0.5);
        border: 2px solid var(--accent-color);
    }

    .rank-silver[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--highlight-color) 0%, #7B1FA2 100%);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(155, 48, 255, 0.5);
        border: 2px solid var(--highlight-color);
    }

    .rank-bronze[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
        border: 2px solid var(--primary-color);
    }

    .rank-top10[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .rank-default[b-d9lwy3r190] {
        background: var(--border-color);
        color: #FFFFFF;
        padding: 0.5rem 1rem;
        border-radius: 2rem;
        font-weight: 600;
    }

    /* Crown Icons */
    .crown-icon[b-d9lwy3r190] {
        width: 1.75rem;
        height: 1.75rem;
        line-height: 1;
        flex-shrink: 0;
    }

    .crown-gold[b-d9lwy3r190] {
        width: 2rem;
        height: 2rem;
        filter: drop-shadow(0 2px 4px rgba(220, 20, 60, 0.3));
    }

    .crown-silver[b-d9lwy3r190] {
        width: 1.65rem;
        height: 1.65rem;
        filter: drop-shadow(0 2px 3px rgba(155, 48, 255, 0.3));
    }

    .crown-bronze[b-d9lwy3r190] {
        width: 1.5rem;
        height: 1.5rem;
        filter: drop-shadow(0 2px 3px rgba(0, 123, 255, 0.3));
    }

    .rank-number[b-d9lwy3r190] {
        font-size: 1rem;
        font-weight: 700;
    }

    /* Song Cell */
    .song-cell[b-d9lwy3r190] {
        min-width: 200px;
    }

    .song-title[b-d9lwy3r190] {
        font-weight: 700;
        font-size: 1.05rem;
        color: #FFFFFF;
        margin-bottom: 0.25rem;
        word-break: break-word;
    }

    .song-meta[b-d9lwy3r190] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .artist-name[b-d9lwy3r190] {
        font-weight: 500;
        color: #FFFFFF;
        font-size: 0.9rem;
    }

    /* Artist Cell */
    .artist-cell[b-d9lwy3r190] {
        font-weight: 500;
        color: #FFFFFF;
        font-size: 1rem;
        min-width: 150px;
    }

    /* Rating Cell */
    .rating-cell[b-d9lwy3r190] {
        text-align: center;
        min-width: 100px;
    }

    .rating-badge[b-d9lwy3r190] {
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 1.5rem;
        font-weight: 700;
        font-size: 1.125rem;
        cursor: help;
        transition: transform 0.2s ease;
        white-space: nowrap;
    }

    .rating-badge:hover[b-d9lwy3r190] {
        transform: scale(1.15);
    }

    .rating-master[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--accent-color) 0%, #8B0000 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
    }

    .rating-expert[b-d9lwy3r190] {
        background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
        color: #1C1C1C;
        box-shadow: 0 4px 12px rgba(236, 201, 75, 0.4);
    }

    .rating-intermediate[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    }

    .rating-novice[b-d9lwy3r190] {
        background: linear-gradient(135deg, var(--highlight-color) 0%, #7B1FA2 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(155, 48, 255, 0.4);
    }

    .rating-beginner[b-d9lwy3r190] {
        background: linear-gradient(135deg, #666666 0%, #444444 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(160, 174, 192, 0.4);
    }

    /* Footer */
    .leaderboard-footer[b-d9lwy3r190] {
        text-align: center;
        padding: 1rem 0;
    }

    .last-updated[b-d9lwy3r190] {
        color: #999999;
        font-size: 0.875rem;
        display: inline-flex;
        align-items: center;
    }

    /* Empty State */
    .empty-state[b-d9lwy3r190] {
        text-align: center;
        padding: 3rem 2rem;
        border-radius: 0.75rem;
        background-color: rgba(0, 123, 255, 0.1);
        border-color: var(--primary-color);
    }

    .empty-icon[b-d9lwy3r190] {
        font-size: 4rem;
        margin-bottom: 1rem;
        animation: float 3s ease-in-out infinite;
    }

    @@keyframes float {
        0%[b-d9lwy3r190], 100%[b-d9lwy3r190] { transform: translateY(0); }
        50%[b-d9lwy3r190] { transform: translateY(-10px); }
    }

    /* Mobile/Desktop visibility helpers */
    .mobile-hidden[b-d9lwy3r190] {
        display: table-cell;
    }

    .mobile-visible[b-d9lwy3r190] {
        display: none;
    }

    /* Responsive */
    @@media (max-width: 768px) {
        /* Hide elements on mobile */
        .mobile-hidden[b-d9lwy3r190] {
            display: none !important;
        }

        .mobile-visible[b-d9lwy3r190] {
            display: inline;
        }

        /* Container adjustments */
        .leaderboard-container[b-d9lwy3r190] {
            padding: 1rem 0.5rem;
        }

        /* Header adjustments */
        .leaderboard-title[b-d9lwy3r190] {
            font-size: 2rem;
            gap: 0.5rem;
        }

        .trophy-icon[b-d9lwy3r190] {
            font-size: 2.5rem;
        }

        .leaderboard-subtitle[b-d9lwy3r190] {
            font-size: 1rem;
        }

        /* Rating system selector */
        .rating-btn[b-d9lwy3r190] {
            font-size: 0.75rem;
            padding: 0.5rem 0.75rem;
        }

        .rating-icon[b-d9lwy3r190] {
            display: none;
        }

        /* Action bar */
        .action-bar[b-d9lwy3r190] {
            gap: 0.5rem;
        }

        .btn-action[b-d9lwy3r190] {
            flex: 1;
            min-width: 0;
            font-size: 0.9rem;
            padding: 0.5rem 0.75rem;
        }

        /* Table adjustments */
        .table-responsive[b-d9lwy3r190] {
            margin: 0 -0.5rem 1.5rem -0.5rem;
            border-radius: 0;
        }

        .leaderboard-table[b-d9lwy3r190] {
            font-size: 0.875rem;
        }

        .leaderboard-table thead th[b-d9lwy3r190] {
            padding: 0.75rem 0.5rem;
            font-size: 0.75rem;
        }

        .leaderboard-row td[b-d9lwy3r190] {
            padding: 0.75rem 0.5rem;
        }

        .leaderboard-row:hover[b-d9lwy3r190] {
            transform: none;
        }

        /* Rank cell - more compact */
        .rank-cell[b-d9lwy3r190] {
            width: 60px;
            min-width: 60px;
            padding: 0.5rem 0.25rem !important;
        }

        .rank-badge[b-d9lwy3r190] {
            padding: 0.25rem 0.5rem;
            gap: 0.25rem;
            font-size: 0.8rem;
        }

        .crown-icon[b-d9lwy3r190] {
            width: 1rem;
            height: 1rem;
        }

        .crown-gold[b-d9lwy3r190] {
            width: 1.25rem;
            height: 1.25rem;
        }

        .crown-silver[b-d9lwy3r190] {
            width: 1.15rem;
            height: 1.15rem;
        }

        .crown-bronze[b-d9lwy3r190] {
            width: 1rem;
            height: 1rem;
        }

        .rank-number[b-d9lwy3r190] {
            font-size: 0.8rem;
        }

        /* Song cell - allow more space */
        .song-cell[b-d9lwy3r190] {
            min-width: 150px;
            max-width: 200px;
        }

        .song-title[b-d9lwy3r190] {
            font-size: 0.9rem;
            line-height: 1.3;
        }

        .artist-name[b-d9lwy3r190] {
            font-size: 0.8rem;
        }

        /* Rating cell - compact */
        .rating-cell[b-d9lwy3r190] {
            min-width: 70px;
        }

        .rating-badge[b-d9lwy3r190] {
            padding: 0.375rem 0.625rem;
            font-size: 0.9rem;
        }

        /* Footer */
        .last-updated[b-d9lwy3r190] {
            font-size: 0.75rem;
        }
    }

    /* Extra small devices */
    @@media (max-width: 375px) {
        .leaderboard-title[b-d9lwy3r190] {
            font-size: 1.75rem;
        }

        .rating-btn[b-d9lwy3r190] {
            font-size: 0.7rem;
            padding: 0.4rem 0.6rem;
        }

        .song-cell[b-d9lwy3r190] {
            min-width: 120px;
        }

        .song-title[b-d9lwy3r190] {
            font-size: 0.85rem;
        }

        .rating-badge[b-d9lwy3r190] {
            font-size: 0.85rem;
            padding: 0.3rem 0.5rem;
        }
    }

    /* Pagination Controls */
    .pagination-controls[b-d9lwy3r190] {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 1rem;
        background: var(--card-background);
        border-radius: 0.75rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .pagination-info[b-d9lwy3r190] {
        color: var(--secondary-text);
        font-size: 0.95rem;
        font-weight: 500;
    }

    .pagination-buttons[b-d9lwy3r190] {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .pagination-btn[b-d9lwy3r190] {
        font-weight: 600;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 44px;
        min-height: 44px;
        transition: all 0.2s ease;
        border: 2px solid var(--primary-color);
    }

    .pagination-btn:hover:not(:disabled)[b-d9lwy3r190] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .pagination-btn:disabled[b-d9lwy3r190] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .pagination-btn.btn-primary[b-d9lwy3r190] {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

    .page-size-selector[b-d9lwy3r190] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
    }

    .page-size-label[b-d9lwy3r190] {
        color: var(--secondary-text);
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .page-size-select[b-d9lwy3r190] {
        width: auto;
        min-width: 80px;
        font-size: 0.9rem;
        padding: 0.375rem 0.75rem;
        background-color: var(--card-background);
        color: #FFFFFF;
        border: 2px solid var(--border-color);
        border-radius: 0.375rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .page-size-select:hover[b-d9lwy3r190] {
        border-color: var(--primary-color);
    }

    .page-size-select:focus[b-d9lwy3r190] {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    /* Responsive pagination */
    @@media (max-width: 768px) {
        .pagination-controls[b-d9lwy3r190] {
            flex-direction: column;
            align-items: stretch;
            gap: 0.75rem;
        }

        .pagination-info[b-d9lwy3r190] {
            text-align: center;
            font-size: 0.85rem;
        }

        .pagination-buttons[b-d9lwy3r190] {
            justify-content: center;
        }

        .pagination-btn[b-d9lwy3r190] {
            padding: 0.4rem 0.75rem;
            font-size: 0.85rem;
            min-width: 40px;
            min-height: 40px;
        }

        .page-size-selector[b-d9lwy3r190] {
            justify-content: center;
        }

        .page-size-label[b-d9lwy3r190] {
            font-size: 0.85rem;
        }

        .page-size-select[b-d9lwy3r190] {
            font-size: 0.85rem;
        }
    }
/* /Pages/Vote.razor.rz.scp.css */
.battle-container[b-syibdw87tf] {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(0.25rem, 1vw, 0.75rem);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px); /* Reserve space for nav(~60px), title(~40px), button(~60px), margins(~20px) */
    overflow: hidden;
}

@media (max-width: 768px) {
    .battle-container[b-syibdw87tf] {
        height: calc(100vh - 150px); /* Slightly less reserve on mobile due to smaller nav */
    }
}

@media (max-width: 640px) and (max-height: 500px) and (orientation: landscape) {
    .battle-container[b-syibdw87tf] {
        height: calc(100vh - 130px); /* Even less in mobile landscape */
    }
}

/* Compact header for vote page */
h2[b-syibdw87tf] {
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

/* Modern CSS Grid layout for responsive battle cards */
/* Always display cards side-by-side to avoid vertical scrolling */
.battle-grid[b-syibdw87tf] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.5rem, 2vw, 1.5rem);
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
    flex: 1; /* Take remaining space */
    min-height: 0; /* Allow grid to shrink */
    align-items: start; /* Prevent stretching that causes clipping */
    overflow: visible; /* Allow selected card transforms to show */
}

/* Very small screens: reduce gap for better fit */
@media (max-width: 480px) {
    .battle-grid[b-syibdw87tf] {
        gap: clamp(0.25rem, 1vw, 0.5rem);
    }
}

/* Mobile landscape: optimize for two-handed thumb use */
@media (max-width: 640px) and (max-height: 500px) and (orientation: landscape) {
    .battle-grid[b-syibdw87tf] {
        gap: clamp(0.25rem, 1vw, 0.75rem);
    }
}

/* Ensure cards fill their container and scale properly */
.battle-card-wrapper[b-syibdw87tf] {
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow cards to shrink */
    height: 100%; /* Fill available grid space */
    width: 100%;
    /* Don't use overflow: hidden - it clips the winner badge at top */
}

/* Force all cards in battle grid to have equal width and fit within viewport */
.battle-grid > .battle-card-wrapper[b-syibdw87tf] {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
}

.battle-grid > .battle-card-wrapper > *[b-syibdw87tf] {
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    max-height: 100%;
}

/* Compact spacing for vote page elements */
.text-center.mb-4[b-syibdw87tf] {
    margin-bottom: clamp(0.5rem, 2vh, 1rem) !important;
}

.text-center.mt-4[b-syibdw87tf] {
    margin-top: clamp(0.5rem, 2vh, 1rem) !important;
}

/* Ensure buttons meet minimum touch target size */
.btn[b-syibdw87tf] {
    min-height: 44px;
    min-width: 44px;
    padding: clamp(0.375rem, 1vw, 0.75rem) clamp(0.75rem, 2vw, 1.5rem);
}

.btn-lg[b-syibdw87tf] {
    min-height: 48px;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1.5rem);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    white-space: normal; /* Allow text wrapping on small screens */
    line-height: 1.3;
}

/* Responsive text sizing for alerts and messages */
.alert[b-syibdw87tf] {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
}

.text-center p[b-syibdw87tf] {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    margin-bottom: clamp(0.25rem, 1vh, 0.5rem);
}

/* Optimize success messages */
.text-success[b-syibdw87tf], .text-muted[b-syibdw87tf] {
    margin-bottom: clamp(0.25rem, 1vh, 0.5rem);
}

.credit-earned-alert[b-syibdw87tf] {
    background: linear-gradient(135deg, rgba(155, 48, 255, 0.15) 0%, rgba(37, 140, 251, 0.15) 100%);
    border-color: #9b30ff;
    animation: pulse-glow-b-syibdw87tf 1s ease-in-out;
}

@keyframes pulse-glow-b-syibdw87tf {
    0%, 100% { box-shadow: 0 0 5px rgba(155, 48, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(155, 48, 255, 0.6); }
}
