/* =========================
   MELOMANAS PLAYER
========================= */

body {
    padding-bottom: 100px;
}

/* ================= CONTAINER ================= */

.mel-player {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    max-width: 90%;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 16px 28px;

    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);

    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.08);

    z-index: 9999;
}

.hidden {
    display: none !important;
}

/* ================= COVER ================= */

.mp-cover {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
}

/* ================= TITLE (FONT ONLY HERE) ================= */

.mel-player .mp-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 1px;
    color: rgba(255,245,230,0.95);
    min-width: 220px;
}

/* ================= TIME ================= */

#mpCurrent,
#mpDuration {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ================= PROGRESS ================= */

#mpProgress {
    flex: 1;
    appearance: none;
    height: 2px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

#mpProgress::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

/* ================= BUTTONS ================= */

.mp-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* ================= VOLUME ================= */

#mpVolume {
    width: 90px;
    appearance: none;
    height: 2px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

#mpVolume::-webkit-slider-thumb {
    appearance: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
}