/* ==========================================================================
   FLOATING MINI PLAYER & GLASS DOCK
   ========================================================================== */

/* Floating Mini Player Bar */
.mini-player {
    position: fixed;
    bottom: 82px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: calc(100% - 24px);
    max-width: 500px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(10, 16, 26, 0.92));
    backdrop-filter: blur(34px) saturate(190%);
    -webkit-backdrop-filter: blur(34px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.65), inset 0 1px 0 var(--rim);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s var(--ease-out), opacity 0.2s, border-color 0.2s;
    animation: miniSlideUp 0.3s var(--ease-out);
}

@keyframes miniSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mini-player:hover {
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 230, 118, 0.2);
}

.mini-player:active {
    transform: translateX(-50%) scale(0.98);
}

.mini-player.hidden {
    display: none !important;
}

/* Bottom Progress Bar on Mini Player */
.mini-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.mini-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    box-shadow: 0 0 8px var(--c1);
    transition: width 0.1s linear;
}

.mini-player img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mini-meta strong, .mini-meta span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-meta strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
}

.mini-meta span {
    font-size: 0.72rem;
    color: var(--dim);
    margin-top: 2px;
}

.mini-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s, transform 0.18s var(--ease-spring);
}

.mini-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.1);
    color: var(--c1);
}

.mini-btn:active {
    transform: scale(0.92);
}

/* ==========================================================================
   Floating Frosted Glass Dock with Luminous Spotlight
   ========================================================================== */
.glass-dock {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: calc(100% - 24px);
    max-width: 500px;
    height: 62px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(7, 12, 20, 0.94));
    backdrop-filter: blur(36px) saturate(200%);
    -webkit-backdrop-filter: blur(36px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), inset 0 1px 0 var(--rim);
    border-radius: 99px;
    padding: 0 6px;
}

.dock-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 14px;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, transform 0.2s var(--ease-spring);
}

.dock-btn small {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dock-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.dock-btn:active {
    transform: scale(0.92);
}

.dock-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dock-btn.active svg {
    color: var(--c1);
}