/* =========================================================
   Radio – eigenes Design
   Dunkle Glas-Flächen, Farben pro Station einstellbar
   ========================================================= */
:root {
	--bg: #0a0c16;
	--bg-2: #10132a;
	--glass: rgba(255, 255, 255, 0.055);
	--glass-2: rgba(255, 255, 255, 0.09);
	--stroke: rgba(255, 255, 255, 0.09);
	--text: #eef0fb;
	--dim: #9ea3c2;
	--faint: #6c7194;
	/* Farben werden von theme.js aus config.js gesetzt */
	--acc: #2f7bff;          /* Akzent */
	--acc2: #22e1d6;         /* zweite Akzentfarbe */
	--acc-ink: #ffffff;      /* Schrift auf dem Akzent */
	--grad: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%);
	--ok: #3ddc84;
	--bad: #ff6b8b;
	--r: 18px;
	color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; color: var(--text); background: var(--bg); }
body {
	font: 400 15px/1.45 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	padding-bottom: 110px;
	background:
		radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--acc2) 22%, transparent), transparent 60%),
		radial-gradient(700px 400px at -10% 30%, color-mix(in srgb, var(--acc) 7%, transparent), transparent 60%),
		var(--bg);
	background-attachment: fixed;
}
h1, h2, h3, .display { font-family: "Sora", "Inter", system-ui, sans-serif; letter-spacing: -0.02em; }
::selection { background: var(--acc); color: var(--acc-ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }
.card { background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--r); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.label { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 12px; }
.label::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--acc); }

/* ---- Kopfzeile ---- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-dot { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: none; overflow: hidden; }
.brand-dot img { width: 100%; height: 100%; object-fit: cover; }
.brand-dot svg { width: 20px; height: 20px; }
.brand b { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; color: var(--faint); font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); color: var(--dim); font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill svg { width: 15px; height: 15px; }
.pill:hover { color: var(--text); background: var(--glass-2); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--acc) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 0%, transparent); } }

/* ---- Laufband ---- */
.ticker { position: relative; overflow: hidden; height: 40px; display: flex; align-items: center; border-radius: 12px; background: var(--glass); border: 1px solid var(--stroke);
	-webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; white-space: nowrap; animation: tick 36s linear infinite; will-change: transform; }
.ticker-track span { padding-right: 22px; font-size: 14px; color: var(--dim); }
.ticker-track b { color: var(--text); font-weight: 600; }
.ticker-track i { font-style: normal; padding-right: 22px; color: var(--acc); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- Equalizer-Animation ---- */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--acc); border-radius: 1px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---- Buttons ---- */
.btn { border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; background: var(--acc); color: var(--acc-ink); font-weight: 700; font-size: 13px; transition: transform .15s ease, filter .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn[disabled] { opacity: .35; cursor: default; transform: none; }
.btn.ghost { background: var(--glass-2); color: var(--text); }
.playbtn { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; cursor: pointer; flex: none;
	box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--acc) 55%, transparent); transition: transform .15s ease; }
.playbtn:hover { transform: scale(1.06); }
.playbtn svg { width: 26px; height: 26px; }
.off { display: none; }

/* =========================================================
   Hauptmenü
   ========================================================= */
.intro { padding: 26px 0 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.intro h1 { margin: 0; font-size: clamp(32px, 6vw, 56px); line-height: 1.02; font-weight: 800; }
.intro h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro p { margin: 10px 0 0; color: var(--dim); font-size: 16px; max-width: 46ch; }

.stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 22px; }
.st { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--stroke); aspect-ratio: 4 / 5; isolation: isolate; transition: transform .2s ease, border-color .2s ease; }
.st:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.st-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.st:hover .st-img { transform: scale(1.06); }
.st::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,22,.15) 0%, rgba(10,12,22,0) 30%, rgba(10,12,22,.85) 72%, rgba(10,12,22,.97) 100%); }
.st-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(10,12,22,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; }
.st-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--acc)); }
.st-live { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.st-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.st-txt { min-width: 0; }
.st-now { display: flex; align-items: center; gap: 8px; color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.st-now .eq { display: none; height: 11px; }
.st.is-playing .st-now .eq { display: inline-flex; }
.st-title { font-family: "Sora", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-artist { color: var(--dim); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; cursor: pointer; transition: transform .15s ease; padding: 0; }
.st-play:hover { transform: scale(1.08); }
.st-play svg { width: 20px; height: 20px; }
.st-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.st-prog span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1s linear; }
.st.is-playing { border-color: var(--acc); }

/* Mini-Player unten */
.mini { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; width: min(560px, calc(100% - 32px)); display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 16px;
	background: rgba(16,19,42,.85); border: 1px solid var(--stroke); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 50px -15px rgba(0,0,0,.7); }
.mini img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #000; }
.mini-t { min-width: 0; }
.mini-t small { display: flex; align-items: center; gap: 8px; color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mini-t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .st-play { width: 42px; height: 42px; }

/* =========================================================
   Stationsseite
   ========================================================= */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge.acc { background: var(--acc); color: var(--acc-ink); }
.badge svg { width: 14px; height: 14px; }
.vol { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.vol svg { width: 18px; height: 18px; }
.vol input[type=range] { -webkit-appearance: none; appearance: none; width: 120px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--text); cursor: pointer; }
.vol input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--text); cursor: pointer; }

.below { margin-top: 18px; }
.stack { display: grid; gap: 18px; margin-top: 18px; }
.box { padding: 20px; }

/* Listen (Zuletzt) */

/* Sendung */
.show { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.show-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.show img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #000; }
.show .t { min-width: 0; }
.show small { display: block; color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.show.next small { color: var(--faint); }
.show b { display: block; font-family: "Sora", sans-serif; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show em { display: block; font-style: normal; color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Voting */
.wish { padding: 0 20px 16px; }
.wish input { width: 100%; height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--stroke); background: rgba(0,0,0,.25); color: var(--text); font: inherit; }
.wish input::placeholder { color: var(--faint); }
.wish input:focus { outline: none; border-color: var(--acc); }
.wish-hits { display: grid; gap: 6px; margin-top: 8px; }
.hit { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: rgba(255,255,255,.04); }
.hit img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #000; }
.hit b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit span { color: var(--dim); font-size: 13px; }
.note { padding: 0 20px 16px; color: var(--dim); font-size: 13px; }
.note:empty { display: none; }
.note.ok { color: var(--ok); }
.note.bad { color: var(--bad); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
	.show-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.intro { grid-template-columns: 1fr; }
	.stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	/* Karten: Cover bleibt quadratisch */
	.st-body { padding: 12px; gap: 8px; }
	.st-title { font-size: 15px; }
	.st-artist { font-size: 12px; }
	.st-play { width: 38px; height: 38px; }
	.st-play svg { width: 16px; height: 16px; }
	.vol input[type=range] { width: 90px; }
	.top { height: 64px; }
	.brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Hauptmenü: Hauptstation, Player-Leiste
   ========================================================= */
.feat { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--stroke); isolation: isolate; margin-top: 4px; }
.feat-bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(46px) saturate(1.4); opacity: .6; transform: scale(1.1); }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,22,.92) 0%, rgba(10,12,22,.5) 100%); }
.feat-in { display: grid; grid-template-columns: 1fr 200px; gap: 28px; align-items: center; padding: 30px; }
.feat h1 { margin: 6px 0 0; font-size: clamp(30px, 5.4vw, 54px); line-height: 1.02; font-weight: 800; }
.feat h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat p { margin: 10px 0 0; color: var(--dim); font-size: 16px; }
.feat-np { margin-top: 18px; display: flex; align-items: center; gap: 16px; }
.feat-np .t { min-width: 0; }
.feat-np small { color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.feat-np b { display: block; font-family: "Sora", sans-serif; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-np span { display: block; color: var(--dim); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-cover { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform: rotate(3deg); }
.feat-cover img { width: 100%; height: 100%; object-fit: cover; }

.bar-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 0; flex-wrap: wrap; }
.bar-head h2 { margin: 0; font-size: 26px; font-weight: 800; }
.bar-head h2 small { display: block; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 400; color: var(--dim); letter-spacing: 0; }
.empty { color: var(--dim); padding: 30px 0; text-align: center; grid-column: 1 / -1; }


.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(12,14,30,.88); border-top: 1px solid var(--stroke); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.player-prog { height: 3px; background: rgba(255,255,255,.06); }
.player-prog span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1s linear; }
.player-in { width: min(1120px, 100%); margin: 0 auto; padding: 10px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.p-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.p-now img { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; background: #000; flex: none; }
.p-now .t { min-width: 0; }
.p-now small { display: flex; align-items: center; gap: 8px; color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.p-now small .eq { display: none; height: 11px; }
.player.is-playing .p-now small .eq { display: inline-flex; }
.p-now b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-now span { display: block; color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-ctl { display: flex; align-items: center; gap: 6px; }
.ib { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--dim); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ib:hover { color: var(--text); background: var(--glass); }
.ib svg { width: 19px; height: 19px; }
.ib.is-on { color: var(--acc); }
.ib.is-on svg { fill: currentColor; }
.p-ctl .playbtn { width: 50px; height: 50px; margin: 0 4px; box-shadow: none; }
.p-ctl .playbtn svg { width: 22px; height: 22px; }
.p-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.p-right .vol input[type=range] { width: 100px; }

@media (max-width: 760px) {
	.feat-in { grid-template-columns: 1fr; padding: 22px; }
	.feat-cover { display: none; }
	.player-in { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
	.p-right { display: none; }
	.p-ctl .ib.hide-sm { display: none; }
}
.brand-dot { color: var(--acc-ink); }
.dot-live.ink { background: var(--acc-ink); animation: none; }
/* Verlauf neu berechnen, wo Stationsfarben gesetzt sind */
.st, .feat, .player { --grad: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%); }
.p-hint { color: var(--faint); font-size: 12px; text-align: right; }
.player.is-playing .p-hint { color: var(--acc); }
.lautfm-note { margin-top: 10px; color: var(--faint); font-size: 12px; }
.lautfm-note a { color: var(--dim); text-decoration: underline; }

/* Stationskarten: quadratisch wie ein Cover, Text unten mit weichem Verlauf ins Bild geblendet */
.st { aspect-ratio: 1; }
.st-img[hidden] { display: block; visibility: hidden; }
.st::after { background: linear-gradient(180deg, rgba(10,12,22,.4) 0%, rgba(10,12,22,0) 22%, rgba(10,12,22,0) 45%, rgba(10,12,22,.75) 75%, rgba(10,12,22,.95) 100%); }
.st-title, .st-artist, .st-now { text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.st-artist { color: rgba(255,255,255,.8); }
.st-play { width: 44px; height: 44px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.7); }
@media (max-width: 600px) {
	.st-body { padding: 10px; gap: 6px; }
	.st-now { font-size: 9px; margin-bottom: 2px; }
	.st-title { font-size: 14px; }
	.st-play { width: 34px; height: 34px; }
	.st-play svg { width: 15px; height: 15px; }
	.st-tag { left: 8px; top: 8px; font-size: 12px; padding: 4px 9px; }
	.st-live { right: 8px; top: 8px; }
}

/* Player-Leiste nur einblenden, wenn das laut.fm-Fenster offen ist */
.player { transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
body.has-player .player { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
body { padding-bottom: 40px; transition: padding-bottom .3s ease; }
body.has-player { padding-bottom: 110px; }

/* Stationsseite: Name, Laufband, Jetzt-läuft-Leiste, Letzte Songs */
.st-top { display: grid; grid-template-columns: 1fr auto 1fr; }
.st-top > :first-child { justify-self: start; }
.st-top > :last-child { justify-self: end; }
.st-name { display: flex; align-items: baseline; gap: 12px; margin: 2px 0 12px; }
.st-name h1 { margin: 0; font-size: 22px; font-weight: 800; }
.ticker.solid { background: var(--acc); border-color: transparent; -webkit-mask-image: none; mask-image: none; }
.ticker.solid span, .ticker.solid b, .ticker.solid i { color: var(--acc-ink); }
.now { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 12px; padding-right: 24px; border-radius: 18px; overflow: hidden; background: var(--grad); color: var(--acc-ink); }
.now-cover { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #000; color: #fff; cursor: pointer; }
.now-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.now-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,12,22,.55); border: 2px solid rgba(255,255,255,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .15s ease; }
.now-cover:hover .now-play { transform: scale(1.08); }
.now-play svg { width: 24px; height: 24px; }
.now-txt { min-width: 0; }
.now-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.now-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.now-ears svg { width: 15px; height: 15px; }
.np-artist { font-family: "Sora", sans-serif; font-size: clamp(22px, 3.4vw, 34px); font-weight: 800; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-title { margin-top: 4px; font-size: clamp(15px, 1.8vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.now-prog { position: absolute; left: 0; top: 0; width: 150px; height: 4px; background: rgba(0,0,0,.35); pointer-events: none; }
.now-prog span { display: block; height: 100%; width: 0; background: #fff; transition: width 1s linear; }
.recent { border-top: 1px solid var(--stroke); margin-top: 6px; padding-top: 22px; }
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hist-rows { display: contents; }
.list.is-closed .hist-rows { display: none; }
.hist-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--grad); color: var(--acc-ink); text-align: left; cursor: pointer; font: inherit; }
.hist-tile b { display: block; font-family: "Sora", sans-serif; font-size: 18px; font-weight: 800; }
.hist-tile small { display: block; font-size: 13px; opacity: .85; }
.hist-tile svg { width: 26px; height: 26px; flex: none; transition: transform .2s ease; }
.list.is-closed .hist-tile svg { transform: rotate(180deg); }
.row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 76px; padding-right: 14px; border-radius: 14px; overflow: hidden; background: var(--glass); border: 1px solid var(--stroke); }
.row:hover { border-color: rgba(255,255,255,.2); }
.row img { display: block; width: 76px; height: 76px; object-fit: cover; background: #000; }
.row .t { min-width: 0; }
.row b { display: block; font-family: "Sora", sans-serif; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row span { display: block; color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
	.now { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-right: 16px; }
	.now-prog { width: 110px; }
	.now-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
	.now-play svg { width: 18px; height: 18px; }
	.now-meta { margin-bottom: 6px; font-size: 12px; }
}
@media (max-width: 600px) {
	.list { grid-template-columns: minmax(0, 1fr); }
}

/* Song-Voting: Countdown-Balken und Song-Kacheln */
.vote-bar { padding: 10px 16px 11px; border-radius: 14px; background: var(--acc); color: var(--acc-ink); text-align: center; }
.vote-bar b { display: block; font-family: "Sora", sans-serif; font-size: 26px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.vote-bar span { display: block; font-size: 12px; opacity: .85; }
.cands { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.cand { background-origin: border-box; position: relative; display: grid; grid-template-columns: 34px 52px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 72px; padding: 10px 14px 10px 10px; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: var(--grad); color: var(--acc-ink); font: inherit; text-align: left; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.cand:hover:not(:disabled) { transform: translateY(-2px); }
.cand:disabled { cursor: default; opacity: .55; }
.cand.is-mine { opacity: 1; border-color: var(--acc-ink); }
.cand-fill { position: absolute; inset: 0 auto 0 0; background: rgba(0,0,0,.2); pointer-events: none; transition: width .6s cubic-bezier(.16,1,.3,1); }
.cand > :not(.cand-fill) { position: relative; }
.cand-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(10,12,22,.75); color: #fff; font-family: "Sora", sans-serif; font-weight: 800; }
.cand-no svg { width: 16px; height: 16px; }
.cand img { display: block; width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: #000; }
.cand-text { display: block; min-width: 0; }
.cand-text b { display: block; font-family: "Sora", sans-serif; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cand-text span { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; }
.cand-text small { display: block; font-size: 11px; font-weight: 700; }
.vote .wish { padding: 10px 0 0; }
.vote .note { padding: 10px 0 0; text-align: center; }
.row small { display: block; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Fußzeile */
.foot { margin-top: 44px; padding: 8px 0 8px; text-align: center; color: var(--faint); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; }
.foot-links > * { padding: 2px 12px; }
.foot-links > * + * { border-left: 1px solid var(--stroke); }
.foot a { color: inherit; transition: color .15s ease; }
.foot a:hover { color: var(--text); }
.foot-social { display: flex; justify-content: center; gap: 16px; margin-top: 14px; }
.foot-social svg { display: block; width: 22px; height: 22px; }
.legal { max-width: 720px; margin: 20px auto 0; }
.legal h1 { margin: 0 0 12px; font-size: 28px; font-weight: 800; }
.legal p { color: var(--dim); }

/* Seite Stream-Adressen */
.streams { display: grid; gap: 10px; margin-top: 22px; }
.stream { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--stroke); }
.stream-t { min-width: 0; }
.stream-t b { display: block; font-family: "Sora", sans-serif; font-size: 16px; color: var(--acc); }
.stream-t a { display: block; color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.stream-t a:hover { text-decoration: underline; }
.stream .btn { flex: none; }
.streams-h { margin: 32px 0 12px; font-size: 20px; font-weight: 800; }
.follow { display: flex; flex-wrap: wrap; gap: 10px; }

/* Seite /voting */
.vote-page { width: min(960px, 100%); }
.vote { --grad: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%); }
.vote-intro { margin-top: 24px; padding: 32px 36px; }
.vote-intro h1 { margin: 0; font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.vote-intro p { margin: 10px 0 0; color: var(--dim); }
.vote-intro .vote-lead { font-size: 18px; color: var(--text); }
.vote-intro b { color: var(--text); }
.vote-sep { height: 1px; width: 36%; margin: 26px auto; background: var(--stroke); }
.vote-list { display: grid; gap: 26px; }
.vote-none { padding: 26px 0; color: var(--dim); text-align: center; }
.vcards { display: grid; gap: 12px; margin-top: 12px; }
.vcard { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 0 28px 0 0; border: 2px solid transparent; border-radius: 18px; overflow: hidden; background: var(--grad); background-origin: border-box; color: var(--acc-ink); font: inherit; text-align: left; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.vcard:hover:not(:disabled) { transform: translateY(-2px); }
.vcard:hover:not(:disabled) .vcard-up { transform: translateY(-3px); }
.vcard:disabled { cursor: default; opacity: .55; }
.vcard.is-mine { opacity: 1; border-color: var(--acc-ink); }
.vcard > :not(.cand-fill) { position: relative; }
.vcard img { display: block; width: 150px; height: 150px; object-fit: cover; background: #000; }
.vcard-t { display: block; min-width: 0; }
.vcard-t small { display: block; margin-bottom: 8px; font-size: 14px; }
.vcard-a { display: block; font-family: "Sora", sans-serif; font-size: clamp(22px, 3.4vw, 34px); font-weight: 800; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard-t > span { display: block; margin-top: 4px; font-size: clamp(15px, 1.8vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; }
.vcard-up { display: block; width: 42px; transition: transform .15s ease; }
.vcard-up svg { display: block; width: 42px; height: 42px; }
@media (max-width: 600px) {
	.vote-intro { padding: 22px; }
	.vcard { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; padding-right: 14px; }
	.vcard img { width: 96px; height: 96px; }
	.vcard-t small { margin-bottom: 4px; font-size: 12px; }
	.vcard-a { font-size: 18px; }
	.vcard-up, .vcard-up svg { width: 26px; height: 26px; }
}

