:root {
    --bg: #0e0e11;
    --card: #17171c;
    --text: #ffffff;
    --muted: #9b9b9b;
    --accent: #0C5D76;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top, #1a1a22, var(--bg));
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, sans-serif;
    color: var(--text);
}

.player {
    width: 360px;
	height: 649px;
    background: var(--card);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.cover-wrap img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
}

.meta {
    margin-top: 14px;
}

.meta h1 {
    font-size: 20px;
    margin: 0;
}

.meta p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.progress-wrapper {
    margin-top: 16px;
}

.progress-bar {
    height: 8px;
    background: #2a2a32;
    border-radius: 10px;
    cursor: pointer;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #7cffc4);
    border-radius: 10px;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text);
    margin-top: 6px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 8px 0 18px 0;
}

.controls button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

.controls .play {
    background: var(--accent);
    color: #000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 22px;
}

.volume {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume input {
    flex: 1;
}

.download {
    display: block;
    margin: 18px 0 14px 0;
    padding: 12px;
    text-align: center;
	font-size:12px;
    border-radius: 14px;
    background: #CAB391;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: calc(6 * 44px);
    overflow-y: auto;
}

.playlist li {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--muted);
}

.playlist li.active {
    background: var(--accent);
    color: #000;
}

/* Scrollbar */
.playlist::-webkit-scrollbar { width: 6px; }
.playlist::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
/* === NEUES LAYOUT === */

.layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

/* LINKES BILD */
.side-image {
    width: 180px;
	height: 647px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.side-image img {
    width: 100%;
    height: 647px;
    object-fit: cover;
}

/* PLAYER bleibt wie er ist */
.player {
    display: flex;
    flex-direction: column;
}

/* PLAYLIST RECHTS */
.side-playlist {
    width: 300px;
	height: 647px;
    background: var(--card);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);

    /* gleiche Höhe wie Player */
    max-height: 100%;
    overflow-y: auto;
}

/* bestehende Playlist-Styles bleiben */
.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist li {
    padding: 10px;
	margin: 10px;
	margin-right: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--muted);
}

.playlist li.active {
    background: var(--accent);
    color: #fff;
}

/* Scrollbar */
.side-playlist::-webkit-scrollbar {
    width: 6px;
}
.side-playlist::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
/* === CUSTOM RANGE (VOLUME) === */

.volume input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #0C5D76;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

/* WebKit Thumb (Chrome, Edge, Safari) */
.volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(255,255,255,1);
}

/* Firefox Thumb */
.volume input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Firefox Track */
.volume input[type="range"]::-moz-range-track {
    height: 6px;
    background: #2a2a32;
    border-radius: 10px;
}
.mute {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.mute.muted {
    color: var(--muted);
}
.lyrics-panel {
    width: 300px;
	height: 647px;
    background: var(--card);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    display: flex;
    flex-direction: column;
}

.lyrics-panel h2 {
    font-size: 16px;
    margin: 0 0 4px;
}

.lyrics-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

#lyrics-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    white-space: pre-wrap;
    overflow-y: auto;
    flex: 1;
}

/* Scrollbar */
#lyrics-text::-webkit-scrollbar {
    width: 6px;
}
#lyrics-text::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}