@font-face {
    font-family: 'Autonomous';
    src: url('/assets/fonts/Autonomous.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Autonomous';
    src: url('/assets/fonts/AutonomousExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Akira';
    src: url('/assets/fonts/akira.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Autonomous', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #0c161a;
    color: #fff;
}

.player-bg-blur {
    position: fixed;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.7);
    transform: scale(1.1);
    z-index: -2;
    transition: background-image 0.5s ease-in-out;
}

.player-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: -1;
    transition: background-color 0.8s ease;
}

.player-container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    overflow: hidden;
}

.menu-btn {
    position: absolute;
    top: 20px;
    left: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 37px;
    height: 37px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: background 0.2s, transform 0.1s;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border: none !important;
    box-shadow: none !important;
}

.history-sidebar {
    position: absolute;
    top: 0;
    left: -820px; 
    width: 800px;
    height: 100%;
    background: rgb(0 0 0 / 78%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    transition: left 0.3s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.history-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    font-style: italic;
}

.close-sidebar {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.close-sidebar:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    transition: background-color 0.2s ease;
    border-radius: 6px; 
}

.history-item:hover {
    background-color: rgba(255, 255, 255, 0.08); 
}

.history-item img {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.history-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.history-info h4 {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    font-style: italic;
    text-transform: uppercase;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-info p {
    font-size: 11px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Montserrat', sans-serif;
}

.history-list {
    overflow-y: auto;
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
    scrollbar-width: thin; 
    scrollbar-color: transparent transparent; 
    transition: scrollbar-color 0.3s ease;
}

.history-list:hover {
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(0, 0, 0, 0.1);
}

.history-list::-webkit-scrollbar {
    width: 4px; 
}

.history-list::-webkit-scrollbar-track {
    background: transparent;
}

.history-list::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.history-list:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); 
}

.history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4); 
}

.player-main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    width: 100%;          
    max-width: 600px;     
    margin: 0 auto;         
    transition: transform 0.3s ease;
}

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

.station-status-text {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
}

.station-status-text.is-live {
    display: inline-block !important;
    width: fit-content !important;     
    background-color: #e53e3e;         
    color: #ffffff !important;         
    padding: 1px 9px;                  
    border-radius: 4px;                
    font-weight: 600;
    animation: pulse 1.5s infinite;    
}

.album-art {
    width: 320px;
    height: 320px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-art:hover {
    transform: scale(1.03); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); 
}

.album-cover-transition {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.live-badge {
    background: #f51e1e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
    text-transform: uppercase;
}

.song-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: 'Montserrat';
    margin-bottom: 4px;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 14px;
    margin-bottom: 25px;
    width: 100%;     
    transition: color 0.8s ease;         
    color: #94a3b8; 
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 33px;
    margin-top: 15px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn.play-main {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 20px rgb(0 0 0 / 40%);
}

.control-btn.play-main:hover {
    background: #e8e8e8;
}

.social-links {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 100;
}

.social-icon {
    width: 43px;
    height: 43px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: scale(1.18);
    background: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.lyrics-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lyrics-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lyrics-modal-content {
    background: rgba(13, 22, 27, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    color: #fff;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lyrics-modal-overlay.open .lyrics-modal-content {
    transform: scale(1);
}

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

.lyrics-modal-header h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 15px;
}

.close-lyrics-modal {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-lyrics-modal:hover {
    color: #fff;
}

.lyrics-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e0;
    text-align: center;
    white-space: pre-line;
}

.volume-container {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider-wrapper {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    background: rgba(13, 22, 27, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 10px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 100;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-container:hover .volume-slider-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.volume-slider-wrapper input[type=range] {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 8px; 
    height: 100px; 
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.volume-slider-wrapper input[type=range]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px; 
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.volume-slider-wrapper input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff3366;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(255, 51, 102, 0.6);
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080e12; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-content h2 {
    color: #ffffff;
    font-family: 'Autonomous', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 15px;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
    margin-bottom: 5px;
}

.equalizer span {
    display: block;
    width: 6px;
    height: 100%;
    background-color: #3ae26d; 
    animation: equalize 0.8s ease-in-out infinite alternate;
}

.equalizer span:nth-child(1) { animation-delay: 0.1s; }
.equalizer span:nth-child(2) { animation-delay: 0.3s; }
.equalizer span:nth-child(3) { animation-delay: 0.2s; }
.equalizer span:nth-child(4) { animation-delay: 0.4s; }

@keyframes equalize {
    0% { height: 20%; }
    100% { height: 100%; }
}

.multiradio-sidebar {
    position: absolute;
    top: 0;
    right: -370px; 
    width: 350px;
    height: 100%;
    background: rgb(0 0 0 / 78%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-left: 1px solid rgba(255,255,255,0.05);
}

.multiradio-sidebar.open {
    right: 0 !important;
}

.multiradio-sidebar ul {
    overflow-y: auto;
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
    scrollbar-width: thin; 
    scrollbar-color: transparent transparent; 
    transition: scrollbar-color 0.3s ease;
}

.multiradio-sidebar ul:hover {
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(0, 0, 0, 0.1);
}

.multiradio-sidebar ul::-webkit-scrollbar {
    width: 4px; 
}

.multiradio-sidebar ul::-webkit-scrollbar-track {
    background: transparent;
}

.multiradio-sidebar ul::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.multiradio-sidebar ul:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2); 
}

.multiradio-sidebar ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4); 
}

/* Barra de progreso por defecto (Escritorio: abajo del contenedor) */
.player-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    transition: background-color 0.8s ease;
}

.player-progress-bar {
    height: 100%;
    width: 0%;
    background: #ffffff;
    transition: width 0.4s linear, background-color 0.8s ease;
}

.suspended-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #0c161a;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.suspended-card {
    background: #121c24;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255,255,255,0.05);
}

.suspended-card h2 {
    color: #22c55e;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.suspended-card p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 25px;
}

.suspended-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#radioName, #songTitle, #songArtist, .menu-btn, .control-btn, .social-icon {
    transition: color 0.8s ease, background-color 0.8s ease, border-color 0.8s ease;
}

.multiradio-btn {
    position: absolute;
    top: 20px;
    right: 20px; 
    background: #ffffff26;
    cursor: pointer;
    color: #fff;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.multiradio-btn span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: none;
}

.multiradio-btn.tv-btn {
    right: 166px; 
    padding: 10px;
    gap: 0;
}

.multiradio-btn:hover {
    background: #ffffff3b;
}

.install-buttons {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.install-buttons.is-active {
    display: flex;
}

.install-buttons-wrapper {
    animation: 0.5s zoomInBounce;
    font-family: 'Autonomous', sans-serif;
    position: relative;
    border-radius: 1rem;
    max-width: 600px;
    text-align: center;
    padding: 2rem;
    color: #fff;
    background-color: var(--bg-modal, rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(1rem);
    box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}

.install-buttons-wrapper h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.install-buttons-wrapper p {
    font-size: 1rem;
    font-weight: 200;
    font-family: 'Montserrat';
    margin-bottom: 1rem;
}

.close-install {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
    box-shadow: none; 
}

.btn {
    background-color: var(--btn-bg, rgba(255, 255, 255, 0.15));
    color: var(--btn-color, #fff);
    padding: var(--btn-padding, 0.75rem 1rem);
    font-size: var(--btn-fs, 0.875rem);
    transition-property: box-shadow, background-color, color;
    transition-duration: var(--duration);
    display: inline-flex;
    align-items: center;
    column-gap: var(--icon-gap, 0.5rem);
    line-height: 1.5;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    border: none;
    box-shadow: none; 
}

.history-time svg {
    width: 10px;
    height: 10px;
    margin-right: 4px;
}

/* ==========================================================================
   MEDIA QUERIES - ESCRITORIO (min-width: 769px)
   ========================================================================== */
@media (min-width: 769px) {
    body.history-open .player-main {
        transform: translateX(275px);
    }

    .history-item {
        display: flex;
        align-items: center;
        position: relative;
        padding-right: 20px;
    }

    .history-info {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .history-time {
        position: absolute;
        right: 10px; 
        font-family: 'Montserrat', sans-serif;
        background-color: rgba(255, 255, 255, 0.03);
        padding: 8px 16px; 
        border-radius: 40px;
    }
}

/* ==========================================================================
   MEDIA QUERIES - MÓVIL (max-width: 768px) [AGRUPADAS CORRECTAMENTE]
   ========================================================================== */
@media (max-width: 768px) {
    body {
        overflow: hidden;
        height: 100vh;
    }

    .player-container {
        flex-direction: column;
        justify-content: center;
        padding: 60px 15px 20px 15px;
        height: 100vh;
        overflow: hidden;
    }

    .player-main {
        padding: 0 20px;
        margin-top: -80px; 
    }

    .album-art {
        width: 260px;
        height: 260px;
        margin-bottom: 15px;
    }

    .song-title {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        line-height: 1.3; 
    }

    .song-artist {
        font-size: 13px;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        line-height: 1.3;
    }

    .social-links {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }



	
    .history-sidebar {
        width: 85%;
        max-width: 300px;
        height: 100vh;
    }

    .history-list {
        padding-bottom: 40px; 
    }

    .multiradio-sidebar {
        width: 85%;
        max-width: 300px;
        height: 100vh;
    }


    .player-progress-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 0;
        overflow: hidden;
    }

    .player-progress-bar {
        height: 100%;
        width: 0%;
        background: #ffffff;
        transition: width 0.4s linear, background-color 0.8s ease;
    }
}

/* ==========================================================================
   MEDIA QUERIES - DISPOSITIVOS MUY PEQUEÑOS (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .preloader-content h2 {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
}




.tv-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tv-modal-overlay.active { opacity: 1; visibility: visible; }

.tv-modal-container {
    width: 92%;
    max-width: 950px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    border: 0px solid rgba(255, 255, 255, 0.1);
}

.custom-video-player {
    position: relative; width: 100%; aspect-ratio: 16/9;
    background: #000; display: flex; align-items: center; justify-content: center;
}
.custom-video-player video { width: 100%; height: 100%; object-fit: contain; outline: none; }


.tv-close-absolute {
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.6); border: none;
    color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: background 0.2s, opacity 0.3s ease;
}
.tv-close-absolute:hover { background: rgba(229, 62, 62, 0.9); }


.video-overlay-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 12px 15px; display: flex; align-items: center; gap: 10px;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 75%, transparent 100%);
    transition: opacity 0.3s ease; z-index: 5; box-sizing: border-box;
}


.ctrl-box-btn {
    background: #000000db;
    border: 1px solid rgb(255 255 255 / 0%);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.ctrl-box-btn:hover { background: #7c3aed }


.controls-unified-group {
    flex-grow: 1;
    background: #000000db;
    border-radius: 6px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}


.tv-badge-live {
font-family: 'Montserrat', sans-serif;
    background: #e53e3e; color: #fff; padding: 2px 8px; border-radius: 3px;
    font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 5px;
    letter-spacing: 0.5px; flex-shrink: 0;
}
.live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulseLive 1.5s infinite; }
@keyframes pulseLive { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }


.timeline-container {
    flex-grow: 1; height: 5px; background: rgba(255,255,255,0.2);
    border-radius: 3px; position: relative; cursor: pointer;
}
.timeline-progress {
    width: 100%; height: 100%; background: linear-gradient(90deg, var(--nlv-badge-bg, #e53e3e), var(--color-primary, #7c3aed)); border-radius: 3px; position: relative;
}


.time-display {
    color: #fff; font-family: monospace; font-size: 12px; white-space: nowrap; flex-shrink: 0;
}


.ctrl-icon-btn {
    background: transparent; border: none; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 4px;
    transition: color 0.2s; flex-shrink: 0;
}
.ctrl-icon-btn:hover { color: #7c3aed; }


.custom-video-player.inactive .video-overlay-bottom,
.custom-video-player.inactive .tv-close-absolute {
    opacity: 0; pointer-events: none;
}




