/* ═══════════════════════════════════════════════════════════════
   SYMPHONY — styles.css
   Mobile-first · Otimizado para WebView · v2.0
═══════════════════════════════════════════════════════════════ */


:root {
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-strong: rgba(255, 255, 255, 0.12);
    --glass-blur: blur(20px) saturate(140%);

    /* Shadows */
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.45);

    /* Cores de destaque */
    --accent: #1DB954;
    --accent-hover: #1ed760;
    --purple: #a855f7;
    --pink: #ec4899;
    --blue: #1D9BF0;
    --red: #ef4444;
    --yellow: #fbbf24;

    /* Texto */
    --text: #fff;
    --text-dim: #b3b3b3;
    --text-mute: #6a6a6a;

    /* Tipografia — MENOR que desktop, ideal para mobile */
    --fs-xs: 10.5px;
    --fs-sm: 12px;
    --fs-base: 13.5px;
    --fs-md: 14.5px;
    --fs-lg: 16px;
    --fs-xl: 19px;
    --fs-2xl: 24px;
    --fs-3xl: 32px;

    /* Toque — mínimo 44px (iOS HIG / Material) */
    --tap: 44px;
    --tap-sm: 36px;

    /* Safe areas (iPhone notch) */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

html, body {
    background: #000;
    color: var(--text);
    height: 100dvh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
}

/* ═══════════════════════════════════════════════
   FUNDO — PRETO COM TRAÇOS ROXO/ROSA (estilo logo)
═══════════════════════════════════════════════ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        /* Brilho roxo principal — topo esquerdo */
        radial-gradient(
            ellipse 70% 55% at 12% -5%,
            rgba(168, 85, 247, 0.22),
            transparent 55%
        ),
        /* Brilho rosa — canto direito */
        radial-gradient(
            ellipse 55% 50% at 95% 15%,
            rgba(236, 72, 153, 0.16),
            transparent 60%
        ),
        /* Brilho roxo profundo — base esquerda */
        radial-gradient(
            ellipse 60% 45% at -5% 90%,
            rgba(139, 92, 246, 0.14),
            transparent 60%
        ),
        /* Brilho rosa suave — base direita */
        radial-gradient(
            ellipse 65% 50% at 100% 100%,
            rgba(217, 27, 174, 0.13),
            transparent 60%
        ),
        /* Brilho lilás central sutil (dá unidade) */
        radial-gradient(
            ellipse 50% 40% at 50% 50%,
            rgba(168, 85, 247, 0.05),
            transparent 70%
        ),
        /* Base preta */
        #000;
    pointer-events: none;
    z-index: 0;
}
input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button { cursor: pointer; border: none; background: none; }

img { display: block; max-width: 100%; }

/* Bloqueia seleção em elementos de UI (não em inputs/áreas de texto) */
button, .nav-item, .track-card, .artist-card, .album-card, .genre-card,
.chip, .social-action, .channel-btn, .role-item, .member-row,
.servers-tab, .search-filter-btn, .difficulty-btn, .feeling-chip,
.reaction-btn, .hero-btn, .modal-btn, .playlist-picker-item {
    user-select: none;
    -webkit-user-select: none;
}

/* ═══════════════════════════════════════════════
   2. LAYOUT PRINCIPAL
═══════════════════════════════════════════════ */
.app-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 100dvh;
    width: 100%;
    gap: 8px;
    padding: 8px;
    padding-top: calc(8px + var(--safe-top));
    padding-bottom: calc(8px + var(--safe-bottom));
    transition: padding-bottom 0.3s ease;
    position: relative;
    z-index: 1;
}
.app-layout.has-player {
    padding-bottom: calc(98px + var(--safe-bottom));
}

/* ─── SIDEBAR ─── */
.sidebar {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    padding: 8px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.sidebar-logo:hover { background: var(--glass-bg); }
.sidebar-logo img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    animation: spin 30s linear infinite;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}
.sidebar-logo span {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sidebar-nav {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 8px;
    color: var(--text-dim);
    font-weight: 600;
    font-size: var(--fs-base);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    min-height: var(--tap);
}
.nav-item:hover { color: #fff; background: var(--glass-bg-hover); }
.nav-item.active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-item i { font-size: 17px; width: 22px; text-align: center; }

.nav-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 3px 7px;
    border-radius: 500px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 12px rgba(168,85,247,.5); transform: translateY(-50%) scale(1); }
    50% { box-shadow: 0 0 20px rgba(168,85,247,.8), 0 0 30px rgba(236,72,153,.4); transform: translateY(-50%) scale(1.05); }
}

.sidebar-library {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    color: var(--text-dim);
    font-weight: 700;
    font-size: var(--fs-sm);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.library-header button {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 14px;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}
.library-header button:hover { background: var(--glass-bg-hover); color: #fff; }

.library-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}
.library-list::-webkit-scrollbar { width: 6px; }
.library-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.playlist-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.playlist-mini:hover { background: var(--glass-bg-hover); }
.playlist-mini img { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.playlist-mini-info { min-width: 0; flex: 1; }
.playlist-mini-info p {
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.playlist-mini-info span { font-size: 11px; color: var(--text-dim); }

/* ─── MAIN AREA ─── */
.main-area {
    background: rgba(18, 18, 20, 0.4);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    min-height: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.main-area::-webkit-scrollbar { width: 10px; }
.main-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 6px; }

/* ═══════════════════════════════════════════════
   3. TOPBAR & BUSCA
═══════════════════════════════════════════════ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 18, 0.75);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    padding: 12px 20px;
    padding-top: calc(12px + var(--safe-top));
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.nav-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.nav-arrow:hover:not(:disabled) { background: var(--glass-bg-hover); }
.nav-arrow:disabled { opacity: 0.4; cursor: default; }

.search-box {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 500px;
    padding: 10px 16px;
    transition: all 0.2s;
    min-width: 0;
}
.search-box:focus-within {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.search-box i { color: var(--text-dim); font-size: 14px; flex-shrink: 0; }
.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: var(--fs-base);
    outline: none;
    font-weight: 500;
    min-width: 0;
}
.search-box input::placeholder { color: var(--text-dim); }

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 500px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    min-height: var(--tap-sm);
}
.user-btn:hover { background: var(--glass-bg-hover); transform: translateY(-1px); }
.user-btn img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

.user-dropdown {
    position: absolute;
    right: 24px;
    top: 70px;
    background: rgba(28, 28, 32, 0.95);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--glass-border-strong);
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    min-width: 220px;
    display: none;
    animation: dropIn 0.2s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.user-dropdown.show { display: block; }
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    font-size: var(--fs-base);
    font-weight: 500;
    text-align: left;
    transition: background 0.15s;
    min-height: var(--tap);
}
.user-dropdown button:hover { background: var(--glass-bg-hover); }
.user-dropdown .divider { height: 1px; background: var(--glass-border); margin: 4px 8px; }

/* ═══════════════════════════════════════════════
   4. PLAYER BAR
═══════════════════════════════════════════════ */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 90px;
    background: rgba(18, 18, 22, 0.85);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid var(--glass-border-strong);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 12px 16px;
    display: none;
    grid-template-columns: minmax(180px, 30%) minmax(300px, 40%) minmax(150px, 30%);
    align-items: center;
    gap: 16px;
    z-index: 500;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.7);
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: calc(12px + var(--safe-bottom));
}
.player-bar.show { display: grid; }
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.player-track { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-track img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.player-track img:hover { transform: scale(1.05); }
.player-track-info { min-width: 0; flex: 1; }
.player-track-name {
    font-size: var(--fs-base);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.player-track-name:hover { text-decoration: underline; }
.player-track-artist {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.player-track-actions { display: flex; align-items: center; gap: 6px; }
.player-track-actions button {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    border-radius: 50%;
    transition: all 0.2s;
    min-width: var(--tap-sm);
    min-height: var(--tap-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-track-actions button:hover { color: #fff; transform: scale(1.1); background: var(--glass-bg); }
.player-track-actions button.fav-on { color: var(--accent); }

.player-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.player-controls { display: flex; align-items: center; gap: 20px; }
.player-controls button {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 6px;
    transition: all 0.2s;
    font-size: 15px;
    min-width: var(--tap-sm);
    min-height: var(--tap-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-controls button:hover { color: #fff; transform: scale(1.1); }
.player-controls .play-btn {
    background: #fff;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.player-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 600px;
}
.player-progress-row span {
    font-size: var(--fs-xs);
    color: var(--text-dim);
    min-width: 35px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.player-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s;
}
.player-progress-bar:hover { height: 6px; }
.player-progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: background 0.2s;
}
.player-progress-bar:hover .player-progress-fill { background: var(--accent); }

.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.player-right button {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 8px;
    font-size: 15px;
    border-radius: 50%;
    transition: all 0.2s;
    min-width: var(--tap-sm);
    min-height: var(--tap-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-right button:hover { color: #fff; background: var(--glass-bg); }
.player-right button.active { color: var(--accent); }

.volume-slider {
    width: 90px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s;
}
.volume-slider:hover { height: 6px; }
.volume-fill { height: 100%; background: #fff; border-radius: 2px; transition: background 0.2s; }

/* ═══════════════════════════════════════════════
   5. PÁGINAS E SECTION HEADERS
═══════════════════════════════════════════════ */
.page { display: none; padding: 20px; animation: fadeIn 0.3s ease; }
.page.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 16px;
    gap: 12px;
}
.section-header:first-child { margin-top: 0; }
.section-title {
    font-size: var(--fs-2xl);
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #fff;
}
.section-subtitle {
    color: var(--text-dim);
    font-size: var(--fs-sm);
    margin-top: 4px;
    line-height: 1.4;
}
.see-all {
    color: var(--text-dim);
    font-size: var(--fs-xs);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
    min-height: var(--tap-sm);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.see-all:hover { color: #fff; }

/* ─── HERO BANNER ─── */
.hero-banner {
    position: relative;
    border-radius: 16px;
    padding: 44px 40px;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}
.hero-banner::after {
    content: '𝄞 ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩';
    position: absolute;
    bottom: -10px;
    right: -20px;
    font-family: "Times New Roman", serif;
    font-size: 90px;
    letter-spacing: 25px;
    color: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 500px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: var(--fs-3xl);
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.05;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-title span {
    background: linear-gradient(135deg, #fff 0%, #f5d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    max-width: 520px;
    font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 500px;
    font-size: var(--fs-base);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    min-height: var(--tap);
}
.hero-btn.primary {
    background: #fff;
    color: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* ─── DAILY HERO ─── */
.daily-hero {
    position: relative;
    border-radius: 16px;
    padding: 44px 40px;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 260px;
    display: flex;
    align-items: center;
}
.daily-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(60px) saturate(180%);
    transform: scale(1.3);
    opacity: 0.35;
    z-index: 0;
    transition: background-image 0.6s ease;
}
.daily-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.3) 100%),
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 45%);
    z-index: 1;
}
.daily-hero-inner { position: relative; z-index: 2; width: 100%; }
.daily-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
}
.daily-hero-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1DB954;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.7);
    animation: dailyDotPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes dailyDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.daily-hero-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.daily-hero-body {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.daily-hero-cover {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.daily-hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.daily-hero-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    color: #fff;
}
.daily-hero-cover:hover .daily-hero-play { opacity: 1; }
.daily-hero-play i {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.daily-hero-text { flex: 1; min-width: 260px; max-width: 640px; }
.daily-hero-title {
    font-size: var(--fs-3xl);
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    word-break: break-word;
}
.daily-hero-artist {
    font-size: var(--fs-md);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}
.daily-hero-reason {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 520px;
}
.daily-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px;
    border-radius: 500px;
    background: #fff;
    color: #000;
    border: none;
    font-size: var(--fs-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-height: var(--tap);
}

/* ═══════════════════════════════════════════════
   6. CARDS (track, artist, album, genre)
═══════════════════════════════════════════════ */
.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

.track-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(10px);
}
.track-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.track-card-img-wrap { position: relative; margin-bottom: 14px; }
.track-card-img-wrap img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: block;
}

.track-card-actions-col {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 3;
}
.track-card:hover .track-card-actions-col {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.track-card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}
.track-card-action-btn:hover { transform: scale(1.12); background: rgba(0, 0, 0, 0.85); }
.track-card-action-btn.favorited,
.track-card-action-btn.fav-on { color: #ffd700; }
.track-card-action-btn.review { color: #a855f7; }

.track-card-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    border: none;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.45);
}

.track-card-title {
    font-size: var(--fs-md);
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-card-artist {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── ARTIST CARDS ─── */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}
.artist-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    backdrop-filter: blur(10px);
}
.artist-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.artist-card img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 14px;
}
.artist-card p {
    font-size: var(--fs-md);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.artist-card span { font-size: var(--fs-sm); color: var(--text-dim); }

/* ─── GENRE CARDS ─── */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.genre-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.4);
}
.genre-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--glass-border-strong);
    box-shadow: var(--shadow-md);
}
.genre-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.genre-card:hover img { transform: scale(1.08); }
.genre-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 50%, transparent 100%);
}
.genre-card-name {
    font-size: var(--fs-lg);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 2px;
}
.genre-card-plays {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ─── ALBUM CARDS ─── */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.album-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}
.album-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.album-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    display: block;
}
.album-card-name {
    font-size: var(--fs-base);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.album-card-artist {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.album-card-meta { font-size: var(--fs-xs); color: var(--text-mute); font-weight: 600; }

/* ─── CHIP (gênero horizontal) ─── */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 12px;
}
.chip {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 64px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.chip:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
    transform: translateY(-2px);
}
.chip img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.chip span { font-size: var(--fs-base); font-weight: 700; color: #fff; }

/* ═══════════════════════════════════════════════
   7. CARROSSÉIS
═══════════════════════════════════════════════ */
.carousel-wrap { position: relative; margin-bottom: 32px; }

.carousel-rail {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-rail::-webkit-scrollbar { display: none; }

.carousel-rail.dragging {
    scroll-behavior: auto;
    cursor: grabbing;
}
.carousel-rail.dragging * { pointer-events: none; }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 20, 24, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.carousel-arrow.left { left: -8px; }
.carousel-arrow.right { right: -8px; }
.carousel-arrow.visible { opacity: 1; pointer-events: auto; }

.carousel-rail > .track-card {
    flex: 0 0 auto;
    width: 180px;
    scroll-snap-align: start;
}
.carousel-rail > .genre-card {
    flex: 0 0 auto;
    width: 240px;
    aspect-ratio: 16 / 10;
    scroll-snap-align: start;
}
.carousel-rail > .album-card {
    flex: 0 0 auto;
    width: 180px;
    scroll-snap-align: start;
}
.carousel-rail > .artist-card {
    flex: 0 0 auto;
    width: 170px;
    scroll-snap-align: start;
    text-align: center;
}

/* ═══════════════════════════════════════════════
   8. TRACK ROWS / LISTAS
═══════════════════════════════════════════════ */
.track-list { display: flex; flex-direction: column; gap: 4px; }

.track-row {
    display: grid;
    grid-template-columns: 40px 4fr 3fr 2fr 80px;
    gap: 16px;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.track-row:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}
.track-row-num { color: var(--text-dim); font-size: var(--fs-base); text-align: center; }
.track-row:hover .track-row-num { color: #fff; }

.track-row-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.track-row-info img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.track-row-text { min-width: 0; }
.track-row-name {
    font-size: var(--fs-base);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-row-artist {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.track-row-album {
    color: var(--text-dim);
    font-size: var(--fs-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.track-row:hover .track-row-actions { opacity: 1; }
.track-row-actions button {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 14px;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    min-width: var(--tap-sm);
    min-height: var(--tap-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.track-row-actions button:hover { color: #fff; background: var(--glass-bg-hover); }
.track-row-actions button.fav-on { color: #ffd700; }

/* Grid 2 colunas para home */
.track-grid-2col {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 16px;
    margin-bottom: 32px;
    align-items: start;
}

/* ═══════════════════════════════════════════════
   9. MODAIS
═══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: calc(20px + var(--safe-top));
    padding-bottom: calc(20px + var(--safe-bottom));
}
.modal-overlay.show { display: flex; animation: fadeIn 0.25s ease; }

.modal-box {
    background: rgba(28, 28, 32, 0.95);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid var(--glass-border-strong);
    border-radius: 16px;
    padding: 28px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: cardIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}
@keyframes cardIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-title {
    font-size: var(--fs-xl);
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 22px;
}
.modal-input {
    width: 100%;
    padding: 13px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-size: var(--fs-md);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}
.modal-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--glass-bg-hover);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.modal-btn {
    padding: 12px 24px;
    border-radius: 500px;
    font-weight: 700;
    font-size: var(--fs-base);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    min-height: var(--tap);
}
.modal-btn.primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.25);
}
.modal-btn.secondary { background: none; color: var(--text-dim); }
.modal-btn.secondary:hover { color: #fff; }

/* ─── Playlist picker ─── */
.playlist-picker-box {
    max-width: 520px;
    padding: 0 !important;
    overflow: hidden;
    background: rgba(22, 22, 26, 0.98) !important;
}
.playlist-picker-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.05));
}
.playlist-picker-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}
.playlist-picker-info { flex: 1; min-width: 0; }
.playlist-picker-info h3 {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: -0.3px;
}
.playlist-picker-info p {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.playlist-picker-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.playlist-picker-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.15);
}
.playlist-picker-search i { color: var(--text-mute); font-size: 13px; flex-shrink: 0; }
.playlist-picker-search input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: var(--fs-base);
    outline: none;
}
.playlist-picker-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
    -webkit-overflow-scrolling: touch;
}
.playlist-picker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
    min-height: 56px;
}
.playlist-picker-item:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.06); }
.playlist-picker-item.selected {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
    border-color: rgba(168, 85, 247, 0.4);
}
.playlist-picker-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.playlist-picker-checkbox i {
    font-size: 11px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}
.playlist-picker-item.selected .playlist-picker-checkbox {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}
.playlist-picker-item.selected .playlist-picker-checkbox i { opacity: 1; transform: scale(1); }

.playlist-picker-cover {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    overflow: hidden;
}
.playlist-picker-cover img { width: 100%; height: 100%; object-fit: cover; }

.playlist-picker-item-info { flex: 1; min-width: 0; }
.playlist-picker-item-info strong {
    display: block;
    font-size: var(--fs-base);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.playlist-picker-item-info span { display: block; font-size: 11.5px; color: var(--text-dim); }

.playlist-picker-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
}
.playlist-picker-create {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d1d1d1;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-height: var(--tap);
}
.playlist-picker-confirm {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    color: #fff;
    font-size: var(--fs-base);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
    min-height: var(--tap);
}
.playlist-picker-confirm:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: #555;
    box-shadow: none;
    cursor: not-allowed;
}

/* ─── Review modal ─── */
.review-modal-box {
    max-width: 560px;
    padding: 36px 32px 28px;
    position: relative;
    overflow: hidden;
}
.review-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}
.review-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}
.review-step-dot {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease;
}
.review-step-dot.active { background: rgba(255, 255, 255, 0.35); }
.review-step-dot.done { background: rgba(255, 255, 255, 0.7); }

.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.review-head img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.review-head-info { flex: 1; min-width: 0; }
.review-head-info h2 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.review-head-info p {
    font-size: var(--fs-base);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-block {
    margin-bottom: 22px;
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.review-block.unlocked { opacity: 1; pointer-events: auto; }

.review-question {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--fs-md);
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.review-question i { color: var(--text-dim); font-size: 13px; }

.reaction-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #a0a0a0;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: inherit;
    min-height: 72px;
}
.reaction-btn i { font-size: 18px; }
.reaction-btn span { font-size: 10.5px; font-weight: 600; }
.reaction-btn.selected {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.18));
    border-color: rgba(168, 85, 247, 0.55);
    color: #fff;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
}

.intensity-wrap { display: flex; align-items: center; gap: 12px; }
.intensity-label {
    font-size: 10.5px;
    color: var(--text-mute);
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}
#intensitySlider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    cursor: pointer;
}
#intensitySlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    cursor: grab;
    border: 3px solid #1a1a1e;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}
.intensity-feedback {
    margin-top: 10px;
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--text-dim);
}
.intensity-feedback strong { color: #fff; }

.feeling-row { display: flex; flex-wrap: wrap; gap: 7px; }
.feeling-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 500px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #b3b3b3;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    min-height: var(--tap-sm);
}
.feeling-chip.selected {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
    border-color: rgba(168, 85, 247, 0.6);
    color: #fff;
}

.review-textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    font-size: var(--fs-base);
    outline: none;
    font-family: inherit;
    resize: none;
}
.review-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.review-skip {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: var(--fs-base);
    font-weight: 500;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    min-height: var(--tap);
}
.review-submit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 500px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    font-size: var(--fs-base);
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    min-height: var(--tap);
}
.review-submit:disabled {
    background: rgba(255, 255, 255, 0.06);
    color: #5a5a5a;
    box-shadow: none;
    cursor: not-allowed;
}

/* ─── Auth modal ─── */
.auth-gate-box {
    background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%) !important;
    max-width: 440px !important;
    padding: 44px 40px 38px !important;
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
}
.auth-gate-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 5;
    min-height: var(--tap-sm);
}
.auth-view { display: none; position: relative; z-index: 1; }
.auth-view.active { display: block; animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1); }

.auth-header { text-align: center; margin-bottom: 26px; }
.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}
.auth-header h2 {
    font-size: var(--fs-xl);
    font-weight: 900;
    letter-spacing: -0.4px;
    color: #fff;
    margin-bottom: 6px;
}
.auth-header p { color: #b3b3b3; font-size: var(--fs-base); line-height: 1.5; }

.auth-form-group { margin-bottom: 16px; }
.auth-form-group label {
    display: block;
    color: #b3b3b3;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.auth-form-group input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 500;
    outline: none;
    min-height: var(--tap);
}
.auth-form-group input:focus {
    background: rgba(168, 85, 247, 0.06);
    border-color: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

.auth-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--tap);
}
.auth-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.auth-footer p { color: #888; font-size: var(--fs-base); }
.auth-footer a { color: #a855f7; text-decoration: none; font-weight: 700; }

/* ═══════════════════════════════════════════════
   10. SOCIAL
═══════════════════════════════════════════════ */
.social-feed {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-post {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.15s;
    position: relative;
}
.social-post:last-child { border-bottom: none; }
.social-post:hover { background: rgba(255, 255, 255, 0.015); }

.social-avatar-col { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.social-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.2s;
}
.social-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.social-post-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-md);
    flex-wrap: wrap;
}
.social-post-name {
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.social-post-name i { color: var(--accent); font-size: 12px; }
.social-post-handle { color: var(--text-mute); font-size: var(--fs-base); }
.social-post-dot { color: var(--text-mute); font-size: 13px; }
.social-post-time { color: var(--text-mute); font-size: var(--fs-base); }

.social-post-text {
    font-size: var(--fs-md);
    color: #e7e9ea;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.social-post-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    margin-left: -6px;
    max-width: 460px;
}
.social-action {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-mute);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
    border-radius: 500px;
    transition: all 0.15s;
    font-family: inherit;
    min-height: var(--tap-sm);
}
.social-action i { font-size: 14px; }
.social-action:hover { color: var(--blue); background: rgba(29, 155, 240, 0.12); }
.social-action.liked { color: #F91880; }
.social-action.reposted { color: #00BA7C; }

.social-composer {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    max-width: 620px;
    margin: 0 auto 16px;
    backdrop-filter: blur(10px);
}
.social-composer-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#composerText, #replyText {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: var(--fs-lg);
    resize: none;
    outline: none;
    padding: 8px 0;
    line-height: 1.4;
    min-height: 44px;
    max-height: 300px;
    font-family: inherit;
}
.social-composer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
    margin-top: 4px;
}
.social-composer-actions { display: flex; gap: 4px; margin-left: -8px; }
.social-composer-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
    font-size: 15px;
}
.social-composer-right { display: flex; align-items: center; gap: 12px; }
.composer-counter { font-size: var(--fs-sm); color: var(--text-mute); font-weight: 600; }
.composer-counter.over { color: var(--red); }
.btn-post {
    padding: 10px 20px;
    border-radius: 500px;
    background: var(--blue);
    color: #fff;
    border: none;
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    min-height: var(--tap-sm);
}
.btn-post:disabled { opacity: 0.4; cursor: not-allowed; }

/* ═══════════════════════════════════════════════
   11. COMMUNITY
═══════════════════════════════════════════════ */
.servers-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 500px;
    max-width: 400px;
    margin-bottom: 24px;
}
.servers-tab {
    flex: 1;
    padding: 11px 18px;
    border-radius: 500px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: var(--fs-base);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--tap);
}
.servers-tab.active { background: rgba(168, 85, 247, 0.2); color: #fff; }

.servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.server-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
    min-height: 88px;
}
.server-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.server-card-info { flex: 1; min-width: 0; }
.server-card-info h3 {
    font-size: var(--fs-md);
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.server-card-info p {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.community-layout {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    flex: 1;
    min-height: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}
.community-channels {
    background: rgba(0, 0, 0, 0.5);
    border-right: 1px solid var(--glass-border);
    padding: 12px 8px;
    overflow-y: auto;
    min-height: 0;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}
.community-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}
.community-members-sidebar {
    background: rgba(0, 0, 0, 0.4);
    border-left: 1px solid var(--glass-border);
    padding: 16px 12px;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.channel-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: var(--fs-base);
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    min-height: var(--tap);
}
.channel-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.channel-btn.active { background: rgba(168, 85, 247, 0.15); color: #fff; }

.channel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--glass-border);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.channel-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.chat-message {
    position: relative;
    padding: 6px 40px 6px 6px;
    border-radius: 8px;
    transition: background 0.15s;
    margin-top: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.chat-message:first-child { margin-top: 0; }
.chat-message.grouped { margin-top: -22px; }
.chat-message img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.chat-message-content { flex: 1; min-width: 0; }
.chat-message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    font-size: var(--fs-base);
}
.chat-message-text {
    font-size: var(--fs-md);
    color: #e0e0e0;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.channel-composer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px 14px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.25);
    padding-bottom: calc(14px + var(--safe-bottom));
}
#channelInput {
    flex: 1;
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-size: var(--fs-md);
    outline: none;
    resize: none;
    min-height: 44px;
    max-height: 160px;
    line-height: 1.5;
    font-family: inherit;
}
.composer-buttons { display: flex; gap: 8px; justify-content: flex-end; }
.composer-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border: none;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.composer-music-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-group { margin-bottom: 20px; }
.member-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 8px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-mute);
}
.member-group-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    min-height: var(--tap-sm);
}
.member-row:hover { background: rgba(255, 255, 255, 0.05); }
.member-row img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ═══════════════════════════════════════════════
   12. PERFIL
═══════════════════════════════════════════════ */
.profile-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: none;
    border: none;
    color: #71767B;
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
    min-height: var(--tap);
}
.profile-tab.active { color: #fff; }
.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--blue);
    border-radius: 3px;
}

/* ═══════════════════════════════════════════════
   13. HISTÓRICO
═══════════════════════════════════════════════ */
.history-day-group { margin-bottom: 28px; }
.history-day-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-base);
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}
.history-day-label i { color: var(--accent); font-size: 12px; }

.history-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.15s;
    cursor: pointer;
    position: relative;
}
.history-row:hover { background: rgba(255, 255, 255, 0.03); }
.history-row img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.history-row-info { flex: 1; min-width: 0; }
.history-row-name {
    font-size: var(--fs-md);
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.history-row-artist {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.history-row-time {
    font-size: var(--fs-sm);
    color: var(--text-mute);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    min-width: 55px;
    text-align: right;
}

/* ═══════════════════════════════════════════════
   14. NOW PLAYING FULLSCREEN
═══════════════════════════════════════════════ */
.now-playing-full {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                visibility 0.3s ease;
    overflow: hidden;
}
.now-playing-full.open { opacity: 1; visibility: visible; transform: translateY(0); }
.now-playing-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168,85,247,.15), transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(236,72,153,.08), transparent 60%);
    pointer-events: none;
}
.now-playing-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 24px 28px 32px;
    padding-top: calc(24px + var(--safe-top));
    padding-bottom: calc(32px + var(--safe-bottom));
    z-index: 1;
}
.now-playing-close {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
    z-index: 10;
}
.now-playing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}
.now-playing-top {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 8px;
    flex-shrink: 0;
}
.now-playing-cover {
    width: 160px;
    height: 160px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}
.now-playing-info { flex: 1; min-width: 0; text-align: left; padding: 0; }
.now-playing-info h1 {
    font-size: var(--fs-xl);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    color: #fff;
}
.now-playing-info p { font-size: var(--fs-md); color: var(--text-dim); }

.now-playing-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 14px;
}
.now-playing-controls button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    min-width: var(--tap);
    min-height: var(--tap);
    display: flex;
    align-items: center;
    justify-content: center;
}
.now-playing-controls .np-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}
.now-playing-progress { padding: 0 8px; flex-shrink: 0; }
.now-playing-times {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.now-playing-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.now-playing-fill { height: 100%; background: #fff; border-radius: 3px; }

.now-playing-lyrics {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 8px 60px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    scroll-behavior: smooth;
    margin-top: 4px;
    -webkit-overflow-scrolling: touch;
}
.np-lyric-line {
    padding: 9px 8px;
    font-size: var(--fs-xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.3;
    transition: all 0.35s ease;
    cursor: pointer;
    text-align: center;
}
.np-lyric-line.active {
    color: #fff;
    font-size: var(--fs-2xl);
    text-shadow: 0 2px 24px rgba(168, 85, 247, 0.4);
}
.np-lyric-line.past { color: rgba(255, 255, 255, 0.15); }

/* ═══════════════════════════════════════════════
   15. LYRICS PANEL (sidebar)
═══════════════════════════════════════════════ */
.lyrics-panel {
    position: fixed;
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: 0;
    background: rgba(20, 20, 24, 0.85);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid var(--glass-border-strong);
    z-index: 600;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), bottom 0.3s;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.6);
}
.lyrics-panel.open { width: 420px; bottom: 98px; }
.lyrics-panel-inner {
    width: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
}
.lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.lyrics-header h2 {
    font-size: var(--fs-xl);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lyrics-header h2 i { color: var(--accent); }
.lyrics-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lyrics-track-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}
.lyrics-track-info img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}
.lyrics-track-meta { min-width: 0; flex: 1; }
.lyrics-track-meta h3 {
    font-size: var(--fs-md);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lyrics-track-meta p {
    font-size: var(--fs-sm);
    color: var(--text-dim);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lyrics-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    position: relative;
    min-height: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-overflow-scrolling: touch;
}
.lyric-line {
    padding: 12px 0;
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.3;
    transition: all 0.35s ease;
    cursor: pointer;
    text-align: left;
}
.lyric-line.active { color: #fff; font-size: var(--fs-3xl); text-shadow: 0 2px 24px rgba(255, 255, 255, 0.2); }
.lyric-line.past { color: rgba(255, 255, 255, 0.2); }

/* ═══════════════════════════════════════════════
   16. ADMIN
═══════════════════════════════════════════════ */
.admin-row { grid-template-columns: 50px 1fr 120px 100px 100px 240px; }

.update-admin-card {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    align-items: center;
    transition: all 0.2s;
}
.update-admin-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
}
.update-admin-card-info { flex: 1; min-width: 0; }
.update-admin-card-info h4 {
    font-size: var(--fs-md);
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.update-admin-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.update-admin-card-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d1d1d1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.update-admin-card-actions button.danger { color: var(--red); }
.update-admin-card-actions button.email-btn { color: #a855f7; }

/* Editor de updates */
.editor-toolbar {
    display: flex;
    gap: 2px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    flex-wrap: wrap;
    align-items: center;
}
.editor-toolbar button {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: none;
    border: none;
    color: #d1d1d1;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.editor-toolbar button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.editor-divider { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.1); margin: 0 4px; }
.editor-area {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 10px 10px;
    color: #fff;
    font-size: var(--fs-md);
    line-height: 1.6;
    outline: none;
}
.editor-area:focus { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1); }
.editor-area:empty::before { content: attr(placeholder); color: #5a5a5a; pointer-events: none; }

/* Editor de letras */
.lyrics-editor-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
}
.lyrics-card {
    background: rgba(20, 20, 24, 0.85);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 18px;
}
.lyrics-lines-list {
    flex: 1;
    min-height: 300px;
    max-height: 55vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 8px;
    -webkit-overflow-scrolling: touch;
}
.le-line-row {
    display: grid;
    grid-template-columns: 42px 80px 1fr 90px;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 3px;
    cursor: pointer;
    border: 1px solid transparent;
    min-height: var(--tap);
}
.le-line-row:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.le-line-row.active { background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.5); }
.le-line-time {
    font-size: 13px;
    color: var(--text-mute);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 6px;
    border-radius: 5px;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}
.le-line-row.marked .le-line-time { background: rgba(29, 185, 84, 0.15); color: #1DB954; }

/* ═══════════════════════════════════════════════
   17. GAMES
═══════════════════════════════════════════════ */
.difficulty-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 500px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.difficulty-btn {
    flex: 1;
    padding: 11px 16px;
    border-radius: 500px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    min-height: var(--tap-sm);
}
.difficulty-btn.active { background: rgba(168, 85, 247, 0.2); color: #fff; }
.difficulty-btn[data-diff="easy"].active { background: rgba(29, 185, 84, 0.2); }
.difficulty-btn[data-diff="medium"].active { background: rgba(251, 191, 36, 0.2); }
.difficulty-btn[data-diff="hard"].active { background: rgba(239, 68, 68, 0.2); }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.game-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 18px 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}
.game-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.game-card h3 { font-size: var(--fs-xl); font-weight: 800; color: #fff; margin-bottom: 8px; }
.game-card p { font-size: var(--fs-base); color: var(--text-dim); margin-bottom: 20px; line-height: 1.5; }
.game-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 500px;
    font-size: var(--fs-base);
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    min-height: var(--tap-sm);
}

.game-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.game-option {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-option.correct { background: rgba(29, 185, 84, 0.15); border-color: rgba(29, 185, 84, 0.5); color: #1DB954; }
.game-option.wrong { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.5); color: #ef4444; }

.game-play-box {
    max-width: 620px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.game-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}
.game-blurred-cover {
    width: 180px;
    height: 180px;
    margin: 0 auto 22px;
    border-radius: 14px;
    object-fit: cover;
    filter: blur(30px);
    transition: filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.game-blurred-cover.revealed { filter: blur(0); }

/* ═══════════════════════════════════════════════
   18. SKELETONS
═══════════════════════════════════════════════ */
@keyframes skeletonShimmer {
    0% { background-position: -800px 0; }
    100% { background-position: 800px 0; }
}
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0.06) 100%
    );
    background-size: 800px 100%;
    animation: skeletonShimmer 1.4s infinite linear;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.skeleton-circle { border-radius: 50% !important; }
.skeleton-text { height: 14px; border-radius: 6px; }
.skeleton-btn { height: 48px; width: 140px; border-radius: 500px; }

.skeleton-track {
    display: grid;
    grid-template-columns: 40px 48px 1fr 100px 60px;
    gap: 14px;
    align-items: center;
    padding: 8px 12px;
}
.skeleton-track .skeleton-num { height: 16px; width: 20px; margin: 0 auto; }
.skeleton-track .skeleton-cover { width: 48px; height: 48px; border-radius: 6px; }

/* ═══════════════════════════════════════════════
   19. TOASTS
═══════════════════════════════════════════════ */
.toast {
    position: fixed;
    top: calc(100px + var(--safe-top));
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    border-radius: 500px;
    font-weight: 700;
    font-size: var(--fs-base);
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    max-width: calc(100vw - 32px);
    text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #e22134; color: #fff; }
.toast.info { background: #1f6feb; color: #fff; }

/* ═══════════════════════════════════════════════
   20. UTILITÁRIOS GLOBAIS
═══════════════════════════════════════════════ */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 60px; color: rgba(255, 255, 255, 0.08); margin-bottom: 20px; }
.empty-state h3 { font-size: var(--fs-xl); font-weight: 800; margin-bottom: 8px; }
.empty-state p { color: var(--text-dim); font-size: var(--fs-base); }

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 15px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.section-badge-100 {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 500px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    font-size: 0.72em;
    font-weight: 900;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-right: 6px;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.syl-artist {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    font-weight: 900;
}
.syl-artist:hover { filter: brightness(1.3); text-decoration: underline; }

/* Footer */
footer {
    text-align: center;
    padding: 24px;
    color: #6a6a6a;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
footer a {
    color: #6a6a6a;
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover { color: #a855f7; }

/* ═══════════════════════════════════════════════
   21. MOBILE NAV (bottom tabs)
═══════════════════════════════════════════════ */
.mobile-nav { display: none; }

@media (max-width: 900px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(18, 18, 22, 0.92);
        backdrop-filter: blur(24px) saturate(150%);
        -webkit-backdrop-filter: blur(24px) saturate(150%);
        border-top: 1px solid var(--glass-border);
        height: 58px;
        padding-bottom: var(--safe-bottom);
        align-items: center;
        justify-content: space-around;
        z-index: 700;
    }
    .mobile-nav button {
        background: none;
        border: none;
        color: var(--text-dim);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 8px 12px;
        cursor: pointer;
        font-size: 9.5px;
        font-weight: 700;
        transition: color 0.2s;
        min-width: var(--tap);
        min-height: var(--tap);
        position: relative;
        font-family: inherit;
    }
    .mobile-nav button i { font-size: 18px; }
    .mobile-nav button.active { color: #fff; }
    .mobile-nav button.active i {
        filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
    }
}

/* ═══════════════════════════════════════════════
   22. MEDIA QUERIES — MOBILE (base)
═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .community-layout { grid-template-columns: 240px 1fr; }
    .community-members-sidebar { display: none; }
    .track-grid-2col { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    /* Layout base */
    .app-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    .app-layout.has-player {
        padding-bottom: calc(120px + var(--safe-bottom));
    }
    .sidebar { display: none; }
    .main-area { border-radius: 0; border: none; }

    /* Topbar compacta */
    .topbar {
        padding: 10px 12px;
        padding-top: calc(10px + var(--safe-top));
        gap: 8px;
        flex-wrap: nowrap;
    }
    .nav-arrows { gap: 4px; }
    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .search-box {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
        padding: 9px 12px;
        gap: 8px;
    }
    .search-box input {
        min-width: 0;
        font-size: var(--fs-base);
    }
    .topbar-right { margin-left: 0; gap: 6px; }
    .user-btn { padding: 4px; gap: 0; min-height: 36px; }
    .user-btn span { display: none; }
    .user-btn img { width: 32px; height: 32px; }
    .user-dropdown { right: 12px; }

    /* Player bar mobile */
    .player-bar {
        left: 0;
        right: 0;
        height: 70px;
        padding: 10px 12px;
        padding-bottom: calc(10px + var(--safe-bottom));
        grid-template-columns: 1fr auto;
        gap: 10px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        bottom: 58px;
    }
    .player-track img { width: 44px; height: 44px; }
    .player-center { display: none; }
    .player-right { display: none; }
    .player-track-actions { gap: 4px; }
    .player-track-actions button { font-size: 14px; }

    /* Páginas */
    .page { padding: 16px; }
    .section-header { margin: 24px 0 12px; }
    .section-title { font-size: var(--fs-xl); }
    .section-subtitle { font-size: 11.5px; }

    /* Hero banner mobile */
    .hero-banner { padding: 28px 22px; }
    .hero-title { font-size: var(--fs-2xl); }
    .hero-subtitle { font-size: var(--fs-base); }
    .hero-actions { margin-top: 20px; }
    .hero-btn { padding: 10px 18px; font-size: var(--fs-sm); }
    .hero-banner::after { font-size: 60px; }

    /* Daily hero mobile */
    .daily-hero { padding: 28px 22px; min-height: auto; }
    .daily-hero-cover { width: 130px; height: 130px; }
    .daily-hero-title { font-size: 28px; letter-spacing: -0.8px; }
    .daily-hero-artist { font-size: 13.5px; }
    .daily-hero-reason { font-size: 13px; margin-bottom: 16px; }
    .daily-hero-cta { padding: 10px 20px; font-size: 12.5px; }
    .daily-hero-label { font-size: 12px; margin-bottom: 16px; }

    /* Carrossel: esconde setas */
    .carousel-arrow { display: none; }
    .carousel-rail {
        gap: 12px;
        padding: 4px;
    }
    .carousel-rail > .track-card { width: 150px; }
    .carousel-rail > .genre-card { width: 200px; }
    .carousel-rail > .album-card { width: 150px; }
    .carousel-rail > .artist-card { width: 140px; padding: 12px; }

    /* Track cards touch */
    .track-grid-2col {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    /* Track rows mobile */
    .track-row {
        grid-template-columns: 30px 1fr 60px;
        padding: 10px;
        gap: 10px;
    }
    .track-row-album { display: none; }
    .track-row-info img { width: 44px; height: 44px; }

    /* Grid */
    .track-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .genre-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .chip-grid { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
    .game-card { padding: 16px 14px 14px; min-height: 220px; }

    /* Community mobile */
    .community-layout {
        grid-template-columns: 1fr;
        height: calc(100dvh - 130px);
    }
    .community-channels { display: none; }
    .community-members-sidebar { display: none; }

    /* Social */
    .social-feed, .social-composer { border-radius: 0; border-left: none; border-right: none; }
    .social-post { padding: 14px; }
    .social-post-track-cover { width: 80px; height: 80px; }

    /* Modais */
    .modal-box {
        padding: 24px 20px;
        border-radius: 14px;
        max-height: 85vh;
    }
    .playlist-picker-header { padding: 16px 18px; }
    .playlist-picker-icon { width: 38px; height: 38px; font-size: 15px; }
    .playlist-picker-info h3 { font-size: 15px; }
    .playlist-picker-list { max-height: 50vh; }
    .playlist-picker-footer {
        padding: 12px 18px;
        flex-direction: column-reverse;
    }
    .playlist-picker-create,
    .playlist-picker-confirm { width: 100%; justify-content: center; }

    .review-modal-box { padding: 24px 18px 20px; }
    .reaction-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .reaction-btn { min-height: 68px; }

    /* Auth */
    .auth-gate-box {
        padding: 32px 22px 26px !important;
        border-radius: 16px !important;
    }
    .auth-header h2 { font-size: var(--fs-xl); }
    .auth-icon { width: 54px; height: 54px; font-size: 22px; }

    /* Now Playing mobile */
    .now-playing-inner {
        padding: 20px 18px 24px;
        padding-top: calc(20px + var(--safe-top));
        padding-bottom: calc(24px + var(--safe-bottom));
    }
    .now-playing-cover { width: 100px; height: 100px; border-radius: 10px; }
    .now-playing-info h1 { font-size: 18px; }
    .now-playing-info p { font-size: 13px; }
    .now-playing-controls { gap: 12px; margin-top: 10px; }
    .now-playing-controls .np-play-btn { width: 46px; height: 46px; font-size: 16px; }
    .np-lyric-line { font-size: 17px; }
    .np-lyric-line.active { font-size: 20px; }

    /* Lyrics panel mobile — fullscreen */
    .lyrics-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 0;
        border: none;
    }
    .lyrics-panel.open {
        width: 100%;
        bottom: calc(120px + var(--safe-bottom));
    }
    .lyrics-panel-inner { width: 100%; padding: 16px; }
    .lyric-line { font-size: 18px; }
    .lyric-line.active { font-size: 22px; }

    /* Admin mobile */
    .admin-row {
        grid-template-columns: 40px 1fr auto !important;
        gap: 10px;
    }
    .admin-row > div:nth-child(3),
    .admin-row > div:nth-child(4) {
        display: none;
    }
    .lyrics-editor-grid { grid-template-columns: 1fr; }
    .le-line-row { grid-template-columns: 32px 68px 1fr 40px; gap: 6px; }

    /* Games mobile */
    .game-options { grid-template-columns: 1fr; }
    .game-blurred-cover { width: 140px; height: 140px; }
    .game-play-box { padding: 20px; }
    .game-final-stats { gap: 20px; }

    /* Review reactions mobile */
    .reaction-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .track-grid-2col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .track-grid-2col .track-card { padding: 10px; }
    .track-grid-2col .track-card-title { font-size: 13px; }
    .track-grid-2col .track-card-artist { font-size: 11.5px; }

    .genre-grid { grid-template-columns: repeat(2, 1fr); }
    .album-grid { grid-template-columns: repeat(2, 1fr); }
    .genre-card-name { font-size: 14px; }

    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .game-card {
        padding: 14px 12px 12px;
        min-height: 200px;
        border-radius: 14px;
    }
    .game-card-icon {
        width: 42px;
        height: 42px;
        font-size: 17px;
        margin-bottom: 10px;
    }
    .game-card h3 { font-size: 14px; }
    .game-card p { font-size: 11.5px; margin-bottom: 10px; }
    .game-card-btn { padding: 8px 14px; font-size: 11.5px; width: 100%; justify-content: center; }

    .hero-title { font-size: var(--fs-2xl); }
    .hero-actions { flex-direction: column; }
    .hero-btn { justify-content: center; }

    .daily-hero-title { font-size: 24px; }
    .daily-hero-cover { width: 110px; height: 110px; }
    .daily-hero-play i { width: 52px; height: 52px; font-size: 18px; }

    .section-title { font-size: var(--fs-lg); }
    .page { padding: 12px; }

    .review-head img { width: 56px; height: 56px; }
    .reaction-btn { min-height: 64px; }
    .reaction-btn i { font-size: 16px; }
    .reaction-btn span { font-size: 9.5px; }

    .history-row { padding: 8px 10px; gap: 10px; }
    .history-row img { width: 42px; height: 42px; }
    .history-row-time { font-size: 11px; min-width: 48px; }

    .profile-tab { padding: 10px 14px; font-size: 13px; }

    /* Sempre mostra ações em mobile (não tem hover) */
    .track-card-actions-col { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
    .track-card-action-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
        background: rgba(0, 0, 0, 0.75);
    }
    .track-card-play { width: 44px; height: 44px; }
    .track-row-actions { opacity: 1; }
    .history-row-actions { opacity: 1; }
}

@media (max-width: 380px) {
    .nav-arrow { width: 26px; height: 26px; font-size: 10px; }
    .section-title { font-size: 17px; }
    .track-card-title { font-size: 13px; }
}

/* ═══════════════════════════════════════════════
   23. PREFERS REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════
   24. ESTADOS DE FOCO (acessibilidade)
═══════════════════════════════════════════════ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.6);
    outline-offset: 2px;
}