
/* ==========================================================================
   Global Scrollbar Suppression
   Hides visible scrollbars across all browsers while fully preserving scroll
   via mouse wheel, trackpad, and keyboard arrow keys.
   ========================================================================== */
html, body, * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

*::-webkit-scrollbar,
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

*::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

*::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

/* ==========================================================================
   C2Jam NextGen - Extended Web Portal Stylesheet (Rankings)
   Clean, architectural, disciplined dark theme.
   Zero neon spam, zero emojis.
   ========================================================================== */

:root {
    --ext-bg-card: rgba(11, 20, 36, 0.82);
    --ext-border: rgba(148, 163, 184, 0.16);
    --ext-accent: #38bdf8;
    --ext-accent-muted: rgba(56, 189, 248, 0.12);
    --ext-text: #f1f5f9;
    --ext-text-muted: #94a3b8;
    --ext-text-dim: #64748b;
    --ext-gold: #f59e0b;
    --ext-silver: #cbd5e1;
    --ext-bronze: #d97706;
    --ext-diff-easy: #10b981;
    --ext-diff-normal: #38bdf8;
    --ext-diff-hard: #f43f5e;
}

/* Section Container & Section Header */
.portal-subview {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.subview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ext-border);
}

.subview-title-group h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--ext-text);
    letter-spacing: -0.3px;
    margin: 0 0 6px 0;
}

.subview-title-group p {
    margin: 0;
    color: var(--ext-text-muted);
    font-size: 14px;
}

.subview-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Clean Nav Pills */
.portal-tabs {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--ext-border);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.portal-tab-btn {
    background: transparent;
    border: none;
    color: var(--ext-text-muted);
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-tab-btn:hover {
    color: var(--ext-text);
    background: rgba(255, 255, 255, 0.05);
}

.portal-tab-btn.active {
    background: var(--ext-accent-muted);
    color: var(--ext-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Disciplined Data Table */
.data-table-wrap {
    background: var(--ext-bg-card);
    border: 1px solid var(--ext-border);
    border-radius: 10px;
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
    min-width: 640px;
}

.data-table thead th {
    background: rgba(15, 26, 46, 0.95);
    color: var(--ext-text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ext-border);
    white-space: nowrap;
}

.data-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    color: var(--ext-text);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background 0.12s ease;
}

.data-table tbody tr:hover {
    background: rgba(56, 189, 248, 0.04);
}

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

/* Rank Badges */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 12px;
}

.rank-badge.top-1 {
    background: rgba(245, 158, 11, 0.18);
    color: var(--ext-gold);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.rank-badge.top-2 {
    background: rgba(203, 213, 225, 0.18);
    color: var(--ext-silver);
    border: 1px solid rgba(203, 213, 225, 0.4);
}

.rank-badge.top-3 {
    background: rgba(217, 119, 6, 0.18);
    color: var(--ext-bronze);
    border: 1px solid rgba(217, 119, 6, 0.4);
}

.rank-badge.standard {
    background: rgba(148, 163, 184, 0.08);
    color: var(--ext-text-muted);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

/* Player Cell */
.player-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.player-nick {
    font-weight: 700;
    color: var(--ext-text);
}

.player-title-tag {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--ext-accent);
    font-weight: 600;
}

/* Grade Pills */
.grade-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.grade-pill.grade-sss { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.grade-pill.grade-s { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4); }
.grade-pill.grade-a { background: rgba(148, 163, 184, 0.18); color: #f1f5f9; border: 1px solid rgba(148, 163, 184, 0.3); }
.grade-pill.grade-b { background: rgba(245, 158, 11, 0.18); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.grade-pill.grade-c { background: rgba(244, 63, 94, 0.18); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); }

/* Play Outcome / Status Pill (Clear vs Fail) */
.outcome-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.outcome-pill.clear {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.outcome-pill.fail {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Speed & Skill Badges */
.speed-badge {
    display: inline-block;
    font-family: 'Outfit', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 1.3;
    width: fit-content;
}

.speed-badge.csp-mode {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 6px rgba(34, 211, 238, 0.12);
}

.speed-badge.x-mode {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.skill-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 1.3;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: fit-content;
}

.skill-badge.active {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.14);
    border: 1px solid rgba(192, 132, 252, 0.35);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.skill-badge.none {
    color: #64748b;
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid rgba(100, 116, 139, 0.18);
    font-style: italic;
}

.jam-combo-text {
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
}

/* Difficulty Badges */
.diff-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
}

.diff-badge.diff-easy { background: rgba(16, 185, 129, 0.12); color: var(--ext-diff-easy); border: 1px solid rgba(16, 185, 129, 0.3); }
.diff-badge.diff-normal { background: rgba(56, 189, 248, 0.12); color: var(--ext-diff-normal); border: 1px solid rgba(56, 189, 248, 0.3); }
.diff-badge.diff-hard { background: rgba(244, 63, 94, 0.12); color: var(--ext-diff-hard); border: 1px solid rgba(244, 63, 94, 0.3); }

/* Status Badge in Rankings Table */
.player-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.player-status-badge.online {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.player-status-badge.online .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: statusPulse 2s infinite ease-in-out;
}

.player-status-badge.offline {
    color: #64748b;
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid rgba(100, 116, 139, 0.18);
}

.player-status-badge.offline .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #64748b;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 6px;
    padding: 2px 4px;
    margin-right: 8px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: #f1f5f9;
}

.lang-btn.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.lang-divider {
    color: rgba(148, 163, 184, 0.3);
    font-size: 11px;
    margin: 0 1px;
}

/* User Account Nav Pill */
.user-nav-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 4px 10px 4px 6px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.user-nav-profile:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.5);
}

.user-nav-lvl {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.user-nav-nick {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 13px;
}

/* Account Modal Styling */
.account-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    margin-bottom: 20px;
}

.account-avatar-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #38bdf8;
    overflow: hidden;
}

.account-identity-info h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-identity-info p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.account-tabs {
    display: flex;
    gap: 4px;
    background: rgba(10, 16, 28, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.account-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.account-tab-btn.active {
    background: rgba(56, 189, 248, 0.14);
    color: #38bdf8;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.account-stat-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.account-stat-val {
    font-size: 18px;
    font-weight: 800;
    color: #f1f5f9;
    font-family: monospace;
}

.account-form-row {
    margin-bottom: 16px;
}

.account-form-row label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.account-form-row select, .account-form-row input {
    width: 100%;
    background: rgba(10, 16, 28, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    padding: 9px 12px;
    color: #f1f5f9;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: border 0.15s ease;
    box-sizing: border-box;
}

.account-form-row select:focus, .account-form-row input:focus {
    border-color: #38bdf8;
}

/* ==========================================================================
   PORTAL MODALS SYSTEM (FIXED OVERLAYS)
   ========================================================================== */
.portal-modal-backdrop {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(3, 7, 18, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}

.portal-modal-backdrop.open {
    display: flex !important;
}

.portal-modal {
    position: relative;
    width: 100%;
    max-height: 90vh;
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: portalModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes portalModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.portal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.portal-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s, background-color 0.15s;
}

.portal-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.portal-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
}

/* ==========================================================================
   RANKINGS PAGINATION (10 ROWS PER PAGE)
   ========================================================================== */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding: 12px 18px;
    background: rgba(10, 16, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-info {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 34px;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}

.pagination-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(148, 163, 184, 0.08);
}

/* ==========================================================================
   OFFICIAL DOWNLOAD CENTER (CLIENT SETUP, PLATFORMS & NODE.JS REQUIREMENTS)
   Disciplined Esports Dark-Mode Aesthetics (Zero-Emoji)
   ========================================================================== */
.dl-hero-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(11, 20, 36, 0.94) 0%, rgba(15, 29, 56, 0.88) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.dl-hero-banner::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    background: radial-gradient(circle at right, rgba(56, 189, 248, 0.12), transparent 70%);
    pointer-events: none;
}

.dl-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ext-accent);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.dl-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.dl-main-sub {
    font-size: 14.5px;
    color: var(--ext-text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 720px;
}

/* Mandatory Prerequisite Banner: Node.js */
.dl-prereq-banner {
    display: flex;
    gap: 20px;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(6, 26, 18, 0.92) 0%, rgba(10, 20, 36, 0.94) 100%);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(34, 197, 94, 0.12);
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
    align-items: flex-start;
}

.dl-prereq-icon-col {
    flex-shrink: 0;
}

.dl-node-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.25);
}

.dl-prereq-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dl-prereq-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dl-prereq-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 5px;
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.45);
}

.dl-prereq-version-tag {
    font-family: 'Outfit', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #86efac;
    background: rgba(15, 23, 42, 0.7);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.dl-prereq-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.dl-prereq-text {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.55;
}

.dl-prereq-text strong {
    color: #4ade80;
}

.dl-prereq-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.btn-node-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #15803d, #16a34a);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(74, 222, 128, 0.5);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
    transition: all 0.18s ease;
}

.btn-node-download:hover {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.55);
    transform: translateY(-1px);
    color: #ffffff;
}

.dl-prereq-hint {
    font-size: 12px;
    color: #94a3b8;
}

/* Primary Client Installer Card (Windows Setup) */
.dl-featured-section {
    margin-bottom: 30px;
}

.dl-primary-card {
    background: var(--ext-bg-card);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.15);
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    overflow: hidden;
}

.dl-primary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #818cf8);
}

.dl-primary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.dl-primary-id {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.dl-platform-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(2, 132, 199, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ext-accent);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
    flex-shrink: 0;
}

.dl-card-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.dl-kicker-platform {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ext-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dl-status-pill {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
}

.dl-status-pill.ready {
    background: rgba(56, 189, 248, 0.16);
    color: var(--ext-accent);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.dl-primary-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.dl-primary-sub {
    font-size: 14px;
    color: var(--ext-text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 680px;
}

.dl-primary-badge-box {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dl-spec-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    font-family: 'Outfit', sans-serif;
}

.dl-spec-chip.security {
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
}

/* Specifications Grid */
.dl-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: rgba(8, 14, 26, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    padding: 18px 20px;
}

.dl-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dl-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--ext-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dl-meta-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ext-text);
}

.dl-meta-val.code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-weight: 700;
    color: var(--ext-accent);
}

/* Action Pod / Download Slot */
.dl-action-pod {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.dl-btn-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-download-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    transition: all 0.2s ease;
    width: fit-content;
}

.btn-download-primary:hover:not(:disabled) {
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.55);
    transform: translateY(-1px);
}

.btn-download-primary.disabled,
.btn-download-primary:disabled {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(56, 189, 248, 0.3);
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.dl-slot-notice {
    font-size: 12px;
    color: var(--ext-text-dim);
    line-height: 1.4;
}

/* Companion Platforms (Linux & macOS) */
.dl-platforms-heading {
    margin-bottom: 16px;
}

.dl-platforms-heading h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.dl-platforms-heading p {
    font-size: 13.5px;
    color: var(--ext-text-muted);
    margin: 0;
}

.dl-companion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dl-companion-card {
    background: var(--ext-bg-card);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dl-companion-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.dl-companion-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dl-companion-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dl-companion-icon-wrap.linux {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.dl-companion-icon-wrap.mac {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

.dl-badge-soon {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    display: inline-block;
    margin-bottom: 4px;
}

.dl-companion-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.dl-companion-pkg {
    font-size: 11.5px;
    color: var(--ext-text-dim);
}

.dl-companion-desc {
    font-size: 13px;
    color: var(--ext-text-muted);
    margin: 0;
    line-height: 1.5;
}

.dl-companion-foot {
    margin-top: auto;
    padding-top: 10px;
}

.btn-companion-soon {
    width: 100%;
    padding: 10px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    color: var(--ext-text-dim);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: not-allowed;
    text-align: center;
}

/* 3-Step Installation Workflow */
.dl-steps-wrapper {
    background: var(--ext-bg-card);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 30px;
}

.dl-steps-head {
    margin-bottom: 20px;
}

.dl-steps-kicker {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ext-accent);
    display: inline-block;
    margin-bottom: 4px;
}

.dl-steps-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.dl-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dl-step-card {
    background: rgba(8, 14, 26, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dl-step-num {
    font-family: 'Outfit', monospace;
    font-size: 26px;
    font-weight: 900;
    color: rgba(56, 189, 248, 0.4);
    letter-spacing: -1px;
}

.dl-step-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.dl-step-text {
    font-size: 12.5px;
    color: var(--ext-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* System Requirements */
.dl-requirements-panel {
    background: var(--ext-bg-card);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    padding: 28px 30px;
}

.dl-req-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.dl-req-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.dl-req-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.dl-req-single-card {
    background: rgba(8, 14, 26, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.dl-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
}

.dl-req-list li {
    font-size: 13.5px;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.dl-req-list strong {
    color: var(--ext-text-muted);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
    .dl-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dl-companion-grid {
        grid-template-columns: 1fr;
    }
    .dl-steps-grid {
        grid-template-columns: 1fr;
    }
    .dl-req-grid {
        grid-template-columns: 1fr;
    }
    .dl-primary-header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .dl-meta-grid {
        grid-template-columns: 1fr;
    }
    .dl-prereq-banner {
        flex-direction: column;
    }
    .dl-hero-banner {
        padding: 22px 20px;
    }
    .dl-primary-card {
        padding: 20px;
    }
}

/* ==========================================================================
   Clean Dark-Glass CTA Buttons (Unified Palette & Glass Finish)
   Free of cyberpunk purple neon or burning glows; matches dark esports theme.
   ========================================================================== */
.btn-glass-cta,
.btn-discord-join {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    background: rgba(14, 26, 48, 0.72) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(56, 189, 248, 0.28) !important;
    color: #e2e8f0 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28) !important;
}

.btn-glass-cta:hover,
.btn-discord-join:hover {
    background: rgba(22, 40, 72, 0.85) !important;
    border-color: rgba(56, 189, 248, 0.52) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.38) !important;
    transform: translateY(-1px) !important;
}

.btn-glass-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    background: rgba(10, 18, 34, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    color: #cbd5e1 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.btn-glass-secondary:hover {
    background: rgba(18, 30, 52, 0.85) !important;
    border-color: rgba(148, 163, 184, 0.4) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   Beta Period Notice Card (Portal Main Feed - High Prominence)
   Clean, dark-glass announcement container with enlarged, important typography.
   ========================================================================== */
.beta-notice-card {
    background: rgba(11, 22, 42, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 14px;
    padding: 30px 36px;
    margin-bottom: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.beta-notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #38bdf8, #0284c7);
}

.beta-notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.beta-notice-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.32);
    padding: 5px 14px;
    border-radius: 6px;
}

.beta-notice-date {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 4px 12px;
    border-radius: 6px;
}

.beta-notice-title {
    font-family: 'Outfit', sans-serif;
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.beta-notice-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.beta-notice-content p {
    margin: 0;
}

/* ==========================================================================
   Active Rooms Triple Grid (Solo / Single, 1 vs 1 Live, Multiplayer)
   3 equal cards matching the dark glass esports style.
   ========================================================================== */
.stat-box.rooms-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 22px;
}

.stat-rooms-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.stat-rooms-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.24);
    padding: 3px 9px;
    border-radius: 5px;
}

.rooms-triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.room-type-card {
    background: rgba(8, 16, 32, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 8px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.room-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(56, 189, 248, 0.4);
    border-radius: 8px 8px 0 0;
}

.room-type-card:hover {
    border-color: rgba(56, 189, 248, 0.48);
    background: rgba(12, 24, 48, 0.78);
    transform: translateY(-1px);
}

.room-type-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 2px;
    white-space: nowrap;
}

.room-type-metric {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2px;
}

.room-type-sub {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .rooms-triple-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Official Client Real Package Breakdown Cards (Downloads View)
   Direct 1:1 reflection of registered build metrics (Visuals, Audio, Total).
   ========================================================================== */
.dl-breakdown-section {
    background: rgba(8, 14, 26, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dl-breakdown-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dl-breakdown-kicker {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ext-accent);
}

.dl-breakdown-total-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 2px 8px;
    border-radius: 4px;
}

.dl-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dl-breakdown-card {
    background: rgba(6, 12, 24, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.dl-breakdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(56, 189, 248, 0.45);
    border-radius: 10px 10px 0 0;
}

.dl-breakdown-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.dl-breakdown-card.total {
    background: rgba(10, 20, 40, 0.8);
    border-color: rgba(56, 189, 248, 0.4);
}

.dl-breakdown-card.total::before {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.dl-breakdown-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dl-breakdown-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #94a3b8;
}

.dl-breakdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    opacity: 0.85;
}

.dl-breakdown-metric {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 8px 0 6px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.dl-metric-unit {
    font-size: 16px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.3px;
}

.dl-breakdown-card.total .dl-metric-unit {
    color: #22d3ee;
}

.dl-breakdown-sub {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.2px;
}

@media (max-width: 820px) {
    .dl-breakdown-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Song Showcase Carousel (Portal Stats Strip Left Box)
   Compact cover thumbnail, title, bpm, and difficulty levels (EZ, NM, HD).
   Enlarged standardized inner card with no dots, filling available space.
   ========================================================================== */
.stat-box.song-carousel-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
}

.song-carousel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.song-carousel-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.song-carousel-counter {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--ext-accent);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.22);
    padding: 2px 7px;
    border-radius: 4px;
}

.carousel-arrow {
    background: rgba(14, 26, 48, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #e2e8f0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.carousel-arrow:hover {
    background: rgba(22, 40, 72, 0.9);
    border-color: rgba(56, 189, 248, 0.52);
    color: #ffffff;
    transform: scale(1.05);
}

.song-carousel-slide {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(6, 12, 24, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 10px;
    width: 100%;
    flex: 1;
    min-height: 90px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.song-cover-thumb {
    width: 76px;
    height: 76px;
    min-width: 76px;
    max-width: 76px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    object-fit: cover;
    background: #081020;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    display: block;
    flex-shrink: 0;
}

.song-slide-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.song-slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    max-width: 100%;
}

.song-slide-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #94a3b8;
}

.song-slide-artist {
    color: #cbd5e1;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.song-slide-bpm {
    color: #94a3b8;
    font-size: 12px;
    white-space: nowrap;
}

.song-slide-bpm strong {
    color: var(--ext-accent);
    font-weight: 700;
}

.song-diff-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.diff-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2.5px 8px;
    border-radius: 5px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.diff-badge strong {
    font-size: 9.5px;
    opacity: 0.85;
}

.diff-badge.easy {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.diff-badge.normal {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.diff-badge.hard {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fb7185;
}

@media (max-width: 480px) {
    .song-cover-thumb {
        width: 62px;
        height: 62px;
        min-width: 62px;
        max-width: 62px;
    }
    .song-slide-title {
        font-size: 14px;
    }
}

/* ==========================================================================
   Rankings Showcase: Top 3 Most Played Songs Podium
   ========================================================================== */
.songs-podium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.podium-card {
    background: rgba(11, 22, 42, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.podium-card:hover {
    transform: translateY(-2px);
}

.podium-card.rank-1 {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, rgba(11, 22, 42, 0.88) 100%);
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.14);
}

.podium-card.rank-2 {
    border-color: rgba(203, 213, 225, 0.45);
    background: linear-gradient(135deg, rgba(203, 213, 225, 0.08) 0%, rgba(11, 22, 42, 0.88) 100%);
    box-shadow: 0 8px 26px rgba(203, 213, 225, 0.1);
}

.podium-card.rank-3 {
    border-color: rgba(217, 119, 6, 0.45);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(11, 22, 42, 0.88) 100%);
    box-shadow: 0 8px 26px rgba(217, 119, 6, 0.1);
}

.podium-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.podium-rank-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.podium-card.rank-1 .podium-rank-tag {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.podium-card.rank-2 .podium-rank-tag {
    background: rgba(203, 213, 225, 0.2);
    color: #e2e8f0;
    border: 1px solid rgba(203, 213, 225, 0.45);
}

.podium-card.rank-3 .podium-rank-tag {
    background: rgba(217, 119, 6, 0.2);
    color: #f97316;
    border: 1px solid rgba(217, 119, 6, 0.45);
}

.podium-plays-tag {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.22);
    padding: 2.5px 8px;
    border-radius: 5px;
}

.podium-card-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.podium-cover-thumb {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    object-fit: cover;
    background: #081020;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.podium-song-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.podium-song-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.podium-song-artist {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-diff-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

/* Table Song Cell */
.table-song-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-song-thumb {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    object-fit: cover;
    background: #081020;
    flex-shrink: 0;
}

.table-song-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.table-song-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-song-artist {
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Level Scores Rankings (Top 20 per Easy / Normal / Hard)
   ========================================================================== */
.level-switcher-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.level-switch-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 26, 48, 0.75);
    padding: 5px;
    border-radius: 9px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.level-switch-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 18px;
    border-radius: 7px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.level-switch-btn:hover {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.08);
}

.level-switch-btn.active.lvl-easy {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.25);
}

.level-switch-btn.active.lvl-normal {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.level-switch-btn.active.lvl-hard {
    background: rgba(244, 63, 94, 0.2);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.45);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

/* Level Metrics Strip */
.level-metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.level-metric-box {
    background: rgba(11, 22, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.level-metric-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94a3b8;
}

.level-metric-val {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.level-metric-val.gold {
    color: #fbbf24;
}

.level-metric-val.cyan {
    color: #38bdf8;
}

@media (max-width: 900px) {
    .songs-podium-grid {
        grid-template-columns: 1fr;
    }
    .level-metrics-strip {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Song Detail View (Single Song 3-Level Stats & High Scores)
   ========================================================================== */
.song-detail-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.2s ease-out;
}

.song-detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.btn-song-back {
    background: rgba(14, 26, 48, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-song-back:hover {
    background: rgba(22, 40, 72, 0.9);
    border-color: rgba(56, 189, 248, 0.5);
    color: #ffffff;
    transform: translateX(-2px);
}

.song-detail-hero {
    background: linear-gradient(135deg, rgba(14, 28, 56, 0.85) 0%, rgba(8, 16, 32, 0.92) 100%);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.song-detail-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.song-detail-cover {
    width: 96px;
    height: 96px;
    min-width: 96px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.38);
    object-fit: cover;
    background: #081020;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
    flex-shrink: 0;
}

.song-detail-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.song-detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.song-detail-sub {
    font-size: 13.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.song-detail-sub strong {
    color: #cbd5e1;
}

.song-detail-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    margin-top: 4px;
    width: fit-content;
}

/* 3 Level Cards Grid Integrated inside Hero on the right */
.song-levels-grid {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-shrink: 0;
}

.song-level-card {
    background: rgba(11, 22, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 180px;
    box-sizing: border-box;
}

.song-level-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.35);
}

.song-level-card.active.lvl-easy {
    border-color: rgba(34, 197, 94, 0.6);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(11, 22, 42, 0.9) 100%);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.22);
}

.song-level-card.active.lvl-normal {
    border-color: rgba(56, 189, 248, 0.6);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(11, 22, 42, 0.9) 100%);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.22);
}

.song-level-card.active.lvl-hard {
    border-color: rgba(244, 63, 94, 0.6);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(11, 22, 42, 0.9) 100%);
    box-shadow: 0 0 16px rgba(244, 63, 94, 0.22);
}

.song-level-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.song-level-indicator {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.song-level-card.active .song-level-indicator {
    color: #ffffff;
}

.song-level-stats-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11.5px;
}

.song-level-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
}

.song-level-stat-row strong {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 1120px) {
    .song-detail-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .song-levels-grid {
        width: 100%;
        justify-content: space-between;
    }
    .song-level-card {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 680px) {
    .song-levels-grid {
        flex-direction: column;
    }
}

/* Proportional, Balanced 10-Column Leaderboard Table */
.song-scores-table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: collapse;
}

.song-scores-table thead th {
    text-align: center !important;
    padding: 12px 4px !important;
    font-size: 11px !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.song-scores-table tbody td {
    text-align: center !important;
    padding: 12px 4px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

/* Individual Column Proportions (Sum = 100%) */
.song-scores-table .col-rank    { width: 6% !important; }
.song-scores-table .col-player  { width: 13% !important; }
.song-scores-table .col-country { width: 7% !important; }
.song-scores-table .col-status  { width: 9% !important; }
.song-scores-table .col-speed   { width: 8% !important; }
.song-scores-table .col-mods    { width: 8% !important; }
.song-scores-table .col-cgbm    { width: 19% !important; }
.song-scores-table .col-acc     { width: 9% !important; }
.song-scores-table .col-grade   { width: 6% !important; }
.song-scores-table .col-date    { width: 15% !important; }

.song-leaderboard-section {
    transition: opacity 0.16s ease-in-out;
}

/* Date Badge Pill (matching Speed & Status aesthetics) */
.date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(15, 26, 46, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 4px;
    padding: 2px 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* CGBM (Cool / Good / Bad / Miss) Perfectly Aligned Header & Badge */
.cgbm-header-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 186px;
    margin: 0 auto;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.cgbm-header-col {
    text-align: center;
    box-sizing: border-box;
}

.cgbm-header-col.cool,
.cgbm-val.cool {
    width: 42px;
}

.cgbm-header-col.good,
.cgbm-val.good {
    width: 42px;
}

.cgbm-header-col.bad,
.cgbm-val.bad {
    width: 34px;
}

.cgbm-header-col.miss,
.cgbm-val.miss {
    width: 38px;
}

.cgbm-sep {
    width: 10px;
    text-align: center;
    color: rgba(148, 163, 184, 0.35);
    font-weight: 400;
    user-select: none;
}

/* Elegant Obsidian Glass Badge for Judgement Data */
.cgbm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 186px;
    background: rgba(15, 26, 46, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 4px;
    padding: 2px 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

.cgbm-val {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.2px;
    box-sizing: border-box;
}

.cgbm-val.cool { color: #38bdf8; }
.cgbm-val.good { color: #4ade80; }
.cgbm-val.bad  { color: #fbbf24; }
.cgbm-val.miss { color: #f87171; }

/* ==========================================================================
   3-Category Game Mode Ranking Selector (Multiplayer Official / 1vs1 / Single)
   ========================================================================== */
.mode-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.mode-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(11, 20, 36, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    overflow: hidden;
}

.mode-category-card:hover {
    background: rgba(16, 29, 52, 0.92);
    border-color: rgba(56, 189, 248, 0.36);
    transform: translateY(-1px);
}

.mode-category-card.active {
    background: linear-gradient(160deg, rgba(16, 33, 62, 0.96) 0%, rgba(9, 18, 34, 0.96) 100%);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), inset 0 2px 0 #38bdf8;
}

.mode-category-card.mode-official.active {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.48), inset 0 2px 0 #f59e0b;
}

.mode-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.mode-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Outfit', sans-serif;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.mode-card-badge.official-gold {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.38);
}

.mode-card-badge.duel-rose {
    background: rgba(244, 63, 94, 0.12);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.3);
}

.mode-card-cap {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--ext-text-dim);
}

.mode-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--ext-text);
    margin: 2px 0 0 0;
    letter-spacing: -0.2px;
}

.mode-category-card.mode-official.active .mode-card-title {
    color: #fde68a;
}

.mode-card-desc {
    font-size: 12px;
    line-height: 1.4;
    color: var(--ext-text-muted);
    margin: 0;
}

.mode-season-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 11px 16px;
    margin-bottom: 14px;
    background: rgba(15, 26, 46, 0.78);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-left: 3px solid #f59e0b;
    border-radius: 8px;
    font-size: 12.5px;
    color: #cbd5e1;
}

.rank-badge.unranked {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.22);
    font-weight: 600;
}

.goals-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.09);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #7dd3fc;
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 860px) {
    .mode-category-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mode-category-card {
        padding: 11px 14px;
    }
}
