/* MAXX.FM – Design "Night Shift"
   Dunkles Petrol, Orange als Hauptakzent, sparsame Lichteffekte. Schriften liegen lokal in /assets/fonts. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-variable.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #050c12;
  --bg2: #08151d;
  --card: rgba(255, 255, 255, .045);
  --card-solid: #0c1c26;
  --line: rgba(255, 255, 255, .10);
  --line2: rgba(255, 255, 255, .18);
  --fg: #eaf2f6;
  --muted: #93aebb;
  --orange: #ff8819;
  --orange2: #ffb469;
  --petrol: #0e688f;
  --cyan: #3fc4f2;
  --red: #ff3d57;
  --green: #36d399;
  --amber: #ffc24d;
  --radius: 18px;
  --f-display: "Unbounded", "Arial Black", "Segoe UI", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --player-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; font: 16px/1.6 var(--f-body); color: var(--fg);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(14, 104, 143, .55), transparent 62%),
    radial-gradient(800px 420px at -12% 30%, rgba(255, 136, 25, .14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px));
}
body.admin, body.install { padding-bottom: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--orange2); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0 0 .4em; }
h1 { font: 700 clamp(30px, 5vw, 56px)/1.04 var(--f-display); letter-spacing: -.5px; }
h2 { font: 700 clamp(18px, 2vw, 22px)/1.2 var(--f-display); }
h3 { font-size: 17px; }
p { margin: 0 0 .8em; }
code { font-size: .88em; background: rgba(255,255,255,.07); padding: 1px 5px; border-radius: 5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small, small { font-size: 13.5px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.narrow { max-width: 760px; }
.pre { white-space: pre-wrap; }

/* ---------- Buttons, Pillen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 15px/1 var(--f-body); color: #071017; background: var(--orange);
  border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { color: #071017; background: #ff9a3a; box-shadow: 0 8px 26px rgba(255, 136, 25, .35); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { background: rgba(255,255,255,.06); color: #fff; }
.btn.danger { background: rgba(255, 61, 87, .14); color: #ff8b9b; box-shadow: inset 0 0 0 1px rgba(255, 61, 87, .45); }
.btn.danger:hover { background: var(--red); color: #fff; }
.btn.sm { font-size: 13.5px; padding: 8px 12px; border-radius: 10px; }
.btn.big { font-size: 16px; padding: 15px 22px; border-radius: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--fg); white-space: nowrap; }
.pill.sm { font-size: 10.5px; padding: 2px 8px; }
.pill.red { background: var(--red); color: #fff; }
.pill.green { background: rgba(54, 211, 153, .16); color: var(--green); }
.pill.amber { background: rgba(255, 194, 77, .16); color: var(--amber); }
.tag-red { display: inline-block; background: var(--red); color: #fff; font-size: 10.5px; letter-spacing: .1em; padding: 2px 7px; border-radius: 6px; margin-right: 4px; }
.badge { margin-left: auto; background: var(--orange); color: #071017; font-size: 11.5px; font-weight: 800; border-radius: 99px; padding: 0 7px; min-width: 20px; text-align: center; }

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(5, 12, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.logo { font: 900 21px/1 var(--f-display); color: #fff; text-decoration: none; letter-spacing: -.5px; white-space: nowrap; }
.logo i { font-style: normal; color: var(--orange); }
.logo small { font: 600 12px var(--f-body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a { color: #b6cad4; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 11px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav a.on { color: #fff; background: rgba(255,255,255,.08); }
.dot-live, .onair.is-live::before { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
.head-right { display: flex; align-items: center; gap: 10px; }
.onair { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #fff; text-decoration: none;
  border: 1px solid var(--line2); border-radius: 99px; padding: 6px 12px; }
.onair.is-live { border-color: rgba(255, 61, 87, .6); }
.onair.is-live::before { content: ""; }
@keyframes pulse { 50% { opacity: .35; } }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.usermenu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--card-solid); border: 1px solid var(--line2); border-radius: 14px; padding: 8px; display: grid; gap: 2px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.usermenu-pop small { color: var(--muted); padding: 4px 10px; }
.usermenu-pop a, .usermenu-pop button { display: block; text-align: left; width: 100%; color: var(--fg); text-decoration: none; font: 600 15px var(--f-body); background: none; border: 0; padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.usermenu-pop a:hover, .usermenu-pop button:hover { background: rgba(255,255,255,.07); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .2s; }
.burger span { top: 20px; } .burger span::before { top: -6px; left: 0; right: 0; } .burger span::after { top: 6px; left: 0; right: 0; }

.ticker { border-top: 1px solid var(--line); overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; }
.ticker-in { display: inline-flex; gap: 40px; padding: 7px 0; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker a, .ticker span { color: var(--fg); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.ticker b { background: var(--red); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 2px 7px; border-radius: 5px; }
.ticker b.t-alt { background: var(--petrol); }
@keyframes marquee { to { transform: translateX(-50%); } }
.construction { background: linear-gradient(90deg, var(--orange), #ffb469); color: #071017; padding: 10px 0; font-size: 15px; }

/* ---------- Meldungen ---------- */
.flash-zone { display: grid; gap: 8px; padding-top: 14px; }
.flash-zone:empty { display: none; }
.alert { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); }
.alert.ok { border-color: rgba(54, 211, 153, .45); background: rgba(54, 211, 153, .1); }
.alert.err { border-color: rgba(255, 61, 87, .5); background: rgba(255, 61, 87, .1); }
.form-errors { border-width: 2px; border-color: var(--red); scroll-margin-top: 110px; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.form-errors li { font-weight: 700; }
.form-errors p { margin: 6px 0 0; }
.alert.info { border-color: rgba(63, 196, 242, .45); background: rgba(63, 196, 242, .08); }

/* ---------- Bausteine ---------- */
main { display: block; outline: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.block { margin-top: 34px; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.block-head h2 { margin: 0; }
.block-head a { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.block-head a:hover { color: var(--orange); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kick { font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.kick a { color: inherit; text-decoration: none; }
.lead { font-size: 18px; color: #c7d8e0; max-width: 62ch; }
.page-head { padding-top: 40px; padding-bottom: 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; padding-top: 42px; }
.hero h1 { font-size: clamp(36px, 6vw, 72px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--orange), #ffd08a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stage { display: block; text-decoration: none; color: var(--fg); border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: #000; transition: transform .25s, box-shadow .25s; }
.stage:hover { color: var(--fg); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(14, 104, 143, .35); }
.stage-screen { aspect-ratio: 16 / 9; position: relative; display: grid; place-content: center; text-align: center; padding: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(255,136,25,.25), transparent 50%), linear-gradient(120deg, #0e688f 0%, #082332 50%, #1d0d05 100%); }
.stage-screen .pill { position: absolute; top: 14px; left: 14px; }
.stage-screen.is-live::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(255, 61, 87, .6); border-radius: inherit; animation: pulse 2s infinite; }
.stage-title { font: 700 clamp(20px, 3vw, 30px)/1.1 var(--f-display); margin: 0 0 6px; }
.stage-sub { color: #c0d6df; margin: 0; }
.stage-foot { padding: 14px 18px; background: var(--bg2); font-weight: 700; color: var(--orange2); }

/* Channel-Scheiben */
.discs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.disc-btn { background: none; border: 0; color: var(--fg); cursor: pointer; display: grid; justify-items: center; gap: 4px; text-align: center; font-family: var(--f-body); padding: 6px 2px; border-radius: 16px; }
.disc-btn b { font-size: 14px; } .disc-btn small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.disc { width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 50%; position: relative; border: 2px solid var(--c, var(--orange));
  background: radial-gradient(circle, var(--bg) 0 13%, var(--c, var(--orange)) 14% 16%, transparent 17%), var(--img, none) center / cover, repeating-radial-gradient(circle, #0b1a23 0 3px, #0e2230 3px 5px);
  transition: transform .4s, box-shadow .3s; }
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.14) 25%, transparent 32% 70%, rgba(255,255,255,.08) 75%, transparent 82%); }
.disc-btn:hover .disc { transform: rotate(35deg) scale(1.05); box-shadow: 0 0 28px var(--c); }
.disc-btn.playing .disc, .ch-card.playing .disc { animation: spin 3.5s linear infinite; box-shadow: 0 0 30px var(--c); }
.disc.big { max-width: 160px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* News */
.news-list { display: grid; gap: 4px; }
.news-item { display: flex; gap: 14px; align-items: center; color: var(--fg); text-decoration: none; padding: 10px; border-radius: 12px; }
.news-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.news-item strong { display: block; line-height: 1.3; }
.news-item small { display: block; }
.thumb { width: 72px; height: 54px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--petrol), var(--orange)) center / cover; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { display: flex; flex-direction: column; text-decoration: none; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.news-card:hover { color: #fff; transform: translateY(-3px); border-color: var(--line2); }
.news-img { aspect-ratio: 16 / 9; max-width: 100%; background: linear-gradient(135deg, var(--petrol), #1d0d05 70%, var(--orange)) center / cover; }
.news-txt { padding: 16px; display: grid; gap: 6px; }
.news-txt strong { font-size: 17px; line-height: 1.3; }
.lead-card { grid-column: span 2; }
.lead-card strong { font: 700 22px/1.2 var(--f-display); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.pager a { padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.pager a.on { background: var(--orange); color: #071017; border-color: var(--orange); }

/* Artikel */
.article { max-width: 820px; padding-top: 40px; }
.article-head h1 { font-size: clamp(28px, 4.4vw, 46px); }
.article-img { width: 100%; border-radius: var(--radius); margin: 14px 0 22px; }
.prose { font-size: 17.5px; line-height: 1.75; }
.prose h2 { margin-top: 1.4em; } .prose h3 { margin-top: 1.2em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--orange); color: #d3e2e9; font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose table { border-collapse: collapse; width: 100%; } .prose td, .prose th { border: 1px solid var(--line2); padding: 6px 10px; }
.sources { margin-top: 30px; padding: 16px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; }
.sources h2 { font-size: 15px; } .sources ul { margin: 0; padding-left: 1.2em; } .sources a { word-break: break-all; }
.share { margin-top: 20px; }

/* Charts */
.chart-mini, .chart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chart-mini li, .chart-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.03); }
.chart-list li { padding: 12px 14px; background: var(--card); border: 1px solid var(--line); }
.chart-list li.top { border-color: rgba(255, 136, 25, .35); }
.rank { font: 900 20px/1 var(--f-display); width: 34px; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.top .rank { color: var(--orange); }
.trend { font-size: 12px; font-weight: 800; width: 34px; text-align: center; }
.trend.up { color: var(--green); } .trend.down { color: var(--red); } .trend.same { color: var(--muted); } .trend.new { color: var(--cyan); text-transform: uppercase; font-size: 10.5px; }
.cover { width: 48px; height: 48px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--petrol), var(--orange)) center / cover; }
.chart-name { flex: 1; min-width: 0; display: grid; }
.chart-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-name small { color: var(--muted); }
.vote { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); background: none; color: var(--fg); border-radius: 99px; padding: 6px 12px; cursor: pointer; font: 800 14px var(--f-body); transition: all .2s; }
.vote span { transition: transform .3s; }
.vote:hover { border-color: var(--orange); }
.vote.voted { background: var(--orange); border-color: var(--orange); color: #071017; }
.vote.pop span { animation: heart .5s; }
@keyframes heart { 40% { transform: scale(1.7); } }
.vote-status { font-size: 16px; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 10px; }
.chat-log { height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; scrollbar-width: thin; }
.chat-big .chat-log { height: min(60vh, 560px); }
.live-chat .chat-log { height: 460px; }
.msg { display: flex; gap: 10px; align-items: flex-start; animation: msgin .3s ease-out; }
@keyframes msgin { from { opacity: 0; transform: translateY(6px); } }
.msg img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.msg-body { background: rgba(255,255,255,.05); border-radius: 4px 14px 14px 14px; padding: 7px 12px; min-width: 0; max-width: 100%; }
.msg-body b { font-size: 13px; color: var(--orange2); margin-right: 6px; }
.msg.staff .msg-body { background: rgba(14, 104, 143, .3); } .msg.staff b { color: var(--cyan); }
.msg.staff b::after { content: " · Team"; font-weight: 600; color: var(--muted); }
.msg.me .msg-body { background: rgba(255, 136, 25, .14); }
.msg-body p { margin: 0; overflow-wrap: anywhere; }
.msg time { font-size: 11px; color: var(--muted); }
.msg .del { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.msg .del:hover { color: var(--red); }
.chat-empty { color: var(--muted); text-align: center; margin: auto; }
.chat-form { display: grid; gap: 8px; }
.emoji-row { display: flex; gap: 4px; }
.emoji-row button { background: rgba(255,255,255,.05); border: 0; border-radius: 10px; font-size: 18px; padding: 4px 8px; cursor: pointer; transition: transform .15s; }
.emoji-row button:hover { transform: scale(1.2); }
.chat-input { display: flex; gap: 8px; }
.chat-input input { flex: 1; min-width: 0; }
.chat-login { margin: 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); text-align: center; }
.chat-err { color: #ff8b9b; font-size: 13.5px; margin: 0; }

/* Formulare */
.form { display: grid; gap: 14px; }
.form h2 { margin-bottom: 0; }
label, .label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
label small { font-weight: 500; }
input, select, textarea {
  font: 500 16px var(--f-body); color: var(--fg); background: rgba(0, 0, 0, .28); border: 1px solid var(--line2);
  border-radius: 12px; padding: 11px 13px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 136, 25, .18); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; padding: 0; accent-color: var(--orange); flex: none; }
input[type="color"] { padding: 4px; height: 46px; width: 70px; }
input[type="file"] { padding: 9px; }
input:disabled { opacity: .6; }
textarea { resize: vertical; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > * { flex: 1 1 160px; }
.form-row > .grow { flex: 3 1 220px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-msg { margin: 0; font-weight: 700; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: #ff8b9b; }
.upload { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.upload > label { flex: 1 1 260px; }
.upload-prev { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line2); }
.upload-prev.round { width: 90px; aspect-ratio: 1; border-radius: 50%; }
.upload-prev.square { width: 120px; aspect-ratio: 1; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 800; padding: 0 6px; }
.auth { display: grid; place-items: center; padding-top: 44px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card.auth-wide { max-width: 760px; }
.auth-wide .age-check { grid-template-columns: minmax(0, 260px) 1fr; align-items: end; }
@media (max-width: 640px) { .auth-wide .age-check { grid-template-columns: 1fr; } }
.install .auth-card { margin: 60px auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
details.danger { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
details.danger summary { cursor: pointer; color: #ff8b9b; font-weight: 700; }

/* Editor */
.editor { border: 1px solid var(--line2); border-radius: 14px; background: rgba(0,0,0,.28); overflow: visible; }
.editor > .ed-bar { border-radius: 13px 13px 0 0; z-index: 4; }
.editor:focus-within { border-color: var(--orange); }
.ed-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); position: sticky; top: 0; }
.ed-bar button, .ed-bar select { font: 600 13.5px var(--f-body); color: var(--fg); background: rgba(255,255,255,.06); border: 0; border-radius: 8px; padding: 6px 9px; cursor: pointer; width: auto; }
.ed-bar button:hover { background: var(--orange); color: #071017; }
.ed-bar .ed-spell { margin-left: auto; background: rgba(63, 196, 242, .16); color: var(--cyan); }
.ed-sep { width: 1px; background: var(--line2); margin: 2px 2px; }
/* Textfeld unten rechts an der Ecke größer/kleiner ziehen */
.ed-area { min-height: 140px; height: 320px; overflow-y: auto; resize: vertical; padding: 16px 18px; outline: none; font-size: 17px; }
.ed-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.ed-foot .over { color: var(--red); }
.ed-spell-out { border-top: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; max-height: 280px; overflow-y: auto; font-size: 14px; }
.ed-spell-out .hit { background: rgba(255,255,255,.04); border-radius: 10px; padding: 8px 10px; }
.ed-spell-out .hit b { color: var(--amber); }
.ed-spell-out button { font: 700 13px var(--f-body); border: 0; border-radius: 8px; padding: 4px 8px; margin: 4px 4px 0 0; background: var(--orange); color: #071017; cursor: pointer; }

/* Live */
.live-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.live-main { display: grid; gap: 18px; }
.video-box { aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(120deg, #0e688f, #082332 50%, #1d0d05); }
.video-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.consent, .offair { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 20px; }

/* Kanäle */
.ch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ch-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform .2s, border-color .2s; }
.ch-card:hover { transform: translateY(-4px); border-color: var(--c); }
.ch-cover { aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), var(--bg2); background-size: cover; background-position: center; }
.ch-body { padding: 16px; display: grid; gap: 4px; justify-items: start; }
.ch-body h2 { margin: 0; }

/* Sendeplan, Team, Service */
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.plan-list li { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; }
.plan-list li.now { background: rgba(255, 136, 25, .12); }
.plan-list time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--orange2); min-width: 50px; }
.plan-list span { flex: 1; min-width: 0; display: grid; }
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.day.today { border-color: rgba(255, 136, 25, .45); }
.team-grid, .service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.team-card { text-align: center; display: grid; justify-items: center; gap: 8px; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.service-card { text-decoration: none; color: var(--fg); position: relative; transition: transform .2s, border-color .2s; }
.service-card:hover { color: #fff; transform: translateY(-3px); border-color: var(--orange); }
.service-card .pill { position: absolute; top: 16px; right: 16px; }
.soon { display: grid; gap: 10px; justify-items: start; margin-bottom: 18px; }

/* Profil */
.profile-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding-top: 40px; }
.profile-head > div:nth-child(2) { flex: 1; min-width: 240px; }
.profile-head h1 { margin: 0; }
.avatar-xl { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.my-articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.my-articles li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); flex-wrap: wrap; }
.my-articles li > span:first-child { flex: 1; min-width: 200px; display: grid; }
.my-articles .note { color: var(--amber); }

/* Fuß */
.site-foot { margin-top: 70px; border-top: 1px solid var(--line); background: rgba(0,0,0,.25); padding-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.foot-grid h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-grid a:not(.logo) { display: block; color: var(--fg); text-decoration: none; padding: 3px 0; }
.foot-grid a:not(.logo):hover { color: var(--orange); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { display: inline-block !important; border: 1px solid var(--line2); border-radius: 99px; padding: 5px 12px !important; font-size: 14px; }
.foot-base { padding-top: 26px; padding-bottom: 26px; color: var(--muted); font-size: 13.5px; }

/* ---------- Player ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(6, 16, 23, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line2); padding-bottom: env(safe-area-inset-bottom, 0px); }
.player-row { display: flex; align-items: center; gap: 14px; height: var(--player-h); }
.pl-art { width: 54px; height: 54px; flex: none; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.pl-disc { display: block; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--c, var(--orange));
  background: radial-gradient(circle, var(--bg) 0 14%, var(--c, var(--orange)) 15% 18%, transparent 19%), var(--img, none) center / cover, repeating-radial-gradient(circle, #0b1a23 0 3px, #0e2230 3px 5px); }
.player[data-state="playing"] .pl-disc { animation: spin 3.5s linear infinite; }
.pl-meta { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.pl-meta small { color: var(--orange2); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pl-meta strong, .pl-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-meta span { font-size: 14px; }
#pl-viz { width: 240px; height: 40px; flex: none; }
.pl-ctrl { display: flex; align-items: center; gap: 6px; }
.pl-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.07); color: #fff; cursor: pointer; font-size: 15px; }
.pl-ctrl button:hover { background: rgba(255,255,255,.14); }
.pl-ctrl .pl-play { width: 52px; height: 52px; background: var(--orange); color: #071017; font-size: 19px; box-shadow: 0 6px 24px rgba(255,136,25,.35); }
.pl-ctrl .pl-play:hover { background: #ff9a3a; }
.player[data-state="loading"] .pl-play { animation: pulse 1s infinite; }
#pl-vol { width: 100px; padding: 0; accent-color: var(--orange); background: none; border: 0; }
.pl-pop { position: absolute; bottom: 100%; left: 0; right: 0; background: rgba(6, 16, 23, .97); border-top: 1px solid var(--line2); padding: 16px 0; }
.pl-pop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pl-pop-grid button { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; align-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; color: var(--fg); font-family: var(--f-body); }
.pl-pop-grid button:hover, .pl-pop-grid button.on { border-color: var(--c); }
.pl-pop-grid .mini-disc { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--c); background: radial-gradient(circle, var(--bg) 0 20%, var(--c) 22% 28%, #0b1a23 30%); }
.pl-pop-grid small { color: var(--muted); }

/* ---------- Konsole ---------- */
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.adm-side { background: rgba(0,0,0,.35); border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adm-side .logo { padding: 4px 8px; }
.adm-who { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.04); }
.adm-who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.adm-who.big img { width: 64px; height: 64px; }
.adm-who span { display: grid; line-height: 1.25; } .adm-who small { color: var(--muted); }
.adm-side nav { display: grid; gap: 2px; }
.adm-side nav a { display: flex; align-items: center; gap: 8px; color: #c2d4dc; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 10px; border-radius: 10px; }
.adm-side nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.adm-side nav a.on { background: rgba(255,136,25,.13); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.adm-grp { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 4px; font-weight: 800; }
.adm-foot { margin-top: auto; display: grid; gap: 6px; font-size: 14px; }
.adm-foot a { color: var(--muted); text-decoration: none; padding: 6px 10px; }
.adm-foot button { font: 600 14px var(--f-body); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 10px; text-align: left; }
.adm-main { padding: 26px clamp(16px, 3vw, 36px) 60px; display: grid; gap: 18px; align-content: start; }
.adm-head h1 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; }
.stat strong { font: 900 30px/1 var(--f-display); color: var(--orange); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; margin-top: 6px; }
.simple { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.howto { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.tabs a.on { border-color: var(--orange); background: rgba(255,136,25,.1); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
td.right, th.right { text-align: right; white-space: nowrap; }
tr.deleted td { opacity: .45; text-decoration: line-through; }
.adm-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.adm-ch { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--fg); border-left: 4px solid var(--c); }
.adm-ch:hover { color: #fff; border-color: var(--c); }
.adm-ch.off { opacity: .55; }
.adm-ch > span:last-child { display: grid; gap: 2px; min-width: 0; }
.adm-ch-img { width: 64px; height: 64px; border-radius: 12px; flex: none; background: radial-gradient(circle, var(--bg) 0 14%, var(--c) 15% 19%, #0b1a23 20%) center / cover; }
.tracklist { margin: 0; padding-left: 1.4em; max-height: 520px; overflow-y: auto; display: grid; gap: 4px; font-size: 14.5px; }
.sched-item { border-top: 1px solid var(--line); padding: 8px 0; }
.sched-item summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sched-item time { font-weight: 800; color: var(--orange2); font-variant-numeric: tabular-nums; }
.inline-form { padding-top: 12px; }
details.card > summary { cursor: pointer; }
.radio-cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.radio-cards label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; font-weight: 500; }
.radio-cards label:has(input:checked) { border-color: var(--orange); background: rgba(255,136,25,.08); }
.radio-cards span { display: grid; } .radio-cards small { color: var(--muted); }
.copy-row { display: flex; gap: 8px; }
.copy-row input { font-size: 14px; }
.wish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wish-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.wish-list li.accepted { border-color: rgba(54, 211, 153, .5); background: rgba(54, 211, 153, .07); }
.wish-list li > span { display: grid; min-width: 200px; flex: 1; }
.wish-list em { color: #c7d8e0; }
.btn-group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.btn-group select { width: auto; padding: 6px 8px; font-size: 13.5px; }
form.inline { display: inline; }
.msg-card.unread { border-color: rgba(255,136,25,.45); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-row input { flex: 1 1 240px; } .filter-row select { flex: 0 1 200px; }
.matrix th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--fg); min-width: 120px; }
.matrix th small { display: block; font-weight: 500; }
.matrix td.c { text-align: center; }
.matrix tr.area td { background: rgba(255,255,255,.04); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange2); }
.matrix .gname { padding: 6px 8px; font-size: 13.5px; font-weight: 700; }

/* ---------- Ergänzungen: Sterne, Rangliste, Awards, Inhalte ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.span-2 { grid-column: span 2; }
.stack { display: grid; gap: 18px; min-width: 0; }
.grow { flex: 1; min-width: 0; }
.stars-box { display: grid; justify-items: end; gap: 2px; flex: none; }
.stars { display: inline-flex; gap: 4px; }
.stars button { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 9px; padding: 5px 8px; font: 800 13px var(--f-body); color: var(--amber); cursor: pointer; transition: transform .15s, background .15s; }
.stars button:disabled { cursor: default; opacity: .55; }
.stars button:not(:disabled):hover { transform: translateY(-2px); border-color: var(--amber); }
.stars button.on { background: var(--orange); border-color: var(--orange); color: #071017; box-shadow: 0 0 14px rgba(255,136,25,.45); }
.stars button.used { color: var(--muted); border-style: dashed; }
.stars-box.pop .stars button.on { animation: heart .45s; }
.chip { display: inline-block; border: 1px solid var(--amber); color: var(--amber); border-radius: 8px; padding: 1px 7px; margin: 2px; font-size: 13px; }
.chip.used { border-style: dashed; color: var(--muted); border-color: var(--line2); text-decoration: line-through; }
.stars-sum { font-size: 13px; white-space: nowrap; }
.stars-sum b { color: var(--orange); font-variant-numeric: tabular-nums; }
.chart-mini .stars button { padding: 3px 5px; font-size: 11.5px; }
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.top-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; }
.top-list img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.top-list .rank { width: 26px; font-size: 16px; }
.top-list b { color: var(--orange); font-variant-numeric: tabular-nums; }
.top-list .grow { display: grid; }
.top-list.big li { padding: 10px 12px; background: rgba(255,255,255,.03); }
.top-list.big img { width: 40px; height: 40px; }
.podium.p1 { background: linear-gradient(90deg, rgba(255,194,77,.18), transparent) !important; }
.podium.p2 { background: linear-gradient(90deg, rgba(192,200,208,.15), transparent) !important; }
.podium.p3 { background: linear-gradient(90deg, rgba(205,127,50,.18), transparent) !important; }
.podium .rank { color: var(--amber); }
.point-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.point-rules li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.point-rules b { color: var(--green); }
.award-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.small-awards { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.award { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.award-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 45%), var(--c) center / cover; box-shadow: 0 0 22px color-mix(in srgb, var(--c) 45%, transparent); }
.level { margin-top: 10px; max-width: 420px; }
.level-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.level-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; }
.level-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffd08a); border-radius: inherit; }
.page-head.has-img { position: relative; padding-top: 70px; padding-bottom: 40px; margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(5,12,18,.35), var(--bg) 96%), var(--head-img) center / cover; }
.stage-screen[style*="--stage-img"] { background: linear-gradient(180deg, rgba(5,12,18,.25), rgba(5,12,18,.75)), var(--stage-img) center / cover; }
.social-login { display: grid; gap: 8px; }
.social-btn { justify-content: center; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.alert.award { border-color: rgba(255, 194, 77, .55); background: rgba(255, 194, 77, .12); font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 18px); transform: translateX(-50%); z-index: 60; background: var(--card-solid); border: 1px solid var(--line2);
  border-radius: 14px; padding: 12px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.5); font-weight: 700; animation: msgin .3s; max-width: calc(100% - 32px); }
.toast.award { border-color: var(--amber); }
.toast.err { border-color: var(--red); }
.bars { display: flex; gap: 10px; align-items: flex-end; height: 160px; }
.bar { flex: 1; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; height: 100%; font-size: 12px; }
.bar i { align-self: end; width: 100%; max-width: 48px; background: linear-gradient(180deg, var(--orange), var(--petrol)); border-radius: 8px 8px 0 0; }
.bar small { color: var(--muted); }
.dist { display: flex; height: 10px; width: 160px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.06); }
.dist i { display: block; height: 100%; }
.dist .d5 { background: #36d399; } .dist .d4 { background: #9be36b; } .dist .d3 { background: #ffc24d; } .dist .d2 { background: #ff8f4d; } .dist .d1 { background: #ff3d57; }
.up { color: var(--green); } .down { color: var(--red); }
.small-tabs a { padding: 5px 10px; font-size: 13px; }
.award-admin { display: grid; gap: 6px; }
.award-edit { border-top: 1px solid var(--line); padding: 8px 0; }
.award-edit summary { cursor: pointer; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.matrix.access td:first-child { min-width: 200px; }
.matrix input[type="number"], .point-rules input { width: 90px; }

.terms { gap: 12px; }
.terms label.check { font-size: 15px; }
.center-small { text-align: center; margin-top: 12px; }
.profile-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.profile-nav a { border: 1px solid var(--line2); border-radius: 99px; padding: 7px 14px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 14px; }
.profile-nav a:hover { border-color: var(--orange); color: #fff; }
.avatar-edit { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.avatar-edit label { flex: 1 1 220px; }
.upload-prev.round.big { width: 110px; }
.danger-zone { border-color: rgba(255, 61, 87, .35); }
[id] { scroll-margin-top: 90px; }
body.is-loading #main { opacity: .55; transition: opacity .2s .1s; }

/* ---------- Chat: Teilnehmer, Werkzeuge, Werbung, Privatfenster ---------- */
.chat.with-users { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px 16px; }
.chat.with-users .chat-users { grid-row: span 2; }
.chat-users { border-right: 1px solid var(--line); padding-right: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.chat-users h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; display: flex; justify-content: space-between; }
.chat-users h3 span { color: var(--orange); }
.chat-users ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 420px; overflow-y: auto; }
.chat-users li { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 10px; animation: msgin .3s; }
.chat-users li:hover { background: rgba(255,255,255,.05); }
.chat-users li img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.chat-users li.host img { box-shadow: 0 0 0 2px var(--amber); }
.chat-users .name { flex: 1; min-width: 0; display: grid; text-align: left; }
.chat-users .name small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.chat-users li.host .name small { color: var(--amber); }
.chat-users .mute { background: none; border: 0; cursor: pointer; opacity: .5; font-size: 14px; }
.chat-users .mute:hover { opacity: 1; }
button.name { background: none; border: 0; padding: 0; color: inherit; font: 700 13.5px var(--f-body); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.name:hover:not(:disabled) { color: var(--orange); text-decoration: underline; }
button.name:disabled { cursor: default; }
.msg-body .name { color: var(--orange2); font-size: 13px; margin-right: 6px; }
.msg.staff .msg-body .name { color: var(--cyan); }
.msg.host .msg-body .name { color: var(--amber); }
.msg.host .msg-body .name::after { content: " · Gastgeber"; font-weight: 600; color: var(--muted); }
.msg.staff b::after { content: none; }
.msg a img { display: block; }
.st-b { font-weight: 800; }
.st-i { font-style: italic; }
.chat-tools { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; position: relative; }
.chat-tools > button { background: rgba(255,255,255,.06); border: 0; border-radius: 8px; color: var(--fg); padding: 5px 9px; cursor: pointer; font: 600 13px var(--f-body); }
.chat-tools > button:hover, .chat-tools > button.on { background: var(--orange); color: #071017; }
.chat-tools .ct-emoji { font-size: 16px; padding: 3px 8px; }
.chat-tools .ct-sep { width: 1px; height: 20px; background: var(--line2); margin: 0 2px; }
.chat-tools .ct-color { width: 22px; height: 22px; padding: 0; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(0,0,0,.3); }
.chat-tools .ct-color.on, .chat-tools .ct-color:hover { background: var(--sw); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--sw); }
.ct-emojis { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 20; width: min(330px, 86vw); display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
  background: var(--card-solid); border: 1px solid var(--line2); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.ct-emojis button { background: none; border: 0; font-size: 20px; padding: 4px; border-radius: 8px; cursor: pointer; }
.ct-emojis button:hover { background: rgba(255,255,255,.1); transform: scale(1.15); }
.chat-hint { margin: 0; }
.msg.ad { display: block; }
.ad-card { border: 1px solid rgba(255, 194, 77, .45); background: linear-gradient(135deg, rgba(255,194,77,.12), rgba(255,136,25,.06)); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; justify-items: start; }
.ad-card img { max-height: 120px; border-radius: 10px; }
.ad-card p { margin: 0; color: #d7e4ea; }
.ad-tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 800; }
.preview-log { height: auto; }
.pm-dock { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: calc(var(--player-h) + 10px + env(safe-area-inset-bottom, 0px)); z-index: 55; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap-reverse; justify-content: flex-end; max-width: calc(100vw - 24px); pointer-events: none; }
.pm-win { pointer-events: auto; width: 300px; max-width: calc(100vw - 24px); background: var(--card-solid); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.55); display: flex; flex-direction: column; overflow: hidden; animation: msgin .25s; }
.pm-win header { display: flex; align-items: center; background: linear-gradient(90deg, var(--petrol), #0a3347); }
.pm-win header button { background: none; border: 0; color: #fff; cursor: pointer; padding: 10px 12px; font: 700 14px var(--f-body); }
.pm-win .pm-title { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-win.new header { background: linear-gradient(90deg, var(--orange), #ff9a3a); }
.pm-win.new header button { color: #071017; }
.pm-win.min .pm-log, .pm-win.min form { display: none; }
.pm-log { height: 240px; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.pm-msg { max-width: 85%; background: rgba(255,255,255,.07); border-radius: 4px 12px 12px 12px; padding: 6px 10px; align-self: flex-start; }
.pm-msg.mine { align-self: flex-end; background: rgba(255,136,25,.18); border-radius: 12px 4px 12px 12px; }
.pm-msg p { margin: 0; overflow-wrap: anywhere; font-size: 14px; }
.pm-msg time { font-size: 10.5px; color: var(--muted); }
.pm-win form { padding: 8px; border-top: 1px solid var(--line); gap: 6px; }
.pm-win .chat-tools > button { padding: 3px 7px; }
.pm-win .chat-tools .ct-color { width: 18px; height: 18px; }
.pm-win input { padding: 8px 10px; font-size: 15px; }

/* ---------- Wunsch & Gruß im Player ---------- */
.pl-wish { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--fg);
  border-radius: 99px; padding: 9px 14px; font: 800 13.5px var(--f-body); cursor: pointer; transition: background .2s, border-color .2s; }
.pl-wish:hover, .pl-wish[aria-expanded="true"] { border-color: var(--orange); background: rgba(255,136,25,.14); }
.pl-wish.is-open { border-color: rgba(54, 211, 153, .6); }
.pl-wish.is-open::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.wish-pop { position: absolute; bottom: calc(100% + 10px); right: max(16px, env(safe-area-inset-right)); width: min(420px, calc(100vw - 32px));
  background: var(--card-solid); border: 1px solid var(--line2); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6); animation: msgin .25s; }
.wish-pop-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; }
.wish-form { display: grid; gap: 10px; }
.wish-form.compact .block-head { margin: 0 28px 0 0; }
.wish-form .block-head h2 { font-size: 18px; }
.req { color: var(--orange); }

/* ---------- Player im eigenen Fenster ---------- */
.pl-popout { font-size: 16px !important; }
.pl-elsewhere { margin: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--green); padding: 0 0 8px; }
.popout-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--orange2); font: 700 15px var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--orange); }
body.popup { padding-bottom: 0; min-height: 100vh; background-attachment: scroll; }
.pop-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(5, 12, 18, .8); position: sticky; top: 0; z-index: 10; }
.pop-head .logo { font-size: 18px; }
.pop-head .onair { display: inline-flex; }
.pop-close { margin-left: auto; background: rgba(255,255,255,.07); border: 1px solid var(--line2); color: var(--fg); border-radius: 99px; padding: 7px 14px; font: 800 13.5px var(--f-body); cursor: pointer; }
.pop-close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pop-main { display: grid; gap: 16px; padding: 16px; }
.pop-main .kick { margin-bottom: 8px; }
.player.in-popup { position: static; border: 1px solid var(--line2); border-radius: 18px; background: var(--card); padding: 0; }
.player.in-popup .wrap { padding-left: 14px; padding-right: 14px; }
.player.in-popup .player-row { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 12px; }
.player.in-popup .pl-meta { min-width: 150px; }
.player.in-popup #pl-viz { display: block; width: 100%; order: 5; height: 44px; }
.player.in-popup .pl-ctrl { width: 100%; justify-content: center; }
.player.in-popup #pl-prev, .player.in-popup #pl-vol { display: inline-block; }
.player.in-popup .pl-pop { position: static; border-top: 1px solid var(--line); background: none; padding: 10px 0; }
.player.in-popup .pl-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pop-channels h2 { font-size: 16px; }
.pop-ch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pop-ch-grid .disc-btn b { font-size: 12px; }
.pop-wish .wish-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.pop-hint { text-align: center; }

/* ---------- Startseite: Willkommen, Slider, Magazin ---------- */
.welcome { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; padding-top: 28px; }
.welcome-in { position: relative; overflow: hidden; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 26px; border-radius: 24px;
  border: 1px solid var(--line2); background: linear-gradient(120deg, rgba(14,104,143,.35), rgba(8,21,29,.6) 60%, rgba(255,136,25,.12)); }
.welcome-in::after { content: "MAXX"; position: absolute; right: -10px; bottom: -40px; font: 900 150px/1 var(--f-display); opacity: .05; pointer-events: none; }
.welcome-photo { position: relative; flex: none; }
.welcome-photo img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.welcome-photo i { position: absolute; right: 6px; bottom: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 3px solid var(--bg2); }
.welcome-photo i.live { background: var(--red); animation: pulse 1.6s infinite; }
.welcome-text { flex: 1 1 320px; min-width: 0; display: grid; gap: 8px; justify-items: start; }
.welcome-text h1 { font-size: clamp(26px, 4vw, 44px); margin: 0; }
.welcome-text h1 em { font-style: normal; color: var(--orange); }
.welcome-text .lead { margin: 0; font-size: 16.5px; }
.welcome-cta { display: grid; gap: 8px; justify-items: stretch; flex: 0 1 220px; }
.welcome-cta .linkish { font-size: 13.5px; }
.welcome-next { display: grid; align-content: center; gap: 4px; padding: 20px; border-radius: 24px; text-decoration: none; color: var(--fg); border: 1px solid var(--line2);
  background: radial-gradient(circle at 80% 0, rgba(255,136,25,.25), transparent 60%), var(--card); transition: transform .2s, border-color .2s; }
.welcome-next:hover { color: var(--fg); transform: translateY(-3px); border-color: var(--orange); }
.welcome-next small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.welcome-next strong { font: 700 20px/1.2 var(--f-display); }
.welcome-next em { font-style: normal; font-weight: 700; color: var(--orange2); margin-top: 8px; }

.slider { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line2); background: var(--bg2); }
.slides { position: relative; height: clamp(300px, 38vw, 440px); }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(18px, 3vw, 40px); opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s;
  background: linear-gradient(0deg, rgba(5,12,18,.92), rgba(5,12,18,.3) 55%, rgba(5,12,18,.1)), var(--bg, linear-gradient(120deg, var(--petrol), #1d0d05)) center / cover; }
.slide.on { opacity: 1; visibility: visible; }
.slide.on .slide-card { animation: msgin .7s ease-out; }
.slide-card { max-width: 620px; display: grid; gap: 8px; justify-items: start; padding: 20px 22px; border-radius: 18px; background: rgba(5, 12, 18, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
.slide-card h2 { font-size: clamp(22px, 3.2vw, 34px); margin: 0; }
.slide-card p { margin: 0; color: #d3e2e9; }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(5,12,18,.6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sl-nav:hover { background: var(--orange); color: #071017; }
.sl-nav.prev { left: 14px; } .sl-nav.next { right: 14px; }
.sl-dots { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 6px; }
.sl-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.sl-dots button.on { width: 28px; background: var(--orange); }

.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mag-grid.three .art-card { grid-column: auto; }
.art-card { display: flex; flex-direction: column; text-decoration: none; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; min-width: 0; }
.art-card:hover { color: #fff; transform: translateY(-4px); border-color: var(--orange); }
.art-card.lead { grid-column: span 2; grid-row: span 2; }
.art-img { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: linear-gradient(135deg, var(--petrol), #1d0d05 70%, var(--orange)) center / cover; transition: transform .5s; }
.art-card.lead .art-img { aspect-ratio: 16 / 8; }
.art-cat { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.75); color: var(--orange2); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line2); }
.art-body { padding: 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.art-body strong { font: 700 17px/1.3 var(--f-display); }
.art-body .tag-red { justify-self: start; }
.art-card.lead .art-body strong { font-size: clamp(22px, 2.6vw, 30px); }
.art-sub { color: #c7d8e0; font-weight: 600; }
.art-ex { font-size: 15px; }
.art-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: auto; }
.art-rate { color: var(--amber); font-weight: 800; }
.art-more { font-style: normal; font-weight: 800; color: var(--orange); font-size: 13.5px; }

/* ---------- Artikelarchiv im Zeitungsstil ---------- */
.paper { padding-top: 34px; }
.paper-head { text-align: center; border-bottom: 4px double var(--line2); padding-bottom: 18px; margin-bottom: 18px; }
.paper-head h1 { font: 900 clamp(44px, 9vw, 96px)/1 "Playfair Display", Georgia, serif; letter-spacing: -1px; text-transform: uppercase; margin: 0 0 12px; }
.paper-line { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 8px 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2);
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.paper-line span:nth-child(even) { color: var(--orange); }
.paper-filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.rubrics { display: flex; gap: 6px; flex-wrap: wrap; }
.rubrics a { text-decoration: none; color: var(--fg); border: 1px solid var(--line2); border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.rubrics a small { color: var(--muted); }
.rubrics a.on, .rubrics a:hover { background: var(--orange); border-color: var(--orange); color: #071017; }
.rubrics a.on small { color: #071017; }
.paper-filter input { max-width: 260px; }
.paper-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line2); margin-bottom: 28px; }
.paper-lead, .paper-side a, .paper-item { text-decoration: none; color: var(--fg); }
.paper-lead { padding-right: 28px; border-right: 1px solid var(--line2); display: grid; gap: 10px; }
.paper-lead h2 { font: 900 clamp(28px, 4.4vw, 50px)/1.06 "Playfair Display", Georgia, serif; margin: 0; }
.paper-lead:hover h2, .paper-side a:hover h3, .paper-item:hover h3 { color: var(--orange); }
.paper-lead img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 6px; filter: grayscale(.85) contrast(1.05); transition: filter .7s; }
.paper-lead:hover img { filter: none; }
.dropcap { font-size: 17.5px; line-height: 1.7; color: #d3e2e9; margin: 0; }
.dropcap::first-letter { float: left; font: 900 62px/.85 "Playfair Display", Georgia, serif; color: var(--orange); margin: 6px 10px 0 0; }
.paper-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.paper-by { font: italic 400 14px "Playfair Display", Georgia, serif; color: var(--muted); }
.paper-more { font-weight: 800; font-size: 13.5px; color: var(--orange2); }
.paper-side { display: grid; gap: 0; align-content: start; }
.paper-side a { display: grid; gap: 6px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line2); }
.paper-side a:last-child { border-bottom: 0; }
.paper-side h3, .paper-item h3 { font: 700 22px/1.2 "Playfair Display", Georgia, serif; margin: 0; }
.paper-side p, .paper-item p { margin: 0; color: var(--muted); font-size: 15px; }
.rubric { margin-bottom: 34px; }
.rubric-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--line2); padding-bottom: 8px; margin-bottom: 16px; }
.rubric-head h2 { font: 700 26px "Playfair Display", Georgia, serif; color: var(--orange); margin: 0; }
.rubric-head a { font: italic 400 14px "Playfair Display", Georgia, serif; color: var(--muted); }
.rubric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.paper-item { display: grid; gap: 6px; padding: 18px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.paper-meta { font-size: 13px; font-weight: 800; color: var(--orange2); }

/* ---------- Artikel: Bewertung und Kommentare ---------- */
.rate-box { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 30px; }
.rate-box h2 { margin: 0 0 4px; }
.rate-stars { display: flex; gap: 4px; }
.rate-stars button { background: none; border: 0; font-size: 34px; line-height: 1; color: rgba(255,255,255,.18); cursor: pointer; transition: transform .15s, color .15s; padding: 0 2px; }
.rate-stars button.on { color: var(--amber); text-shadow: 0 0 14px rgba(255,194,77,.5); }
.rate-stars button:not(:disabled):hover { transform: scale(1.2); }
.rate-stars button:disabled { cursor: default; }
.comments { margin-top: 30px; display: grid; gap: 14px; }
.comments h2 { margin: 0; }
.comment-form textarea { min-height: 90px; }
.comment-list { display: grid; gap: 10px; }
.comment { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); animation: msgin .3s; }
.comment img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.comment > div { min-width: 0; flex: 1; }
.comment p { margin: 4px 0 0; overflow-wrap: anywhere; }
.comment.staff b { color: var(--cyan); }
.comment .del { background: none; border: 0; color: var(--muted); cursor: pointer; float: right; }
.comment .del:hover { color: var(--red); }
.slide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.slide-list li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.03); }
.slide-list li.off { opacity: .55; }
.slide-list .grow { display: grid; flex: 1 1 220px; min-width: 0; }
.slide-thumb { width: 90px; height: 44px; border-radius: 8px; background: var(--bg2) center / cover; flex: none; }

/* ---------- Header: On-Air-Zeile, Logo, Ausklappmenüs ---------- */
.onair-bar { display: block; text-decoration: none; color: var(--fg); background: linear-gradient(90deg, rgba(14,104,143,.55), rgba(8,21,29,.9)); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.onair-bar:hover { color: #fff; }
.onair-bar .wrap { display: flex; gap: 10px; align-items: center; padding-top: 5px; padding-bottom: 5px; white-space: nowrap; overflow: hidden; }
.onair-bar .wrap > span { overflow: hidden; text-overflow: ellipsis; }
.onair-bar b { font-size: 11.5px; letter-spacing: .12em; color: var(--green); flex: none; }
.onair-bar.is-live { background: linear-gradient(90deg, rgba(255,61,87,.45), rgba(8,21,29,.9)); }
.onair-bar.is-live b { color: #fff; animation: pulse 1.6s infinite; }
.logo img { display: block; height: 60px; width: auto; filter: drop-shadow(0 4px 14px rgba(255,136,25,.35)); }
.head-row { min-height: 74px; gap: 18px; }
.main-nav { gap: 2px; align-items: center; }
.nav-top { color: #b6cad4; text-decoration: none; font: 700 15px var(--f-body); padding: 9px 11px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.nav-top:hover, .nav-drop:hover > .nav-top, .nav-drop:focus-within > .nav-top { color: #fff; background: rgba(255,255,255,.06); }
.nav-top.on, .nav-drop.on > .nav-top { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); }
.caret { font-size: 11px; opacity: .7; }
.nav-drop { position: relative; }
.nav-pop { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px; display: grid; gap: 2px; background: var(--card-solid); border: 1px solid var(--line2);
  border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
.nav-drop:hover .nav-pop, .nav-drop:focus-within .nav-pop, .nav-drop.open .nav-pop { opacity: 1; visibility: visible; transform: none; }
.nav-pop a { color: var(--fg); text-decoration: none; padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 14.5px; }
.nav-pop a:hover { background: rgba(255,136,25,.14); color: #fff; }
.nav-pop a.strong { font-weight: 800; color: var(--orange2); }
.member-cta { display: flex; align-items: center; gap: 10px; }
.member-login { color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; }
.member-login:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-foot { padding-top: 34px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.foot-contact h2, .foot-map h2 { margin: 0; }
.foot-map { display: grid; gap: 8px; align-content: start; }
.foot-map p { margin: 0; }
.map-box { min-height: 260px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px;
  background: linear-gradient(135deg, rgba(14,104,143,.35), rgba(8,21,29,.8)); }
.map-box iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.map-box.loaded { padding: 0; display: block; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; padding-top: 26px; padding-bottom: 14px; }
.foot-links a { color: var(--fg); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.foot-links a:hover { color: var(--orange); }
.foot-badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; }
.badge-box { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line2); border-radius: 10px; padding: 6px 12px; font-size: 13.5px; color: var(--muted); }
.badge-box b { color: var(--orange); font-variant-numeric: tabular-nums; }
.badge-box.ssl { color: var(--green); border-color: rgba(54, 211, 153, .4); font-weight: 700; }
.foot-copy { text-align: center; color: var(--muted); font-size: 13.5px; padding-bottom: 30px; margin: 0 auto; }

/* ---------- Sendeplan ---------- */
.day-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; position: sticky; top: 104px; z-index: 5; background: rgba(5,12,18,.85); backdrop-filter: blur(10px); padding: 6px; border-radius: 16px; border: 1px solid var(--line); }
.day-tabs button { display: grid; justify-items: center; gap: 0; background: none; border: 0; border-radius: 12px; padding: 8px 4px; color: var(--muted); cursor: pointer; font-family: var(--f-body); position: relative; }
.day-tabs b { font: 700 18px var(--f-display); color: var(--fg); }
.day-tabs span { font-size: 12px; }
.day-tabs i { font-style: normal; font-size: 10px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .1em; }
.day-tabs button:hover { background: rgba(255,255,255,.05); }
.day-tabs button[aria-selected="true"] { background: var(--orange); color: #071017; }
.day-tabs button[aria-selected="true"] b, .day-tabs button[aria-selected="true"] i { color: #071017; }
.day-tabs { display: none; }
.tabbed > .day-tabs { display: grid; }
.tabbed .day-panel:not(.on) { display: none; }
.tabbed .day-title { display: none; }
.day-panel { margin-bottom: 26px; }
.show-list { display: grid; gap: 10px; }
.show { display: grid; grid-template-columns: 74px 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.show.now { border-color: var(--orange); background: linear-gradient(90deg, rgba(255,136,25,.14), var(--card)); }
.show.past { opacity: .55; }
.show time { display: grid; text-align: center; }
.show time b { font: 700 22px var(--f-display); color: var(--orange2); font-variant-numeric: tabular-nums; }
.show time small { color: var(--muted); }
.show-img { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; background: radial-gradient(circle, var(--bg) 0 12%, var(--orange) 13% 15%, #0b1a23 16%) center / 60% no-repeat, linear-gradient(135deg, var(--petrol), #1d0d05); background-size: cover; }
.show-body { display: grid; gap: 4px; min-width: 0; }
.show-body h3 { font: 700 19px var(--f-display); margin: 0; }
.show-body p { margin: 0; }
.show-host { font-weight: 700; color: #c7d8e0; }
.show-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.show-actions { margin-top: 6px !important; }
.show-empty { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.wg-day { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.wg-day.today { border-color: rgba(255,136,25,.5); }
.wg-day h3 { font-size: 14px; margin: 0 0 4px; }
.wg-show { display: grid; gap: 2px; text-decoration: none; color: var(--fg); padding: 8px; border-radius: 10px; background: rgba(255,255,255,.04); border-left: 3px solid var(--petrol); font-size: 13px; }
.wg-show:hover { background: rgba(255,255,255,.08); color: #fff; }
.wg-show.live { border-left-color: var(--red); }
.wg-show.now { box-shadow: inset 0 0 0 1px var(--orange); }
.wg-show.sel { background: rgba(255,136,25,.15); }
.wg-show time { font-weight: 800; color: var(--orange2); font-variant-numeric: tabular-nums; }
.wg-show small { color: var(--muted); }
.day-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.day-checks label.check { font-weight: 600; }
.day-quick { width: 100%; display: flex; gap: 12px; }
.day-quick .linkish { font-size: 13px; }

/* Kompletter Wochenplan */
.day-jump { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
.day-jump a { display: grid; justify-items: center; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; }
.day-jump a b { font: 700 18px var(--f-display); color: var(--fg); }
.day-jump a span { font-size: 12px; }
.day-jump a.on, .day-jump a:hover { border-color: var(--orange); background: rgba(255,136,25,.12); }
/* Eine Zeile pro Wochentag: links der Tag, rechts die Sendungen nebeneinander */
.week-plan { display: grid; gap: 10px; }
.day-col { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0; scroll-margin-top: 130px; }
.day-col.today { border-color: rgba(255,136,25,.55); box-shadow: 0 0 0 1px rgba(255,136,25,.25); }
.day-col h2 { font-size: 18px; margin: 8px 0 0; display: grid; gap: 6px; justify-items: start; }
.day-shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; min-width: 0; }
.day-shows .day-empty { margin: 8px 0; grid-column: 1 / -1; }
.wk-show { display: grid; gap: 3px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border-left: 3px solid var(--petrol); }
.wk-show.live { border-left-color: var(--red); }
.wk-show.now { background: rgba(255,136,25,.13); border-left-color: var(--orange); }
.wk-show.past { opacity: .55; }
.wk-show time { font-weight: 800; font-size: 13px; color: var(--orange2); font-variant-numeric: tabular-nums; }
.wk-show h3 { font: 700 15px/1.25 var(--f-display); margin: 0; }
.wk-show p { margin: 0; }
.wk-img { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; background: center / cover; margin-bottom: 4px; }
.live-side { display: grid; gap: 14px; align-content: start; }
.chat-teaser { display: grid; gap: 4px; text-decoration: none; color: var(--fg); }
.chat-teaser:hover { border-color: var(--orange); color: #fff; }
@media (max-width: 760px) { .day-col { grid-template-columns: 1fr; gap: 8px; } .day-col h2 { margin: 0; display: flex; align-items: center; } }
@media (max-width: 620px) { .day-jump span { display: none; } .day-shows { grid-template-columns: 1fr; } }

/* ---------- Breaking-News-Laufband im Ampelsystem ---------- */
.amp-wrap { margin-top: 22px; }
/* Ganzes Band in einer Ampelfarbe: Symbol fest links, Text läuft */
.amp-band { display: flex; align-items: stretch; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); color: #fff; }
.amp-band.amp-red { background: #c8102e; }
.amp-band.amp-yellow { background: #ffc400; color: #1a1300; border-color: rgba(0,0,0,.25); }
.amp-band.amp-green { background: #12925a; }
.amp-sign { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 10px; background: rgba(0,0,0,.22); z-index: 1; }
.amp-yellow .amp-sign { background: rgba(0,0,0,.08); }
.amp-sign b { font: 900 15px var(--f-display); letter-spacing: .08em; }
.amp-red .amp-sign svg { animation: pulse 1.4s infinite; }
.amp-ticker { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
/* Laufband von rechts nach links: wandert um eine Hälfte nach links, die zweite (gleiche) Hälfte schließt nahtlos an */
.amp-track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee var(--speed, 45s) linear infinite; }
.amp-band:hover .amp-track, .amp-band:focus-within .amp-track { animation-play-state: paused; }
.amp-item { padding: 12px 18px; font-weight: 700; font-size: 15.5px; }
.amp-item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.amp-sep { opacity: .6; font-size: 12px; }
.amp-preview { margin-top: 4px; }
.amp-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amp-pick { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 2px solid var(--line2); cursor: pointer; font-weight: 500; transition: transform .15s; }
.amp-pick:hover { transform: translateY(-2px); }
.amp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.amp-pick svg { width: 46px; height: 46px; flex: none; }
.amp-pick span { display: grid; gap: 2px; }
.amp-pick small { color: var(--muted); }
.amp-pick.amp-red.on, .amp-pick.amp-red:has(input:checked) { border-color: #c8102e; background: rgba(200,16,46,.2); }
.amp-pick.amp-yellow.on, .amp-pick.amp-yellow:has(input:checked) { border-color: #ffc400; background: rgba(255,196,0,.16); }
.amp-pick.amp-green.on, .amp-pick.amp-green:has(input:checked) { border-color: #12925a; background: rgba(18,146,90,.2); }
.amp-pick:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 620px) { .amp-picker { grid-template-columns: 1fr; } .amp-sign b { display: none; } }

/* ---------- Editor-Erweiterungen und Einbettungen ---------- */
.ed-bar select { max-width: 150px; }
.ed-bar button.on { background: var(--orange); color: #071017; }
.ed-bar button:disabled, .ed-bar select:disabled { opacity: .35; cursor: not-allowed; }
.ed-source { width: 100%; min-height: 320px; border: 0; border-radius: 0; background: #02070b; color: #9ff0c6; font: 14px/1.6 ui-monospace, Consolas, monospace; padding: 14px; resize: vertical; }
.ed-area.mini { min-height: 70px; height: 110px; }
.forum-reply .ed-area, .post-edit .ed-area { height: 240px; }
.prose iframe, .embed iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; }
.embed { margin: 1em 0; }
.embed-consent { margin: 1em 0; aspect-ratio: 16 / 9; max-width: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px;
  border-radius: 12px; border: 1px solid var(--line2); background: linear-gradient(135deg, rgba(14,104,143,.35), rgba(8,21,29,.85)); font-size: 15px; }
.embed-consent p { margin: 0; }

/* ---------- Wetter & Verkehr ---------- */
.wx-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: center; }
.wx-now { display: flex; gap: 18px; align-items: center; }
.wx-now h2 { margin: 0; }
.wx-ico { font-size: 72px; line-height: 1; }
.wx-ico.sm { font-size: 30px; }
.wx-temp { font: 900 56px/1 var(--f-display); margin: 4px 0; color: var(--orange); }
.wx-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wx-days > div { display: grid; justify-items: center; gap: 4px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); text-align: center; }
.wx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.wx-city { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--fg); padding: 12px 14px; }
.wx-city span:nth-child(2) { flex: 1; display: grid; }
.wx-city b { font: 700 20px var(--f-display); color: var(--orange2); }
.wx-city.on, .wx-city:hover { border-color: var(--orange); color: #fff; }
.road-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: end; }
.road-quick .btn.on { background: var(--orange); color: #071017; }
.traffic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 520px; overflow-y: auto; }
.traffic-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border-left: 3px solid var(--amber); }
@media (max-width: 760px) { .wx-main { grid-template-columns: 1fr; } }

/* ---------- Konsole: Social Media ---------- */
.social-preview { display: grid; grid-template-columns: 220px 160px minmax(0, 1fr); gap: 18px; align-items: start; }
.social-preview figure { margin: 0; display: grid; gap: 6px; }
.social-preview img { width: 100%; border-radius: 12px; border: 1px solid var(--line2); }
.social-preview figcaption { font-size: 13px; color: var(--muted); }
.social-caption p { background: rgba(0,0,0,.25); border-radius: 12px; padding: 12px; font-size: 14px; }
@media (max-width: 900px) { .social-preview { grid-template-columns: 1fr 1fr; } .social-caption { grid-column: 1 / -1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .discs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #pl-viz { display: none; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(5, 12, 18, .98); border-bottom: 1px solid var(--line2); padding: 10px max(18px, env(safe-area-inset-left)); }
  .main-nav.open { display: flex; max-height: calc(100vh - 140px); overflow-y: auto; }
  .main-nav .nav-top { font-size: 17px; padding: 12px; width: 100%; justify-content: space-between; }
  .nav-pop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.03); display: none; margin: 0 0 6px 10px; }
  .nav-drop.open .nav-pop { display: grid; }
  .nav-drop:hover .nav-pop { display: none; }
  .nav-drop.open:hover .nav-pop { display: grid; }
  .foot-top { grid-template-columns: 1fr; }
  .head-row { justify-content: space-between; }
  .hero, .grid-2, .grid-3, .live-grid, .welcome, .paper-top { grid-template-columns: 1fr; }
  .paper-lead { border-right: 0; padding-right: 0; }
  .mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: auto; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; }
  .adm-side nav { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .pl-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .hide-sm, .onair, .member-login { display: none; }
  .logo img { height: 46px; }
  .member-cta .btn { font-size: 12.5px; padding: 8px 10px; }
  .usermenu summary span { display: none; }
  .discs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .disc-btn small { display: none; }
  .ch-grid, .news-grid, .mag-grid, .rubric-grid { grid-template-columns: 1fr; }
  .art-card.lead { grid-column: auto; grid-row: auto; }
  .sl-nav { display: none; }
  .slides { height: 380px; }
  .welcome-in { padding: 18px; }
  .welcome-cta { flex: 1 1 100%; }
  .lead-card { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr; }
  .pl-ctrl #pl-prev, #pl-vol { display: none; }
  .pl-wish span { display: none; }
  .pl-wish { padding: 9px 11px; }
  .player-row { gap: 10px; }
  .chart-list .trend, .chart-list .cover { display: none; }
  .chart-list li, .chart-mini li { flex-wrap: wrap; }
  .stars-box { justify-items: start; width: 100%; padding-left: 46px; }
  .chat.with-users { grid-template-columns: 1fr; }
  .show { grid-template-columns: 64px minmax(0, 1fr); }
  .show-img { display: none; }
  .day-tabs span { display: none; }
  .day-tabs { top: 66px; }
  .chat-users { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; }
  .chat-users ul { display: flex; overflow-x: auto; max-height: none; }
  .chat-users li { flex: none; }
  .chat-users li .name small { display: none; }
  .pm-win { width: 100%; }
  .pm-log { height: 34vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* Das Laufband läuft trotzdem: Die Meldungen sind nur in Bewegung vollständig lesbar */
  .amp-track { animation: marquee var(--speed, 45s) linear infinite !important; }
}

/* Wortfilter */
.stat-row + .grid-2 { margin-top: 16px; }
.filter-result { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.filter-result.hit { border-color: #ff5a5a; background: rgba(255, 90, 90, .08); }
.filter-result.clean { border-color: #3ddc84; background: rgba(61, 220, 132, .08); }
.filter-result p { margin: 6px 0; }
.bw-list { display: grid; gap: 6px; }
.bw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.bw-row input[name=word] { flex: 1 1 180px; min-width: 0; }
.bw-row .bw-repl { width: 90px; }
.bw-hits { min-width: 36px; text-align: right; }
.inline-details summary { list-style: none; cursor: pointer; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] .inline-form { margin-top: 10px; }
.bw-orig { color: #ff9a9a; }

/* Social-Media-Links im Profil */
.social-fields { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; margin: 0; }
.social-fields legend { padding: 0 6px; font-weight: 700; }
.social-field { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 10px; }
.soc-badge { display: inline-flex; align-items: center; justify-content: center; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #fff; text-decoration: none; }
.soc-tiktok { background: #111; box-shadow: inset 0 0 0 1px #25f4ee, 2px 0 0 #fe2c55; }
.soc-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.soc-facebook { background: #1877f2; }
.soc-youtube { background: #ff0000; }
.member-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
a.soc-badge:hover { filter: brightness(1.15); }
@media (max-width: 480px) { .social-field { grid-template-columns: 1fr; gap: 4px; } .social-field .soc-badge { justify-self: start; } }

/* Charts: offizielle TOP 10 + Voting-Pool */
.top10-head { align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.week-pick select { min-width: 150px; }
.chart-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.chart-stats .stat strong { font: 900 22px/1.1 var(--f-display); color: var(--orange); }
.chart-stats .stat span { font-size: 12.5px; color: var(--muted); }
.top10 .trend { width: 44px; }
.pts-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); margin-top: 6px; overflow: hidden; }
.pts-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffd84d); border-radius: 4px; }
.chart-score { display: grid; justify-items: end; text-align: right; gap: 2px; min-width: 150px; }
.chart-score > b { font: 900 22px/1 var(--f-display); color: var(--orange); }
.chart-score > small { font-size: 11.5px; }
.star-split { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.star-split em { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); white-space: nowrap; }
.top10 li.top .rank { font-size: 26px; }
@media (max-width: 640px) {
  .chart-stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .chart-stats .stat { padding: 10px; }
  .chart-score { min-width: 0; width: 100%; justify-items: start; text-align: left; padding-left: 46px; }
  .star-split { justify-content: flex-start; }
}

/* Zeichenzähler */
.count-line { display: block; text-align: right; font-size: 12px; margin-top: 4px; }
.count-line.near { color: var(--orange); font-weight: 700; }

/* Cookie-Hinweis */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.cookie-in { pointer-events: auto; max-width: 860px; width: 100%; display: flex; gap: 18px; align-items: flex-end; padding: 18px 20px; border-radius: 18px;
  background: rgba(8, 18, 26, .97); border: 1px solid var(--line2); box-shadow: 0 20px 60px rgba(0,0,0,.55); backdrop-filter: blur(12px); animation: msgin .3s ease; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text h2 { font-size: 17px; margin: 0 0 6px; }
.cookie-text p { margin: 0; font-size: 14px; color: #d3e2e9; }
.cookie-details { margin-top: 10px; }
.cookie-details summary { cursor: pointer; font-weight: 700; color: var(--orange); font-size: 14px; }
.cookie-details[open] { display: grid; gap: 10px; }
.cookie-details .check { font-size: 14px; }
.cookie-actions { display: grid; gap: 8px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--fg); cursor: pointer; }
.link-btn:hover { color: var(--orange); }
@media (max-width: 640px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 84px; }
  .cookie-in { flex-direction: column; align-items: stretch; padding: 16px; max-height: 70vh; overflow-y: auto; }
  .cookie-actions { grid-template-columns: 1fr 1fr; }
}

/* Editor: Textfarbe */
.ed-color { position: relative; display: inline-flex; }
.ed-color-a { font-weight: 900; margin-right: 2px; }
.ed-bar [data-color-now] { display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: var(--orange); vertical-align: middle; margin-right: 4px; transform: translateY(-1px); }
.ed-color-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; display: grid; grid-template-columns: repeat(6, 28px); gap: 6px; padding: 10px; width: max-content;
  background: #0b1820; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.ed-color-pop[hidden] { display: none; }
.ed-bar .ed-color-pop .sw { width: 28px; height: 28px; padding: 0; border-radius: 8px; border: 2px solid rgba(255,255,255,.18); }
.ed-bar .ed-color-pop .sw:hover { transform: scale(1.12); border-color: #fff; }
.sw-custom { grid-column: span 2; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 15px; border-radius: 8px; background: rgba(255,255,255,.06); cursor: pointer; position: relative; overflow: hidden; }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }
.ed-bar .ed-color-pop .sw-none { grid-column: span 4; font-size: 12.5px; }

/* Partner-Angebote (Affiliate) */
.offers-block { display: grid; gap: 16px; margin-bottom: 18px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.offer-grid.one { grid-template-columns: minmax(0, 340px); }
.offer-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--fg); text-decoration: none; transition: transform .15s, border-color .15s; }
a.offer-card:hover { transform: translateY(-3px); border-color: rgba(255, 136, 25, .5); }
.offer-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, rgba(14,104,143,.55), rgba(255,136,25,.35)) center / cover no-repeat; }
.offer-img .ad-tag { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.65); color: #fff; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; }
.offer-badge { position: absolute; top: 8px; right: 8px; background: var(--orange); color: #071017; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.offer-body { display: grid; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.offer-body strong { font: 700 16.5px/1.25 var(--f-display); }
.offer-body small { color: var(--muted); }
.offer-date { color: var(--cyan) !important; font-weight: 700; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.offer-price { font: 900 18px var(--f-display); color: var(--orange); }
.offer-widget { position: relative; padding-top: 28px; }
.offer-widget > .ad-tag { position: absolute; top: 8px; left: 12px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.consent-widget { min-height: 160px; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; border-radius: 12px; background: rgba(255,255,255,.03); }
.consent-widget p { margin: 0; }
/* Fanshop (Spreadshop läuft im eigenen iFrame; Farben darin stellt man im Spreadshop-Editor ein) */
.shop-embed { border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; background: var(--card-solid); }
.shop-gate { min-height: 340px; max-width: 560px; margin: 0 auto; background: none; padding: 32px 16px; }
.shop-gate-icon { font-size: 42px; line-height: 1; }
#myShop:empty { display: none; }
#myShop iframe { background: #fff; }
.shop-note { margin: 0; padding: 10px 16px; text-align: center; border-top: 1px solid var(--line2); }
.widget-frame { width: 100%; border: 0; border-radius: 12px; background: #fff; display: block; }
.offer-note { margin: 0; }
.tabs .tab-link { margin-left: auto; border-color: transparent; color: var(--muted); font-weight: 600; }
tr.dim td { opacity: .55; }
textarea.mono { font-family: "Courier New", monospace; font-size: 13px; }

/* Forum */
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.forum-cats { display: grid; gap: 10px; }
.forum-cat { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s; }
.forum-cat:hover { border-color: rgba(255,136,25,.5); transform: translateX(3px); }
.forum-cat-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 900 20px var(--f-display); background: linear-gradient(135deg, var(--orange), #ff5fd2); color: #071017; }
.forum-cat-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.forum-cat-body strong { font: 700 17px var(--f-display); }
.forum-cat-last { color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.forum-cat-go { font-size: 26px; color: var(--muted); }
.forum-side h2 { font-size: 18px; margin-top: 0; }
.forum-latest, .home-forum-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.forum-latest li, .home-forum-list li { display: grid; gap: 2px; }
.forum-latest a, .home-forum-list a { color: var(--fg); text-decoration: none; font-weight: 700; }
.forum-latest a:hover, .home-forum-list a:hover { color: var(--orange); }
.home-forum-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 24px; margin: 0; }
.forum-threads { padding: 6px; }
.forum-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 80px 130px; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.forum-row:last-child { border-bottom: 0; }
.forum-row:hover { background: rgba(255,255,255,.04); }
.forum-row-main { display: grid; gap: 2px; min-width: 0; }
.forum-row.unread .forum-row-main strong { color: var(--orange); }
.forum-row-num { display: grid; justify-items: center; }
.forum-row-num b { font: 700 16px var(--f-display); }
.forum-row-num small, .forum-row-last small { color: var(--muted); font-size: 12px; }
.forum-row-last { text-align: right; }
.forum-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.forum-tools .mod-tools { margin-left: auto; }
.mod-tools[open] .inline-form { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.forum-posts { display: grid; gap: 12px; }
.forum-post { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; scroll-margin-top: 120px; }
.forum-post.solved { border-color: rgba(54, 224, 166, .6); box-shadow: 0 0 0 1px rgba(54,224,166,.25); }
.forum-post.hidden-post { opacity: .55; border-style: dashed; }
.forum-author { display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.forum-author img { border-radius: 50%; object-fit: cover; }
.forum-author a { color: var(--fg); text-decoration: none; }
.forum-author small { font-size: 12px; }
.forum-body { display: grid; gap: 8px; min-width: 0; }
.forum-post-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.forum-post-head a:last-child { margin-left: auto; text-decoration: none; }
.forum-content { overflow-wrap: anywhere; }
.forum-content blockquote { margin: .6em 0; padding: 6px 0 6px 14px; border-left: 3px solid var(--orange); color: #c9d8df; font-style: normal; background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; }
.forum-post-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; }
.post-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.post-edit, .post-report { display: inline-block; }
.post-edit[open], .post-report[open] { display: block; width: 100%; }
.post-edit[open] form, .post-report[open] form { margin-top: 10px; }
.like-btn { border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--fg); border-radius: 999px; padding: 5px 12px; font: 700 14px var(--f-body); cursor: pointer; }
.like-btn.on { background: rgba(255,136,25,.18); border-color: var(--orange); color: var(--orange); }
.like-btn:disabled { cursor: default; opacity: .7; }
.forum-reply { margin-top: 16px; }
.forum-reply h2 { margin-top: 0; }
.report-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.report-item:last-child { border-bottom: 0; }
.report-text { margin: 6px 0 10px; padding: 8px 12px; border-left: 3px solid var(--amber); background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; font-size: 14px; }
@media (max-width: 900px) {
  .forum-layout { grid-template-columns: 1fr; }
  .forum-row { grid-template-columns: minmax(0, 1fr) 64px; }
  .forum-row-num:nth-of-type(3), .forum-row-last { display: none; }
}
@media (max-width: 640px) {
  .forum-post { grid-template-columns: 1fr; gap: 10px; }
  .forum-author { grid-auto-flow: column; justify-content: start; justify-items: start; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 8px; align-items: center; }
  .forum-author img { width: 36px; height: 36px; }
}

/* Chat: Systemmeldungen beigetreten / verlassen */
.chat-log .msg.system { display: flex; justify-content: center; align-items: baseline; gap: 8px; padding: 2px 8px; margin: 2px 0; font-size: 13px; color: var(--muted); background: none; border: 0; }
.chat-log .msg.system b { color: var(--fg); font-weight: 700; }
.chat-log .msg.system.join b { color: var(--green); }
.chat-log .msg.system time { font-size: 11px; opacity: .7; }
.chat-log .msg.system.welcome b { color: var(--orange); }
