.start-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: opacity 0.5s ease;
}

.start-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.start-inner {
    text-align: center;
    padding: 40px;
    animation: pulse 2.4s ease-in-out infinite;
}

.start-inner i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.start-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.start-sub {
    font-size: 0.85rem;
    opacity: 0.65;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.06); opacity: 1; }
}

.dashboard-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    font-size: 1.2rem;
}

.dashboard-fab:hover {
    transform: rotate(45deg) scale(1.05);
    color: var(--accent);
}

.music-player {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.mp-cover {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--rainbow);
    background-size: 200% auto;
    animation: rainbow_move 4s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: none;
    padding: 0;
    cursor: default;
}

.music-player.collapsed .mp-cover {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--glass-border);
    transition: transform 0.3s;
}

.music-player.collapsed .mp-cover:hover {
    transform: scale(1.06);
}

.mp-cover .mp-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.music-player.collapsed.playing .mp-cover {
    animation: mp_spin 6s linear infinite;
}

.music-player.collapsed.playing .mp-cover .mp-ring {
    opacity: 0.7;
    animation: mp_pulse 1.6s ease-out infinite;
}

@keyframes mp_spin {
    to { transform: rotate(360deg); }
}

@keyframes mp_pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.35); opacity: 0; }
}

.mp-body {
    flex: 1;
    min-width: 0;
}

.mp-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.mp-title {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-time {
    font-size: 0.7rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.mp-progress {
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    margin: 6px 0;
    cursor: pointer;
    overflow: hidden;
}

.mp-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--rainbow);
    background-size: 200% auto;
    animation: rainbow_move 4s linear infinite;
    transition: width 0.15s linear;
}

.mp-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mp-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.mp-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mp-btn.active {
    color: var(--accent);
    border-color: var(--accent);
}

.mp-play {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.mp-play:hover {
    background: #fff;
}

.mp-vol {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 0.7rem;
    opacity: 0.85;
}

.mp-vol input[type="range"] {
    width: 70px;
    accent-color: var(--accent);
}

.mp-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 520px) {
    .music-player:not(.collapsed) {
        left: 10px;
        right: 10px;
        width: auto;
    }

    .mp-vol {
        display: none;
    }
}
