/* IchWillMetal.de Version 5, Ansicht "heute" (aus Version 4; die Ansicht 2006 hat in Version 5 eigenes Markup und iwt2006.css).
   Feeling von 2006, Technik von heute.
   Zwei Ansichten: .zeit-heute (Standard, hell/dunkel nach System) und .zeit-2006 (immer dunkel, Tahoma, kraeftiger Glanz).
   Keine Fremdschriften, keine Bilder von Dritten, keine Inline-Stile (CSP). */

:root {
  --grund: #05080f; --grund2: #0b1731; --flaeche: #0f1f40; --flaeche2: #132850; --kante: #27508f; --kante-hell: #7bbcff;
  --text: #dbe9ff; --text-leise: #a9c0e2; --text-stark: #ffffff; --link: #6fd0ff; --link-hover: #ffc04a;
  --glas1: #3b86d8; --glas2: #1d5cae; --glas3: #153f7d; --glas4: #1d5aa6;
  --orange1: #ffd37a; --orange2: #ff9a1a; --orange3: #b94d00;
  --ok-grund: #0f3a1e; --ok-kante: #2d9b4f; --ok-text: #d8ffe3; --fehler-grund: #471414; --fehler-kante: #e06060; --fehler-text: #ffe0e0;
  --lampe-an: #39ff6a; --lampe-aus: #40506a;
  --zettel1: #fff3a8; --zettel2: #c8f0ff; --zettel3: #ffd6e8; --zettel4: #d9ffd0; --zettel-text: #1d2433;
  --radius: 10px; --radius-klein: 6px; --abstand: 14px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-gross: 1rem;
  --glow: 0 0 38px rgba(32, 110, 240, .45), 0 0 2px #6ab4ff;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not(.zeit-2006) {
    --grund: #e9f1fb; --grund2: #f6f9fe; --flaeche: #ffffff; --flaeche2: #eef4fc; --kante: #9cb9e2; --kante-hell: #ffffff;
    --text: #13233d; --text-leise: #3d5478; --text-stark: #061226; --link: #0a4fa8; --link-hover: #a34700;
    --glas1: #5aa2ef; --glas2: #2a6fd0; --glas3: #1d55a8; --glas4: #2a6fd0;
    --ok-grund: #e3f7e8; --ok-kante: #2d9b4f; --ok-text: #0d3b1b; --fehler-grund: #fde8e8; --fehler-kante: #c24545; --fehler-text: #5a1010;
    --lampe-aus: #a0aec4; --glow: 0 6px 30px rgba(30, 80, 160, .18);
    color-scheme: light;
  }
  :root:not(.zeit-2006) .logo { background: linear-gradient(#0d2350, #1d4a9a); border-radius: var(--radius); padding: 4px 12px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--grund); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: var(--schrift-gross)/1.55 var(--schrift);
  background: var(--grund) radial-gradient(ellipse 1100px 420px at 50% 0, color-mix(in srgb, var(--glas2) 55%, transparent), transparent 70%) no-repeat;
  min-height: 100vh;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
b, strong { color: var(--text-stark); }
h1, h2, h3 { color: var(--text-stark); line-height: 1.25; margin: .4em 0; }
h3 { font-size: 1.05em; }
p { margin: .5em 0; }
img { max-width: 100%; height: auto; }
code { background: var(--grund2); padding: 0 .3em; border-radius: 3px; }
:focus-visible { outline: 3px solid var(--orange2); outline-offset: 2px; border-radius: 3px; }
.kl { font-size: .86em; color: var(--text-leise); }
.z { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sprung { position: absolute; left: 8px; top: -60px; z-index: 10; background: var(--orange2); color: #1b0d00; padding: 8px 14px; border-radius: 0 0 8px 8px; font-weight: bold; }
.sprung:focus { top: 0; }
[hidden] { display: none !important; }

/* ---------- Rahmen ---------- */
.rahmen { max-width: 1280px; margin: 0 auto 30px; padding: 0 12px; }
.kopf { margin-top: 10px; }
.kopf-innen { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 6px 4px; }
.logo { flex: 1 1 300px; min-width: 0; display: block; max-width: 640px; }
.logo-svg { display: block; width: 100%; height: auto; }
.titelleiste {
  height: 24px; line-height: 24px; text-align: center; color: #fff; letter-spacing: 3px; text-transform: uppercase; font-size: 11px;
  text-shadow: 0 1px 2px #002; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(#5aa2ef, var(--glas2) 50%, var(--glas3) 51%, var(--glas4)); border-top: 1px solid var(--kante-hell);
}

/* ---------- Equalizer ---------- */
.eq { display: flex; gap: 3px; align-items: flex-end; height: 58px; flex: none; padding: 0 4px; }
.kopf-innen .eq { margin-left: auto; }
.kopf-wahl { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.eq i {
  display: block; width: 7px; height: 100%; border-radius: 2px 2px 0 0; transform-origin: bottom; transform: scaleY(.2);
  background: linear-gradient(var(--orange1), var(--orange2) 55%, var(--orange3)); box-shadow: 0 0 6px color-mix(in srgb, var(--orange2) 70%, transparent);
  animation: eq-ruhe 2.6s ease-in-out infinite; will-change: transform;
}
.eq i:nth-child(3n) { animation-duration: 1.9s; } .eq i:nth-child(3n+1) { animation-duration: 3.1s; } .eq i:nth-child(4n) { animation-delay: -.7s; }
.eq i:nth-child(5n) { animation-delay: -1.3s; } .eq i:nth-child(7n) { animation-duration: 2.2s; }
@keyframes eq-ruhe { 0%, 100% { transform: scaleY(.12); } 50% { transform: scaleY(.45); } }
.eq.live i { animation: none; transition: transform .09s linear; }
.eq.spiel i { animation: eq-spiel .9s ease-in-out infinite; }
.eq.spiel i:nth-child(2n) { animation-duration: .62s; } .eq.spiel i:nth-child(3n) { animation-duration: 1.1s; } .eq.spiel i:nth-child(5n) { animation-duration: .74s; }
@keyframes eq-spiel { 0%, 100% { transform: scaleY(.15); } 30% { transform: scaleY(.95); } 60% { transform: scaleY(.4); } }
#eq-gross { height: 120px; justify-content: center; margin: 10px 0; }
#eq-gross i { width: 9px; }

/* ---------- Zeitreise-Schalter ---------- */
.zeitreise { flex: none; }
.zeitreise button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: .85em; }
.zr-jahr { opacity: .55; } .zr-jahr.an { opacity: 1; }
.zr-schalter { position: relative; width: 38px; height: 20px; border-radius: 10px; background: #0a1730; border: 1px solid #0b2f66; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .5); }
.zr-schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(var(--orange1), var(--orange2)); transition: left .2s; }
.zeitreise button[aria-pressed="false"] .zr-schalter::after { left: 20px; }

/* ---------- Navigation ---------- */
.hauptnav { background: linear-gradient(var(--flaeche2), var(--flaeche)); border: 1px solid var(--kante); border-top: 0; }
.hauptnav ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.hauptnav a { display: block; white-space: nowrap; padding: 6px 10px; border-radius: var(--radius-klein); color: var(--text); text-decoration: none; font-size: .92em; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { background: linear-gradient(var(--glas1), var(--glas2) 50%, var(--glas3) 51%, var(--glas4)); color: #fff; }

/* ---------- Laufband ---------- */
.lauf { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 4px 8px; background: var(--grund2); border: 1px solid var(--kante); border-radius: 14px; overflow: hidden; }
.lauf-schild { flex: none; font-size: 10px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: #1b0d00; background: linear-gradient(var(--orange1), var(--orange2)); padding: 1px 8px; border-radius: 8px; }
.ticker { overflow: hidden; display: flex; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-band { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; gap: 6px; flex: none; animation: lauf 48s linear infinite; }
.ticker:hover .ticker-band, .ticker:focus-within .ticker-band { animation-play-state: paused; }
@keyframes lauf { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ticker.senkrecht { flex-direction: column; height: 150px; mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.ticker.senkrecht .ticker-band { flex-direction: column; padding: 0 0 12px; animation-name: lauf-hoch; animation-duration: 30s; text-align: center; gap: 12px; }
@keyframes lauf-hoch { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.box .ticker:not(.senkrecht) .ticker-band { animation-duration: 18s; gap: 16px; }
.chip { display: inline-block; font-size: 11px; line-height: 1.6; padding: 0 9px; border-radius: 9px; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(#4a96e8, #17488f); border: 1px solid #0b2f66; }
.chip:hover { background: linear-gradient(#ffc24a, #d97f08); color: #231300; }
.chip.klein { font-size: 10px; padding: 0 6px; vertical-align: 1px; }
.chip.aus, .aus { background: #2a3550; color: #a9b6cc; border-color: #3a4766; }

/* ---------- Raster ---------- */
.raster { display: grid; grid-template-columns: 1fr; gap: var(--abstand); padding: var(--abstand) 0 0; }
.mitte { min-width: 0; outline: none; }
.seite { min-width: 0; display: grid; gap: 10px; align-content: start; }
.nav-box { display: none; }
@media (min-width: 620px) and (max-width: 939px) { .seite { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) {
  .raster { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "seite mitte"; }
  .mitte { grid-area: mitte; } .seite { grid-area: seite; }
  .nav-box { display: block; }
  .navi-seite .hauptnav { display: none; }
  .navi-oben .nav-box { display: none; }
  .navi-oben .hauptnav ul { flex-wrap: wrap; overflow-x: visible; }
}

/* ---------- Kaesten und Panels ---------- */
.box, .panel { background: linear-gradient(var(--flaeche2), var(--flaeche)); border: 1px solid var(--kante); border-radius: var(--radius); overflow: hidden; box-shadow: var(--glow); }
.panel { margin-bottom: var(--abstand); }
.box-k, .panel-k { margin: 0; color: #fff; font-weight: bold; text-shadow: 0 1px 1px #012; border-top: 1px solid var(--kante-hell);
  background: linear-gradient(var(--glas1), var(--glas2) 48%, var(--glas3) 52%, var(--glas4)); }
.box-k { font-size: .85em; text-align: center; padding: 4px 8px; letter-spacing: .5px; }
details.box > summary.box-k { display: block; list-style: none; cursor: pointer; position: relative; padding-left: 22px; padding-right: 22px; }
details.box > summary.box-k::-webkit-details-marker { display: none; }
details.box > summary.box-k::before { content: ""; position: absolute; left: 9px; top: 50%; margin-top: -4px; border: 4px solid transparent; border-left: 6px solid #fff; transition: transform .15s; }
details.box[open] > summary.box-k::before { transform: rotate(90deg); margin-left: -1px; margin-top: -3px; }
details.box > summary.box-k h2 { margin: 0; font-size: inherit; display: inline; }
details.box > summary.box-k:hover { filter: brightness(1.15); }
details.box > summary.box-k:focus-visible { outline: 2px solid #ffb52e; outline-offset: -2px; }
.nur-js { display: none; } .js .nur-js { display: block; }
.boxsteuerung { margin: 0; font-size: .8em; text-align: center; }
@media (prefers-reduced-motion: reduce) { details.box > summary.box-k::before { transition: none; } }
.panel-k { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 12px; flex-wrap: wrap; }
.panel-k h2, .panel-k h3 { margin: 0; font-size: .98rem; color: #fff; }
.panel-k a { color: #fff; } .panel-k a:hover { color: var(--orange1); }
.panel-r { font-size: .8em; font-weight: normal; opacity: .9; }
.box-i { padding: 8px 10px; font-size: .9em; }
.panel-i { padding: 10px 14px; }
.panel .panel { box-shadow: none; }

/* ---------- Listen ---------- */
.nav, .liste, .live, .buddies, .umfrage, .shouts, .chat-liste, .galerie, .kacheln { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 3px 8px; border-radius: 4px; color: var(--text); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: linear-gradient(var(--glas1), var(--glas3)); color: #fff; }
.liste li { padding: 5px 0; border-bottom: 1px dotted var(--kante); }
.live li { padding: 4px 0; border-bottom: 1px dotted var(--kante); }
.live .np { display: block; font-size: .8em; color: var(--text-leise); }
.play::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-right: 6px; vertical-align: 0; }
.zahl { display: inline-block; font-size: .78em; background: var(--orange2); color: #1b0d00; border-radius: 8px; padding: 0 6px; font-weight: bold; }

/* ---------- Shoutbox, Chat ---------- */
.shouts { max-height: 240px; overflow-y: auto; }
.shouts li { border-bottom: 1px dotted var(--kante); padding: 3px 0; overflow-wrap: anywhere; }
.hoert { display: inline-block; font-size: .75em; color: #1b0d00; background: linear-gradient(var(--orange1), var(--orange2)); border-radius: 7px; padding: 0 6px; }
.shout-form { display: flex; gap: 4px; margin-top: 6px; }
.shout-form input:not([type=hidden]) { flex: 1; min-width: 0; }
.chat-liste { height: 360px; overflow-y: auto; background: var(--grund2); border: 1px solid var(--kante); border-radius: var(--radius-kasten); padding: 6px 10px; margin-bottom: 8px; }
.chat-liste li { padding: 2px 0; overflow-wrap: anywhere; }
.kanaele { display: grid; grid-template-columns: 1fr; gap: 12px; }
.kanalliste h3 { margin: 4px 0 0; font-size: .95em; }
.kanalliste ul { list-style: none; margin: 4px 0 10px; padding: 0; }
.kanalliste a { display: block; padding: 3px 8px; border-radius: var(--radius-klein); color: var(--text); text-decoration: none; }
.kanalliste a:hover, .kanalliste a[aria-current="page"] { background: linear-gradient(var(--glas1), var(--glas2) 50%, var(--glas3) 51%, var(--glas4)); color: #fff; }
.kanal h3 { margin-top: 0; }
@media (min-width: 700px) { .kanaele { grid-template-columns: 190px minmax(0, 1fr); } }

/* ---------- Lampen, Raenge, Abzeichen ---------- */
.lampe { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: 0; background: var(--lampe-aus); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35); }
.lampe.an { background: radial-gradient(circle at 35% 30%, #d6ffe0, var(--lampe-an) 55%, #0a8a2c); box-shadow: 0 0 6px var(--lampe-an); }
.buddies li { padding: 2px 0; } .buddies .freund a { font-weight: bold; }
.buddies .freund::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 4px; background: var(--orange2); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rang, .rolle { display: inline-block; font-size: .72em; line-height: 1.5; padding: 0 7px; border-radius: 8px; font-weight: bold; letter-spacing: .3px; white-space: nowrap; border: 1px solid rgba(0, 0, 0, .35); }
.rang.r0 { background: #2b3d5e; color: #cfe0f7; } .rang.r1 { background: linear-gradient(#5aa2ef, #1d5cae); color: #fff; }
.rang.r2 { background: linear-gradient(#59d7c4, #127a6c); color: #fff; } .rang.r3 { background: linear-gradient(#b48cff, #5b2db8); color: #fff; }
.rang.r4 { background: linear-gradient(var(--orange1), var(--orange2)); color: #231300; } .rang.r5 { background: linear-gradient(#ffffff, #ffd37a 40%, #ff5e1a); color: #231300; box-shadow: 0 0 6px #ff9a1a; }
.rang.archiv { background: #3a4766; color: #d5deec; }
.rolle.admin { background: linear-gradient(#ff7b7b, #b01d1d); color: #fff; } .rolle.mod { background: linear-gradient(#7be0ff, #1d7fb0); color: #04202e; }

/* ---------- Formulare und Knoepfe ---------- */
input, select, textarea { font: inherit; font-size: .95em; color: var(--text); background: var(--grund2); border: 1px solid var(--kante); border-radius: 4px; padding: 5px 7px; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--orange2); }
textarea { width: 100%; resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--orange2); }
.formular label:not(.check) { display: block; font-weight: bold; margin-bottom: 2px; }
.formular input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]) { width: 100%; max-width: 32rem; }
.formular .kl { display: block; }
.box form label { display: block; font-size: .9em; margin-top: 4px; }
.box form input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { width: 100%; }
.box form.shout-form input { width: auto; }
.check { display: block; font-weight: normal; margin: 4px 0; }
fieldset { border: 1px solid var(--kante); border-radius: var(--radius-kasten); margin: 0 0 8px; padding: 6px 10px; }
legend { font-weight: bold; color: var(--text-stark); padding: 0 4px; }
button, .aktion {
  display: inline-block; cursor: pointer; font: inherit; font-size: .9em; font-weight: bold; color: #fff; text-decoration: none; text-shadow: 0 1px 1px #012;
  padding: 5px 14px; border: 1px solid #0b2f66; border-radius: 6px; margin: 2px 0;
  background: linear-gradient(#5aa8f5, #2268c4 50%, #17488f 52%, #2268be); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
button:hover, .aktion:hover { background: linear-gradient(#ffd27a, #f0951a 50%, #d97f08 52%, #f5a92b); color: #231300; text-shadow: none; }
button.link { background: none; border: 0; box-shadow: none; color: var(--link); font-weight: normal; padding: 0; text-shadow: none; text-decoration: underline; }
button.link:hover { color: var(--link-hover); background: none; }
button.gefahr { background: linear-gradient(#ff8a8a, #c22d2d 50%, #9d1d1d 52%, #c22d2d); }
form.inline { display: inline; }
.ohne-js { } .js .ohne-js { display: none; }
.zeilenform { display: flex; flex-wrap: wrap; gap: 6px; align-items: end; }
.zeilenform label { font-size: .85em; }

/* ---------- Hinweise ---------- */
.hinweis { margin: 0 0 var(--abstand); padding: 8px 12px; border-radius: var(--radius-kasten); border: 1px solid; }
.hinweis.ok { background: var(--ok-grund); border-color: var(--ok-kante); color: var(--ok-text); }
.hinweis.fehler { background: var(--fehler-grund); border-color: var(--fehler-kante); color: var(--fehler-text); }
.geheim code { font-size: 1.3em; padding: 4px 10px; user-select: all; }
/* Passkeys: Meldungen von passkey.js, Wiederherstellungscodes (einmal angezeigt), Knopf mit Schluessel-Symbol */
.pk-meldung { margin: 8px 0 0; padding: 6px 10px; border-radius: var(--radius-kasten); border: 1px solid; font-size: .95em; }
.pk-meldung.ok { background: var(--ok-grund); border-color: var(--ok-kante); color: var(--ok-text); }
.pk-meldung.fehler { background: var(--fehler-grund); border-color: var(--fehler-kante); color: var(--fehler-text); }
form.inline .pk-meldung { display: inline-block; margin: 0 0 0 8px; }
ol.codes { columns: 2; column-gap: 24px; margin: 10px 0 14px; padding-left: 1.6em; }
ol.codes li { margin: 0 0 4px; break-inside: avoid; }
ol.codes code { font-size: 1.1em; letter-spacing: .5px; user-select: all; }
.pk-codes { padding: 12px 14px; border: 1px solid var(--ok-kante); border-radius: var(--radius-kasten); background: var(--ok-grund); }
.pk-anmelden button svg.sym { width: 1.1em; height: 1.1em; vertical-align: -.2em; margin-right: 4px; }
@media (max-width: 460px) { ol.codes { columns: 1; } }

/* ---------- Tabellen ---------- */
.tab-rahmen { overflow-x: auto; }
.tab { width: 100%; border-collapse: collapse; font-size: .93em; }
.tab th { text-align: left; }
.tab thead th { background: linear-gradient(var(--glas1), var(--glas2) 48%, var(--glas3) 52%, var(--glas4)); color: #fff; padding: 4px 8px; border: 1px solid var(--kante); }
.tab td, .tab tbody th { padding: 6px 8px; border: 1px solid var(--kante); vertical-align: top; }
.tab tbody tr:nth-child(odd) > * { background: var(--flaeche); } .tab tbody tr:nth-child(even) > * { background: var(--flaeche2); }
.tab tr.gruppe th { background: linear-gradient(var(--glas3), var(--glas2)); color: #fff; letter-spacing: 1px; }
.tab .ikon { width: 26px; text-align: center; }
.ordner { display: inline-block; width: 18px; height: 13px; border-radius: 2px 5px 2px 2px; background: linear-gradient(#ffe7a8, #e8920c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.ordner.neu { box-shadow: 0 0 6px var(--orange2), inset 0 -3px 0 rgba(0, 0, 0, .18); }
table.mini th { text-align: left; font-weight: normal; color: var(--text-leise); padding-right: 10px; }
dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; font-size: .9em; margin: 6px 0; }
dl.meta dt { color: var(--text-leise); } dl.meta dd { margin: 0; }

/* ---------- Inhalte ---------- */
.eintrag { padding: 8px 0; border-bottom: 1px dotted var(--kante); overflow: hidden; }
.eintrag h3 { margin: 0; } .gross { font-size: 1.08em; }
.katbild { float: left; margin: 4px 12px 6px 0; border: 1px solid var(--kante); max-width: 120px; border-radius: 4px; }
.filter { background: var(--grund2); border: 1px solid var(--kante); border-radius: var(--radius-kasten); padding: 6px 10px; margin-bottom: 10px; font-size: .85em; }
.filter .abc { word-spacing: 2px; line-height: 1.9; }
.seiten { margin: 10px 0; font-size: .9em; }
.nachweis { text-align: right; margin: -6px 0 var(--abstand); }
.fuss-zeile { margin-top: 8px; border-top: 1px solid var(--kante); padding-top: 4px; }
.willkommen { font-size: 1.05em; }
.komm { border-bottom: 1px dotted var(--kante); padding: 4px 0; overflow-wrap: anywhere; }
blockquote.zitat { margin: 6px 0; padding: 4px 12px; background: var(--grund2); border-left: 3px solid var(--orange2); border-radius: 0 4px 4px 0; }
pre.code { background: var(--grund); border: 1px solid var(--kante); padding: 8px; overflow-x: auto; border-radius: 4px; }
.sig { color: var(--text-leise); border-top: 1px dotted var(--kante); margin-top: 8px; padding-top: 4px; font-size: .85em; }
.sm { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; border-radius: 50%; border: 1px solid #8a5d00; background: radial-gradient(circle at 35% 30%, #fff3a8, #f5b81c); position: relative; }
.sm::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 4px; border-bottom: 2px solid #5c3d00; border-radius: 0 0 6px 6px; }
.sm-sad::after { bottom: 2px; border-bottom: 0; border-top: 2px solid #5c3d00; border-radius: 6px 6px 0 0; }
.sm-oh::after { left: 5px; right: 5px; height: 4px; border: 2px solid #5c3d00; border-radius: 50%; }
.sm-grin::after { height: 5px; background: #5c3d00; }
.sm-tongue::after { background: linear-gradient(transparent 50%, #e8526b 50%); }
.sm-wink { background: radial-gradient(circle at 35% 30%, #fff3a8, #f5b81c); }

/* Forum */
.thread { display: grid; gap: 8px; }
.beitrag { display: grid; grid-template-columns: 1fr; border: 1px solid var(--kante); border-radius: var(--radius-kasten); overflow: hidden; }
.beitrag .autor { background: var(--grund2); padding: 8px 10px; font-weight: bold; }
.beitrag .inhalt { padding: 8px 12px; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) { .beitrag { grid-template-columns: 170px 1fr; } .beitrag .autor { border-right: 1px solid var(--kante); } }
.modbox { border-top: 1px solid var(--kante); padding-top: 8px; }

/* Gaestebuch-Wand */
.wand { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 6px 2px 10px; }
.zettel { color: var(--zettel-text); background: var(--zettel1); padding: 12px 14px 10px; border-radius: 2px; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); position: relative; overflow-wrap: anywhere; }
.zettel::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffb3b3, #c22d2d); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); }
.zettel.z1 { background: var(--zettel2); } .zettel.z2 { background: var(--zettel3); } .zettel.z3 { background: var(--zettel4); }
.zettel h3, .zettel b { color: #0b1630; } .zettel .kl { color: #3b4a66; } .zettel a { color: #0a4fa8; }
.zettel .zitat, .zettel pre.code { background: rgba(255, 255, 255, .5); color: inherit; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.galerie li { text-align: center; }
.bild-rahmen { display: inline-block; padding: 3px; background: var(--grund2); border: 2px solid var(--kante); border-radius: 4px; }
img.thumb { max-width: 140px; max-height: 110px; width: auto; height: auto; display: block; }
.bildbox { margin: 0; text-align: center; } .bildbox img { border: 2px solid var(--kante); border-radius: 4px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.kacheln a { display: block; padding: 10px; border: 1px solid var(--kante); border-radius: var(--radius-kasten); background: var(--grund2); text-decoration: none; }
.kacheln a:hover { border-color: var(--orange2); }

/* Umfragen, Zaehler */
meter { width: 100%; height: 9px; display: block; }
.umfrage li { margin-bottom: 4px; }
.zaehler { display: flex; justify-content: center; gap: 2px; margin: 2px 0 6px; }
.zaehler span { font: bold 15px/1 ui-monospace, "Courier New", monospace; color: var(--lampe-an); background: #02060c; border: 1px solid #1a2f50; padding: 3px 4px; border-radius: 2px; text-shadow: 0 0 5px var(--lampe-an); }
.tell input[type=email], .tell input[name=name] { width: 100%; }

/* Verwaltung */
.adminnav ul { list-style: none; margin: 0 0 12px; padding: 0 0 8px; border-bottom: 1px solid var(--kante); display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9em; }

/* Fuss */
.fuss { text-align: center; color: var(--text-leise); font-size: .85em; padding: 12px; margin-top: var(--abstand); border-top: 1px solid var(--kante); }

/* Radio-Fenster */
.popup body, body.radio { background: var(--grund); }
.radio-popup { padding: 14px; max-width: 460px; margin: 0 auto; }
.radio-kopf { font-size: 1rem; background: linear-gradient(var(--glas1), var(--glas3)); color: #fff; padding: 6px 10px; border-radius: 6px; margin: 0 0 10px; }
.radio-name { font-size: 1.25em; font-weight: bold; color: var(--text-stark); margin: 8px 0 0; }
.np-gross { margin: 6px 0; padding: 8px; background: var(--grund2); border: 1px solid var(--kante); border-radius: 6px; min-height: 2.2em; }
audio { width: 100%; margin: 8px 0; }

/* Druck */
body.druck { background: #fff; color: #000; } body.druck main { max-width: 42rem; margin: 2rem auto; } body.druck h1, body.druck b { color: #000; }
@media print { .seite, .hauptnav, .lauf, .zeitreise, .eq, .fuss form { display: none !important; } body { background: #fff; color: #000; } .box, .panel { box-shadow: none; } }

/* =============== Zeitreise 2006 =============== */
.zeit-2006 {
  --schrift: Tahoma, Verdana, "DejaVu Sans", Arial, sans-serif; --schrift-gross: 12px; --radius: 6px; --radius-klein: 4px; --abstand: 10px;
  --glow: 0 0 2px #6ab4ff; color-scheme: dark;
}
.zeit-2006 body {
  background-color: #05080f;
  background-image: radial-gradient(ellipse 900px 380px at 50% 0, #1d4a9a 0, #0d1d3f 45%, transparent 100%),
                    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
  background-attachment: fixed;
}
.zeit-2006 .rahmen { max-width: 1000px; background: #091328; border-radius: 10px; box-shadow: 0 0 38px rgba(32, 110, 240, .55), 0 0 2px #6ab4ff; padding: 0 0 4px; margin-top: 14px; overflow: hidden; }
.zeit-2006 .kopf { margin: 0; padding: 8px 12px 0; background: linear-gradient(#0d2350, #091328); }
.zeit-2006 .titelleiste { border-radius: 0; margin: 0 -12px; }
.zeit-2006 .hauptnav { margin: 0 -12px; border-left: 0; border-right: 0; }
.zeit-2006 .hauptnav a { font-size: 11px; padding: 3px 8px; }
.zeit-2006 .lauf { margin: 8px 0 0; }
.zeit-2006 .raster { padding: 10px 12px 0; }
@media (min-width: 940px) { .zeit-2006 .raster { grid-template-columns: 190px minmax(0, 1fr); } }
.zeit-2006 .box-k { font-size: 12px; }
.zeit-2006 .panel-k h2, .zeit-2006 .panel-k h3 { font-size: 12px; }
.zeit-2006 .panel-i { background: #0f1f40; }
.zeit-2006 h3 { font-size: 13px; } .zeit-2006 .kl { font-size: 11px; }
.zeit-2006 button, .zeit-2006 .aktion { font-size: 12px; padding: 2px 10px; border-radius: 4px; }
.zeit-2006 input, .zeit-2006 select, .zeit-2006 textarea { font-size: 12px; padding: 2px 4px; border-radius: 3px; }
.zeit-2006 .tab td, .zeit-2006 .tab tbody th { padding: 4px 6px; }
.zeit-2006 .zettel { transform: rotate(-1.5deg); } .zeit-2006 .zettel.z1 { transform: rotate(1.2deg); } .zeit-2006 .zettel.z2 { transform: rotate(-.6deg); } .zeit-2006 .zettel.z3 { transform: rotate(2deg); }
.zeit-2006 .fuss { color: #6f8fc0; }
.zeit-2006 .eq { height: 52px; } .zeit-2006 .eq i { width: 6px; }

/* =============== Bewegung abschalten =============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker { mask-image: none; overflow-x: auto; }
  .ticker .kopie { display: none; }
  .ticker-band { flex-wrap: wrap; }
  .ticker.senkrecht { height: auto; overflow: visible; }
  .eq i { transform: scaleY(.3); }
}

/* ---------- Forum als Aufklapp-Liste (FAQ-Effekt) ---------- */
.fakk { margin-top: 10px; display: grid; gap: 8px; }
.fakk details { border: 1px solid var(--kante); border-radius: min(var(--radius), 14px); background: var(--grund2); }   /* radius-klein ist in manchen Stilen 999px (Pillen-Knoepfe): Kaesten wuerden oval */
.fakk summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 12px 8px 30px; cursor: pointer; position: relative; list-style: none; }
.fakk summary::-webkit-details-marker { display: none; }
.fakk summary::before { content: ""; position: absolute; left: 12px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 7px solid var(--text); transition: transform .15s; }
.fakk details[open] > summary::before { transform: rotate(90deg); margin-left: -2px; margin-top: -3px; }
.fakk summary:hover { background: linear-gradient(var(--glas1), var(--glas2) 50%, var(--glas3) 51%, var(--glas4)); color: #fff; }
.fakk summary:focus-visible { outline: 2px solid var(--akzent, #ffb52e); outline-offset: -2px; }
.fakk .fkat > summary { font-weight: bold; background: linear-gradient(var(--flaeche2), var(--flaeche)); }
.fakk .fname { flex: 1 1 14rem; }
.fakk .fzahl { font-size: .85em; opacity: .85; }
.fakk .finnen { padding: 4px 10px 10px; display: grid; gap: 6px; }
.fakk .fboard { margin: 0; }
.fakk .fboard > summary { font-weight: normal; }
.fakk .fthemen { margin: 0 0 8px; font-size: .95em; }
.fakk .fthemen th, .fakk .fthemen td { padding: 4px 8px; vertical-align: top; }
.fakk .fthemen .thema { overflow-wrap: anywhere; }
.fakk .fthemen .autor, .fakk .fthemen .datum { white-space: nowrap; }
.fakk .fthemen td.z, .fakk .fthemen th.z { text-align: right; width: 4.5em; }
.fakk .fthemen td.datum, .fakk .fthemen th.datum { text-align: right; }
@media (max-width: 560px) { .fakk .fthemen .autor { display: none; } }
.fakk .fboard > summary .ordner { margin-left: -4px; }
b.neu { color: #ffb52e; }
@media (prefers-reduced-motion: reduce) { .fakk summary::before { transition: none; } }

/* Einseiten-Ansicht Chat und Forum: Sprungmarken, sanftes Scrollen */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.abschnitt { scroll-margin-top: 12px; }

/* ---------- Seitenleiste mit sieben Kaesten ---------- */
.box-unter { margin: 10px 0 4px; font-size: .85em; border-top: 1px dotted var(--kante); padding-top: 6px; }
.chat-liste.mini { height: auto; max-height: 180px; font-size: .9em; padding: 4px 6px; }
.neu-hier { list-style: none; margin: 6px 0 0; padding: 0; }
.neu-hier li { padding: 3px 0; border-bottom: 1px dotted var(--kante); overflow-wrap: anywhere; }
.neu-hier .art { display: inline-block; min-width: 3.6em; font-size: .72em; text-transform: uppercase; letter-spacing: .5px; padding: 0 4px; border-radius: 3px;
  background: var(--grund2); border: 1px solid var(--kante); text-align: center; }
.teilen { margin: 6px 0 14px; text-align: right; }

/* ---------- Reiter im Magazin ---------- */
.reiter ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; padding: 0; }
.reiter a { display: block; padding: 5px 14px; border: 1px solid var(--kante); border-radius: var(--radius-klein) var(--radius-klein) 0 0; color: var(--text); text-decoration: none;
  background: var(--grund2); }
.reiter a:hover, .reiter a[aria-current="page"] { background: linear-gradient(var(--glas1), var(--glas2) 50%, var(--glas3) 51%, var(--glas4)); color: #fff; }

/* ---------- Dieses Wochenende: Flyer-Karten, waagrecht, laufen langsam durch ---------- */
.wochenende { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; outline: none; }
.wochenende:focus-visible { outline: 2px solid #ffb52e; outline-offset: 2px; }
.karten { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.flyer { flex: 0 0 15.5rem; min-height: 15rem; scroll-snap-align: start; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); color: #fff; }
.flyer.f0 { background: linear-gradient(160deg, #ff2fa0, #3a0ca3 70%); }
.flyer.f1 { background: linear-gradient(160deg, #00c2ff, #10257a 70%); }
.flyer.f2 { background: linear-gradient(160deg, #ffb52e, #b3001b 75%); }
.flyer.f3 { background: linear-gradient(160deg, #39ff88, #06404f 70%); }
.flyer.f4 { background: linear-gradient(160deg, #b388ff, #1a0533 70%); }
.flyer.f5 { background: linear-gradient(160deg, #ff6b3d, #2b0a3d 70%); }
.flyer-datum { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px 6px; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.flyer-datum .tag { font: 700 1rem/1 Impact, 'Arial Narrow Bold', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.flyer-datum .zahl { font: 700 2rem/1 Impact, 'Arial Narrow Bold', sans-serif; letter-spacing: 1px; }
.flyer-datum .uhr { margin-left: auto; font-size: .8em; opacity: .9; }
.flyer-text { padding: 6px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .55) 30%); flex: 1; display: flex; flex-direction: column; gap: 4px; }
.flyer-text h3 { margin: 2px 0 0; font-size: 1.05rem; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.flyer-text p { margin: 0; }
.flyer-text .ort { font-weight: bold; opacity: .95; }
.flyer-text .line { color: #e8eefc; }
.flyer-text a { color: #fff; text-decoration: underline; margin-top: auto; }
@media (max-width: 480px) { .flyer { flex-basis: 80%; } }

/* =====================================================================================================================
   Ansicht "heute": 15 Genre-Stile, bei jedem Seitenaufruf ein anderer (data-genre am <html>, vom Server gewaehlt).
   Jeder Stil hat eigene Farben, eigene Formen und eigene animierte Hintergruende (static/hintergrund.js, Auswahl in iwt4.js).
   Die Ansicht "2006" (.zeit-2006) bleibt davon unberuehrt.
   ===================================================================================================================== */
#bg { display: none; }
.zeit-heute[data-genre] #bg { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.zeit-heute[data-genre] body { background: transparent; }
.zeit-heute[data-genre] .box, .zeit-heute[data-genre] .panel {
  background: color-mix(in srgb, var(--flaeche) var(--deckung), transparent); border-color: var(--kante); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--unschaerfe)); backdrop-filter: blur(var(--unschaerfe)); }
.zeit-heute[data-genre] .box-k, .zeit-heute[data-genre] .panel-k { font-family: var(--titelschrift); letter-spacing: var(--titelabstand); text-transform: var(--titelform); }
.zeit-heute[data-genre] .box-k h2, .zeit-heute[data-genre] .panel-k h2, .zeit-heute[data-genre] .panel-k h3, .zeit-heute[data-genre] .panel-k a { color: #fff; }
.zeit-heute[data-genre] .hauptnav { background: color-mix(in srgb, var(--flaeche) var(--deckung), transparent); border-color: var(--kante); border-radius: var(--radius); }
.zeit-heute[data-genre] .hauptnav a { font-family: var(--titelschrift); border-radius: var(--radius-klein); }
.zeit-heute[data-genre] .lauf { background: color-mix(in srgb, var(--flaeche) var(--deckung), transparent); border-color: var(--kante); }
.zeit-heute[data-genre] .chip { background: linear-gradient(var(--glas1), var(--glas3)); border-color: var(--kante); color: #fff; }
.zeit-heute[data-genre] .chip:hover { background: linear-gradient(var(--link-hover), color-mix(in srgb, var(--link-hover) 60%, #000)); color: #111; }
.zeit-heute[data-genre] .eq i { background: linear-gradient(var(--eq1), var(--eq2)); box-shadow: 0 0 6px var(--eq2); }
.zeit-heute[data-genre] .logo { background: none; padding: 0; }
.zeit-heute[data-genre] .logo-svg :is(#vc, #vc2) stop:nth-child(1) { stop-color: var(--logo-a); }
.zeit-heute[data-genre] .logo-svg :is(#vc, #vc2) stop:nth-child(2) { stop-color: var(--logo-b); }
.zeit-heute[data-genre] .logo-svg :is(#vc, #vc2) stop:nth-child(3) { stop-color: var(--logo-c); }
.zeit-heute[data-genre] .logo-svg :is(#vc, #vc2) stop:nth-child(4) { stop-color: var(--logo-b); }
.zeit-heute[data-genre] .logo-svg :is(#vo, #vo2) stop:nth-child(1) { stop-color: var(--logo-x); }
.zeit-heute[data-genre] .logo-svg :is(#vo, #vo2) stop:nth-child(2) { stop-color: var(--logo-y); }
.zeit-heute[data-genre] .logo-svg :is(#vo, #vo2) stop:nth-child(3) { stop-color: var(--logo-z); }
.zeit-heute[data-genre] .logo-svg text:first-of-type { stroke: var(--logo-rand); }
.zeit-heute[data-genre] .logo-svg text:last-of-type { display: none; }   /* Untertitel weg, die Linie (path) bleibt */
.zeit-heute[data-genre] .logo-svg path { stroke: var(--glas2); }
.zeit-heute[data-genre] .logo-svg text:last-of-type { fill: var(--text-leise); }
.zeit-heute[data-genre] button, .zeit-heute[data-genre] .aktion { border-radius: var(--radius-klein); border-color: var(--kante); color: #fff;
  background: linear-gradient(var(--glas1), var(--glas2) 50%, var(--glas3) 51%, var(--glas4)); }
.zeit-heute[data-genre] button:hover, .zeit-heute[data-genre] .aktion:hover { background: var(--link-hover); color: #111; }
.zeit-heute[data-genre] button.link { background: none; color: var(--link); }
.zeit-heute[data-genre] input, .zeit-heute[data-genre] select { border-radius: var(--radius-klein); }
.zeit-heute[data-genre] textarea { border-radius: var(--radius-kasten); }

/* Gemeinsame Grundwerte je Gesicht */
.zeit-heute[data-genre][data-mode="dark"] {
  --deckung: 80%; --unschaerfe: 6px; --titelschrift: var(--schrift); --titelabstand: .3px; --titelform: none;
  --ok-grund: #0f3a1e; --ok-kante: #2d9b4f; --ok-text: #d8ffe3; --fehler-grund: #471414; --fehler-kante: #e06060; --fehler-text: #ffe0e0;
  --lampe-aus: #40506a; color-scheme: dark; }
.zeit-heute[data-genre][data-mode="light"] {
  --deckung: 84%; --unschaerfe: 8px; --titelschrift: var(--schrift); --titelabstand: .3px; --titelform: none;
  --ok-grund: #e3f7e8; --ok-kante: #2d9b4f; --ok-text: #0d3b1b; --fehler-grund: #fde8e8; --fehler-kante: #c24545; --fehler-text: #5a1010;
  --lampe-aus: #a0aec4; color-scheme: light; }

/* =====================================================================================================================
   IchWillMetal: Farben je Genre (Entscheidung des Betreibers 09.11.2026, zweiter Schritt): dunkler Grund fuer alle, aber jedes Genre
   mit eigenen Akzenten aus seiner Bildsprache (--akzent, --akzent2, dritte Farbe --pur). Schrift, Formen und Grafiken stehen in
   static/formen.css, die Hintergruende in static/metal-hg.js. --cyan/--mag/--pur lesen auch iwt4/licht.py (Lampen) und die
   Hintergruende (Farben a, b, c).
   ===================================================================================================================== */
/* ---------- Heavy Metal: Blutrot und Feuer auf Stahl (Plattencover der 80er) ---------- */
.zeit-heute[data-genre="heavy"] {
  --grund: #0a0708; --grund2: #0f0a0b; --flaeche: #140d0e; --flaeche2: #20191a; --kante: #3a1c1c; --kante-hell: #d4161f; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #e15c62; --link-hover: #ffffff; --glas1: #352f30; --glas2: #241e1f; --glas3: #080606; --glas4: #2c2526; --glow: 0 0 34px rgba(212, 22, 31, .14); --radius: 0; --radius-klein: 0; --bg: #0a0708; --ink: #d8d6d3; --cyan: #d4161f; --mag: #ff8a1e; --pur: #7a0a10; --eq1: #d4161f; --eq2: #ff8a1e; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #eea2a5; --logo-y: #d4161f; --logo-z: #5f0a0e; --logo-rand: #000000; --akzent: #d4161f; --akzent2: #ff8a1e; }

/* ---------- Metal (Power, True): Gold und Stahlblau, episch ---------- */
.zeit-heute[data-genre="metal"] {
  --grund: #07080c; --grund2: #0c0d13; --flaeche: #10121a; --flaeche2: #1c1e25; --kante: #2c3242; --kante-hell: #d2a843; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #e0c27b; --link-hover: #ffffff; --glas1: #31333a; --glas2: #21232a; --glas3: #06060a; --glas4: #282a31; --glow: 0 0 34px rgba(210, 168, 67, .14); --radius: 0; --radius-klein: 0; --bg: #07080c; --ink: #d8d6d3; --cyan: #d2a843; --mag: #4f7fd8; --pur: #2a3a6a; --eq1: #d2a843; --eq2: #4f7fd8; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #eddcb4; --logo-y: #d2a843; --logo-z: #5e4c1e; --logo-rand: #000000; --akzent: #d2a843; --akzent2: #4f7fd8; }

/* ---------- Death Metal: Giftgruen und Blut, alte Cover in Moder und Verwesung ---------- */
.zeit-heute[data-genre="death"] {
  --grund: #070a06; --grund2: #0b0f09; --flaeche: #0f140c; --flaeche2: #1b2018; --kante: #2b3a1f; --kante-hell: #7fd13b; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #a5df76; --link-hover: #ffffff; --glas1: #31352e; --glas2: #20241d; --glas3: #060805; --glas4: #272c24; --glow: 0 0 34px rgba(127, 209, 59, .14); --radius: 0; --radius-klein: 0; --bg: #070a06; --ink: #d8d6d3; --cyan: #7fd13b; --mag: #b3121c; --pur: #4a2a5a; --eq1: #7fd13b; --eq2: #b3121c; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #ccedb1; --logo-y: #7fd13b; --logo-z: #395e1b; --logo-rand: #000000; --akzent: #7fd13b; --akzent2: #b3121c; }

/* ---------- Festival: Buehnenlicht Bernstein, Pyro-Rot, Matsch ---------- */
.zeit-heute[data-genre="wacken"] {
  --grund: #0b0906; --grund2: #110e09; --flaeche: #17120c; --flaeche2: #231e18; --kante: #4a3820; --kante-hell: #ffb000; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #ffc84c; --link-hover: #ffffff; --glas1: #37332e; --glas2: #27231d; --glas3: #090705; --glas4: #2e2a24; --glow: 0 0 34px rgba(255, 176, 0, .14); --radius: 0; --radius-klein: 0; --bg: #0b0906; --ink: #d8d6d3; --cyan: #ffb000; --mag: #e8452c; --pur: #5a3a1a; --eq1: #ffb000; --eq2: #e8452c; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #ffdf99; --logo-y: #ffb000; --logo-z: #734f00; --logo-rand: #000000; --akzent: #ffb000; --akzent2: #e8452c; }

/* ---------- Black Metal: Schwarzweiss und Frost (Corpsepaint) ---------- */
.zeit-heute[data-genre="black"] {
  --grund: #050506; --grund2: #0a0a0c; --flaeche: #0e0f11; --flaeche2: #1a1b1d; --kante: #2a2c30; --kante-hell: #9fb7cf; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #bccddd; --link-hover: #ffffff; --glas1: #303132; --glas2: #1f2022; --glas3: #040405; --glas4: #262729; --glow: 0 0 34px rgba(159, 183, 207, .14); --radius: 0; --radius-klein: 0; --bg: #050506; --ink: #d8d6d3; --cyan: #9fb7cf; --mag: #e4e4e6; --pur: #48525d; --eq1: #9fb7cf; --eq2: #e4e4e6; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #d9e2ec; --logo-y: #9fb7cf; --logo-z: #48525d; --logo-rand: #000000; --akzent: #9fb7cf; --akzent2: #e4e4e6; }

/* ---------- Hard Rock: Whiskey-Bernstein und Jeansblau, Leder ---------- */
.zeit-heute[data-genre="hardrock"] {
  --grund: #0c0907; --grund2: #130e0a; --flaeche: #1a120c; --flaeche2: #251e18; --kante: #4a3020; --kante-hell: #f2a53a; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #f6c075; --link-hover: #ffffff; --glas1: #3a332e; --glas2: #2a231d; --glas3: #0a0706; --glas4: #312a24; --glow: 0 0 34px rgba(242, 165, 58, .14); --radius: 0; --radius-klein: 0; --bg: #0c0907; --ink: #d8d6d3; --cyan: #f2a53a; --mag: #3d6fa8; --pur: #7a2a12; --eq1: #f2a53a; --eq2: #3d6fa8; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #fadbb0; --logo-y: #f2a53a; --logo-z: #6d4a1a; --logo-rand: #000000; --akzent: #f2a53a; --akzent2: #3d6fa8; }

/* ---------- Punk: Pink und Giftgelb auf Kopierer-Schwarz, dazu Gruen ---------- */
.zeit-heute[data-genre="punk"] {
  --grund: #0a0a0a; --grund2: #0e0e0e; --flaeche: #111111; --flaeche2: #1d1d1d; --kante: #d8d8d8; --kante-hell: #ff2d8a; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #ff6cad; --link-hover: #ffffff; --glas1: #323232; --glas2: #222222; --glas3: #080808; --glas4: #292929; --glow: 0 0 34px rgba(255, 45, 138, .14); --radius: 0; --radius-klein: 0; --bg: #0a0a0a; --ink: #d8d6d3; --cyan: #ff2d8a; --mag: #ffe600; --pur: #2bd96b; --eq1: #ff2d8a; --eq2: #ffe600; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #ffabd0; --logo-y: #ff2d8a; --logo-z: #73143e; --logo-rand: #000000; --akzent: #ff2d8a; --akzent2: #ffe600; }

/* ---------- Grunge: Flanellrot, Senf und Oliv, ausgewaschen ---------- */
.zeit-heute[data-genre="grunge"] {
  --grund: #0d0d09; --grund2: #12120c; --flaeche: #17170f; --flaeche2: #23231b; --kante: #3e3d2a; --kante-hell: #c8432f; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #d87b6d; --link-hover: #ffffff; --glas1: #373731; --glas2: #272720; --glas3: #0a0a07; --glas4: #2e2e27; --glow: 0 0 34px rgba(200, 67, 47, .14); --radius: 0; --radius-klein: 0; --bg: #0d0d09; --ink: #d8d6d3; --cyan: #c8432f; --mag: #d9a520; --pur: #5d7a3e; --eq1: #c8432f; --eq2: #d9a520; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #e9b4ac; --logo-y: #c8432f; --logo-z: #5a1e15; --logo-rand: #000000; --akzent: #c8432f; --akzent2: #d9a520; }

/* ---------- Alternative: Petrol und Orange (90er) ---------- */
.zeit-heute[data-genre="alternative"] {
  --grund: #070c0e; --grund2: #0a1214; --flaeche: #0e171a; --flaeche2: #1a2325; --kante: #234046; --kante-hell: #2ec4b6; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #6dd6cc; --link-hover: #ffffff; --glas1: #30373a; --glas2: #1f272a; --glas3: #060a0b; --glas4: #262e31; --glow: 0 0 34px rgba(46, 196, 182, .14); --radius: 0; --radius-klein: 0; --bg: #070c0e; --ink: #d8d6d3; --cyan: #2ec4b6; --mag: #ff6b35; --pur: #1d5c66; --eq1: #2ec4b6; --eq2: #ff6b35; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #abe7e2; --logo-y: #2ec4b6; --logo-z: #155852; --logo-rand: #000000; --akzent: #2ec4b6; --akzent2: #ff6b35; }

/* ---------- Gothic: Violett und Rosenrot, Silber ---------- */
.zeit-heute[data-genre="gothic"] {
  --grund: #0a060c; --grund2: #100912; --flaeche: #150c18; --flaeche2: #211824; --kante: #3f1d3d; --kante-hell: #a35bd6; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #bf8ce2; --link-hover: #ffffff; --glas1: #362e38; --glas2: #251d28; --glas3: #08050a; --glas4: #2c242f; --glow: 0 0 34px rgba(163, 91, 214, .14); --radius: 0; --radius-klein: 0; --bg: #0a060c; --ink: #d8d6d3; --cyan: #a35bd6; --mag: #d4245f; --pur: #5a1030; --eq1: #a35bd6; --eq2: #d4245f; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #dabdef; --logo-y: #a35bd6; --logo-z: #492960; --logo-rand: #000000; --akzent: #a35bd6; --akzent2: #d4245f; }

/* ---------- Industrial: Warngelb und Rost auf Stahl ---------- */
.zeit-heute[data-genre="industrial"] {
  --grund: #0b0b0a; --grund2: #10100e; --flaeche: #151513; --flaeche2: #21211f; --kante: #3a3a36; --kante-hell: #f5c400; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #f8d64c; --link-hover: #ffffff; --glas1: #363634; --glas2: #252524; --glas3: #090908; --glas4: #2c2c2b; --glow: 0 0 34px rgba(245, 196, 0, .14); --radius: 0; --radius-klein: 0; --bg: #0b0b0a; --ink: #d8d6d3; --cyan: #f5c400; --mag: #e2571e; --pur: #6a6f75; --eq1: #f5c400; --eq2: #e2571e; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #fbe799; --logo-y: #f5c400; --logo-z: #6e5800; --logo-rand: #000000; --akzent: #f5c400; --akzent2: #e2571e; }

/* ---------- Deutschrock: Feuer und Stahl ---------- */
.zeit-heute[data-genre="deutsch"] {
  --grund: #0a0807; --grund2: #100c0c; --flaeche: #161110; --flaeche2: #221d1c; --kante: #44281c; --kante-hell: #ff5a14; --text: #e8e6e4; --text-leise: #a19d99; --text-stark: #ffffff; --link: #ff8c5a; --link-hover: #ffffff; --glas1: #373231; --glas2: #262221; --glas3: #080606; --glas4: #2d2928; --glow: 0 0 34px rgba(255, 90, 20, .14); --radius: 0; --radius-klein: 0; --bg: #0a0807; --ink: #d8d6d3; --cyan: #ff5a14; --mag: #c9ced4; --pur: #7a1a0a; --eq1: #ff5a14; --eq2: #c9ced4; --logo-a: #ffffff; --logo-b: #cfcfd4; --logo-c: #5d6168; --logo-x: #ffbda1; --logo-y: #ff5a14; --logo-z: #732809; --logo-rand: #000000; --akzent: #ff5a14; --akzent2: #c9ced4; }

@media (prefers-reduced-motion: reduce) { .zeit-heute[data-genre] .box, .zeit-heute[data-genre] .panel { -webkit-backdrop-filter: none; backdrop-filter: none; } }


/* =====================================================================================================================
   Version 5, Ansicht "heute": Seitenwechsel ohne Neuladen (navi.js) und Radio in der Seite (player.js)
   ===================================================================================================================== */
.zeit-heute .mitte { transition: opacity .15s ease-out; }
.zeit-heute.laedt .mitte { opacity: .55; }
.zeit-heute .mitte.neu { animation: v5-einblenden .28s ease-out; }
@keyframes v5-einblenden { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.radioleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 6px 12px 4px;
  background: color-mix(in srgb, var(--flaeche) 92%, transparent); border-top: 1px solid var(--kante); box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rl-innen { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rl-text { flex: 1 1 180px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-text .kl { margin-left: 6px; }
.rl-spiel { display: inline-flex; align-items: center; gap: 8px; }
.rl-symbol { display: inline-block; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.radioleiste.spielt .rl-symbol { width: 10px; height: 12px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.rl-eq { height: 26px; padding: 0; }
.rl-eq i { width: 4px; }
.rl-eq:not(.spiel):not(.live) i { animation: none; transform: scaleY(.15); }
.rl-zu { padding: 2px 10px; font-size: 1.1em; line-height: 1.2; }
.rl-hinweis { max-width: 1280px; margin: 2px auto 0; font-size: .72em; }
.mit-radio body { padding-bottom: 92px; }
@media (max-width: 560px) { .rl-hinweis { display: none; } .rl-text { flex-basis: 100%; order: -1; } .mit-radio body { padding-bottom: 110px; } }
@media (prefers-reduced-motion: reduce) { .zeit-heute .mitte.neu { animation: none; } .zeit-heute .mitte { transition: none; } }

/* Bilder aus dem Fediverse: eingeblendet erst nach Klick (Zwei-Klick), vorher ein Platzhalter mit Titel und Link zum Beitrag */
figure.fedi { margin: 0; text-align: center; }
.fedi-rahmen { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; width: 100%; max-width: 200px; margin: 0 auto 4px;
  border: 1px solid var(--kante); border-radius: 6px; background: repeating-linear-gradient(135deg, var(--flaeche2) 0 8px, var(--flaeche) 8px 16px); overflow: hidden; }
.fedi-rahmen.geladen { background: var(--grund2); }
.fedi-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fedi-platz { font-size: .82em; color: var(--text-leise); padding: 6px; }
.fedi-rahmen.geladen .fedi-platz { display: none; }
figure.fedi.klein .fedi-rahmen { max-width: 140px; }
.fedi-zustimmung { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 12px; padding: 10px 14px; color: var(--text);
  background: color-mix(in srgb, var(--link-hover) 16%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--link-hover) 70%, var(--kante));
  border-left-width: 5px; border-radius: min(var(--radius), 14px); }
.fedi-zustimmung .fedi-text { flex: 1 1 16rem; font-size: .95em; line-height: 1.45; }
.fedi-laden { flex: none; font-weight: 700; font-size: 1em; padding: 7px 16px; }
.fedi-tipp { display: block; margin-top: 4px; font-weight: 600; color: var(--text); }
html:not(.js) .fedi-laden, html:not(.js) .fedi-tipp { display: none; }
.bildraster .fedi-tipp { display: none; }
/* Galerie-Archiv nach Monat und Tag (Aufklapp-Liste wie im Forum) */
.farchiv .finnen .galerie { margin: 4px 0 0; }
.farchiv .fboard .finnen { padding: 6px 8px 10px; }
.farchiv summary { min-height: 44px; }
.farchiv .fedi-rahmen { cursor: zoom-in; }
@media (max-width: 560px) {      /* Handy: dichtes Kachelraster, Titel steht in der Bild-Ansicht */
  .farchiv .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .farchiv .fedi-rahmen { max-width: none; margin: 0; border-radius: 4px; }
  .farchiv figure.fedi figcaption { display: none; }
  .farchiv .fedi-platz { font-size: .7em; padding: 3px; }
  .farchiv .fedi-tipp { display: none; }
}
/* Bild-Ansicht der Galerie: Handy wischen (scroll-snap), PC Lightbox; Beruehrungsziele mindestens 44 px, Safe-Area beachtet */
body.bt-offen { overflow: hidden; }
.betrachter { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: rgba(0, 0, 0, .97); color: #f2f2f2;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.bt-kopf { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; flex: none; }
.bt-zaehler { font-weight: 700; font-size: 1rem; }
.betrachter button { min-width: 48px; min-height: 48px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .55);
  color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.betrachter button:focus-visible, .bt-bahn:focus-visible { outline: 3px solid #ffd23a; outline-offset: 2px; }
.betrachter button[disabled] { opacity: .3; cursor: default; }
.bt-bahn { flex: 1; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.bt-bahn::-webkit-scrollbar { display: none; }
.bt-folie { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; margin: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 8px 12px 14px; min-width: 0; }
.bt-img { max-width: 100%; max-height: calc(100% - 90px); object-fit: contain; }
.bt-text { max-width: 60ch; text-align: center; font-size: .95rem; line-height: 1.45; }
.bt-von { opacity: .85; }
.bt-links { display: flex; gap: 18px; justify-content: center; margin-top: 6px; }
.bt-links a { color: #ffd23a; display: inline-block; min-height: 44px; line-height: 44px; }
.bt-pfeil { position: absolute; top: 50%; transform: translateY(-50%); }
.bt-zurueck { left: max(8px, env(safe-area-inset-left)); } .bt-weiter { right: max(8px, env(safe-area-inset-right)); }
@media (hover: none) and (pointer: coarse) { .bt-pfeil { display: none; } }      /* am Handy wischen statt Pfeile */
@media (prefers-reduced-motion: reduce) { .bt-bahn { scroll-behavior: auto; } }
   /* kleine Kacheln: der Hinweis steht direkt darunter im farbigen Kasten */
a.melden { font-size: .85em; color: var(--text-leise); }

/* =====================================================================================================================
   Aufbau der Ansicht "heute", Entwurf B (Vergleich mit A, 07.11.2026): eine schlanke Leiste oben (Logo, Reiter, ON AIR,
   Zeitreise, Konto), Startseite in zwei Spalten (links das Wochenende als Timetable, rechts "Was los ist"), Unterseiten mit
   rechter Spalte. Schmal: Reiter als wischbare Leiste. Farben, Schriften, Formen und Hintergruende kommen unveraendert aus den
   Genre-Stilen (Variablen); dieser Abschnitt regelt nur die Anordnung.
   ===================================================================================================================== */
.zeit-heute body { padding-bottom: 64px; }
svg.sym { width: 19px; height: 19px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Kopfband: grosses Logo mit Spruch, rechts ON AIR, Zeitreise, Konto (scrollt mit weg) */
.kopfband { --logo-breite: clamp(320px, 50vw, 720px); max-width: 1320px; margin: 0 auto; display: flex; align-items: flex-end; gap: 24px; padding: 26px 22px 18px; }
.kopfband .logo { flex: 0 1 auto; width: var(--logo-breite); max-width: none; }
.kopfband .logo, .kopfband .logo-svg { display: block; }
.kopfband .logo-svg { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--link) 38%, transparent)) drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
.zeit-heute .kopfband .logo-svg text.spruch, .zeit-heute[data-genre] .kopfband .logo-svg text.spruch { display: inline; fill: var(--text); }
.zeit-heute .kopfband .logo-svg tspan.klick, .zeit-heute[data-genre] .kopfband .logo-svg tspan.klick { fill: var(--link-hover); }
.kopfband .logo:hover .logo-svg { filter: drop-shadow(0 0 28px color-mix(in srgb, var(--link-hover) 45%, transparent)) drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
.top-rechts { margin-left: auto; display: flex; align-items: center; gap: 14px; }
/* Mitte der Knoepfe auf Hoehe des Spruchs "...and bang your head" (Spruch im SVG bei y 71,5 von 92: 20,5 Einheiten von unten) */
.kopfband > .top-rechts { margin-bottom: calc(var(--logo-breite) * 20.5 / 640); transform: translateY(50%); }
/* transform macht die Knopfgruppe zu einer eigenen Ebene: ohne eigenen Rang laege das Kontomenue darin unter der klebenden
   Reiterleiste (z-index 15) und den Karten. Deshalb hebt die ganze Gruppe ueber beide. */
.top-rechts { position: relative; z-index: 30; }
.top-rechts > * { flex: none; }
.onair { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--kante); border-radius: var(--radius-klein); color: var(--text);
  text-decoration: none; font-size: .85em; white-space: nowrap; background: color-mix(in srgb, var(--flaeche) 70%, transparent); }
.onair:hover { color: var(--text-stark); border-color: var(--link); }
.onair em { font-style: normal; font-weight: 800; font-size: 10px; letter-spacing: 1px; color: #111; background: var(--link-hover); padding: 0 5px; border-radius: 2px; }
.onair .eq { height: 16px; padding: 0; gap: 2px; } .onair .eq i { width: 3px; }
.onair span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.konto-menue { position: relative; }
/* Hintergrund-Wechsel (Easter Egg, I-10): weicher Uebergang der Leinwand */
#bg { transition: opacity .35s ease; }
.bg-wechsel #bg { opacity: 0; }
@media (prefers-reduced-motion: reduce) { #bg { transition: none; } }
/* Teilen-Symbol (I-11): klein, in der Farbe der Umgebung, Trefferflaeche 44 px */
.teilen-sym { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -8px -8px -8px auto;
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer; opacity: .85; text-decoration: none; }
.teilen-sym:hover, .teilen-sym:focus-visible { opacity: 1; }
.teilen-sym:focus-visible { outline: 2px solid var(--link-hover); outline-offset: -6px; border-radius: 8px; }
.teilen-sym .sym { width: 20px; height: 20px; }
.teilen-sym.klein { min-width: 36px; min-height: 36px; margin: -6px 0; vertical-align: middle; color: var(--text-leise); }
.teilen-sym.klein .sym { width: 16px; height: 16px; }
.teilen-sym.kopiert { color: var(--link-hover); }
html:not(.js) .teilen-sym.klein { display: none; }
.panel-k { display: flex; align-items: center; gap: 8px; }
.panel-k .panel-r { margin-left: auto; }
.panel-k .panel-r + .teilen-sym { margin-left: 0; }
.link-kopie { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.link-kopie input { flex: 1 1 16rem; min-width: 0; }
/* Mitmach-Leiste oben auf Bereichsseiten (I-0) */
.mitmachen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.mitmachen .aktion { min-height: 44px; display: inline-flex; align-items: center; }
.konto-menue summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: .85em; color: var(--text-leise); }
.konto-menue summary::-webkit-details-marker { display: none; }
.konto-menue ul { position: absolute; right: 0; top: 34px; z-index: 20; list-style: none; margin: 0; padding: 8px 12px; min-width: 200px; line-height: 2;
  background: var(--flaeche); border: 1px solid var(--kante); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.konto-menue .zahl { color: var(--link-hover); font-weight: 700; }

/* Reiterleiste: klebt beim Scrollen oben, schmal seitlich wischbar */
.topleiste { position: sticky; top: 0; z-index: 15; background: color-mix(in srgb, var(--grund) 90%, transparent); border-top: 1px solid var(--kante);
  border-bottom: 1px solid var(--kante); -webkit-backdrop-filter: blur(var(--unschaerfe, 6px)); backdrop-filter: blur(var(--unschaerfe, 6px)); }
.zeit-heute .topleiste .hauptnav, .zeit-heute[data-genre] .topleiste .hauptnav { max-width: 1320px; margin: 0 auto; padding: 0 12px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.zeit-heute .topleiste .hauptnav ul { display: flex; gap: 2px; height: 48px; padding: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.zeit-heute .topleiste .hauptnav ul::-webkit-scrollbar { display: none; }
.zeit-heute .topleiste .hauptnav a, .zeit-heute[data-genre] .topleiste .hauptnav a { display: flex; align-items: center; height: 100%; padding: 0 12px; border-radius: 0; white-space: nowrap;
  color: var(--text-leise); font-weight: 600; font-size: .95em; background: none; border-bottom: 2px solid transparent; }
.zeit-heute .topleiste .hauptnav a:hover, .zeit-heute[data-genre] .topleiste .hauptnav a:hover { color: var(--text-stark); background: none; }
.zeit-heute .topleiste .hauptnav a[aria-current="page"], .zeit-heute[data-genre] .topleiste .hauptnav a[aria-current="page"] { color: var(--text-stark); background: none;
  border-bottom-color: var(--link); box-shadow: none; }
.topleiste .hauptnav svg.sym { display: none; }

/* Inhalt */
.raster, .zeit-heute .raster { max-width: 1320px; margin: 0 auto; padding: 24px 22px 10px; display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "mitte seite"; gap: 26px; align-items: start; }
.raster:has(> .seite:empty) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mitte"; }
.mitte { min-width: 0; }
.seite { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.seite:empty { display: none; }
.fuss { max-width: 1320px; margin: 10px auto 0; padding: 12px 22px 20px; border-top: 1px solid var(--kante); color: var(--text-leise); font-size: .85em; text-align: left; }
.b-start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 26px; align-items: start; }
.tag + .tag { margin-top: 10px; }
.tag h3 { margin: 4px 0 2px; font-size: .78em; letter-spacing: 2px; color: var(--link-hover); }
.tt { list-style: none; margin: 0; padding: 0; }
.tt li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--kante) 70%, transparent); }
.tt .uhr { font-size: 1.3em; font-weight: 800; color: var(--text-stark); font-variant-numeric: tabular-nums; }
.tt .titel, .tt .titel a { font-weight: 700; color: var(--text-stark); text-decoration: none; }
.tt .titel a:hover { color: var(--link-hover); }
.aktion.leer { background: none; color: var(--link); }
.strom { list-style: none; margin: 0; padding: 0; }
.strom li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--kante) 70%, transparent); }
.strom li.kl { display: block; }                 /* leerer Strom: Hinweis ueber die ganze Breite */
.strom svg.sym { color: var(--link); margin-top: 3px; }
.strom .was { display: block; font-size: .72em; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-leise); }
.strom .titel { display: block; font-weight: 700; color: var(--text-stark); text-decoration: none; margin: 1px 0; }
.strom .titel:hover { color: var(--link-hover); }
.karte { margin: 0; }
.karte .panel-k { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.karte .panel-k .eq { height: 18px; padding: 0; gap: 2px; } .karte .panel-k .eq i { width: 3px; }
.sender { list-style: none; margin: 2px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.sender a { display: inline-block; padding: 3px 9px; font-size: .82em; color: var(--text); text-decoration: none; border: 1px solid var(--kante);
  border-radius: var(--radius-klein); background: color-mix(in srgb, var(--flaeche2) 70%, transparent); }
.sender a:hover { color: #111; background: var(--link-hover); border-color: var(--link-hover); }
.bildraster { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bildraster figure.fedi { margin: 0; } .bildraster figcaption { display: none; } .bildraster .fedi-rahmen { max-width: none; margin: 0; }
/* Chat: Kanalliste neben dem Chat nur ab 700 px; darunter steht sie als wischbare Reihe UEBER dem Chat (Handy) */
@media (min-width: 700px) { .zeit-heute .kanaele { grid-template-columns: 150px minmax(0, 1fr); } }
@media (max-width: 699px) {
  .zeit-heute .kanaele { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .zeit-heute .kanalliste { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  .zeit-heute .kanalliste h3 { margin: 0; }
  .zeit-heute .kanalliste p.kl { margin: 0; }
  .zeit-heute .kanalliste ul { flex: 1 0 100%; display: flex; gap: 6px; margin: 6px 0 2px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .zeit-heute .kanalliste ul::-webkit-scrollbar { display: none; }
  .zeit-heute .kanalliste li { flex: none; }
  .zeit-heute .kanalliste a { white-space: nowrap; padding: 4px 10px; border: 1px solid var(--kante); }
  .zeit-heute .chat-liste { height: min(55vh, 360px); }
}
/* Forum am Handy (bis 699 px wie der Chat): Themenlisten als Karten statt Tabellenspalten nebeneinander
   (Thema volle Breite, darunter Autor, Antworten, Datum) */
@media (max-width: 699px) {
  .zeit-heute .fthemen, .zeit-heute .tab.forum { border: 0; }
  .zeit-heute .fthemen thead, .zeit-heute .tab.forum thead { display: none; }
  .zeit-heute .fthemen tbody, .zeit-heute .tab.forum tbody { display: block; }
  .zeit-heute .fthemen tr, .zeit-heute .tab.forum tr { display: block; padding: 8px 10px; border: 1px solid var(--kante); border-radius: var(--radius-kasten);
    margin: 0 0 6px; background: var(--flaeche); }
  .zeit-heute .tab.fthemen tbody tr:nth-child(n) > *, .zeit-heute .tab.forum tbody tr:nth-child(n) > * { display: inline; border: 0; padding: 0; background: none; text-align: left; width: auto;
    font-size: .85em; opacity: .9; white-space: normal; }
  .zeit-heute .tab.fthemen tbody tr:nth-child(n) > td.thema, .zeit-heute .tab.forum tbody tr:nth-child(n) > td:first-child { display: block; font-size: 1em;
    opacity: 1; margin-bottom: 2px; overflow-wrap: anywhere; }
  .zeit-heute .fakk .finnen { padding: 4px 4px 8px; }
  .zeit-heute .fakk .fthemen .autor { display: inline; }
  .zeit-heute .fthemen td.autor::before, .zeit-heute .tab.forum td:nth-child(2)::before { content: "von "; }
  .zeit-heute .fthemen td.z::before, .zeit-heute .tab.forum td:nth-child(3)::before { content: " · "; }
  .zeit-heute .fthemen td.z::after, .zeit-heute .tab.forum td:nth-child(3)::after { content: " Antw."; }
  .zeit-heute .tab.forum td:nth-child(4)::before { content: " · "; }
  .zeit-heute .tab.forum td:nth-child(4)::after { content: " Aufrufe"; }
  .zeit-heute .fthemen td.datum::before, .zeit-heute .tab.forum td:nth-child(5)::before { content: " · "; }
}

/* Mittlere Breite: rechte Spalte unter den Inhalt */
@media (max-width: 1100px) {
  .raster, .zeit-heute .raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "mitte" "seite"; }
  .seite { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: start; }
}
@media (max-width: 899px) {
  .kopfband { flex-wrap: wrap; gap: 10px 14px; padding: 14px 12px 10px; }
  .kopfband .logo { width: 100%; max-width: 520px; }
  .top-rechts { margin-left: 0; width: 100%; justify-content: space-between; }
  .kopfband > .top-rechts { margin-bottom: 0; transform: none; }
  .zeitreise button { padding: 4px 8px; font-size: .75em; }
  .konto-menue summary > span { display: none; }
  .konto-menue ul { right: 0; }
  .raster { padding: 14px 12px 10px; }
  .b-start { grid-template-columns: minmax(0, 1fr); }
  .tt li { grid-template-columns: 54px minmax(0, 1fr); } .tt .uhr { font-size: 1.05em; }
  .fuss { padding: 12px 12px 20px; }
  .zeit-heute .topleiste .hauptnav ul { height: 44px; }
}
@media (max-width: 899px) {
  .top-rechts { flex-wrap: nowrap; gap: 8px; }
  .zeit-heute .top-rechts .zeitreise button, .zeit-heute[data-genre] .top-rechts .zeitreise button { padding: 3px 7px; font-size: .72em; gap: 5px; }
  .zeit-heute .top-rechts .anmelden, .zeit-heute[data-genre] .top-rechts .anmelden { padding: 4px 10px; font-size: .8em; }
  .onair { padding: 4px 7px; }
}
@media (max-width: 460px) { .onair span, .onair .eq { display: none; } }   /* Platz fuer den Szenen-Knopf, auch bei breiten Stil-Schriften */
/* Sehr schmale Handys (bis 380 px): Kopf bleibt in einer Zeile, ohne ueber den Rand zu ragen */
@media (max-width: 380px) {
  .top-rechts { gap: 6px; }
  .onair .eq { display: none; }
  .onair { padding: 4px 6px; }
  .zeit-heute .top-rechts .zeitreise button, .zeit-heute[data-genre] .top-rechts .zeitreise button { padding: 3px 6px; gap: 4px; }
  .zeit-heute .top-rechts .anmelden, .zeit-heute[data-genre] .top-rechts .anmelden { padding: 4px 8px; }
}
/* Zeilen (Karte "Demnaechst") */
.zeilen { list-style: none; margin: 0; padding: 0; }
.zeilen li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--kante) 70%, transparent); }
.zeilen li:first-child { border-top: 0; }
.zeilen .zeit { flex: none; width: 64px; font-weight: 800; color: var(--link-hover); font-variant-numeric: tabular-nums; font-size: .9em; }
/* Spruenge zu Abschnitten (Chat, Forum, Anker): Platz fuer die klebende Reiterleiste lassen, damit die Titelleiste sichtbar bleibt.
   Gilt fuer Links mit #anker und fuer scrollIntoView beim Seitenwechsel ohne Neuladen. */
html.zeit-heute { scroll-padding-top: 64px; }
@media (max-width: 899px) { html.zeit-heute { scroll-padding-top: 58px; } }

/* Videos (Zwei-Klick): 16:9-Rahmen mit Platzhalter, nach Zustimmung der offizielle Player */
.videoraster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .videoraster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
figure.video { margin: 0; }
.pt-kanaele { margin: 4px 0 0; padding-left: 1.2em; line-height: 1.7; }
.fedi-ziele { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; }
.fedi-ziele label { min-height: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.fedi-ziele .kl { overflow-wrap: anywhere; min-width: 0; }
.video-rahmen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: min(var(--radius), 14px); background: #000; border: 1px solid var(--kante); }
.video-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-platz { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px;
  text-align: center; color: #f2f2f2; text-decoration: none; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--link) 30%, #111), #050505 75%); }
.video-platz:hover, .video-platz:focus-visible { color: #fff; }
.video-platz:focus-visible { outline: 3px solid var(--link-hover); outline-offset: -3px; }
.video-platz .kl { color: #cfcfcf; }
.video-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .8); position: relative; }
.video-play::after { content: ''; position: absolute; left: 25px; top: 19px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
figure.video figcaption { margin-top: 8px; line-height: 1.45; }
.video-zustimmung { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; padding: 10px 14px; color: var(--text);
  background: color-mix(in srgb, var(--link) 14%, var(--flaeche)); border: 1px solid color-mix(in srgb, var(--link) 45%, var(--kante));
  border-left-width: 4px; border-radius: min(var(--radius), 14px); }
.video-zustimmung .kl { flex: 1 1 16rem; color: var(--text); font-size: .92em; line-height: 1.45; }
.video-zustimmung button { min-height: 44px; }
html:not(.js) .video-zustimmung { display: none; }

/* Fediverse-Stream: Beitraege als Karten, Herkunft und Original-Link im Fuss, Inhaltswarnung eingeklappt, Bilder nach Klick */
.sb-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
/* Filterzeile: Filter links, Mitmach-Knopf ganz rechts (eine Zeile, am Handy darunter) */
.filterzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.filterzeile > .t-filter, .filterzeile > .sb-filter { margin: 0; }
.panel .filterzeile > .mitmachen { margin: 0 0 0 auto; }
.sb-filter a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--kante); border-radius: var(--radius-klein);
  text-decoration: none; color: var(--text); background: color-mix(in srgb, var(--flaeche) 70%, transparent); }
.sb-filter a[aria-current="page"] { border-color: var(--link); color: var(--text-stark); font-weight: 700; }
.sb-liste { display: grid; gap: 12px; }
.sb { padding: 12px 14px; border: 1px solid var(--kante); border-radius: min(var(--radius), 14px); background: color-mix(in srgb, var(--flaeche) 82%, transparent);
  overflow-wrap: anywhere; }
.sb-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 6px; }
.sb-name { color: var(--text-stark); }
.sb-bot { font-size: .72em; font-weight: 700; padding: 1px 6px; border: 1px solid var(--kante); border-radius: 4px; color: var(--text-leise); }
.sb-konto { text-decoration: none; }
.sb-text { line-height: 1.5; }
.sb-medien { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; margin-top: 8px; }
.sb-medien .fedi-rahmen { max-width: none; margin: 0; }
.sb-cw { margin: 4px 0; }
.sb-cw > summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; font-weight: 700; }
.sb-fuss { margin-top: 8px; }
.sb-fuss a { display: inline-block; min-height: 28px; }

/* Podcasts und Mixe: Folgen als Zeilen, Abspielen im Radio-Player der Seite */
.pod-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pod-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--kante);
  border-radius: min(var(--radius), 14px); background: color-mix(in srgb, var(--flaeche) 82%, transparent); }
.pod-text { flex: 1 1 16rem; min-width: 0; overflow-wrap: anywhere; }
.pod-liste .podcast-spiel { min-height: 44px; display: inline-flex; align-items: center; }

/* Seitenleiste mit kleinen Vorschauen (I-12) */
.vk-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.vk-bild { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  color: var(--text); background: color-mix(in srgb, var(--link) 22%, var(--flaeche)); }
.vk-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vk-bild .vk-platz .sym { width: 22px; height: 22px; opacity: .75; }
.vk-bild.geladen .vk-platz { display: none; }
.fedi-zustimmung.kurz { margin: 8px 0 0; padding: 6px 10px; gap: 4px 10px; }
.fedi-zustimmung.kurz button { min-height: 40px; }
.vk-videos { display: grid; gap: 8px; }
.vk-video { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 9; padding: 8px 10px; border-radius: 10px;
  overflow: hidden; color: #f2f2f2; text-decoration: none; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--link) 35%, #111), #050505 75%); }
.vk-video .vk-play { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .45); }
.vk-video .vk-play::after { content: ''; position: absolute; left: 14px; top: 10px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vk-video .vk-titel { position: relative; font-weight: 700; font-size: .9em; line-height: 1.3; text-shadow: 0 1px 2px #000; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.vk-video .kl { position: relative; color: #d8d8d8; font-size: .78em; }
.vk-liste, .vk-mixe { list-style: none; margin: 0; padding: 0; }
.vk-liste a { display: block; padding: 7px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--kante) 60%, transparent); }
.vk-liste li:last-child a { border-bottom: 0; }
.vk-liste a:hover b, .vk-liste a:focus-visible b { color: var(--link-hover); }
.vk-liste b, .vk-mix b { display: block; font-size: .92em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vk-liste .kl, .vk-mix .kl { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vk-liste .vk-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vk-mixe li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.vk-mix { min-width: 0; flex: 1; color: var(--text); text-decoration: none; }
.vk-spiel { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--link); color: #111; text-decoration: none; }
.vk-spiel .sym { width: 18px; height: 18px; } .vk-spiel .sym path { fill: currentColor; }
.karte.wer .panel-i { padding-top: 6px; padding-bottom: 6px; }
.karte.wer .panel-i p { margin: 2px 0; }
.karte.leer .panel-i p { color: var(--text); }         /* leerer Zustand gut lesbar in allen Stilen */
@media (max-width: 699px) {                              /* Handy: Kaesten als waagerecht wischbare Reihe */
  .seite { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; overscroll-behavior-x: contain; }
  .seite > .karte, .seite > .panel { flex: 0 0 86%; scroll-snap-align: start; }
}

/* ===================== Web-App (html.app-modus): nur als installierte Web-App vom Startbildschirm (stil.js) =====================
   Keine Kopie der Webseite: kompakter Kopf, Reiter unten fuer Chat, Forum, Nachrichten und Mehr, Radio als Mini-Player darueber,
   keine Seitenleiste. Ziehen-zum-Neuladen ist aus, damit das Radio nicht abbricht. Beruehrungsziele mindestens 44 px. */
.app-leiste, .app-name { display: none; }
html.app-modus { overscroll-behavior-y: none; }
.app-modus body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
.app-modus.mit-radio body { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
.app-modus .kopfband { position: sticky; top: 0; z-index: 25; flex-wrap: nowrap; align-items: center; gap: 8px; max-width: none;
  padding: calc(6px + env(safe-area-inset-top)) 10px 6px; border-bottom: 1px solid var(--kante);
  background: color-mix(in srgb, var(--flaeche) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.app-modus .kopfband .logo { flex: 1 1 auto; min-width: 0; width: auto; max-width: none; text-decoration: none; }
.app-modus .kopfband .logo-svg { display: none; }
.app-modus .kopfband .app-name { display: block; font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; color: var(--text-stark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.app-modus .kopfband > .top-rechts { width: auto; margin: 0; transform: none; gap: 6px; justify-content: flex-end; }
.app-modus .top-rechts .onair, .app-modus .top-rechts .zeitreise { display: none; }
.app-modus .konto-menue summary { min-height: 44px; min-width: 44px; justify-content: center; }
.app-modus .konto-menue summary .sym { width: 24px; height: 24px; }
.app-modus .topleiste, .app-modus .seite, .app-modus .fuss, .app-modus .teilen { display: none; }
.app-modus .raster { padding: 10px 8px 12px; }
/* Reiter unten */
.app-modus .app-leiste { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 22; align-items: stretch;
  padding: 2px 4px env(safe-area-inset-bottom); border-top: 1px solid var(--kante);
  background: color-mix(in srgb, var(--flaeche) 96%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.app-leiste > a, .app-mehr > summary { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 56px; padding: 4px 2px; font-size: .7rem; color: var(--text-leise); text-decoration: none; list-style: none; cursor: pointer;
  border-radius: 12px; }
.app-leiste .sym { width: 24px; height: 24px; }
.app-leiste > a[aria-current="page"] { color: var(--link-hover); font-weight: 700; }
.app-leiste > a:focus-visible, .app-mehr > summary:focus-visible { outline: 2px solid var(--link-hover); outline-offset: -2px; }
.app-leiste .zahl { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--link-hover); color: #111; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center; }
.app-leiste .zahl[hidden] { display: none; }
.app-mehr { flex: 1 1 0; display: flex; }
.app-mehr > summary::-webkit-details-marker { display: none; }
.app-mehr[open] > summary { color: var(--link-hover); }
/* "Mehr" als App-Kacheln in Gruppen (Wunsch des Betreibers 08.11.2026) */
.app-kacheln { position: fixed; left: 8px; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 23; margin: 0; padding: 10px 12px 12px;
  max-height: calc(100dvh - 150px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--flaeche); border: 1px solid var(--kante); border-radius: 18px; box-shadow: 0 -12px 32px rgba(0, 0, 0, .45); }
.ak-gruppe { margin: 6px 4px 6px; font-size: .74em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
.ak-raster { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.ak { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 8px 4px; border-radius: 14px;
  color: var(--text); text-decoration: none; text-align: center; font-size: .8em; line-height: 1.2;
  background: color-mix(in srgb, var(--link) 10%, var(--grund2, var(--flaeche2))); border: 1px solid var(--kante); }
.ak .sym { width: 26px; height: 26px; color: var(--link-hover); }
.ak:hover, .ak:active { background: color-mix(in srgb, var(--link) 22%, var(--grund2, var(--flaeche2))); }
.ak:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; }
.ak[aria-current] { border-color: var(--link-hover); font-weight: 700; }
/* Radio als Mini-Player ueber den Reitern: Knopf, Sender und Titel, Senderwahl; keine Hinweiszeile, kein Equalizer */
.app-modus .radioleiste { bottom: calc(60px + env(safe-area-inset-bottom)); padding: 4px 8px; box-shadow: none; }
.app-modus .rl-innen { flex-wrap: nowrap; gap: 8px; }
.app-modus .rl-hinweis, .app-modus .rl-eq { display: none; }
.app-modus .rl-text { order: 0; flex: 1 1 auto; font-size: .85em; }
.app-modus .rl-spiel { min-width: 44px; min-height: 44px; justify-content: center; padding: 0 10px; }
.app-modus .rl-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app-modus #rl-sender { max-width: 30vw; min-height: 40px; }
.app-modus .rl-zu { min-width: 40px; min-height: 40px; }
/* Beim Tippen: Reiter und Mini-Player weg, damit Tastatur und Eingabe Platz haben (Musik laeuft weiter) */
.app-modus:has(:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea):focus) .app-leiste,
.app-modus:has(:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea):focus) .radioleiste { display: none; }
/* Chat und Forum sind eigene Reiter */
.app-modus .chat-liste, .app-modus.zeit-heute .chat-liste { height: calc(100dvh - 330px - env(safe-area-inset-bottom)); min-height: 220px; }
.app-modus .shout-form input, .app-modus .shout-form button { min-height: 44px; font-size: 16px; }   /* 16 px: iOS zoomt beim Tippen nicht */
.app-modus input, .app-modus textarea, .app-modus select { font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .app-modus .kopfband, .app-modus .app-leiste { -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Termine in Abschnitten (IDEEN.md I-8): Filter, Liste als Karten, am Handy untereinander */
.t-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.t-filter a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--kante); border-radius: min(var(--radius), 999px); color: var(--text); text-decoration: none; background: var(--grund2); }
.t-filter a[aria-current] { background: var(--text); color: var(--grund2); font-weight: bold; }
.t-filter a:focus-visible { outline: 2px solid var(--akzent, #ffb52e); outline-offset: 2px; }
.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.termin { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--kante); scroll-margin-top: 80px; }
.termin:last-child { border-bottom: 0; }
.termin:target { outline: 2px solid var(--akzent, #ffb52e); outline-offset: 2px; }
.t-zeit { display: flex; flex-direction: column; }
.t-zeit span { font-size: .9em; }
.t-inhalt p { margin: 0 0 4px; }
.t-titel { overflow-wrap: anywhere; }
.t-marke { display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; font-size: .78em; white-space: nowrap; vertical-align: 1px; }
.t-ort { font-size: .92em; }
.t-fuss { font-size: .88em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
@media (max-width: 560px) {
  .termin { grid-template-columns: 1fr; }
  .t-zeit { flex-direction: row; gap: 8px; }
}

/* Videos (I-2): Herz "Gefaellt mir" mit kleiner Animation, Schliessen-Knopf, Reiter */
.herz-form { display: inline; margin: 0; }
.herz { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px; margin: -6px 0; border: 0; background: none; color: var(--text-leise);
  font: inherit; cursor: pointer; text-decoration: none; vertical-align: middle; border-radius: 8px; }
.herz .sym { width: 20px; height: 20px; transition: transform .2s ease; }
.herz[aria-pressed="true"] { color: #e0245e; }
.herz[aria-pressed="true"] .sym { fill: currentColor; }
.herz:hover .sym { transform: scale(1.12); }
.herz:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; }
.herz-n { font-size: .9em; color: var(--text); min-width: 1ch; }
.herz.pop .sym { animation: herz-pop .45s ease-out; }
@keyframes herz-pop { 0% { transform: scale(1); } 30% { transform: scale(1.45); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .herz .sym { transition: none; } .herz.pop .sym { animation: none; } }
.video-zu { margin: 6px 0; min-height: 36px; }

/* ---------- Feinschliff (Wunsch des Betreibers 08.11.2026) ---------- */
/* Eine Hoehe fuer alle Balken: Kopf-Knoepfe (ON AIR, Zeitreise, Anmelden, Konto) und Titelbalken der Kaesten, so hoch wie der Anmelde-Knopf */
:root { --balken-h: 34px; }
.zeit-heute .top-rechts .onair, .zeit-heute .top-rechts .zeitreise button, .zeit-heute .top-rechts .anmelden, .zeit-heute .top-rechts .konto-menue summary,
.zeit-heute[data-genre] .top-rechts .onair, .zeit-heute[data-genre] .top-rechts .zeitreise button, .zeit-heute[data-genre] .top-rechts .anmelden,
.zeit-heute[data-genre] .top-rechts .konto-menue summary {
  box-sizing: border-box; height: var(--balken-h); padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }
.zeit-heute .panel-k, .zeit-heute[data-genre] .panel-k { box-sizing: border-box; min-height: var(--balken-h); padding-top: 0; padding-bottom: 0; align-items: center; }
.zeit-heute .panel-k .teilen-sym { min-height: 0; height: calc(var(--balken-h) - 4px); margin-top: 0; margin-bottom: 0; }   /* Balken bleibt so hoch wie ohne Symbol */
.app-modus .konto-menue summary { height: auto; }

/* Mitmachen steht im ersten Kasten, nach den Hinweisen */
.panel .mitmachen { margin: 12px 0 14px; }

/* "Teilen" an Inhalten: wie "Melden", kein Knopf (gegen die Knopf-Stile der Genres) */
button.teilen-link, .zeit-heute[data-genre] button.teilen-link, button.teilen-link:hover, .zeit-heute[data-genre] button.teilen-link:hover {
  display: inline; min-height: 0; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-shadow: none;
  font: inherit; font-size: .85em; letter-spacing: normal; text-transform: none; color: var(--text-leise); text-decoration: underline; cursor: pointer; vertical-align: baseline; }
.zeit-heute[data-genre] button.teilen-link:hover, .zeit-heute[data-genre] button.teilen-link:focus-visible { color: var(--link-hover); }
button.teilen-link:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; }
button.teilen-link.kopiert::after { content: " (Link kopiert)"; }
html:not(.js) .teilen-link { display: none; }
/* Herz ebenso ohne Knopf-Flaeche */
button.herz, .zeit-heute[data-genre] button.herz, .zeit-heute[data-genre] button.herz:hover { background: none; border: 0; box-shadow: none; text-shadow: none;
  color: var(--text-leise); padding: 0 8px; }
.zeit-heute[data-genre] button.herz[aria-pressed="true"] { color: #e0245e; }

/* Kein Titelbalken im Kasten (2026): Tabellenkoepfe und Abschnitte schlicht, ohne Balken */
.zeit-heute .tab thead th, .zeit-heute[data-genre] .tab thead th { background: none; color: var(--text-leise); text-shadow: none; font-size: .82em; text-transform: uppercase;
  letter-spacing: .06em; border: 0; border-bottom: 2px solid var(--kante); padding: 6px 8px; }
.zeit-heute .tab tr.gruppe th { background: none; color: var(--text); border-bottom: 2px solid var(--kante); }
.zeit-heute .fakk details { border: 0; border-bottom: 1px solid var(--kante); border-radius: 0; background: none; }
.zeit-heute .fakk .fkat > summary, .zeit-heute .fakk summary:hover { background: none; }
.zeit-heute .fakk summary { padding-left: 24px; }
.zeit-heute .fakk summary::before { left: 6px; }
.zeit-heute .fakk summary:hover { color: var(--link-hover); }
.zeit-heute .fakk .fkat > summary { font-size: 1.02em; }
.zeit-heute .fakk .fboard:last-child { border-bottom: 0; }
/* Titelbalken bleibt einzeilig: Titel bricht innen um, Symbol und Zusatz stehen rechts daneben */
.zeit-heute .panel-k, .zeit-heute[data-genre] .panel-k { flex-wrap: nowrap; }
.zeit-heute .panel-k > h2, .zeit-heute .panel-k > h3 { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.zeit-heute .panel-k > .panel-r, .zeit-heute .panel-k > .teilen-sym { flex: none; }

/* Kein Knopf hoeher als der Anmelde-Knopf (Referenz des Betreibers 08.11.2026): Knoepfe, Aktions-Links und Filter-Pillen haben
   genau die Balkenhoehe. Ausgenommen: Bildbetrachter, Herz, Teilen, Symbol-Knoepfe und die Web-App (dort 44 px zum Tippen). */
.zeit-heute:not(.app-modus) button:not(.herz):not(.teilen-link):not(.antwort-auf):not(.cz-zitieren):not(.cz-antwort-weg):not(.gif-schalter):not(.vorschau-schalter):not(.emote-knopf):not(.stern):not(.teilen-sym):not(.betrachter button),
.zeit-heute:not(.app-modus) .aktion,
.zeit-heute:not(.app-modus) input[type="submit"],
.zeit-heute:not(.app-modus) .t-filter a,
.zeit-heute:not(.app-modus) .sb-filter a {
  box-sizing: border-box; height: var(--balken-h); min-height: 0; padding-top: 0; padding-bottom: 0; white-space: nowrap;
  line-height: calc(var(--balken-h) - 2px); vertical-align: middle; }   /* kein display hier: versteckte Knoepfe bleiben versteckt */

/* Seitenleiste: alle Kaesten ungefaehr so hoch wie "Laeuft gerade" (Wunsch des Betreibers 08.11.2026).
   Gleich hohe Rasterzeilen; nur der Radio-Kasten bestimmt die Hoehe (die anderen tragen mit contain: size nichts bei),
   laengere Listen laufen unten weich aus. "Wer ist da" bleibt klein. */
@media (min-width: 700px) { .zeit-heute .seite { display: grid; grid-auto-rows: 1fr; align-items: stretch; } }   /* darunter: Wisch-Streifen, gleich hoch per flex */
.zeit-heute .seite > .karte { display: flex; flex-direction: column; }
.zeit-heute .seite > .karte:not(.radio):not(.wer) { contain: size; overflow: hidden; }
.zeit-heute .seite > .karte > .panel-i { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.zeit-heute .seite > .karte.wer { align-self: start; }
.zeit-heute .seite > .karte:not(.radio):not(.wer):not(.videos):not(.bilder) > .panel-i {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent); mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
/* Ein Video fuellt den Kasten; kein festes Seitenverhaeltnis (4:3 und hochkant passen) */
.zeit-heute .seite > .karte.videos > .panel-i { display: flex; }
.zeit-heute .seite > .karte.videos .vk-videos { flex: 1 1 auto; display: flex; min-height: 0; }
.zeit-heute .seite > .karte.videos .vk-video { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
@media (max-width: 699px) { .zeit-heute .seite { align-items: stretch; } .zeit-heute .seite > .karte.wer { align-self: stretch; } }   /* Wisch-Streifen: alle so hoch wie Radio */
/* App-Modus: ON AIR und Zeitreise bleiben im kompakten Kopf ausgeblendet (die Balkenhoehe oben setzt display, daher hier noch einmal) */
.app-modus .top-rechts .onair, .app-modus.zeit-heute[data-genre] .top-rechts .onair, .app-modus .top-rechts .zeitreise { display: none; }

/* Hinweis-Box oben (Wunsch des Betreibers 08.11.2026): zum Zuklappen, standardmaessig offen; Pfeil links im Titelbalken */
.zeit-heute details.hinweisbox > summary.panel-k { list-style: none; cursor: pointer; position: relative; padding-left: 30px; }
details.hinweisbox > summary.panel-k::-webkit-details-marker { display: none; }
details.hinweisbox > summary.panel-k::before { content: ""; position: absolute; left: 12px; top: 50%; margin-top: -5px; border: 5px solid transparent;
  border-left: 7px solid currentColor; transition: transform .15s; }
details.hinweisbox[open] > summary.panel-k::before { transform: rotate(90deg); margin-left: -2px; margin-top: -3px; }
details.hinweisbox > summary.panel-k:focus-visible { outline: 2px solid var(--link-hover); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { details.hinweisbox > summary.panel-k::before { transition: none; } }
/* App-Modus mit unserem Logo oben statt des Schriftzugs (Wunsch des Betreibers 08.11.2026); passt sich der Breite neben "Anmelden" an */
.app-modus .kopfband .logo-svg { display: block; width: 100%; max-width: 300px; height: auto; }
.app-modus .kopfband .app-name { display: none; }

/* Kontakt-Seite: Rechtliches und Infos oben als Links-Reihe */
.info-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.info-links a { display: inline-flex; align-items: center; min-height: 34px; }
.zeit-heute[data-mode="light"] .ak .sym { color: var(--text); }   /* helle Stile: Symbole kraeftiger (Kontrast) */
/* App-Modus: Kaesten randlos ueber die volle Breite (Wunsch des Betreibers 08.11.2026); der Hintergrund schimmert zwischen den Kaesten durch */
.app-modus .raster, .app-modus.zeit-heute .raster { padding: 0 0 12px; gap: 8px; }
.app-modus .mitte .panel, .app-modus .mitte details.panel, .app-modus.zeit-heute[data-genre] .mitte .panel {
  border-radius: 0; border-left-width: 0; border-right-width: 0; clip-path: none; margin-bottom: 8px; }
.app-modus .mitte > .mitmachen, .app-modus .mitte > p.teilen { margin-left: 10px; margin-right: 10px; }
/* Mobile Ansicht im Browser (ganze Website, unter 700 px): Inhaltskaesten ebenfalls randlos ueber die volle Breite */
@media (max-width: 699px) {
  .zeit-heute .raster { padding-left: 0; padding-right: 0; }
  .zeit-heute .mitte .panel, .zeit-heute .mitte details.panel, .zeit-heute[data-genre] .mitte .panel {
    border-radius: 0; border-left-width: 0; border-right-width: 0; clip-path: none; }
  .zeit-heute .seite { padding-left: 10px; padding-right: 10px; }
}

/* Forum aus dem Fediverse (Lemmy, I-4) */
.lemmy-themen { list-style: none; margin: 0; padding: 0; }
.lemmy-themen li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--kante); }
.lemmy-themen li:last-child { border-bottom: 0; }
.lt-titel { font-weight: 700; overflow-wrap: anywhere; }
.lt-text { overflow-wrap: anywhere; }
.lt-text p { margin: 0 0 8px; }
.lt-text blockquote { margin: 0 0 8px; padding: 2px 0 2px 12px; border-left: 3px solid var(--kante); color: var(--text-leise); }
.lt-text pre { overflow-x: auto; padding: 8px; background: var(--grund2, rgba(0, 0, 0, .25)); border-radius: 6px; }
.lt-text h4 { margin: 10px 0 6px; }
.lemmy-kommentare { list-style: none; margin: 0; padding: 0; }
.lk { margin: 0; padding: 8px 0 8px 12px; border-left: 2px solid var(--kante); }
.lk + .lk { margin-top: 4px; }
.lk.t1 { margin-left: 16px; }
.lk.t2 { margin-left: 32px; }
.lk.t3 { margin-left: 48px; }
.lk.t4 { margin-left: 64px; }
.lk.t5 { margin-left: 80px; }
.lk.t6 { margin-left: 96px; }
@media (max-width: 560px) { .lk.t1 { margin-left: 8px; } .lk.t2 { margin-left: 16px; } .lk.t3 { margin-left: 24px; } .lk.t4 { margin-left: 32px; } .lk.t5 { margin-left: 40px; } .lk.t6 { margin-left: 48px; } }

/* Modal zum Lesen (Forum-Themen, Antworten im Stream; I-1) */
dialog.modal { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--kante); border-radius: 14px;
  background: var(--flaeche, #111); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); overflow: hidden; }
dialog.modal[open] { display: flex; flex-direction: column; }
dialog.modal::backdrop { background: rgba(0, 0, 0, .65); }
.modal-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--kante); }
.modal-ganz { font-size: .85em; }
.modal-inhalt { overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.modal-inhalt .panel { margin-bottom: 12px; }
@media (max-width: 699px) { dialog.modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; } }

/* Forum aus dem Fediverse wie ein Forum: Themen-Tabelle, Beitraege flach mit Autor-Spalte (Wunsch des Betreibers 08.11.2026) */
.lemmy-tab tr.angepinnt > td { background: color-mix(in srgb, var(--link) 8%, transparent); }
.lemmy-tab .lt-titel { font-weight: 700; }
.thread { display: grid; gap: 10px; margin: 0 0 12px; }
.thread .beitrag .autor .kl { font-weight: normal; }
.thread .bezug a { font-weight: 600; }
.thread .beitrag:target { outline: 2px solid var(--link-hover); outline-offset: 2px; }
.t-filter a.zurueck::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); }

/* Antworten mit dem eigenen Fediverse-Konto (fedi_antworten.py, Wunsch des Betreibers 08.11.2026) */
.fedi-antworten-box { position: relative; margin-left: auto; text-align: right; }
.fedi-antworten-box > summary { list-style: none; display: inline-block; cursor: pointer; }
.fedi-antworten-box > summary::-webkit-details-marker { display: none; }
/* aufgeklappt im Fluss unter dem Knopf (Kaesten schneiden Ueberstehendes ab) */
.fedi-antworten-box[open] { flex-basis: 100%; }
.fedi-antworten-box[open] > form { margin: 8px 0 0 auto; width: min(400px, 100%); box-sizing: border-box; text-align: left;
  padding: 12px 14px; border: 1px solid var(--kante); border-radius: var(--radius-kasten); background: var(--grund2, #161616);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.fedi-antworten-box[open] > form input[name="adresse"] { width: 100%; box-sizing: border-box; }
.fedi-antworten.fest .fa-mehr { margin: 4px 0 0; font-size: .8em; }
.fedi-antworten .fa-ergebnis:empty { display: none; }
.fedi-antworten .fa-ergebnis { margin-top: 8px; text-align: left; }
.fedi-antworten.fest .fa-ergebnis { max-width: 380px; margin-left: auto; }
.fedi-antworten .fa-ergebnis .link-kopie input { width: 100%; box-sizing: border-box; }
.fedi-antworten .fa-bezug { margin: 0 0 6px; font-weight: 600; }
.fedi-antworten.fest .fa-bezug { margin: 4px 0 0; }
button.antwort-auf, .zeit-heute[data-genre] button.antwort-auf, button.antwort-auf:hover, .zeit-heute[data-genre] button.antwort-auf:hover {
  display: inline; height: auto; min-height: 0; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  text-shadow: none; font: inherit; line-height: inherit; letter-spacing: normal; text-transform: none; color: var(--link); text-decoration: underline;
  cursor: pointer; vertical-align: baseline; }
button.antwort-auf:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 2px; }
html:not(.js) body button.antwort-auf[data-art] { display: none; }

/* ---------- Chat 2026 (IDEEN.md I-16): links wer im Chat ist, rechts das Chatfenster (Wunsch des Betreibers 08.11.2026) ---------- */
.chat2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; --nl: 72%; --ns: 80%; }
@media (min-width: 700px) { .chat2 { grid-template-columns: 210px minmax(0, 1fr); } }
.chat-leute h3 { margin: 10px 0 4px; font-size: .8em; text-transform: uppercase; letter-spacing: .06em; color: var(--text-leise); }
.chat-leute h3:first-child { margin-top: 4px; }
.leute-box > summary { cursor: pointer; font-weight: 700; }
@media (min-width: 700px) { .leute-box > summary { pointer-events: none; list-style: none; } .leute-box > summary::-webkit-details-marker { display: none; } }
.leute-liste { list-style: none; margin: 0; padding: 0; }
.leute-liste li { display: flex; align-items: center; gap: 6px; padding: 2px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chat-fenster { display: flex; flex-direction: column; min-width: 0; position: relative; }
.chat-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 6px; }
.chat2-liste { height: max(240px, calc(100dvh - 470px)); margin-bottom: 6px; }   /* Kopf, Menue, Eingabe und Hinweis passen mit ins Fenster */
.chat2-liste li.cz { padding: 3px 4px; line-height: 1.45; border-radius: var(--radius-kasten); position: relative; }
.chat2-liste li.cz:hover, .chat2-liste li.cz:focus-within { background: color-mix(in srgb, var(--text) 7%, transparent); }
.cz-zeit { font-size: .75em; color: var(--text-leise); margin-right: 2px; }
.cz-name { font-weight: 700; text-decoration: none; }
.cz-name:hover { text-decoration: underline; }
.cz-name.n0 { color: hsl(0 var(--ns) var(--nl)); } .cz-name.n1 { color: hsl(28 var(--ns) var(--nl)); } .cz-name.n2 { color: hsl(140 var(--ns) var(--nl)); }
.cz-name.n3 { color: hsl(175 var(--ns) var(--nl)); } .cz-name.n4 { color: hsl(205 var(--ns) var(--nl)); } .cz-name.n5 { color: hsl(255 var(--ns) var(--nl)); }
.cz-name.n6 { color: hsl(290 var(--ns) var(--nl)); } .cz-name.n7 { color: hsl(330 var(--ns) var(--nl)); }
.cz-dp { margin-right: 2px; }
.cz-bezug { margin: 0 0 1px 18px; font-size: .8em; color: var(--text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-werkzeug { font-size: .8em; margin-left: 6px; visibility: hidden; white-space: nowrap; }
.cz:hover .cz-werkzeug, .cz:focus-within .cz-werkzeug { visibility: visible; }
@media (hover: none) { .cz-werkzeug { visibility: visible; } }
.cz-werkzeug form { display: inline; }
button.cz-zitieren, .zeit-heute[data-genre] button.cz-zitieren, button.cz-antwort-weg, .zeit-heute[data-genre] button.cz-antwort-weg,
button.gif-schalter, .zeit-heute[data-genre] button.gif-schalter {
  display: inline; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; text-shadow: none; font: inherit;
  line-height: inherit; letter-spacing: normal; text-transform: none; color: var(--link); text-decoration: underline; cursor: pointer; }
button.gif-schalter { font-size: .85em; }
.abz { display: inline-flex; width: 1.2em; height: 1.2em; vertical-align: -.22em; margin-right: 3px; }
.abz svg { width: 100%; height: 100%; fill: currentColor; stroke: rgba(0, 0, 0, .35); stroke-width: .6; }
.abz-admin { color: #e8b923; } .abz-mod { color: #b9c2cc; }
.emote { display: inline-flex; width: 1.35em; height: 1.35em; vertical-align: -.3em; color: var(--link); }
.emote.gross { width: 2.2em; height: 2.2em; vertical-align: -.6em; }
.emote svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-gif { display: inline-block; vertical-align: top; }
.chat-gif .gif-platz { display: inline-block; padding: 2px 8px; border: 1px dashed var(--kante); border-radius: var(--radius-klein, 4px); }
.chat-gif img.gif-bild { display: block; max-width: min(260px, 100%); max-height: 180px; border-radius: var(--radius-kasten); margin: 4px 0; }
.chat-gif .gif-platz:has(img) { padding: 0; border: 0; }
.chat-weiter { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 5; }
.chat2-form { margin: 0; }
.chat2-zeile { display: flex; gap: 6px; align-items: center; }
.chat2-zeile input[name="text"] { flex: 1; min-width: 0; }
.cz-antwort { display: flex; justify-content: space-between; gap: 8px; font-size: .85em; padding: 4px 8px; margin: 0 0 6px; border-left: 3px solid var(--link);
  background: color-mix(in srgb, var(--text) 6%, transparent); }
.cz-antwort-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.emote-wahl { position: relative; }
.emote-wahl > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: var(--balken-h, 34px);
  height: var(--balken-h, 34px); border: 1px solid var(--kante); border-radius: var(--radius-klein, 4px); }
.emote-wahl > summary::-webkit-details-marker { display: none; }
.emote-raster { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; display: grid; grid-template-columns: repeat(6, 36px); gap: 4px; padding: 8px;
  border: 1px solid var(--kante); border-radius: var(--radius-kasten); background: var(--grund2, #161616); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
button.emote-knopf, .zeit-heute[data-genre] button.emote-knopf { height: 36px; width: 36px; min-height: 0; padding: 0; display: inline-flex; align-items: center;
  justify-content: center; background: none; border: 1px solid transparent; box-shadow: none; }
button.emote-knopf:hover, button.emote-knopf:focus-visible { border-color: var(--kante); }
.chat-hilfe { margin: 4px 0 0; font-size: .8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Link-Vorschau im Chat: nur Text von uns (Seitenname, Domain, Titel), kein Bild; je Leser abschaltbar */
.link-karte { display: block; max-width: 420px; margin: 4px 0 2px 18px; padding: 6px 10px; border-left: 3px solid var(--link); border-radius: var(--radius-kasten);
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); text-decoration: none; }
.link-karte:hover, .link-karte:focus-visible { background: color-mix(in srgb, var(--text) 11%, transparent); }
.lk-kopf { display: block; font-size: .75em; color: var(--text-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-titel { display: block; font-weight: 600; color: var(--link); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ohne-vorschau .link-karte { display: none; }
.chat-schalter { display: inline-flex; gap: 12px; }
button.vorschau-schalter, .zeit-heute[data-genre] button.vorschau-schalter {
  display: inline; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; text-shadow: none; font: inherit;
  font-size: .85em; line-height: inherit; letter-spacing: normal; text-transform: none; color: var(--link); text-decoration: underline; cursor: pointer; }

/* Kaesten mit mehrzeiligem Inhalt (Beitraege, Hinweise, Filter, Kacheln, Chat, Textfelder): Eckenradius hoechstens 12px. Manche Stile haben
   --radius-klein 999px fuer Pillen-Knoepfe; als Kasten verdeckte das den Inhalt (Hinweis des Betreibers 08.11.2026, Forum-Beitraege).
   Am html-Element gesetzt, weil dort auch die Stil-Werte stehen. */
html { --radius-kasten: min(var(--radius-klein, 4px), 12px); }

/* Forum aus dem Fediverse als Aufklapp-Liste (FAQ): Zeile klappt auf, Titel oeffnet das Fokus-Fenster (Wunsch des Betreibers 08.11.2026) */
.lt-liste { display: grid; gap: 8px; }
.lt-box { border: 1px solid var(--kante); border-radius: var(--radius-kasten); background: color-mix(in srgb, var(--grund2) 70%, transparent); }
.lt-box.angepinnt { border-color: color-mix(in srgb, var(--link) 45%, var(--kante)); }
.lt-box > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center;
  padding: 10px 12px 10px 34px; position: relative; }
.lt-box > summary::-webkit-details-marker { display: none; }
.lt-box > summary::before { content: ""; position: absolute; left: 13px; top: 17px; width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; color: var(--text-leise); }
.lt-box[open] > summary::before { transform: rotate(45deg); }
.lt-box > summary:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.lt-box > summary:focus-visible { outline: 2px solid var(--link-hover); outline-offset: -2px; }
.lt-kopf { min-width: 0; }
.lt-kopf .lt-titel { font-weight: 700; font-size: 1.05em; }
.lt-von { display: block; margin-top: 2px; }
.lt-zahl { text-align: right; white-space: nowrap; }
.lt-zuletzt { grid-column: 2; text-align: right; white-space: nowrap; font-size: .8em; }
.lt-auf { padding: 4px 14px 12px 34px; border-top: 1px solid var(--kante); }
.lt-auf > .lt-text { margin-top: 10px; }
.lt-ah { margin: 12px 0 6px; font-size: .85em; color: var(--text-leise); text-transform: none; letter-spacing: 0; }
.lt-antworten { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--kante); }
.lt-antworten li { padding: 4px 0 6px; }
.lt-antworten .kl { margin: 0 0 2px; }
.lt-weiter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 0; }
@media (prefers-reduced-motion: reduce) { .lt-box > summary::before { transition: none; } }
@media (max-width: 699px) { .lt-box > summary { padding-left: 30px; } .lt-auf { padding-left: 14px; } }

/* Reiter Live: Rang, Stimme (Herz), weitere Kanaele zur Abstimmung (IDEEN.md I-18) */
figure.live .rang { display: inline-block; min-width: 2.2em; font-weight: 800; color: var(--link); }
figure.live figcaption form.herz-form, figure.live figcaption .herz { vertical-align: middle; }
.herz.aus { opacity: .55; cursor: default; }
.tw-rest { margin: 0; padding-left: 2.2em; }
.tw-rest li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--kante); }
.tw-rest li:last-child { border-bottom: 0; }
.tw-name { min-width: 0; overflow-wrap: anywhere; }
.kasten { border: 1px solid var(--kante); border-radius: var(--radius-kasten); padding: 8px 12px; margin: 0 0 10px; }
tr.auffaellig > td { background: color-mix(in srgb, #e05a2b 14%, transparent); }

/* Antwort auf eine Antwort: eine Stufe eingerueckt, mit kurzem Zitat (Wunsch des Betreibers 08.11.2026) */
.lt-zitat { margin: 0 0 6px; padding: 4px 10px; border-left: 3px solid var(--link); border-radius: 0 var(--radius-kasten) var(--radius-kasten) 0;
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text-leise); font-size: .9em; overflow-wrap: anywhere; }
.lt-zitat a { color: inherit; text-decoration: none; } .lt-zitat a:hover b { text-decoration: underline; }
.thread .beitrag.ist-antwort { margin-left: 32px; }
.lt-antworten li.ist-antwort { margin-left: 22px; }
@media (max-width: 699px) { .thread .beitrag.ist-antwort { margin-left: 14px; } .lt-antworten li.ist-antwort { margin-left: 12px; } }
.lt-weiter { margin: 10px 0 0; }

/* Stern zum Merken im Forum (nur fuer das Mitglied selbst) */
.stern-form { display: inline; margin: 0; }
button.stern, .zeit-heute[data-genre] button.stern { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-height: 0;
  padding: 0; margin: 0 6px 0 0; border: 0; background: none; box-shadow: none; color: var(--text-leise); cursor: pointer; vertical-align: middle; }
button.stern svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
button.stern[aria-pressed="true"] { color: #f2b705; }
button.stern[aria-pressed="true"] svg { fill: currentColor; }
button.stern:hover { color: #f2b705; }
button.stern:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 1px; }
button.stern.pop svg { animation: stern-pop .35s ease-out; }
@keyframes stern-pop { 50% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { button.stern.pop svg { animation: none; } }
/* =====================================================================================================================
   Version 5: Lichtfarben fuer Home Assistant (/licht, IDEEN.md I-17). Farbfelder sind SVG mit fill-Attribut (keine Inline-Stile).
   ===================================================================================================================== */
.licht-liste { list-style: none; padding: 0; margin: .6em 0; }
.licht-liste li { display: flex; gap: 10px; align-items: flex-start; margin: .5em 0; }
.licht-liste li svg.sym { color: var(--link); margin-top: 2px; }
.licht-schritte { padding-left: 1.4em; }
.licht-schritte > li { margin: 0 0 1.1em; }
.licht-schritte h3 { margin: 0 0 .3em; font-size: 1em; }
.licht-kopie { margin: .6em 0; }
.licht-kopie label { display: block; font-weight: bold; margin-bottom: 3px; }
.licht-kopie .licht-code { display: block; width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em;
  line-height: 1.45; white-space: pre; overflow-x: auto; tab-size: 2; }
.licht-kopie textarea.licht-code { resize: vertical; }
.licht-kopie .link-kopieren { margin-top: 5px; }
.licht-kopie .link-kopieren.kopiert::after { content: " - kopiert"; }
html:not(.js) .nur-js-inline { display: none; }
.licht-farben td { white-space: nowrap; }
.licht-farben .licht-rgb { display: block; font-size: .85em; }
.licht-farben code { margin-left: 4px; }
svg.licht-tupfer { width: 16px; height: 16px; vertical-align: -3px; }
.zeit-heute[data-genre] .licht-kopie .licht-code { border-radius: 6px; padding: 8px 10px; }   /* Stile mit Pillen-Ecken schneiden sonst Text ab */

/* Emojis im Chat: Standard-Emojis (Schrift des Geraets) und eigene Emojis des Teams (Bilder von unserem Server) */
.emote-bild { display: inline-block; width: auto; height: 1.5em; max-width: 3em; vertical-align: -.35em; object-fit: contain; }
.cz-text.gross { font-size: 1.9em; line-height: 1.2; }
.cz-text.gross .emote, .cz-text.gross .emote-bild { vertical-align: -.2em; }
.emote-raster { display: block; width: min(330px, calc(100vw - 40px)); max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.emote-gruppe { display: grid; grid-template-columns: repeat(auto-fill, 36px); gap: 2px; margin: 0 0 6px; }
.ew-titel { margin: 4px 0 2px; font-size: .75em; color: var(--text-leise); text-transform: uppercase; letter-spacing: .05em; }
button.emote-knopf.uni { font-size: 22px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
button.emote-knopf .emote-bild { height: 26px; max-width: 32px; }
.emote-liste { list-style: none; padding: 0; } .emote-liste li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.emote-liste .emote-bild { height: 40px; max-width: 64px; }
/* Chat-Kopfzeile: Schalter einzeilig; auf schmalen Bildschirmen der Hinweis zur Frist darueber */
.chat-kopf { flex-wrap: wrap; row-gap: 2px; }
.chat-schalter button { white-space: nowrap; }
@media (max-width: 699px) { .chat-kopf > .kl { flex: 1 0 100%; font-size: .8em; } .chat-schalter { margin-left: auto; } .chat2-liste { height: max(240px, calc(100dvh - 430px)); } }

/* Verwaltung: Navigation in Gruppen, Funktionen an/aus (Wunsch des Betreibers 08.11.2026) */
.adminnav { margin: 0 0 12px; padding: 0 0 8px; border-bottom: 1px solid var(--kante); display: grid; gap: 6px; }
.adminnav .an-gruppe { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.adminnav .an-titel { min-width: 11em; font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-leise); }
.adminnav .an-gruppe ul { margin: 0; padding: 0; border: 0; }
.tab.funktionen th[scope="row"] { font-weight: 700; }
.fn-stand { display: inline-block; min-width: 2.6em; padding: 1px 8px; border-radius: 999px; font-size: .85em; font-weight: 700; text-align: center; }
.fn-stand.an { background: color-mix(in srgb, #2fbf5b 25%, transparent); }
.fn-stand.aus { background: color-mix(in srgb, #e05a2b 25%, transparent); }
