

#universe-music {

    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 999;

    color: var(--cream);
}

#music-toggle {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 20px;

    font-size: 11px;

    letter-spacing: 3px;

    border-radius: 50px;

    background: #14291fee;

    border: 1px solid #dfc18a60;

    box-shadow: 0 8px 30px #0005;
}

#vinyl {

    display: grid;

    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #111;

    border: 5px solid #333;

    font-size: 12px;

    color: var(--gold);
}

#music-panel[hidden] {

    display: none;
}

#music-panel {

    position: absolute;

    bottom: 65px;

    right: 0;

    width: min(360px, calc(100vw - 40px));

    max-height: 75vh;

    overflow-y: auto;

    background: #10251ff5;

    backdrop-filter: blur(30px);

    border: 1px solid #dfc18a50;

    border-radius: 25px;

    padding: 22px;

    box-shadow: 0 20px 80px #0008;

    text-align: center;
}

#record-disc {

    width: 150px;
    height: 150px;

    margin: 20px auto;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: repeating-radial-gradient(
        circle,
        #151515 0px,
        #222 2px,
        #111 4px,
        #151515 6px
    );

    border: 1px solid #dfc18a60;

    box-shadow: 0 10px 35px #0007;
}

#record-disc span {

    display: grid;

    place-items: center;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: var(--gold);

    font-size: 17px;
}

.spinning {

    animation: vinyl-spin 8s linear infinite;
}

@keyframes vinyl-spin {

    to { transform: rotate(360deg); }
}

#playing-title {

    font-weight: normal;

    color: var(--gold);

    margin-bottom: 5px;
}

#playing-artist {

    font-size: 12px;
}

#bgm-audio {

    width: 100%;

    height: 40px;

    margin: 12px 0;
}

.player-controls {

    display: flex;

    justify-content: center;

    gap: 8px;
}

.player-controls button {

    font-size: 19px;

    padding: 10px 16px;
}

.player-controls button.enabled {

    background: #dfc18a30;

    border-color: var(--gold);

    color: var(--gold);
}

.music-divider {

    height: 1px;

    background: #ffffff15;

    margin: 20px 0;
}

#music-panel input,
#music-panel select {

    width: 100%;

    background: #ffffff0a;

    border: 1px solid #dfc18a30;

    border-radius: 10px;

    color: var(--cream);

    padding: 11px;

    margin: 8px 0;

    font-size: 13px;
}

#music-panel select option {

    background: #14291f;

    color: var(--cream);
}

#private-track-list {

    max-height: 220px;

    overflow-y: auto;
}

.private-track {

    display: block;

    text-align: left;

    width: 100%;

    padding: 13px;

    margin: 6px 0;

    border-radius: 10px;
}

.private-track strong {

    display: block;

    font-size: 13px;

    font-weight: normal;

    overflow-wrap: anywhere;
}

.private-track small {

    display: block;

    font-size: 10px;

    color: var(--muted);

    margin-top: 6px;
}

.private-track.active {

    background: #dfc18a20;

    border-color: var(--gold);
}

#music-panel summary {

    cursor: pointer;

    color: var(--gold);

    font-size: 13px;

    padding: 10px;
}

#upload-track {

    font-size: 12px;

    padding: 12px;

    width: 100%;
}

.music-platforms {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 20px;
}

.music-platforms a {

    text-decoration: none;

    color: var(--gold);

    border: 1px solid #dfc18a35;

    border-radius: 20px;

    padding: 8px 12px;

    font-size: 10px;
}

#player-status {

    font-size: 11px;

    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {

    .spinning {
        animation: none;
    }
}


