/* Ana konteyner: Mobil öncelikli modern görünüm */
#mip-player-container.mip-player-inline {
    width: 100%;
    max-width: 600px; 
    margin: 15px auto; 
    background-color: #1a1a1a; 
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-radius: 14px; 
    padding: 15px; 
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.mip-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 1. Çalma/Durdurma Butonu */
.mip-button {
    background: #007bff; 
    border: none;
    color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.1s;
    flex-shrink: 0;
}
.mip-button:hover {
    background-color: #0056b3;
}
.mip-button:active {
    transform: scale(0.95);
}

/* 2. Bilgi Alanı */
.mip-info {
    flex-grow: 1;
    text-align: left;
    min-width: 0; 
}

.mip-title-row { 
    display: flex;
    align-items: center;
    gap: 8px; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.1em;
}

.mip-channel-name {
    font-size: 1em;
    font-weight: 700;
    color: #eeeeee;
}

/* Durum göstergesi */
#mip-status {
    font-size: 0.8em;
    font-weight: 500;
    margin-top: 2px;
    display: block; 
}
.mip-playing {
    color: #2ecc71; 
}
.mip-paused, .mip-loading {
    color: #ffc107; 
}


/* CANLI YAYIN GÖSTERGESİ (PULSE ANİMASYONU) */
.mip-live-dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71; 
    border-radius: 50%;
    display: inline-block;
    opacity: 0; 
    flex-shrink: 0;
}

.mip-live-dot.is-playing {
    opacity: 1;
    animation: pulse-live 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1); 
}

@keyframes pulse-live {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
    }
    100% {
        transform: scale(1.6);
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
}

/* 3. Ses Kontrolü (Masaüstü/Tablet Görünümü) */
.mip-volume {
    display: flex;
    align-items: center;
    width: 150px;
    flex-shrink: 0;
    padding-left: 10px;
}
.mip-volume .volume-icon {
    font-size: 1.2em;
    margin-right: 8px;
    color: #cccccc;
}

#mip-volume-slider {
    width: 100%;
    height: 6px;
    cursor: pointer;
    -webkit-appearance: none;
    background: #3a3a3a;
    border-radius: 3px;
    outline: none;
}
#mip-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

/* MOBİL GÖRÜNÜM AYARLARI */
@media (max-width: 650px) {
    /* Mobil cihazlarda ses sürgüsünü tamamen gizle */
    .mip-desktop-only {
        display: none !important; 
    }
    
    #mip-player-container.mip-player-inline {
        padding: 10px 15px; 
    }
    .mip-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}