
/* SpookjeRadio Player - Compact */

.spookje-player {
    width: 100%;
    max-width: 100%;
    margin: 14px auto;
    padding: 16px 18px;
    background: linear-gradient(135deg, #171323, #251737);
    border: 1px solid rgba(183, 130, 255, .2);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    overflow: hidden;
}

.sp-player-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sp-player-cover {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #39264e;
}

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

.sp-player-info {
    flex: 1;
    min-width: 0;
}

.sp-player-station {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #c6a0f4;
}

.sp-live-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: #ff425f;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff425f;
    animation: sp-pulse 1.5s infinite;
}

.sp-live-label {
    padding: 3px 6px;
    background: #e83c61;
    color: white;
    border-radius: 4px;
    font-size: 8px;
}

.sp-track-title {
    margin-top: 7px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    overflow-wrap: anywhere;
}

.sp-dj-info {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    font-size: 11px;
    color: #c5b8d5;
    line-height: 1.3;
}

.sp-dj-info img {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    object-fit: cover;
}

.sp-player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.sp-play-button {
    width: 47px;
    height: 47px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #a65be9, #7136b5);
    color: white;
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(155, 80, 225, .3);
    transition: transform .2s, box-shadow .2s;
}

.sp-play-button:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 20px rgba(155, 80, 225, .5);
}

.sp-volume {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.sp-volume input {
    width: 65px;
    accent-color: #b678f1;
    cursor: pointer;
}

.sp-player-history {
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.sp-history-heading {
    margin-bottom: 7px;
    color: #b78be3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

#sp-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sp-history-item {
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(255,255,255,.055);
    color: #d3c7df;
    font-size: 10px;
    line-height: 1.4;
}

@keyframes sp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@media (max-width: 600px) {
    .spookje-player {
        padding: 13px;
    }

    .sp-player-main {
        gap: 11px;
    }

    .sp-player-cover {
        width: 65px;
        height: 65px;
    }

    .sp-track-title {
        font-size: 14px;
        margin-top: 5px;
    }

    .sp-player-controls {
        gap: 6px;
    }

    .sp-play-button {
        width: 43px;
        height: 43px;
    }

    .sp-volume input {
        width: 55px;
    }

    .sp-player-history {
        margin-top: 11px;
        padding-top: 9px;
    }

    .sp-history-item {
        font-size: 10px;
    }
}


/* SpookjeRadio - Nieuwe uitlijning */

.sp-player-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sp-player-cover {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
}

.sp-player-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.sp-player-station {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.sp-player-station .sp-live-dot {
    width: 7px;
    height: 7px;
}

.sp-nonstop .sp-player-station {
    color: #b78be3;
}

.sp-nonstop .sp-live-dot {
    background: #a66be0;
    box-shadow: 0 0 8px #a66be0;
    animation: none;
}

.sp-live-dj .sp-player-station {
    color: #77df9b;
}

.sp-live-dj .sp-live-dot {
    background: #38d879;
    box-shadow: 0 0 9px #38d879;
}

.sp-track-title {
    margin-top: 0;
    text-align: left;
    font-size: 17px;
    line-height: 1.35;
}

.sp-player-controls {
    flex-shrink: 0;
    margin-left: 12px;
}

/* Geschiedenis */

.sp-player-history {
    margin-top: 15px;
    padding-top: 12px;
}

.sp-history-heading {
    margin-bottom: 9px;
}

#sp-history-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
}

.sp-history-item {
    min-width: 0;
    padding: 7px 9px;
    border-radius: 6px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.045);
    color: #d3c7df;
    font-size: 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .sp-player-main {
        gap: 12px;
    }

    .sp-player-cover {
        width: 65px;
        height: 65px;
    }

    .sp-track-title {
        font-size: 14px;
    }

    .sp-player-controls {
        margin-left: 0;
    }

    #sp-history-list {
        grid-template-columns: 1fr;
    }
}

.sp-volume button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    line-height: 1;
}

.sp-volume button:hover {
    opacity: 0.75;
}

.sp-volume button:focus-visible {
    outline: 2px solid #b78be3;
    outline-offset: 4px;
    border-radius: 3px;
}

/* NONSTOP - oranje */
#spookje-player.sp-nonstop #sp-dj-name {
    color: #ff9800 !important;
}

/* DJ LIVE - groen */
#spookje-player.sp-live-dj #sp-dj-name {
    color: #b982ff !important;
}