
#enfoque-v4-wrapper {
    --enfoque-blue: #004067;
    --enfoque-orange: #F58220;
    --enfoque-secondary: #177aa2;
    --enfoque-dark: #002d4b;
}

#enfoque-v4-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background: var(--enfoque-dark);
    color: white;
    z-index: 9999999;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Montserrat', Arial, sans-serif;
}

#enfoque-v4-bar.hidden { transform: translateY(100%); }

.enfoque-container {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.enfoque-info-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.enfoque-live-indicator {
    background: #ff3b3b;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: blink 2s infinite;
    flex-shrink: 0;
}

.enfoque-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#enfoque-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--enfoque-orange);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
}

#enfoque-artist {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
}

.enfoque-controls-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.main-play {
    background: var(--enfoque-orange);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.main-play:hover {
    background: var(--enfoque-secondary);
    transform: scale(1.05);
}

.main-play svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.enfoque-volume-wrap {
    display: flex;
    align-items: center;
}

#enfoque-vol { 
    accent-color: var(--enfoque-orange); 
    width: 80px;
    cursor: pointer;
}

/* FIX: BOTÓN CERRAR CENTRADO */
.ctrl-btn-close {
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex; /* Flexbox para alineación exacta */
    justify-content: center;
    align-items: center;
    padding: 0;
    line-height: 1;
    transition: background 0.2s;
}

.ctrl-btn-close:hover { background: var(--enfoque-secondary); }

/* Botón Flotante */
#enfoque-v4-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    z-index: 9999998;
    cursor: pointer;
    display: none;
}

#enfoque-v4-bar.hidden + #enfoque-v4-floating {
    display: flex;
    justify-content: center;
    align-items: center;
}

.enfoque-float-content {
    background: var(--enfoque-orange);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    position: relative;
    z-index: 2;
    transition: background 0.3s;
}

.enfoque-float-content:hover { background: var(--enfoque-secondary); }

.enfoque-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--enfoque-orange);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

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

/* RESPONSIVE: Mostrar EN VIVO y Título */
@media (max-width: 600px) {
    #enfoque-v4-bar { height: 75px; }
    .enfoque-container { width: 95%; gap: 5px; }
    
    /* El indicador permanece visible */
    .enfoque-live-indicator { 
        padding: 3px 6px; 
        font-size: 8px; 
    }
    
    #enfoque-title { font-size: 12px; max-width: 140px; }
    #enfoque-artist { font-size: 9px; }
    
    .enfoque-volume-wrap { display: none; }
    
    .main-play { width: 48px; height: 48px; }
    .main-play svg { width: 22px; height: 22px; }
    
    .ctrl-btn-close { width: 28px; height: 28px; font-size: 14px; }
}
