  :root { --rg:#39ff6a; --rr:#ff3b3b; --a:#39ff6a; --b:#ff3b3b; --bg:#07070c; --panel:#0e0e16; --line:#1d1d2a; --text:#e8e8f0; --muted:#8a8aa0; }
  * { box-sizing:border-box; }
  body { margin:0; min-height:100vh; background:var(--bg); color:var(--text);
         font-family:system-ui,-apple-system,"Segoe UI",sans-serif; display:flex; flex-direction:column; align-items:center; }
  h1 { margin:24px 0 4px; font-size:28px; letter-spacing:6px; font-weight:800;
       background:linear-gradient(90deg,var(--a),#fff,var(--b)); -webkit-background-clip:text; background-clip:text; color:transparent;
       filter:drop-shadow(0 0 8px rgba(255,255,255,.25)); }
  .hint { color:var(--muted); font-size:13px; margin-bottom:20px; text-align:center; padding:0 12px; }

  .console { width:min(960px,96vw); background:var(--panel); border:1px solid var(--line); border-radius:20px; padding:24px;
             box-shadow:0 0 40px rgba(57,255,106,.06),0 0 40px rgba(255,59,59,.06); }
  .decks { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  .deck { --c:var(--a); border:1px solid var(--line); border-radius:16px; padding:18px; text-align:center; position:relative; }
  .deck.b { --c:var(--b); }
  .deck.drag { border-color:var(--c); box-shadow:0 0 20px var(--c); }
  .deck-name { font-weight:800; letter-spacing:4px; color:var(--c); text-shadow:0 0 10px var(--c); }
  .title { font-size:13px; color:var(--muted); margin:4px 0 14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-height:18px; }

  /* Plattenteller */
  .disc { width:min(200px,36vw); aspect-ratio:1; margin:0 auto; border-radius:50%; cursor:pointer; position:relative;
          background:repeating-radial-gradient(circle,#111 0 3px,#161616 3px 5px);
          border:3px solid var(--c); box-shadow:0 0 16px var(--c),inset 0 0 20px rgba(0,0,0,.8); transition:box-shadow .08s; }
  .disc .label { position:absolute; inset:34%; border-radius:50%; background:var(--c); box-shadow:0 0 18px var(--c);
                 display:flex; align-items:center; justify-content:center; color:#07070c; font-size:26px; }
  .disc .mark { position:absolute; top:6%; left:50%; width:3px; height:18%; margin-left:-1.5px; background:var(--c); border-radius:2px; box-shadow:0 0 6px var(--c); }
  .disc.spin { animation:spin 1.8s linear infinite; }
  @keyframes spin { to { transform:rotate(360deg); } }

  /* Frequenzbalken */
  canvas.bars { width:100%; height:80px; display:block; margin:16px 0 8px; }

  .progress { height:8px; background:#1a1a24; border-radius:4px; cursor:pointer; overflow:hidden; }
  .progress div { height:100%; width:0; background:var(--c); box-shadow:0 0 10px var(--c); }
  .time { font-size:12px; color:var(--muted); margin-top:4px; font-variant-numeric:tabular-nums; }

  .buttons { display:flex; gap:8px; justify-content:center; margin:14px 0; flex-wrap:wrap; }
  button, .btn { background:transparent; color:var(--text); border:1px solid #333; border-radius:10px; padding:9px 14px;
                 font-size:14px; cursor:pointer; font-family:inherit; transition:.15s; }
  button:hover, .btn:hover { border-color:var(--c); box-shadow:0 0 10px var(--c); }
  .play { border-color:var(--c); color:var(--c); min-width:110px; font-weight:700; }
  .play.on { background:var(--c); color:#07070c; box-shadow:0 0 16px var(--c); }

  .slider { display:grid; grid-template-columns:80px 1fr 50px; align-items:center; gap:8px; font-size:13px; color:var(--muted); margin:6px 0; }
  .slider span:last-child { text-align:right; font-variant-numeric:tabular-nums; }
  input[type=range] { -webkit-appearance:none; appearance:none; width:100%; height:6px; background:#1f1f2c; border-radius:3px; outline:none; }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:20px; height:20px; border-radius:50%; background:var(--c,#fff); box-shadow:0 0 10px var(--c,#fff); cursor:pointer; }
  input[type=range]::-moz-range-thumb { width:20px; height:20px; border:none; border-radius:50%; background:var(--c,#fff); box-shadow:0 0 10px var(--c,#fff); cursor:pointer; }

  .mixer { margin-top:24px; text-align:center; }
  .mixer .lbl { display:flex; justify-content:space-between; font-weight:800; letter-spacing:3px; font-size:13px; margin-bottom:8px; }
  .mixer .lbl span:first-child { color:var(--a); text-shadow:0 0 8px var(--a); }
  .mixer .lbl span:last-child { color:var(--b); text-shadow:0 0 8px var(--b); }
  #xfade { --c:#fff; height:10px; background:linear-gradient(90deg,var(--a),#222 40%,#222 60%,var(--b)); }
  #xfade::-webkit-slider-thumb { width:34px; height:26px; border-radius:6px; }
  #xfade::-moz-range-thumb { width:34px; height:26px; border-radius:6px; }
  .mixer small { display:block; color:var(--muted); margin-top:8px; }

  footer { color:#555; font-size:12px; margin:20px 0; }

  /* ---------- Radio ---------- */
  .topbar { display:flex; justify-content:center; margin-bottom:16px; }
  .radio-btn { --c:var(--rg); border-color:var(--rg); color:var(--rg); font-weight:700; letter-spacing:2px; padding:10px 22px;
               text-shadow:0 0 8px var(--rg); box-shadow:0 0 12px rgba(57,255,106,.3); }
  .radio-btn.live { background:var(--rg); color:#07070c; text-shadow:none; animation:pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow:0 0 26px var(--rg); } }
  .overlay { position:fixed; inset:0; background:rgba(0,0,0,.7); display:none; align-items:center; justify-content:center; z-index:10; padding:12px; }
  .overlay.open { display:flex; }
  .radio { --c:var(--rg); width:min(720px,100%); max-height:88vh; display:flex; flex-direction:column; background:#050d07;
           border:2px solid var(--rg); border-radius:18px; box-shadow:0 0 30px rgba(57,255,106,.5),inset 0 0 30px rgba(57,255,106,.08); padding:18px; color:#d6ffe0; }
  .radio-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
  .radio-head h2 { margin:0; color:var(--rg); letter-spacing:4px; text-shadow:0 0 10px var(--rg); font-size:20px; }
  .radio-close { border-color:var(--rg); color:var(--rg); padding:6px 12px; }
  .now { border:1px solid rgba(57,255,106,.4); border-radius:12px; padding:12px; display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; margin-bottom:12px; }
  .now .st { font-weight:700; color:var(--rg); text-shadow:0 0 8px var(--rg); }
  .now .sub { font-size:12px; color:#7fbf8d; margin-top:2px; }
  .now .slider { grid-column:1 / -1; margin:0; }
  .now .slider span { color:#7fbf8d; }
  .now-main { display:flex; gap:12px; align-items:center; min-width:0; }
  .now-text { min-width:0; }
  .logo { width:52px; height:52px; border-radius:10px; object-fit:contain; background:#0a1a0e; border:1px solid rgba(57,255,106,.4);
          box-shadow:0 0 10px rgba(57,255,106,.35); flex:none; }
  .now-btns { display:flex; gap:8px; align-items:center; }
  .song { margin-top:6px; font-size:14px; color:#eafff0; display:flex; gap:8px; align-items:center; }
  .song.info { color:#9fdcae; font-style:italic; font-size:13px; }
  .song span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .eq { display:inline-flex; align-items:flex-end; gap:2px; height:14px; flex:none; }
  .eq i { width:3px; background:var(--rg); box-shadow:0 0 4px var(--rg); border-radius:1px; animation:eq .9s ease-in-out infinite; }
  .eq i:nth-child(2) { animation-delay:-.3s; } .eq i:nth-child(3) { animation-delay:-.6s; }
  @keyframes eq { 0%,100% { height:25%; } 50% { height:100%; } }
  .song.info .eq, .paused .eq i { animation-play-state:paused; }
  .meta { font-size:11px; color:#5f9a6d; margin-top:4px; letter-spacing:.5px; }
  .meta a { color:#7fdc95; text-decoration:none; } .meta a:hover { text-shadow:0 0 6px var(--rg); }
  .mute { width:42px; height:40px; padding:0; display:flex; align-items:center; justify-content:center; border-color:var(--rg); color:var(--rg); }
  .mute svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 3px currentColor); }
  .mute.on { --c:var(--rr); border-color:var(--rr); color:var(--rr); box-shadow:0 0 14px var(--rr); }
  .hist { grid-column:1 / -1; border-top:1px solid rgba(57,255,106,.2); padding-top:8px; font-size:12px; }
  .hist .h-title { color:#6fae7e; margin-bottom:4px; letter-spacing:1px; }
  .hist a { display:flex; gap:8px; color:#bfeccb; text-decoration:none; padding:2px 0; }
  .hist a:hover { color:var(--rg); text-shadow:0 0 6px var(--rg); }
  .hist a span:first-child { color:#5f9a6d; font-variant-numeric:tabular-nums; flex:none; }
  @media (max-width:520px) { .now { grid-template-columns:1fr; } .now-btns { justify-content:flex-end; } }
  .radio-tools { display:flex; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
  .radio-tools input[type=search] { flex:1; min-width:160px; background:#0a1a0e; border:1px solid rgba(57,255,106,.4); border-radius:10px;
                                     color:#d6ffe0; padding:9px 12px; font:inherit; outline:none; }
  .radio-tools input[type=search]:focus { border-color:var(--rg); box-shadow:0 0 10px var(--rg); }
  .tab { border-color:rgba(57,255,106,.4); color:#9fdcae; padding:8px 12px; }
  .tab.on { background:var(--rg); color:#07070c; border-color:var(--rg); }
  .list { overflow-y:auto; display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px; padding:4px 2px; }
  .list::-webkit-scrollbar { width:8px; } .list::-webkit-scrollbar-thumb { background:rgba(57,255,106,.4); border-radius:4px; }
  .station { text-align:left; border:1px solid rgba(57,255,106,.25); background:#081109; padding:10px; border-radius:10px; }
  .station b { display:block; font-size:14px; color:#d6ffe0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .station small { color:#6fae7e; font-size:12px; }
  .station.on { border-color:var(--rg); box-shadow:0 0 12px var(--rg); }
  .station.on b { color:var(--rg); }
  .empty { color:#6fae7e; text-align:center; padding:20px; grid-column:1 / -1; }
  .section { grid-column:1 / -1; margin-top:10px; padding-top:10px; border-top:1px solid rgba(57,255,106,.25);
             color:var(--rg); font-size:13px; font-weight:700; letter-spacing:1px; text-shadow:0 0 6px var(--rg); }
  .station { position:relative; cursor:pointer; padding-right:34px; }
  .station:hover { border-color:var(--rg); box-shadow:0 0 10px var(--rg); }
  .star { position:absolute; top:6px; right:6px; width:26px; height:26px; display:flex; align-items:center; justify-content:center;
          font-size:18px; color:#3c6b47; border-radius:6px; cursor:pointer; line-height:1; }
  .star:hover { color:var(--rg); }
  .star.on { color:var(--rg); text-shadow:0 0 8px var(--rg), 0 0 16px var(--rg); }
  .now .star { position:static; display:inline-flex; vertical-align:middle; margin-left:6px; }
  .star[hidden] { display:none; }

  /* ---------- Internet-Anzeige ---------- */
  .radio-head { gap:10px; flex-wrap:wrap; }
  .radio-btn.offline { border-color:var(--rr); color:var(--rr); text-shadow:0 0 8px var(--rr);
                       box-shadow:0 0 14px var(--rr), 0 0 30px rgba(255,59,59,.35); animation:none; background:transparent; }
  .net { display:flex; align-items:center; gap:10px; border:1px solid #1f3a26; border-radius:10px; padding:7px 12px; font-size:13px; color:#9fdcae; }
  .net .bars { display:flex; align-items:flex-end; gap:3px; height:20px; }
  .net .bars i { width:5px; border-radius:2px; background:#1c2b20; }
  .net .bars i:nth-child(1){height:20%} .net .bars i:nth-child(2){height:40%} .net .bars i:nth-child(3){height:60%}
  .net .bars i:nth-child(4){height:80%} .net .bars i:nth-child(5){height:100%}
  .net .bars i.on { background:var(--nc,var(--rg)); box-shadow:0 0 6px var(--nc,var(--rg)); }
  .net b { color:var(--nc,var(--rg)); text-shadow:0 0 8px var(--nc,var(--rg)); font-weight:700; }
  .net small { color:#6fae7e; font-variant-numeric:tabular-nums; }
  .net-icon { display:flex; color:var(--nc,var(--rg)); filter:drop-shadow(0 0 4px var(--nc,var(--rg))); }
  .net-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  @media (max-width:640px) { .decks { grid-template-columns:1fr; } .console { padding:14px; } }
