        /* Sonora - Disquería Virtual */
        :root {
            --sonora-warm: #2a1810;
            --sonora-wood: #3d2817;
            --sonora-cream: #f5f0e8;
            --sonora-gold: #c4a35a;
            --sonora-vinyl: #1a1a1a;
        }

        /* Prevenir scroll horizontal en mobile */
        html, body {
            overflow-x: hidden;
            font-family: 'Ciutadella', sans-serif;
        }

        /* Fuentes Métrica */
        @font-face {
            font-family: 'Alverata';
            src: url('/fonts/Alverata-Italic.ttf') format('truetype');
            font-weight: 400;
            font-style: italic;
            font-display: swap;
        }
        @font-face {
            font-family: 'Ciutadella';
            src: url('/fonts/Ciutadella-Regular.ttf') format('truetype');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }
        @font-face {
            font-family: 'Ciutadella';
            src: url('/fonts/Ciutadella-SemiBold.ttf') format('truetype');
            font-weight: 600;
            font-style: normal;
            font-display: swap;
        }

        /* ===== FILM GRAIN TEXTURE ===== */
        .texture-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9998;
            opacity: 0.04;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        /* ===== VINYL SPINNING LOADER ===== */
        .vinyl-loader {
            width: 32px;
            height: 32px;
            display: inline-block;
            vertical-align: middle;
        }

        .vinyl-loader svg {
            width: 100%;
            height: 100%;
            animation: spin-33rpm 1.8s linear infinite;
        }

        @keyframes spin-33rpm {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Reemplazar spinners genéricos */
        .spinner, .loader {
            width: 24px;
            height: 24px;
            display: inline-block;
            background: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='18' fill='%231a1a1a'/%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%232a2a2a' stroke-width='0.5'/%3E%3Ccircle cx='20' cy='20' r='12' fill='none' stroke='%232a2a2a' stroke-width='0.5'/%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='%232a2a2a' stroke-width='0.5'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%238B1538'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%23f5f0e8'/%3E%3Cpath d='M20 4 L20 6' stroke='%23c4a35a' stroke-width='0.8'/%3E%3C/svg%3E") center/contain no-repeat;
            animation: spin-33rpm 1.8s linear infinite;
            border: none !important;
        }

        .sonora-header {
            position: relative;
            text-align: center;
            padding: 24px 20px;
            border-bottom: 1px solid var(--border);
            margin-bottom: 0;
        }

        .sonora-branding {
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: opacity 0.2s ease;
        }

        .sonora-branding:hover {
            opacity: 0.8;
        }

        .sonora-logo {
            font-family: 'Alverata', Georgia, serif;
            font-size: 52px;
            font-weight: 400;
            font-style: italic;
            letter-spacing: 0.08em;
            margin: 0;
            color: var(--text);
            text-shadow: 0 1px 2px rgba(0,0,0,0.08);
        }

        .sonora-tagline {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.25em;
            color: var(--text-muted);
            margin-top: 8px;
        }

        .sonora-byline {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            font-size: 10px;
            color: var(--text-muted);
            margin-top: 10px;
            opacity: 0.6;
        }

        .sonora-byline img {
            height: 12px;
            opacity: 0.7;
            vertical-align: middle;
            position: relative;
            top: -1px;
        }

        .sonora-divider {
            font-size: 8px;
            color: var(--gold, #C9A227);
            margin: 10px 0 6px;
            opacity: 0.6;
            letter-spacing: 0.5em;
        }

        /* ===== BATEAS - REDISEÑO v2 ===== */

        /* Dark theme override para toda la sección bateas */
        #sonora-bateas {
            background: linear-gradient(180deg, #161616 0%, #0e0e0e 100%);
            --bg: #111;
            --bg-secondary: rgba(255, 255, 255, 0.06);
            --bg-card: rgba(255, 255, 255, 0.06);
            --bg-hover: rgba(255, 255, 255, 0.1);
            --surface-2: rgba(255, 255, 255, 0.1);
            --text: #f5f0e8;
            --text-secondary: rgba(245, 240, 232, 0.6);
            --text-muted: rgba(245, 240, 232, 0.4);
            --text-light: rgba(245, 240, 232, 0.3);
            --border: rgba(255, 255, 255, 0.12);
            --primary: #c4a35a;
            --skeleton-base: rgba(255, 255, 255, 0.08);
            --skeleton-shine: rgba(255, 255, 255, 0.15);
        }

        /* Secciones de bateas */
        .batea-section {
            margin: 32px 0;
        }

        .batea-section h3.batea-title {
            font-family: 'Ciutadella', sans-serif;
            font-size: 18px;
            font-weight: 500;
            color: var(--text);
            margin: 0 0 16px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .batea-section-header {
            margin-bottom: 20px;
        }

        .batea-section-title {
            font-family: 'Ciutadella', sans-serif;
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
            margin: 0 0 4px 0;
        }

        .batea-section-subtitle {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* Pasillos principales - cards grandes */
        .pasillos-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

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

        @media (max-width: 600px) {
            .pasillos-grid {
                grid-template-columns: 1fr;
            }
        }

        /* GEOGRAFÍAS - grid 2x4 de países con estilo bandera sutil */
        .geografias-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .geografias-grid .batea-card {
            padding: 16px 18px;
            border-left-width: 4px;
        }

        .geografias-grid .batea-name {
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .geografias-grid .batea-flag-img {
            width: 18px;
            height: auto;
            opacity: 0.7;
            filter: grayscale(10%);
            border-radius: 2px;
            vertical-align: middle;
            margin-right: 6px;
            transition: all 0.3s ease;
        }

        .geografias-grid .batea-card:hover .batea-flag-img {
            opacity: 1;
            filter: grayscale(0%);
            transform: scale(1.1);
        }

        .geografias-grid .batea-sellos-preview {
            font-size: 10px;
            margin-bottom: 6px;
        }

        .geografias-grid .batea-count {
            font-size: 10px;
        }

        /* EL FONDO - estilo outline discreto, como cajones de ofertas */
        .fondo-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
        }

        .fondo-grid .batea-card {
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-left: 4px solid var(--batea-accent, #666);
            box-shadow: 0 1px 6px rgba(0,0,0,0.15);
        }

        .fondo-grid .batea-card:hover {
            border-left: 5px solid var(--batea-accent, #666);
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
            background: rgba(255, 255, 255, 0.08);
        }

        .fondo-grid .batea-name {
            font-size: 14px;
            margin-bottom: 5px;
        }

        .fondo-grid .batea-sellos-preview {
            font-size: 10px;
            margin-bottom: 5px;
        }

        .fondo-grid .batea-count {
            font-size: 10px;
        }

        /* Archivo - grid más compacto (legacy, puede removerse) */
        .archivo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
        }

        /* Card de batea - estilo ficha de archivo físico */
        .batea-card {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-left: 5px solid var(--batea-accent, #8B1538);
            border-radius: 8px;
            padding: 20px 20px 18px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0,0,0,0.07);
        }

        /* Tinte de color del género como fondo */
        .batea-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--batea-accent, #8B1538);
            opacity: 0.08;
            border-radius: inherit;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .batea-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0,0,0,0.3);
            border-left-width: 6px;
            background: rgba(255, 255, 255, 0.10);
        }

        .batea-card:hover::before {
            opacity: 0.14;
        }

        .batea-card.active {
            border-left-width: 6px;
        }

        .batea-card.active::before {
            opacity: 0.08;
        }

        .batea-card-content {
            position: relative;
            z-index: 1;
        }

        /* Título principal - Alverata Italic */
        .batea-name {
            font-family: 'Alverata', Georgia, serif;
            font-size: 20px;
            font-style: italic;
            color: #f5f0e8;
            margin-bottom: 8px;
            line-height: 1.25;
            font-weight: 500;
        }

        /* Subtítulo - sellos representativos */
        .batea-sellos-preview {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: rgba(245, 240, 232, 0.65);
            font-weight: 500;
            margin-bottom: 10px;
            line-height: 1.4;
            letter-spacing: 0.01em;
        }

        /* Meta - cantidad de sellos */
        .batea-count {
            font-size: 11px;
            color: var(--batea-accent, #8B1538);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
        }

        /* Código solo en hover */
        .batea-code {
            position: absolute;
            top: 8px;
            right: 10px;
            font-family: 'Courier New', monospace;
            font-size: 9px;
            color: var(--text-light);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .batea-card:hover .batea-code {
            opacity: 0.5;
        }

        /* Ocultar el icono viejo */
        .batea-icon {
            display: none;
        }

        /* Colores de acento por género (WCAG AA ≥4.5:1 sobre #222) */
        /* Pasillos centrales */
        .batea-card[data-genre="jazz"] { --batea-accent: #D4A534; }      /* Dorado jazz — 6.2:1 */
        .batea-card[data-genre="clasica"] { --batea-accent: #E8C44A; }   /* Oro clásico — 9.4:1 */
        .batea-card[data-genre="blues"] { --batea-accent: #4A90C4; }     /* Azul blues — 4.7:1 */
        .batea-card[data-genre="rock"] { --batea-accent: #8C8C8C; }      /* Gris acero — 4.7:1 */
        .batea-card[data-genre="electronica"] { --batea-accent: #5A95D0; } /* Azul eléctrico — 5.0:1 */
        .batea-card[data-genre="world"] { --batea-accent: #5AAF6E; }     /* Verde tierra — 5.5:1 */
        /* Geografías */
        .batea-card[data-genre="latam"] { --batea-accent: #C47A3A; }     /* Tierra cálida — 4.5:1 */
        .batea-card[data-genre="europa"] { --batea-accent: #6B9AC4; }    /* Azul frío — 5.0:1 */
        .batea-card[data-genre="asia"] { --batea-accent: #C8854E; }      /* Madera cálida — 5.0:1 */
        /* El fondo */
        .batea-card[data-genre="indie"] { --batea-accent: #9A9A9A; }     /* Gris claro — 5.4:1 */
        .batea-card[data-genre="soul"] { --batea-accent: #E85478; }      /* Carmesí vivo — 4.6:1 */
        .batea-card[data-genre="hiphop"] { --batea-accent: #A0A0A0; }    /* Gris urbano — 5.8:1 */
        .batea-card[data-genre="prog"] { --batea-accent: #A87ADE; }      /* Violeta luminoso — 4.6:1 */
        .batea-card[data-genre="punk"] { --batea-accent: #A0A0A0; }      /* Gris crudo — 5.8:1 */
        .batea-card[data-genre="reggae"] { --batea-accent: #5AAF6E; }    /* Verde cálido — 5.5:1 */
        .batea-card[data-genre="contemp"] { --batea-accent: #9A9A9A; }   /* Gris neutro — 5.4:1 */
        .batea-card[data-genre="americana"] { --batea-accent: #C49A5C; }  /* Ámbar cálido — 5.4:1 */
        .batea-card[data-genre="soundtrack"] { --batea-accent: #7A9AAF; } /* Azul cine — 4.6:1 */
        .batea-card[data-genre="pop"] { --batea-accent: #B0A0C0; }       /* Lavanda — 5.5:1 */

        /* ===== MONOGRAMA DECORATIVO (inicial del género) ===== */
        .batea-card::after {
            content: var(--batea-initial, '');
            position: absolute;
            right: 12px;
            bottom: -8px;
            font-family: 'Alverata', Georgia, serif;
            font-style: italic;
            font-size: 90px;
            font-weight: 400;
            line-height: 1;
            color: var(--batea-accent, #8B1538);
            opacity: 0.10;
            pointer-events: none;
            z-index: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .batea-card:hover::after {
            opacity: 0.18;
            transform: scale(1.05);
        }

        /* Iniciales por género — Pasillos */
        .batea-card[data-genre="jazz"] { --batea-initial: 'J'; }
        .batea-card[data-genre="clasica"] { --batea-initial: 'C'; }
        .batea-card[data-genre="blues"] { --batea-initial: 'B'; }
        .batea-card[data-genre="rock"] { --batea-initial: 'R'; }
        .batea-card[data-genre="electronica"] { --batea-initial: 'E'; }
        .batea-card[data-genre="world"] { --batea-initial: 'W'; }
        /* Iniciales — El Fondo */
        .batea-card[data-genre="indie"] { --batea-initial: 'I'; }
        .batea-card[data-genre="soul"] { --batea-initial: 'S'; }
        .batea-card[data-genre="hiphop"] { --batea-initial: 'H'; }
        .batea-card[data-genre="prog"] { --batea-initial: 'P'; }
        .batea-card[data-genre="punk"] { --batea-initial: '!'; }
        .batea-card[data-genre="reggae"] { --batea-initial: 'R'; }
        .batea-card[data-genre="contemp"] { --batea-initial: 'X'; }
        .batea-card[data-genre="americana"] { --batea-initial: 'A'; }
        .batea-card[data-genre="soundtrack"] { --batea-initial: '♫'; }
        .batea-card[data-genre="pop"] { --batea-initial: 'P'; }
        /* Geografías — ocultar (ya tienen banderas) */
        .batea-card[data-genre="latam"]::after,
        .batea-card[data-genre="europa"]::after,
        .batea-card[data-genre="asia"]::after { display: none; }

        /* ===== MICRO-VIDRIERA: Stack de 3 portadas ===== */
        .batea-card.has-covers {
            display: flex;
            align-items: stretch;
        }

        .batea-card.has-covers .batea-card-content {
            flex: 1;
            min-width: 0;
        }

        .batea-preview-stack {
            position: relative;
            width: 72px;
            min-width: 72px;
            height: 72px;
            align-self: center;
            margin-left: auto;
            flex-shrink: 0;
        }

        .batea-preview-img {
            position: absolute;
            width: 48px;
            height: 48px;
            border-radius: 4px;
            object-fit: cover;
            border: 1.5px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        /* Abanico: 3 imágenes apiladas con rotación */
        .batea-preview-img:nth-child(1) {
            top: 8px;
            left: 0;
            transform: rotate(-8deg);
        }
        .batea-preview-img:nth-child(2) {
            top: 4px;
            left: 12px;
            transform: rotate(0deg);
        }
        .batea-preview-img:nth-child(3) {
            top: 8px;
            left: 24px;
            transform: rotate(8deg);
        }

        /* Hover: abanico se abre más */
        .batea-card:hover .batea-preview-img:nth-child(1) {
            transform: rotate(-12deg) translateX(-4px);
        }
        .batea-card:hover .batea-preview-img:nth-child(3) {
            transform: rotate(12deg) translateX(4px);
        }
        .batea-card:hover .batea-preview-img {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
        }

        /* Ocultar monograma cuando hay covers (se superponen) */
        .batea-card.has-covers::after {
            display: none;
        }

        /* Tablet: grids adaptativos */
        @media (max-width: 900px) {
            .fondo-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .geografias-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Mobile: ocultar micro-vidrieras, grids a 2 columnas */
        @media (max-width: 600px) {
            .batea-preview-stack {
                display: none;
            }
            .batea-card.has-covers {
                display: block;
            }
            .fondo-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .geografias-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Modal de sub-bateas Jazz */
        .jazz-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .jazz-modal-content {
            background: var(--bg-card);
            border-radius: 12px;
            padding: 28px;
            max-width: 420px;
            width: 90%;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
            animation: slideUp 0.25s ease;
        }

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

        .jazz-modal-header {
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }

        .jazz-modal-header h3 {
            font-family: 'Alverata', Georgia, serif;
            font-size: 24px;
            font-style: italic;
            color: var(--text);
            margin: 0 0 4px 0;
        }

        .jazz-modal-header p {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
        }

        .jazz-modal-close {
            position: absolute;
            top: -8px;
            right: -8px;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-muted);
            cursor: pointer;
            padding: 4px 8px;
            transition: color 0.2s;
        }

        .jazz-modal-close:hover {
            color: var(--text);
        }

        .jazz-subbateas-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .jazz-subbatea {
            background: var(--bg);
            border: 1px solid var(--border);
            border-left: 3px solid transparent;
            border-radius: 6px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .jazz-subbatea:hover {
            border-left-color: #8B6914;
            transform: translateX(4px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .jazz-subbatea-name {
            font-family: 'Alverata', Georgia, serif;
            font-size: 15px;
            font-style: italic;
            color: var(--text);
            margin-bottom: 4px;
        }

        .jazz-subbatea-preview {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 4px;
        }

        .jazz-subbatea-count {
            font-size: 10px;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        /* Card compacta para archivo - más bajo y discreto */
        .archivo-grid .batea-card {
            padding: 12px 14px;
            min-height: auto;
        }

        .archivo-grid .batea-name {
            font-size: 13px;
            margin-bottom: 4px;
        }

        .archivo-grid .batea-sellos-preview {
            font-size: 9px;
            margin-bottom: 4px;
        }

        .archivo-grid .batea-count {
            font-size: 9px;
        }

        .archivo-grid .batea-code {
            font-size: 8px;
            top: 6px;
            right: 8px;
        }

        /* Staff Picks - Estilo "Destacado Nocturno" */
        .staff-picks {
            background: linear-gradient(135deg, #1a1410 0%, #2a1810 50%, #1f1612 100%);
            border: 1px solid rgba(196, 163, 90, 0.2);
            border-radius: 8px;
            padding: 24px;
            margin: 24px 0;
            color: var(--sonora-cream);
            box-shadow:
                0 4px 20px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.05);
        }

        .staff-picks-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        .staff-picks-title {
            font-family: 'Alverata', Georgia, serif;
            font-size: 18px;
            font-style: italic;
            color: var(--sonora-cream);
        }

        .staff-badge {
            background: var(--sonora-gold);
            color: var(--sonora-vinyl);
            font-size: 9px;
            padding: 3px 8px;
            border-radius: 10px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
        }

        .staff-picks .sello-vinilo {
            background: rgba(255,255,255,0.08);
            border-color: rgba(196, 163, 90, 0.3);
            color: var(--sonora-cream);
        }

        .staff-picks .sello-vinilo:hover {
            background: rgba(196, 163, 90, 0.2);
            border-color: var(--sonora-gold);
        }

        /* Grid para Staff Picks - 4 columnas en desktop, 2 en mobile */
        .staff-picks-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            width: 100%;
        }

        /* Album cards dentro de staff-picks */
        .staff-picks-grid .album-card {
            min-width: 0;
            overflow: hidden;
            background: transparent;
            border-color: transparent;
        }

        .staff-picks-grid .album-card img {
            width: 100%;
            height: auto;
            aspect-ratio: 1;
            object-fit: cover;
        }

        /* Texto claro sobre fondo oscuro */
        .staff-picks-grid .album-card-meta .album-name {
            color: #f5f0e8;
            font-size: 11px;
        }

        .staff-picks-grid .album-card-meta .album-artist {
            color: #b0b0b0;
            font-size: 10px;
        }

        .staff-picks-grid .album-card-footer .album-year {
            color: #c4a35a;
        }

        @media (max-width: 600px) {
            .staff-picks-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
        }

        /* Vinilo flotante */
        .vinyl-player {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
        }

        /* Navegación tipo disquería */
        .store-nav {
            display: flex;
            justify-content: space-between;
            align-items: stretch;
            padding: 0 20px;
            background: linear-gradient(180deg, #1e1e1e 0%, #1a1a1a 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-wrap: wrap;
            gap: 0;
        }

        .store-nav-tabs {
            display: flex;
            gap: 0;
            flex-wrap: wrap;
            align-items: stretch;
        }

        /* Buscador centrado en el nav */
        .nav-search-center {
            display: flex;
            align-items: center;
            background: transparent;
            border: none;
            border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
            border-radius: 0;
            padding: 10px 4px;
            gap: 8px;
            flex: 0 1 240px;
            max-width: 260px;
            transition: all 0.2s ease;
            margin-left: auto;
        }

        .nav-search-center:focus-within {
            border-bottom-color: var(--sonora-gold);
            box-shadow: none;
            background: transparent;
        }

        .nav-search-input {
            border: none;
            background: transparent !important;
            background-color: transparent !important;
            -webkit-appearance: none;
            appearance: none;
            color-scheme: dark;
            font-family: 'Ciutadella', sans-serif;
            font-size: 14px;
            color: #f5f0e8;
            outline: none;
            flex: 1;
            line-height: 1.2;
            padding: 0;
            margin: 0;
        }

        .nav-search-input:-webkit-autofill,
        .nav-search-input:-webkit-autofill:hover,
        .nav-search-input:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
            -webkit-text-fill-color: #f5f0e8 !important;
            transition: background-color 5000s ease-in-out 0s;
        }

        .nav-search-input::placeholder {
            color: rgba(245, 240, 232, 0.55);
            transition: color 0.2s;
        }

        .nav-search-input:focus::placeholder {
            color: rgba(245, 240, 232, 0.35);
        }

        /* Botón de búsqueda (lupa clickeable) */
        .nav-search-btn {
            background: transparent;
            border: none;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
            margin-left: 4px;
        }

        .nav-search-btn svg {
            width: 15px;
            height: 15px;
            stroke: rgba(245, 240, 232, 0.35);
        }

        .nav-search-btn:hover svg {
            stroke: var(--sonora-gold);
        }

        .nav-search-btn:hover {
            transform: scale(1.1);
        }

        .nav-search-btn:active {
            transform: scale(0.95);
        }

        /* Botón buscar mobile (tab) - oculto en desktop */
        .nav-search-mobile {
            display: none;
        }

        .store-nav-btn {
            font-family: 'Ciutadella', sans-serif;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: rgba(245, 240, 232, 0.72);
            padding: 16px 18px 13px;
            border-radius: 0;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            font-weight: 500;
        }

        .store-nav-btn:hover {
            color: rgba(245, 240, 232, 0.85);
            background: none;
            transform: none;
            border-bottom-color: rgba(196, 163, 90, 0.4);
        }

        .store-nav-btn.active {
            background: none;
            color: var(--sonora-gold);
            border-bottom: 3px solid var(--sonora-gold);
            font-weight: 600;
        }

        .store-nav-btn.active::after {
            display: none;
        }

        /* Badge hint en tabs para contexto */
        .nav-btn-hint {
            display: inline-block;
            font-size: 8px;
            opacity: 0.5;
            text-transform: none;
            letter-spacing: 0;
            margin-left: 4px;
            font-weight: 400;
        }

        .store-nav-btn.active .nav-btn-hint {
            opacity: 0.65;
        }

        /* Wrapper sticky para nav + breadcrumbs */
        .sticky-nav-wrapper {
            position: sticky;
            top: 0;
            z-index: 100;
            background: #1a1a1a;
            --text: #f5f0e8;
            --text-secondary: rgba(245, 240, 232, 0.6);
            --text-muted: rgba(245, 240, 232, 0.4);
            --text-light: rgba(245, 240, 232, 0.3);
            --border: rgba(255, 255, 255, 0.12);
        }

        /* Breadcrumbs de navegación */
        .breadcrumbs-bar {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 10px 20px;
        }

        .breadcrumbs-content {
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            flex-wrap: wrap;
        }

        .breadcrumb-item {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: color 0.2s;
        }

        .breadcrumb-item:hover {
            color: var(--sonora-gold);
        }

        .breadcrumb-item.home svg {
            opacity: 0.7;
        }

        .breadcrumb-item.current {
            color: var(--text);
            font-weight: 600;
            cursor: default;
        }

        .breadcrumb-item.current:hover {
            color: var(--text);
        }

        .breadcrumb-item:not(:last-child)::after {
            content: '›';
            margin-left: 6px;
            color: var(--text-muted);
            font-weight: normal;
        }

        .breadcrumb-item.current::after {
            display: none;
        }

        @media (max-width: 600px) {
            .breadcrumbs-bar {
                padding: 8px 12px;
            }
            .breadcrumbs-content {
                font-size: 11px;
            }
        }

        /* Colección - pill separado a la derecha */
        /* Estado vacío: outline como los tabs */
        .nav-collection-pill {
            font-family: 'Ciutadella', sans-serif;
            display: flex;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: 1px solid rgba(255,255,255,0.15);
            color: rgba(245, 240, 232, 0.72);
            padding: 8px 14px;
            border-radius: 4px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .nav-collection-pill:hover {
            border-color: rgba(255,255,255,0.3);
            color: rgba(245, 240, 232, 0.85);
            background: rgba(255,255,255,0.05);
        }

        /* Estado con items: relleno dorado */
        .nav-collection-pill.has-items {
            background: var(--sonora-gold);
            border-color: var(--sonora-gold);
            color: #fff;
            font-weight: 600;
        }

        .nav-collection-pill.has-items:hover {
            background: #b8954d;
            border-color: #b8954d;
        }

        .nav-collection-pill .pill-count {
            background: rgba(255,255,255,0.25);
            color: #fff;
            padding: 2px 7px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 600;
            min-width: 18px;
            text-align: center;
        }

        .nav-collection-pill .pill-count:empty {
            display: none;
        }

        /* ===== BOTTOM NAV (Mobile Only) ===== */
        .bottom-nav {
            display: none; /* Oculto por defecto (desktop y login) */
            visibility: hidden; /* Oculto hasta que app-view esté visible */
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #1a1a1a;
            border-top: 1px solid rgba(196, 163, 90, 0.2);
            padding: 10px 0;
            padding-bottom: calc(10px + env(safe-area-inset-bottom));
            z-index: 1000;
            box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
        }

        .bottom-nav-items {
            display: flex;
            justify-content: space-around;
            align-items: center;
            max-width: 420px;
            margin: 0 auto;
        }

        .bottom-nav-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            background: none;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            color: rgba(245, 240, 232, 0.45);
            transition: color 0.15s ease;
            min-height: 44px;
            justify-content: center;
        }

        .bottom-nav-btn svg {
            width: 22px;
            height: 22px;
            stroke-width: 2;
        }

        .bottom-nav-btn span {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.03em;
        }

        .bottom-nav-btn.active {
            color: var(--sonora-gold);
        }

        .bottom-nav-btn.active svg {
            stroke: var(--sonora-gold);
            stroke-width: 2.2;
        }

        .bottom-nav-btn.has-items {
            color: var(--sonora-gold);
        }

        .bottom-nav-btn .nav-badge {
            position: absolute;
            top: -2px;
            right: 4px;
            background: #8B1538;
            color: #f5f0e8;
            font-size: 9px;
            min-width: 16px;
            height: 16px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }

        .bottom-nav-btn .nav-badge:empty {
            display: none;
        }

        /* Crate icon - destacado especial */
        .bottom-nav-crate {
            position: relative;
        }

        .bottom-nav-crate .crate-icon {
            width: 24px;
            height: 24px;
        }

        .bottom-nav-crate .crate-icon rect {
            stroke-width: 1.8;
        }

        .bottom-nav-crate .crate-icon line {
            stroke: currentColor;
        }

        /* Cuando tiene items: brillo dorado */
        .bottom-nav-crate.has-items .crate-icon {
            stroke: var(--sonora-gold);
            filter: drop-shadow(0 0 4px rgba(196, 163, 90, 0.5));
        }

        .bottom-nav-crate.has-items span:first-of-type {
            color: var(--sonora-gold);
            font-weight: 600;
        }

        /* Mobile: mostrar bottom nav, ocultar tabs del header */
        @media (max-width: 768px) {
            /* Bottom nav solo visible cuando app-view está activo */
            #app-view.visible ~ .bottom-nav,
            body:has(#app-view.visible) .bottom-nav {
                display: block;
                visibility: visible;
            }

            /* Ocultar tabs de navegación en header (van al bottom) */
            .store-nav-tabs {
                display: none !important;
            }

            /* Espacio para el bottom nav */
            body {
                padding-bottom: 70px;
            }

            /* Ocultar colección del header (va al bottom nav) */
            .nav-collection-pill {
                display: none !important;
            }

            /* Search button más grande para touch */
            .nav-search-btn {
                width: 40px;
                height: 40px;
            }

            .nav-search-btn svg {
                width: 18px;
                height: 18px;
            }
        }

        /* ===== VIDRIERA LOGIN 3D ===== */
        .vidriera-login {
            position: relative;
            padding: 60px 20px 50px;
            background: radial-gradient(ellipse at center top, #222020 0%, #121111 70%, #0d0c0c 100%);
            text-align: center;
            overflow: hidden;
        }

        .vidriera-login::before {
            content: '';
            position: absolute;
            top: -50%;
            left: 50%;
            transform: translateX(-50%);
            width: 120%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(196, 163, 90, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }

        .vidriera-badge {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            letter-spacing: 0.25em;
            color: var(--primary);
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        .vidriera-title {
            font-family: 'Alverata', Georgia, serif;
            font-size: 28px;
            font-style: italic;
            color: #f5f0e8;
            margin: 0 0 8px 0;
            text-shadow: 0 4px 20px rgba(0,0,0,0.5);
        }

        .vidriera-subtitle {
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            color: rgba(245, 240, 232, 0.6);
            margin-bottom: 25px;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        /* ONBOARDING STEPS */
        .onboarding-steps {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .step-icon {
            font-size: 18px;
            background: rgba(255,255,255,0.1);
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid rgba(196, 163, 90, 0.3);
        }

        .step-text {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #c4a35a;
        }

        .step-line {
            width: 20px;
            height: 1px;
            background: rgba(255,255,255,0.2);
            margin-top: -14px;
        }

        /* Overlay de Play para los discos */
        .vinyl-play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 20;
            pointer-events: none;
            backdrop-filter: blur(2px);
        }

        .vinyl-play-overlay::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 6px 0 6px 10px;
            border-color: transparent transparent transparent #fff;
            margin-left: 2px;
        }

        .vinyl-card:hover .vinyl-play-overlay {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
            background: rgba(139, 21, 56, 0.7);
            border-color: #fff;
        }

        @media (max-width: 768px) {
            .vinyl-play-overlay {
                opacity: 0.7;
                transform: translate(-50%, -50%) scale(0.9);
                background: rgba(0, 0, 0, 0.3);
            }
        }

        /* LA ESTANTERÍA 3D */
        .vidriera-shelf {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            perspective: 1000px;
            margin-bottom: 40px;
            height: 200px;
        }

        .vinyl-card {
            width: 140px;
            height: 140px;
            position: relative;
            border-radius: 4px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.6);
            transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
            cursor: default;
        }

        .vinyl-card img {
            width: 100%;
            height: 100%;
            border-radius: 4px;
            object-fit: cover;
        }

        .vinyl-card.left {
            transform: translateX(15px) rotateY(22deg) scale(0.88);
            z-index: 1;
            filter: brightness(0.7);
        }

        .vinyl-card.right {
            transform: translateX(-15px) rotateY(-22deg) scale(0.88);
            z-index: 1;
            filter: brightness(0.7);
        }

        .vinyl-card.center {
            transform: translateZ(35px);
            z-index: 10;
            width: 160px;
            height: 160px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.8);
        }

        .vinyl-glare {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
            border-radius: 4px;
            pointer-events: none;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .vidriera-shelf:hover .vinyl-card.left {
            transform: translateX(5px) rotateY(12deg) scale(0.92);
            filter: brightness(0.85);
        }

        .vidriera-shelf:hover .vinyl-card.right {
            transform: translateX(-5px) rotateY(-12deg) scale(0.92);
            filter: brightness(0.85);
        }

        .vidriera-shelf:hover .vinyl-card.center {
            transform: translateZ(50px) scale(1.03);
        }

        /* BOTÓN SPOTIFY */
        .login-btn-premium {
            background: #1DB954;
            color: #fff;
            border: none;
            padding: 14px 32px;
            font-family: 'Ciutadella', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 24px;
        }

        .login-btn-premium:hover {
            background: #1ed760;
            color: #fff;
            box-shadow: 0 0 25px rgba(29, 185, 84, 0.4);
            transform: scale(1.02);
        }

        .login-btn-ghost {
            background: transparent;
            border: 1px solid rgba(245, 240, 232, 0.4);
            color: rgba(245, 240, 232, 0.8);
            font-size: 11px;
            font-family: 'Ciutadella', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            cursor: pointer;
            margin-top: 16px;
            padding: 12px 28px;
            border-radius: 24px;
            transition: all 0.2s;
        }

        .login-btn-ghost:hover {
            background: rgba(245, 240, 232, 0.1);
            border-color: rgba(245, 240, 232, 0.6);
            color: #f5f0e8;
        }

        .login-about-link {
            color: rgba(196, 163, 90, 0.7);
            font-size: 11px;
            cursor: pointer;
            margin-top: 20px;
            display: inline-block;
        }

        /* Platform selector buttons */
        .platform-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border-radius: 4px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.15);
            color: rgba(245, 240, 232, 0.6);
        }
        .platform-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.25);
            color: #f5f0e8;
        }
        .platform-btn.active[data-platform="spotify"] {
            background: rgba(29, 185, 84, 0.15);
            border-color: #1DB954;
            color: #1DB954;
        }
        .platform-btn.active[data-platform="apple"] {
            background: rgba(252, 60, 68, 0.15);
            border-color: #fc3c44;
            color: #fc3c44;
        }
        .platform-btn svg {
            flex-shrink: 0;
        }

        .login-about-link:hover {
            color: var(--primary);
        }

        @media (max-width: 600px) {
            .vidriera-login {
                padding: 40px 15px 40px;
            }
            .vidriera-title {
                font-size: 22px;
            }
            .vidriera-shelf {
                gap: 10px;
                height: 160px;
            }
            .vinyl-card {
                width: 100px;
                height: 100px;
            }
            .vinyl-card.center {
                width: 120px;
                height: 120px;
            }
            .vinyl-card.left {
                transform: translateX(10px) rotateY(18deg) scale(0.85);
            }
            .vinyl-card.right {
                transform: translateX(-10px) rotateY(-18deg) scale(0.85);
            }
        }

        /* Grilla de sellos */
        .sellos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 12px;
            padding: 16px 0;
        }

        /* Sello individual - estilo etiqueta de disquería */
        .sello-vinilo {
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.06);
            border: none;
            border-radius: 10px;
            padding: 16px 14px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            text-align: center;
            min-height: 52px;
            color: rgba(245, 240, 232, 0.85) !important;
            position: relative;
            box-shadow:
                0 2px 8px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.05);
            border-left: 3px solid var(--sonora-gold);
        }

        /* Efecto de textura papel sutil */
        .sello-vinilo::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 10px;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            opacity: 0.03;
            pointer-events: none;
        }

        .sello-vinilo:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-3px) scale(1.02);
            box-shadow:
                0 6px 16px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.1);
            border-left-color: #8B1538;
            color: #f5f0e8 !important;
        }

        .sello-vinilo:active {
            transform: translateY(-1px) scale(0.98);
        }

        .sello-vinilo.selected {
            background: linear-gradient(145deg, #8B1538 0%, #6d1029 100%);
            color: white !important;
            border-left-color: var(--sonora-gold);
            box-shadow:
                0 4px 16px rgba(139,21,56,0.35),
                inset 0 1px 0 rgba(255,255,255,0.15);
        }

        .sello-vinilo.selected::before {
            opacity: 0.05;
        }

        /* ===== INDICADORES DE TAMAÑO DE CATÁLOGO ===== */
        .sello-vinilo {
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            gap: 2px;
        }

        .sello-name {
            line-height: 1.3;
        }

        .sello-count {
            font-size: 10px;
            font-weight: 600;
            color: var(--text-muted, #8B7355);
            opacity: 0.7;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-top: 2px;
        }

        .sello-vinilo.selected .sello-count {
            opacity: 0.7;
        }

        /* Variación visual por tamaño */
        .sello-vinilo.size-xs {
            border-left-width: 2px;
        }

        .sello-vinilo.size-sm {
            border-left-width: 3px;
        }

        .sello-vinilo.size-md {
            border-left-width: 4px;
            border-left-color: var(--sonora-gold, #c4a052);
        }

        .sello-vinilo.size-lg {
            border-left-width: 5px;
            border-left-color: #8B1538;
        }

        .sello-vinilo.size-lg .sello-count {
            color: var(--primary, #8B1538);
            opacity: 0.65;
            font-weight: 600;
        }

        .sello-vinilo.size-lg:hover {
            border-left-color: #6d1029;
        }

        /* ===== BOTONES DE ORDENAMIENTO DE SELLO ===== */
        .sello-sort-btn {
            padding: 6px 12px;
            font-size: 11px;
            font-weight: 500;
            font-family: 'Ciutadella', sans-serif;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 15px;
            color: rgba(245, 240, 232, 0.6);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .sello-sort-btn:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .sello-sort-btn.active {
            background: var(--primary, #c4a35a);
            color: #1a1a1a;
            border-color: var(--primary, #c4a35a);
        }

        /* ===== BOTÓN CARGAR MÁS ===== */
        .batea-load-more {
            grid-column: 1 / -1;
            padding: 14px 28px;
            margin-top: 20px;
            background: rgba(255, 255, 255, 0.06);
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 25px;
            cursor: pointer;
            font-size: 14px;
            font-family: 'Ciutadella', 'Inter', sans-serif;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .batea-load-more:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--primary, #c4a35a);
        }

        /* ===== BUSCADOR DE SELLOS ===== */
        #sello-search-input {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text, #f5f0e8);
            border: 1.5px solid var(--border, rgba(255,255,255,0.12));
            outline: none;
            transition: all 0.2s ease;
        }

        #sello-search-input:focus {
            border-color: var(--primary, #c4a35a);
            box-shadow: 0 2px 12px rgba(196, 163, 90, 0.25);
        }

        #sello-search-input::placeholder {
            color: var(--text-light, rgba(245,240,232,0.3));
        }

        /* ===== SELLOS CURADOS POR MÉTRICA ===== */
        .sello-vinilo.curado-metrica {
            border-left: 3px solid #b8860b;
            background: rgba(184, 134, 11, 0.1);
        }

        .sello-vinilo.curado-metrica::after {
            content: 'M';
            position: absolute;
            top: 6px;
            right: 6px;
            font-size: 9px;
            font-weight: 700;
            color: #b8860b;
            background: rgba(184, 134, 11, 0.12);
            padding: 2px 5px;
            border-radius: 3px;
            letter-spacing: 0.5px;
        }

        .sello-vinilo.curado-metrica:hover {
            border-left-color: #8B6914;
            background: rgba(184, 134, 11, 0.18);
            box-shadow:
                0 6px 16px rgba(184, 134, 11, 0.2),
                inset 0 1px 0 rgba(255,255,255,0.05);
        }

        .sello-vinilo.curado-metrica.selected {
            background: linear-gradient(145deg, #b8860b 0%, #8B6914 100%);
            border-left-color: #d4a017;
        }

        .sello-vinilo.curado-metrica.selected::after {
            color: #fff;
            background: rgba(255, 255, 255, 0.2);
        }

        /* ===== LOGOS DE SELLOS PARTNER ===== */
        .sello-titulo-with-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            vertical-align: middle;
        }

        .sello-logo-inline {
            height: 18px;
            width: auto;
            max-width: 60px;
            object-fit: contain;
            border-radius: 2px;
            background: #fff;
            padding: 3px 6px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            vertical-align: middle;
            flex-shrink: 0;
        }

        .sello-logo-historia {
            height: 32px;
            width: auto;
            max-width: 100px;
            object-fit: contain;
            border-radius: 4px;
            background: #fff;
            padding: 6px 10px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            margin-right: 12px;
        }

        /* Logo dentro del chip/badge de sello */
        .sello-vinilo-logo {
            width: 28px;
            height: 28px;
            object-fit: contain;
            border-radius: 4px;
            background: #fff;
            padding: 2px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            flex-shrink: 0;
            margin-right: 6px;
        }

        .sello-vinilo.has-logo {
            flex-direction: row;
            align-items: center;
        }

        .sello-vinilo.has-logo .sello-name,
        .sello-vinilo.has-logo .sello-count {
            text-align: left;
        }

        /* ===== FIX: Ocultar app antes de login ===== */
        #app-view {
            display: none !important;
        }

        #app-view.visible {
            display: flex !important;
            flex-direction: column;
        }

        #login-view {
            display: block;
        }

        #login-view.hidden {
            display: none !important;
        }

        /* ===== CÁPSULA DEL TIEMPO ===== */
        .time-capsule {
            background: linear-gradient(135deg, #f5f0e8 0%, #ebe4d8 100%);
            border: 1px solid #d4c9b8;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(61, 40, 23, 0.08);
        }

        .time-capsule::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #c4a35a, #8B1538, #c4a35a);
        }

        .time-capsule-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .time-capsule-icon {
            font-size: 28px;
            filter: grayscale(20%);
        }

        .time-capsule-title {
            font-family: 'Alverata', Georgia, serif;
            font-size: 18px;
            font-style: italic;
            color: var(--sonora-warm);
            margin: 0;
        }

        .time-capsule-subtitle {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #8b7355;
            margin-top: 2px;
        }

        .year-selector {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .year-input {
            width: 90px;
            padding: 8px 6px;
            border: 1.5px solid #c4a35a;
            border-radius: 6px;
            background: white;
            color: var(--sonora-warm);
            font-size: 18px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            text-align: center;
            letter-spacing: 1px;
        }

        /* Ocultar flechas del input number */
        .year-input::-webkit-outer-spin-button,
        .year-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .year-input[type=number] {
            -moz-appearance: textfield;
        }

        .year-input:focus {
            outline: none;
            border-color: #8B1538;
            box-shadow: 0 0 12px rgba(139, 21, 56, 0.2);
        }

        .year-input::placeholder {
            color: #a89a84;
            font-size: 16px;
        }

        .decade-chips {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .decade-chip {
            padding: 6px 12px;
            border: 1px solid var(--chip-color, #c4a35a);
            border-radius: 4px;
            background: white;
            color: var(--chip-color, #8b7355);
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .decade-chip:hover {
            background: var(--chip-color, #8B1538);
            border-color: var(--chip-color, #8B1538);
            color: white;
        }

        .decade-chip.active {
            background: var(--chip-color, #c4a35a);
            border-color: var(--chip-color, #c4a35a);
            color: white;
            font-weight: 600;
        }

        /* Colores por década */
        .decade-chip[data-decade="40s"] { --chip-color: #8B1538; }
        .decade-chip[data-decade="50s"] { --chip-color: #2D5A3D; }
        .decade-chip[data-decade="60s"] { --chip-color: #1E4D7B; }
        .decade-chip[data-decade="70s"] { --chip-color: #8B6914; }
        .decade-chip[data-decade="80s"] { --chip-color: #5B2D82; }
        .decade-chip[data-decade="90s"] { --chip-color: #4A5568; }
        .decade-chip[data-decade="00s"] { --chip-color: #1E3A5F; }

        /* Layout vertical para Cápsula */
        .time-capsule-content {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .capsula-controls {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Años sugeridos */
        .anos-sugeridos {
            border-top: 1px solid rgba(139, 21, 56, 0.15);
            padding-top: 14px;
            margin-top: 4px;
        }

        .anos-sugeridos-titulo {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #8b7355;
            margin-bottom: 10px;
            font-weight: 500;
        }

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

        .ano-sugerido {
            background: rgba(139, 21, 56, 0.05);
            border: 1px solid rgba(139, 21, 56, 0.12);
            border-radius: 8px;
            padding: 8px 6px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        .ano-sugerido:hover {
            background: rgba(139, 21, 56, 0.12);
            border-color: rgba(139, 21, 56, 0.25);
            transform: translateY(-1px);
        }

        .ano-sugerido-year {
            font-family: 'Courier New', monospace;
            font-size: 15px;
            font-weight: bold;
            color: #8B1538;
            display: block;
        }

        .ano-sugerido-album {
            width: 50px;
            height: 50px;
            border-radius: 4px;
            margin: 6px auto;
            overflow: hidden;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        }

        .ano-sugerido-album img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .ano-sugerido-desc {
            font-size: 8px;
            color: #8b7355;
            line-height: 1.2;
            display: block;
        }

        @media (max-width: 600px) {
            .anos-sugeridos-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .btn-time-travel {
            margin-top: 12px;
            padding: 10px 20px;
            background: linear-gradient(135deg, #8B1538 0%, #5d1f1f 100%);
            border: none;
            border-radius: 6px;
            color: #f5f0e8;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-time-travel:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(139, 21, 56, 0.4);
        }

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

        /* ===== CÁPSULA DEL TIEMPO - LOOK EXPEDIENTE ===== */
        .time-travel-results {
            margin-top: 0;
            padding: 0;
            margin-bottom: 24px;
            overflow-x: hidden;
            max-width: 100%;
        }

        .capsula-paper {
            background-color: #e5e0d8;
            color: #1a1a1a;
            padding: 32px 36px;
            border-radius: 2px;
            box-sizing: border-box;
            max-width: 100%;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            position: relative;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
        }

        .capsula-header {
            display: flex;
            align-items: flex-end;
            gap: 24px;
            border-bottom: 2px solid #1a1a1a;
            padding-bottom: 16px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .capsula-stamp {
            font-family: 'Ciutadella', sans-serif;
            border: 2px solid #8B1538;
            color: #8B1538;
            padding: 4px 12px;
            font-weight: bold;
            letter-spacing: 2px;
            transform: rotate(-5deg);
            font-size: 11px;
            flex-shrink: 0;
        }

        .capsula-meta {
            flex-shrink: 0;
        }

        .capsula-label {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            display: block;
            margin-bottom: 2px;
            opacity: 0.6;
        }

        .capsula-year-digits {
            font-family: 'Alverata', Georgia, serif;
            font-size: 56px;
            line-height: 0.85;
            margin: 0;
            color: #1a1a1a;
        }

        .capsula-context {
            margin-left: auto;
            text-align: right;
        }

        .capsula-context p {
            font-family: 'Courier New', monospace;
            font-size: 12px;
            opacity: 0.6;
            margin: 0 0 8px 0;
        }

        .capsula-btn-retry {
            background: transparent;
            border: 1px solid #1a1a1a;
            color: #1a1a1a;
            padding: 6px 14px;
            font-family: 'Ciutadella', sans-serif;
            text-transform: uppercase;
            font-size: 10px;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .capsula-btn-retry:hover {
            background: #1a1a1a;
            color: #e5e0d8;
        }

        /* Layout asimétrico: hero grande + lista lateral */
        .capsula-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr;
            gap: 24px;
        }

        @media (max-width: 700px) {
            .capsula-grid {
                grid-template-columns: 1fr;
            }
            .capsula-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
            .capsula-context {
                margin-left: 0;
                text-align: left;
            }
            .capsula-year-digits {
                font-size: 42px;
            }
            .capsula-paper {
                padding: 20px 14px;
            }
            /* Hero card responsive en mobile */
            .capsula-hero-card img {
                max-width: 100%;
                width: 100%;
            }
            .capsula-hero-card::after {
                max-width: 100%;
                width: 100%;
            }
            .capsula-mini-card img {
                width: 48px;
                height: 48px;
            }
            .capsula-side-list {
                grid-template-columns: 1fr;
            }
        }

        /* Hero card (disco destacado) */
        .capsula-hero-card {
            cursor: pointer;
            position: relative;
        }

        .capsula-hero-card img {
            width: 100%;
            max-width: 380px;
            border-radius: 2px;
            box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
            filter: sepia(20%) contrast(1.05) saturate(0.85) blur(0.3px);
            transition: filter 0.3s, transform 0.3s;
        }

        /* Efecto de foto vieja / grain overlay */
        .capsula-hero-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            max-width: 380px;
            aspect-ratio: 1;
            border-radius: 2px;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            opacity: 0.06;
            mix-blend-mode: overlay;
        }

        .capsula-hero-card:hover img {
            filter: sepia(5%) contrast(1.1) saturate(1) blur(0px);
            transform: translateY(-4px);
        }

        .capsula-hero-card:hover::after {
            opacity: 0.02;
        }

        .capsula-hero-title {
            margin: 14px 0 4px 0;
            font-family: 'Alverata', Georgia, serif;
            font-size: 22px;
            color: #1a1a1a;
        }

        .capsula-hero-artist {
            font-family: 'Ciutadella', sans-serif;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 1px;
            opacity: 0.7;
            margin: 0;
        }

        .capsula-hero-label {
            font-family: 'Courier New', monospace;
            font-size: 11px;
            opacity: 0.65;
            margin-top: 6px;
            letter-spacing: 0.5px;
        }

        /* Lista lateral — grid 2 columnas x 5 filas */
        .capsula-side-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px 16px;
        }

        .capsula-mini-card {
            display: flex;
            gap: 12px;
            align-items: center;
            cursor: pointer;
            padding: 8px;
            border-radius: 2px;
            transition: background 0.2s;
        }

        .capsula-mini-card:hover {
            background: rgba(0,0,0,0.05);
        }

        .capsula-mini-card img {
            width: 56px;
            height: 56px;
            border-radius: 2px;
            filter: grayscale(100%);
            transition: filter 0.3s;
            box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
        }

        .capsula-mini-card:hover img {
            filter: grayscale(0%);
        }

        .capsula-mini-info {
            flex: 1;
            min-width: 0;
        }

        .capsula-mini-title {
            font-family: 'Ciutadella', sans-serif;
            font-weight: 600;
            font-size: 13px;
            color: #1a1a1a;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .capsula-mini-artist {
            font-size: 11px;
            color: rgba(26, 26, 26, 0.7);
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .capsula-mini-label {
            font-family: 'Courier New', monospace;
            font-size: 10px;
            color: rgba(26, 26, 26, 0.55);
            margin-top: 2px;
        }

        /* Stats al final */
        .capsula-footer {
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid rgba(0,0,0,0.1);
            font-family: 'Courier New', monospace;
            font-size: 10px;
            color: #1a1a1a;
            opacity: 0.5;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px;
        }

        .capsula-more-link {
            color: #8B1538;
            text-decoration: underline;
            cursor: pointer;
        }

        /* Grid expandido de la cápsula */
        .capsula-expanded-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 12px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px dashed rgba(139, 115, 85, 0.3);
        }

        .capsula-expanded-card {
            display: block;
            cursor: pointer;
            transition: transform 0.2s;
        }

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

        .capsula-expanded-card img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 4px;
            filter: grayscale(80%);
            transition: filter 0.3s;
        }

        .capsula-expanded-card:hover img {
            filter: grayscale(0%);
        }

        .capsula-expanded-card .card-title {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            margin-top: 6px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #1a1a1a;
        }

        .capsula-expanded-card .card-artist {
            font-size: 10px;
            opacity: 0.6;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        @media (max-width: 500px) {
            .capsula-expanded-grid {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
                gap: 8px;
            }
        }

        /* Loading state dentro de capsula */
        .capsula-loading {
            text-align: center;
            padding: 40px 20px;
        }

        .capsula-loading .loader {
            margin: 0 auto 16px auto;
        }

        /* Legacy fallback - mantener compatibilidad */
        .time-travel-year-header {
            font-family: 'Alverata', Georgia, serif;
            font-size: 22px;
            font-style: italic;
            color: #8B1538;
            margin-bottom: 4px;
            display: inline-block;
            border-bottom: 1px solid #c4a35a;
            padding-bottom: 4px;
        }

        .time-travel-stats {
            font-size: 11px;
            color: #8b7355;
            margin-bottom: 16px;
        }

        /* ===== VIDRIERA DEL DÍA ===== */
        .home-top-row {
            display: flex;
            gap: 20px;
            margin-bottom: 24px;
        }

        @media (max-width: 900px) {
            .home-top-row {
                flex-direction: column;
            }
            /* En mobile: cápsula ocupa todo el ancho y altura auto */
            .home-top-row .time-capsule {
                flex: none !important;
                max-width: 100% !important;
                min-width: 0 !important;
                width: 100% !important;
                height: auto !important;
                overflow: visible !important;
            }
        }

        .home-top-row .time-capsule {
            flex: 0 0 300px;
            min-width: 260px;
            max-width: 320px;
            margin-bottom: 0;
        }

        .vidriera {
            flex: 2;
            min-width: 0;
            background: radial-gradient(ellipse at center top, #222020 0%, #1a1a1a 100%);
            border: 1px solid #3d3d3d;
            border-radius: 12px;
            padding: 18px 20px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        }

        .vidriera::before {
            content: '';
            position: absolute;
            top: -30%;
            left: 50%;
            transform: translateX(-50%);
            width: 150%;
            height: 60%;
            background: radial-gradient(ellipse at center, rgba(196, 163, 90, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }

        .vidriera-header {
            margin-bottom: 10px;
            display: flex;
            align-items: baseline;
            gap: 10px;
            flex-wrap: wrap;
        }

        .vidriera-label {
            font-size: 8px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: #c4a35a;
            flex-shrink: 0;
        }

        .vidriera-titulo {
            font-family: 'Alverata', Georgia, serif;
            font-size: 15px;
            font-style: italic;
            color: #f5f0e8;
            margin: 0;
        }

        .vidriera-subtitulo {
            font-size: 10px;
            color: #8b8b8b;
            margin: 0;
            width: 100%;
        }

        .vidriera-albums {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            overflow: hidden;
            perspective: 800px;
        }

        /* Album cards dentro de vidriera - estilo mesa de novedades */
        .vidriera-albums .album-card {
            min-width: 0;
            max-width: 100%;
            position: relative;
            transform-style: preserve-3d;
            transform: rotateX(4deg);
            background: transparent;
            border-color: transparent;
            transition: all 0.3s ease;
        }

        .vidriera-albums .album-card:hover {
            transform: rotateX(0deg) translateY(-6px) scale(1.03);
            z-index: 10;
        }

        .vidriera-albums .album-card img {
            width: 100%;
            height: auto;
            aspect-ratio: 1;
            object-fit: cover;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
            transition: box-shadow 0.3s ease;
        }

        .vidriera-albums .album-card:hover img {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
        }

        /* Brillo realista (glare) */
        .vidriera-albums .album-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 60%;
            background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
            pointer-events: none;
            border-radius: 4px;
            border: 1px solid rgba(255,255,255,0.08);
        }

        /* Estilos especiales para album-card dentro de vidriera (texto claro sobre fondo oscuro) */
        .vidriera-albums .album-card-meta .album-name {
            color: #f5f0e8;
            font-size: 11px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        }

        .vidriera-albums .album-card-meta .album-artist {
            color: #b0b0b0;
            font-size: 10px;
        }

        .vidriera-albums .album-card-footer .album-year {
            color: #c4a35a;
        }

        .vidriera-album {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 0;
            background: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            flex: 1;
            max-width: 120px;
        }

        .vidriera-album:hover {
            transform: translateY(-4px);
        }

        .vidriera-album:hover .vidriera-album-cover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        }

        .vidriera-album-cover {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 6px;
            overflow: hidden;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
            transition: box-shadow 0.2s;
            position: relative;
        }

        .vidriera-album-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .vidriera-album-info {
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }

        .vidriera-album-title {
            font-size: 10px;
            font-weight: 500;
            color: #f5f0e8;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }

        .vidriera-album-artist {
            font-size: 9px;
            color: #8b8b8b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .vidriera-album-year {
            font-size: 9px;
            color: #c4a35a;
            font-family: 'Courier New', monospace;
        }

        .vidriera-album-actions {
            position: absolute;
            bottom: 6px;
            right: 6px;
            display: flex;
            gap: 4px;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .vidriera-album:hover .vidriera-album-actions {
            opacity: 1;
        }

        .vidriera-album-btn {
            width: 24px;
            height: 24px;
            border: none;
            border-radius: 50%;
            background: rgba(139, 21, 56, 0.3);
            color: #f5f0e8;
            font-size: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .vidriera-album-btn:hover {
            background: #8B1538;
            transform: scale(1.1);
        }

        .vidriera-loading {
            text-align: center;
            padding: 40px 20px;
            color: #8b8b8b;
            font-size: 12px;
        }

        @media (max-width: 900px) {
            .vidriera {
                flex: none;
            }
        }

        /* Vidriera mobile - 2 columnas en lugar de 4 */
        @media (max-width: 600px) {
            .vidriera-albums {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .vidriera-albums .album-card {
                transform: none; /* Sin rotación 3D en mobile */
            }
            .vidriera-albums .album-card:hover {
                transform: translateY(-4px) scale(1.02);
            }
            .vidriera-albums .album-card-meta .album-name {
                font-size: 11px;
            }
            .vidriera-albums .album-card-meta .album-artist {
                font-size: 10px;
            }
        }

        /* ===== VIDRIERA CURADA ===== */
        .vidriera-curada {
            flex: 2;
            min-width: 0;
            background: linear-gradient(135deg, #1c1a18 0%, #111111 100%);
            border: 1px solid rgba(200, 168, 108, 0.2);
            border-radius: 16px;
            padding: 24px;
            position: relative;
            overflow: hidden;
        }

        .vidriera-curada::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, #c8a86c, transparent);
        }

        .vidriera-curada-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
            gap: 20px;
        }

        .vidriera-curada-logo {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 8px;
            background: rgba(255,255,255,0.05);
            padding: 8px;
            flex-shrink: 0;
        }

        .vidriera-curada-info {
            flex: 1;
        }

        .vidriera-curada-label {
            display: inline-block;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #c8a86c;
            background: rgba(200, 168, 108, 0.1);
            padding: 4px 10px;
            border-radius: 10px;
            margin-bottom: 10px;
        }

        .vidriera-curada-titulo {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            font-weight: 600;
            color: #f5f0e8;
            margin: 0 0 6px 0;
            letter-spacing: -0.02em;
        }

        .vidriera-curada-subtitulo {
            font-size: 14px;
            color: #a89078;
            margin: 0 0 8px 0;
            font-style: italic;
        }

        .vidriera-curada-descripcion {
            font-size: 13px;
            color: #a8a090; /* Gris cálido - mejor contraste que #888 */
            line-height: 1.5;
            max-width: 500px;
        }

        .vidriera-curada-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: flex-end;
        }

        .vidriera-curada-btn {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid rgba(200, 168, 108, 0.3);
            background: transparent;
            color: #c8a86c;
        }

        .vidriera-curada-btn:hover {
            background: rgba(200, 168, 108, 0.1);
            border-color: #c8a86c;
        }

        .vidriera-curada-btn.primary {
            background: rgba(200, 168, 108, 0.15);
            border-color: #c8a86c;
        }

        .vidriera-curada-btn.primary:hover {
            background: rgba(200, 168, 108, 0.25);
        }

        /* Layout editorial: 3 anclas grandes arriba, 7 deep cuts abajo */
        .vidriera-curada-albums {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .vidriera-anclas {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }

        .vidriera-deepcuts {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
        }

        .vidriera-deepcuts-label {
            grid-column: 1 / -1;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #999; /* Mejor contraste que #666 */
            margin-bottom: -8px;
        }

        .vidriera-curada-album {
            cursor: pointer;
            transition: transform 0.2s;
        }

        .vidriera-curada-album:hover {
            transform: translateY(-4px);
        }

        /* Anclas: más grandes, con borde dorado */
        .vidriera-curada-album.destacado .vidriera-curada-album-cover {
            border: 2px solid #c8a86c;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 168, 108, 0.15);
        }

        .vidriera-curada-album-cover {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
            position: relative;
        }

        .vidriera-curada-album-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .vidriera-curada-album-nota {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
            padding: 20px 8px 8px;
            font-size: 9px;
            color: #ddd;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .vidriera-curada-album:hover .vidriera-curada-album-nota {
            opacity: 1;
        }

        .vidriera-curada-album-info {
            margin-top: 8px;
        }

        /* Anclas: album-cards grandes */
        .vidriera-anclas .album-card {
            min-width: 0;
            background: transparent;
            border-color: transparent;
        }

        .vidriera-anclas .album-card .album-name {
            font-size: 12px;
            font-weight: 600;
            color: #f5f0e8;
        }

        .vidriera-anclas .album-card .album-artist {
            font-size: 11px;
            color: #a89078;
        }

        /* Deep cuts: album-cards compactos */
        .vidriera-deepcuts .album-card {
            min-width: 0;
            background: transparent;
            border-color: transparent;
        }

        .vidriera-deepcuts .album-card .album-name {
            font-size: 10px;
            color: #e8e0d5;
        }

        .vidriera-deepcuts .album-card .album-artist {
            font-size: 9px;
            color: #9a9a9a; /* Mejor contraste que #888 */
        }

        .vidriera-deepcuts .album-card .album-year {
            font-size: 9px;
        }

        .vidriera-curada-curator {
            margin-top: 16px;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,0.08);
            font-size: 10px;
            color: #999; /* Mejor contraste que #666 */
        }

        /* Nota editorial overlay */
        .album-nota-overlay {
            font-size: 9px;
            color: #c8a86c;
            font-style: italic;
            line-height: 1.35;
            margin-top: 6px;
            padding: 6px 0;
            border-top: 1px solid rgba(200, 168, 108, 0.2);
            /* Altura fija de 4 líneas para alinear cards */
            min-height: calc(4 * 1.35em);
            max-height: calc(4 * 1.35em);
            overflow: hidden;
        }

        @media (max-width: 600px) {
            .album-nota-overlay {
                font-size: 10px;
                line-height: 1.3;
                margin-top: 4px;
                padding: 4px 0;
                min-height: calc(4 * 1.3em);
                max-height: calc(4 * 1.3em);
            }
        }

        @media (max-width: 900px) {
            .vidriera-deepcuts {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 600px) {
            .vidriera-curada {
                padding: 16px;
            }
            .vidriera-curada-header {
                flex-direction: column;
                gap: 16px;
            }
            .vidriera-curada-actions {
                flex-direction: row;
                align-items: center;
            }
            .vidriera-curada-titulo {
                font-size: 22px;
            }
            .vidriera-anclas {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .vidriera-deepcuts {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .vidriera-anclas .album-card .album-name,
            .vidriera-deepcuts .album-card .album-name {
                font-size: 11px;
            }
            .vidriera-anclas .album-card .album-artist,
            .vidriera-deepcuts .album-card .album-artist {
                font-size: 10px;
            }
        }

        /* ===== LANGUAGE TOGGLE ===== */
        .lang-toggle {
            display: flex;
            gap: 0;
            align-items: center;
            position: relative;
            z-index: 1000;
            pointer-events: auto;
        }

        .lang-btn {
            pointer-events: auto;
            position: relative;
            z-index: 1001;
            font-family: 'Ciutadella', sans-serif;
            padding: 5px 10px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--text-muted);
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s ease;
            line-height: 1;
        }

        .lang-btn:first-child {
            border-radius: 4px 0 0 4px;
            border-right: none;
        }

        .lang-btn:last-child {
            border-radius: 0 4px 4px 0;
        }

        .lang-btn:hover {
            color: var(--text);
            background: var(--bg-hover);
        }

        .lang-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* ===== HEADER MOBILE EN 2 FILAS (CSS Grid - no se pisa nunca) ===== */
        @media (max-width: 768px) {
            .sonora-header {
                display: grid !important;
                grid-template-columns: auto auto 1fr auto !important;
                grid-auto-rows: auto !important;
                align-items: center !important;
                column-gap: 10px !important;
                row-gap: 8px !important;
                padding: calc(12px + env(safe-area-inset-top)) 14px 16px !important;
                text-align: center !important;
            }

            /* Fila 1: Home */
            .home-btn {
                position: static !important;
                top: auto !important;
                left: auto !important;
                transform: none !important;
                grid-column: 1 !important;
                grid-row: 1 !important;
                width: 32px !important;
                height: 32px !important;
                justify-self: start !important;
            }

            /* Fila 1: Idiomas al lado del home */
            .lang-toggle {
                position: static !important;
                top: auto !important;
                left: auto !important;
                transform: none !important;
                grid-column: 2 !important;
                grid-row: 1 !important;
                justify-self: start !important;
                height: 32px !important;
                display: flex !important;
                align-items: center !important;
            }

            .lang-btn {
                padding: 6px 10px;
                font-size: 11px;
                letter-spacing: 0.03em;
                line-height: 1;
                min-height: 32px;
            }

            /* Fila 1: Spotify / Perfil a la derecha */
            #profile-pill {
                position: static !important;
                top: auto !important;
                right: auto !important;
                left: auto !important;
                transform: scale(0.82) !important;
                transform-origin: center right !important;
                grid-column: 4 !important;
                grid-row: 1 !important;
                justify-self: end !important;
                max-width: 52vw !important;
            }

            #profile-pill #mini-name {
                display: inline-block;
                max-width: 28vw;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            /* Fila 2: Marca centrada (branding es el grid child real) */
            .sonora-branding {
                grid-column: 1 / -1 !important;
                grid-row: 2 !important;
                text-align: center !important;
            }

            .sonora-logo {
                font-size: 36px !important;
                line-height: 1.06 !important;
                margin: 0 !important;
            }

            /* Tagline oculto en mobile (ahorra espacio vertical) */
            .sonora-tagline {
                display: none !important;
            }

            /* Stats compactos */
            .sonora-catalog-pitch {
                font-size: 11px !important;
                color: rgba(139, 115, 85, 0.85) !important;
                margin: 4px 0 0 0 !important;
            }

            .sonora-byline {
                margin-top: 4px !important;
                font-size: 10px !important;
            }

            .store-nav {
                padding: 0 8px;
                gap: 0;
                flex-direction: column;
                align-items: stretch;
            }

            .store-nav-tabs {
                justify-content: center;
            }

            .nav-collection-pill {
                display: none;
            }

            .store-nav-btn {
                padding: 12px 12px 10px;
                font-size: 11px;
                border-bottom-width: 2px;
            }

            /* En mobile: mantener buscador visible, ocultar botón redundante */
            .nav-search-center {
                display: flex !important;
                flex: 1;
                max-width: 100%;
            }

            .nav-search-mobile {
                display: none !important;
            }

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

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

            .batea-card {
                padding: 14px 12px;
            }

            .batea-name {
                font-size: 15px;
            }

            .batea-sellos-preview {
                font-size: 10px;
            }

            .staff-picks {
                padding: 16px;
                margin: 16px 0;
            }

            .staff-picks-title {
                font-size: 16px;
            }

            .welcome-message {
                padding: 24px 16px;
            }

            .welcome-message h2 {
                font-size: 22px;
            }

            .welcome-message p {
                font-size: 14px;
            }

            .sellos-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .sello-vinilo {
                padding: 14px 10px;
                font-size: 11px;
                min-height: 48px;
                border-left-width: 3px;
            }
        }

        /* Ajuste fino para pantallas muy angostas (Galaxy Fold cerrado, iPhone SE) */
        @media (max-width: 375px) {
            .sonora-logo {
                font-size: 32px;
            }

            .nav-search-center {
                max-width: 220px;
                padding: 6px 12px;
            }

            .bottom-nav-btn {
                padding: 6px 8px;
                min-height: 44px;
            }

            .bottom-nav-btn span {
                font-size: 10px;
            }

            .about-how-section {
                margin-left: -10px;
                margin-right: -10px;
                padding: 20px 10px;
            }
        }

        /* ===== BETA ACCESS GATE ===== */
        /* Colores hardcodeados para que funcione sin CSS externo */
        #beta-gate {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #faf8f5;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #beta-gate.hidden {
            display: none;
        }

        .beta-gate-box {
            text-align: center;
            padding: 40px;
            max-width: 380px;
        }

        .beta-gate-logo {
            font-family: 'Alverata', Georgia, serif;
            font-size: 36px;
            font-weight: 300;
            font-style: italic;
            margin-bottom: 8px;
            color: #1a1a1a;
        }

        .beta-gate-tag {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: #888;
            margin-bottom: 32px;
        }

        .beta-gate-input {
            font-family: 'Ciutadella', sans-serif;
            width: 100%;
            padding: 14px 16px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background: #ffffff;
            color: #1a1a1a;
            font-size: 14px;
            text-align: center;
            letter-spacing: 0.1em;
            margin-bottom: 16px;
        }

        .beta-gate-input:focus {
            outline: none;
            border-color: #8B1538;
        }

        .beta-gate-btn {
            font-family: 'Ciutadella', sans-serif;
            width: 100%;
            padding: 14px;
            background: #8B1538;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .beta-gate-btn:hover {
            opacity: 0.9;
        }

        .beta-gate-error {
            color: #e74c3c;
            font-size: 12px;
            margin-top: 12px;
            display: none;
        }

        .beta-gate-note {
            font-size: 11px;
            color: #888;
            margin-top: 24px;
            opacity: 0.6;
        }

        /* Ocultar todo hasta pasar el beta gate */
        .container {
            display: none;
        }

        #beta-gate.hidden ~ .container {
            display: block;
        }

        /* ===== MODAL ¿QUÉ ES SONORA? ===== */
        .about-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, #ede8df 0%, #f5f1ea 40%, #faf8f5 100%);
            z-index: 10000;
            display: none;
            overflow-y: auto;
        }

        .about-modal.visible {
            display: block;
        }

        .about-modal-content {
            max-width: 640px;
            margin: 0 auto;
            padding: 40px 24px 60px;
            animation: fadeInUp 0.4s ease;
        }

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

        .about-close {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(42,24,16,0.06);
            border: 1px solid rgba(42,24,16,0.1);
            color: #5a4a3a;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.2s;
            z-index: 10001;
        }

        .about-close:hover {
            background: rgba(42,24,16,0.12);
            transform: scale(1.1);
        }

        /* Header con fondo propio */
        .about-header {
            text-align: center;
            margin: -40px -24px 36px -24px;
            padding: 48px 24px 32px;
            background: linear-gradient(180deg, rgba(42,24,16,0.04) 0%, transparent 100%);
            border-bottom: 1px solid rgba(42,24,16,0.06);
        }

        .about-logo {
            font-family: 'Alverata', Georgia, serif;
            font-size: 52px;
            font-weight: 300;
            font-style: italic;
            color: #2a1810;
            margin-bottom: 4px;
        }

        .about-tagline {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.3em;
            color: #9a7d50;
            margin-bottom: 18px;
        }

        .about-intro {
            font-family: 'Ciutadella', sans-serif;
            font-size: 15px;
            line-height: 1.6;
            color: #5a4a3a;
            max-width: 460px;
            margin: 0 auto 20px;
        }

        /* Stats como pills */
        .about-stats-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            font-family: 'Ciutadella', sans-serif;
        }

        .about-stat-pill {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: #fff;
            border: 1px solid rgba(42,24,16,0.06);
            border-radius: 10px;
            padding: 10px 20px;
            box-shadow: 0 1px 4px rgba(42,24,16,0.04);
        }

        .about-stat-num {
            font-size: 22px;
            font-weight: 700;
            color: #2a1810;
            line-height: 1;
        }

        .about-stat-label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #8b7355;
            margin-top: 3px;
        }

        .about-section {
            margin-bottom: 36px;
        }

        .about-section h3 {
            font-family: 'Alverata', Georgia, serif;
            font-size: 21px;
            font-style: italic;
            color: #2a1810;
            margin-bottom: 14px;
            padding-bottom: 0;
            border-bottom: none;
        }

        .about-section p {
            font-family: 'Ciutadella', sans-serif;
            font-size: 14px;
            line-height: 1.75;
            color: #5a4a3a;
            margin-bottom: 16px;
        }

        .about-section p:last-child {
            margin-bottom: 0;
        }

        .about-section ul {
            color: #5a4a3a;
            font-size: 14px;
            line-height: 1.8;
        }

        .about-section li {
            margin-bottom: 8px;
        }

        .about-section strong {
            color: #2a1810;
            font-weight: 600;
        }

        .about-highlight {
            color: #2a1810;
            font-weight: 500;
        }

        /* Feature cards */
        .about-features {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 12px;
        }

        .about-feat-card {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 16px;
            background: #fff;
            border: 1px solid rgba(42,24,16,0.06);
            border-left: 3px solid #c4a35a;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(42,24,16,0.03);
        }

        .about-feat-card:hover {
            box-shadow: 0 4px 16px rgba(42,24,16,0.08);
            transform: translateY(-2px);
        }

        .about-feat-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            border-radius: 10px;
        }

        .about-feat-body {
            flex: 1;
            min-width: 0;
        }

        .about-feat-name {
            font-family: 'Ciutadella', sans-serif;
            font-size: 13.5px;
            font-weight: 600;
            color: #2a1810;
            margin-bottom: 2px;
        }

        .about-feat-desc {
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            color: #7a6b5a;
            line-height: 1.4;
        }

        .about-feat-go {
            flex-shrink: 0;
            font-size: 16px;
            color: rgba(42,24,16,0.15);
            transition: color 0.2s, transform 0.2s;
        }

        .about-feat-card:hover .about-feat-go {
            color: #5a4a3a;
            transform: translateX(3px);
        }

        /* Colores individuales por feature */
        .feat-bateas { border-left-color: #c4a35a; }
        .feat-bateas .about-feat-icon { background: rgba(196,163,90,0.12); color: #9a7d50; }
        .feat-bateas:hover { border-left-color: #b8943a; }

        .feat-capsule { border-left-color: #6b8e7b; }
        .feat-capsule .about-feat-icon { background: rgba(107,142,123,0.12); color: #4a7a62; }
        .feat-capsule:hover { border-left-color: #4a7a62; }

        .feat-search { border-left-color: #7a8fa8; }
        .feat-search .about-feat-icon { background: rgba(122,143,168,0.12); color: #5a7a9a; }
        .feat-search:hover { border-left-color: #5a7a9a; }

        .feat-collection { border-left-color: #b85c5c; }
        .feat-collection .about-feat-icon { background: rgba(184,92,92,0.1); color: #a04848; }
        .feat-collection:hover { border-left-color: #a04848; }

        .feat-discography { border-left-color: #8b7ab8; }
        .feat-discography .about-feat-icon { background: rgba(139,122,184,0.1); color: #7260a8; }
        .feat-discography:hover { border-left-color: #7260a8; }

        .feat-new { border-left-color: #c49a6b; }
        .feat-new .about-feat-icon { background: rgba(196,154,107,0.12); color: #a07840; }
        .feat-new:hover { border-left-color: #a07840; }

        /* Flow diagram con pasos */
        .about-how-section {
            background: #fff;
            margin-left: -24px;
            margin-right: -24px;
            padding: 28px 24px;
            border-top: 1px solid rgba(42,24,16,0.04);
            border-bottom: 1px solid rgba(42,24,16,0.04);
        }

        .about-flow {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            padding: 0;
            margin: 18px 0;
            background: none;
        }

        .flow-step {
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            font-weight: 600;
            color: #2a1810;
            background: linear-gradient(135deg, #f0ebe2, #e8e0d4);
            padding: 8px 16px;
            border-radius: 8px;
            border: 1px solid rgba(42,24,16,0.08);
        }

        .flow-arrow {
            font-size: 16px;
            color: #c4a35a;
            margin: 0 6px;
            font-weight: 300;
        }

        .about-flow-example {
            font-size: 13px !important;
            color: #8b7355 !important;
            font-style: italic;
            text-align: center;
        }

        /* Note callout */
        .about-note {
            background: linear-gradient(135deg, rgba(107,142,123,0.08) 0%, rgba(107,142,123,0.04) 100%);
            padding: 20px 24px;
            border-radius: 12px;
            border-left: 3px solid #6b8e7b;
        }

        .about-note h3 {
            color: #4a7a62 !important;
            border-bottom: none !important;
            padding-bottom: 0 !important;
            margin-bottom: 8px !important;
        }

        .about-note p {
            margin-bottom: 0;
        }

        /* Origin story */
        .about-origin-section {
            padding-top: 8px;
        }

        .about-origin-section h3 {
            color: #8b7355 !important;
        }

        .about-origin-section p {
            color: #7a6b5a;
        }

        .about-quote {
            background: linear-gradient(135deg, rgba(139,21,56,0.05) 0%, rgba(42,24,16,0.03) 100%);
            border-left: 3px solid rgba(139,21,56,0.4);
            padding: 18px 22px;
            margin: 20px 0;
            border-radius: 0 10px 10px 0;
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            color: #6b5a48;
            font-style: italic;
            line-height: 1.7;
        }

        /* Footer */
        .about-footer {
            text-align: center;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid rgba(42,24,16,0.06);
        }

        .about-footer-logo {
            height: 36px;
            opacity: 0.4;
            margin-bottom: 12px;
        }

        .about-footer p {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: #8b7355;
            letter-spacing: 0.1em;
        }

        .about-link {
            color: #9a7d50;
            text-decoration: none;
            font-size: 12px;
            cursor: pointer;
            transition: color 0.2s;
        }

        .about-link:hover {
            color: #6b5a48;
            text-decoration: underline;
        }

        /* ===== HOME BUTTON ===== */
        .home-btn {
            position: absolute;
            top: 50%;
            left: 24px;
            transform: translateY(-50%);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(0,0,0,0.05);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 14px;
            color: var(--text-muted);
            transition: background 0.2s, border-color 0.2s, color 0.2s;
        }

        .home-btn:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        /* Lang toggle a la izquierda (junto al home btn) */
        .lang-toggle {
            position: absolute;
            top: 50%;
            left: 68px; /* 24px + 32px ancho del home + 12px gap */
            transform: translateY(-50%);
            height: 32px;
            display: flex;
            align-items: center;
        }

        /* Profile pill alineado al centro vertical (DESKTOP) */
        #profile-pill {
            position: absolute;
            top: 50%;
            right: 24px;
            transform: translateY(-50%);
        }

        /* ===== SONORA FOOTER ===== */
        .sonora-footer {
            text-align: center;
            padding: 24px 16px 32px;
            margin-top: auto;
            border-top: 1px solid var(--border);
            background: var(--bg);
        }

        .sonora-footer-links {
            display: flex;
            justify-content: center;
            gap: 24px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .sonora-footer-link {
            font-family: 'Ciutadella', sans-serif;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: color 0.2s;
        }

        .sonora-footer-link:hover {
            color: var(--primary);
        }

        .sonora-footer-credit {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            color: var(--text-muted);
            opacity: 0.6;
        }

        .sonora-footer-credit a {
            color: inherit;
            text-decoration: none;
        }

        .sonora-footer-credit a:hover {
            text-decoration: underline;
        }

        @media (max-width: 600px) {
            .about-modal-content {
                max-width: 100%;
                padding: 36px 20px 52px;
            }

            .about-header {
                margin: -36px -20px 30px -20px;
                padding: 44px 20px 28px;
            }

            .about-logo {
                font-size: 44px;
            }

            .about-stats-row {
                gap: 8px;
            }

            .about-stat-pill {
                padding: 8px 14px;
            }
        }

        @media (max-width: 480px) {
            .about-modal-content {
                padding: 32px 16px 48px;
            }

            .about-header {
                margin: -32px -16px 28px -16px;
                padding: 40px 16px 24px;
            }

            .about-logo {
                font-size: 40px;
            }

            .about-section h3 {
                font-size: 18px;
            }

            .about-section p {
                font-size: 14px;
                line-height: 1.6;
            }

            .about-feat-card {
                padding: 12px 14px;
                gap: 12px;
            }

            .about-feat-icon {
                width: 34px;
                height: 34px;
                font-size: 16px;
            }

            .about-stats-row {
                gap: 8px;
            }

            .about-stat-pill {
                padding: 8px 14px;
            }

            .about-stat-num {
                font-size: 18px;
            }

            .flow-step {
                font-size: 11px;
                padding: 6px 10px;
            }

            .flow-arrow {
                font-size: 14px;
                margin: 0 3px;
            }

            .about-how-section {
                margin-left: -16px;
                margin-right: -16px;
                padding: 24px 16px;
            }
        }

        /* ===== VAULT - Mi Colección ===== */
        /* Botones fuera del artwork - en zona de metadata */
        .album-card-actions {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        /* Botón corazón (agregar a colección) */
        .vault-btn-add {
            width: 24px;
            height: 24px;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 0;
        }

        .vault-btn-add svg {
            width: 18px;
            height: 18px;
            stroke: var(--text-muted, #a89078);
            stroke-width: 2;
            fill: transparent;
            transition: all 0.2s ease;
        }

        .vault-btn-add:hover svg {
            stroke: #e74c3c;
            transform: scale(1.15);
        }

        .vault-btn-add:active svg {
            transform: scale(0.9);
        }

        .vault-btn-add.in-vault svg {
            stroke: #e74c3c;
            fill: #e74c3c;
        }

        .vault-btn-add.in-vault:hover svg {
            stroke: #c0392b;
            fill: #c0392b;
        }

        /* Animación heartBeat al agregar a colección */
        @keyframes heartBeat {
            0% { transform: scale(1); }
            15% { transform: scale(1.3); }
            30% { transform: scale(1); }
            45% { transform: scale(1.25); }
            60% { transform: scale(1); }
        }

        .vault-btn-add.just-added svg {
            animation: heartBeat 0.5s ease-in-out;
        }

        /* Touch targets más grandes (mobile-friendly) */
        .vault-btn-add::after {
            content: '';
            position: absolute;
            top: -10px;
            bottom: -10px;
            left: -10px;
            right: -10px;
        }

        .vault-btn-add {
            position: relative;
        }

        /* Pastilla "+ info" — link a la página del disco */
        .info-pill-album {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-decoration: none;
            color: var(--text-muted, #888);
            border: 1px solid rgba(200, 180, 140, 0.25);
            border-radius: 10px;
            background: transparent;
            transition: all 0.2s;
            cursor: pointer;
            white-space: nowrap;
            font-family: 'Ciutadella', sans-serif;
            flex-shrink: 0;
        }

        .info-pill-album:hover {
            color: var(--gold, #c8a86e);
            border-color: var(--gold, #c8a86e);
            background: rgba(200, 180, 140, 0.08);
        }

        /* Pill en vault cards */
        .vault-info-pill {
            position: absolute;
            bottom: 8px;
            right: 8px;
            font-size: 9px;
            padding: 2px 6px;
        }

        /* Botón Share - mismo estilo que info */
        .share-btn-album {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: transparent;
            border: 1.5px solid var(--text-muted, #b8b8b8);
            color: var(--text-muted, #999);
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
        }

        .share-btn-album:hover {
            border-color: #1DB954;
            color: #1DB954;
            transform: scale(1.1);
        }

        .share-btn-album:active {
            transform: scale(0.9);
        }

        .share-btn-album::after {
            content: '';
            position: absolute;
            top: -10px;
            bottom: -10px;
            left: -10px;
            right: -10px;
        }

        /* Menú de compartir flotante - Estética Sonora */
        .share-menu-floating {
            position: fixed;
            background: linear-gradient(145deg, #1e1e1e 0%, #141414 100%);
            border: 1px solid rgba(200, 180, 140, 0.15);
            border-radius: 12px;
            padding: 8px;
            display: none;
            flex-direction: column;
            gap: 6px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
            z-index: 9999;
            min-width: 160px;
            backdrop-filter: blur(10px);
        }

        .share-menu-floating::before {
            content: 'Compartir';
            display: block;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #c8b48c;
            padding: 4px 8px 8px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            margin-bottom: 2px;
            font-family: 'Ciutadella', sans-serif;
        }

        .share-menu-floating.visible {
            display: flex;
            animation: shareMenuIn 0.15s ease-out;
        }

        @keyframes shareMenuIn {
            from {
                opacity: 0;
                transform: translateY(-8px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .share-menu-floating button {
            background: transparent;
            color: #e0e0e0;
            border: none;
            padding: 10px 12px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 13px;
            font-family: 'Ciutadella', sans-serif;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .share-menu-floating button:hover {
            background: rgba(255,255,255,0.08);
        }

        .share-menu-floating button.whatsapp {
            color: #e0e0e0;
        }

        .share-menu-floating button.whatsapp svg {
            fill: #25D366;
        }

        .share-menu-floating button.whatsapp:hover {
            background: rgba(37, 211, 102, 0.15);
            color: #25D366;
        }

        .share-menu-floating button.copy-link {
            color: #e0e0e0;
        }

        .share-menu-floating button.copy-link svg {
            stroke: #c8b48c;
        }

        .share-menu-floating button.copy-link:hover {
            background: rgba(200, 180, 140, 0.12);
            color: #c8b48c;
        }

        .share-menu-floating button svg {
            flex-shrink: 0;
        }

        /* Cards de álbum - hover mejorado */
        .album-card {
            cursor: pointer;
            position: relative;
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
            border-radius: 8px;
            background: var(--bg-card, transparent);
            border: 1px solid var(--border, transparent);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .album-card:hover {
            transform: scale(1.03) translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 255, 255, 0.18);
        }

        .album-card img {
            transition: box-shadow 0.25s ease;
            /* Skeleton loading mientras carga */
            background: var(--skeleton-base, #e5e0d8);
            background-image: linear-gradient(90deg, var(--skeleton-base, #e5e0d8) 25%, var(--skeleton-shine, #f0ebe5) 50%, var(--skeleton-base, #e5e0d8) 75%);
            background-size: 200% 100%;
            min-height: 100px;
        }

        .album-card img:not([src=""]):not([src$="undefined"]) {
            animation: none;
            background: transparent;
        }

        /* Shimmer effect para imágenes cargando */
        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .album-card img[data-loading="true"] {
            animation: shimmer 1.5s infinite linear;
        }

        .album-card:active {
            transform: scale(0.98);
        }

        /* Play overlay para album cards */
        .album-card .album-cover-wrapper {
            position: relative;
        }

        .album-card .album-play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            width: 36px;
            height: 36px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10;
            pointer-events: none;
            backdrop-filter: blur(2px);
        }

        .album-card .album-play-overlay::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 5px 0 5px 9px;
            border-color: transparent transparent transparent #fff;
            margin-left: 2px;
        }

        .album-card:hover .album-play-overlay {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
            background: rgba(30, 215, 96, 0.85);
            border-color: rgba(30, 215, 96, 1);
        }

        /* Radio queue items hover */
        .radio-queue-item:hover {
            transform: scale(1.05);
        }
        .radio-queue-item:hover img {
            box-shadow: 0 4px 16px rgba(0,0,0,0.4);
        }

        /* Radio Sonora - Estilos base */
        .radio-now-playing {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
        }
        .radio-cover {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.3);
            cursor: pointer;
            flex-shrink: 0;
        }
        .radio-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .radio-artist {
            font-size: 17px;
            font-weight: 600;
            color: var(--text);
            line-height: 1.2;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .radio-album-title {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .radio-meta {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 2px;
        }
        .radio-controls {
            display: flex;
            gap: 8px;
            margin-top: 12px;
            flex-wrap: wrap;
        }
        .radio-btn-play {
            background: linear-gradient(135deg, var(--sonora-gold) 0%, #c9a227 100%);
            color: #1a1a1a;
            border: none;
            padding: 10px 20px;
            border-radius: 24px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .radio-btn-play:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
        }
        .radio-btn-skip {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
            padding: 10px 16px;
            border-radius: 24px;
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.15s;
        }
        .radio-btn-skip:hover {
            background: var(--bg-hover);
            color: var(--text);
        }
        .radio-btn-shuffle {
            background: transparent;
            color: var(--text-muted);
            border: 1px solid var(--border);
            padding: 10px 12px;
            border-radius: 50%;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.15s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .radio-btn-shuffle:hover {
            background: var(--bg-hover);
            color: var(--sonora-gold);
            border-color: var(--sonora-gold);
        }
        .radio-queue-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .radio-queue-label {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 500;
        }
        .radio-queue-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
            gap: 10px;
        }

        /* Radio Mobile optimizations */
        @media (max-width: 480px) {
            .radio-now-playing {
                gap: 12px;
                padding: 12px;
            }
            .radio-cover {
                width: 100px;
                height: 100px;
            }
            .radio-artist {
                font-size: 15px;
            }
            .radio-album-title {
                font-size: 13px;
            }
            .radio-controls {
                margin-top: 10px;
                gap: 6px;
            }
            .radio-btn-play {
                padding: 8px 16px;
                font-size: 12px;
            }
            .radio-btn-skip {
                padding: 8px 12px;
                font-size: 12px;
            }
            .radio-btn-shuffle {
                width: 36px;
                height: 36px;
                font-size: 13px;
            }
            .radio-queue-grid {
                grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
                gap: 8px;
            }
        }

        @media (max-width: 768px) {
            .album-card .album-play-overlay {
                opacity: 0.6;
                transform: translate(-50%, -50%) scale(0.9);
                width: 36px;
                height: 36px;
            }
            .album-card .album-play-overlay::after {
                border-width: 5px 0 5px 8px;
            }
        }

        /* Metadata - título y artista a ancho completo */
        .album-card-meta {
            margin-top: 0;
            padding: 8px 10px 0 10px;
            cursor: pointer;
        }

        .album-card-meta .album-name {
            font-size: 12px;
            font-weight: 600;
            color: var(--text, inherit);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.3;
        }

        .album-card-meta .album-artist {
            font-size: 11px;
            color: var(--text-muted, #555);
            margin-top: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Footer - año a la izquierda, botones a la derecha */
        .album-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            padding: 4px 10px 8px 10px;
        }

        .album-card-footer .album-year {
            font-size: 10px;
            color: var(--text-muted, #9a8a6a);
        }

        /* Animación del botón + al agregar */
        @keyframes addedBounce {
            0% { transform: scale(1); }
            25% { transform: scale(1.3); }
            50% { transform: scale(0.9); }
            75% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .vault-btn-add.just-added {
            animation: addedBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* Botón flotante del Vault */
        .vault-floating-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: rgba(30, 30, 30, 0.85);
            color: var(--sonora-cream);
            border: 1px solid rgba(200, 180, 140, 0.3);
            padding: 10px 14px;
            border-radius: 24px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            cursor: pointer;
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.2);
            transition: all 0.3s;
            backdrop-filter: blur(8px);
            opacity: 0.7;
        }

        .vault-floating-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.3);
            opacity: 1;
            border-color: var(--sonora-gold);
        }

        .vault-floating-icon {
            font-size: 14px;
        }

        .vault-floating-btn .vault-count {
            background: var(--sonora-gold);
            color: var(--sonora-vinyl);
            font-size: 11px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 12px;
            min-width: 20px;
            text-align: center;
        }

        .vault-floating-btn.empty {
            opacity: 0.6;
        }

        /* Animación pulse para contador de colección */
        .pill-count.pulse {
            animation: vaultPulse 0.4s ease;
        }

        @keyframes vaultPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); background: #1DB954; }
            100% { transform: scale(1); }
        }

        /* Toast de confirmación - versión inteligente con acciones */
        .vault-toast {
            position: fixed;
            bottom: calc(100px + env(safe-area-inset-bottom, 0px));
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: white;
            padding: 14px 18px;
            border-radius: 12px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            font-weight: 500;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            opacity: 0;
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 10001;
            pointer-events: none;
            display: flex;
            align-items: center;
            gap: 12px;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .vault-toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
            pointer-events: auto;
        }

        .vault-toast-text {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #1DB954;
        }

        .vault-toast-actions {
            display: flex;
            gap: 8px;
            margin-left: 8px;
            padding-left: 12px;
            border-left: 1px solid rgba(255,255,255,0.15);
        }

        .vault-toast-btn {
            background: transparent;
            border: none;
            color: rgba(255,255,255,0.8);
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 6px;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .vault-toast-btn:hover {
            background: rgba(255,255,255,0.1);
            color: white;
        }

        .vault-toast-btn.primary {
            background: rgba(29, 185, 84, 0.2);
            color: #1DB954;
        }

        .vault-toast-btn.primary:hover {
            background: rgba(29, 185, 84, 0.35);
        }

        .vault-toast-btn.undo {
            color: rgba(255,255,255,0.6);
        }

        .vault-toast-btn.undo:hover {
            color: #ff6b6b;
            background: rgba(255,107,107,0.1);
        }

        /* Animación del botón + al agregar */
        @keyframes addedBounce {
            0% { transform: scale(1); }
            25% { transform: scale(1.3); }
            50% { transform: scale(0.9); }
            75% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .vault-btn-add.just-added {
            animation: addedBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* Modal del Vault */
        .vault-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            overflow-y: auto;
        }

        .vault-modal.open {
            display: block;
        }

        .vault-modal-content {
            max-width: 900px;
            margin: 40px auto;
            padding: 32px;
            background: var(--bg);
            border-radius: 8px;
            border: 1px solid var(--border);
            min-height: calc(100vh - 80px);
        }

        .vault-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }

        .vault-title {
            font-family: 'Alverata', Georgia, serif;
            font-size: 28px;
            font-style: italic;
            color: var(--text);
        }

        .vault-close {
            background: none;
            border: none;
            font-size: 32px;
            color: var(--text-muted);
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }

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

        .vault-stats {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }

        .vault-filters {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .vault-filter-btn {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            color: var(--text-muted);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }

        .vault-filter-btn:hover {
            background: rgba(255,255,255,0.1);
            color: var(--text);
        }

        .vault-filter-btn.active {
            background: rgba(29, 185, 84, 0.2);
            border-color: rgba(29, 185, 84, 0.4);
            color: #1DB954;
        }

        .vault-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 20px;
        }

        .vault-album {
            position: relative;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .vault-album:hover {
            transform: scale(1.03);
        }

        .vault-album-cover {
            position: relative;
        }

        .vault-album img {
            width: 100%;
            border-radius: 4px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.2);
        }

        .vault-album-info {
            margin-top: 8px;
        }

        .vault-album-name {
            font-size: 12px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .vault-album-artist {
            font-size: 11px;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .vault-album-meta {
            font-size: 10px;
            color: var(--primary);
            margin-top: 2px;
        }

        .vault-album-remove {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(192, 57, 43, 0.9);
            border: none;
            color: white;
            font-size: 14px;
            font-weight: bold;
            line-height: 1;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .vault-album:hover .vault-album-remove {
            opacity: 1;
        }

        /* Share button en vault */
        .vault-share-btn {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(30, 30, 30, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 12px;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.2s, background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .vault-album:hover .vault-share-btn {
            opacity: 1;
        }

        .vault-share-btn:hover {
            background: #1DB954;
            border-color: #1DB954;
        }

        /* Play overlay for vault albums */
        .vault-album-cover .album-play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 5;
            pointer-events: none;
            backdrop-filter: blur(2px);
        }

        .vault-album-cover .album-play-overlay::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 6px 0 6px 10px;
            border-color: transparent transparent transparent #fff;
            margin-left: 2px;
        }

        .vault-album:hover .album-play-overlay {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
            background: rgba(30, 215, 96, 0.85);
            border-color: rgba(30, 215, 96, 1);
        }

        @media (max-width: 768px) {
            .vault-album-cover .album-play-overlay {
                opacity: 0.6;
                transform: translate(-50%, -50%) scale(0.85);
                width: 32px;
                height: 32px;
            }
            .vault-album-cover .album-play-overlay::after {
                border-width: 5px 0 5px 8px;
            }
        }

        .vault-empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
        }

        .vault-empty-icon {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.3;
        }

        .vault-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .vault-playlist-options {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .vault-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .vault-toggle input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #1DB954;
            cursor: pointer;
        }

        .vault-toggle-label {
            user-select: none;
        }

        .vault-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .vault-buttons button {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }

        @media (max-width: 600px) {
            .vault-buttons {
                justify-content: center;
            }
            .vault-buttons button {
                font-size: 10px;
                padding: 8px 10px;
            }
        }

        .vault-btn-export {
            background: var(--sonora-gold);
            color: var(--sonora-vinyl);
            border: none;
        }

        .vault-btn-export:hover {
            background: #d4b36a;
        }

        .vault-btn-clear {
            background: transparent;
            color: var(--text-muted);
            border: 1px solid var(--border);
        }

        .vault-btn-clear:hover {
            border-color: #c0392b;
            color: #c0392b;
        }

        .vault-btn-shuffle {
            background: #1DB954;
            color: white;
            border: none;
        }

        .vault-btn-shuffle:hover {
            background: #1ed760;
        }

        .vault-btn-spotify {
            background: #1DB954;
            color: white;
            border: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .vault-btn-spotify:hover {
            background: #1ed760;
        }

        .vault-btn-open-spotify {
            background: #1DB954;
            color: white;
            border: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .vault-btn-open-spotify:hover {
            background: #1ed760;
        }

        .vault-btn-open-spotify:active,
        .vault-btn-spotify:active {
            transform: scale(0.95);
            opacity: 0.9;
        }

        .vault-btn-spotify:disabled {
            background: #555;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .vault-btn-pdf {
            background: var(--sonora-vinyl);
            color: var(--sonora-cream);
            border: 1px solid var(--sonora-gold);
        }

        .vault-btn-pdf:hover {
            background: #2a2a2a;
            border-color: #d4b36a;
        }

        .vault-btn-share {
            background: transparent;
            color: var(--sonora-gold);
            border: 1px solid var(--sonora-gold);
        }

        .vault-btn-share:hover {
            background: rgba(196, 163, 90, 0.15);
        }

        @media (max-width: 600px) {
            .vault-floating-btn {
                bottom: 16px;
                right: 16px;
                padding: 10px 16px;
                font-size: 11px;
            }

            .vault-modal-content {
                margin: 0;
                border-radius: 0;
                min-height: 100vh;
                padding: 20px;
            }

            .vault-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 12px;
            }
        }

        /* ===== MEGA SEARCH STYLES ===== */
        .mega-search-container {
            padding: 28px 24px;
            background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
            border-radius: 16px;
            margin: 0 -20px;
            /* Override theme vars for dark context */
            --bg-secondary: rgba(255, 255, 255, 0.06);
            --surface-2: rgba(255, 255, 255, 0.1);
            --text: #f5f0e8;
            --text-secondary: rgba(245, 240, 232, 0.6);
            --text-muted: rgba(245, 240, 232, 0.4);
            --text-light: rgba(245, 240, 232, 0.3);
            --border: rgba(255, 255, 255, 0.12);
        }

        .mega-search-title {
            font-family: 'Alverata', Georgia, serif;
            font-style: italic;
            font-size: 26px;
            color: var(--sonora-gold);
            margin: 0 0 2px 0;
            text-align: center;
        }

        .mega-search-subtitle {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: var(--text-muted);
            text-align: center;
            margin: 0 0 12px 0;
        }

        .mega-search-box {
            display: flex;
            gap: 8px;
            max-width: 500px;
            margin: 0 auto 16px;
        }

        .mega-search-input {
            flex: 1;
            background: transparent;
            border: none;
            border-bottom: 1.5px solid rgba(196, 163, 90, 0.3);
            border-radius: 0;
            padding: 12px 4px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 15px;
            color: #f5f0e8;
            outline: none;
            transition: all 0.2s ease;
        }

        .mega-search-input:focus {
            border-bottom-color: var(--sonora-gold);
            box-shadow: none;
        }

        .mega-search-input::placeholder {
            color: rgba(245, 240, 232, 0.3);
        }

        /* Buscador dentro de cada sello */
        #sello-search-input::placeholder {
            color: #9a8b7a;
            font-style: italic;
        }

        #sello-search-input:focus::placeholder {
            color: #bbb;
        }

        .mega-search-tip {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: #888;
            text-align: center;
            margin: 8px 0 0 0;
        }

        .mega-search-btn {
            background: transparent;
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--sonora-gold);
        }

        .mega-search-btn:hover {
            color: #f5f0e8;
            transform: scale(1.1);
        }

        .mega-search-btn:active {
            transform: scale(0.95);
        }

        .mega-search-btn:disabled,
        .mega-search-btn.loading {
            opacity: 0.7;
            cursor: wait;
            pointer-events: none;
        }

        .mega-search-btn.loading svg {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .mega-search-filters {
            display: flex;
            gap: 6px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 10px;
        }

        .mega-filter-chip {
            background: transparent;
            border: none;
            border-radius: 4px;
            padding: 6px 14px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            color: rgba(245, 240, 232, 0.45);
            cursor: pointer;
            transition: all 0.2s ease;
            letter-spacing: 0.3px;
        }

        .mega-filter-chip:hover {
            color: rgba(245, 240, 232, 0.8);
        }

        .mega-filter-chip:active {
            transform: scale(0.95);
            opacity: 0.8;
        }

        .mega-filter-chip.active {
            background: none;
            border: none;
            color: var(--sonora-gold);
            font-weight: 600;
        }

        /* Formations Banner */
        .formations-banner {
            display: none;
            background: linear-gradient(135deg, rgba(196, 167, 125, 0.1) 0%, rgba(196, 167, 125, 0.05) 100%);
            border: 1px solid rgba(196, 167, 125, 0.3);
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 16px;
        }

        .formations-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
        }

        .formations-icon {
            font-size: 18px;
        }

        .formations-title {
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .formations-title strong {
            color: var(--sonora-gold);
        }

        .formations-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        .formation-chip {
            background: rgba(196, 167, 125, 0.15);
            border: 1px solid rgba(196, 167, 125, 0.4);
            border-radius: 4px;
            padding: 6px 14px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            color: var(--sonora-gold);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .formation-chip:hover {
            background: var(--sonora-gold);
            color: var(--sonora-warm);
            transform: translateY(-1px);
        }

        .formations-more {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: var(--text-muted);
            font-style: italic;
        }

        .mega-search-status {
            text-align: center;
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        /* Decade Quick Filter Chips */
        .decade-filter-container {
            display: none;
            justify-content: center;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 12px;
            padding: 8px 0;
        }

        .decade-filter-container.visible {
            display: flex;
        }

        .decade-chip {
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 4px 12px;
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .decade-chip:hover {
            border-color: var(--sonora-gold);
            color: var(--sonora-gold);
        }

        .decade-chip.active {
            background: var(--sonora-gold);
            border-color: var(--sonora-gold);
            color: var(--sonora-warm);
        }

        .decade-chip-clear {
            background: transparent;
            border: 1px dashed var(--border);
            color: var(--text-muted);
            font-size: 10px;
        }

        .decade-chip-clear:hover {
            border-color: var(--text-muted);
            color: var(--text);
        }

        .mega-search-results {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 16px;
        }

        /* Cuando contiene journey o formularios antialgoritmo, no usar grid del padre */
        .mega-search-results:has(.journey-timeline),
        .mega-search-results:has(.journey-prompt),
        .mega-search-results:has(.antialgoritmo-prompt) {
            display: block;
            width: 100%;
            max-width: none;
        }

        /* Formularios centrados de antialgoritmo */
        .journey-prompt,
        .antialgoritmo-prompt {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 20px;
            width: 100%;
        }

        /* Asegurar que el container de búsqueda use ancho completo para journey */
        .mega-search-container:has(.journey-timeline),
        .mega-search-container:has(.journey-prompt) {
            max-width: none;
            width: 100%;
        }

        /* Viaje por Sello - Layout con décadas */
        .journey-timeline {
            display: flex;
            flex-direction: column;
            gap: 40px;
            width: 100%;
        }

        .journey-decade {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            width: 100%;
        }

        .journey-decade-header {
            display: flex;
            align-items: baseline;
            gap: 12px;
            border-bottom: 2px solid var(--sonora-gold);
            padding-bottom: 8px;
        }

        .journey-decade-year {
            font-family: 'Alverata', Georgia, serif;
            font-size: 42px;
            font-weight: 300;
            color: var(--sonora-gold);
            line-height: 1;
        }

        .journey-decade-count {
            font-size: 12px;
            color: var(--text-muted);
        }

        .journey-decade-albums {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 12px;
            width: 100%;
        }

        @media (min-width: 768px) {
            .journey-decade {
                grid-template-columns: 140px 1fr;
                gap: 30px;
                align-items: start;
            }

            .journey-decade-header {
                flex-direction: column;
                align-items: flex-end;
                border-bottom: none;
                border-right: 3px solid var(--sonora-gold);
                padding-bottom: 0;
                padding-right: 20px;
                text-align: right;
                position: sticky;
                top: 100px;
            }

            .journey-decade-year {
                font-size: 64px;
            }

            .journey-decade-albums {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 16px;
            }
        }

        @media (min-width: 1200px) {
            .journey-decade {
                grid-template-columns: 180px 1fr;
            }

            .journey-decade-year {
                font-size: 80px;
            }

            .journey-decade-albums {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                gap: 20px;
            }
        }

        .journey-album-card {
            cursor: pointer;
            transition: transform 0.2s;
        }

        .journey-album-card:hover {
            transform: scale(1.05);
        }

        .journey-album-img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .journey-album-info {
            margin-top: 6px;
        }

        .journey-album-name {
            font-size: 12px;
            font-weight: 500;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .journey-album-artist {
            font-size: 11px;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        @media (max-width: 600px) {
            .journey-timeline {
                gap: 32px;
            }

            .journey-decade-year {
                font-size: 36px;
            }

            .journey-decade-albums {
                grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
                gap: 10px;
            }

            .journey-album-name {
                font-size: 11px;
            }

            .journey-album-artist {
                font-size: 10px;
            }
        }

        .mega-result-card {
            background: var(--bg-secondary);
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .mega-result-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        }

        .mega-result-card:active {
            transform: scale(0.97);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .mega-result-img-wrapper {
            position: relative;
        }

        .mega-result-img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            background: var(--bg-hover);
        }

        .mega-result-card .album-play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10;
            pointer-events: none;
            backdrop-filter: blur(2px);
        }

        .mega-result-card .album-play-overlay::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 6px 0 6px 10px;
            border-color: transparent transparent transparent #fff;
            margin-left: 2px;
        }

        .mega-result-card:hover .album-play-overlay {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
            background: rgba(30, 215, 96, 0.85);
            border-color: rgba(30, 215, 96, 1);
        }

        @media (max-width: 768px) {
            .mega-result-card .album-play-overlay {
                opacity: 0.6;
                transform: translate(-50%, -50%) scale(0.85);
                width: 32px;
                height: 32px;
            }
            .mega-result-card .album-play-overlay::after {
                border-width: 5px 0 5px 8px;
            }
        }

        .mega-result-info {
            padding: 10px;
        }

        .mega-result-name {
            font-family: 'Ciutadella', sans-serif;
            font-weight: 600;
            font-size: 13px;
            color: var(--text);
            margin: 0 0 4px 0;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .mega-result-artist {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: var(--text-secondary);
            margin: 0 0 4px 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

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

        .mega-result-year {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            color: var(--text-muted);
        }

        .mega-result-label {
            font-family: 'Alverata', Georgia, serif;
            font-style: italic;
            font-size: 9px;
            color: var(--sonora-gold);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 70px;
        }

        .mega-result-actions {
            display: flex;
            gap: 8px;
            padding: 0 10px 10px;
            justify-content: flex-end;
            align-items: center;
            margin-top: auto;
        }

        .mega-result-actions .share-btn-album,
        .mega-result-actions .vault-btn-add {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            background: var(--bg-secondary);
            color: var(--text-muted);
            font-size: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            padding: 0;
        }

        .mega-result-actions .info-pill-album {
            font-size: 9px;
            padding: 2px 7px;
        }

        .mega-result-actions .share-btn-album svg,
        .mega-result-actions .vault-btn-add svg {
            width: 14px;
            height: 14px;
        }

        .mega-result-actions .vault-btn-add svg {
            fill: none;
            stroke: var(--text-muted);
            stroke-width: 1.5;
        }

        .mega-result-actions .share-btn-album:hover,
        .mega-result-actions .vault-btn-add:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .mega-result-actions .vault-btn-add:hover svg {
            stroke: var(--primary);
        }

        .mega-result-actions .vault-btn-add.in-vault {
            background: var(--primary);
            border-color: var(--primary);
        }

        .mega-result-actions .vault-btn-add.in-vault svg {
            fill: white;
            stroke: white;
        }

        .mega-load-more {
            display: block;
            margin: 24px auto 0;
            padding: 10px 24px;
        }

        @media (max-width: 480px) {
            .mega-search-container {
                margin: 0 -8px;
                padding: 16px 10px;
                border-radius: 10px;
            }

            .mega-search-results {
                grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
                gap: 10px;
            }

            .mega-search-title {
                font-size: 22px;
            }

            .mega-result-info {
                padding: 8px;
            }
        }

        /* ===== ANTIALGORITMO ACTIONS ===== */
        .antialgoritmo-section {
            margin: 32px 0 0;
            padding: 0;
            background: none;
            border: none;
            border-radius: 0;
            position: relative;
        }

        .antialgoritmo-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-bottom: 6px;
        }

        .antialgoritmo-title {
            font-family: 'Alverata', Georgia, serif;
            font-style: italic;
            font-size: 18px;
            color: #f5f0e8;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }

        .antialgoritmo-subtitle {
            text-align: center;
            font-family: 'Ciutadella', sans-serif;
            font-size: 13px;
            color: rgba(245, 240, 232, 0.4);
            margin: 0 0 24px 0;
            letter-spacing: 0.3px;
        }

        .antialgoritmo-line {
            flex: 1;
            max-width: 60px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(245, 240, 232, 0.2), transparent);
        }

        /* --- Hero Card (Sorprendeme) --- */
        .antialgoritmo-hero {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(135deg, rgba(196, 163, 90, 0.18) 0%, rgba(196, 163, 90, 0.06) 100%);
            border: 1px solid rgba(196, 163, 90, 0.3);
            border-radius: 14px;
            padding: 20px 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0 auto 14px auto;
            max-width: 720px;
        }

        .antialgoritmo-hero-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .antialgoritmo-hero .antialgoritmo-icon {
            color: #c4a35a;
            flex-shrink: 0;
        }

        .antialgoritmo-hero .antialgoritmo-icon svg {
            width: 32px;
            height: 32px;
        }

        .antialgoritmo-hero .antialgoritmo-name {
            font-size: 15px;
            letter-spacing: 1px;
        }

        .antialgoritmo-hero .antialgoritmo-desc {
            font-size: 13px;
        }

        .antialgoritmo-hero-arrow {
            color: rgba(196, 163, 90, 0.5);
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .antialgoritmo-hero:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 32px rgba(196, 163, 90, 0.2);
            border-color: rgba(196, 163, 90, 0.5);
        }

        .antialgoritmo-hero:hover .antialgoritmo-hero-arrow {
            transform: translateX(4px);
            color: #c4a35a;
        }

        .antialgoritmo-hero:active {
            transform: translateY(0);
        }

        /* --- Grid (5 cards) --- */
        .antialgoritmo-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
            max-width: 720px;
            margin: 0 auto;
        }

        .antialgoritmo-card {
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 18px 14px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
            position: relative;
            overflow: hidden;
        }

        /* Cada card con su color propio */
        .antialgoritmo-card:nth-child(1) {
            background: linear-gradient(145deg, rgba(78, 154, 130, 0.15) 0%, rgba(78, 154, 130, 0.04) 100%);
            border-color: rgba(78, 154, 130, 0.25);
        }
        .antialgoritmo-card:nth-child(1) .antialgoritmo-icon { color: #4e9a82; }

        .antialgoritmo-card:nth-child(2) {
            background: linear-gradient(145deg, rgba(100, 140, 200, 0.15) 0%, rgba(100, 140, 200, 0.04) 100%);
            border-color: rgba(100, 140, 200, 0.25);
        }
        .antialgoritmo-card:nth-child(2) .antialgoritmo-icon { color: #648cc8; }

        .antialgoritmo-card:nth-child(3) {
            background: linear-gradient(145deg, rgba(180, 90, 90, 0.15) 0%, rgba(180, 90, 90, 0.04) 100%);
            border-color: rgba(180, 90, 90, 0.25);
        }
        .antialgoritmo-card:nth-child(3) .antialgoritmo-icon { color: #b45a5a; }

        .antialgoritmo-card:nth-child(4) {
            background: linear-gradient(145deg, rgba(160, 120, 180, 0.15) 0%, rgba(160, 120, 180, 0.04) 100%);
            border-color: rgba(160, 120, 180, 0.25);
        }
        .antialgoritmo-card:nth-child(4) .antialgoritmo-icon { color: #a078b4; }

        .antialgoritmo-card:nth-child(5) {
            background: linear-gradient(145deg, rgba(200, 160, 100, 0.15) 0%, rgba(200, 160, 100, 0.04) 100%);
            border-color: rgba(200, 160, 100, 0.25);
        }
        .antialgoritmo-card:nth-child(5) .antialgoritmo-icon { color: #c8a064; }

        .antialgoritmo-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .antialgoritmo-card:active {
            transform: translateY(0);
        }

        .antialgoritmo-icon {
            margin-bottom: 10px;
            display: block;
            line-height: 1;
        }

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

        .antialgoritmo-name {
            font-family: 'Ciutadella', sans-serif;
            font-size: 12px;
            font-weight: 600;
            color: #f5f0e8;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            margin-bottom: 4px;
        }

        .antialgoritmo-desc {
            font-family: 'Ciutadella', sans-serif;
            font-size: 11px;
            color: rgba(245, 240, 232, 0.45);
            line-height: 1.4;
        }

        /* --- Antialgoritmo Prompt Screens --- */
        .antialgoritmo-prompt-icon {
            font-size: 40px;
            margin-bottom: 12px;
            color: var(--sonora-gold);
            font-weight: 300;
        }

        .antialgoritmo-prompt-title {
            font-family: 'Alverata', Georgia, serif;
            font-style: italic;
            color: var(--sonora-gold);
            margin-bottom: 6px;
            font-size: 20px;
        }

        .antialgoritmo-prompt-desc {
            color: var(--text-muted);
            font-size: 13px;
            margin-bottom: 24px;
            line-height: 1.5;
            text-align: center;
            max-width: 400px;
        }

        .antialgoritmo-input {
            width: 100%;
            max-width: 350px;
            padding: 14px 16px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--bg-secondary);
            color: var(--text);
            font-size: 15px;
            font-family: 'Ciutadella', sans-serif;
            box-sizing: border-box;
        }

        .antialgoritmo-input::placeholder {
            color: var(--text-muted);
            opacity: 0.7;
        }

        .antialgoritmo-input.year-input {
            width: 110px;
            max-width: 110px;
            text-align: center;
            font-size: 18px;
            font-family: 'Alverata', Georgia, serif;
        }

        .antialgoritmo-submit-btn {
            padding: 14px 24px;
            background: var(--sonora-gold);
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-family: 'Ciutadella', sans-serif;
            font-weight: 600;
            font-size: 14px;
            transition: background 0.2s, transform 0.1s;
        }

        .antialgoritmo-submit-btn:hover {
            background: #d4b36a;
        }

        .antialgoritmo-submit-btn:active {
            transform: scale(0.97);
        }

        .antialgoritmo-submit-btn.full-width {
            width: 100%;
            max-width: 350px;
        }

        .antialgoritmo-presets-label {
            color: var(--text-muted);
            font-size: 12px;
            margin-bottom: 10px;
        }

        .antialgoritmo-presets {
            display: flex;
            gap: 8px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .antialgoritmo-input-row {
            display: flex;
            gap: 10px;
            justify-content: center;
            align-items: center;
            margin-bottom: 16px;
            width: 100%;
            max-width: 350px;
        }

        /* --- Result Action Buttons --- */
        .antialgoritmo-result-actions {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        .antialgoritmo-btn-back {
            background: none;
            border: 1px solid var(--border);
            color: var(--text-muted);
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-family: 'Ciutadella', sans-serif;
            transition: all 0.2s;
        }

        .antialgoritmo-btn-back:hover {
            border-color: var(--text-muted);
            background: rgba(0,0,0,0.05);
        }

        .antialgoritmo-btn-repeat {
            background: none;
            border: 1px solid var(--sonora-gold);
            color: var(--sonora-gold);
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-family: 'Ciutadella', sans-serif;
            transition: all 0.2s;
        }

        .antialgoritmo-btn-repeat:hover {
            background: rgba(196, 163, 90, 0.1);
        }

        .antialgoritmo-btn-action {
            background: var(--sonora-gold);
            border: none;
            color: #fff;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            font-family: 'Ciutadella', sans-serif;
            transition: all 0.2s;
        }

        .antialgoritmo-btn-action:hover {
            background: #d4b36a;
        }

        /* --- Result Summary --- */
        .antialgoritmo-result-summary {
            font-size: 16px;
            color: var(--text);
            line-height: 1.5;
        }

        .antialgoritmo-result-summary .highlight {
            color: var(--sonora-gold);
            font-weight: 600;
        }

        .antialgoritmo-result-summary .big {
            font-size: 20px;
        }

        .antialgoritmo-label-pills {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 12px;
        }

        .antialgoritmo-label-pill {
            background: rgba(196,163,90,0.1);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            color: var(--text);
        }

        /* Catalog Stats Banner */
        .catalog-stats-banner {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-bottom: 16px;
            padding: 0;
            background: none;
            border: none;
            border-radius: 0;
        }

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

        .catalog-stat-value {
            font-family: 'Alverata', Georgia, serif;
            font-size: 20px;
            color: var(--sonora-gold);
            font-weight: 500;
        }

        .catalog-stat-label {
            font-family: 'Ciutadella', sans-serif;
            font-size: 10px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Search mode indicator */
        .search-mode-indicator {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 14px 20px;
            background: var(--sonora-gold);
            border: none;
            border-radius: 8px;
            margin-bottom: 16px;
        }

        .search-mode-indicator.active {
            display: flex;
        }

        .search-mode-icon {
            font-size: 22px;
            color: var(--sonora-warm);
        }

        .search-mode-text {
            font-family: 'Ciutadella', sans-serif;
            font-size: 15px;
            font-weight: 500;
            color: var(--sonora-warm);
        }

        .search-mode-close {
            background: rgba(0,0,0,0.2);
            border: none;
            color: var(--sonora-warm);
            cursor: pointer;
            padding: 6px 10px;
            font-size: 14px;
            margin-left: auto;
            transition: background 0.2s;
            border-radius: 4px;
        }

        .search-mode-close:hover {
            background: rgba(0,0,0,0.3);
        }

        @media (max-width: 768px) {
            .antialgoritmo-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .antialgoritmo-card .antialgoritmo-desc {
                display: none;
            }
        }

        @media (max-width: 600px) {
            .mega-search-container {
                margin: 0 -12px;
                padding: 20px 14px;
                border-radius: 12px;
            }

            .antialgoritmo-section {
                margin: 24px 0 0;
                padding: 0;
                border-radius: 0;
            }

            .antialgoritmo-hero {
                padding: 16px 18px;
            }

            .antialgoritmo-hero .antialgoritmo-icon svg {
                width: 26px;
                height: 26px;
            }

            .antialgoritmo-hero .antialgoritmo-name {
                font-size: 13px;
            }

            .antialgoritmo-hero .antialgoritmo-desc {
                font-size: 12px;
            }

            .antialgoritmo-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            /* 5ta card centrada */
            .antialgoritmo-grid .antialgoritmo-card:nth-child(5) {
                grid-column: 1 / -1;
                max-width: 50%;
                justify-self: center;
            }

            .antialgoritmo-card {
                padding: 16px 12px 14px;
            }

            .antialgoritmo-card .antialgoritmo-desc {
                display: block;
                font-size: 11px;
            }

            .antialgoritmo-name {
                font-size: 12px;
            }

            .antialgoritmo-title {
                font-size: 15px;
            }

            .antialgoritmo-subtitle {
                font-size: 12px;
                margin-bottom: 20px;
            }

            .antialgoritmo-prompt-title {
                font-size: 18px;
            }

            .antialgoritmo-prompt-desc {
                font-size: 12px;
            }

            .antialgoritmo-input {
                font-size: 14px;
            }

            .catalog-stats-banner {
                gap: 16px;
                padding: 10px 12px;
            }

            .catalog-stat-value {
                font-size: 18px;
            }
        }

/* ===== WELCOME BANNER ===== */
/* ═══ Welcome Banner (misma familia visual que About modal) ═══ */
.welcome-banner {
    position: relative;
    margin: 0 auto 24px auto;
    max-width: 640px;
    background: linear-gradient(180deg, #ede8df 0%, #f5f1ea 60%, #faf8f5 100%);
    border: 1px solid rgba(42,24,16,0.08);
    border-radius: 14px;
    padding: 28px 28px 22px;
    box-shadow: 0 2px 12px rgba(42,24,16,0.06);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.welcome-banner.welcome-visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome-banner.welcome-hiding {
    opacity: 0;
    transform: translateY(-10px);
}

.welcome-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(42,24,16,0.05);
    border: 1px solid rgba(42,24,16,0.08);
    color: #5a4a3a;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.welcome-close:hover {
    background: rgba(42,24,16,0.1);
    transform: scale(1.1);
}

.welcome-title {
    font-family: 'Alverata', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    color: #2a1810;
    margin: 0 0 6px 0;
}

.welcome-subtitle {
    font-family: 'Ciutadella', sans-serif;
    font-size: 13px;
    color: #5a4a3a;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Ciutadella', sans-serif;
    font-size: 13px;
    color: #5a4a3a;
    line-height: 1.45;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(42,24,16,0.05);
    border-left: 3px solid #c4a35a;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(42,24,16,0.03);
}

.welcome-feature:hover {
    box-shadow: 0 3px 12px rgba(42,24,16,0.07);
    transform: translateY(-1px);
}

.welcome-feature strong {
    color: #2a1810;
    font-weight: 600;
}

/* Colores por feature (reusan las clases del About) */
.welcome-feature.feat-bateas { border-left-color: #c4a35a; }
.welcome-feature.feat-bateas .welcome-icon { background: rgba(196,163,90,0.12); color: #9a7d50; }

.welcome-feature.feat-capsule { border-left-color: #6b8e7b; }
.welcome-feature.feat-capsule .welcome-icon { background: rgba(107,142,123,0.12); color: #4a7a62; }

.welcome-feature.feat-collection { border-left-color: #b85c5c; }
.welcome-feature.feat-collection .welcome-icon { background: rgba(184,92,92,0.1); color: #a04848; }

.welcome-feature.feat-search { border-left-color: #7a8fa8; }
.welcome-feature.feat-search .welcome-icon { background: rgba(122,143,168,0.12); color: #5a7a9a; }

.welcome-icon {
    flex-shrink: 0;
    font-size: 15px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.welcome-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(42,24,16,0.06);
    text-align: center;
}

.welcome-link {
    font-family: 'Ciutadella', sans-serif;
    font-size: 13px;
    color: #9a7d50;
    text-decoration: none;
    letter-spacing: 0.3px;
    font-weight: 500;
    transition: color 0.2s;
}

.welcome-link:hover {
    color: #2a1810;
}

@media (max-width: 600px) {
    .welcome-banner {
        margin: 0 8px 16px 8px;
        padding: 22px 18px 18px;
    }
    .welcome-title {
        font-size: 19px;
    }
    .welcome-feature {
        font-size: 12px;
        padding: 9px 12px;
    }
    .welcome-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

/* ===== MOBILE TYPOGRAPHY — FINAL (post-cascade, siempre gana) ===== */
/* Este bloque DEBE estar al final del archivo para ganar por source order */

@media (max-width: 768px) {

    /* --- Album cards (bateas, vidriera, vault) --- */
    .album-card-meta .album-name {
        font-size: 13px;
        font-weight: 600;
    }

    .album-card-meta .album-artist {
        font-size: 12px;
        color: var(--text-secondary, rgba(245, 240, 232, 0.6));
    }

    .album-card-footer .album-year {
        font-size: 11px;
        color: var(--text-secondary, rgba(245, 240, 232, 0.6));
    }

    /* Staff picks (fondo oscuro) */
    .staff-picks-grid .album-card-meta .album-name {
        font-size: 13px;
    }

    .staff-picks-grid .album-card-meta .album-artist {
        font-size: 12px;
    }

    /* Vidriera albums */
    .vidriera-albums .album-card-meta .album-name {
        font-size: 13px;
    }

    .vidriera-albums .album-card-meta .album-artist {
        font-size: 12px;
    }

    /* Vidriera anclas y deepcuts */
    .vidriera-anclas .album-card .album-name,
    .vidriera-deepcuts .album-card .album-name {
        font-size: 12px;
    }

    .vidriera-anclas .album-card .album-artist,
    .vidriera-deepcuts .album-card .album-artist {
        font-size: 11px;
    }

    .vidriera-deepcuts .album-card .album-year {
        font-size: 10px;
    }

    /* --- Mega search results --- */
    .mega-result-name {
        font-size: 14px;
    }

    .mega-result-artist {
        font-size: 12px;
    }

    .mega-result-year {
        font-size: 11px;
    }

    .mega-result-label {
        font-size: 11px;
        max-width: 100px;
    }

    /* --- Cápsula del Tiempo --- */
    .capsula-mini-title {
        font-size: 14px;
    }

    .capsula-mini-artist {
        font-size: 12px;
        color: rgba(26, 26, 26, 0.75);
    }

    .capsula-mini-label {
        font-size: 10px;
        color: rgba(26, 26, 26, 0.6);
    }

    .capsula-hero-title {
        font-size: 20px;
    }

    .capsula-hero-artist {
        font-size: 12px;
    }

    .capsula-expanded-card .card-title {
        font-size: 12px;
    }

    .capsula-expanded-card .card-artist {
        font-size: 11px;
    }

    .capsula-footer {
        font-size: 11px;
    }

    /* --- Bateas / categorías --- */
    .fondo-grid .batea-count,
    .batea-code,
    .batea-section-subtitle {
        font-size: 12px;
    }

    .fondo-grid .batea-sellos-preview,
    .batea-sellos-preview {
        font-size: 12px;
    }

    .archivo-grid .batea-sellos-preview,
    .archivo-grid .batea-count {
        font-size: 11px;
    }

    .archivo-grid .batea-code {
        font-size: 10px;
    }

    /* --- Sellos / vinilos --- */
    .sello-vinilo {
        font-size: 13px;
    }

    .staff-badge {
        font-size: 11px;
    }

    /* --- Navegación --- */
    .bottom-nav-btn span {
        font-size: 11px;
    }

    .breadcrumbs-bar {
        font-size: 12px;
    }

    /* --- Misc --- */
    .sonora-divider {
        font-size: 10px;
    }

    .album-nota-overlay {
        font-size: 10px;
    }

    .time-capsule-subtitle {
        font-size: 11px;
    }

    .ano-sugerido-desc {
        font-size: 10px;
    }

    /* Headings grandes reducidos para mobile */
    .batea-section-title {
        font-size: 17px;
    }

    .vault-title {
        font-size: 22px;
    }

    .jazz-modal-header h3 {
        font-size: 20px;
    }

    .antialgoritmo-result-title {
        font-size: 17px;
    }

    .search-mode-icon {
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .bottom-nav-btn span {
        font-size: 10px;
    }
}
