@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
.ytplayer_container {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

#mplay_limits {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 9998;
    pointer-events: none;
}

#mplay_limits > * { pointer-events: auto; }

#mplayer {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    z-index: 9999;
    min-width: 240px;
    cursor: grab;
    user-select: none;
    width: 350px;
    height: 210px;
    justify-content: center;

    border-radius: var(--radius-2xl);
    background: radial-gradient(circle at center, rgba(0,0,0,0.5) 90%, rgba(255, 170, 0, 0.3) 100%);
    border: 1px solid var(--glass-brd);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(10px) saturate(70%);
    -webkit-backdrop-filter: blur(10px) saturate(70%);
}

#mplayer-btns {
    display: flex;
    gap: 8px;
}

#mplayer-btns button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

#mplayer-btns button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

#\:prog {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

#\:bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.9);
    transition: width 0.1s linear;
}

.mplayer-title {
    color: white;
    font-family: "IBM Plex Mono";
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: show;
    max-width: 220px;
}

#mute {
    position: absolute;
    right: 15px;
}