/* GaRaz App – Aussehen. Farben und Schriften wie auf garazmusic.de: fast schwarz, warmes Weiß, Gold. */

@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #070607;
  --surface: #131110;
  --surface-2: #1b1816;
  --surface-3: #242019;
  --line: rgba(243, 239, 236, .09);
  --line-strong: rgba(243, 239, 236, .17);
  --text: #f3efec;
  --text-2: #b8b0ab;
  --muted: #8f8782;
  --gold: #d8b45a;
  --gold-hell: #ecd08c;
  --gold-soft: rgba(216, 180, 90, .13);
  --gold-line: rgba(216, 180, 90, .38);
  --gut: #34b86a;
  --schlecht: #e46a5f;
  --warn: #e8a93a;
  --grau-mark: #5b5450;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --leiste-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--gold-soft); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

svg.ic { width: 20px; height: 20px; flex: none; }
svg.ic.klein { width: 16px; height: 16px; }
svg.ic.gross { width: 24px; height: 24px; }

/* --- Rahmen: unten Leiste (Handy), links Seitenleiste (PC) ----------------- */

.rahmen { min-height: 100dvh; }
.navi {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  height: calc(var(--leiste-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(10, 9, 9, .9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line);
}
.navi .marke, .navi .navi-unten { display: none; }
.navi a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .01em;
  -webkit-tap-highlight-color: transparent;
}
.navi a svg { width: 23px; height: 23px; }
.navi a.aktiv { color: var(--gold); }
.navi a .punkt { position: absolute; }

.inhalt {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: calc(var(--safe-top) + 14px) 16px calc(var(--leiste-h) + var(--safe-bottom) + 92px);
}

@media (min-width: 960px) {
  .rahmen { display: grid; grid-template-columns: 236px minmax(0, 1fr); }
  .navi {
    position: sticky; top: 0; height: 100dvh; padding: 26px 14px; border-top: 0; border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 4px; background: var(--bg);
  }
  .navi .marke { display: block; font-family: var(--display); font-size: 30px; letter-spacing: .02em; color: var(--text); padding: 0 12px 22px; text-decoration: none; }
  .navi .marke span { color: var(--gold); }
  .navi a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; color: var(--text-2); }
  .navi a:hover { background: var(--surface); color: var(--text); }
  .navi a.aktiv { background: var(--gold-soft); color: var(--gold-hell); }
  .navi a svg { width: 21px; height: 21px; }
  .navi .navi-unten { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
  .navi a.nur-handy { display: none; }
  .inhalt { padding: 34px 40px 112px; }
}

/* --- Kopf einer Seite --------------------------------------------------- */

.kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.kopf h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.kopf .unterzeile { color: var(--muted); font-size: 13px; margin-top: 6px; }
.kopf .aktionen { display: flex; gap: 8px; flex: none; }
@media (min-width: 960px) { .kopf h1 { font-size: 42px; } }

h2 { font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -.005em; }
h3 { font-size: 14px; font-weight: 600; margin: 0; color: var(--text-2); }
.abschnitt { margin: 26px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.abschnitt h2 { font-size: 18px; }
.abschnitt .rechts { color: var(--muted); font-size: 13px; }

/* --- Bausteine ---------------------------------------------------------- */

.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; }
.karte + .karte { margin-top: 12px; }
.karte.gold { border-color: var(--gold-line); background: linear-gradient(160deg, rgba(216, 180, 90, .10), rgba(216, 180, 90, .02) 55%), var(--surface); }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.karte-kopf .unter { color: var(--muted); font-size: 12.5px; }

.raster { display: grid; gap: 12px; }
@media (min-width: 700px) { .raster.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .raster.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); } .raster.zwei-eins { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.raster > .karte + .karte { margin-top: 0; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.knopf:hover { background: var(--surface-3); }
.knopf:active { transform: scale(.97); }
.knopf.haupt { background: var(--gold); border-color: var(--gold); color: #140f05; font-weight: 600; }
.knopf.haupt:hover { background: var(--gold-hell); }
.knopf.leise { background: transparent; border-color: transparent; color: var(--text-2); }
.knopf.leise:hover { background: var(--surface); color: var(--text); }
.knopf.rund { width: 40px; padding: 0; }
.knopf.klein { min-height: 32px; padding: 0 12px; font-size: 13px; }
.knopf.klein.rund { width: 32px; }
.knopf:disabled { opacity: .5; pointer-events: none; }
.knopf.gefahr { color: var(--schlecht); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font-size: 13.5px; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { color: var(--text); border-color: var(--text-2); }
.chip.aktiv { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.chip svg { width: 16px; height: 16px; }

.abzeichen { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.abzeichen.gold { background: var(--gold-soft); color: var(--gold-hell); }
.abzeichen.gut { background: rgba(52, 184, 106, .14); color: #6fd497; }
.abzeichen.warn { background: rgba(232, 169, 58, .15); color: #f0c46f; }
.abzeichen.schlecht { background: rgba(228, 106, 95, .15); color: #f09a91; }

.feld { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 16px; }
.feld:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
select.feld { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
label.beschriftung { display: block; font-size: 13px; color: var(--text-2); margin: 0 0 6px; }
.zeile { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.zeile > .wachsen { flex: 1 1 180px; min-width: 0; }

.leise-text { color: var(--muted); font-size: 13px; }
.klein-text { font-size: 13px; color: var(--text-2); }
.hinweis { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.hinweis svg { color: var(--gold); margin-top: 1px; }
.hinweis.fehler { border-color: rgba(228, 106, 95, .35); background: rgba(228, 106, 95, .08); color: #f3c3bd; }
.hinweis.fehler svg { color: var(--schlecht); }
.leer { text-align: center; padding: 28px 12px; color: var(--muted); font-size: 14px; }
.trenner { height: 1px; background: var(--line); margin: 14px 0; border: 0; }

.lade { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--gold); animation: dreh .8s linear infinite; vertical-align: -3px; }
.lade.gross { width: 30px; height: 30px; border-width: 3px; }
.lade-flaeche { display: grid; place-items: center; min-height: 40vh; }
@keyframes dreh { to { transform: rotate(360deg); } }
.wird-geladen { opacity: .55; transition: opacity .2s; pointer-events: none; }

/* --- Kennzahl-Kacheln ---------------------------------------------------- */

.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .kacheln { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.kachel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 12px; min-width: 0; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; position: relative; }
.kachel .kachel-kopf { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.kachel .kachel-kopf svg { width: 16px; height: 16px; color: var(--text); }
.kachel .wert { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.kachel .einheit { color: var(--muted); font-size: 12px; }
.kachel .unten { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 4px; min-height: 30px; flex-wrap: wrap; }
@media (max-width: 520px) { .kachel .wert { font-size: 26px; } .kachel .unten .funke { width: 60px; } }
.kachel .fehlt { color: var(--muted); font-size: 13px; margin-top: 8px; }
.kachel .fehlt a { color: var(--gold); }
.delta { font-size: 13px; font-weight: 600; white-space: nowrap; }
.delta.gut { color: var(--gut); }
.delta.schlecht { color: var(--schlecht); }
.delta.null { color: var(--muted); font-weight: 500; }
.delta .zeitraum { color: var(--muted); font-weight: 400; }
.funke { width: 84px; height: 28px; flex: none; color: var(--gold); }

/* --- Release-Countdown --------------------------------------------------- */

.countdown { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.countdown .cover { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; background: var(--surface-3); }
.countdown .titel { font-family: var(--display); font-size: 26px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.countdown .zeit { color: var(--gold-hell); font-weight: 600; font-size: 15px; margin-top: 4px; }
.fortschritt { margin-top: 12px; height: 6px; border-radius: 999px; background: rgba(216, 180, 90, .16); overflow: hidden; }
.fortschritt > span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.uhrwerk { display: flex; gap: 10px; margin-top: 6px; }
.uhrwerk div { text-align: center; }
.uhrwerk b { display: block; font-size: 24px; font-weight: 600; line-height: 1.1; }
.uhrwerk span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* --- Beiträge (Kacheln mit Vorschaubild) --------------------------------- */

.beitraege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .beitraege { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .beitraege { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1300px) { .beitraege { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.beitraege.leiste-h { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.beitraege.leiste-h::-webkit-scrollbar { display: none; }
.beitraege.leiste-h .beitrag { flex: 0 0 42%; scroll-snap-align: start; }
@media (min-width: 640px) { .beitraege.leiste-h .beitrag { flex-basis: 28%; } }
@media (min-width: 1000px) { .beitraege.leiste-h { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.beitrag { position: relative; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0; }
.beitrag .bild { position: relative; aspect-ratio: 9 / 13; background: var(--surface-3); overflow: hidden; }
.beitrag.quer .bild { aspect-ratio: 16 / 10; }
.beitrag .bild img { width: 100%; height: 100%; object-fit: cover; }
.beitrag .bild .oben { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; gap: 6px; }
.beitrag .bild .plattform { width: 26px; height: 26px; border-radius: 50%; background: rgba(7, 6, 7, .72); display: grid; place-items: center; }
.beitrag .bild .plattform svg { width: 14px; height: 14px; fill: currentColor; }
.beitrag .bild .unten { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; }
.beitrag .bild .unten svg { width: 15px; height: 15px; }
.beitrag .text { margin: 8px 10px 8px; font-size: 12.5px; line-height: 1.4; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.8em; overflow-wrap: anywhere; }
.beitrag .meta { padding: 0 10px 10px; display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 12px; margin-top: auto; }
.index-marke { padding: 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(7, 6, 7, .72); color: var(--text); }
.index-marke.stark { background: var(--gold); color: #140f05; }

/* --- Listen & Tabellen ---------------------------------------------------- */

.liste { list-style: none; margin: 0; padding: 0; }
.liste > li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.liste > li:last-child { border-bottom: 0; }
.liste .wachsen { flex: 1; min-width: 0; }
.liste .titel { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste .unter { color: var(--muted); font-size: 12.5px; }
.liste a.zeile-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.liste .titel.zweizeilig { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; }
.vorschau-klein { width: 72px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-3); flex: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }
.avatar.gross { width: 64px; height: 64px; }

.tabelle-rahmen { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
.karte .tabelle-rahmen { margin: 0 -16px; }
table.tabelle { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
table.tabelle th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
table.tabelle td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tabelle td.zahl, table.tabelle th.zahl { text-align: right; white-space: nowrap; }
table.tabelle tr:last-child td { border-bottom: 0; }
table.tabelle .kurztext { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- Diagramme ------------------------------------------------------------ */

.diagramm { position: relative; width: 100%; }
.diagramm svg { display: block; width: 100%; overflow: visible; }
.diagramm .achse text { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.diagramm .gitter line { stroke: rgba(243, 239, 236, .07); stroke-width: 1; }
.diagramm .grundlinie { stroke: rgba(243, 239, 236, .2); stroke-width: 1; }
.diagramm .linie { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.diagramm .flaeche { fill: var(--gold); opacity: .1; }
.diagramm .endpunkt { fill: var(--gold); stroke: var(--surface); stroke-width: 2; }
.diagramm .endwert { fill: var(--text); font-size: 12px; font-weight: 600; }
.diagramm .saeule { fill: var(--gold); }
.diagramm .saeule.leise { fill: var(--grau-mark); }
.diagramm .saeule:hover, .diagramm .saeule.an { fill: var(--gold-hell); }
.diagramm .fadenkreuz { stroke: rgba(243, 239, 236, .35); stroke-width: 1; }
.diagramm .trefferpunkt { fill: var(--gold); stroke: var(--surface); stroke-width: 2; }
.tooltip {
  position: absolute; z-index: 5; pointer-events: none; background: #221e1b; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 7px 10px; font-size: 12.5px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transform: translate(-50%, calc(-100% - 10px));
}
.tooltip b { display: block; font-size: 14px; font-weight: 600; }
.tooltip span { color: var(--text-2); }
.tooltip .schluessel { display: inline-block; width: 12px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 6px; }

.balken-liste { display: flex; flex-direction: column; gap: 9px; }
.balken-zeile { display: grid; grid-template-columns: minmax(84px, 38%) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.balken-zeile .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.balken-zeile .spur { height: 10px; border-radius: 0 4px 4px 0; background: transparent; position: relative; }
.balken-zeile .spur > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--gold); min-width: 2px; }
.balken-zeile .spur > span.leise { background: var(--grau-mark); }
.balken-zeile .wert { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.balken-zeile .wert small { color: var(--muted); font-weight: 400; margin-left: 4px; }

.heatmap { display: grid; grid-template-columns: 30px repeat(8, minmax(0, 1fr)); gap: 3px; font-size: 11px; }
.heatmap .kopfzelle { color: var(--muted); text-align: center; padding-bottom: 2px; font-variant-numeric: tabular-nums; }
.heatmap .tagzelle { color: var(--muted); display: flex; align-items: center; }
.heatmap .zelle { aspect-ratio: 1.35; border-radius: 5px; display: grid; place-items: center; font-weight: 600; font-size: 11px; position: relative; border: 1px solid transparent; }
.heatmap .zelle.ohne { border: 1px solid var(--line); color: transparent; }
.heatmap .zelle:hover, .heatmap .zelle:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.skala { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.skala .verlauf { height: 8px; flex: 0 1 160px; border-radius: 4px; background: linear-gradient(90deg, #2b2519, #6f5a2a, #b0913f, #ecd08c); }

.ansicht-wechsel { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.ansicht-wechsel button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 4px 9px; display: grid; place-items: center; }
.ansicht-wechsel button.an { background: var(--surface-3); color: var(--text); }
.ansicht-wechsel svg { width: 15px; height: 15px; }

/* --- Social ------------------------------------------------------------- */

.konto-kopf { display: flex; gap: 14px; align-items: center; }
.konto-kopf .name { font-size: 20px; font-weight: 600; line-height: 1.2; }
.konto-kopf .handle { color: var(--muted); font-size: 13.5px; }
.zahlenreihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-top: 14px; }
@media (min-width: 700px) { .zahlenreihe { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.zahlenreihe .z b { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; }
.zahlenreihe .z span { color: var(--muted); font-size: 12px; }
.empfehlung { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.empfehlung:last-child { border-bottom: 0; }
.empfehlung .platz { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-hell); font-weight: 700; font-size: 13px; flex: none; }
.empfehlung .wachsen { flex: 1; min-width: 0; }

/* --- Chat --------------------------------------------------------------- */

.chat-rahmen { display: grid; gap: 16px; }
@media (min-width: 1100px) { .chat-rahmen { grid-template-columns: 290px minmax(0, 1fr); align-items: start; } .chat-rahmen .gespraechsliste { position: sticky; top: 24px; max-height: calc(100dvh - 60px); overflow-y: auto; } }
.gespraechsliste .liste > li { padding: 0; }
.gespraechsliste a { display: block; padding: 11px 10px; border-radius: 12px; text-decoration: none; color: inherit; width: 100%; min-width: 0; }
.gespraechsliste a:hover { background: var(--surface-2); }
.gespraechsliste a.aktiv { background: var(--gold-soft); }
.gespraechsliste .titel { font-size: 14px; }

.verlauf { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.nachricht { max-width: 100%; min-width: 0; }
.nachricht.user { align-self: flex-end; max-width: 88%; background: var(--surface-3); border: 1px solid var(--line-strong); padding: 10px 14px; border-radius: 18px 18px 6px 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nachricht.assistant { align-self: stretch; }
.nachricht .wer { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.nachricht .wer .logo { width: 22px; height: 22px; border-radius: 7px; background: var(--gold); color: #140f05; display: grid; place-items: center; font-family: var(--display); font-size: 13px; }
.schritte { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.schritt { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.schritt svg { width: 14px; height: 14px; color: var(--gut); }
.schritt.fehler svg { color: var(--schlecht); }
.schritt .lade { width: 12px; height: 12px; border-width: 2px; }
.denkt { color: var(--muted); font-size: 13.5px; display: inline-flex; gap: 8px; align-items: center; }
.antwort-fuss { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 8px; }

.md { overflow-wrap: anywhere; line-height: 1.6; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 .75em; }
.md h1, .md h2, .md h3, .md h4 { font-size: 16px; font-weight: 600; margin: 1.1em 0 .45em; color: var(--text); }
.md h1 { font-size: 18px; }
.md ul, .md ol { margin: 0 0 .8em; padding-left: 1.3em; }
.md li { margin: .2em 0; }
.md li::marker { color: var(--gold); }
.md strong { color: var(--text); font-weight: 600; }
.md em { color: var(--text-2); }
.md a { color: var(--gold-hell); text-underline-offset: 2px; }
.md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--surface-3); padding: .1em .35em; border-radius: 6px; }
.md pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; overflow-x: auto; }
.md pre code { background: none; padding: 0; }
.md blockquote { margin: 0 0 .8em; padding: 2px 0 2px 12px; border-left: 3px solid var(--gold-line); color: var(--text-2); }
.md hr { border: 0; height: 1px; background: var(--line); margin: 1em 0; }
.md.eingeklappt { max-height: 24em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.md .tabelle-rahmen { margin: 0 0 .9em; padding: 0; }
.md table { border-collapse: collapse; font-size: 13.5px; min-width: 100%; }
.md th, .md td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.md th { color: var(--muted); font-weight: 500; font-size: 12.5px; border-bottom-color: var(--line-strong); white-space: nowrap; }

.eingabe {
  position: sticky; bottom: calc(var(--leiste-h) + var(--safe-bottom) + 8px); z-index: 20;
  background: rgba(19, 17, 16, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 8px 8px 8px 14px; display: flex; gap: 8px; align-items: flex-end; margin-top: 10px;
}
@media (min-width: 960px) { .eingabe { bottom: 18px; } }
.eingabe textarea { flex: 1; border: 0; background: transparent; resize: none; outline: none; font-size: 16px; line-height: 1.45; max-height: 40vh; min-height: 24px; padding: 8px 0; }
.eingabe .knopf { flex: none; }
.eingabe-optionen { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.schalter { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.schalter input { appearance: none; width: 36px; height: 22px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-strong); position: relative; margin: 0; transition: background .15s; }
.schalter input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: transform .15s var(--ease), background .15s; }
.schalter input:checked { background: var(--gold); border-color: var(--gold); }
.schalter input:checked::after { transform: translateX(14px); background: #140f05; }

.vorschlaege { display: grid; gap: 8px; }
@media (min-width: 700px) { .vorschlaege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vorschlag { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.vorschlag:hover { border-color: var(--gold-line); color: var(--text); }
.vorschlag svg { color: var(--gold); margin-top: 2px; }

/* --- Releases ------------------------------------------------------------ */

.checkliste .gruppe { margin-top: 14px; }
.checkliste .gruppe:first-child { margin-top: 0; }
.checkliste h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.aufgabe { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.aufgabe:last-child { border-bottom: 0; }
.aufgabe .haken { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-strong); background: transparent; display: grid; place-items: center; flex: none; padding: 0; color: transparent; }
.aufgabe .haken svg { width: 16px; height: 16px; }
.aufgabe.erledigt .haken { background: var(--gold); border-color: var(--gold); color: #140f05; }
.aufgabe .text { flex: 1; min-width: 0; font-size: 14.5px; }
.aufgabe.erledigt .text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(143, 135, 130, .6); }
.aufgabe .faellig { font-size: 12px; color: var(--muted); white-space: nowrap; }
.aufgabe .faellig.ueberfaellig { color: var(--warn); }
.aufgabe .weg { opacity: 0; transition: opacity .15s; }
.aufgabe:hover .weg, .aufgabe:focus-within .weg { opacity: 1; }
@media (hover: none) { .aufgabe .weg { opacity: .6; } }

.diskografie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .diskografie { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .diskografie { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.release { min-width: 0; }
.release img, .release .platzhalter { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; background: var(--surface-3); }
.release .titel { font-weight: 600; margin-top: 8px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release .unter { color: var(--muted); font-size: 12.5px; }
.release .links { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.release .links a { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); }
.release .links a:hover { color: var(--text); background: var(--surface-3); }
.release .links svg { width: 14px; height: 14px; fill: currentColor; }

/* --- Einstellungen ------------------------------------------------------- */

.status-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.status-zeile:last-child { border-bottom: 0; }
.ampel { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; background: var(--muted); flex: none; }
.ampel.gruen { background: var(--gut); box-shadow: 0 0 0 3px rgba(52, 184, 106, .18); }
.ampel.gelb { background: var(--warn); box-shadow: 0 0 0 3px rgba(232, 169, 58, .18); }
.ampel.rot { background: var(--schlecht); box-shadow: 0 0 0 3px rgba(228, 106, 95, .18); }
.messbalken { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.messbalken span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.schritte-anleitung { margin: 8px 0 0; padding-left: 1.3em; color: var(--text-2); font-size: 14px; }
.schritte-anleitung li { margin: 4px 0; }
.schritte-anleitung li::marker { color: var(--gold); font-weight: 600; }

/* --- Anmeldung ----------------------------------------------------------- */

.anmeldung { min-height: 100dvh; display: grid; place-items: center; padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 24px); }
.anmeldung form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.anmeldung .marke { font-family: var(--display); font-size: 64px; line-height: 1; text-align: center; letter-spacing: .02em; }
.anmeldung .marke span { color: var(--gold); }
.anmeldung .tagline { text-align: center; font-family: var(--serif); font-style: italic; color: var(--text-2); font-size: 20px; margin: -6px 0 14px; }
.start-lade { min-height: 100dvh; display: grid; place-items: center; font-family: var(--display); font-size: 42px; color: var(--surface-3); letter-spacing: .03em; }

/* --- Meldungen ----------------------------------------------------------- */

.meldungen { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); bottom: calc(var(--leiste-h) + var(--safe-bottom) + 14px); display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
@media (min-width: 960px) { .meldungen { bottom: 24px; } }
.meldung { pointer-events: auto; background: #26211d; border: 1px solid var(--line-strong); border-radius: 14px; padding: 11px 14px; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); animation: rein .25s var(--ease); }
.meldung.fehler { border-color: rgba(228, 106, 95, .5); }
.meldung.gut { border-color: rgba(52, 184, 106, .45); }
@keyframes rein { from { opacity: 0; transform: translateY(8px); } }

.dialog-hintergrund { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); display: grid; place-items: end center; padding: 16px; }
@media (min-width: 700px) { .dialog-hintergrund { place-items: center; } }
.dialog { width: min(100%, 460px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; padding: 20px; max-height: 88dvh; overflow-y: auto; margin-bottom: var(--safe-bottom); }
.dialog h2 { margin-bottom: 8px; }
.dialog .knoepfe { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Content-Kalender ---------------------------------------------------- */

.woche { display: grid; gap: 10px; }
@media (min-width: 1250px) { .woche { grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; } }
.tag { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-width: 0; }
.tag.heute { border-color: var(--gold-line); box-shadow: inset 0 0 0 1px var(--gold-line); }
.tag.vorbei { opacity: .72; }
.tag-kopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13.5px; color: var(--text-2); }
.tag-kopf b { color: var(--text); font-size: 15px; }
.tag-kopf .abzeichen svg { width: 13px; height: 13px; }
.eintrag { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; cursor: pointer; min-width: 0; }
.eintrag:hover { border-color: var(--line-strong); }
.eintrag-kopf { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 26px; }
.eintrag-kopf .zeit { font-weight: 700; font-variant-numeric: tabular-nums; }
.eintrag-kopf .plattformen { display: inline-flex; gap: 5px; color: var(--text-2); }
.eintrag-kopf .plattformen svg { width: 14px; height: 14px; }
.haken-klein { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; background: transparent; color: transparent; padding: 0; flex: none; }
.haken-klein:hover { border-color: var(--gut); color: var(--gut); }
.eintrag.status-gepostet .haken-klein { background: var(--gut); border-color: var(--gut); color: #06140b; }
.eintrag.status-gepostet .eintrag-titel { text-decoration: line-through; text-decoration-color: rgba(143, 135, 130, .7); color: var(--muted); }
.eintrag.status-idee { border-style: dashed; }
.eintrag.status-ausgelassen { opacity: .45; }
.eintrag-titel { font-weight: 600; margin-top: 6px; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.eintrag-format { color: var(--gold-hell); font-size: 12px; margin-top: 3px; }
.eintrag-hook { color: var(--text-2); font-size: 12.5px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag .neu-eintrag { width: 100%; justify-content: center; border: 1px dashed var(--line-strong); }
.dialog form { display: grid; gap: 12px; }
.dialog textarea.feld { resize: vertical; font-size: 15px; line-height: 1.45; }
.tag.kompakt { padding: 9px 12px; }

/* --- Sprach-Assistentin: der schwebende pinke Kreis ----------------------- */

:root {
  --pink: #ff3fa4;
  --pink-hell: #ff9bd0;
  --pink-soft: rgba(255, 63, 164, .16);
  --pink-line: rgba(255, 63, 164, .42);
}

.orb {
  position: fixed; z-index: 60; right: 16px; bottom: calc(var(--leiste-h) + var(--safe-bottom) + 16px);
  width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; --pegel: 0;
  box-shadow: 0 10px 26px rgba(255, 45, 150, .38), 0 2px 6px rgba(0, 0, 0, .35);
  transition: bottom .25s var(--ease), scale .15s var(--ease);
}
.orb:active { scale: .94; }
.orb:focus-visible { outline-offset: 5px; border-radius: 50%; }
body[data-seite="chat"] .orb { bottom: calc(var(--leiste-h) + var(--safe-bottom) + 92px); }
@media (min-width: 960px) {
  .orb { right: 28px; bottom: 28px; width: 66px; height: 66px; }
  body[data-seite="chat"] .orb { bottom: 104px; }
}
/* Heiligenschein: ein Farbverlauf, der von selbst rund ausläuft (kein Abschneiden nötig) */
.orb-hof {
  position: absolute; inset: -18px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 63, 164, .55), rgba(255, 63, 164, 0));
  opacity: calc(.25 + var(--pegel) * .75); transform: scale(calc(.85 + var(--pegel) * .4));
  transition: opacity .12s linear, transform .12s linear;
}
.orb-leinwand { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 50%; }
.orb-ring { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--pink-hell); border-right-color: rgba(255, 155, 208, .35); opacity: 0; transition: opacity .2s; }
.orb .orb-symbol { position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; color: #fff; filter: drop-shadow(0 1px 2px rgba(90, 0, 45, .6)); transition: opacity .2s, transform .2s; }
.orb:not([data-zustand="aus"]):not([data-zustand="fehler"]) .orb-symbol { opacity: 0; transform: scale(.6); }
.orb[data-zustand="verbindet"] .orb-ring { opacity: 1; animation: dreh .9s linear infinite; }
.orb[data-zustand="denkt"] .orb-ring { opacity: .8; animation: dreh 1.4s linear infinite; }

.stimme-panel {
  position: fixed; z-index: 59; left: 16px; right: 16px; bottom: calc(var(--leiste-h) + var(--safe-bottom) + 86px);
  max-width: 380px; margin-left: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 10px;
  background: rgba(22, 16, 19, .95); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--pink-line); border-radius: 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  animation: rein .22s var(--ease);
}
body[data-seite="chat"] .stimme-panel { bottom: calc(var(--leiste-h) + var(--safe-bottom) + 162px); }
@media (min-width: 960px) {
  .stimme-panel { left: auto; right: 28px; bottom: 106px; width: 380px; }
  body[data-seite="chat"] .stimme-panel { bottom: 182px; }
}
.stimme-kopf { display: flex; align-items: center; gap: 10px; }
.stimme-kopf .wachsen { flex: 1; min-width: 0; }
.stimme-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); flex: none; }
.stimme-panel[data-zustand="hoert"] .stimme-punkt, .stimme-panel[data-zustand="spricht"] .stimme-punkt { animation: stimme-puls 1.4s ease-in-out infinite; }
.stimme-panel[data-zustand="fehler"] .stimme-punkt { background: var(--muted); box-shadow: none; }
@keyframes stimme-puls { 50% { box-shadow: 0 0 0 7px rgba(255, 63, 164, .06); } }
.stimme-name { font-weight: 600; font-size: 14.5px; }
.stimme-status { color: var(--muted); font-size: 12.5px; }
.stimme-panel .knopf.an { color: var(--pink-hell); background: var(--pink-soft); }
.stimme-zeilen { max-height: min(34vh, 260px); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; }
.stimme-zeilen::-webkit-scrollbar { display: none; }
.stimme-zeilen:empty, .stimme-schritte:empty, .stimme-fuss:empty { display: none; }
.stimme-zeile { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.stimme-zeile.du { align-self: flex-end; max-width: 88%; background: var(--surface-3); border-radius: 14px 14px 4px 14px; padding: 6px 10px; }
.stimme-zeile.du[data-vorlaeufig="1"] { color: var(--text-2); font-style: italic; }
.stimme-zeile.sie::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); margin-right: 7px; vertical-align: 1px; }
.stimme-schritte { display: flex; flex-wrap: wrap; gap: 6px; }
.stimme-fuss { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stimme-hinweis { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; font-size: 13.5px; color: var(--text-2); }
.stimme-hinweis.leise { color: var(--muted); font-size: 13px; }
.stimme-schreiben { display: flex; gap: 6px; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; }
.stimme-feld { flex: 1; min-width: 0; min-height: 34px; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--text); }
.stimme-panel:not([data-zustand="hoert"]):not([data-zustand="spricht"]):not([data-zustand="denkt"]) .stimme-schreiben { display: none; }
@media (max-width: 959px) { .meldungen { bottom: calc(var(--leiste-h) + var(--safe-bottom) + 86px); } }

/* Einstellungen: Stimme wählen */
.stimmen-wahl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.pink-punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }

/* --- Rote Zahlen (wie bei Instagram) ---------------------------------------- */

.zahl-blase, .navi-zahl {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ff3b5c; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1; display: inline-grid; place-items: center; flex: none;
  font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.navi a { position: relative; }
.navi .navi-zahl { position: absolute; top: 5px; left: calc(50% + 5px); min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; box-shadow: 0 0 0 2px rgba(10, 9, 9, .95); }
@media (min-width: 960px) { .navi .navi-zahl { position: static; margin-left: auto; box-shadow: none; } }

/* --- Postfach: verfolgte Artists wie eine Chat-Liste ------------------------ */

.liste.postfach > li { padding: 0; }
.postfach-zeile { padding: 10px 2px; border-radius: 12px; }
.postfach-zeile:hover { background: var(--surface-2); }
.postfach-bild { position: relative; flex: none; }
.postfach-bild .avatar { width: 50px; height: 50px; }
.postfach-logo { position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--surface); display: grid; place-items: center; color: var(--text); }
.postfach-logo svg { width: 11px; height: 11px; }
.postfach-oben { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.postfach-zeit { color: var(--muted); font-size: 12px; white-space: nowrap; flex: none; }
.postfach-unten { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 3px; }
.postfach-vorschau { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.postfach-vorschau .lade { width: 12px; height: 12px; border-width: 2px; vertical-align: -1px; }
.postfach-zeile.ungelesen .titel, .postfach-zeile.ungelesen .postfach-vorschau { color: var(--text); font-weight: 600; }
.postfach-zeile.ungelesen .postfach-zeit { color: #ff5c7a; font-weight: 600; }

/* --- Chat mit einem Artist --------------------------------------------------- */

.artist-kopf {
  position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 10px;
  margin: calc(-1 * (var(--safe-top) + 14px)) -16px 12px; padding: calc(var(--safe-top) + 10px) 16px 10px;
  background: rgba(7, 6, 7, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) { .artist-kopf { margin: -34px -40px 16px; padding: 18px 40px 12px; } }
.artist-kopf .avatar { width: 42px; height: 42px; }
.artist-name { font-weight: 600; font-size: 16px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-unter { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.artist-unter svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 639px) { .nur-breit { display: none; } }

.system-zeile { text-align: center; margin: 4px 0; }
.system-zeile span { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.neu-trenner { display: flex; align-items: center; gap: 10px; color: #ff5c7a; font-size: 12px; font-weight: 600; margin: 4px 0; scroll-margin-top: 90px; }
.neu-trenner::before, .neu-trenner::after { content: ""; flex: 1; height: 1px; background: rgba(255, 92, 122, .45); }

.artist-post { display: flex; align-items: flex-end; gap: 8px; max-width: 94%; }
.artist-post .avatar { width: 30px; height: 30px; }
.post-blase {
  display: flex; gap: 10px; min-width: 0; max-width: 520px; padding: 8px; text-decoration: none; color: inherit;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 16px 16px 16px 4px;
}
.post-blase:hover { border-color: var(--gold-line); }
.post-bild { width: 76px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; flex: none; background: var(--surface-3); }
.post-bild.leer { display: grid; place-items: center; color: var(--muted); }
.post-text { min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; padding: 2px 4px 2px 0; }
.post-kopf { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.post-kopf b { color: var(--text); font-weight: 600; }
.post-kopf svg { width: 13px; height: 13px; color: var(--text); }
.post-caption { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: var(--text); line-height: 1.4; }
.post-zahlen { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.post-zahlen span { display: inline-flex; gap: 4px; align-items: center; }
.post-zahlen svg { width: 14px; height: 14px; }
.post-link { color: var(--gold); font-size: 12px; margin-top: auto; display: inline-flex; gap: 4px; align-items: center; }
.post-link svg { width: 12px; height: 12px; }

.artist-eingabe { margin-top: 14px; }
.fragen-chips { margin-bottom: 4px; }

/* Ziele (Startseite) */
.ziele { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ziel .karte-kopf b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ziel.erreicht { border-color: var(--gold); }

/* Ideen-Speicher (Plan) */
.ideen { display: grid; gap: 8px; margin-top: 8px; }
.idee { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-width: 0; }
.idee.status-geplant, .idee.status-erledigt { opacity: .6; }
.idee .plattformen { display: inline-flex; gap: 5px; color: var(--text-2); }
.idee .plattformen svg { width: 14px; height: 14px; }
.idee-text { color: var(--text-2); font-size: 14px; margin-top: 4px; white-space: pre-line; overflow-wrap: anywhere; }
