                .post-layout-grid {
                    display: grid;
                    grid-template-columns: 1fr 320px;
                    gap: 30px;
                    max-width: 1200px;
                    /* Align with global header and other pages */
                    margin: 40px auto;
                    padding: 0 20px;
                    align-items: start;
                    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
                }

                .hero-cover-column {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    width: 200px;
                    /* Match cover img width */
                }

                .hero-interactions {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                }

                .interaction-btn,
                .interaction-stat {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    padding: 10px;
                    border-radius: 8px;
                    font-size: 0.85rem;
                    font-weight: 600;
                    cursor: pointer;
                    transition: all 0.2s;
                    border: 1px solid transparent;
                }

                .interaction-stat {
                    cursor: default;
                }

                .btn-bookmark {
                    background: rgba(45, 212, 191, 0.1);
                    color: #2dd4bf;
                    border-color: rgba(45, 212, 191, 0.3);
                    width: 100%;
                }

                .btn-bookmark:hover {
                    background: rgba(45, 212, 191, 0.2);
                }

                .hero-interactions-row {
                    display: flex;
                    gap: 10px;
                }

                .views-stat {
                    background: rgba(167, 139, 250, 0.1);
                    color: #a78bfa;
                    border-color: rgba(167, 139, 250, 0.3);
                    flex: 1;
                }

                .btn-like {
                    background: rgba(244, 114, 182, 0.1);
                    color: #f472b6;
                    border-color: rgba(244, 114, 182, 0.3);
                    flex: 1;
                }

                .btn-like:hover {
                    background: rgba(244, 114, 182, 0.2);
                }

                .count-badge {
                    background: rgba(255, 255, 255, 0.1);
                    padding: 2px 6px;
                    border-radius: 4px;
                    font-size: 0.75rem;
                    margin-left: auto;
                }

                .post-main-column {
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                    min-width: 0;
                    overflow: hidden;
                }

                .post-sidebar {
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                }

                /* Hero Banner Section */
                .hero-banner-container {
                    position: relative;
                    /* Removed background, border, and box-shadow to integrate seamlessly with the page */
                }

                .hero-content-flex {
                    position: relative;
                    z-index: 2;
                    display: flex;
                    gap: 30px;
                }

                .hero-cover-img {
                    width: 250px;
                    height: 320px;
                    object-fit: cover;
                    border-radius: 12px;
                    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
                    flex-shrink: 0;
                }

                .hero-info {
                    display: flex;
                    flex-direction: column;
                    color: #e5e7eb;
                    flex: 1;
                }

                .hero-title {
                    font-size: 2.2rem;
                    font-weight: 800;
                    color: #fff;
                    margin: 0 0 15px 0;
                    line-height: 1.15;
                    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
                    font-family: 'Outfit', sans-serif;
                    letter-spacing: -0.02em;
                }

                .hero-social-share {
                    display: flex;
                    margin-bottom: 20px;
                }

                .btn-share {
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                    padding: 8px 16px;
                    border-radius: 8px;
                    color: #fff;
                    text-decoration: none;
                    background: rgba(99, 102, 241, 0.15);
                    /* Indigo tint */
                    border: 1px solid rgba(99, 102, 241, 0.3);
                    font-size: 0.85rem;
                    font-weight: 600;
                    font-family: 'Inter', sans-serif;
                    transition: all 0.2s;
                    cursor: pointer;
                }

                .btn-share:hover {
                    background: rgba(99, 102, 241, 0.25);
                    border-color: rgba(99, 102, 241, 0.5);
                    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
                }

                .hero-data-grid {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 12px;
                    font-size: 0.85rem;
                    color: #94a3b8;
                    margin-top: 15px;
                    margin-bottom: 15px;
                    font-family: 'Inter', sans-serif;
                }

                .hero-data-grid strong {
                    color: #e2e8f0;
                    font-weight: 600;
                }

                .hero-data-grid span {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    background: rgba(255, 255, 255, 0.05);
                    padding: 8px 14px;
                    border-radius: 8px;
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    backdrop-filter: blur(4px);
                }

                .hero-data-grid i {
                    color: #6366f1;
                    /* Indigo accent instead of red */
                    font-size: 0.7rem;
                }

                .hero-genres {
                    display: flex;
                    gap: 8px;
                    flex-wrap: wrap;
                }

                .genre-tag {
                    color: #e2e8f0;
                    padding: 6px 14px;
                    border-radius: 20px;
                    font-size: 0.8rem;
                    font-weight: 600;
                    font-family: 'Inter', sans-serif;
                    background: rgba(99, 102, 241, 0.15);
                    border: 1px solid rgba(99, 102, 241, 0.3);
                    backdrop-filter: blur(4px);
                    transition: all 0.2s;
                    letter-spacing: 0.01em;
                }

                .genre-tag:hover {
                    color: #e2e8f0;
                    background: rgba(99, 102, 241, 0.2);
                    border-color: rgba(99, 102, 241, 0.4);
                }

                /* Synopsis Block */
                .synopsis-block {
                    background: rgba(15, 15, 35, 0.7);
                    backdrop-filter: blur(8px);
                    border: 1px solid rgba(255, 255, 255, 0.06);
                    border-radius: 12px;
                    overflow: hidden;
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
                }

                .synopsis-header {
                    background: rgba(255, 255, 255, 0.03);
                    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
                    border-left: 4px solid #8b5cf6;
                    /* Purple/Indigo accent */
                    color: #e2e8f0;
                    padding: 15px 20px;
                    font-weight: 700;
                    text-align: left;
                    font-size: 1.1rem;
                    font-family: 'Outfit', sans-serif;
                    letter-spacing: -0.01em;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }

                .synopsis-body {
                    padding: 20px;
                    color: #94a3b8;
                    font-size: 0.95rem;
                    line-height: 1.7;
                    font-family: 'Inter', sans-serif;
                }

                @media (max-width: 900px) {
                    .post-layout-grid {
                        grid-template-columns: 1fr;
                    }

                    .hero-content-flex {
                        flex-direction: column;
                        align-items: center;
                        text-align: center;
                        margin-top: 50px;
                    }

                    .hero-data-grid {
                        grid-template-columns: 1fr;
                        justify-items: center;
                    }

                    .hero-genres {
                        justify-content: center;
                    }
                }

                /* === SIDEBAR STYLES === */
                .sidebar-section {
                    background: rgba(15, 15, 35, 0.7);
                    backdrop-filter: blur(8px);
                    border-radius: 12px;
                    padding: 18px;
                    margin-bottom: 18px;
                    border: 1px solid rgba(255, 255, 255, 0.06);
                    transition: border-color 0.3s ease;
                }

                .sidebar-section:hover {
                    border-color: rgba(139, 92, 246, 0.15);
                }

                .sidebar-title-wrapper {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 14px;
                    padding-bottom: 10px;
                    border-bottom: 2px solid transparent;
                    border-image: linear-gradient(90deg, rgba(139, 92, 246, 0.5), transparent) 1;
                }

                .sidebar-title,
                .sidebar-title-clean {
                    font-size: 0.95rem;
                    font-weight: 700;
                    color: #e2e8f0;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-family: 'Outfit', sans-serif;
                }

                .sidebar-title {
                    margin: 0 0 14px 0;
                    padding-bottom: 10px;
                    border-bottom: 2px solid transparent;
                    border-image: linear-gradient(90deg, rgba(139, 92, 246, 0.5), transparent) 1;
                }

                .sidebar-title i,
                .sidebar-title-clean i {
                    color: #a78bfa;
                }

                .popular-time-filters {
                    display: flex;
                    gap: 4px;
                    background: rgba(0, 0, 0, 0.3);
                    padding: 3px;
                    border-radius: 12px;
                }

                .popular-time-filters .filter-btn {
                    padding: 2px 8px;
                    font-size: 0.7rem;
                    color: #94a3b8;
                    border: none;
                    background: none;
                    cursor: pointer;
                }

                .popular-time-filters .filter-btn.active {
                    background: rgba(139, 92, 246, 0.3);
                    color: #fff;
                    border-radius: 8px;
                }

                /* === TELEGRAM WIDGET === */
                .telegram-section {
                    padding: 0;
                    overflow: hidden;
                    border: none;
                    background: none;
                }

                .telegram-widget {
                    display: block;
                    text-decoration: none;
                }

                .telegram-banner {
                    background: linear-gradient(135deg, #0088cc 0%, #0099dd 50%, #00aaee 100%);
                    border-radius: 12px;
                    padding: 18px;
                    display: flex;
                    align-items: center;
                    gap: 14px;
                    color: #fff;
                    transition: transform 0.25s ease, box-shadow 0.25s ease;
                    position: relative;
                    overflow: hidden;
                }

                .telegram-banner::before {
                    content: '';
                    position: absolute;
                    top: -50%;
                    right: -50%;
                    width: 100%;
                    height: 200%;
                    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
                    pointer-events: none;
                }

                .telegram-banner:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.35);
                }

                .telegram-icon-wrap {
                    width: 48px;
                    height: 48px;
                    background: rgba(255, 255, 255, 0.2);
                    border-radius: 12px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.5rem;
                    flex-shrink: 0;
                }

                .telegram-text {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                }

                .telegram-label {
                    font-size: 0.7rem;
                    font-weight: 500;
                    opacity: 0.85;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                }

                .telegram-name {
                    font-size: 1.1rem;
                    font-weight: 800;
                }

                .telegram-arrow {
                    font-size: 0.8rem;
                    opacity: 0.6;
                    transition: transform 0.2s;
                }

                .telegram-banner:hover .telegram-arrow {
                    transform: translateX(3px);
                    opacity: 1;
                }

                /* === POPULAR RANKING === */
                .popular-ranking-list {
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
                    padding-top: 10px;
                }

                .popular-rank-item {
                    display: flex;
                    align-items: center;
                    gap: 15px;
                    text-decoration: none;
                    color: #e2e8f0;
                    transition: all 0.2s ease;
                }

                .popular-rank-item:hover {
                    transform: translateX(4px);
                }

                .popular-rank-item.featured {
                    display: block;
                    margin-bottom: 12px;
                }

                .popular-rank-item.featured:hover {
                    transform: translateY(-4px);
                }

                .rank-featured-cover {
                    position: relative;
                    width: 100%;
                    border-radius: 12px;
                    overflow: hidden;
                    aspect-ratio: 16/10;
                    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
                }

                .rank-featured-cover img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.4s ease;
                    opacity: 0.8;
                }

                .popular-rank-item.featured:hover .rank-featured-cover img {
                    transform: scale(1.05);
                    opacity: 1;
                }

                .rank-overlay {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    padding: 20px 16px 16px;
                    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
                    display: flex;
                    align-items: flex-end;
                    gap: 12px;
                }

                .rank-number {
                    font-size: 1.8rem;
                    font-weight: 800;
                    color: #4f46e5;
                    min-width: 30px;
                    text-align: center;
                    line-height: 1;
                    font-family: 'Outfit', sans-serif;
                }

                .rank-number.gold {
                    font-size: 3rem;
                    color: #fbbf24;
                    text-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
                    line-height: 0.8;
                    margin-bottom: -4px;
                }

                .rank-number.top2 {
                    color: #c4b5fd;
                }

                .rank-number.top3 {
                    color: #d8b4fe;
                }

                .rank-number.top4 {
                    color: #818cf8;
                }

                .rank-info {
                    flex: 1;
                }

                .rank-info h4,
                .rank-details h4 {
                    font-size: 0.95rem;
                    font-weight: 700;
                    margin: 0;
                    color: #fff;
                    line-height: 1.3;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                .rank-details h4 {
                    font-size: 0.9rem;
                    margin-bottom: 2px;
                }

                .rank-genres {
                    font-size: 0.75rem;
                    color: #94a3b8;
                    display: block;
                    margin-top: 4px;
                }

                .rank-cover-small {
                    width: 56px;
                    height: 76px;
                    border-radius: 10px;
                    overflow: hidden;
                    flex-shrink: 0;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
                }

                .rank-cover-small img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                .rank-details {
                    flex: 1;
                    min-width: 0;
                }

                /* === GENRES CLOUD === */
                .genres-cloud {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 7px;
                }

                .genre-chip {
                    display: inline-block;
                    padding: 5px 12px;
                    background: rgba(99, 102, 241, 0.1);
                    border: 1px solid rgba(99, 102, 241, 0.2);
                    border-radius: 20px;
                    color: #a5b4fc;
                    font-size: 0.72rem;
                    font-weight: 600;
                    text-decoration: none;
                    transition: all 0.25s ease;
                    white-space: nowrap;
                }

                .genre-chip:hover {
                    background: rgba(99, 102, 241, 0.25);
                    border-color: rgba(99, 102, 241, 0.5);
                    color: #e0e7ff;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
                }

                /* Override to fix gap issue */
                .post-layout-grid {
                    margin: 0 auto 40px auto !important;
                    padding-top: 40px !important;
                }

                /* === POPULARES SIDEBAR SECTION === */
                .populares-section {
                    background: #13131a;
                    /* Dark background matching the image */
                    border-radius: 12px;
                    padding: 20px 15px;
                    border: 1px solid rgba(255, 255, 255, 0.05);
                }

                .populares-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 20px;
                    padding-bottom: 10px;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                }

                .populares-filters {
                    display: flex;
                    gap: 5px;
                    background: rgba(0, 0, 0, 0.3);
                    border-radius: 8px;
                    padding: 3px;
                }

                .filter-btn {
                    background: transparent;
                    border: none;
                    color: #94a3b8;
                    font-size: 0.75rem;
                    padding: 4px 10px;
                    border-radius: 6px;
                    cursor: pointer;
                    transition: all 0.2s;
                }

                .filter-btn.active {
                    background: rgba(255, 255, 255, 0.1);
                    color: #fff;
                    font-weight: 600;
                }

                .populares-list {
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                }

                /* Top 1 Post Styles */
                .popular-item-top1 {
                    display: block;
                    text-decoration: none;
                    border-radius: 12px;
                    overflow: hidden;
                    position: relative;
                    margin-bottom: 5px;
                    transition: transform 0.2s;
                }

                .popular-item-top1:hover {
                    transform: scale(1.02);
                }

                .top1-image-wrapper {
                    position: relative;
                    height: 160px;
                    width: 100%;
                }

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

                .top1-overlay {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    padding: 20px 15px 10px 15px;
                    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
                    display: flex;
                    align-items: flex-end;
                    gap: 12px;
                }

                .top1-rank {
                    color: #fbbf24;
                    font-size: 3rem;
                    font-weight: 900;
                    line-height: 0.8;
                    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
                }

                .top1-title {
                    color: #fff;
                    margin: 0;
                    font-size: 1.1rem;
                    font-weight: 700;
                    line-height: 1.2;
                    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
                }

                /* Rank 2-9 List Styles */
                .popular-item-list {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    text-decoration: none;
                    padding: 5px 0;
                    transition: background 0.2s;
                    border-radius: 8px;
                }

                .popular-item-list:hover {
                    background: rgba(255, 255, 255, 0.03);
                }

                .popular-list-img-box {
                    width: 50px;
                    height: 70px;
                    border-radius: 6px;
                    overflow: hidden;
                    flex-shrink: 0;
                }

                .popular-list-img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                .popular-list-info {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                }

                .popular-list-title {
                    color: #fff;
                    margin: 0;
                    font-size: 0.95rem;
                    font-weight: 600;
                    line-height: 1.3;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                .popular-list-meta {
                    color: #94a3b8;
                    font-size: 0.75rem;
                    display: flex;
                    gap: 6px;
                    flex-wrap: wrap;
                }

                @media (max-width: 1024px) {
                    .post-layout {
                        flex-direction: column;
                    }

                    .post-sidebar {
                        width: 100% !important;
                        position: static !important;
                        margin-top: 20px;
                    }
                }

                /* FIX TOP PADDING ISSUES */
                html,
                body {
                    margin: 0 !important;
                    padding: 0 !important;
                    background-color: #0F0F1A !important;
                }

                .main-header-structure {
                    margin-top: 0 !important;
                }

                /* MOBILE FIXES */
                @media (max-width: 768px) {
                    .collection-container {
                        padding: 1rem !important;
                        /* Reduce padding from likely 2rem+ */
                        padding-top: 80px !important;
                        overflow-x: hidden;
                    }

                    .post-cover {
                        max-width: 180px !important;
                        /* Smaller cover on mobile */
                        margin-bottom: 20px !important;
                    }

                    h1 {
                        font-size: 1.5rem !important;
                        /* Smaller title */
                    }
                }

                /* HEARTBEAT ANIMATION */
                @keyframes heart-beat {
                    0% {
                        transform: scale(1);
                    }

                    25% {
                        transform: scale(1.3);
                    }

                    50% {
                        transform: scale(1);
                    }

                    75% {
                        transform: scale(1.3);
                    }

                    100% {
                        transform: scale(1);
                    }
                }

                .heart-beat {
                    animation: heart-beat 0.5s ease-in-out;
                }

                /* Utility Classes */
                .hidden {
                    display: none !important;
                }

                /* Color para contenedor de descargas */
                .pestana {
                    position: relative;
                    padding: 0 !important;
                }

                .pestana .pestana_header {
                    display: flex;
                    justify-content: space-between;
                    padding: .4rem 1.2rem 0;
                    background: rgba(30, 30, 30, 0.8) !important;
                    backdrop-filter: blur(10px);
                    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
                }

                .pestana .titulo_des {
                    color: #ffffff;
                    margin: 0;
                    padding: 0.5rem 0rem;
                    font-weight: 800;
                    font-size: 1.25rem;
                    flex: none;
                    background: linear-gradient(90deg, #fff, #a5b4fc);
                    -webkit-background-clip: text;
                    background-clip: text;
                    -webkit-text-fill-color: transparent;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                }

                .pestana .pestana_header .nav {
                    width: max-content;
                    overflow-x: auto;
                    overflow-y: hidden;
                    flex-wrap: inherit;
                    margin-bottom: -1px;
                    margin-left: 1rem;
                }

                .pestana .pestana_header .nav li button {
                    width: max-content;
                    font-size: 1rem;
                    color: #ffffff;
                    padding: 0.8rem 1rem;
                }

                .pestana .nav-tabs .nav-link.active {
                    color: #fff !important;
                    background: rgba(255, 255, 255, 0.1);
                    border-color: transparent !important;
                    border-bottom: 2px solid #a855f7 !important;
                    border-radius: 8px 8px 0 0;
                }

                /* no agregar clase ".pestana" a esto */
                .nav-tabs .nav-link:hover {
                    color: #ffffff69 !important;
                    border-color: transparent;
                }

                /* no agregar clase ".pestana" a esto */
                .nav-tabs .nav-link:focus {
                    border-color: transparent;
                }

                .pestana .tab-pane {
                    max-height: 1024px;
                    overflow-y: auto;
                    overflow-x: hidden;
                }

                .acordeon_descargas.acor_text,
                .tab-pane.pest_text {
                    padding: 2rem 1rem;
                }

                .acordeon_descargas.acor_text>*:last-child,
                .tab-pane.pest_text>*:last-child {
                    margin-bottom: 0;
                }

                table tr:last-child td {
                    border: none;
                }

                /* Cambio el fondo y agregamos una sombra cuando esté en hover */
                .sinopsis_scroll::-webkit-scrollbar-thumb:hover,
                .galeria_scroll::-webkit-scrollbar-thumb:hover,
                .acordeon_descargas::-webkit-scrollbar-thumb:hover {
                    background: #b3b3b3;
                }

                /* Cambio el fondo cuando esté en active */
                .sinopsis_scroll::-webkit-scrollbar-thumb:active,
                .galeria_scroll::-webkit-scrollbar-thumb:active,
                .acordeon_descargas::-webkit-scrollbar-thumb:active {
                    background-color: #999999;
                }

                .accordion-button:focus {
                    box-shadow: none;
                }

                #accordionDescargas .accordion-button:not(.collapsed) {
                    color: #ffffff !important;
                    background-color: #222222 !important;
                }

                #accordionDescargas button {
                    color: #000000;
                    background-color: #ffffff;
                }

                #accordionDescargas button:hover {
                    color: #000000;
                    background-color: #22222250 !important;
                }

                .col_des a.btn_desc {
                    color: #ffffff;
                    background-color: #222222;
                }

                .col_des a.btn_desc:hover {
                    background-color: #000;
                }

                /* Tablas de descarga */
                table.table_descargas {
                    font-size: 1rem;
                    border: none;
                    margin: 0px;
                }

                td,
                th {
                    border-width: 0 0 1px 0 !important;
                    padding: 0.6rem 1rem !important;
                    vertical-align: middle;
                }

                .col_epi {
                    text-align: center;
                    position: relative;
                }

                .col_epi b {
                    font-weight: inherit;
                    position: absolute;
                    right: 0;
                }

                .col_des {
                    text-align: center;
                    width: 30%;
                }

                .col_des a.btn_desc {
                    display: inline-block;
                    padding: .5rem 1.5rem;
                    border-radius: 50px;
                    font-size: .8rem;
                    min-width: 150px;
                }

                .col_des a.btn_icon_desc {
                    display: inline-flex;
                    padding: 0.7rem;
                    border-radius: 50px;
                    margin-right: 0.3rem;
                }

                .col_des a.btn_icon_desc i.fas.fa-download {
                    margin: 0;
                    color: #fff;
                }

                /* Botones de descarga */
                .btn_animacion:link,
                .btn_animacion:visited {
                    transition: all .2s;
                }

                .btn_animacion:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
                    color: #ffffff;
                }

                .btn_animacion:active {
                    transform: translateY(-1px);
                    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
                }

                .btn_animacion::after {
                    content: "";
                    display: inline-block;
                    height: 100%;
                    width: 100%;
                    border-radius: 100px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: -1;
                    transition: all .4s;
                }

                .btn_animacion:hover::after {
                    transform: scaleX(1.4) scaleY(1.6);
                    opacity: 0;
                }

                .plan_seo>* {
                    font-size: 1rem;
                    margin-bottom: 10px;
                }

                /* Estilo para el subtítulo en español (otros nombres) */
                .original-title-subtitle {
                    font-size: 1.2rem;
                    font-style: italic;
                    color: rgba(255, 255, 255, 0.8);
                    margin-top: 0.5rem;
                    font-weight: 300;
                }

                .ant_y_sig {
                    background: rgba(30, 30, 30, 0.6) !important;
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(157, 78, 221, 0.2);
                    color: #e2e8f0;
                    padding: 1rem;
                    display: flex;
                }

                .ant_y_sig div {
                    flex: 50%;
                    padding: 1rem .5rem;
                }

                .ant_y_sig div:first-child {
                    text-align: left;
                    border-right: 1px solid rgba(255, 255, 255, 0.1);
                }

                .ant_y_sig div:last-child {
                    text-align: right;
                }

                .ant_y_sig div a {
                    color: #93c5fd !important;
                }

                .ant_y_sig div a:hover {
                    color: #1e73be;
                }

                .autor {
                    padding: 1.5rem;
                    background: rgba(30, 30, 30, 0.6) !important;
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(157, 78, 221, 0.2);
                    color: #e2e8f0;
                    display: flex;
                }

                .autor img {
                    border-radius: 50px;
                    margin-right: 1rem;
                }

                .autor .autor_name {
                    align-self: center;
                    display: grid;
                }


                /* -------------------- ARCHIVE -------------------------*/
                /* -------------------- VERSION MOBIL Y TABLET -------------------------*/
                @media (max-width: 425px) {
                    .pestana>* {
                        font-size: .7rem !important;
                    }

                    table.table_descargas {
                        font-size: .6rem;
                    }

                    th.col_epi b {
                        display: none;
                    }

                    td.col_epi b {
                        position: relative;
                        display: block;
                    }

                    .col_epi {
                        text-align: center;
                    }
                }

                @media (max-width: 768px) {
                    .bgimagen_info {
                        margin: 1rem auto auto;
                    }

                    .plan_sidebar {
                        width: 100% !important;
                        margin-bottom: 1.3rem;
                    }

                    .plan_widgets {
                        margin: auto !important;
                        width: 90%;
                    }

                    .plan_contenido {
                        width: 100% !important;
                    }

                    .row-cols-1>* {
                        width: 50%;
                    }

                    .pestana .titulo_des {
                        color: #ffffff;
                        margin: 0;
                        padding: 0.5rem 0rem;
                        font-weight: 600;
                        font-size: 0.8rem;

                    }

                    .pestana .pestana_header .nav li button {
                        width: max-content;
                        font-size: 0.5rem;
                        color: #ffffff;
                        padding: 0.8rem 1rem;
                    }
                }

                @media (min-width: 769px) and (max-width: 1024px) {
                    .row-cols-1>* {
                        width: 33.33%;
                    }

                    .pestana .titulo_des {
                        color: #ffffff;
                        margin: 0;
                        padding: 0.5rem 0rem;
                        font-weight: 600;
                        font-size: 1.1rem;
                        display: none;
                    }
                }

                @media (max-width: 1240px) {}


                .min-images img {
                    width: 100%;
                    max-width: 187px;
                    height: auto;
                    margin: 4px 1%;
                    box-shadow: -2px 2px 6px 0px #929292;
                }

                .plantilla_1 .plan_contenido>.mg_abajo:last-child {
                    margin-bottom: 0rem;
                }

                .pestana {
                    position: relative;
                    padding: 0 !important;
                }

                .plan_cont_partes {

                    padding: 1.5rem;
                    border-radius: 5px;
                }

                .mg_abajo {
                    margin-bottom: 1.2rem;
                }

                .border_y_shadow,
                .widget,
                .inside-article {
                    border-radius: 5px;
                    overflow: hidden;
                    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075) !important;
                }

                /* Player download and speed controls */
                .player-download-control {
                    display: flex;
                    gap: 20px;
                    justify-content: center;
                    align-items: flex-start;
                    margin-top: 16px;
                    padding: 20px;
                    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(123, 44, 191, 0.05) 100%);
                    border-radius: 20px;
                    backdrop-filter: blur(10px);
                    position: relative;
                    z-index: 2000;
                    /* High z-index to ensure dropdowns go over other controls */
                }

                .player-download-control .control-btn {
                    width: 60px;
                    height: 60px;
                    min-width: 60px;
                    min-height: 60px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0;
                    background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%);
                    border: none;
                    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
                    transition: all 0.3s ease;
                }

                .player-download-control .control-btn:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
                }

                .player-download-control .control-btn i {
                    font-size: 20px;
                    color: #fff;
                }

                /* Removed: conflicting generic cover-image-container rule */

                /* Speed Control Styles */
                .speed-control-container,
                .download-control-container,
                .sleep-timer-container {
                    position: relative;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 8px;
                }

                .control-label {
                    font-size: 12px;
                    font-weight: 700;
                    color: #e2e8f0;
                    letter-spacing: 0.5px;
                    text-align: center;
                    min-height: 18px;
                    background: rgba(0, 0, 0, 0.3);
                    padding: 4px 12px;
                    border-radius: 12px;
                    border: 1px solid rgba(157, 78, 221, 0.3);
                }

                .speed-menu {
                    position: absolute;
                    bottom: 95px;
                    left: 50%;
                    transform: translateX(-50%);
                    background: rgba(30, 30, 30, 0.95);
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(157, 78, 221, 0.3);
                    border-radius: 12px;
                    padding: 8px;
                    min-width: 120px;
                    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
                    opacity: 0;
                    visibility: hidden;
                    transform: translateX(-50%) translateY(10px);
                    transition: all 0.3s ease;
                    z-index: 1000;
                }

                .speed-menu.show {
                    opacity: 1;
                    visibility: visible;
                    transform: translateX(-50%) translateY(0);
                }

                .speed-option {
                    padding: 10px 16px;
                    color: #e2e8f0;
                    font-size: 14px;
                    cursor: pointer;
                    border-radius: 8px;
                    transition: all 0.2s ease;
                    text-align: center;
                    font-weight: 600;
                }

                .speed-option:hover {
                    background: rgba(157, 78, 221, 0.2);
                    color: #fff;
                }

                .speed-option.active {
                    background: rgba(157, 78, 221, 0.3);
                    color: #9d4edd;
                }


                /* Sleep Timer Styles */
                .sleep-timer-container {
                    position: relative;
                    z-index: 1001;
                    /* Ensure it stays on top of other controls */
                }

                .sleep-timer-menu {
                    position: absolute;
                    bottom: 110%;
                    /* Position above the button */
                    left: 50%;
                    transform: translateX(-50%) translateY(10px);
                    background: #18181b;
                    /* Solid dark background */
                    border: 1px solid rgba(157, 78, 221, 0.4);
                    border-radius: 12px;
                    padding: 8px;
                    min-width: 160px;
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
                    opacity: 0;
                    visibility: hidden;
                    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
                    z-index: 9999;
                }

                .sleep-timer-menu.show {
                    opacity: 1;
                    visibility: visible;
                    transform: translateX(-50%) translateY(0);
                }

                .sleep-timer-option {
                    padding: 10px 16px;
                    color: #e2e8f0;
                    font-size: 14px;
                    cursor: pointer;
                    border-radius: 8px;
                    transition: all 0.2s ease;
                    text-align: center;
                    font-weight: 500;
                }

                .sleep-timer-option:hover {
                    background: rgba(157, 78, 221, 0.2);
                    color: #fff;
                    transform: translateX(-2px);
                }

                .sleep-timer-option.cancel-timer {
                    color: #ff6b9d;
                    border-top: 1px solid rgba(157, 78, 221, 0.2);
                    margin-top: 4px;
                    padding-top: 12px;
                }

                .sleep-timer-option.cancel-timer:hover {
                    background: rgba(255, 107, 157, 0.2);
                }

                #sleepTimerBtn.active {
                    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
                    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
                }



                /* ---- Estilos previos (los que ya tienes) ---- */



                /* Estilo base del botón */
                .episode-btn {
                    display: inline-block;
                    padding: 6px 12px;
                    font-size: 12px;
                    font-weight: bold;
                    text-transform: uppercase;
                    border-radius: 6px;
                    border: none;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    background-color: #2c2f33;
                    /* bg-line */
                    color: #f5f5f5;
                    /* text-subs */
                }

                /* Tamaño extra pequeño */
                .btn-xs {
                    font-size: 11px;
                    padding: 4px 10px;
                }

                /* Hover efecto */
                .episode-btn:hover {
                    background-color: #7289da;
                    /* hover:bg-edge */
                    color: #ffffff;
                    /* hover:text-lead */
                }

                /* Utilidades opcionales si no usas Tailwind o similares */
                .font-bold {
                    font-weight: bold;
                }

                .bg-line {
                    background-color: #2c2f33;
                }

                .text-subs {
                    color: #f5f5f5;
                }

                .hover\:bg-edge:hover {
                    background-color: #7289da;
                }

                .hover\:text-lead:hover {
                    color: #ffffff;
                }

                .episode-btn {
                    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
                }

                .episode-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
                }

                .bg-main {
                    background-color: #0c70de;
                    /* Fondo principal oscuro */
                }

                .text-fore {
                    color: #ffffff;
                    /* Color de texto principal (blanco) */
                }

                /* Estilo general del formulario */
                /* Estilo del menú desplegable */
                .btn-group {
                    position: relative;
                }

                .btn-group:hover .dropdown-menu {
                    display: block;
                }

                .dropdown-item {
                    padding: 8px 16px;
                    cursor: pointer;
                    font-size: 14px;
                    background: none;
                    border: none;
                    width: 100%;
                    text-align: left;
                }

                .dropdown-item:hover {
                    background: #f0f0f0;
                }


                /* Imagen previa */
                #previewContainer img {
                    max-width: 100%;
                    border-radius: 8px;
                    margin-bottom: 10px;
                }

                /* Botón enviar */
                .position-absolute {
                    position: static;
                    bottom: 10px;
                    right: 10px;
                }

                .btn-primary {
                    background-color: #007bff;
                    border: none;
                    color: #fff;
                    padding: 8px 14px;
                    border-radius: 20px;
                    cursor: pointer;
                    transition: background-color 0.3s ease;
                }

                .btn-primary:hover {
                    background-color: #0056b3;
                }

                #mensaje {
                    font-size: 13px;
                    color: #28a745;
                    margin-top: 10px;
                }

                .input-with-preview {
                    position: relative;

                    border-radius: 5px;
                    padding: 5px;
                    background: #fff;
                }

                #previewContainer {
                    width: 100%;
                    margin-bottom: 8px;
                }

                #previewContainer img {
                    width: 100%;
                    height: auto;
                    border-radius: 5px;
                    display: block;
                    margin-bottom: 5px;
                }

                #comentario-form .comment-input-field {
                    width: 100%;
                }

                .reply-bubble {
                    position: absolute;
                    top: 10px;
                    /* comienza en la parte superior */
                }

                /* Contenedor general */
                .user {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    font-family: Arial, sans-serif;
                }

                /* Insignia de Admin */
                .admin-badge {
                    background-color: #000000;
                    /* Color de fondo rojo */
                    color: rgb(255, 255, 255);
                    /* Texto blanco */
                    font-size: 12px;
                    /* Tamaño de la fuente */
                    font-weight: bold;
                    /* Texto en negrita */
                    padding: 2px 6px;
                    /* Espaciado interno */
                    border-radius: 4px;
                    /* Bordes redondeados */
                    text-transform: uppercase;
                    /* Texto en mayúsculas */
                }

                .reply-box {
                    position: absolute;
                    top: 0;
                    /* comienza en la parte superior */
                    left: 60%;
                    /* centrado horizontalmente */
                    transform: translateX(1%) translateY(-70%);
                    width: 90%;
                    max-width: 600px;
                    padding: 16px;
                    border-radius: 16px;
                    background: rgba(255, 255, 255, 0.18);
                    border: 1px solid rgba(255, 255, 255, 0.35);
                    backdrop-filter: blur(10px);
                    -webkit-backdrop-filter: blur(10px);
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                    display: grid;
                    gap: 8px;
                    z-index: 100;

                    opacity: 0;
                    /* inicio invisible */
                    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
                    /* animación de posición vertical */
                }

                .reply-box.show {
                    opacity: 1;

                    transform: translateX(1%) translateY(-10px);
                }

                .reply-box textarea {
                    width: 100%;
                    min-height: 80px;
                    padding: 8px;
                    border-radius: 12px;
                    border: 1px solid rgba(0, 0, 0, 0.2);
                    resize: vertical;
                    background: rgba(255, 255, 255, 0.6);
                    font-family: inherit;
                }

                .reply-box button {
                    justify-self: end;
                    padding: 6px 12px;
                    border-radius: 10px;
                    border: none;
                    background: rgba(255, 255, 255, 0.6);
                    cursor: pointer;
                    float: right;

                }

                /* Synopsis Section Styles */
                .synopsis-section {
                    margin-bottom: 30px;
                }

                .synopsis-content {
                    background: rgba(0, 0, 0, 0.3);
                    padding: 20px;
                    border-radius: 12px;
                    border: 1px solid rgba(157, 78, 221, 0.3);
                    margin-bottom: 15px;
                }

                .synopsis-preview,
                .synopsis-full {
                    color: #e2e8f0;
                    line-height: 1.8;
                    margin: 0;
                    font-family: 'Courier New', Courier, monospace;
                    white-space: pre-line;
                    word-wrap: break-word;
                }

                .synopsis-full {
                    display: none;
                }

                .synopsis-preview {
                    display: block;
                }

                .synopsis-toggle {
                    background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%);
                    color: #ffffff;
                    border: none;
                    padding: 12px 24px;
                    border-radius: 12px;
                    cursor: pointer;
                    display: inline-flex;
                    align-items: center;
                    gap: 10px;
                    transition: all 0.3s ease;
                    font-weight: 600;
                    font-size: 14px;
                    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
                }

                .synopsis-toggle:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
                }

                .synopsis-toggle i {
                    transition: transform 0.3s ease;
                }



                /* =========================================
   NEW TAG STYLES (Vaporwave/Synthwave)
   ========================================= */

                /* Tags con estilo morado - más pequeños */
                .tag {
                    display: inline-block !important;
                    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%) !important;
                    color: #fff !important;
                    border: 1px solid rgba(157, 78, 221, 0.4) !important;
                    border-radius: 10px !important;
                    padding: 4px 10px !important;
                    font-size: 11px !important;
                    font-weight: 600 !important;
                    box-shadow:
                        0 2px 8px rgba(157, 78, 221, 0.3),
                        0 0 15px rgba(157, 78, 221, 0.2) !important;
                    transition: all 0.3s ease !important;
                    white-space: nowrap !important;
                    line-height: 1.2 !important;
                    margin-right: 5px;
                    /* Espaciado entre tags */
                    margin-bottom: 5px;
                }

                .tag:hover {
                    transform: translateY(-2px);
                    box-shadow:
                        0 4px 12px rgba(157, 78, 221, 0.5),
                        0 0 25px rgba(157, 78, 221, 0.4) !important;
                    color: #fff !important;
                    text-decoration: none !important;
                }

                /* Tag de estado - más pequeño y circular */
                .status-tag {
                    display: inline-block !important;
                    padding: 4px 14px !important;
                    font-size: 11px !important;
                    border-radius: 20px !important;
                    font-weight: 700 !important;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    margin-right: 8px;
                    /* Separar del resto de tags */
                    margin-bottom: 5px;
                }

                /* Estado: Ongoing (En Emisión) - Rojo pastel eléctrico */
                .status-tag.ongoing {
                    background: linear-gradient(135deg, #ff6b9d 0%, #ff4d8f 100%) !important;
                    border: 1px solid rgba(255, 107, 157, 0.5) !important;
                    color: #fff !important;
                    box-shadow:
                        0 2px 8px rgba(255, 107, 157, 0.4),
                        0 0 15px rgba(255, 77, 143, 0.3) !important;
                }

                /* Estado: Completado - Verde oscuro */
                .status-tag.completed {
                    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
                    color: white;
                    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
                }

                .status-tag.completed::before {
                    content: '✓';
                    margin-right: 6px;
                }

                /* Novel ID Badge Styles */
                .novel-id-badge {
                    display: inline-flex;
                    align-items: center;
                    gap: 6px;
                    padding: 8px 16px;
                    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
                    border: 1px solid rgba(139, 92, 246, 0.4);
                    border-radius: 20px;
                    font-size: 13px;
                    font-weight: 600;
                    color: #a78bfa;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    user-select: none;
                }

                .novel-id-badge:hover {
                    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
                    border-color: rgba(139, 92, 246, 0.6);
                    color: #c4b5fd;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
                }

                .novel-id-badge:active {
                    transform: translateY(0);
                    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.2);
                }

                .novel-id-badge i {
                    font-size: 14px;
                }

                /* Contenedor de tags */
                .tags-container {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                }

                /* =========================================
   PAGE BACKGROUND (Vaporwave/Synthwave)
   ========================================= */

                body {
                    background-color: #0a0a0c !important;
                    /* Minimal Monochrome Dark */
                    background-image: none !important;
                    color: #fafafa;
                    font-family: 'Inter', -apple-system, sans-serif;
                    min-height: 100vh;
                    position: relative;
                    overflow-x: hidden;
                }

                body::before {
                    display: none !important;
                    /* Remove any pattern overlays */
                }

                /* Header de la página */
                .collection-page-header {
                    padding: 20px 0;
                    margin-bottom: 20px;
                }

                .header-top {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    max-width: 1200px;
                    margin: 0 auto;
                    padding: 0 20px;
                }

                /* Botón de volver */
                /* Botón de volver circular */
                .btn-back-circle {
                    width: 45px;
                    height: 45px;
                    border-radius: 50%;
                    background: rgba(15, 23, 42, 0.8);
                    /* Slate oscuro glass */
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    color: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    font-size: 1.1rem;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
                }

                .btn-back-circle:hover {
                    background: rgba(255, 255, 255, 0.1);
                    border-color: #fff;
                    transform: scale(1.1);
                }

                .header-top {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 0 20px;
                    /* Asegura padding lateral */
                }


                /* User Pill Modern */
                .user-pill-modern {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    background: rgba(15, 23, 42, 0.6);
                    padding: 5px 15px 5px 5px;
                    border-radius: 50px;
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    backdrop-filter: blur(5px);
                }

                .user-avatar-small {
                    width: 34px;
                    height: 34px;
                    border-radius: 50%;
                    object-fit: cover;
                    border: 2px solid #a855f7;
                    /* Púrpura neon */
                }

                .user-name {
                    color: #f1f5f9;
                    font-weight: 600;
                    font-size: 0.9rem;
                }

                /* =========================================
   AUDIO LIST HORIZONTAL SCROLL
   ========================================= */

                .audio-list-container {
                    display: flex;
                    overflow-x: auto;
                    gap: 15px;
                    padding: 15px 5px;
                    margin-bottom: 30px;
                    scrollbar-width: thin;
                    /* Firefox */
                    scrollbar-color: #9d4edd #1a0505;
                    /* Firefox */
                }

                /* Custom Scrollbar for Webkit (Chrome, Safari, Edge) */
                .audio-list-container::-webkit-scrollbar {
                    height: 8px;
                }

                .audio-list-container::-webkit-scrollbar-track {
                    background: rgba(30, 30, 30, 0.5);
                    border-radius: 4px;
                }

                .audio-list-container::-webkit-scrollbar-thumb {
                    background: linear-gradient(90deg, #9d4edd, #7b2cbf);
                    border-radius: 4px;
                }

                .audio-list-container::-webkit-scrollbar-thumb:hover {
                    background: linear-gradient(90deg, #c026d3, #9d4edd);
                }

                .audio-item {
                    min-width: 300px;
                    max-width: 300px;
                    /* Force consistent width */
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    background: rgba(30, 30, 30, 0.6);
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(157, 78, 221, 0.2);
                    border-radius: 12px;
                    padding: 12px;
                    transition: all 0.3s ease;
                    cursor: pointer;
                    position: relative;
                    overflow: hidden;
                }

                .audio-item:hover {
                    transform: translateY(-5px);
                    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.25);
                    background: rgba(45, 45, 45, 0.8);
                    border-color: rgba(157, 78, 221, 0.5);
                }

                .audio-item.active {
                    border-color: #c026d3;
                    background: linear-gradient(135deg, rgba(192, 38, 211, 0.1) 0%, rgba(147, 51, 234, 0.05) 100%);
                    box-shadow: 0 4px 15px rgba(192, 38, 211, 0.2);
                }

                .audio-number {
                    font-size: 14px;
                    font-weight: 700;
                    color: rgba(255, 255, 255, 0.4);
                    min-width: 25px;
                }

                .audio-thumbnail {
                    width: 60px;
                    height: 60px;
                    border-radius: 8px;
                    overflow: hidden;
                    flex-shrink: 0;
                }

                .audio-thumbnail img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                .audio-info {
                    flex: 1;
                    overflow: hidden;
                }

                .audio-title {
                    font-size: 14px;
                    font-weight: 600;
                    color: #e2e8f0;
                    margin: 0;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 1.4;
                }

                .audio-meta {
                    display: flex;
                    gap: 10px;
                    font-size: 11px;
                    color: rgba(255, 255, 255, 0.5);
                    margin-bottom: 4px;
                }

                .audio-item.playing .audio-number {
                    color: #c026d3;
                }

                .audio-item.playing .audio-title {
                    color: #fff;
                }

                /* Audio Item - Blurred Background & Black Sphere Style */
                .audio-item {
                    position: relative;
                    overflow: hidden;
                    background: transparent !important;
                    /* Override previous bg */
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
                    /* Stronger shadow */
                }

                /* Pseudo-element for blurred background image */
                .audio-item::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background-image: var(--bg-image);
                    background-size: cover;
                    background-position: center;
                    filter: blur(8px) brightness(0.6);
                    /* Blur + Darken */
                    z-index: 0;
                }

                /* Ensure content stays on top */
                .audio-info,
                .audio-number {
                    position: relative;
                    z-index: 2;
                }

                /* Black Sphere Number */
                .audio-number {
                    background: #000000;
                    color: #ffffff;
                    border-radius: 50%;
                    width: 40px;
                    height: 40px;
                    min-width: 40px;
                    /* Force fix */
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 700;
                    font-size: 16px;
                    border: 1px solid rgba(255, 255, 255, 0.2);
                    box-shadow:
                        inset -2px -2px 6px rgba(255, 255, 255, 0.1),
                        inset 2px 2px 6px rgba(0, 0, 0, 0.8),
                        0 4px 10px rgba(0, 0, 0, 0.5);
                    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
                }

                /* Active State for new style */
                .audio-item.active .audio-number {
                    background: linear-gradient(135deg, #1a1a1a, #000000);
                    border-color: #c026d3;
                    color: #c026d3;
                    box-shadow: 0 0 15px rgba(192, 38, 211, 0.4);
                }

                /* =========================================
   LAYOUT ADJUSTMENTS
   ========================================= */
                /* =========================================
   ALERTIFY DARK THEME OVERRIDES
   ========================================= */
                .alertify .ajs-dialog {
                    background-color: #1e293b !important;
                    color: #f8fafc !important;
                    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
                    border: 1px solid #334155 !important;
                    border-radius: 8px !important;
                }

                .alertify .ajs-header {
                    background-color: #1e293b !important;
                    color: #f8fafc !important;
                    border-bottom: 1px solid #334155 !important;
                    font-weight: 600 !important;
                }

                .alertify .ajs-footer {
                    background-color: #1e293b !important;
                    border-top: 1px solid #334155 !important;
                }

                .alertify .ajs-body .ajs-content {
                    color: #e2e8f0 !important;
                }

                /* Fix close/maximize buttons visibility */
                .alertify .ajs-commands button {
                    filter: invert(1) brightness(2);
                    opacity: 0.7;
                }

                .alertify .ajs-commands button:hover {
                    opacity: 1;
                }

                /* Success/Error/Warning Colors inside dialog */
                .alertify-notifier .ajs-message.ajs-success {
                    background-color: #059669 !important;
                    /* Emerald 600 */
                    color: white !important;
                }

                .alertify-notifier .ajs-message.ajs-error {
                    background-color: #dc2626 !important;
                    /* Red 600 */
                    color: white !important;
                }

                .alertify-notifier .ajs-message.ajs-warning {
                    background-color: #d97706 !important;
                    /* Amber 600 */
                    color: white !important;
                }

                /* =========================================
   STATS CARD STYLES (NEW)
   ========================================= */
                .post-stats-container {
                    display: flex;
                    gap: 15px;
                    margin-bottom: 25px;
                    flex-wrap: wrap;
                    justify-content: center;
                }

                .stats-card {
                    flex: 1;
                    max-width: 200px;
                    min-width: 140px;
                    border-radius: 12px;
                    padding: 10px 15px;
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    backdrop-filter: blur(5px);
                    transition: transform 0.2s ease;
                }

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

                .stats-card.favorites {
                    background: rgba(247, 37, 133, 0.1);
                    border: 1px solid rgba(247, 37, 133, 0.3);
                }

                .stats-card.bookmarks {
                    background: rgba(0, 97, 255, 0.1);
                    border: 1px solid rgba(0, 97, 255, 0.3);
                }

                .stats-card.views {
                    background: rgba(204, 255, 0, 0.1);
                    border: 1px solid rgba(57, 255, 20, 0.3);
                }

                .stats-icon {
                    padding: 8px;
                    border-radius: 8px;
                }

                .stats-card.favorites .stats-icon {
                    background: rgba(247, 37, 133, 0.2);
                }

                .stats-card.bookmarks .stats-icon {
                    background: rgba(0, 97, 255, 0.2);
                }

                .stats-card.views .stats-icon {
                    background: rgba(57, 255, 20, 0.2);
                }

                .stats-card h4 {
                    margin: 0;
                    font-size: 0.75rem;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    opacity: 0.9;
                }

                .stats-card.favorites h4 {
                    color: #f72585;
                }

                .stats-card.bookmarks h4 {
                    color: #60efff;
                }

                .stats-card.views h4 {
                    color: #39ff14;
                }

                .stats-card span {
                    font-size: 1.2rem;
                    font-weight: 800;
                    color: #fff;
                    display: block;
                    line-height: 1.2;
                }

                /* =========================================
   HEADER STYLES
   ========================================= */
                .collection-page-header {
                    margin-bottom: 2rem;
                    position: fixed;
                    top: 0;
                    left: 0;
                    right: 0;
                    z-index: 4000;
                    background: rgba(10, 10, 12, 0.85);
                    /* Semi-transparent dark bg */
                    backdrop-filter: blur(12px);
                    -webkit-backdrop-filter: blur(12px);
                    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
                    padding: 1rem 0;
                }

                body {
                    padding-top: 80px;
                    /* Prevent content from being hidden behind fixed header */
                }

                .header-top {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    max-width: 1200px;
                    margin: 0 auto;
                    padding: 0 1.5rem;
                }

                /* =========================================
   SUBTLE STATS STYLES (NEW)
   ========================================= */
                .subtle-stats-container {
                    display: flex;
                    justify-content: center;
                    gap: 20px;
                    margin-top: 15px;
                    padding: 8px 15px;
                    background: rgba(0, 0, 0, 0.3);
                    border-radius: 20px;
                    backdrop-filter: blur(5px);
                    width: fit-content;
                    margin-left: auto;
                    margin-right: auto;
                    border: 1px solid rgba(255, 255, 255, 0.05);
                }

                .subtle-stat {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: 0.9rem;
                    font-weight: 600;
                    color: rgba(255, 255, 255, 0.9);
                    transition: transform 0.2s ease;
                    cursor: default;
                }

                .subtle-stat:hover {
                    transform: scale(1.05);
                }

                .subtle-stat i {
                    font-size: 1rem;
                    filter: drop-shadow(0 0 5px currentColor);
                }

                /* =========================================
   UNIFIED PILL AESTHETIC (NEW)
   ========================================= */
                .meta-pills-row {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 12px;
                    margin-top: 15px;
                }

                .unified-pill {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    padding: 0 16px;
                    /* Horizontal padding only, height handles vertical */
                    height: 42px;
                    /* Explicit fixed height */
                    line-height: 1;
                    /* Reset line height */
                    border-radius: 50px;
                    /* Fully rounded pill */
                    background: rgba(0, 0, 0, 0.3);
                    /* Transparent dark to show maroon bg */
                    backdrop-filter: blur(5px);
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    color: #fff;
                    font-size: 0.9rem;
                    font-weight: 600;
                    cursor: default;
                    box-sizing: border-box;
                    /* Ensure padding doesn't affect height */
                    transition: all 0.3s ease;
                    text-decoration: none !important;
                    min-width: 100px;
                    /* Minimal consistency */
                }

                /* Interactive Pills (Buttons/ID) */
                .unified-pill.interactive {
                    cursor: pointer;
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
                }

                .unified-pill.interactive:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
                    background: rgba(255, 255, 255, 0.1);
                }

                /* --- Color Variants --- */

                /* Favorites (Pink) */
                .unified-pill.pink {
                    border-color: rgba(247, 37, 133, 0.5);
                    color: #f72585;
                    /* Icon/Text color */
                }

                .unified-pill.pink span {
                    color: #fff;
                }

                /* Count white */
                .unified-pill.pink:hover {
                    box-shadow: 0 0 15px rgba(247, 37, 133, 0.4);
                }

                /* Bookmarks (Blue) */
                .unified-pill.blue {
                    border-color: rgba(0, 97, 255, 0.5);
                    color: #60efff;
                }

                .unified-pill.blue span {
                    color: #fff;
                }

                .unified-pill.blue:hover {
                    box-shadow: 0 0 15px rgba(0, 97, 255, 0.4);
                }

                /* Views (Lime) */
                .unified-pill.lime {
                    border-color: rgba(57, 255, 20, 0.5);
                    color: #39ff14;
                }

                .unified-pill.lime span {
                    color: #fff;
                }

                /* ID (Purple) */
                .unified-pill.purple {
                    border-color: rgba(157, 78, 221, 0.5);
                    color: #9d4edd;
                }

                .unified-pill.purple span {
                    color: #fff;
                }

                .unified-pill.purple:hover {
                    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
                }

                /* Override existing button styles if needed */
                button.unified-pill {
                    outline: none;
                }

                /* =========================================
   COVER IMAGE HOVER REFINEMENT
   ========================================= */
                .main-cover-image {
                    transition: transform 0.3s ease, box-shadow 0.3s ease;
                }

                .main-cover-image:hover {
                    transform: scale(1.02) !important;
                    /* Gentle expansion */
                    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
                }

                /* Container fix for modern layout */
                .container {
                    width: 100%;
                    max-width: 1100px;
                    margin: 0 auto;
                    padding: 0 20px;
                }

                /* =========================================
   MODERN UNIFIED PLAYER STYLES
   ========================================= */
                .unified-player {
                    background: #1e1e1e;
                    border-radius: 24px;
                    padding: 40px 30px;
                    margin: 30px auto;
                    max-width: 1100px;
                    position: relative;
                    overflow: visible;
                    /* Allow shadows/modals out */
                    color: white;
                    text-align: center;
                    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
                    border: 1px solid rgba(255, 255, 255, 0.05);
                }

                .player-cover-wrapper {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin-bottom: 40px;
                    position: relative;
                    gap: 40px;
                }

                .player-cover {
                    width: 220px;
                    height: auto;
                    aspect-ratio: 1 / 1;
                    border-radius: 24px;
                    overflow: hidden;
                    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
                    position: relative;
                    z-index: 2;
                    transition: transform 0.3s ease;
                }

                .player-cover:hover {
                    transform: scale(1.02);
                }

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

                .checkpoint-btn {
                    background: rgba(255, 255, 255, 0.05);
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    width: 50px;
                    height: 50px;
                    border-radius: 16px;
                    font-size: 1.2rem;
                    color: #94a3b8;
                    cursor: pointer;
                    transition: all 0.2s;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .checkpoint-btn:hover {
                    background: rgba(255, 255, 255, 0.1);
                    color: #fff;
                    border-color: rgba(255, 255, 255, 0.2);
                }

                .player-main-controls {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 60px;
                    margin-bottom: 40px;
                }

                .skip-btn {
                    width: 60px;
                    height: 60px;
                    min-width: 60px;
                    min-height: 60px;
                    aspect-ratio: 1;
                    flex-shrink: 0;
                    border-radius: 50%;
                    background: transparent;
                    border: 2px solid rgba(255, 255, 255, 0.2);
                    color: white;
                    font-size: 1.2rem;
                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    transition: all 0.2s;
                }

                .skip-btn:hover {
                    border-color: white;
                    background: rgba(255, 255, 255, 0.05);
                }

                .skip-btn .skip-time {
                    position: absolute;
                    font-size: 0.6rem;
                    font-weight: 800;
                    margin-top: 18px;
                    /* Offset to sit nicely with icon */
                }

                .main-play-btn {
                    width: 90px;
                    height: 90px;
                    min-width: 90px;
                    min-height: 90px;
                    aspect-ratio: 1;
                    flex-shrink: 0;
                    border-radius: 50%;
                    background: white;
                    color: #1e1e1e;
                    border: none;
                    font-size: 2.5rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding-left: 8px;
                    /* Visual fix */
                    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
                    transition: transform 0.2s, box-shadow 0.2s;
                }

                .main-play-btn:hover {
                    transform: scale(1.05);
                    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
                }

                .progress-controls {
                    padding: 0 20px;
                    margin-bottom: 10px;
                }

                .progress-container {
                    height: 6px;
                    background: rgba(255, 255, 255, 0.15);
                    border-radius: 10px;
                    cursor: pointer;
                    position: relative;
                }

                .progress-bar {
                    width: 100%;
                    height: 100%;
                    position: relative;
                }

                .progress-fill {
                    height: 100%;
                    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
                    border-radius: 10px;
                    width: 0%;
                    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6), 0 0 30px rgba(99, 102, 241, 0.3);
                }

                .progress-handle {
                    position: absolute;
                    top: 50%;
                    left: 0%;
                    width: 18px;
                    height: 18px;
                    background: linear-gradient(145deg, #fff 0%, #e2e8f0 100%);
                    border-radius: 50%;
                    transform: translate(-50%, -50%);
                    opacity: 1;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(168, 85, 247, 0.4);
                    pointer-events: none;
                    transition: left 0.1s ease-out;
                    /* Transición suave */
                    display: block !important;
                    /* Siempre visible */
                }

                .player-time-display {
                    display: flex;
                    justify-content: space-between;
                    padding: 0 20px;
                    font-family: 'Outfit', monospace;
                    font-size: 0.9rem;
                    color: #cbd5e1;
                    font-weight: 500;
                    margin-bottom: 30px;
                }

                .player-download-control {
                    display: flex;
                    justify-content: center;
                    gap: 20px;
                    margin-top: 20px;
                    background: rgba(0, 0, 0, 0.2);
                    /* Darker pill for extra controls */
                    width: fit-content;
                    margin: 0 auto;
                    padding: 10px 20px;
                    border-radius: 50px;
                    border: 1px solid rgba(255, 255, 255, 0.05);
                }

                .player-download-control .control-btn {
                    width: 45px;
                    height: 45px;
                    border-radius: 50%;
                    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
                    color: white;
                    border: none;
                    font-size: 1.1rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    transition: all 0.2s;
                    padding: 0;
                    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
                }

                .player-download-control .control-btn:hover {
                    transform: translateY(-2px) scale(1.05);
                    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
                }

                .player-info h3 {
                    font-size: 1.5rem;
                    margin-bottom: 10px;
                    font-weight: 700;
                }

                /* =========================================
   MODERN LAYOUT FIXES (Home Style)
   ========================================= */

                .collection-main-content {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 40px;
                    margin-bottom: 50px;
                    align-items: flex-start;
                    justify-content: center;
                    /* Centrado en mobile, flex-start en desktop si espacio */
                }

                @media (min-width: 768px) {
                    .collection-main-content {
                        flex-wrap: nowrap;
                        justify-content: flex-start;
                    }
                }

                .collection-cover-section {
                    flex: 0 0 280px;
                    max-width: 300px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 100%;
                }

                .cover-image-container {
                    width: 100%;
                    margin-bottom: 20px;
                    position: relative;
                    border-radius: 16px;
                    overflow: hidden;
                    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
                    transition: transform 0.3s ease;
                }

                .cover-image-container:hover {
                    transform: translateY(-5px);
                }

                .main-cover-image {
                    width: 100%;
                    display: block;
                    aspect-ratio: 2/3;
                    object-fit: cover;
                }

                .collection-details {
                    flex: 1;
                    min-width: 0;
                    /* Prevent flex overflow */
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                }

                .collection-title-main {
                    text-align: center;
                    margin-bottom: 30px;
                }

                .collection-title-main h1 {
                    font-size: 2.5rem;
                    font-weight: 800;
                    margin-bottom: 10px;
                    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
                    -webkit-background-clip: text;
                    background-clip: text;
                    -webkit-text-fill-color: transparent;
                }

                .original-title-subtitle {
                    font-size: 1.1rem;
                    color: #94a3b8;
                    font-weight: 400;
                    font-style: italic;
                }

                /* Metadata Pills (Unified Style) */
                .meta-pills-row {
                    display: flex;
                    justify-content: center;
                    gap: 12px;
                    flex-wrap: wrap;
                    width: 100%;
                }

                .unified-pill {
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                    padding: 8px 16px;
                    border-radius: 50px;
                    font-size: 0.85rem;
                    font-weight: 600;
                    transition: all 0.2s ease;
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    background: rgba(30, 41, 59, 0.5);
                    backdrop-filter: blur(5px);
                    color: #cbd5e1;
                    text-decoration: none !important;
                }

                .unified-pill.interactive {
                    cursor: pointer;
                }

                .unified-pill.interactive:hover {
                    transform: translateY(-2px);
                    background: rgba(255, 255, 255, 0.1);
                }

                /* Variant colors */
                .unified-pill.blue {
                    color: #60a5fa;
                    border-color: rgba(59, 130, 246, 0.3);
                }

                .unified-pill.blue:hover {
                    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
                }

                .unified-pill.pink {
                    color: #f472b6;
                    border-color: rgba(236, 72, 153, 0.3);
                }

                .unified-pill.pink:hover {
                    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
                }

                .unified-pill.purple {
                    color: #c084fc;
                    border-color: rgba(168, 85, 247, 0.3);
                }

                .unified-pill.purple:hover {
                    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
                }

                .unified-pill.lime {
                    color: #a3e635;
                    border-color: rgba(132, 204, 22, 0.3);
                }

                /* Sinopsis Box Modernization */
                .synopsis-section {
                    background: rgba(30, 41, 59, 0.3);
                    /* Slate glass */
                    border: 1px solid rgba(148, 163, 184, 0.1);
                    border-radius: 20px;
                    padding: 4px;
                    /* Padding for inner content */
                }

                .synopsis-content {
                    background: transparent;
                    border: none;
                    padding: 20px;
                    margin: 0;
                }

                .synopsis-preview,
                .synopsis-full {
                    font-family: 'Outfit', sans-serif;
                    font-size: 1rem;
                    line-height: 1.7;
                    color: #e2e8f0;
                }

                .synopsis-toggle {
                    width: 100%;
                    margin-top: 5px;
                    background: rgba(255, 255, 255, 0.05);
                    color: #94a3b8;
                    box-shadow: none;
                    justify-content: center;
                    border: 1px solid transparent;
                }

                .synopsis-toggle:hover {
                    background: rgba(255, 255, 255, 0.1);
                    color: white;
                    box-shadow: none;
                    border-color: rgba(255, 255, 255, 0.1);
                }

                /* =========================================
   MINIMALISM & FONT FIXES
   ========================================= */

                /* 1. Unificar Fuentes */
                body,
                h1,
                h2,
                h3,
                h4,
                h5,
                h6,
                p,
                span,
                div,
                a,
                button,
                input,
                textarea,
                .synopsis-preview,
                .synopsis-full,
                .player-time-display {
                    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
                }

                /* 2. Eliminar efectos "Pop Up" y sombreados excesivos (Minimalismo) */
                .cover-image-container:hover,
                .unified-pill.interactive:hover,
                .audio-item:hover,
                .synopsis-toggle:hover,
                .novel-id-badge:hover,
                .btn-back-circle:hover,
                .tag:hover {
                    transform: none !important;
                    box-shadow: none !important;
                    /* O una sombra muy sutil si es necesaria */
                }

                /* Bordes sutiles en lugar de sombras para hover */
                .unified-pill.interactive:hover,
                .btn-back-circle:hover {
                    border-color: rgba(255, 255, 255, 0.4) !important;
                    background: rgba(255, 255, 255, 0.05);
                }

                .cover-image-container {
                    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
                    /* Tailwind shadow-md */
                }

                /* Ajuste específico para sinopsis (quitar Courier New) */
                .synopsis-preview,
                .synopsis-full {
                    font-size: 0.95rem !important;
                    line-height: 1.6 !important;
                    color: #d4d4d8 !important;
                    /* Slate 300 text */
                }

                .synopsis-section {
                    background: transparent !important;
                    /* Quitar fondo de bloque si se quiere muy minimal */
                    border: none !important;
                    padding: 0 !important;
                }

                .synopsis-content {
                    padding: 10px 0 !important;
                }

                /* Ajuste de título para que no sea tan "heavy" */
                .collection-title-main h1 {
                    font-weight: 700 !important;
                    /* Menos bold */
                    background: none !important;
                    -webkit-text-fill-color: #fafafa !important;
                    /* Texto blanco sólido */
                }


                /* =========================================
   FINAL REFINEMENTS: TRUE MINIMALISM
   ========================================= */

                /* 1. Player Integration (Transparent & Clean) */
                .unified-player {
                    background: transparent !important;
                    border: none !important;
                    box-shadow: none !important;
                    padding: 40px 0 !important;
                    max-width: 1100px !important;
                    margin: 0 auto !important;
                }

                /* Cover shadow is the only heavy element */
                .player-cover {
                    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
                }

                /* Controls simplification */
                .skip-btn {
                    border-color: rgba(255, 255, 255, 0.1) !important;
                    background: rgba(255, 255, 255, 0.02) !important;
                }

                .main-play-btn {
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
                }

                /* Progress Bar Minimal */
                .progress-container {
                    background: rgba(255, 255, 255, 0.08) !important;
                    height: 4px !important;
                }

                .progress-fill {
                    background: #fff !important;
                    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important;
                }

                /* Progress handle - Siempre visible */
                .progress-handle {
                    display: block !important;
                    cursor: grab;
                    pointer-events: auto !important;
                }

                .progress-handle:active {
                    cursor: grabbing;
                }

                /* 2. Layout & Typography Breathing Room */
                .collection-main-content {
                    gap: 50px !important;
                }

                .synopsis-preview,
                .synopsis-full {
                    font-size: 1.05rem !important;
                    line-height: 1.8 !important;
                    color: #e5e7eb !important;
                    /* Lighter text */
                    max-width: 800px;
                    /* Prevent lines from being too long to read */
                }

                /* 3. Tags Refinement */
                .tag {
                    background: rgba(255, 255, 255, 0.03) !important;
                    border: 1px solid rgba(255, 255, 255, 0.08) !important;
                    color: #94a3b8 !important;
                    box-shadow: none !important;
                    border-radius: 6px !important;
                }

                .status-tag {
                    border-radius: 6px !important;
                    box-shadow: none !important;
                }

                /* 4. Comments Section Clean up */


                /* =========================================
   LAYOUT FINAL FIX (OVERRIDE ALL)
   ========================================= */

                /* Forzar Grid de 2 columnas en Desktop */
                .collection-main-content {
                    display: grid !important;
                    grid-template-columns: 320px 1fr !important;
                    /* Columna fija izq, variable der */
                    gap: 50px !important;
                    align-items: start !important;
                    max-width: 1100px !important;
                    margin: 0 auto 50px auto !important;
                }

                /* Mobile responsive */
                @media (max-width: 900px) {
                    .collection-main-content {
                        display: flex !important;
                        flex-direction: column !important;
                        align-items: center !important;
                    }
                }

                /* Columna Izquierda (Portada + Botones) */
                .collection-cover-section {
                    width: 100% !important;
                    max-width: none !important;
                    display: flex !important;
                    flex-direction: column !important;
                    gap: 20px !important;
                }

                /* Portada Estática (Sin saltos) */
                .cover-image-container {
                    width: 100% !important;
                    border-radius: 16px !important;
                    overflow: hidden !important;
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
                    transform: none !important;
                    transition: none !important;
                    margin: 0 !important;
                }

                .cover-image-container:hover,
                .cover-image-container img:hover {
                    transform: none !important;
                    margin: 0 !important;
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
                }

                .main-cover-image {
                    width: 100% !important;
                    height: auto !important;
                    display: block !important;
                }

                /* Botones debajo de portada */
                .meta-pills-row {
                    display: flex !important;
                    width: 100% !important;
                    gap: 10px !important;
                    justify-content: space-between !important;
                    margin-bottom: 12px !important;
                }

                .unified-pill {
                    margin: 0 !important;
                    white-space: nowrap !important;
                }

                /* Botones específicos para que encajen bien */
                .unified-pill.blue {
                    flex-grow: 1 !important;
                    justify-content: center !important;
                    text-align: center !important;
                }

                .unified-pill.pink {
                    flex-grow: 0 !important;
                    min-width: 60px !important;
                    justify-content: center !important;
                }

                .unified-pill.purple,
                .unified-pill.lime {
                    flex: 1 !important;
                    justify-content: center !important;
                }

                /* Columna Derecha (Sinopsis, Tags) */
                .collection-details {
                    padding-top: 5px !important;
                    width: 100% !important;
                    display: flex !important;
                    flex-direction: column !important;
                }

                /* Asegurar que los tags se vean bien */
                .tags-section {
                    margin-bottom: 25px !important;
                }

                .tags-container {
                    justify-content: flex-start !important;
                }

                /* =========================================
   DEFINITIVE LAYOUT FIX - ULTRA SPECIFIC
   ========================================= */

                /* Main 2-column Grid */
                .collection-container .collection-main-content {
                    display: grid !important;
                    grid-template-columns: 320px 1fr !important;
                    gap: 40px !important;
                    align-items: start !important;
                    width: 100% !important;
                }

                @media (max-width: 768px) {
                    .collection-container .collection-main-content {
                        display: block !important;
                        text-align: center !important;
                    }

                    .collection-container .collection-cover-section {
                        max-width: 350px !important;
                        margin: 0 auto 30px auto !important;
                    }
                }

                /* Left Column */
                .collection-container .collection-cover-section {
                    display: block !important;
                    width: 100% !important;
                }

                /* Cover Image - NO animations */
                .collection-container .cover-image-container {
                    display: block !important;
                    width: 100% !important;
                    border-radius: 12px !important;
                    overflow: hidden !important;
                    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
                    margin-bottom: 20px !important;
                }

                .collection-container .cover-image-container:hover {
                    transform: none !important;
                }

                .collection-container .main-cover-image {
                    width: 100% !important;
                    height: auto !important;
                    display: block !important;
                }

                /* Pills aligned in rows */
                .collection-container .meta-pills-row {
                    display: flex !important;
                    flex-wrap: wrap !important;
                    gap: 10px !important;
                    justify-content: center !important;
                    margin-bottom: 12px !important;
                }

                /* Right Column */
                .collection-container .collection-details {
                    text-align: left !important;
                }

                /* Tags */
                .collection-container .tags-container {
                    display: flex !important;
                    flex-wrap: wrap !important;
                    gap: 8px !important;
                    margin-bottom: 20px !important;
                }

                /* Synopsis */
                .collection-container .synopsis-section {
                    background: transparent !important;
                    border: none !important;
                    padding: 0 !important;
                }

                .collection-container .synopsis-content {
                    padding: 0 !important;
                }

                .collection-container .synopsis-preview,
                .collection-container .synopsis-full {
                    font-size: 1rem !important;
                    line-height: 1.7 !important;
                    color: #d1d5db !important;
                }

                .collection-container .synopsis-toggle {
                    background: transparent !important;
                    color: #94a3b8 !important;
                    padding: 10px 0 !important;
                    justify-content: flex-start !important;
                    width: auto !important;
                    box-shadow: none !important;
                }


                /* Title inside right column - left aligned */
                .collection-details .collection-title-main {
                    text-align: left !important;
                    margin-bottom: 20px !important;
                }

                .collection-details .collection-title-main h1 {
                    font-size: 2rem !important;
                    font-weight: 700 !important;
                    color: #fff !important;
                    margin-bottom: 5px !important;
                    background: none !important;
                    -webkit-text-fill-color: unset !important;
                }

                .collection-details .original-title-subtitle {
                    font-size: 1rem !important;
                    color: #94a3b8 !important;
                    font-weight: 400 !important;
                    font-style: italic !important;
                }


                /* =========================================
   CHECKPOINT BUTTONS & MODAL STYLES
   ========================================= */

                /* Checkpoint Buttons (Flag & List) */
                .checkpoint-btn {
                    width: 50px;
                    height: 50px;
                    border-radius: 12px;
                    background: rgba(99, 102, 241, 0.1);
                    border: 1px solid rgba(168, 85, 247, 0.3);
                    color: #c4b5fd;
                    font-size: 1.3rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.2s ease;
                    backdrop-filter: blur(5px);
                }

                .checkpoint-btn:hover {
                    background: rgba(168, 85, 247, 0.25);
                    border-color: rgba(168, 85, 247, 0.6);
                    color: #fff;
                    transform: scale(1.08);
                    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
                }

                /* Player Cover Wrapper */
                .player-cover-wrapper {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 30px;
                    margin-bottom: 20px;
                }

                /* Checkpoints Modal */
                .checkpoints-modal {
                    display: none;
                    /* Hidden by default, JS toggles this */
                    position: fixed;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: rgba(10, 5, 20, 0.9);
                    z-index: 10000;
                    align-items: center;
                    justify-content: center;
                    backdrop-filter: blur(10px);
                }

                .checkpoints-modal.show {
                    display: flex !important;
                }

                .checkpoints-modal-content {
                    background: linear-gradient(145deg, rgba(20, 15, 35, 0.98) 0%, rgba(10, 8, 20, 0.98) 100%);
                    border: 1px solid rgba(168, 85, 247, 0.3);
                    border-radius: 20px;
                    width: 90%;
                    max-width: 500px;
                    max-height: 80vh;
                    overflow: hidden;
                    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6),
                        0 0 40px rgba(99, 102, 241, 0.15),
                        inset 0 1px 0 rgba(255, 255, 255, 0.05);
                }

                .checkpoints-modal-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 20px 24px;
                    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
                    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
                }

                .checkpoints-modal-header h3 {
                    font-size: 1.2rem;
                    font-weight: 600;
                    color: #fff;
                    margin: 0;
                    background: linear-gradient(135deg, #a855f7, #6366f1);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                }

                .close-modal-btn {
                    width: 36px;
                    height: 36px;
                    border-radius: 50%;
                    background: rgba(168, 85, 247, 0.15);
                    border: 1px solid rgba(168, 85, 247, 0.3);
                    color: #c4b5fd;
                    font-size: 1.5rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.2s;
                }

                .close-modal-btn:hover {
                    background: rgba(168, 85, 247, 0.3);
                    border-color: rgba(168, 85, 247, 0.5);
                    color: #fff;
                    transform: scale(1.05);
                }

                /* Checkpoints List */
                .checkpoints-list {
                    padding: 20px;
                    max-height: 400px;
                    overflow-y: auto;
                    display: flex;
                    flex-direction: column;
                    gap: 12px;
                }

                /* In-place deletion confirmation */
                .checkpoint-confirm-box {
                    padding: 30px 20px;
                    text-align: center;
                    background: rgba(0, 0, 0, 0.2);
                    border-radius: 12px;
                    margin: 20px;
                }

                .checkpoint-confirm-box .confirm-content p {
                    color: #e2e8f0;
                    margin-bottom: 24px;
                    font-size: 1.1rem;
                    font-weight: 500;
                }

                .checkpoint-confirm-box .confirm-actions {
                    display: flex;
                    gap: 12px;
                    justify-content: center;
                }

                .checkpoint-confirm-box .confirm-btn {
                    padding: 10px 24px;
                    border-radius: 50px;
                    border: none;
                    font-weight: 600;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    font-size: 0.9rem;
                }

                .checkpoint-confirm-box .confirm-btn.delete {
                    background: #ef4444;
                    color: white;
                }

                .checkpoint-confirm-box .confirm-btn.delete:hover {
                    background: #dc2626;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
                }

                .checkpoint-confirm-box .confirm-btn.cancel {
                    background: rgba(255, 255, 255, 0.1);
                    color: #e2e8f0;
                }

                .checkpoint-confirm-box .confirm-btn.cancel:hover {
                    background: rgba(255, 255, 255, 0.2);
                    transform: translateY(-2px);
                }

                /* Individual Checkpoint Item */
                .checkpoint-item {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 12px 16px;
                    background: rgba(255, 255, 255, 0.05);
                    border: 1px solid rgba(255, 255, 255, 0.08);
                    border-radius: 10px;
                    cursor: pointer;
                    transition: all 0.2s;
                }

                .checkpoint-item:hover {
                    background: rgba(168, 85, 247, 0.1);
                    border-color: rgba(168, 85, 247, 0.3);
                }

                .checkpoint-item .checkpoint-time {
                    font-family: 'Inter', monospace;
                    font-size: 0.95rem;
                    color: #a855f7;
                    font-weight: 600;
                }

                .checkpoint-item .checkpoint-date {
                    font-size: 0.8rem;
                    color: #71717a;
                    text-align: center;
                }

                .checkpoint-item .checkpoint-delete {
                    width: 32px;
                    height: 32px;
                    border-radius: 8px;
                    background: rgba(168, 85, 247, 0.1);
                    border: 1px solid rgba(168, 85, 247, 0.25);
                    color: #c4b5fd;
                    font-size: 0.85rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.2s;
                }

                .checkpoint-item .checkpoint-delete:hover {
                    background: rgba(239, 68, 68, 0.2);
                    border-color: rgba(239, 68, 68, 0.5);
                    color: #ef4444;
                }

                /* Empty state */
                .checkpoints-list .empty-message {
                    text-align: center;
                    color: #71717a;
                    padding: 30px;
                    font-size: 0.95rem;
                }


                /* Player Background - Different from page background */
                .unified-player {
                    background: #141418 !important;
                    /* Slightly lighter than #0a0a0c */
                    border: 1px solid rgba(255, 255, 255, 0.06) !important;
                    border-radius: 20px !important;
                    padding: 30px !important;
                    margin: 40px auto !important;
                    max-width: 1100px !important;
                }


                /* Fix: Modal uses .active class from JS, not .show */
                .checkpoints-modal.active {
                    display: flex !important;
                }


                /* Square cover image with rounded corners */
                .collection-container .cover-image-container {
                    aspect-ratio: 1 / 1 !important;
                    /* Cuadrado */
                    border-radius: 16px !important;
                    overflow: hidden !important;
                }

                .collection-container .main-cover-image {
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: cover !important;
                    aspect-ratio: 1 / 1 !important;
                }


                /* =========================================
   CONSISTENT WIDTH FOR ALL SECTIONS
   ========================================= */
                .collection-main-content,
                .unified-player,
                .audio-list-container,

                /* Remove extra padding from player since we added it above */
                .unified-player {
                    padding-top: 30px !important;
                    padding-bottom: 30px !important;
                }

                /* Audio list responsive */
                .audio-list-container {
                    display: flex !important;
                    gap: 15px !important;
                    overflow-x: auto !important;
                    padding-top: 20px !important;
                    padding-bottom: 20px !important;
                    margin-bottom: 40px !important;
                }

                /* ========================================
   MINI PLAYER FLOTANTE
   ======================================== */
                .mini-player {
                    position: fixed;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    z-index: 99999;
                    padding: 12px 16px;
                    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
                    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98) 0%, rgba(30, 30, 45, 0.98) 100%);
                    backdrop-filter: blur(20px);
                    -webkit-backdrop-filter: blur(20px);
                    border-top: 1px solid rgba(157, 78, 221, 0.3);
                    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5), 0 -2px 16px rgba(157, 78, 221, 0.2);
                    transform: translateY(100%);
                    opacity: 0;
                    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
                }

                .mini-player.visible {
                    transform: translateY(0);
                    opacity: 1;
                }

                .mini-player.hidden {
                    display: none;
                }

                .mini-player-content {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    max-width: 600px;
                    margin: 0 auto;
                }

                /* Imagen de la novela */
                .mini-player-cover {
                    width: 52px;
                    height: 52px;
                    min-width: 52px;
                    border-radius: 10px;
                    overflow: hidden;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(157, 78, 221, 0.2);
                    border: 2px solid rgba(157, 78, 221, 0.3);
                }

                .mini-player-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }

                /* Botón de Play/Pause */
                .mini-player-btn {
                    width: 48px;
                    height: 48px;
                    min-width: 48px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%);
                    border: none;
                    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.5);
                    cursor: pointer;
                    transition: all 0.3s ease;
                }

                .mini-player-btn:hover {
                    transform: scale(1.08);
                    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.7);
                }

                .mini-player-btn:active {
                    transform: scale(0.95);
                }

                .mini-player-btn i {
                    font-size: 18px;
                    color: #fff;
                    margin-left: 2px;
                }

                /* Info del capítulo */
                .mini-player-info {
                    flex: 1;
                    min-width: 0;
                    display: flex;
                    flex-direction: column;
                    gap: 2px;
                }

                /* Contenedor del título con efecto marquee */
                .mini-player-title-wrapper {
                    overflow: hidden;
                    position: relative;
                    width: 100%;
                }

                .mini-player-title {
                    display: inline-block;
                    white-space: nowrap;
                    font-size: 14px;
                    font-weight: 600;
                    color: #fff;
                    padding-right: 30px;
                }

                /* Clase para activar el marquee */
                .mini-player-title.marquee-active {
                    animation: marqueeScroll 6s linear;
                }

                @keyframes marqueeScroll {
                    0% {
                        transform: translateX(0);
                    }

                    10% {
                        transform: translateX(0);
                    }

                    90% {
                        transform: translateX(calc(-100% + 150px));
                    }

                    100% {
                        transform: translateX(calc(-100% + 150px));
                    }
                }

                /* Nombre del sitio */
                .mini-player-site {
                    font-size: 11px;
                    color: rgba(157, 78, 221, 0.9);
                    font-weight: 500;
                    letter-spacing: 0.5px;
                }

                /* Botón de cerrar */
                .mini-player-close {
                    width: 36px;
                    height: 36px;
                    min-width: 36px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: rgba(255, 255, 255, 0.08);
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    cursor: pointer;
                    transition: all 0.3s ease;
                }

                .mini-player-close:hover {
                    background: rgba(239, 68, 68, 0.2);
                    border-color: rgba(239, 68, 68, 0.4);
                }

                .mini-player-close i {
                    font-size: 14px;
                    color: #aaa;
                    transition: color 0.3s ease;
                }

                .mini-player-close:hover i {
                    color: #ef4444;
                }

                /* Responsive */
                @media (max-width: 480px) {
                    .mini-player {
                        padding: 10px 12px;
                        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
                    }

                    .mini-player-cover {
                        width: 46px;
                        height: 46px;
                        min-width: 46px;
                    }

                    .mini-player-btn {
                        width: 42px;
                        height: 42px;
                        min-width: 42px;
                    }

                    .mini-player-btn i {
                        font-size: 16px;
                    }

                    .mini-player-title {
                        font-size: 13px;
                    }

                    .mini-player-site {
                        font-size: 10px;
                    }
                }

                /* =========================================
   SIDE ADVERTISING BANNERS
   ========================================= */

                /* Premium Top Banner (~1100px width) */
                .premium-top-banner {
                    position: relative;
                    display: flex;
                    align-items: center;
                    width: 100%;
                    max-width: 1100px;
                    height: 80px;
                    /* Altura fija para consistencia */
                    margin: 20px auto 16px auto;
                    padding: 0;
                    text-decoration: none;
                    border-radius: 16px;
                    overflow: hidden;
                    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
                    transition: transform 0.2s ease, box-shadow 0.2s ease;
                    background-color: #1a1a1a;
                }

                .premium-top-banner::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-image: var(--banner-bg);
                    background-size: cover;
                    background-position: center;
                    filter: blur(8px) brightness(0.4);
                    z-index: 0;
                }

                .banner-overlay {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
                    z-index: 1;
                }

                .banner-inner {
                    position: relative;
                    z-index: 2;
                    display: flex;
                    align-items: center;
                    width: 100%;
                    height: 100%;
                    padding: 10px 20px;
                }

                .banner-mini-cover {
                    width: 48px;
                    height: 48px;
                    border-radius: 8px;
                    overflow: hidden;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
                    flex-shrink: 0;
                    margin-right: 16px;
                    border: 1px solid rgba(255, 255, 255, 0.2);
                }

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

                .banner-text-content {
                    display: flex;
                    flex-direction: column;
                    flex-grow: 1;
                    justify-content: center;
                }

                .banner-title {
                    color: #fff;
                    font-size: 1.1rem;
                    font-weight: 700;
                    line-height: 1.2;
                    margin-bottom: 2px;
                    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
                }

                .banner-subtitle {
                    color: rgba(255, 255, 255, 0.8);
                    font-size: 0.85rem;
                    font-weight: 400;
                }

                .banner-arrow {
                    color: rgba(255, 255, 255, 0.6);
                    font-size: 1.2rem;
                    margin-left: 10px;
                    transition: transform 0.2s ease, color 0.2s ease;
                }

                .premium-top-banner:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
                }

                .premium-top-banner:hover .banner-arrow {
                    color: #fff;
                    transform: translateX(4px);
                }

                @media (max-width: 1100px) {
                    .premium-top-banner {
                        width: calc(100% - 30px);
                        margin: 15px auto;
                        font-size: 0.9rem;
                    }
                }

                /* =========================================
   SLEEP POINT NAVIGATOR STYLES
   ========================================= */

                .sleep-point-section {
                    padding: 20px;
                    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
                    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                }

                .sleep-point-header {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    margin-bottom: 15px;
                    font-weight: 600;
                    color: #e2e8f0;
                    font-size: 1rem;
                }

                .sleep-point-icon {
                    font-size: 1.5rem;
                }

                .sleep-point-info {
                    padding: 10px 15px;
                    background: rgba(0, 0, 0, 0.3);
                    border-radius: 8px;
                    margin-bottom: 15px;
                    font-size: 0.9rem;
                    color: #a5b4fc;
                }

                .sleep-timeline-container {
                    margin-bottom: 15px;
                }

                .timeline-labels {
                    display: flex;
                    justify-content: space-between;
                    font-size: 0.8rem;
                    color: #71717a;
                    margin-bottom: 8px;
                }

                .sleep-timeline-slider {
                    width: 100%;
                    height: 8px;
                    -webkit-appearance: none;
                    appearance: none;
                    background: linear-gradient(90deg, #4c1d95 0%, #6366f1 50%, #a855f7 100%);
                    border-radius: 4px;
                    cursor: pointer;
                    outline: none;
                }

                .sleep-timeline-slider::-webkit-slider-thumb {
                    -webkit-appearance: none;
                    appearance: none;
                    width: 20px;
                    height: 20px;
                    background: #fff;
                    border-radius: 50%;
                    cursor: grab;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
                    border: 2px solid #a855f7;
                }

                .sleep-timeline-slider::-webkit-slider-thumb:active {
                    cursor: grabbing;
                    transform: scale(1.1);
                }

                .sleep-timeline-slider::-moz-range-thumb {
                    width: 20px;
                    height: 20px;
                    background: #fff;
                    border-radius: 50%;
                    cursor: grab;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
                    border: 2px solid #a855f7;
                }

                .timeline-markers {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 5px;
                    font-size: 0.7rem;
                    color: #52525b;
                }

                .sleep-point-actions {
                    display: flex;
                    gap: 10px;
                }

                .sleep-action-btn {
                    flex: 1;
                    padding: 12px 16px;
                    border-radius: 10px;
                    border: none;
                    font-weight: 600;
                    font-size: 0.9rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    transition: all 0.2s;
                }

                .sleep-action-btn:not(.secondary) {
                    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
                    color: #fff;
                }

                .sleep-action-btn:not(.secondary):hover {
                    transform: translateY(-2px);
                    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
                }

                .sleep-action-btn.secondary {
                    background: rgba(255, 255, 255, 0.08);
                    color: #a1a1aa;
                    border: 1px solid rgba(255, 255, 255, 0.1);
                }

                .sleep-action-btn.secondary:hover {
                    background: rgba(255, 255, 255, 0.12);
                    color: #e2e8f0;
                }

                .section-divider {
                    height: 1px;
                    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
                    margin: 0;
                }

                /* Sleep Point Prompt (floating indicator) */
                .sleep-point-prompt {
                    position: fixed;
                    bottom: 80px;
                    right: 20px;
                    padding: 12px 20px;
                    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(168, 85, 247, 0.95) 100%);
                    border-radius: 12px;
                    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
                    cursor: pointer;
                    z-index: 9999;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    color: #fff;
                    font-weight: 600;
                    font-size: 0.9rem;
                    animation: sleepPromptPulse 2s ease-in-out infinite;
                }

                @keyframes sleepPromptPulse {

                    0%,
                    100% {
                        transform: scale(1);
                    }

                    50% {
                        transform: scale(1.03);
                    }
                }

                .sleep-point-prompt:hover {
                    transform: scale(1.05);
                }

                .sleep-point-prompt .close-prompt {
                    background: rgba(255, 255, 255, 0.2);
                    border: none;
                    color: #fff;
                    border-radius: 50%;
                    width: 24px;
                    height: 24px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    margin-left: 5px;
                }

                /* =========================================
   CHECKPOINT TIMELINE NAVIGATOR STYLES
   ========================================= */

                .checkpoint-item-wrapper {
                    margin-bottom: 8px;
                }

                .checkpoint-item {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 14px 16px;
                    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
                    border: 1px solid rgba(168, 85, 247, 0.15);
                    border-radius: 12px;
                    transition: all 0.2s;
                }

                .checkpoint-item:hover {
                    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
                    border-color: rgba(168, 85, 247, 0.4);
                    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
                }

                .cp-main-row {
                    flex-grow: 1;
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                    gap: 12px;
                }

                .cp-expand-icon {
                    color: #8b5cf6;
                    font-size: 0.7rem;
                    transition: transform 0.3s ease;
                    margin-left: auto;
                    padding: 4px;
                }

                /* Timeline Panel (Expandable) - Premium Design */
                .cp-timeline-panel {
                    background: rgba(15, 15, 20, 0.95);
                    border: 1px solid rgba(168, 85, 247, 0.25);
                    border-radius: 12px;
                    padding: 20px;
                    margin-top: 8px;
                    animation: slideDown 0.25s ease-out;
                    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                        inset 0 1px 0 rgba(255, 255, 255, 0.05);
                }

                @keyframes slideDown {
                    from {
                        opacity: 0;
                        transform: translateY(-8px);
                    }

                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }

                .cp-timeline-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 16px;
                    padding-bottom: 12px;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
                }

                .cp-timeline-header span:first-child {
                    font-size: 0.85rem;
                    color: #a1a1aa;
                    font-weight: 500;
                }

                .cp-current-pos {
                    font-weight: 700;
                    color: #c4b5fd;
                    font-size: 1.2rem;
                    font-family: 'Inter', monospace;
                    background: linear-gradient(135deg, #6366f1, #a855f7);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                }

                .cp-timeline-slider-container {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    margin-bottom: 16px;
                    padding: 12px 16px;
                    background: rgba(0, 0, 0, 0.3);
                    border-radius: 10px;
                    border: 1px solid rgba(255, 255, 255, 0.04);
                }

                .cp-time-label {
                    font-size: 0.8rem;
                    color: #71717a;
                    min-width: 50px;
                    text-align: center;
                    font-weight: 500;
                }

                .cp-timeline-slider {
                    flex: 1;
                    height: 8px;
                    -webkit-appearance: none;
                    appearance: none;
                    background: linear-gradient(90deg, #312e81 0%, #4c1d95 50%, #6b21a8 100%);
                    border-radius: 4px;
                    cursor: pointer;
                    outline: none;
                    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
                }

                .cp-timeline-slider::-webkit-slider-thumb {
                    -webkit-appearance: none;
                    appearance: none;
                    width: 22px;
                    height: 22px;
                    background: linear-gradient(145deg, #fff 0%, #e2e8f0 100%);
                    border-radius: 50%;
                    cursor: grab;
                    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4),
                        0 0 0 3px rgba(168, 85, 247, 0.3);
                    border: none;
                    transition: box-shadow 0.2s;
                }

                .cp-timeline-slider::-webkit-slider-thumb:hover {
                    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5),
                        0 0 0 4px rgba(168, 85, 247, 0.5);
                }

                .cp-timeline-slider::-webkit-slider-thumb:active {
                    cursor: grabbing;
                    transform: scale(1.1);
                }

                .cp-timeline-slider::-moz-range-thumb {
                    width: 22px;
                    height: 22px;
                    background: linear-gradient(145deg, #fff 0%, #e2e8f0 100%);
                    border-radius: 50%;
                    cursor: grab;
                    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4),
                        0 0 0 3px rgba(168, 85, 247, 0.3);
                    border: none;
                }

                .cp-timeline-actions {
                    display: flex;
                    justify-content: center;
                }

                .cp-action-btn {
                    padding: 12px 32px;
                    border-radius: 10px;
                    border: none;
                    font-weight: 600;
                    font-size: 0.9rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    transition: all 0.2s;
                    letter-spacing: 0.3px;
                }

                .cp-action-btn.primary {
                    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
                    color: #fff;
                    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
                }

                .cp-action-btn.primary:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
                }

                .cp-action-btn.primary:active {
                    transform: translateY(0);
                }

                /* Playback Controls Row */
                .cp-playback-controls {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 16px;
                    margin-bottom: 16px;
                    padding: 12px 0;
                }

                .cp-control-btn {
                    width: 44px;
                    height: 44px;
                    border-radius: 50%;
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    background: rgba(255, 255, 255, 0.05);
                    color: #d4d4d8;
                    cursor: pointer;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 2px;
                    transition: all 0.2s;
                    font-size: 0.9rem;
                }

                .cp-control-btn span {
                    font-size: 0.6rem;
                    font-weight: 600;
                }

                .cp-control-btn:hover {
                    background: rgba(168, 85, 247, 0.2);
                    border-color: rgba(168, 85, 247, 0.4);
                    color: #fff;
                    transform: scale(1.08);
                }

                .cp-control-btn:active {
                    transform: scale(0.95);
                }

                .cp-control-btn.cp-play-btn {
                    width: 56px;
                    height: 56px;
                    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
                    border: none;
                    color: #fff;
                    font-size: 1.1rem;
                    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
                }

                .cp-control-btn.cp-play-btn:hover {
                    transform: scale(1.1);
                    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
                }

                /* ========================================
   SLEEP TIMER STYLES
   ======================================== */

                /* Active Timer Button State */
                #sleepTimerBtn.active-timer {
                    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
                    border-color: rgba(96, 165, 250, 0.5) !important;
                    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
                    animation: pulse-glow 2s ease-in-out infinite;
                }

                @keyframes pulse-glow {

                    0%,
                    100% {
                        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
                    }

                    50% {
                        box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
                    }
                }

                /* Custom Timer Option (Gear Icon) */
                .sleep-timer-divider {
                    height: 1px;
                    background: rgba(255, 255, 255, 0.1);
                    margin: 4px 0;
                }

                .sleep-timer-option.set-from-bar {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                    padding: 10px 12px;
                    font-size: 0.85rem;
                    color: #9ca3af;
                    transition: all 0.2s;
                }

                .sleep-timer-option.set-from-bar i {
                    font-size: 0.9rem;
                }

                .sleep-timer-option.set-from-bar:hover {
                    color: #60a5fa;
                }

                .sleep-timer-option.set-from-bar.active {
                    background: rgba(96, 165, 250, 0.15);
                    color: #60a5fa;
                    border-left: 2px solid #60a5fa;
                }

                /* Timer Bar Mode - Progress bar styling when setting timer */
                .progress-bar.timer-mode {
                    background: linear-gradient(90deg,
                            rgba(59, 130, 246, 0.5) 0%,
                            rgba(147, 51, 234, 0.5) 50%,
                            rgba(59, 130, 246, 0.5) 100%) !important;
                    box-shadow:
                        0 0 25px rgba(59, 130, 246, 0.6),
                        0 0 50px rgba(147, 51, 234, 0.4),
                        inset 0 0 10px rgba(96, 165, 250, 0.4) !important;
                    cursor: crosshair !important;
                    animation: timer-bar-pulse 1s ease-in-out infinite;
                    border: 2px solid rgba(96, 165, 250, 0.8) !important;
                    border-radius: 10px !important;
                    transform-origin: center;
                }

                .progress-bar.timer-mode .progress-fill {
                    background: linear-gradient(90deg,
                            rgba(96, 165, 250, 0.9) 0%,
                            rgba(168, 85, 247, 0.9) 100%) !important;
                }

                .progress-bar.timer-mode .progress-handle {
                    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
                    box-shadow: 0 0 20px rgba(96, 165, 250, 1), 0 0 40px rgba(96, 165, 250, 0.7) !important;
                    animation: timer-handle-pulse 0.6s ease-in-out infinite;
                }

                @keyframes timer-handle-pulse {

                    0%,
                    100% {
                        transform: translate(-50%, -50%) scale(1);
                    }

                    50% {
                        transform: translate(-50%, -50%) scale(1.4);
                    }
                }

                .progress-bar.timer-mode::before {
                    content: '';
                    position: absolute;
                    inset: 0;
                    border: 2px solid rgba(96, 165, 250, 0.5);
                    border-radius: inherit;
                    animation: timer-bar-glow 1.5s ease-in-out infinite;
                }

                @keyframes timer-bar-pulse {

                    0%,
                    100% {
                        transform: scaleY(1);
                    }

                    50% {
                        transform: scaleY(1.15);
                    }
                }

                @keyframes timer-bar-glow {

                    0%,
                    100% {
                        border-color: rgba(96, 165, 250, 0.3);
                    }

                    50% {
                        border-color: rgba(96, 165, 250, 0.7);
                    }
                }

                /* ========================================
   SLEEP POINT SECTION (in Modal)
   ======================================== */
                .sleep-point-section {
                    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
                    border: 1px solid rgba(96, 165, 250, 0.25);
                    border-radius: 16px;
                    padding: 20px;
                    margin-bottom: 16px;
                }

                .sleep-point-header {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    margin-bottom: 16px;
                    font-weight: 600;
                    color: #fff;
                    font-size: 1rem;
                }

                .sleep-point-icon {
                    font-size: 1.4rem;
                }

                .sleep-point-info {
                    margin-bottom: 20px;
                    text-align: center;
                }

                /* Sleep Timeline Container */
                .sleep-timeline-container {
                    padding: 10px 0 20px;
                }

                .timeline-labels {
                    display: flex;
                    justify-content: space-between;
                    font-size: 0.85rem;
                    color: #a1a1aa;
                    margin-bottom: 10px;
                    font-weight: 500;
                }

                .sleep-timeline-slider {
                    width: 100%;
                    -webkit-appearance: none;
                    appearance: none;
                    height: 10px;
                    background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.5));
                    border-radius: 8px;
                    cursor: pointer;
                }

                .sleep-timeline-slider::-webkit-slider-thumb {
                    -webkit-appearance: none;
                    appearance: none;
                    width: 24px;
                    height: 24px;
                    background: linear-gradient(145deg, #60a5fa 0%, #3b82f6 100%);
                    border-radius: 50%;
                    cursor: grab;
                    border: 3px solid #fff;
                    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.5);
                }

                .sleep-timeline-slider::-moz-range-thumb {
                    width: 24px;
                    height: 24px;
                    background: linear-gradient(145deg, #60a5fa 0%, #3b82f6 100%);
                    border-radius: 50%;
                    cursor: grab;
                    border: 3px solid #fff;
                    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.5);
                }

                /* Sleep Point Actions */
                .sleep-point-actions {
                    display: flex;
                    gap: 12px;
                    justify-content: center;
                    flex-wrap: wrap;
                }

                .sleep-action-btn {
                    padding: 12px 24px;
                    border-radius: 10px;
                    border: none;
                    font-weight: 600;
                    font-size: 0.9rem;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    transition: all 0.2s;
                    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
                    color: #fff;
                    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
                }

                .sleep-action-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
                }

                .sleep-action-btn.secondary {
                    background: rgba(239, 68, 68, 0.1);
                    border: 1px solid rgba(239, 68, 68, 0.3);
                    color: #f87171;
                    box-shadow: none;
                }

                .sleep-action-btn.secondary:hover {
                    background: rgba(239, 68, 68, 0.2);
                    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
                }

                /* Section Divider */
                .section-divider {
                    height: 1px;
                    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
                    margin: 20px 0;
                }