/* ============================================================
   STRAIN — geteilte Stile (Desktop + Mobil-App, EINE Datei seit 25.09.2026;
   web-mobile/editorial/geteilt.css ist ein Symlink hierher)

   Seit Welle 4 lebt kein Screen mehr doppelt — die beiden styles.css
   blieben es. Klassen, die geteilte Screens benutzen, standen oft nur in
   EINER davon (Glocke, Lade-Anzeige, Streak-Flamme: mobil ohne Animation;
   die schmale Stimmungs-Achse der Sortenseite fehlte am Handy ganz).

   Regel: Stile für Klassen aus geteilten .jsx-Dateien gehören HIERHER,
   nicht in eine der beiden styles.css. Die Datei lädt in beiden Apps NACH
   styles.css (gewinnt bei gleicher Spezifität). Prüfung:
   `node tools/check-css-geteilt.js` (dev-check) meldet Klassen aus
   geteilten Dateien, die nur eine App stylt.
   ============================================================ */

/* ── Gemeinsame Variablen ──
   --ease-hermes stand nur in der Desktop-CSS: mobil war jede Animation und
   Transition mit var(--ease-hermes) ungültig und fiel still weg (Atlas-Fokus-
   Puls, Globus-Knoten, CTA-Glühen …). Variablen, die geteilte Stile oder
   geteilte Screens brauchen, gehören hierher. */
:root {
  --ease-hermes: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Lade-Anzeige ── */
/* Editorial loading-state: subtle pulsing italic — vereinheitlicht alle
   Lade…-anzeigen ueber die app. Nutzen: <p class="ed-loading">Lade …</p>
   oder <p className="ed-loading">Eine Sekunde …</p> */
.ed-loading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: calc(15px * var(--ts, 1));
  color: var(--ink-3);
  letter-spacing: -0.01em;
  animation: ed-loading-pulse 1800ms ease-in-out infinite;
}
@keyframes ed-loading-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* ── Stimmung schmal ── */
/* Community-Stimmung in schmalen Fenstern. Die Sortenseite behaelt auch bei
   412 px ihr zweispaltiges Desktop-Raster; die Karte ist dort nur 252 px
   breit, und von 90px 1fr 32px bleiben dem Balken 9 px — er sieht dann aus
   wie ein Gedankenstrich. Also Label und Wert in eine Zeile, der Balken
   darunter ueber die volle Breite. Platzierung explizit, weil die
   Auto-Platzierung den Wert sonst hinter den Balken in eine dritte Zeile
   schiebt. */
@media (max-width: 720px) {
  .ed-stimmung .ed-axis-row { grid-template-columns: 1fr 34px; gap: 5px 10px; }
  .ed-stimmung .ed-axis-label { grid-area: 1 / 1 / 2 / 2; }
  .ed-stimmung .ed-axis-val { grid-area: 1 / 2 / 2 / 3; }
  .ed-stimmung .ed-axis-track { grid-area: 2 / 1 / 3 / 3; }
}

/* ── Streak-Flamme + Benachrichtigungs-Blatt ── */
/* Streak-Flamme — lebendiges Flackern statt statisches Emoji. */
.ed-streak-flame {
  display: inline-block;
  transform-origin: 50% 90%;
  animation: ed-flame-flicker 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(224, 133, 80, 0.55));
}
@keyframes ed-flame-flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  25% { transform: scale(1.12) rotate(2deg); }
  50% { transform: scale(0.96) rotate(-1deg); }
  75% { transform: scale(1.08) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-streak-flame { animation: none !important; }
}

/* ── Notifications-Sheet (Mobile Full-Screen) ─────────────────
   slide-fade enter, paper-0 background.
─────────────────────────────────────────────────────────────── */
.ed-noti-sheet {
  animation: ed-noti-sheet-in 280ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes ed-noti-sheet-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-noti-sheet { animation: none !important; }
}

/* ── Glocke + Kommentar-Karte ── */
/* ── Notifications-Bell Polish ────────────────────────────────
   shake bei neuer noti, badge pulse, dropdown smooth enter.
─────────────────────────────────────────────────────────────── */
.ed-bell-shake {
  animation: ed-bell-shake 700ms cubic-bezier(0.36, 0.07, 0.19, 0.97) 1;
  transform-origin: top center;
}
@keyframes ed-bell-shake {
  10%, 90% { transform: rotate(-3deg); }
  20%, 80% { transform: rotate(6deg); }
  30%, 50%, 70% { transform: rotate(-10deg); }
  40%, 60% { transform: rotate(10deg); }
}

/* Badge: ping-pulse beim mount + sanftes glow */
.ed-bell-badge {
  animation: ed-bell-badge-in 500ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes ed-bell-badge-in {
  0%   { transform: scale(0.3); opacity: 0; box-shadow: 0 0 0 0 var(--plum-soft); }
  60%  { transform: scale(1.18); opacity: 1; box-shadow: 0 0 0 10px var(--plum-soft); }
  100% { transform: scale(1);    opacity: 1; box-shadow: 0 0 0 0 transparent; }
}

/* Dropdown: slide+fade enter, schnell aber wahrnehmbar */
.ed-noti-dropdown {
  animation: ed-noti-drop-in 280ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  transform-origin: top right;
}
@keyframes ed-noti-drop-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Item-Hover: subtler background-shift */
.ed-noti-item:hover {
  background: var(--paper-1) !important;
}
.ed-noti-item:hover[style*="plum-soft"] {
  background: var(--plum-soft) !important;
  border-color: var(--plum) !important;
}

@media (prefers-reduced-motion: reduce) {
  .ed-bell-shake, .ed-bell-badge, .ed-noti-dropdown {
    animation: none !important;
  }
}

/* ── Comment-Card-Hover ───────────────────────────────────────
   nur die Rahmenfarbe (De-Slop: kein wachsender Schatten auf Karten).
─────────────────────────────────────────────────────────────── */
.ed-comment-card {
  transition: border-color 200ms var(--ease-hermes, ease) !important;
}
.ed-comment-card:hover {
  border-color: var(--plum-line) !important;
}

/* ── CTA-Glühen ── */
/* Eingangs-glow auf primary-CTA: kommen mit kleinem pulse rein, einmalig */
.ed-cta-enter {
  animation: ed-cta-glow 1.2s var(--ease-hermes) 200ms both;
}
@keyframes ed-cta-glow {
  0%   { box-shadow: 0 0 0 0 rgba(var(--plum-rgb), 0); }
  40%  { box-shadow: 0 0 0 6px rgba(var(--plum-rgb), 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(var(--plum-rgb), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ed-cta-enter { animation: none !important; }
}

/* ── Figur-Editor (05.10.) ──
   Die Vorschau im Ankleiden hüpft bei jeder Wahl (Mii Maker: die Figur
   reagiert) und blinzelt alle paar Sekunden (Animal Crossing: die Figur
   lebt). Beides nur dort, wo .figur-lebt / .figur-reagiert gesetzt sind
   (Editor-Vorschau, eigene Figur im Zimmer) — nie in der Straße (viele
   Figuren, 27 px). Die Gruppen-Pillen scrollen schmal seitlich. */
@keyframes figur-hops {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.figur-reagiert { animation: figur-hops 340ms var(--ease-hermes, ease-out); }
@keyframes figur-blinzeln {
  0%, 90%, 100% { transform: scaleY(1); }
  93%, 97%      { transform: scaleY(0.12); }
}
.figur-lebt [data-figur-augen] {
  transform-box: fill-box;
  transform-origin: center;
  animation: figur-blinzeln 4.6s infinite;
}
.figur-gruppen {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.figur-gruppen::-webkit-scrollbar { display: none; }
.figur-gruppen > .ed-pill { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .figur-reagiert, .figur-lebt [data-figur-augen] { animation: none !important; }
}

/* Seitenkopf ohne Wrapper (Prüfrunde 3, 13.10.): .ed-page-head ist ein
   Zwei-Spalten-Raster [Titelblock | rechte Meta]. Ein Dutzend Screens legen
   Eyebrow, h1 und p direkt hinein — dann stand die Eyebrow links, der Titel
   rechts außen und der Untertitel in der nächsten Zeile. Beginnt der Kopf
   mit der Eyebrow, fließt er als Block. */
.ed-page-head:has(> .eyebrow:first-child) { display: block; }

/* ══════════════════════════════════════════════════════════════════════
   NEUTRAL-SCHICHT (13.10., Vincent: Bonhomme als Maßstab, „diese Beige-
   Töne loswerden … Anordnung, Schriftstil"). Umfrage: Neutral mit Teal nur
   als Funktion (Links, Aktiv-Zustand, der Punkt — keine gefüllten Teal-
   Flächen), Inter überall, Fraunces nur noch in der Wortmarke.
   Die Schicht steht in geteilt.css, damit BEIDE Apps dieselben Regeln
   tragen; die !important-Regeln schlagen auch Inline-Stile aus den .jsx
   (textTransform/letterSpacing/fontStyle stehen dort ~1.000-mal). Der
   Sweep zieht die Inline-Stile nach und nach heraus — die Schicht bleibt
   als Netz, damit kein neuer Versal-Kicker durchrutscht.
   ══════════════════════════════════════════════════════════════════════ */

/* Inter (Rasmus Andersson, OFL) + Fraunces (Undercase, OFL), selbst
   gehostet: kein Request an Google, Pfade gelten unter / UND /app/
   (web-mobile/assets ist ein Symlink). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter/inter-latin-ext.woff2") format("woff2-variations"),
       url("../assets/fonts/inter/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter/inter-latin.woff2") format("woff2-variations"),
       url("../assets/fonts/inter/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces/fraunces.woff2") format("woff2-variations"),
       url("../assets/fonts/fraunces/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces/fraunces-italic.woff2") format("woff2-variations"),
       url("../assets/fonts/fraunces/fraunces-italic.woff2") format("woff2");
}

/* Seit 10.11. Inter (Grotesk wie auf Vincents Brand-Blatt, opsz-Achse:
   große Größen bekommen den Display-Schnitt). Inter hat eine x-Höhe von
   ~0,55; font-size-adjust 0,5 hält die optische Größe dort, wo sie mit
   Jost war — Zeilenlängen und Falz-Lagen der Sonden bleiben stabil. */
html, body { font-size-adjust: 0.5; }
/* Die Stilsätze ss01/cv11 waren Inter-Eigenheiten; in Inter und Fraunces
   schalten sie andere Glyphen (Fraunces ss01 = Versal-Wortmarke). */
body { font-feature-settings: normal; }

/* Keine Versalien-Kicker, keine Sperrung, keine Kursive — überall. */
*, *::before, *::after, ::placeholder {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-style: normal !important;
  font-variation-settings: normal !important;
}

/* Große Zeilen leicht enger und kräftiger — die Fraunces-Titel standen auf
   300; Inter 300 wirkt in Titelgröße dünn. Sonstige Display-Zeilen mit
   Inline-Gewicht 300 heben auf 400. */
h1, .ed-page-title { letter-spacing: -0.015em !important; }
h2 { letter-spacing: -0.01em !important; }
h1, h2, h3, .ed-page-title, .ed-hero-title, .ed-section-title, .ed-feature-title, .ed-postcard-title { font-weight: 500 !important; }
[style*="font-display"][style*="font-weight: 300"] { font-weight: 400 !important; }

/* Hervorhebung in Überschriften: kein Akzent-Kursiv mehr, sondern
   dieselbe Farbe — die Zeile trägt sich selbst. */
h1 em, h2 em, h3 em, h4 em, .ed-page-title em,
h1 i, h2 i, h3 i, .ed-page-title i { color: inherit !important; }

/* Der glühende Schlusspunkt hinter Überschriften ist raus („Titel●").
   Der Punkt bleibt der Marke (Wortmarke) und Funktionsmarkern. */
h1 .ed-mark:not(.ed-mark--owner), h2 .ed-mark:not(.ed-mark--owner),
h3 .ed-mark:not(.ed-mark--owner), h4 .ed-mark:not(.ed-mark--owner),
.ed-page-title .ed-mark:not(.ed-mark--owner) { display: none !important; }
em.ed-mark, .ed-mark { box-shadow: none !important; }

/* Wortmarke bleibt Fraunces mit kursivem „a" und Glühpunkt (Vincent:
   „Logo bleibt, ich designe vermutlich zeitnah ein besseres").
   .ed-brand-mark = Seitenleiste/Kopf (mit Größe), .ed-wortmarke = jede
   andere Stelle (Auth-Kopf, öffentliche Shells) — nur Schrift + Punkt. */
.ed-brand-mark, .ed-wortmarke {
  font-family: var(--font-marke, "Fraunces", Georgia, serif) !important;
  font-size-adjust: none !important;
  letter-spacing: -0.03em !important;
  font-variation-settings: "opsz" 144 !important;
  font-feature-settings: normal !important;
}
.ed-brand-mark i, .ed-brand-mark .ed-wa, .ed-wortmarke i { font-style: italic !important; }
.ed-wortmarke .ed-mark:not(.ed-mark--display) {
  box-shadow: 0 0 0.18em rgba(var(--plum-rgb), 0.55), 0 0 0.55em rgba(var(--plum-rgb), 0.32) !important;
}
.theme-light .ed-wortmarke .ed-mark:not(.ed-mark--display) {
  box-shadow: 0 0 0.16em rgba(var(--plum-rgb), 0.40), 0 0 0.45em rgba(var(--plum-rgb), 0.22) !important;
}
.ed-brand-mark em {
  box-shadow: 0 0 0.34em 0 color-mix(in srgb, var(--plum) 55%, transparent) !important;
}
.theme-light .ed-brand-mark em {
  box-shadow: 0 0 0.22em 0 color-mix(in srgb, var(--plum) 32%, transparent) !important;
}
.ed-mark.ed-mark--display {
  box-shadow: 0 0 0.10em rgba(var(--plum-rgb), 0.50), 0 0 0.30em rgba(var(--plum-rgb), 0.28) !important;
}

/* Kicker: kleine Zeile in Grau, normale Schreibung. */
.eyebrow {
  font-family: var(--font-body);
  font-size: calc(13px * var(--ts, 1));
  font-weight: 400;
  color: var(--ink-3);
}

/* Primärknopf schwarz/weiß (dunkel: weiß mit schwarzer Schrift), kein
   Glühen. Teal bleibt für Links und den Aktiv-Zustand. */
.ed-btn-primary {
  background: var(--ink-1) !important;
  border-color: var(--ink-1) !important;
  color: var(--paper-0) !important;
  box-shadow: none !important;
}
.ed-btn-primary:hover {
  background: var(--ink-2) !important;
  border-color: var(--ink-2) !important;
  box-shadow: none !important;
}

/* Pillen: Schrift wie Fließtext, aktiv = Teal-Rahmen + Teal-Schrift ohne
   gefüllte Fläche. */
.ed-pill {
  font-family: var(--font-body);
  font-size: calc(13px * var(--ts, 1));
  background: transparent;
}
.ed-pill--sm { font-size: calc(13px * var(--ts, 1)); }
.ed-pill--active {
  background: transparent !important;
  color: var(--plum) !important;
  border-color: var(--plum) !important;
}

/* Material-Texturen (Papierkorn, Bütten, Blindprägung) tragen den alten
   Papierton — die neutrale Fläche steht ohne sie. */
.ed-auth-art, .ed-onboard-grund, .ed-letterpress {
  background-image: none !important;
}
.ed-auth-art::before, .ed-auth-art::after,
.ed-empty::before, .ed-empty::after { background-image: none !important; }

/* ══ Bereichsfarben (13.10., Vincents Wahl „A + C“) ══════════════════════
   Linien tragen die Farbe ihres Bereichs (Navigation, Kacheln, Zimmer,
   Seitenkopf, Feed-Aktionen, Leerzustände) und zeichnen sich beim Ankommen.
   NUR Linien: keine Flächen, kein Text in diesen Farben (Text braucht 4,5:1,
   die Farben schaffen auf jedem Papier ≥ 3,3:1 — genug für Linien).
   Dunkel = Globus-Farben; hell = gleicher Farbton, Helligkeit gesenkt bis
   ≥ 3,3:1 auf #fff/#f5f5f5/#ebebeb. Zuordnung: web-v2/farbe.jsx. */
:root {
  --fa-teal: #2cc0b6; --fa-koralle: #e2796a; --fa-bernstein: #d29a4a; --fa-violett: #9678d8;
  --fa-blau: #5b9be0; --fa-gruen: #6fae6a; --fa-rosa: #d673a6;
}
html.theme-light {
  --fa-teal: #008f86; --fa-koralle: #c86254; --fa-bernstein: #ab751f; --fa-violett: #8d6fce;
  --fa-blau: #4382c5; --fa-gruen: #4f8d4b; --fa-rosa: #c05f92;
}
[data-fa="teal"] { --fa-c: var(--fa-teal); }
[data-fa="koralle"] { --fa-c: var(--fa-koralle); }
[data-fa="bernstein"] { --fa-c: var(--fa-bernstein); }
[data-fa="violett"] { --fa-c: var(--fa-violett); }
[data-fa="blau"] { --fa-c: var(--fa-blau); }
[data-fa="gruen"] { --fa-c: var(--fa-gruen); }
[data-fa="rosa"] { --fa-c: var(--fa-rosa); }
[data-seite-fa="teal"] { --fa-seite: var(--fa-teal); }
[data-seite-fa="koralle"] { --fa-seite: var(--fa-koralle); }
[data-seite-fa="bernstein"] { --fa-seite: var(--fa-bernstein); }
[data-seite-fa="violett"] { --fa-seite: var(--fa-violett); }
[data-seite-fa="blau"] { --fa-seite: var(--fa-blau); }
[data-seite-fa="gruen"] { --fa-seite: var(--fa-gruen); }
[data-seite-fa="rosa"] { --fa-seite: var(--fa-rosa); }

/* Zeichnen: farbe.jsx setzt pathLength 100 + data-fa-l an jede Linie ohne
   eigene Strichelung; versteckt wird NUR, was JS ausdrücklich auf „wartet“
   gesetzt hat (fail-open). */
@keyframes fa-zeichnen { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fa-hupf { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
[data-fa-z="wartet"] [data-fa-l]:not([stroke-dasharray]) { stroke-dasharray: 100; stroke-dashoffset: 100; }
[data-fa-z="los"] [data-fa-l]:not([stroke-dasharray]) { stroke-dasharray: 100; animation: fa-zeichnen .8s cubic-bezier(.3, .7, .2, 1) var(--fa-d, 0ms) both; }

/* Navigation (Desktop-Seitenleiste): Symbol immer in Bereichsfarbe, der
   Aktiv-Strich auch; die Schrift bleibt Tinte. Beim Aktivwerden zeichnet
   sich das Symbol neu. */
.ed-nav-item[data-fa] .ed-nav-item-icon { color: var(--fa-c); opacity: 1; }
.ed-nav-item[data-fa]::before { background: var(--fa-c); }
.ed-nav-item.active[data-fa] { color: var(--ink-1); }
.ed-nav-item.active[data-fa] .ed-mark { background: var(--fa-c) !important; box-shadow: none !important; }
.ed-nav-item.active[data-fa] [data-fa-l]:not([stroke-dasharray]) { stroke-dasharray: 100; animation: fa-zeichnen .55s ease-out both; }

/* Tab-Leiste (mobil): Symbole in Bereichsfarbe; das aktive zeichnet sich und
   hüpft einmal. Farbe + Punkt setzt die Shell (app.jsx). */
.ed-tab-btn[data-fa] svg { color: var(--fa-c); }
.ed-tab-btn[data-fa][aria-current="page"] svg { animation: fa-hupf .38s ease-out; }
.ed-tab-btn[data-fa][aria-current="page"] [data-fa-l]:not([stroke-dasharray]) { stroke-dasharray: 100; animation: fa-zeichnen .5s ease-out both; }

/* Zimmer: Möbel-Linien in der Farbe ihres Ziels (Wände, Boden, Figur bleiben
   Tinte; Akzentpunkte bleiben, wie sie sind). */
g[data-fa] :is(path, line, polyline, polygon, circle, rect, ellipse)[stroke*="--ink"] { stroke: var(--fa-c); }

/* Seitenkopf: das Bereichssymbol vor dem Kicker. Die Shell setzt am
   Inhaltsbereich data-seite-fa + --fa-symbol (data:-URL aus farbe.jsx);
   Köpfe ohne .ed-page-head (Atlas) tragen data-seitenkopf; Kicker, die
   nicht vorn im Kopf stehen (schmale Köpfe, Werkzeuge), tragen data-kicker. */
[data-seite-fa] :is(.ed-page-head, [data-seitenkopf]) > .eyebrow:first-child::before,
[data-seite-fa] :is(.ed-page-head, [data-seitenkopf]) > div:first-child > .eyebrow:first-child::before,
[data-seite-fa] [data-kicker]::before {
  content: ""; display: inline-block; width: 15px; height: 15px; margin: 0 8px 0 0;
  vertical-align: -2px; background: var(--fa-seite);
  -webkit-mask: var(--fa-symbol, none) center / contain no-repeat; mask: var(--fa-symbol, none) center / contain no-repeat;
}

/* Like: Herz zeichnet sich koralle, sechs kurze Striche springen heraus.
   Der alte Pop-Ring (teal box-shadow) und das teal glühende Doppeltipp-Herz
   folgen derselben Farbe — ohne Glow. */
@keyframes fa-pille-hupf { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
[data-like].ed-like-pop { animation: fa-pille-hupf .36s cubic-bezier(.22, .61, .36, 1); }
/* Chrom-Herz (11.11., Vincent: „das Chrom-Herz als Like“): gelikt und beim
   Doppeltipp aufs Bild steht Vincents Chrom-Herz aus dem Marken-Blatt
   (assets/marke/herz.webp) statt der korallen Linie. */
.ed-heart-burst { width: 104px; height: 109px; font-size: 0 !important; color: transparent !important; text-shadow: none !important;
  background: url("/assets/marke/herz.webp?v=1") center / contain no-repeat;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)) !important;
  animation: ed-herz-chrom 900ms cubic-bezier(.22, .61, .36, 1) both !important; }
@keyframes ed-herz-chrom {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
  22%  { opacity: 1; transform: translate(-50%, -50%) scale(1.14); }
  38%  { transform: translate(-50%, -50%) scale(.96); }
  52%  { transform: translate(-50%, -50%) scale(1); }
  78%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -62%) scale(.92); }
}
.ed-chrom-blase-klein { user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
html.theme-light .ed-chrom-blase-klein { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }
.ed-chrom-herz { user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
html.theme-light .ed-chrom-herz { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }
.ed-chrom-herz--pop { animation: ed-chrom-herz-pop .5s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes ed-chrom-herz-pop { 0% { transform: scale(.3); } 45% { transform: scale(1.28); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ed-chrom-herz--pop { animation: none; } .ed-heart-burst { animation: none !important; opacity: 0; } }
html[data-strain-ruhe="1"] .ed-chrom-herz--pop { animation: none !important; }
@keyframes fa-funke { 0% { opacity: 0; transform: rotate(var(--w)) translateY(-6px) scaleY(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--w)) translateY(-15px) scaleY(1); } }
.fa-like-funken { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.fa-like-funken i { position: absolute; left: -1px; top: -3px; width: 2px; height: 6px; border-radius: 1px; background: var(--plum); opacity: 0; animation: fa-funke .5s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  [data-fa-z] [data-fa-l], .ed-nav-item [data-fa-l], .ed-tab-btn [data-fa-l], .ed-tab-btn svg { animation: none !important; stroke-dashoffset: 0 !important; }
  .fa-like-funken { display: none; }
  [data-like].ed-like-pop { animation: none; }
}
html[data-strain-ruhe="1"] :is([data-fa-z] [data-fa-l], .ed-nav-item [data-fa-l], .ed-tab-btn [data-fa-l], .ed-tab-btn svg, .fa-herz-zeichnet) { animation: none !important; stroke-dashoffset: 0 !important; }
html[data-strain-ruhe="1"] .fa-like-funken { display: none; }
html[data-strain-ruhe="1"] [data-like].ed-like-pop { animation: none !important; }
.fa-herz-zeichnet { stroke-dasharray: 100; animation: fa-zeichnen .45s ease-out both; }
@media (prefers-reduced-motion: reduce) { .fa-herz-zeichnet { animation: none !important; stroke-dasharray: none !important; } }

/* Fokus-Karte unterm Globus linksbuendig (15.10., De-Slop: kein zentrierter
   Kicker-Headline-Stapel in App-Screens). Der mobile Atlas zentriert seinen
   Stack, die Karte erbte das. Die Landing laedt diese Datei nicht und haelt
   ihre Buehne mittig (#atlas-tool-Regel in experience/index.html). */
.atlas-focus-card { text-align: left; }

/* Messenger Runde 3 (chat-medien.jsx, 20.10.): Aufnahme-Punkt pulsiert
   (Warnrot nur hier, semantisch „nimmt auf“), Fokus auf der Wellenform.
   Streifen (Anhang-Leiste, Pillen der Karten-Suche) verstecken ihren
   Scrollbalken NUR auf Touch — dort wird gewischt; am Desktop mit Maus
   wären die hinteren Kacheln sonst unerreichbar (UX-Prüfer #10).
   Ohne Bewegung bei reduced-motion und im Ruhe-Modus. */
@keyframes chat-aufnahme-puls { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }
.chat-aufnahme-punkt { animation: chat-aufnahme-puls 1.1s ease-in-out infinite; }
.chat-anhangleiste, .chat-pillenleiste { scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
@media (pointer: coarse) {
  .chat-anhangleiste, .chat-pillenleiste { scrollbar-width: none; }
  .chat-anhangleiste::-webkit-scrollbar, .chat-pillenleiste::-webkit-scrollbar { display: none; }
}
[data-chat-sprache-welle]:focus-visible { outline: 2px solid var(--plum); border-radius: var(--r-sm); }
/* Album-Kachel (UX-Prüfer #1): Rahmen und Kachel schneiden mit overflow ab,
   der äußere Fokusring war unsichtbar. Darum ein innerer Ring als eigene
   Ebene über Foto, Video-Glyphe und „+N“ — Akzent als Linie mit einer
   Papier-Haarlinie innen, die auf jedem Foto Kontrast hält. */
[data-chat-album-kachel]:focus-visible { outline: none !important; box-shadow: none !important; }
[data-chat-album-kachel]:focus-visible::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 2px solid var(--plum); box-shadow: inset 0 0 0 2px var(--paper-0);
}
/* Karten-Suche: das Blatt selbst nimmt auf Touch den ersten Fokus (keine
   Tastatur) — ein Behälter, kein Bedienelement, also ohne Ring. */
[data-chat-karten-blatt]:focus-visible { outline: none !important; box-shadow: none !important; }
/* Anhang-Menü (Gegenprüfung UX #9): die Einträge sind volle Breite im
   scrollenden Blatt — der äußere Ring (Offset 2 px) wurde links, oben und
   rechts abgeschnitten und las als Trennstrich. Darum innen, ganz im Eintrag.
   Das Popover-Panel nimmt nur per Klick in den Innenabstand den Fokus
   (tabIndex -1) — ein Behälter, ohne Ring. */
[data-chat-anhang-wahl]:focus-visible { outline: 2px solid var(--plum) !important; outline-offset: -2px !important; box-shadow: none !important; }
[data-chat-anhang-menue]:focus-visible { outline: none !important; box-shadow: none !important; }
@media (prefers-reduced-motion: reduce) {
  .chat-aufnahme-punkt { animation: none; }
  [data-chat-mikro] { transition: none !important; }
}
html[data-strain-ruhe="1"] .chat-aufnahme-punkt { animation: none; }

/* ── Chat-Design (21.10.2026) ────────────────────────────────────────────
   Vincent: „Chathintergrund und Nachrichtenfarbe muss man einstellen können“
   (Kombo Insta + WhatsApp). EINE Whitelist: backend/src/data/chat-design-
   katalog.js, Spiegel in web-v2/chat-medien.jsx. Hier stehen nur die Werte.
   Der Verlauf trägt data-chat-blase (eigene Blasen) und, mit Hintergrund,
   data-chat-hg-aktiv; die Fläche liegt als eigene Ebene HINTER dem Scroller
   (fest, der Verlauf läuft darüber wie bei WhatsApp).
   Eigene Blasen = Flächen in den Bereichsfarben — bewusste Ausnahme von
   „keine Teal-Flächen“ (Vincent: farbige Blasen). Weiß auf jeder Fläche
   ≥ 6:1, die leise Schrift (Zitat, Zeiten in der Blase) ≥ 4,6:1, in hell
   UND dunkel dieselben Werte (gemessen: tools/sonden/chat-design.js).
   „tinte“ setzt nichts — dann gilt der bisherige Look (Tinte/Papier). */
[data-chat-blase="teal"]      { --chat-blase-bg: #006e67; --chat-blase-text: #ffffff; --chat-blase-leise: #d1e5e4; }
[data-chat-blase="koralle"]   { --chat-blase-bg: #a74336; --chat-blase-text: #ffffff; --chat-blase-leise: #f0dfdd; }
[data-chat-blase="bernstein"] { --chat-blase-bg: #845a18; --chat-blase-text: #ffffff; --chat-blase-leise: #e8e0d3; }
[data-chat-blase="violett"]   { --chat-blase-bg: #704bc2; --chat-blase-text: #ffffff; --chat-blase-leise: #e5dff4; }
[data-chat-blase="blau"]      { --chat-blase-bg: #30659d; --chat-blase-text: #ffffff; --chat-blase-leise: #d8e2ec; }
[data-chat-blase="gruen"]     { --chat-blase-bg: #3d6d3a; --chat-blase-text: #ffffff; --chat-blase-leise: #dae3da; }
[data-chat-blase="rosa"]      { --chat-blase-bg: #a03f72; --chat-blase-text: #ffffff; --chat-blase-leise: #eedce6; }
/* Ruhige Farbtöne: Tinte 1, 3 und 4 halten darauf ≥ 4,7:1 (hell + dunkel). */
[data-chat-hg-ton="grau"]    { --chat-hg-ton: #1a1a1a; }
[data-chat-hg-ton="teal"]    { --chat-hg-ton: #0e1b1a; }
[data-chat-hg-ton="blau"]    { --chat-hg-ton: #0f151d; }
[data-chat-hg-ton="violett"] { --chat-hg-ton: #15121d; }
[data-chat-hg-ton="rosa"]    { --chat-hg-ton: #1c1218; }
[data-chat-hg-ton="gruen"]   { --chat-hg-ton: #101a11; }
[data-chat-hg-ton="koralle"] { --chat-hg-ton: #1d1311; }
html.theme-light [data-chat-hg-ton="grau"]    { --chat-hg-ton: #ececec; }
html.theme-light [data-chat-hg-ton="teal"]    { --chat-hg-ton: #e2f0ee; }
html.theme-light [data-chat-hg-ton="blau"]    { --chat-hg-ton: #e4ebf5; }
html.theme-light [data-chat-hg-ton="violett"] { --chat-hg-ton: #ebe7f5; }
html.theme-light [data-chat-hg-ton="rosa"]    { --chat-hg-ton: #f4e7ee; }
html.theme-light [data-chat-hg-ton="gruen"]   { --chat-hg-ton: #e5efe4; }
html.theme-light [data-chat-hg-ton="koralle"] { --chat-hg-ton: #f5e8e5; }
/* Mit Hintergrund: fremde Blasen heller (dunkel) bzw. weiß (hell), sonst
   verschwänden sie auf einem Ton fast gleicher Helligkeit. Plaketten tragen
   Tagestrenner, Systemzeilen, Zeiten und „schreibt …“ — festes Papier zu
   92 %, auf jedem Foto ≥ 4,8:1 für Tinte 4. NICHT var(--paper-0): das
   wandert mit dem Tagesrhythmus (hell nachts #f8f8f8), die Uhrzeit fiel
   damit abends auf 4,43:1 und nachts auf 4,32:1 (gemessen 21.10.). */
[data-chat-hg-aktiv] { --chat-fremd: #2a2a2a; --chat-plakette: rgba(11, 11, 11, .92); }
html.theme-light [data-chat-hg-aktiv] { --chat-fremd: #ffffff; --chat-plakette: rgba(255, 255, 255, .92); }
.chat-hg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.chat-hg[data-chat-hg-flaeche="ton"] { background: var(--chat-hg-ton, var(--paper-1)); }
.chat-hg[data-chat-hg-flaeche="muster"] { background: var(--paper-1); }
.chat-hg-muster {
  position: absolute; inset: 0; background-color: var(--fa-c, var(--ink-3)); opacity: .2;
  -webkit-mask-repeat: repeat; mask-repeat: repeat; -webkit-mask-size: 168px 168px; mask-size: 168px 168px;
}
html.theme-light .chat-hg-muster { opacity: .26; }
.chat-hg[data-chat-hg-flaeche="foto"], .chat-hg[data-chat-hg-flaeche="artwork"] {
  background-color: var(--paper-1); background-size: cover; background-position: center 38%; background-repeat: no-repeat;
}
/* Schleier je Thema: Fotos leicht, Antonias Artwork kräftig (der Grund ist
   gesättigtes Violett mit Wortmarke) — die Blasen sind ohnehin deckend. */
.chat-hg[data-chat-hg-flaeche="foto"]::after, .chat-hg[data-chat-hg-flaeche="artwork"]::after { content: ""; position: absolute; inset: 0; }
.chat-hg[data-chat-hg-flaeche="foto"]::after { background: rgba(0, 0, 0, .42); }
.chat-hg[data-chat-hg-flaeche="artwork"]::after { background: rgba(11, 11, 11, .64); }
html.theme-light .chat-hg[data-chat-hg-flaeche="foto"]::after { background: rgba(255, 255, 255, .3); }
html.theme-light .chat-hg[data-chat-hg-flaeche="artwork"]::after { background: rgba(255, 255, 255, .62); }
.chat-plakette { display: inline-block; max-width: 100%; box-sizing: border-box; }
[data-chat-hg-aktiv] .chat-plakette { background: var(--chat-plakette); border-radius: 999px; padding: 2px 10px; }
[data-chat-hg-aktiv] .chat-plakette--zeile { padding: 1px 8px; }
[data-chat-hg-aktiv] [data-chat-tag-linie] { visibility: hidden; }
[data-chat-hg-aktiv] [data-chat-reaktion] { background: var(--paper-elev) !important; }
[data-chat-hg-aktiv] .chat-plakette-knopf { background: var(--paper-elev) !important; }
/* „⋯“ (Touch) auf Mustern/Fotos: keine Papier-Fläche neben jeder Blase (das
   war ein 30-px-Kreis je Nachricht, Prüfrunde 21.10.), sondern die Glyphe in
   Tinte 2 mit Papier-Halo — der Halo trägt den Kontrast (≥ 4,5:1, gemessen in
   tools/sonden/chat-design.js). !important: der Knopf stylt inline. */
[data-chat-hg-aktiv] [data-chat-menue] {
  background: transparent !important; color: var(--ink-2) !important;
  text-shadow: 0 0 1px var(--paper-0), 0 0 2px var(--paper-0), 0 0 3px var(--paper-0), 0 0 5px var(--paper-0), 0 0 7px var(--paper-0);
}
/* Auswahl im Design-Blatt: Kacheln sind Inhalt (spitz), die Farbkreise
   Bedienung (rund). Gewählt = Haken + innerer Ring in Tinte; der Akzent-Ring
   außen gehört allein dem Tastaturfokus (Prüfrunde 21.10.: vorher sahen
   Auswahl und Fokus gleich aus). Raster mit 4 px Innenabstand, damit der
   Fokus-Ring (2 px + 2 px Abstand) am Rand nicht abgeschnitten wird. */
.chat-design-wahl { container-type: inline-size; }
.chat-design-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; padding: 4px; }
/* isolation: Haken + Ring (z-index) bleiben in der Kachel — sonst lagen sie
   beim Scrollen über der klebenden Vorschau. */
.chat-design-kachel { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--paper-1); }
.chat-design-kachel[aria-pressed="true"] { border-color: var(--ink-1); }
/* Der Ring liegt ÜBER dem Kachelinhalt (Ton, Muster, Foto decken sonst jeden
   inneren Schatten zu). */
.chat-design-kachel[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--ink-1), inset 0 0 0 4px var(--paper-0);
}
.chat-design-kachel:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.chat-design-kachel:disabled { cursor: default; opacity: .55; }
.chat-design-haken {
  position: absolute; top: 6px; right: 6px; z-index: 3; width: 20px; height: 20px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-0); color: var(--ink-1); border: 1px solid var(--ink-1); box-sizing: border-box;
}
/* Farben: 4 je Zeile, ab 400 px Breite alle 8 in einer (nie 7 + 1). */
.chat-design-farben { display: grid; grid-template-columns: repeat(4, 36px); gap: 12px 16px; padding: 4px; }
@container (min-width: 400px) { .chat-design-farben { grid-template-columns: repeat(8, 36px); gap: 12px 14px; } }
.chat-design-farbe { position: relative; width: 36px; height: 36px; border-radius: 999px; padding: 0; cursor: pointer; border: 1px solid var(--line-3); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.chat-design-farbe[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--paper-0); }
.chat-design-farbe .chat-design-haken { position: static; width: auto; height: auto; background: transparent; border: none; color: inherit; }
.chat-design-farbe:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
/* Vorschau klebt beim Wählen oben (Blatt + Einstellungen) — man sieht, was
   die Wahl tut (Prüfrunde 21.10.: Vorschau und Farbreihe lagen weiter
   auseinander, als das Fenster hoch ist). */
.chat-design-klebt { position: sticky; top: var(--chat-design-klebe, 0px); z-index: 4; }
/* Einstellungen: .set-group schneidet mit overflow:hidden die Ecken — das
   wäre ein eigener Scroll-Container, an dem nichts kleben kann. clip schneidet
   genauso, ohne Scroll-Container. Die Zeile steht seit 21.10. unter
   „Darstellung“ (die Regel hing an der alten Gruppe „Chats“ und die Vorschau
   klebte nicht mehr) — darum an der Gruppe, die die Vorschau ENTHÄLT. Zwei
   Regeln: ein Browser ohne :has verwirft sonst die ganze Liste. */
.set-group[data-set-darstellung] { overflow: clip; }
.set-group:has(.chat-design-klebt) { overflow: clip; }
/* „online“ im Kopf eines Direkt-Chats: Punkt in Akzent (Live-Punkt-Regel). */
[data-chat-zuletzt="online"] .chat-online-punkt { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--plum); margin-right: 6px; vertical-align: 1px; }

/* ── 3D-Zimmer, -Fassade, -Straße (26.10., zimmer-3d.jsx) ───────────────
   Die Bühne ersetzt die gezeichnete Szene, sobald das erste Bild steht.
   Inhalt bleibt Papier: Hairline, --r-lg, kein Blur, keine Teal-Fläche. */
.z3d-buehne { position: relative; background: var(--paper-1); border: 1px solid var(--line-1); border-radius: var(--r-lg); overflow: hidden; }
.z3d-rahmen { position: relative; height: clamp(260px, 46vh, 360px); }
.z3d-buehne--breit .z3d-rahmen { height: clamp(300px, 52vh, 520px); }
.z3d-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; outline: none; cursor: default; }
.z3d-canvas.zeigt { cursor: pointer; }
.z3d-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--plum); }
.z3d-steuer { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.z3d-rund { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper-0); color: var(--ink-2);
  display: grid; place-items: center; padding: 0; cursor: pointer; font: 400 17px/1 var(--font-body); }
.z3d-rund:disabled { color: var(--ink-4); border-color: var(--line-1); cursor: default; }
.z3d-rund--an { color: var(--plum); border-color: var(--plum); }
.z3d-rund:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
/* Zimmer-Foto (Hebel 33): eigene Ecke unten links — in der Spalte rechts lag der Knopf über der Vitrine */
.z3d-foto { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
/* Mit Joystick (Touch) wandert die Kamera nach rechts unten; in der Knopfspalte (Vollbild) steht sie im Fluss */
.z3d-buehne--joy .z3d-foto { left: 104px; } /* neben dem Joystick — rechts unten lag er über der Vitrine */
.z3d-steuer .z3d-foto { position: static; }

/* ── Vollbild (02.11.): die Bühne liegt fest über der App, App-Leisten weg, Chat + Joystick darüber ── */
html.z3d-vollbild-an, html.z3d-vollbild-an body { overflow: hidden; overscroll-behavior: none; }
html.z3d-vollbild-an [data-scroll-progress] { display: none; }
html.z3d-vollbild-an .ed-glassbar, html.z3d-vollbild-an .ed-glasstop { visibility: hidden; }
.z3d-buehne--voll { position: fixed; inset: 0; z-index: 1090; display: flex; flex-direction: column; border: 0; border-radius: 0;
  /* der Rahmen von DreiDRahmen ist beim Laden unsichtbar — im Vollbild steht die Bühne trotzdem (Papier statt App-Flackern) */
  visibility: visible; pointer-events: auto; }
.z3d-buehne--voll .z3d-rahmen { flex: 1 1 auto; height: auto; min-height: 0; }
/* Grow-Spiel: ein Blatt von unten (Pflege/Start) — die Bühne endet über seiner Kante, der Raum steht ganz im freien Teil */
.z3d-buehne--voll[style*="--z3d-unten"] { bottom: var(--z3d-unten, 0px); }
.z3d-buehne--voll .z3d-canvas { touch-action: none; }
.z3d-vollknopf { position: absolute; top: 10px; left: 10px; z-index: 2; }
.z3d-buehne--voll .z3d-vollknopf { top: calc(env(safe-area-inset-top, 0px) + 12px); left: max(12px, calc(env(safe-area-inset-left, 0px) + 8px)); }
/* Navigator im Vollbild (Hebel 36): Knopf „Räume“ neben ⤢, Liste darunter — über Chat und Joystick */
.z3d-naviknopf { position: absolute; z-index: 2; top: calc(env(safe-area-inset-top, 0px) + 12px); left: calc(max(12px, calc(env(safe-area-inset-left, 0px) + 8px)) + 44px); }
.z3d-naviknopf.aktiv { border-color: var(--plum); color: var(--ink-1); }
.z3d-navi { position: absolute; z-index: 4; top: calc(env(safe-area-inset-top, 0px) + 58px); left: max(12px, calc(env(safe-area-inset-left, 0px) + 8px));
  width: min(380px, calc(100% - 24px)); max-height: calc(100% - env(safe-area-inset-top, 0px) - 150px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper-card); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 10px; }
.z3d-navi-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px 2px; font-size: calc(14px * var(--ts, 1)); color: var(--ink-1); }
/* Tür-Auswahl (03.11.): gegen die Tür gelaufen → „Durch die Tür — wohin?“ — auch außerhalb des Vollbilds, über Schild und Joystick */
.z3d-tuerwahl { z-index: 6; }
.z3d-buehne:not(.z3d-buehne--voll) .z3d-tuerwahl { top: 52px; max-height: calc(100% - 62px); }
/* Post im Vollbild (Hebel 38): Brief mit Zähler neben „Räume“, Einladungen als Hinweis oben in der Szene */
.z3d-postknopf { position: absolute; z-index: 2; top: calc(env(safe-area-inset-top, 0px) + 12px); left: calc(max(12px, calc(env(safe-area-inset-left, 0px) + 8px)) + 88px); }
.z3d-zahl { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink-1); color: var(--paper-0);
  font-size: calc(13px * var(--ts, 1)); line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.z3d-hinweis { position: absolute; z-index: 5; top: calc(env(safe-area-inset-top, 0px) + 58px); left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; background: var(--paper-card); border: 1px solid var(--plum); border-radius: var(--r-md); }
.z3d-hinweis-text { flex: 1; min-width: 0; font-size: calc(13.5px * var(--ts, 1)); line-height: 1.4; color: var(--ink-1); }
.z3d-buehne--voll .z3d-steuer { top: calc(env(safe-area-inset-top, 0px) + 12px); right: max(12px, calc(env(safe-area-inset-right, 0px) + 8px)); }
.z3d-rund[aria-pressed="true"], .z3d-rund.aktiv { color: var(--ink-1); border-color: var(--plum); }
/* Toasts oben — unten liegen Chat und Joystick */
html.z3d-vollbild-an .ed-toast-container { top: calc(env(safe-area-inset-top, 0px) + 14px); bottom: auto; }
/* Das Haus-Panel der Straße (strasse.jsx, fest unten) liegt über der Bühne und nimmt die volle Breite */
html.z3d-vollbild-an [data-strasse-panel] { z-index: 1095 !important; left: max(16px, env(safe-area-inset-left, 0px)) !important;
  right: max(16px, env(safe-area-inset-right, 0px)) !important; width: auto !important; max-width: 560px; margin: 0 auto;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important; }

/* ── Welt (03.11.): Strainland ist eine Nebenwelt im Vollbild (welt.jsx). Die Vierer-Leiste bleibt darüber:
   mobil die Tab-Pille der Shell (über der Welt-Hülle z 1080 und der Bühne), am PC eine schwebende Leiste oben. ── */
html.strain-welt-an, html.strain-welt-an body { overflow: hidden; overscroll-behavior: none; }
html.strain-welt-an .ed-glasstop { visibility: hidden !important; }
html.strain-welt-an .ed-glassbar { visibility: visible !important; z-index: 1096 !important; }
html.strain-welt-an.z3d-vollbild-an .ed-glassbar--shrunk { transform: none !important; opacity: 1 !important; pointer-events: auto !important; }
/* mobil: Chat, Joystick, Foto-Knopf und Haus-Panel stehen über der Tab-Pille */
html.strain-welt-an:not(.strain-welt-pc) .z3d-buehne--voll .z3d-hud { bottom: calc(var(--tabbar-clear, 73px) + 10px); }
html.strain-welt-an:not(.strain-welt-pc) .z3d-buehne--voll .z3d-foto { bottom: calc(var(--tabbar-clear, 73px) + 10px); }
html.strain-welt-an:not(.strain-welt-pc).z3d-vollbild-an [data-strasse-panel] { bottom: calc(var(--tabbar-clear, 73px) + 12px) !important; }
/* der Brief ist in der Leiste schon da */
html.strain-welt-an [data-z3d-post] { display: none; }
/* PC: Platz für die Leiste oben — Hinweise und die Räume-Liste rücken darunter */
html.strain-welt-pc .z3d-buehne--voll .z3d-hinweis { top: calc(env(safe-area-inset-top, 0px) + 74px); }
.welt-leiste { position: fixed; z-index: 1096; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--paper-0) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.welt-leiste-knopf { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font: 500 13.5px/1 var(--font-body); cursor: pointer; white-space: nowrap; }
.welt-leiste-knopf:hover { color: var(--ink-1); }
.welt-leiste-knopf.aktiv { color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--plum); cursor: default; }
.welt-leiste-knopf:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.welt-leiste-zahl { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink-1); color: var(--paper-0);
  font-size: calc(13px * var(--ts, 1)); line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .welt-leiste-knopf span:not(.welt-leiste-zahl) { display: none; } .welt-leiste-knopf { padding: 0 12px; } }
/* unter der Szene (Einrichten, Tafel, Brett …): oben eine Pille zurück */
/* Mittig OHNE transform: .ed-btn:hover / .ed-press:active setzen ein eigenes transform — mit translateX(-50%) sprang der
   Knopf beim Drücken um die halbe Breite zur Seite und der Klick ging daneben (Sondenfund 12.11.). */
.welt-zurueck { position: fixed; z-index: 1094; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 0; right: 0; margin-inline: auto; width: fit-content; font-size: calc(13px * var(--ts, 1)); }
html.strain-welt-pc .welt-zurueck { top: calc(env(safe-area-inset-top, 0px) + 62px); }
html.strain-welt-pc.z3d-vollbild-an .ed-toast-container { top: calc(env(safe-area-inset-top, 0px) + 62px); }

/* Joystick: Grund + Knopf, ziehen = laufen. Linie statt Fläche; aktiv = Rand in Teal (Funktion, keine Fläche) */
.z3d-joy { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 84px; height: 84px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--z3d-plakette, rgba(255, 255, 255, .72)); touch-action: none; user-select: none;
  -webkit-user-select: none; -webkit-touch-callout: none; display: grid; place-items: center; cursor: grab; --z3d-plakette: rgba(11, 11, 11, .55); }
html.theme-light .z3d-joy { --z3d-plakette: rgba(255, 255, 255, .72); }
.z3d-joy.aktiv { cursor: grabbing; border-color: var(--line-3, var(--line-2)); }
.z3d-joy-knopf { width: 38px; height: 38px; border-radius: 999px; background: var(--paper-0); border: 1.5px solid var(--ink-3); pointer-events: none; }
.z3d-joy.aktiv .z3d-joy-knopf { border-color: var(--plum); }
.z3d-joy--gross { position: relative; left: auto; bottom: auto; width: 112px; height: 112px; flex: none; }
.z3d-joy--gross .z3d-joy-knopf { width: 48px; height: 48px; }

/* HUD im Vollbild: unten, sichere Ränder. Schmal: Joystick links über der Eingabe, das Log daneben.
   Breit: Joystick links unten, Log + Eingabe rechts in einer Spalte (400 px). Leere Flächen lassen Tipps durch. */
.z3d-hud { position: absolute; z-index: 3; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); pointer-events: none; --z3d-plakette: rgba(11, 11, 11, .86); }
html.theme-light .z3d-hud { --z3d-plakette: rgba(255, 255, 255, .9); }
.z3d-vchat { display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.z3d-vchat > * { pointer-events: auto; }
.z3d-vchat-oben { display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.z3d-vchat-oben > * { pointer-events: auto; }
.z3d-vchat-log { flex: 1 1 auto; min-width: 0; padding: 6px 10px; background: var(--chat-plakette, var(--z3d-plakette)); border: 1px solid var(--line-2);
  border-radius: var(--r-md); }
.z3d-vchat-log [data-raum-nachricht] { font-size: calc(13.5px * var(--ts, 1)) !important; padding: 2px 0 !important; }
.z3d-vchat-log [data-raum-nachricht]:first-child { border-top: 0 !important; }
.z3d-vchat-eingabe { margin-top: 0 !important; }
.z3d-vchat-eingabe input { background: var(--paper-0) !important; }
.z3d-vchat-mehr { max-height: min(46vh, 420px); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 12px 10px;
  background: var(--chat-plakette, var(--z3d-plakette)); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.z3d-vchat [data-raum-fehler], .z3d-vchat [data-raum-fluestern], .z3d-vchat [data-raum-klingel-liste] { padding: 6px 10px; margin: 0 !important;
  background: var(--chat-plakette, var(--z3d-plakette)); border: 1px solid var(--line-2); border-radius: var(--r-md); }
@media (min-width: 720px) {
  /* breit: Chat als Spalte rechts (400 px), der Joystick sitzt unten links im HUD */
  .z3d-vchat { margin-left: auto; width: min(400px, calc(100% - 140px)); }
  .z3d-vchat-oben > .z3d-joy { position: absolute; left: 0; bottom: 0; }
}
.z3d-schild { position: absolute; left: 0; top: 0; z-index: 3; transform: translate(-50%, calc(-100% - 12px));
  background: var(--paper-0); color: var(--ink-1); border: 1px solid var(--line-3); border-radius: var(--r-md);
  padding: 7px 11px 8px; font-size: calc(14px * var(--ts, 1)); line-height: 1.3; pointer-events: none; width: max-content; max-width: min(240px, 72%); }
.z3d-schild[hidden] { display: none; }
.z3d-schild-name { font-weight: 500; }
.z3d-schild-sub { color: var(--ink-3); font-size: calc(13px * var(--ts, 1)); }
.z3d-schild-sub:empty { display: none; }
.z3d-schild-knopf { pointer-events: auto; margin-top: 7px; border: 1px solid var(--line-2); background: transparent; border-radius: 999px;
  padding: 4px 11px; font: 400 13px/1.3 var(--font-body); color: var(--ink-1); cursor: pointer; }
.z3d-schild-knopf[hidden] { display: none; }
/* Chips im Schild (Grow-Spiel Block I, 06.11.): Gießen · Kappen je Flasche · Training · Antwort — Tipp = Wahl, Teal nur Rahmen + Schrift */
.z3d-schild-wahl { pointer-events: auto; display: grid; gap: 5px; margin-top: 7px; }
.z3d-schild-wahl[hidden] { display: none; }
.z3d-schild-reihe { display: flex; flex-wrap: wrap; gap: 4px; }
.z3d-schild-wahl-titel { width: 100%; font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); }
.z3d-schild-chip { font: inherit; font-size: calc(13px * var(--ts, 1)); line-height: 1.25; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.z3d-schild-chip[aria-pressed="true"] { border-color: var(--plum); color: var(--plum); }
.z3d-schild-chip:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.z3d-schild-chip--breit { white-space: normal; text-align: left; border-radius: var(--r-md); flex: 1 1 100%; }
.z3d-schild:has(.z3d-schild-wahl:not([hidden])) { max-width: min(300px, 86%); max-height: calc(100% - 20px); overflow-y: auto; pointer-events: auto; }
.z3d-zeltpille .z3d-woche { width: auto; padding: 0 10px; font-size: calc(13px * var(--ts, 1)); background: var(--ink-1); color: var(--paper-0); border-color: var(--ink-1); margin-right: 4px; }
.z3d-zeltpille .z3d-woche:disabled { opacity: .45; cursor: default; }
.z3d-zeltpille .z3d-woche[hidden] { display: none; }
.z3d-schild-knopf:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.z3d-schild::after { content: ""; position: absolute; left: calc(50% + var(--pfeil, 0px)); bottom: -6px; width: 10px; height: 10px; margin-left: -5px;
  background: var(--paper-0); border-right: 1px solid var(--line-3); border-bottom: 1px solid var(--line-3); transform: rotate(45deg); }
.z3d-schild.unten { transform: translate(-50%, 12px); }
.z3d-schild.unten::after { bottom: auto; top: -6px; transform: rotate(225deg); }
.z3d-schilder { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.z3d-haus-name { position: absolute; left: 0; top: 0; transform: translate(-50%, 0); font-size: calc(13px * var(--ts, 1)); line-height: 1.2; color: var(--ink-2);
  pointer-events: none; white-space: nowrap; padding: 1px 5px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--paper-0) 82%, transparent);
  overflow: hidden; text-overflow: ellipsis; }
.z3d-haus-name[data-ich="true"] { color: var(--ink-1); font-weight: 500; }
.z3d-haus-name[hidden] { display: none; }
/* Leben von außen (03.11. abends): „2 drin“ über dem Dach, „3 jetzt hier“ über Strainhub und Marktplatz — Plakette wie die
   Namensschilder, Live-Punkt im Akzent (Live-Punkte dürfen teal), nur zum Ansehen (der Tipp geht durch aufs Haus) */
.z3d-schilder { --z3d-plakette: rgba(11, 11, 11, .92); }
html.theme-light .z3d-schilder { --z3d-plakette: rgba(255, 255, 255, .92); }
.z3d-drin { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); width: max-content; max-width: min(180px, 46%); padding: 2px 8px 2px 18px;
  box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; background: var(--chat-plakette, var(--z3d-plakette));
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-1); font-size: calc(13px * var(--ts, 1)); line-height: 1.4; font-weight: 500; }
.z3d-drin::before { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 999px; background: var(--plum); }
.z3d-drin[hidden] { display: none; }
.z3d-ansage { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Möbel stellen (28.10.): Leiste unter der Leinwand, im Stell-Modus zeigt der Zeiger ein Fadenkreuz */
.z3d-stellen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 9px 12px; border-top: 1px solid var(--line-1); background: var(--paper-0); }
.z3d-stellen-text { font-size: calc(13px * var(--ts, 1)); line-height: 1.35; color: var(--ink-2); min-width: 0; flex: 1 1 180px; }
.z3d-stellen-text strong { font-weight: 500; color: var(--ink-1); }
.z3d-stellen-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.z3d-canvas.stellt { cursor: crosshair; }
.z3d-messbuehne { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: var(--paper-1); border-top: 1px solid var(--line-2); }
.z3d-messbuehne .z3d-rahmen { height: 300px; }
/* Raum-Live (30.10.): Sprechblasen über den Köpfen — DOM-Overlay im Rahmen, Papier-Plakette wie im Chat,
   festes Papier zu 92 % (nie --paper-0: der Tagesrhythmus färbt es), Spitze unten, höchstens zwei Zeilen. */
.z3d-blasen { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; --z3d-plakette: rgba(11, 11, 11, .92); }
html.theme-light .z3d-blasen { --z3d-plakette: rgba(255, 255, 255, .92); }
.z3d-blase { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 10px)); width: max-content; max-width: min(200px, 70%); padding: 5px 10px; box-sizing: border-box;
  background: var(--chat-plakette, var(--z3d-plakette)); border: 1px solid var(--line-2); border-radius: var(--r-md); color: var(--ink-1); font-size: calc(13px * var(--ts, 1)); line-height: 1.3; }
.z3d-blase[hidden] { display: none; }
.z3d-blase-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
/* Wer spricht (03.11.): Name klein über dem Text — als Attribut, der Textinhalt bleibt die Nachricht */
.z3d-blase[data-name]::before { content: attr(data-name); display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: calc(13px * var(--ts, 1)); line-height: 1.3; font-weight: 600; color: var(--ink-2); }
.z3d-blase::after { content: ""; position: absolute; left: calc(50% + var(--pfeil, 0px)); bottom: -5px; width: 8px; height: 8px; margin-left: -4px;
  background: var(--chat-plakette, var(--z3d-plakette)); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg); }
/* Namensschilder (03.11.): auf der Straße trägt, wer nah bei der eigenen Figur steht, den Namen über dem Kopf; am PC
   auch die Person unter der Maus (Straße + Räume) — kleine Plakette ohne Spitze, gleiches Papier wie die Blase, eine Zeile mit „…“ */
.z3d-name { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 4px)); width: max-content; max-width: min(160px, 50%); padding: 2px 8px; box-sizing: border-box;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--chat-plakette, var(--z3d-plakette)); border: 1px solid var(--line-2);
  border-radius: var(--r-md); color: var(--ink-1); font-size: calc(13px * var(--ts, 1)); line-height: 1.4; font-weight: 600; }
.z3d-name[hidden] { display: none; }
.z3d-name.z3d-aushang { max-width: min(280px, calc(100% - 24px)); font-weight: 500; }
/* Mitbewohner gehen mit (03.11. abends): „Hund · geht mit @x · wedelt“ — breiter als ein Namensschild */
.z3d-name.z3d-tier { max-width: min(260px, calc(100% - 24px)); font-weight: 500; }
/* Wer außerhalb des Bildes steht (03.11.): Schild am Bildrand, Tipp = hinlaufen (Bedienung = Vollpille); eigener Container,
   weil der Blasen-Container aria-hidden ist */
.z3d-rand-wurzel { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; --z3d-plakette: rgba(11, 11, 11, .92); }
html.theme-light .z3d-rand-wurzel { --z3d-plakette: rgba(255, 255, 255, .92); }
.z3d-rand { position: absolute; pointer-events: auto; max-width: min(180px, 44%); padding: 4px 10px; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; background: var(--chat-plakette, var(--z3d-plakette)); border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-1);
  font: 600 12px/1.4 var(--font-body); cursor: pointer; }
.z3d-rand[data-seite="links"] { left: max(8px, env(safe-area-inset-left, 0px)); }
.z3d-rand[data-seite="rechts"] { right: max(8px, env(safe-area-inset-right, 0px)); }
.z3d-rand:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
/* Mitgehen (03.11. abends): oben in der Szene „Mit @x unterwegs ×“ — Vollpille wie die Rand-Schilder, Rahmen im Akzent = Zustand an */
.z3d-mitgehen { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); pointer-events: auto; display: flex; align-items: center; gap: 2px;
  max-width: min(300px, calc(100% - 120px)); padding: 2px 2px 2px 12px; box-sizing: border-box; background: var(--chat-plakette, var(--z3d-plakette));
  border: 1px solid var(--plum); border-radius: 999px; color: var(--ink-1); font: 600 12.5px/1.4 var(--font-body); }
.z3d-mitgehen[hidden] { display: none; }
.z3d-buehne--voll .z3d-mitgehen { top: calc(env(safe-area-inset-top, 0px) + 58px); }
.z3d-mitgehen-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.z3d-mitgehen-aus { flex: none; width: 28px; height: 28px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: calc(16px * var(--ts, 1)); line-height: 1; cursor: pointer; }
.z3d-mitgehen-aus:focus-visible { outline: 2px solid var(--plum); outline-offset: -2px; }
/* Bowling im Raum (06.11.): Treffer-Plakette über den Pins (Strike größer, Rahmen im Akzent) und der Wurf-HUD unten in der
   Szene — Spur als Vollpillen, Kraft-Meter als Fortschrittsbalken im Akzent (Linie, keine Fläche), Werfen = Primärknopf */
.z3d-name.z3d-treffer { max-width: min(280px, calc(100% - 24px)); font-size: calc(14px * var(--ts, 1)); padding: 4px 12px; border-color: var(--plum); transform: translate(-50%, -100%); }
.z3d-name.z3d-treffer[data-z3d-treffer="strike"] { font-size: 20px; padding: 6px 16px; }
.z3d-name.z3d-treffer[data-z3d-treffer="spare"] { font-size: calc(17px * var(--ts, 1)); }
.z3d-wurf { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); pointer-events: auto; display: grid; gap: 7px; justify-items: center;
  width: max-content; max-width: min(320px, calc(100% - 124px)); padding: 8px 12px 10px; box-sizing: border-box; background: var(--chat-plakette, var(--z3d-plakette));
  border: 1px solid var(--line-2); border-radius: var(--r-lg); color: var(--ink-1); font: 500 12.5px/1.4 var(--font-body); }
.z3d-wurf[hidden] { display: none; }
.z3d-buehne--voll .z3d-wurf { bottom: calc(env(safe-area-inset-bottom, 0px) + 150px); }
.z3d-wurf-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; font-weight: 600; font-size: calc(13px * var(--ts, 1)); }
.z3d-wurf-zu { flex: none; width: 28px; height: 28px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: calc(16px * var(--ts, 1)); line-height: 1; cursor: pointer; }
.z3d-wurf-zu:focus-visible, .z3d-wurf-spur:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.z3d-wurf-spuren { display: flex; gap: 6px; }
.z3d-wurf-spur { width: 36px; height: 30px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-1); font: 600 15px/1 var(--font-body); cursor: pointer; }
.z3d-wurf-spur.ist-an { border-color: var(--plum); color: var(--plum); }
.z3d-wurf-meter { position: relative; width: 200px; max-width: 100%; height: 10px; border: 1px solid var(--line-3); border-radius: 999px; overflow: hidden; background: transparent; }
.z3d-wurf-meter::before, .z3d-wurf-meter::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-3); left: 34%; }
.z3d-wurf-meter::after { left: 67%; }
.z3d-wurf-fuell { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--plum); }
.z3d-wurf-zonen { display: flex; justify-content: space-between; width: 200px; max-width: 100%; font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); }
.z3d-wurf-werfen { touch-action: none; user-select: none; -webkit-user-select: none; min-width: 160px; }
.z3d-wurf-hinweis { font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); text-align: center; }
/* schmal: der Joystick ruht im Wurf-Modus (nichts läuft, während man wirft), der Hinweis fällt weg, die Pillen rücken enger */
.z3d-wurf-an .z3d-joy { display: none; }
/* Zelt-Innenansicht (06.11.): kein Joystick, die Figur bleibt draußen */
.z3d-zelt-an .z3d-joy { display: none; }
.z3d-zeltpille .z3d-mitgehen-aus { width: auto; padding: 0 10px; font-size: calc(13px * var(--ts, 1)); }
/* die Zelt-Pille steht unten in der Bühne (oben läge sie unter der Glas-Kopfzeile der mobilen Shell), der Joystick ist im Zelt aus */
.z3d-zeltpille { top: auto; bottom: 12px; }
.z3d-buehne--voll .z3d-zeltpille { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
@media (max-width: 520px) { .z3d-wurf-hinweis { display: none; } .z3d-wurf-spur { width: 32px; height: 28px; } .z3d-wurf-spuren { gap: 4px; } .z3d-wurf-meter, .z3d-wurf-zonen { width: 176px; } .z3d-wurf-werfen { min-width: 140px; } }

/* ── Feed flüssig (28.10., Vincent: „noch nicht so smooth wie bei Insta“) ──
   Karten außerhalb des Bilds werden nicht gelayoutet und nicht gezeichnet;
   die Höhe merkt sich der Browser nach dem ersten Rendern (auto), vorher
   gilt die Schätzung. Reels nicht: dort ist jede Karte ein Viewport. */
[data-feed-karte="breit"], [data-feed-karte="magazin"], [data-feed-karte="feature"], [data-feed-karte="kompakt"] {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}
[data-feed-bild] img { transform: translateZ(0); }

/* Mitbewohner vor dem Haus (Hebel 26): die Zimmer-Zeichnung steht verkleinert in der Straße — Striche bleiben gleich dick */
.strasse-tier * { vector-effect: non-scaling-stroke; }

/* Spiel im Vollbild (04.11.): Knopf „▶ Bowling“ über dem Raum-Chat im Vollbild-HUD — rechts, auf Papier */
.z3d-vspiel { display: flex; justify-content: flex-end; margin-bottom: 8px; pointer-events: none; }
.z3d-vspiel > * { pointer-events: auto; background: var(--paper-0); }
@media (min-width: 720px) { .z3d-vspiel { margin-left: auto; width: min(400px, calc(100% - 140px)); } }
html.spiel-voll-an .ed-glassbar { visibility: hidden; }

/* Work in Progress in der Welt (04.11.): Pille oben Mitte + Karte beim ersten Betreten. Gelb-schwarze Streifen sind das
   Baustellen-Zeichen (nur als schmales Band/Marker, keine Fläche — Text bleibt Tinte auf Papier). */
.welt-wip-pille { position: fixed; z-index: 1093; top: calc(env(safe-area-inset-top, 0px) + 28px); left: 0; right: 0; margin-inline: auto; width: fit-content;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; border: 1px solid var(--line-3);
  background: var(--paper-0); color: var(--ink-1); font: 500 13px/1.2 var(--font-body); cursor: pointer; white-space: nowrap; }
.welt-wip-pille.pc { top: calc(env(safe-area-inset-top, 0px) + 66px); }
/* Rundgang im Growraum der Welt (17.11.): unten liegen Tab-Leiste, Joystick und Handy — der Knopf steht oben mittig unter
   „Im Aufbau“, als erstes, was man im Raum der eigenen Pflanzen sieht. */
html.strain-welt-an [data-betrieb-rundgang-huelle] { top: calc(env(safe-area-inset-top, 0px) + 76px); bottom: auto !important; left: 0; right: 0 !important; margin-inline: auto; width: fit-content; }
html.strain-welt-an.strain-welt-pc [data-betrieb-rundgang-huelle] { top: calc(env(safe-area-inset-top, 0px) + 114px); }
.welt-wip-pille:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.welt-wip-streifen { width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: repeating-linear-gradient(-45deg, #f2c230 0 4px, #1a1a1a 4px 8px); }
.welt-wip-schleier { position: fixed; inset: 0; z-index: 1120; background: rgba(0, 0, 0, .34); display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.welt-wip-karte { width: min(420px, 100%); background: var(--paper-0); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.welt-wip-band { height: 14px; background: repeating-linear-gradient(-45deg, #f2c230 0 12px, #1a1a1a 12px 24px); }

/* ══ Chrom (10.11., Vincents Brand-Blätter „Liquid Chrome“) ════════════════
   Palette: Void Black #0B0B0D · Graphite #3A3C41 · Steel #8A8D93 ·
   Silver #C9CCD1 · Mist #EEEDEA · Pure White #FFFFFF. Chrom trägt NUR die
   Bedienung im aktiven Zustand (Hauptknopf, aktive Pille/Tab/Segment,
   Dock), Inhalt bleibt Fläche. Schrift auf Chrom immer Void Black. */
html:not(.theme-light) {
  --paper-0: #0b0b0d; --paper-1: #131417; --paper-2: #1d1e22;
  --paper-card: #17181b; --paper-elev: #1b1c20;
  --ink-1: #f4f5f7; --ink-2: #c9ccd1; --ink-3: #a1a4aa; --ink-4: #8a8d93;
  --line-1: rgba(201, 204, 209, .09); --line-2: rgba(201, 204, 209, .16); --line-3: rgba(201, 204, 209, .30);
}
html[data-strain-daypart="morgen"]:not(.theme-light) { --paper-0: #0d0d10; }
html[data-strain-daypart="abend"]:not(.theme-light)  { --paper-0: #0b0b0d; }
html[data-strain-daypart="nacht"]:not(.theme-light)  { --paper-0: #09090b; }
html.theme-light, html.theme-light[data-strain-daypart] {
  --paper-0: #ffffff; --paper-1: #eeedea; --paper-2: #e4e4e2;
  --paper-card: #ffffff; --paper-elev: #ffffff;
  --ink-1: #0b0b0d; --ink-2: #3a3c41; --ink-3: #54575d; --ink-4: #5c5f65;
  --line-1: rgba(58, 60, 65, .08); --line-2: rgba(58, 60, 65, .15); --line-3: rgba(58, 60, 65, .28);
}
:root {
  --chrom-text: #0b0b0d;
  /* Liquid Chrome nach Vincents Vorlage (16.11.): heller Außenrand, dunkle Rille, silberne Fläche mit Glanz oben
     links und weichen Bändern, leichter Schein nach außen. */
  --chrom-flaeche: linear-gradient(180deg, #ffffff 0%, #eceef0 14%, #c4c7cc 40%, #9fa3a9 52%, #c8cbcf 66%, #eef0f2 86%, #ffffff 100%);
  --chrom: radial-gradient(120% 90% at 22% 8%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 46%), var(--chrom-flaeche);
  --chrom-rand: #f4f5f7;
  --chrom-schatten: inset 0 0 0 1.5px rgba(255, 255, 255, .92), inset 0 0 0 3.5px rgba(96, 99, 106, .55),
    inset 0 0 0 5px rgba(255, 255, 255, .55), inset 0 3px 4px rgba(255, 255, 255, .85), inset 0 -4px 7px rgba(11, 11, 13, .30),
    0 0 0 1px rgba(11, 11, 13, .6), 0 0 12px rgba(255, 255, 255, .16), 0 3px 10px rgba(0, 0, 0, .45);
  --chrom-ring: linear-gradient(160deg, #ffffff 0%, #8a8d93 35%, #f4f5f7 55%, #6f7278 80%, #c9ccd1 100%);
}
html.theme-light {
  --chrom-schatten: inset 0 0 0 1.5px rgba(255, 255, 255, .92), inset 0 0 0 3.5px rgba(96, 99, 106, .45),
    inset 0 0 0 5px rgba(255, 255, 255, .5), inset 0 3px 4px rgba(255, 255, 255, .85), inset 0 -4px 7px rgba(11, 11, 13, .22),
    0 0 0 1px rgba(58, 60, 65, .55), 0 2px 6px rgba(11, 11, 13, .18);
}

/* ══ Formwelt statt Pillen (11.11., Vincent: „die große Menge an Pillen schreit
   wieder nach KI … sonst sind die Chromfinishes schnell totgesehen“ → „Pillen
   könnten auch einfach durch individuellere Flächen mit mehr Charakter ersetzt
   werden“; abends: „die tropfende Pille sollte nicht rein, sondern das Blech“).
   Keine Kapseln mehr für Bedienung im Inhalt, keine Tropfen. Vier Formen:
   1 Hauptknopf  = Chrom-Blech mit zwei geschnittenen Ecken
                   (höchstens einer je Bildschirm; Listen tragen Nebenknöpfe)
   2 Reiter      = Wörter auf einer Haarlinie, der gewählte als kleines Blech
   3 Filter/Sortierung = Wörter; das gewählte trägt den Chrom-Stern davor
   4 Nebenknopf  = Graphit-Blech (seit 12.11. mittags, vorher Wort mit Unterstrich); Icon-Knöpfe ohne Ring
   Chrom-FLÄCHE bleibt nur: Hauptknopf, gewählter Reiter, Tab-Leiste, Dock,
   3D-Knöpfe. */
:root {
  --ecke: 8px;
  --blech: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, var(--ecke) 100%, 0 calc(100% - var(--ecke)));
  --blech-schatten: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -2px 4px rgba(11, 11, 13, .30), inset 0 0 0 1px rgba(11, 11, 13, .35);
  --stahl-strich: #8a8d93;
}
html.theme-light { --blech-schatten: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -2px 4px rgba(11, 11, 13, .25), inset 0 0 0 1px rgba(58, 60, 65, .55); }

/* 1 · Hauptknopf: Chrom-Blech. clip-path schneidet auch den Fokusrahmen —
   darum liegt der Fokus innen. */
html .ed-btn-primary, html .ed-btn-primary:hover, html body.theme-light .ed-btn-primary, html.theme-light .ed-btn-primary,
[data-profil-bearbeiten] {
  background: var(--chrom) !important; color: var(--chrom-text) !important;
  border-color: transparent !important; box-shadow: var(--blech-schatten) !important;
  border-radius: 2px !important; clip-path: var(--blech); font-weight: 600;
}
.ed-btn-primary:focus-visible, [data-profil-bearbeiten]:focus-visible { outline: 2px solid var(--chrom-text) !important; outline-offset: -5px !important; }
[data-profil-bearbeiten] svg { color: var(--chrom-text) !important; }
.ed-btn-primary:disabled, .ed-btn-primary[aria-disabled="true"] { filter: grayscale(1) brightness(.7); opacity: .6; }

/* 3 · Filter und Sortierung: Wörter, das gewählte mit Chrom-Stern */
.ed-pill, .ed-pill:hover {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  border-radius: var(--r-sm) !important; padding-left: 6px; padding-right: 6px;
}
.ed-pill:not(.ed-pill--active) { color: var(--ink-2); }
.ed-pill:not(.ed-pill--active):hover { color: var(--ink-1); }
.ed-pill--active, .ed-pill--active:hover { color: var(--ink-1) !important; font-weight: 600; }
.ed-pill--active::before {
  content: ""; flex: none; width: 15px; height: 15px; margin: -2px 1px -2px -2px;
  background: url("/assets/marke/stern.webp") center / contain no-repeat;
}
.ed-pill--sm.ed-pill--active::before { width: 13px; height: 13px; }
.ed-pill--active svg { color: inherit !important; }
html.theme-light .ed-pill--active::before { filter: drop-shadow(0 0 .5px rgba(11, 11, 13, .9)); }

/* 2 · Reiter: Wörter auf einer Haarlinie, der gewählte als kleines Chrom-Blech */
[data-subtabs], [data-sammlung-reiter], [data-feed-reiter] > div:has(> button[aria-pressed]) {
  background: none !important; border: none !important; border-bottom: 1px solid var(--line-2) !important;
  border-radius: 0 !important; box-shadow: none !important; padding: 0 0 6px !important; gap: 4px !important;
}
/* Feed-Modus (Magazin · Kompakt · Reels) steht in der Reiter-Zeile: keine eigene Linie */
[data-feed-modus="hell"] { background: none !important; border: none !important; box-shadow: none !important; padding: 0 !important; gap: 2px !important; }
[data-subtabs] > button, [data-sammlung-reiter] > button, [data-feed-reiter] > div > button[aria-pressed], [data-feed-modus-wahl] {
  background: transparent !important; box-shadow: none !important; border: none !important; border-radius: 2px !important;
  color: var(--ink-3) !important; font-weight: 400;
}
[data-subtabs] > button:hover, [data-sammlung-reiter] > button:hover, [data-feed-reiter] > div > button[aria-pressed]:hover { color: var(--ink-1) !important; }
[data-feed-modus="dunkel"] [data-feed-modus-wahl] { color: rgba(255, 255, 255, .72) !important; }
[data-subtabs] > button[data-subtab-aktiv], [data-sammlung-reiter] > button[data-subtab-aktiv], [data-subtab-aktiv],
[data-feed-reiter] > div > button[aria-pressed="true"], [data-feed-modus] [data-feed-modus-wahl][aria-pressed="true"], .ed-tab.active {
  background: var(--chrom) !important; color: var(--chrom-text) !important; box-shadow: var(--blech-schatten) !important;
  clip-path: var(--blech); --ecke: 6px; font-weight: 600;
}
[data-feed-modus-wahl][aria-pressed="true"] svg, [data-subtab-aktiv] svg { color: var(--chrom-text) !important; }
[data-subtab-aktiv] span { color: inherit !important; }
[data-subtab-aktiv]:focus-visible, [data-feed-reiter] > div > button[aria-pressed="true"]:focus-visible, .ed-tab.active:focus-visible {
  outline: 2px solid var(--chrom-text) !important; outline-offset: -4px !important;
}
.ed-tab.active { border-bottom-color: transparent !important; padding: 6px 10px !important; margin-bottom: 6px !important; font-style: normal; }
.ed-tab { padding: 6px 4px !important; margin-bottom: 6px !important; border-bottom: none !important; }

/* 4 · Nebenknopf = Graphit-Blech (12.11. mittags, Vincent: „die unterstrichenen Linien unter Texten sind nicht ansprechend …
   da brauchen wir was Individuelles“, Umfrage: B). Gleiche Form wie der Chrom-Hauptknopf, aber matt: Rang durch
   Material — Chrom = die eine Hauptaktion, Graphit = alles andere. Fünf Varianten über data-v (teile.jsx), in einer
   Reihe spiegelt die Lage (l · m · r) wie beim Chrom-Blech. Icon-Knöpfe bleiben ohne Fläche. */
:root { --graphit-blech: #25272c; --graphit-blech-hover: #2f3238; --graphit-rand: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .07); }
html.theme-light { --graphit-blech: #e1dfda; --graphit-blech-hover: #d6d4ce; --graphit-rand: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(11, 11, 13, .14), inset 0 0 0 1px rgba(58, 60, 65, .18); }
.ed-btn:not(.ed-btn-primary):not(.ed-btn-icon):not([data-profil-bearbeiten]) {
  background: var(--graphit-blech) !important; border-color: transparent !important; box-shadow: var(--graphit-rand) !important;
  border-radius: 2px !important; clip-path: var(--blech); --ecke: 6px; text-decoration: none !important; color: var(--ink-1);
}
.ed-btn:not(.ed-btn-primary):not(.ed-btn-icon):not([data-profil-bearbeiten]):hover:not(:disabled) { background: var(--graphit-blech-hover) !important; color: var(--ink-1); }
.ed-btn:not(.ed-btn-primary):not(.ed-btn-icon):not([data-profil-bearbeiten]):focus-visible { outline: 2px solid var(--zeichen, var(--ink-1)) !important; outline-offset: -4px !important; }
.ed-btn:not(.ed-btn-primary):not(.ed-btn-icon):not([data-profil-bearbeiten]):disabled { opacity: .5; }
/* Links in Menüs und Fußzeilen: nur das Wort, der Strich erst beim Drüberfahren und bei Tastatur-Fokus
   (Navigation darf ohne Unterstrich auskommen; Links mitten im Fließtext behalten ihren Strich). */
.ed-menulink { text-decoration: none !important; }
.ed-menulink:hover, .ed-menulink:focus-visible { text-decoration: underline !important; text-underline-offset: 4px; color: var(--ink-1) !important; }
.ed-btn-icon, .profile-action-icon { border-color: transparent !important; background: transparent !important; }
.ed-btn-icon:hover, .profile-action-icon:hover { background: var(--paper-2) !important; }
[data-feed-aktionen] button, [data-like="aus"] { border-color: transparent !important; }
/* Knöpfe auf Chat-Fotos/-Mustern behalten ihre Plakette (11.11., Sonde: Wort ohne Fläche = 1,1:1 auf Foto) */
.ed-btn.chat-plakette-knopf:not(.ed-btn-primary):not(.ed-btn-icon):not([data-profil-bearbeiten]), .ed-btn.chat-plakette-knopf:not(.ed-btn-primary):not(.ed-btn-icon):not([data-profil-bearbeiten]):hover { background-color: var(--chat-plakette, var(--paper-elev)) !important; text-decoration: none; padding-left: 12px; padding-right: 12px; }
/* Ton-Kacheln im Chat-Design: eigene feste Linienfarbe je Ton — unabhängig von der Zeichenfarbe (sonst alle gleich) */
[data-chat-ton-linie] { color: var(--ink-3); }
[data-chat-ton-linie][data-ton="teal"] { color: #c9ccd1; } [data-chat-ton-linie][data-ton="blau"] { color: #5b9be0; }
[data-chat-ton-linie][data-ton="violett"] { color: #9678d8; } [data-chat-ton-linie][data-ton="rosa"] { color: #d673a6; }
[data-chat-ton-linie][data-ton="gruen"] { color: #6fae6a; } [data-chat-ton-linie][data-ton="koralle"] { color: #e2796a; }
html.theme-light [data-chat-ton-linie][data-ton="teal"] { color: #3a3c41; } html.theme-light [data-chat-ton-linie][data-ton="blau"] { color: #4382c5; }
html.theme-light [data-chat-ton-linie][data-ton="violett"] { color: #8d6fce; } html.theme-light [data-chat-ton-linie][data-ton="rosa"] { color: #c05f92; }
html.theme-light [data-chat-ton-linie][data-ton="gruen"] { color: #4f8d4b; } html.theme-light [data-chat-ton-linie][data-ton="koralle"] { color: #c86254; }

/* Mobile Tab-Leiste: Silberrand, aktiver Tab = Chrom-Kapsel */
.ed-glassbar {
  border: 1.5px solid rgba(201, 204, 209, .55) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
}
html.theme-light .ed-glassbar { border-color: rgba(58, 60, 65, .35) !important; }
.ed-tab-btn[aria-current="page"]::before {
  content: ""; position: absolute; z-index: -1; inset: -4px 5px -6px; border-radius: 999px;
  background: var(--chrom); box-shadow: var(--chrom-schatten);
}
.ed-tab-btn[aria-current="page"], .ed-tab-btn[aria-current="page"] [data-tab-label] { color: var(--chrom-text) !important; }
.ed-tab-btn[aria-current="page"] svg { color: var(--chrom-text) !important; }
.ed-tab-btn[aria-current="page"] > span:last-child { background: transparent !important; }

/* Desktop-Dock: aktive Kachel in Chrom, Leiste mit Silberrand */
.ed-sidebar.ed-dock { border: 1.5px solid rgba(201, 204, 209, .45) !important; }
html.theme-light .ed-sidebar.ed-dock { border-color: rgba(58, 60, 65, .30) !important; }
.ed-dock .ed-nav-item.active { background: var(--chrom) !important; border-color: var(--chrom-rand) !important; box-shadow: var(--chrom-schatten); color: var(--chrom-text) !important; }
.ed-dock .ed-nav-item.active .ed-nav-item-icon, .ed-dock .ed-nav-item.active[data-fa] .ed-nav-item-icon { color: var(--chrom-text) !important; }
.ed-dock .ed-nav-item.active::before { background: var(--ink-1) !important; }

/* 3D-Bühne: runde Knöpfe mit Silberring, Joystick-Ring in Chrom */
.z3d-rund { border: 1.5px solid rgba(201, 204, 209, .55); background: rgba(11, 11, 13, .72); color: var(--ink-1); }
html.theme-light .z3d-rund { border-color: rgba(58, 60, 65, .40); background: rgba(255, 255, 255, .85); color: var(--ink-1); }
.z3d-rund--an, .z3d-rund[aria-pressed="true"], .z3d-rund.aktiv {
  background: var(--chrom) !important; color: var(--chrom-text) !important; border-color: var(--chrom-rand) !important; box-shadow: var(--chrom-schatten);
}
.z3d-joy { border: 3px solid transparent !important; background:
  linear-gradient(rgba(11, 11, 13, .55), rgba(11, 11, 13, .55)) padding-box, var(--chrom-ring) border-box !important; }
.z3d-joy-knopf { background: #1b1c20; border: 1.5px solid rgba(201, 204, 209, .5); }

/* Logo-Bild (Vincents Chrom-Marke aus assets/hand/marke/logo.*) */
.strain-logo { display: block; height: 100%; width: auto; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .ed-btn-primary { transition: filter .15s ease; }
  .ed-btn-primary:active { filter: brightness(.92); }
}
/* Karten etwas heller graphit, damit sie auf Void Black stehen (10.11.). */
html:not(.theme-light) { --paper-card: #1a1b1f; --paper-elev: #1e1f23; --line-2: rgba(201, 204, 209, .18); }
/* Profilbild im eigenen Profil mit Chrom-Ring wie im Entwurf (statt Profilfarbe). */
[role="button"][aria-label="Avatar ändern"] {
  border: 3px solid transparent !important;
  background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box, var(--chrom-ring) border-box !important;
  box-shadow: 0 0 0 1px rgba(11, 11, 13, .6), 0 4px 14px rgba(0, 0, 0, .35);
}

/* ══ Teal raus (10.11., Vincent: „Teal kann weg“) ═══════════════════════════
   Der Funktions-Akzent (Links, Fokus, Schalter an, Live-Punkte, Daten-
   balken, Marken-Punkt) ist jetzt Silber auf Dunkel und Graphit auf Hell —
   die Palette aus Vincents Brand-Blatt kennt kein Teal. Gilt für den
   Standard-Akzent und den alten Wert „teal“; die übrigen Akzent-Themes
   bleiben wählbar. 0,2,1 schlägt html.theme-light[data-strain-accent="teal"]
   aus styles.css, diese Datei lädt danach. */
html:not(.theme-light):is(:not([data-strain-accent]), [data-strain-accent="teal"]) {
  --plum: #c9ccd1; --plum-deep: #8a8d93; --plum-tint: #eeedea;
  --plum-soft: rgba(201, 204, 209, .10); --plum-line: rgba(201, 204, 209, .30);
  --plum-rgb: 201, 204, 209;
}
html.theme-light:is(:not([data-strain-accent]), [data-strain-accent="teal"]) {
  --plum: #3a3c41; --plum-deep: #0b0b0d; --plum-tint: #54575d;
  --plum-soft: rgba(58, 60, 65, .07); --plum-line: rgba(58, 60, 65, .26);
  --plum-rgb: 58, 60, 65;
}
/* Bereichsfarbe „teal“ (Feed) wird Silber/Graphit, Chat-Blase + Ton ebenso */
html:not(.theme-light) { --fa-teal: #c9ccd1; }
html.theme-light { --fa-teal: #3a3c41; }
[data-chat-blase="teal"] { --chat-blase-bg: #3a3c41; --chat-blase-text: #ffffff; --chat-blase-leise: #d4d6da; }
[data-chat-hg-ton="teal"] { --chat-hg-ton: #16171a; }
html.theme-light [data-chat-hg-ton="teal"] { --chat-hg-ton: #ebecee; }

/* ── Zeichenfarbe (11.11., Vincent: „essenzielle Zeichen, die nicht Chrom sind
   und vorher bunt waren, mit einer einstellbaren kontrastreichen Farbe
   abrunden wie damals“ → abends: „Akzent- und Iconfarben anpassen, muss
   schon komplementär sein“): EINE Farbe fuer alle Monolines statt sieben
   Bereichsfarben. Standard ist „passend“ = die GEGENFARBE des Akzents
   (--zeichen): Farbton im OKLCH-Kreis genau gegenueber, alle Paare gleich
   hell (L 0,745 dunkel; hell gesenkt bis >= 3,35:1 auf jedem Papier — Linien,
   WCAG 1.4.11). Chrom (kuehles Silber, Farbton 261°) bekommt warmes Gold,
   Sunset Himmelblau, Sage Orchidee, Ocean Bernstein, Pink Mint, Plum Limette,
   Sand und Noir ihre ruhigen Gegenstuecke. Gerechnet, nicht geschaetzt
   (Scratchpad farben/paare.js); Drift-Paar: ACCENTS.comp in settings-live.jsx
   und #wand/#was-hier in experience/index.html. Einstellungen → Darstellung →
   Zeichenfarbe: Passend · feste Farben · „bunt“ = Bereichsfarben wie vorher.
   Gesetzt von farbe.jsx (data-strain-zeichen auf <html>, localStorage
   strain_zeichen); ohne Attribut (vor dem Bundle) gilt schon „passend“. */
html:not(.theme-light) { --zeichen: #d5a344; }
html.theme-light { --zeichen: #a47500; }
html[data-strain-accent="plum"]:not(.theme-light) { --zeichen: #adb545; }
html.theme-light[data-strain-accent="plum"] { --zeichen: #7e8500; }
html[data-strain-accent="noir"]:not(.theme-light) { --zeichen: #a8b37d; }
html.theme-light[data-strain-accent="noir"] { --zeichen: #788448; }
html[data-strain-accent="sand"]:not(.theme-light) { --zeichen: #8faedc; }
html.theme-light[data-strain-accent="sand"] { --zeichen: #5e80b1; }
html[data-strain-accent="sunset"]:not(.theme-light) { --zeichen: #3abbef; }
html.theme-light[data-strain-accent="sunset"] { --zeichen: #0289b5; }
html[data-strain-accent="sage"]:not(.theme-light) { --zeichen: #d394ca; }
html.theme-light[data-strain-accent="sage"] { --zeichen: #aa68a2; }
html[data-strain-accent="ocean"]:not(.theme-light) { --zeichen: #d6a066; }
html.theme-light[data-strain-accent="ocean"] { --zeichen: #ab722f; }
html[data-strain-accent="pink"]:not(.theme-light) { --zeichen: #2ac7a4; }
html.theme-light[data-strain-accent="pink"] { --zeichen: #0b8f74; }
html:is(:not([data-strain-zeichen]), [data-strain-zeichen="passend"]) { --fa-teal: var(--zeichen); --fa-koralle: var(--zeichen); --fa-bernstein: var(--zeichen); --fa-violett: var(--zeichen); --fa-blau: var(--zeichen); --fa-gruen: var(--zeichen); --fa-rosa: var(--zeichen); }
html[data-strain-zeichen="blau"]:not(.theme-light) { --fa-teal: #5b9be0; --fa-koralle: #5b9be0; --fa-bernstein: #5b9be0; --fa-violett: #5b9be0; --fa-blau: #5b9be0; --fa-gruen: #5b9be0; --fa-rosa: #5b9be0; }
html.theme-light[data-strain-zeichen="blau"] { --fa-teal: #4382c5; --fa-koralle: #4382c5; --fa-bernstein: #4382c5; --fa-violett: #4382c5; --fa-blau: #4382c5; --fa-gruen: #4382c5; --fa-rosa: #4382c5; }
html[data-strain-zeichen="violett"]:not(.theme-light) { --fa-teal: #9678d8; --fa-koralle: #9678d8; --fa-bernstein: #9678d8; --fa-violett: #9678d8; --fa-blau: #9678d8; --fa-gruen: #9678d8; --fa-rosa: #9678d8; }
html.theme-light[data-strain-zeichen="violett"] { --fa-teal: #8d6fce; --fa-koralle: #8d6fce; --fa-bernstein: #8d6fce; --fa-violett: #8d6fce; --fa-blau: #8d6fce; --fa-gruen: #8d6fce; --fa-rosa: #8d6fce; }
html[data-strain-zeichen="rosa"]:not(.theme-light) { --fa-teal: #d673a6; --fa-koralle: #d673a6; --fa-bernstein: #d673a6; --fa-violett: #d673a6; --fa-blau: #d673a6; --fa-gruen: #d673a6; --fa-rosa: #d673a6; }
html.theme-light[data-strain-zeichen="rosa"] { --fa-teal: #c05f92; --fa-koralle: #c05f92; --fa-bernstein: #c05f92; --fa-violett: #c05f92; --fa-blau: #c05f92; --fa-gruen: #c05f92; --fa-rosa: #c05f92; }
html[data-strain-zeichen="koralle"]:not(.theme-light) { --fa-teal: #e2796a; --fa-koralle: #e2796a; --fa-bernstein: #e2796a; --fa-violett: #e2796a; --fa-blau: #e2796a; --fa-gruen: #e2796a; --fa-rosa: #e2796a; }
html.theme-light[data-strain-zeichen="koralle"] { --fa-teal: #c86254; --fa-koralle: #c86254; --fa-bernstein: #c86254; --fa-violett: #c86254; --fa-blau: #c86254; --fa-gruen: #c86254; --fa-rosa: #c86254; }
html[data-strain-zeichen="bernstein"]:not(.theme-light) { --fa-teal: #d29a4a; --fa-koralle: #d29a4a; --fa-bernstein: #d29a4a; --fa-violett: #d29a4a; --fa-blau: #d29a4a; --fa-gruen: #d29a4a; --fa-rosa: #d29a4a; }
html.theme-light[data-strain-zeichen="bernstein"] { --fa-teal: #ab751f; --fa-koralle: #ab751f; --fa-bernstein: #ab751f; --fa-violett: #ab751f; --fa-blau: #ab751f; --fa-gruen: #ab751f; --fa-rosa: #ab751f; }
html[data-strain-zeichen="gruen"]:not(.theme-light) { --fa-teal: #6fae6a; --fa-koralle: #6fae6a; --fa-bernstein: #6fae6a; --fa-violett: #6fae6a; --fa-blau: #6fae6a; --fa-gruen: #6fae6a; --fa-rosa: #6fae6a; }
html.theme-light[data-strain-zeichen="gruen"] { --fa-teal: #4f8d4b; --fa-koralle: #4f8d4b; --fa-bernstein: #4f8d4b; --fa-violett: #4f8d4b; --fa-blau: #4f8d4b; --fa-gruen: #4f8d4b; --fa-rosa: #4f8d4b; }
html[data-strain-zeichen="chrom"]:not(.theme-light) { --fa-teal: #c9ccd1; --fa-koralle: #c9ccd1; --fa-bernstein: #c9ccd1; --fa-violett: #c9ccd1; --fa-blau: #c9ccd1; --fa-gruen: #c9ccd1; --fa-rosa: #c9ccd1; }
html.theme-light[data-strain-zeichen="chrom"] { --fa-teal: #3a3c41; --fa-koralle: #3a3c41; --fa-bernstein: #3a3c41; --fa-violett: #3a3c41; --fa-blau: #3a3c41; --fa-gruen: #3a3c41; --fa-rosa: #3a3c41; }

/* ══ Eigene Flächen je Bereich (11.11., Vincent: „Mittelweg zwischen einheitlichem
   Stil und abwechslungsreichem Design, das nicht nach KI aussieht“) ══
   Gleich bleiben Schrift, Farben, Abstände, Blech-Hauptknopf, Stern. Je Bereich
   EINE Fläche aus seiner eigenen Welt — höchstens eine je Bereich, nie je Screen.
   Sammlung = Etikett (eingezogene Ecken wie ein Apotheken-/Glasetikett),
   Events = Eintrittskarte (Abriss mit Kerben + Perforation). */
.ed-etikett {
  --k: 9px; --k1: var(--k); --k2: var(--k); --k3: var(--k); --k4: var(--k); --el: var(--line-3); --eg: var(--paper-2);
  border: 1px solid var(--el);
  border-radius: 0;
  background:
    radial-gradient(circle at 0 0, #0000 var(--k1), var(--el) var(--k1), var(--el) calc(var(--k1) + 1px), #0000 calc(var(--k1) + 1px)) top left / calc(var(--k) + 7px) calc(var(--k) + 7px) no-repeat border-box,
    radial-gradient(circle at 100% 0, #0000 var(--k2), var(--el) var(--k2), var(--el) calc(var(--k2) + 1px), #0000 calc(var(--k2) + 1px)) top right / calc(var(--k) + 7px) calc(var(--k) + 7px) no-repeat border-box,
    radial-gradient(circle at 0 100%, #0000 var(--k3), var(--el) var(--k3), var(--el) calc(var(--k3) + 1px), #0000 calc(var(--k3) + 1px)) bottom left / calc(var(--k) + 7px) calc(var(--k) + 7px) no-repeat border-box,
    radial-gradient(circle at 100% 100%, #0000 var(--k4), var(--el) var(--k4), var(--el) calc(var(--k4) + 1px), #0000 calc(var(--k4) + 1px)) bottom right / calc(var(--k) + 7px) calc(var(--k) + 7px) no-repeat border-box,
    var(--eg);
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--k1), #000 calc(var(--k1) + .5px)) top left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--k2), #000 calc(var(--k2) + .5px)) top right / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--k3), #000 calc(var(--k3) + .5px)) bottom left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--k4), #000 calc(var(--k4) + .5px)) bottom right / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, #0000 var(--k1), #000 calc(var(--k1) + .5px)) top left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--k2), #000 calc(var(--k2) + .5px)) top right / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--k3), #000 calc(var(--k3) + .5px)) bottom left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--k4), #000 calc(var(--k4) + .5px)) bottom right / 51% 51% no-repeat;
}
.ed-etikett:hover, .ed-etikett:focus-within { --el: var(--plum); }
.ed-etikett--klein { --k: 5px; }
/* Das Bild sitzt wie das Glas hinter dem Etikett: eingerückt, nicht randlos. */
.ed-etikett .ed-etikett-glas { margin: 7px 7px 0; border-radius: 2px; }

.ed-ticket {
  --stub: 96px; --kerbe: 9px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  background: var(--paper-card);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  -webkit-mask:
    radial-gradient(circle var(--kerbe) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--kerbe) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--kerbe) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  cursor: pointer;
}
.ed-ticket:hover { border-color: var(--plum); }
.ed-ticket-abriss {
  border-left: 1px dashed var(--line-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 16px 8px; text-align: center;
}
@media (max-width: 520px) { .ed-ticket { --stub: 82px; } }

/* Zerlaufende Plaketten (11.11. nachts, Vincent: „mehrere saubere zerlaufende
   Pillen … sorgt für Abwechslung“ → „sehen noch nicht clean aus“): NUR für
   kleine Status-Plaketten (Live, eigene Zusage, neu) — nie für Bedienung.
   Pille und Tropfen sind EINE Form: die Form-Ebene (.ed-tropfen-form::before)
   ist eine Masken-Vereinigung aus zwei Halbkreisen, dem Mittelstück und bis zu
   drei Tropfen; jeder Tropfen setzt mit waagrechter Tangente an der Unterkante
   an (Hohlkehle, keine Naht) und endet in einem runden Kopf. Ein Verlauf trägt
   Pille und Tropfen, das Glanzlicht am Kopf liegt an derselben Stelle wie die
   Maske. Kontur + Schatten als drop-shadow auf der Form-Ebene, nicht am Text.
   Fünf Formen: --xN Lage, --sN Größe (0 = kein Tropfen); StrainTeile.tropfenArt
   wählt fest je Text. */
.ed-tropfen {
  --pille: 22px;
  --tropfen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M0 0H14V3C10.2 3 9 4.6 9 7.2V9.6C9 10.9 10.6 11.8 10.6 14A3.6 3.6 0 0 1 3.4 14C3.4 11.8 5 10.9 5 9.6V7.2C5 4.6 3.8 3 0 3Z'/%3E%3C/svg%3E");
  --glanz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cellipse cx='5.5' cy='12.9' rx='1.1' ry='1.5' fill='%23fff' fill-opacity='.9'/%3E%3C/svg%3E");
  --x1: 26%; --s1: .82; --x2: 50%; --s2: 0; --x3: 50%; --s3: 0;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 5px;
  height: var(--pille); padding: 0 10px; border: none; background: none;
  color: var(--chrom-text); font-size: calc(13px * var(--ts, 1)); font-weight: 600; line-height: 1; white-space: nowrap;
  margin-bottom: 15px;
}
.ed-tropfen[data-tropfen="2"] { --x1: 70%; --s1: 1; --x2: 30%; --s2: .55; }
.ed-tropfen[data-tropfen="3"] { --x1: 22%; --s1: .6; --x2: 54%; --s2: .9; --x3: 82%; --s3: .48; }
.ed-tropfen[data-tropfen="4"] { --x1: 84%; --s1: .8; }
.ed-tropfen[data-tropfen="5"] { --x1: 36%; --s1: 1; --x2: 64%; --s2: .62; }
.ed-tropfen .ed-tropfen-form {
  position: absolute; inset: 0 0 calc(var(--pille) * -.7) 0; z-index: -1; pointer-events: none;
  filter: drop-shadow(0 0 .5px rgba(0, 0, 0, .9)) drop-shadow(0 2px 3px rgba(0, 0, 0, .45));
}
html.theme-light .ed-tropfen .ed-tropfen-form {
  filter: drop-shadow(0 0 .5px rgba(58, 60, 65, .85)) drop-shadow(0 1px 1.5px rgba(11, 11, 13, .2));
}
.ed-tropfen .ed-tropfen-form::before {
  content: ""; position: absolute; inset: 0;
  --t1: calc(var(--pille) - 3px * var(--s1)); --t2: calc(var(--pille) - 3px * var(--s2)); --t3: calc(var(--pille) - 3px * var(--s3));
  --g1: calc(14px * var(--s1)) calc(18px * var(--s1)); --g2: calc(14px * var(--s2)) calc(18px * var(--s2)); --g3: calc(14px * var(--s3)) calc(18px * var(--s3));
  background:
    var(--glanz) var(--x1) var(--t1) / var(--g1) no-repeat,
    var(--glanz) var(--x2) var(--t2) / var(--g2) no-repeat,
    var(--glanz) var(--x3) var(--t3) / var(--g3) no-repeat,
    var(--chrom-flaeche) 0 0 / 100% var(--pille) no-repeat,
    linear-gradient(180deg, #f4f5f7 var(--pille), #d4d7db calc(var(--pille) + 3px), #8a8d93 calc(var(--pille) + 8px), #5c5f65 calc(var(--pille) + 11px), #c9ccd1 100%);
  -webkit-mask:
    radial-gradient(circle at calc(var(--pille) / 2) 50%, #000 calc(var(--pille) / 2 - .4px), #0000 calc(var(--pille) / 2 + .1px)) 0 0 / var(--pille) var(--pille) no-repeat,
    radial-gradient(circle at calc(var(--pille) / 2) 50%, #000 calc(var(--pille) / 2 - .4px), #0000 calc(var(--pille) / 2 + .1px)) 100% 0 / var(--pille) var(--pille) no-repeat,
    linear-gradient(#000 0 0) calc(var(--pille) / 2) 0 / calc(100% - var(--pille)) var(--pille) no-repeat,
    var(--tropfen) var(--x1) var(--t1) / var(--g1) no-repeat,
    var(--tropfen) var(--x2) var(--t2) / var(--g2) no-repeat,
    var(--tropfen) var(--x3) var(--t3) / var(--g3) no-repeat;
  mask:
    radial-gradient(circle at calc(var(--pille) / 2) 50%, #000 calc(var(--pille) / 2 - .4px), #0000 calc(var(--pille) / 2 + .1px)) 0 0 / var(--pille) var(--pille) no-repeat,
    radial-gradient(circle at calc(var(--pille) / 2) 50%, #000 calc(var(--pille) / 2 - .4px), #0000 calc(var(--pille) / 2 + .1px)) 100% 0 / var(--pille) var(--pille) no-repeat,
    linear-gradient(#000 0 0) calc(var(--pille) / 2) 0 / calc(100% - var(--pille)) var(--pille) no-repeat,
    var(--tropfen) var(--x1) var(--t1) / var(--g1) no-repeat,
    var(--tropfen) var(--x2) var(--t2) / var(--g2) no-repeat,
    var(--tropfen) var(--x3) var(--t3) / var(--g3) no-repeat;
}
.ed-tropfen .ed-tropfen-punkt { width: 6px; height: 6px; border-radius: 999px; background: var(--chrom-text); animation: ed-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ed-tropfen .ed-tropfen-punkt { animation: none; } }

/* Fünf Varianten je Form (11.11. nachts, Vincent: „Mach immer gleich 4–5
   Variationen eines Types Pillendesign“). data-v (1–5) setzt teile.jsx fest
   nach dem Text des Elements — derselbe Knopf sieht immer gleich aus, zwei
   Nachbarn selten. Ohne data-v gilt Variante 1. Regel ab jetzt: jede neue
   Form kommt mit vier bis fünf Varianten. */
/* Blech: welche Ecken geschnitten sind */
[data-v="2"].ed-btn-primary, [data-v="2"].ed-btn:not(.ed-btn-icon), [data-v="2"][data-profil-bearbeiten], [data-v="2"][data-subtab-aktiv], .ed-tab.active[data-v="2"], button[aria-pressed="true"][data-v="2"] {
  clip-path: polygon(var(--ecke) 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%, 0 var(--ecke)) !important; }
[data-v="3"].ed-btn-primary, [data-v="3"].ed-btn:not(.ed-btn-icon), [data-v="3"][data-profil-bearbeiten], [data-v="3"][data-subtab-aktiv], .ed-tab.active[data-v="3"], button[aria-pressed="true"][data-v="3"] {
  clip-path: polygon(5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px) !important; }
[data-v="4"].ed-btn-primary, [data-v="4"].ed-btn:not(.ed-btn-icon), [data-v="4"][data-profil-bearbeiten], [data-v="4"][data-subtab-aktiv], .ed-tab.active[data-v="4"], button[aria-pressed="true"][data-v="4"] {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%) !important; }
[data-v="5"].ed-btn-primary, [data-v="5"].ed-btn:not(.ed-btn-icon), [data-v="5"][data-profil-bearbeiten], [data-v="5"][data-subtab-aktiv], .ed-tab.active[data-v="5"], button[aria-pressed="true"][data-v="5"] {
  clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%) !important; }
/* Blech in einer Reihe (12.11.): Lage statt Text — die Reihe spiegelt sich um ihre Mitte */
[data-v="l"].ed-btn-primary, [data-v="l"].ed-btn:not(.ed-btn-icon), [data-v="l"][data-profil-bearbeiten], [data-v="l"][data-subtab-aktiv], .ed-tab.active[data-v="l"], button[aria-pressed="true"][data-v="l"] {
  clip-path: polygon(var(--ecke) 0, 100% 0, 100% 100%, var(--ecke) 100%, 0 calc(100% - var(--ecke)), 0 var(--ecke)) !important; }
[data-v="r"].ed-btn-primary, [data-v="r"].ed-btn:not(.ed-btn-icon), [data-v="r"][data-profil-bearbeiten], [data-v="r"][data-subtab-aktiv], .ed-tab.active[data-v="r"], button[aria-pressed="true"][data-v="r"] {
  clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%) !important; }
[data-v="m"].ed-btn-primary, [data-v="m"].ed-btn:not(.ed-btn-icon), [data-v="m"][data-profil-bearbeiten], [data-v="m"][data-subtab-aktiv], .ed-tab.active[data-v="m"], button[aria-pressed="true"][data-v="m"] {
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px) !important; }
/* Alleinstehendes Blech (12.11., Vincent: „bei alleinstehenden Knöpfen bitte nur vertikal symmetrisch
   oder symmetrisch gespiegelte Pillen“): links und rechts gleich — o = beide oberen Ecken, u = beide
   unteren, g = alle vier groß (m und 3 stehen oben). teile.jsx wählt für Knöpfe ohne Reihe nur diese. */
[data-v="o"].ed-btn-primary, [data-v="o"].ed-btn:not(.ed-btn-icon), [data-v="o"][data-profil-bearbeiten], [data-v="o"][data-subtab-aktiv], .ed-tab.active[data-v="o"], button[aria-pressed="true"][data-v="o"] {
  clip-path: polygon(var(--ecke) 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, 0 100%, 0 var(--ecke)) !important; }
[data-v="u"].ed-btn-primary, [data-v="u"].ed-btn:not(.ed-btn-icon), [data-v="u"][data-profil-bearbeiten], [data-v="u"][data-subtab-aktiv], .ed-tab.active[data-v="u"], button[aria-pressed="true"][data-v="u"] {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, var(--ecke) 100%, 0 calc(100% - var(--ecke))) !important; }
[data-v="g"].ed-btn-primary, [data-v="g"].ed-btn:not(.ed-btn-icon), [data-v="g"][data-profil-bearbeiten], [data-v="g"][data-subtab-aktiv], .ed-tab.active[data-v="g"], button[aria-pressed="true"][data-v="g"] {
  clip-path: polygon(var(--ecke) 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, var(--ecke) 100%, 0 calc(100% - var(--ecke)), 0 var(--ecke)) !important; }
/* Etikett: Ecken */
.ed-etikett[data-v="2"] { --k3: 0px; --k4: 0px; }
.ed-etikett[data-v="3"] { --k: 14px; }
.ed-etikett[data-v="4"] { --k1: 13px; --k4: 13px; --k2: 4px; --k3: 4px; }
.ed-etikett[data-v="5"] { --k1: 0px; --k4: 0px; --k2: 11px; --k3: 11px; }
.ed-etikett--klein[data-v="3"] { --k: 7px; }
.ed-etikett--klein[data-v="4"] { --k1: 7px; --k4: 7px; --k2: 2px; --k3: 2px; }
.ed-etikett--klein[data-v="5"] { --k2: 6px; --k3: 6px; }
/* Eintrittskarte: Kerben und Abriss */
.ed-ticket[data-v="2"] { --kerbe: 13px; }
.ed-ticket[data-v="3"] { -webkit-mask: none; mask: none;
  clip-path: polygon(0 0, calc(100% - var(--stub) - 9px) 0, calc(100% - var(--stub)) 9px, calc(100% - var(--stub) + 9px) 0, 100% 0, 100% 100%, calc(100% - var(--stub) + 9px) 100%, calc(100% - var(--stub)) calc(100% - 9px), calc(100% - var(--stub) - 9px) 100%, 0 100%); }
.ed-ticket[data-v="4"] {
  -webkit-mask: radial-gradient(circle 10px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.ed-ticket[data-v="5"] .ed-ticket-abriss { border-left: none;
  background: radial-gradient(circle 1.6px, var(--line-3) 95%, #0000) left top / 3.2px 8px repeat-y; }
/* Auf hellem Papier verschwänden Kerben und Etikett-Ecken im gleichen Weiß: dort tragen beide eine leichte Tönung. */
html.theme-light .ed-ticket { background: var(--paper-1); }
html.theme-light .ed-etikett { --eg: var(--paper-1); }

/* Benachrichtigungen = Chrom-Blitz (11.11., Vincent: „Logische Folge Blitz als
   Benachrichtigungs-Icon … soll auch einen silbernen Ring haben“): Vincents
   Blitz aus dem Marken-Blatt (assets/marke/blitz.webp) in einem Silberring;
   am Desktop rechts neben dem Profilbild, mobil oben rechts. */
.ed-blitz-knopf { position: relative; width: 38px !important; height: 38px !important; padding: 0 !important; border-radius: 999px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  border: none !important; background: transparent !important; box-shadow: none !important; cursor: pointer; }
.ed-blitz-knopf:hover { background: transparent !important; transform: none !important; }
.ed-blitz-knopf:hover .ed-blitz { transform: scale(1.08); }
.ed-blitz-knopf:focus-visible { outline: 2px solid var(--ink-1); outline-offset: 2px; }
/* Silberring ums Profilbild im Desktop-Kopf (11.11., Vincent: „der silberne
   Ring nur ums Profilbild bitte“). Eine Farbe darf in mehrteiligen
   Hintergründen nur unten liegen — darum der Verlauf aus einer Farbe. */
.ed-profil-ring { width: 38px !important; height: 38px !important; padding: 0 !important; border-radius: 999px !important;
  border: 2px solid transparent !important; overflow: hidden;
  background: linear-gradient(var(--paper-0), var(--paper-0)) padding-box, var(--chrom) border-box !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.35); }
html.theme-light .ed-profil-ring { box-shadow: 0 0 0 .5px rgba(58,60,65,.55), 0 1px 2px rgba(11,11,13,.18); }
.ed-profil-ring:hover { transform: none !important; }
.ed-blitz { display: block; height: 30px; width: auto; margin-top: 3px; transition: transform 160ms ease; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
html.theme-light .ed-blitz { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }

/* Kommentare = Chrom-Sprechblase mit schwarzer Zahl (11.11., Vincent: „wenn es
   Kommentare gibt Chromenachrichtenblase mit schwarzer Anzahl darin“). Die
   Zahl sitzt im Bauch der Blase (oberhalb von Spitze und Tropfen), ein heller
   Saum hält sie auf dem dunkleren Chrom lesbar. */
.ed-chrom-blase { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 18% 6%; box-sizing: border-box;
  width: 27px; height: 24px; background: url("/assets/marke/blase.webp?v=1") center / contain no-repeat;
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
html.theme-light .ed-chrom-blase { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }
.ed-chrom-blase--gross { width: 30px; height: 27px; }
.ed-chrom-blase-zahl { font-family: var(--font-body); font-size: calc(13px * var(--ts, 1)); font-weight: 800; line-height: 1;
  color: #0b0b0d; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  text-shadow: 0 0 1px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.5); }
.ed-chrom-blase-zahl:not(:empty) { min-width: 0; }
.ed-chrom-blase[data-feed-kommentar-blase] .ed-chrom-blase-zahl { font-size: calc(13px * var(--ts, 1)); }
.ed-chrom-blase--gross .ed-chrom-blase-zahl { font-size: calc(13px * var(--ts, 1)); }

/* Posten = Chrom-Plus (11.11., Vincent: „für die Handyapp brauchts ein
   Chromeplus zum posten“): aufgeblasen wie die Körper der Landing (ballonGeo
   + chromMaterial, Plus mit Hohlkehlen und vier Tropfen), Familie zu Herz,
   Blitz und Sprechblase. */
.ed-chrom-plus { display: block; height: 30px; width: auto; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); transition: transform 160ms ease; }
html.theme-light .ed-chrom-plus { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }
.ed-chrom-plus-knopf:active .ed-chrom-plus { transform: scale(.9); }
@media (prefers-reduced-motion: reduce) { .ed-chrom-plus { transition: none; } }
/* ══ Bild-Wahl (11.11., Vincent: „die Kacheln nebeneinander sind auch klassisch KI-Look“) ══
   Statt gleich großer Kästchen im Raster: Zeichnungen stehen frei in einer Reihe,
   jede so breit wie ihr Wort. Gewählt = Tinte 600 + Chrom-Stern vor dem Wort,
   die übrigen leiser. Kein Rahmen, keine Fläche, kein Radius. */
.ed-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); align-items: start; justify-items: center; gap: 14px 4px; }
.ed-wahl--dicht { row-gap: 12px; }
.ed-wahl-ding {
  display: inline-grid; justify-items: center; align-content: start; gap: 5px;
  min-width: 0; max-width: 100%; padding: 4px 2px 2px; margin: 0;
  background: none; border: none; border-radius: 0; box-shadow: none;
  color: var(--ink-2); font: inherit; cursor: pointer;
  transition: opacity 140ms ease, transform 140ms ease;
}
.ed-wahl-ding:active { transform: scale(.95); }
.ed-wahl-bild { display: block; opacity: .62; transition: opacity 140ms ease, transform 160ms cubic-bezier(.22, .61, .36, 1); }
.ed-wahl-ding:hover .ed-wahl-bild { opacity: .9; }
.ed-wahl-wort {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  font-size: calc(13px * var(--ts, 1)); line-height: 1.25; text-align: center; color: var(--ink-2);
  overflow-wrap: anywhere; hyphens: auto;
}
.ed-wahl-unter { font-size: calc(13px * var(--ts, 1)); line-height: 1.2; color: var(--ink-3); white-space: nowrap; }
.ed-wahl-ding--an .ed-wahl-bild { opacity: 1; transform: translateY(-2px) scale(1.06); }
.ed-wahl-ding--an .ed-wahl-wort { color: var(--ink-1); font-weight: 600; }
.ed-wahl-ding--an .ed-wahl-wort::before {
  content: ""; flex: none; width: 13px; height: 13px;
  background: url("/assets/marke/stern.webp") center / contain no-repeat;
}
html.theme-light .ed-wahl-ding--an .ed-wahl-wort::before { filter: drop-shadow(0 0 .5px rgba(11, 11, 13, .9)); }
.ed-wahl-ding--zu { cursor: default; }
.ed-wahl-ding--zu .ed-wahl-bild { opacity: .28; }
.ed-wahl-ding--zu .ed-wahl-wort { color: var(--ink-3); }
.ed-wahl-ding:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.ed-wahl-ding:disabled, .ed-wahl-ding[disabled] { cursor: default; }
@media (prefers-reduced-motion: reduce) { .ed-wahl-ding, .ed-wahl-bild { transition: none; } .ed-wahl-ding--an .ed-wahl-bild { transform: none; } }

/* ══ Tagebuch = Kalenderblatt (11.11.) ══
   Jeder Tag ist ein Blatt vom Abreißkalender: oben das Bindeband, darunter die
   große Tageszahl; aufgeklappt stehen die Einträge IM Blatt (Haarlinie statt
   eigener Karte). Fünf Varianten fest je Datum (data-v, data-v-fest):
   1 zwei Lochungen · 2 Spiralbindung · 3 abgerissene Kante · 4 Aufhänger + Eselsohr
   · 5 Perforation mit Kerben. Eine Form, eine Maske, kein Schatten. */
.ed-blatt {
  --band: 13px; --loch: 3.4px;
  --blatt-band: color-mix(in srgb, var(--ink-1) 8%, var(--paper-card));
  position: relative; padding-top: var(--band);
  background: linear-gradient(var(--blatt-band), var(--blatt-band)) top / 100% var(--band) no-repeat, var(--paper-card);
  border: 1px solid var(--line-2); border-radius: 0;
  -webkit-mask:
    radial-gradient(circle var(--loch) at 24% calc(var(--band) / 2), #0000 96%, #000),
    radial-gradient(circle var(--loch) at 76% calc(var(--band) / 2), #0000 96%, #000);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--loch) at 24% calc(var(--band) / 2), #0000 96%, #000),
    radial-gradient(circle var(--loch) at 76% calc(var(--band) / 2), #0000 96%, #000);
  mask-composite: intersect;
}
.ed-blatt:has(> button:hover), .ed-blatt:focus-within { border-color: var(--line-3); }
.ed-blatt[data-v="2"] {
  -webkit-mask: radial-gradient(circle 2.6px at 9px calc(var(--band) / 2), #0000 96%, #000) 0 0 / 18px 100% repeat-x;
  mask: radial-gradient(circle 2.6px at 9px calc(var(--band) / 2), #0000 96%, #000) 0 0 / 18px 100% repeat-x;
}
.ed-blatt[data-v="3"] {
  --band: 7px; border-top: none;
  background: var(--paper-card);
  -webkit-mask:
    linear-gradient(#000 0 0) 0 6px / 100% calc(100% - 6px) no-repeat,
    conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / 12px 6px repeat-x;
  mask:
    linear-gradient(#000 0 0) 0 6px / 100% calc(100% - 6px) no-repeat,
    conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / 12px 6px repeat-x;
}
.ed-blatt[data-v="4"] {
  --ohr: 16px;
  background:
    linear-gradient(to top left, #0000 50%, var(--line-3) 50%, var(--line-3) calc(50% + 1px), var(--blatt-band) calc(50% + 1px)) bottom right / var(--ohr) var(--ohr) no-repeat,
    linear-gradient(var(--blatt-band), var(--blatt-band)) top / 100% var(--band) no-repeat, var(--paper-card);
  -webkit-mask: radial-gradient(circle 4px at 50% calc(var(--band) / 2), #0000 96%, #000);
  mask: radial-gradient(circle 4px at 50% calc(var(--band) / 2), #0000 96%, #000);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ohr)), calc(100% - var(--ohr)) 100%, 0 100%);
}
.ed-blatt[data-v="5"] {
  background:
    radial-gradient(circle 1.2px, var(--line-3) 92%, #0000) 0 var(--band) / 6px 2.4px repeat-x,
    linear-gradient(var(--blatt-band), var(--blatt-band)) top / 100% var(--band) no-repeat, var(--paper-card);
  -webkit-mask:
    radial-gradient(circle 5px at 0 var(--band), #0000 96%, #000),
    radial-gradient(circle 5px at 100% var(--band), #0000 96%, #000);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 5px at 0 var(--band), #0000 96%, #000),
    radial-gradient(circle 5px at 100% var(--band), #0000 96%, #000);
  mask-composite: intersect;
}
html.theme-light .ed-blatt { --blatt-band: color-mix(in srgb, var(--ink-1) 7%, var(--paper-1)); background-color: var(--paper-1); }
.ed-blatt-kopf {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px 12px 14px;
  background: none; border: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink-1);
}
.ed-blatt-kopf:focus-visible { outline: 2px solid var(--plum); outline-offset: -4px; }
.ed-blatt-zahl {
  flex: none; min-width: 2ch; text-align: right; font-family: var(--font-display); font-weight: 500;
  font-size: 34px; line-height: .95; letter-spacing: -.02em; color: var(--ink-1); font-variant-numeric: tabular-nums;
}
.ed-blatt-tag { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ed-blatt-tag b { font-weight: 500; font-size: calc(15.5px * var(--ts, 1)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-blatt-tag span { font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); white-space: nowrap; }
.ed-blatt-heute .ed-blatt-zahl { font-weight: 650; }
.ed-blatt-eintraege { border-top: 1px dashed var(--line-3); margin: 0 14px; }
@media (max-width: 520px) { .ed-blatt-zahl { font-size: 30px; } .ed-blatt-kopf { gap: 12px; padding: 9px 12px 11px; } .ed-blatt-eintraege { margin: 0 12px; } }

/* Teilen = Chrom-Pfeil (11.11., Vincent: „Unsauber, zurückpfeil bitte auch chrome“) — gleiche Höhe wie Herz und Blase */
.ed-chrom-pfeil { display: block; height: 24px; width: auto; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
.ed-chrom-pfeil--gross { height: 27px; }
html.theme-light .ed-chrom-pfeil { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }
/* Zurück = Chrom-Pfeil (11.11.) */
.ed-chrom-zurueck { display: block; height: 20px; width: auto; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
html.theme-light .ed-chrom-zurueck { filter: drop-shadow(0 0 .5px rgba(58,60,65,.85)) drop-shadow(0 1px 1px rgba(11,11,13,.18)); }
.ed-chrom-zurueck-knopf:active .ed-chrom-zurueck { transform: translateX(-2px) scale(.94); }
/* Chrom-Zeichen im Ruhezustand (nicht gelikt, keine Kommentare): gedämpft, nicht ersetzt */
.ed-chrom-aus { opacity: .55; filter: grayscale(1) brightness(.85) !important; transition: opacity 160ms ease; }
html.theme-light .ed-chrom-aus { opacity: .5; filter: grayscale(1) contrast(.9) !important; }
button:hover > span > .ed-chrom-aus, button:hover > .ed-chrom-aus { opacity: .7; }

/* ── Strainland = Schild (11.11. spät, Ziel Nummer eins: Form aus der Welt des Bereichs) ──
   Ortskarten im Viertel (Marktplatz, Strainhub) sind Emailleschilder: Innenrahmen als
   Linie, Schrauben in den Ecken. EINE Fläche, Rahmen und Schrauben sind Hintergrund und
   inset-Linie derselben Ebene (keine angeklebten Teile). Fünf Varianten über data-v
   (teile.jsx, FNV nach Text): 1 zwei Schrauben oben · 2 vier Schrauben · 3 Doppelrahmen ·
   4 Aufhänger mit zwei Haken · 5 Banner (Rahmen nur oben und unten, Schrauben seitlich). */
.ed-schild {
  --sg: var(--paper-card); --sl: var(--line-3); --sr: var(--ink-3);
  --s1: var(--sr); --s2: var(--sr); --s3: #0000; --s4: #0000; --sy: 0;
  --rahmen: inset 0 0 0 8px var(--sg), inset 0 0 0 9px var(--sl);
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--sg);
  box-shadow: var(--rahmen);
  padding: 16px 18px !important;
}
/* Schrauben liegen ÜBER dem inset-Rahmen (der malt sonst über jeden Hintergrund). */
.ed-schild::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(circle, var(--s1) 0 1.9px, #0000 2.5px) 0 var(--sy) / 8px 8px no-repeat,
    radial-gradient(circle, var(--s2) 0 1.9px, #0000 2.5px) 100% var(--sy) / 8px 8px no-repeat,
    radial-gradient(circle, var(--s3) 0 1.9px, #0000 2.5px) 0 100% / 8px 8px no-repeat,
    radial-gradient(circle, var(--s4) 0 1.9px, #0000 2.5px) 100% 100% / 8px 8px no-repeat; }
.ed-schild:hover, .ed-schild:focus-within { --sl: var(--plum); }
.ed-schild[data-v="2"] { --s3: var(--sr); --s4: var(--sr); }
.ed-schild[data-v="3"] { --s1: #0000; --s2: #0000;
  --rahmen: inset 0 0 0 6px var(--sg), inset 0 0 0 7px var(--sl), inset 0 0 0 10px var(--sg), inset 0 0 0 11px var(--sl); padding: 18px 20px !important; }
.ed-schild[data-v="4"]::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; pointer-events: none;
  background:
    linear-gradient(var(--sl), var(--sl)) 22% 0 / 1px 100% no-repeat,
    linear-gradient(var(--sl), var(--sl)) 78% 0 / 1px 100% no-repeat; }
.ed-schild[data-v="5"] { --sy: 50%;
  --rahmen: inset 0 8px 0 var(--sg), inset 0 9px 0 var(--sl), inset 0 -8px 0 var(--sg), inset 0 -9px 0 var(--sl); }
html.theme-light .ed-schild { --sg: var(--paper-1); }

/* ── Wegweiser (12.11., Vincent: „Antislop wie 3er Kacheln“) ─────────────
   Drei Wege als Bretter an EINEM Mast statt drei gleicher Kästchen. Jedes Brett
   ist EINE Form (clip-path) mit Kontur auf derselben Ebene (Außenfläche =
   Linie, ::before 1 px eingerückt = Papier); ein Nagel sitzt auf dem Mast.
   Fünf Varianten (data-v aus teile.jsx): Richtung und Neigung je Brett,
   Schwalbenschwanz (4), Kugel auf dem Mast (5). */
.ed-wegweiser { --mast: color-mix(in srgb, var(--ink-3) 70%, transparent); --brett-l: var(--line-3); --brett-g: var(--paper-card);
  position: relative; display: grid; gap: 8px; padding: 10px 0 16px; width: 100%; max-width: 440px; min-width: 300px; }
.ed-wegweiser::before { content: ""; position: absolute; left: 50%; top: 2px; bottom: 0; width: 6px; margin-left: -3px;
  background: var(--mast); border-radius: 3px 3px 0 0; }
.ed-wegweiser[data-v="5"]::after { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--mast); }
.ed-wegweiser-brett { --t: 0deg; --spitze: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  position: relative; z-index: 1; justify-self: start; margin-left: calc(50% - 14px); width: calc(50% + 14px); max-width: 260px;
  min-width: max-content; min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 6px 30px 6px 26px; border: 0; cursor: pointer;
  background: var(--brett-l); color: var(--ink-1); font-family: inherit; text-align: left;
  clip-path: var(--spitze); transform: rotate(var(--t)); transform-origin: 14px 50%; transition: background .15s ease; }
.ed-wegweiser-brett::before { content: ""; position: absolute; inset: 1px; background: var(--brett-g); clip-path: var(--spitze); z-index: -1; }
.ed-wegweiser-brett::after { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--mast); }
.ed-wegweiser-brett > * { position: relative; }
.ed-wegweiser-brett[data-richtung="links"] { --spitze: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  justify-self: end; margin-left: 0; margin-right: calc(50% - 14px); padding: 6px 26px 6px 30px; transform-origin: calc(100% - 14px) 50%; }
.ed-wegweiser-brett[data-richtung="links"]::after { left: auto; right: 11px; }
.ed-wegweiser-brett:hover, .ed-wegweiser-brett:focus-visible { --brett-l: var(--ink-2); outline: none; }
.ed-wegweiser-brett:focus-visible { --brett-l: var(--plum); }
.ed-wegweiser-brett-wort { font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.2; white-space: nowrap; }
.ed-wegweiser-brett-bild { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; }
/* Varianten: Neigung je Brett (Richtung setzt das JSX aus derselben Variante) */
.ed-wegweiser[data-v="1"] > :nth-child(2) { --t: -2deg; } .ed-wegweiser[data-v="1"] > :nth-child(3) { --t: 1.5deg; }
.ed-wegweiser[data-v="2"] > :nth-child(1) { --t: 2deg; }  .ed-wegweiser[data-v="2"] > :nth-child(3) { --t: -1.5deg; }
.ed-wegweiser[data-v="3"] > :nth-child(1) { --t: -1.5deg; } .ed-wegweiser[data-v="3"] > :nth-child(2) { --t: 1deg; }
.ed-wegweiser[data-v="4"] > * { --t: 0deg; }
.ed-wegweiser[data-v="4"] > [data-richtung="rechts"] { --spitze: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 9px 50%); }
.ed-wegweiser[data-v="4"] > [data-richtung="links"] { --spitze: polygon(18px 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 18px 100%, 0 50%); }
.ed-wegweiser[data-v="5"] > :nth-child(2) { --t: 1.5deg; } .ed-wegweiser[data-v="5"] > :nth-child(3) { --t: -1deg; }
@media (prefers-reduced-motion: reduce) { .ed-wegweiser-brett { transition: none; } }

/* Zerlaufen ohne Chrom (12.11., Vincent: „den zerlaufenen Style kann man auch
   ohne Chrome anderweitig implementieren, so habe ich mehr Abwechslung, aber
   meinen Style“): dieselbe Masken-Form, andere Materialien. data-material am
   .ed-tropfen: tinte (nasse Tinte, Papier-Schrift) · kreide (Papier mit
   Haarlinie) · zeichen (die Zeichenfarbe — Gegenfarbe des Akzents). Kein
   Glanzlicht, kein Verlauf: das ist Chrom vorbehalten. */
.ed-tropfen[data-material] { --tm: var(--ink-1); color: var(--paper-0); }
.ed-tropfen[data-material] .ed-tropfen-form::before { background: var(--tm); }
.ed-tropfen[data-material] .ed-tropfen-form { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .25)); }
.ed-tropfen[data-material="kreide"] { --tm: var(--paper-card); color: var(--ink-1); }
.ed-tropfen[data-material="kreide"] .ed-tropfen-form { filter: drop-shadow(0 0 .6px var(--ink-3)) drop-shadow(0 0 .4px var(--ink-3)); }
.ed-tropfen[data-material="zeichen"] { --tm: var(--zeichen, var(--plum)); color: #0b0b0d; }
.ed-tropfen[data-material] .ed-tropfen-punkt { background: currentColor; }

/* ── Messleiste statt Kennzahl-Kacheln (12.11., Antislop Runde 2) ─────────
   Zahlen stehen auf EINER Grundlinie wie auf einem Lineal: Wert groß, Wort
   darunter, zwischen den Werten eine Haarlinie, unter der Reihe die Teilung
   (Striche). Keine Kästchen, kein Hintergrund. Fünf Varianten (data-v):
   Teilung fein · grob · mit Halbstrichen · oben statt unten · eng (keine Doppellinie — Vincent 12.11.). */
.ed-zahlen { --tk: var(--line-3); position: relative; display: flex; flex-wrap: wrap; row-gap: 14px; margin: 0 0 24px; padding: 0 0 14px; }
.ed-zahlen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
  border-top: 1px solid var(--tk);
  background: repeating-linear-gradient(90deg, var(--tk) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat; }
.ed-zahlen[data-v="2"]::after { background: repeating-linear-gradient(90deg, var(--tk) 0 1px, transparent 1px 24px) 0 0 / 100% 8px no-repeat; }
.ed-zahlen[data-v="3"]::after { background:
  repeating-linear-gradient(90deg, var(--tk) 0 1px, transparent 1px 40px) 0 0 / 100% 9px no-repeat,
  repeating-linear-gradient(90deg, var(--tk) 0 1px, transparent 1px 8px) 0 0 / 100% 4px no-repeat; }
.ed-zahlen[data-v="4"] { padding: 14px 0 0; }
.ed-zahlen[data-v="4"]::after { top: 0; bottom: auto; border-top: 0; border-bottom: 1px solid var(--tk); background-position: 0 100%; }
.ed-zahlen[data-v="5"]::after { background: repeating-linear-gradient(90deg, var(--tk) 0 1px, transparent 1px 6px) 0 0 / 100% 3px no-repeat; }
.ed-zahl { display: grid; gap: 5px; padding: 0 22px 0 0; margin-right: 22px; border-right: 1px solid var(--haar-2); min-width: 0; }
.ed-zahl:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ed-zahl > b { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--ink-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-zahl > span { font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); line-height: 1.2; }
@media (max-width: 520px) { .ed-zahl { padding-right: 16px; margin-right: 16px; } .ed-zahl > b { font-size: 22px; } }

/* ── Beet: Schritte wachsen auf EINER Erdlinie (12.11.) ───────────────────
   Statt drei zentrierter „1. 2. 3.“-Spalten: die Bilder stehen auf einer
   Erdkante, jedes Bild etwas größer als das davor (es wächst), Text links
   darunter. Varianten: Erde glatt · Krümel · Wellen · Steine · Gras. */
.ed-beet { --erde: var(--ink-3); display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  align-items: end; gap: 8px 0; margin: 0; padding: 0; list-style: none; }
.ed-beet > li { display: contents; }
/* EINE Erde: jedes Bildfeld füllt seine Spalte, die Kanten stoßen ohne Lücke aneinander */
.ed-beet-bild { display: block; align-self: end; border-bottom: 2px solid var(--erde); padding: 0 0 2px; }
.ed-beet-wort { padding-right: 10px; align-self: start; }
.ed-beet > li:nth-child(1) .ed-beet-bild > * { width: 46px; height: 46px; }
.ed-beet > li:nth-child(2) .ed-beet-bild > * { width: 58px; height: 58px; }
.ed-beet > li:nth-child(3) .ed-beet-bild > * { width: 70px; height: 70px; }
.ed-beet-wort { font-size: calc(14px * var(--ts, 1)); line-height: 1.3; color: var(--ink-1); }
.ed-beet-wort small { display: block; font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); }
.ed-beet::after { content: ""; position: absolute; left: 0; right: 0; top: var(--erde-y, auto); }
.ed-beet[data-v="2"] .ed-beet-bild { border-bottom-style: dotted; border-bottom-width: 3px; }
.ed-beet[data-v="3"] .ed-beet-bild { border-bottom: 0; background: radial-gradient(circle at 50% 0, transparent 3px, var(--erde) 3.5px 4.5px, transparent 5px) 0 100% / 10px 5px repeat-x; padding-bottom: 5px; }
.ed-beet[data-v="4"] .ed-beet-bild { border-bottom-width: 1px; background: radial-gradient(ellipse 4px 2px, var(--erde) 98%, transparent) 4px 100% / 13px 4px repeat-x; padding-bottom: 5px; }
.ed-beet[data-v="5"] .ed-beet-bild { background: repeating-linear-gradient(100deg, transparent 0 4px, var(--erde) 4px 5px, transparent 5px 9px) 0 calc(100% - 2px) / 100% 5px no-repeat; padding-bottom: 6px; }

/* Keine Ghost-Knöpfe (12.11., Vincent: „Ghostbuttons müssen komplett raus“): Schließen-/Ausblenden-
   Kreuze und runde Symbolknöpfe tragen keinen Ring — das Zeichen allein ist der Knopf. Die Klasse
   .ed-btn-ghost ist seit der Formwelt ein Wort mit Stahl-Unterstrich (s. Nebenknopf). */
button[aria-label="Schließen"], button[aria-label="Hinweis schließen"], button[aria-label="Ausblenden"],
button[title="Schließen"], button[title="Ausblenden"] {
  border-color: transparent !important; background-color: transparent !important; box-shadow: none !important; }

/* ══ 60 · 30 · 10 (12.11., Vincent: „folge der 60 30 10 Regel beim Farbdesign“) ══════════════
   60 % Grund (--paper-0), 30 % Fläche (Karten, Leisten: --paper-card/-1/-2), 10 % Akzent =
   EINE Farbe, die Zeichenfarbe (--zeichen, Gegenfarbe des Akzents). Chrom ist Material, kein Akzent.
   Gemessen vorher: hell Grund 70–93 %, Fläche 6–29 %, Akzent 0–1 % — die weißen Karten lagen auf
   weißem Grund. Darum: hell = Mist als Grund, Karten weiß; der Akzent trägt Kicker, Unterstriche
   der Wortknöpfe und Linien-Zeichen. Text in Akzentfarbe nur über --zeichen-text (≥ 4,5:1). */
html.theme-light, html.theme-light[data-strain-daypart] {
  --paper-0: #eeedea; --paper-1: #f6f5f2; --paper-2: #e3e2de;
  --paper-card: #ffffff; --paper-elev: #ffffff;
}
:root { --zeichen-text: var(--zeichen); }
html.theme-light { --zeichen-text: color-mix(in srgb, var(--zeichen) 72%, #000); }
.eyebrow, [data-kicker] { color: var(--zeichen-text) !important; }

/* ── Strecke: Schritte als Linienplan (12.11., Antislop Runde 3) ─────────
   Vier nummerierte Kästchen → EINE Linie mit Haltestellen (Nummer im Kreis),
   Titel und Satz rechts daneben. Fünf Varianten: Linie durchgehend · gestrichelt
   · doppelt · punktiert · dick; Haltestelle rund, bei 4/5 eckig. */
.ed-strecke { --lf: var(--zeichen, var(--ink-3)); list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 640px; }
.ed-strecke > li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding-bottom: 20px; }
.ed-strecke > li:last-child { padding-bottom: 0; }
.ed-strecke > li::before { content: ""; position: absolute; left: 16px; top: 30px; bottom: 0; width: 0; border-left: 2px solid var(--lf); }
.ed-strecke > li:last-child::before { display: none; }
.ed-strecke-halt { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--lf); background: var(--paper-0);
  display: grid; place-items: center; font-family: var(--font-display); font-size: calc(14px * var(--ts, 1)); color: var(--ink-1); position: relative; z-index: 1; }
.ed-strecke-titel { font-family: var(--font-display); font-size: calc(17px * var(--ts, 1)); color: var(--ink-1); line-height: 1.3; padding-top: 4px; }
.ed-strecke-satz { grid-column: 2; margin: 4px 0 0; font-size: calc(14px * var(--ts, 1)); line-height: 1.55; color: var(--ink-3); }
.ed-strecke[data-v="2"] > li::before { border-left-style: dashed; }
.ed-strecke[data-v="3"] > li::before { width: 3px; border-left: 1px solid var(--lf); border-right: 1px solid var(--lf); left: 15px; }
.ed-strecke[data-v="4"] > li::before { border-left-style: dotted; border-left-width: 3px; }
.ed-strecke[data-v="4"] .ed-strecke-halt { border-radius: 4px; }
.ed-strecke[data-v="5"] > li::before { border-left-width: 4px; left: 15px; }
.ed-strecke[data-v="5"] .ed-strecke-halt { border-radius: 2px; transform: rotate(45deg); }
.ed-strecke[data-v="5"] .ed-strecke-halt > span { transform: rotate(-45deg); }

/* Farbkarte (12.11.): Akzent-Wahl als Musterkarte aus dem Farbenladen statt acht Kacheln.
   EINE Karte, Felder durch Haarlinien getrennt;
   das gewählte Feld ist „herausgezogen“ (ragt unten über die Karte) und sein Name steht 600. */
.ed-farbkarte {
  display: grid; grid-template-columns: repeat(var(--fk-spalten, 8), minmax(0, 1fr));
  border: 1px solid var(--line-2); background: var(--paper-card); padding-bottom: 10px; row-gap: 14px;
  margin-bottom: 24px; /* 12.11.: Abstand zur nächsten Zeilenlinie ≥ 20 px (kein Doppelstrich) */
}
.ed-farbkarte-feld {
  appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; color: inherit; font: inherit;
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0;
  border-left: 1px solid var(--line-1);
}
.ed-farbkarte-feld:first-child { border-left: 0; }
.ed-farbkarte[style*="--fk-spalten: 4"] .ed-farbkarte-feld:nth-child(4n + 1) { border-left: 0; }
.ed-farbkarte-titel { font-family: var(--font-body); font-size: calc(14px * var(--ts, 1)); font-weight: 600; color: var(--ink-2); margin: 0 0 8px; }
[data-farbkarte-reihe="farbe"] .ed-farbkarte { margin-bottom: 18px; }
.ed-farbkarte-farbe {
  display: block; height: 46px; background: var(--fk-c);
  transition: transform 220ms var(--ease-hermes, ease), height 220ms var(--ease-hermes, ease);
}
.ed-farbkarte-feld[aria-checked="true"] .ed-farbkarte-farbe { height: 58px; box-shadow: 0 0 0 2px var(--ink-1); }
.ed-farbkarte-name {
  font-family: var(--font-mono); font-size: calc(13px * var(--ts, 1)); color: var(--ink-2); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px;
}
.ed-farbkarte-feld[aria-checked="true"] .ed-farbkarte-name { color: var(--ink-1); font-weight: 600; }
.ed-farbkarte-feld:focus-visible { outline: 2px solid var(--zeichen, var(--plum)); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .ed-farbkarte-farbe { transition: none; } }

/* Lückentext (12.11.): Eingabe-Dreier als Satz mit Lücken wie auf einem Formular,
   statt drei gleich breiter Kästchen. Die Lücke ist nur ein Unterstrich. */
.ed-lueckentext { font-family: var(--font-display); font-size: calc(16px * var(--ts, 1)); line-height: 2.3; color: var(--ink-1); }
.ed-luecke {
  appearance: none; -moz-appearance: textfield; border: 0; border-bottom: 1px solid var(--line-3); border-radius: 0;
  background: transparent; color: var(--ink-1); font: inherit; font-size: calc(16px * var(--ts, 1)); font-weight: 600; text-align: center;
  padding: 0 4px 1px; margin: 0 3px; width: calc(var(--ch, 4) * 1ch + 12px); max-width: 100%; vertical-align: baseline;
}
.ed-luecke::-webkit-outer-spin-button, .ed-luecke::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ed-luecke::placeholder { color: var(--ink-4); font-weight: 400; }
.ed-luecke:focus { outline: none; border-bottom: 2px solid var(--zeichen, var(--plum)); padding-bottom: 0; }
.ed-luecke--lang { width: 100%; text-align: left; margin: 0; font-weight: 400; }
.ed-luecke:focus-visible { outline: none !important; box-shadow: none !important; }
.ed-luecke-paar { white-space: nowrap; }

/* EINE Akzentfarbe (12.11., 60·30·10 mit genau einem Akzent): die Zeichen tragen den Akzent selbst,
   keine Gegenfarbe mehr. Beim Standard „Chrom“ ist die Farbe Gold — Chrom ist Material
   (Hauptknopf, gewählter Reiter, Leisten), kein Akzent. Spätere Regel, gleiche Spezifität = gewinnt. */
html[data-strain-accent]:not([data-strain-accent="teal"]) { --zeichen: var(--plum); }
html:not(.theme-light):is(:not([data-strain-accent]), [data-strain-accent="teal"]) {
  --plum: #d5a344; --plum-deep: #a47500; --plum-tint: #f1e3c4;
  --plum-soft: rgba(213, 163, 68, .10); --plum-line: rgba(213, 163, 68, .32); --plum-rgb: 213, 163, 68;
  --zeichen: #d5a344;
}
html.theme-light:is(:not([data-strain-accent]), [data-strain-accent="teal"]) {
  --plum: #8a6200; --plum-deep: #6b4c00; --plum-tint: #a47500;
  --plum-soft: rgba(164, 117, 0, .08); --plum-line: rgba(164, 117, 0, .28); --plum-rgb: 164, 117, 0;
  --zeichen: #a47500;
}
@media (max-width: 560px) { .ed-steckbrief-zeile { grid-template-columns: minmax(0, 1fr) !important; } }

/* Ablauf in Bildern (12.11.): Stationen nebeneinander, dazwischen ein Pfeil in der Akzentfarbe.
   Bild zuerst, EIN Wort darunter — für Hash-/Extrakt-/Edible-Arten statt Textblöcken. */
.ed-ablauf { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 0; max-width: 640px; }
.ed-ablauf-station { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; color: var(--ink-1); }
.ed-ablauf-bild { display: block; width: clamp(48px, 15vw, 76px); }
.ed-ablauf-bild svg { width: 100%; height: auto; }
.ed-ablauf-wort { font-family: var(--font-display); font-size: calc(14px * var(--ts, 1)); line-height: 1.25; text-align: center; color: var(--ink-1); padding: 0 4px; text-wrap: balance; }
.ed-ablauf-station + .ed-ablauf-station::before {
  content: ""; position: absolute; left: -9px; top: calc(clamp(48px, 15vw, 76px) / 2 - 5px); width: 18px; height: 10px;
  background: var(--zeichen, var(--ink-3));
  clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
}

/* Antislop-Durchgang 12.11. (zweiter): Leerzustände ohne Kasten, linksbündig. */
/* 12.11. spät (Ordnung im Bild, Regel 3 „allein = mittig“): Leerzustände stehen mittig in ihrer Fläche, ohne Kasten. */
.ed-empty { background: none !important; border: 0 !important; padding: 28px 0 !important; text-align: center !important; align-items: center !important; margin-left: auto !important; margin-right: auto !important; max-width: 560px; }
.ed-empty h3, .ed-empty .ed-empty-h { font-size: calc(19px * var(--ts, 1)); font-weight: 500; }
.ed-empty p, .ed-empty .ed-empty-sub { font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); color: var(--ink-2); letter-spacing: 0; }

/* Zettel: eine Notiz, die jemand angeklebt hat — für den Tagesfakt statt eines Kastens.
   Form-Ebene trägt Papier + Abrisskante (clip-path), der Rahmen kommt als drop-shadow am Träger.
   Fünf Varianten: Klebestreifen Mitte · links · zwei Ecken · Reißzwecke · Eselsohr. */
.ed-zettel { position: relative; filter: drop-shadow(0 0 .6px var(--line-3)) drop-shadow(0 1px 0 var(--line-2)); transform: rotate(var(--zr, -1deg)); margin: 10px 4px 6px; }
.ed-zettel-blatt {
  background: var(--paper-card); padding: 26px 20px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 96% 100%, 91% calc(100% - 6px), 85% 100%, 79% calc(100% - 5px), 72% 100%, 66% calc(100% - 6px), 59% 100%, 52% calc(100% - 5px), 45% 100%, 38% calc(100% - 6px), 31% 100%, 24% calc(100% - 5px), 17% 100%, 10% calc(100% - 6px), 4% 100%, 0 calc(100% - 6px));
}
.ed-zettel::before, .ed-zettel::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.ed-zettel::before { top: -8px; left: calc(50% - 34px); width: 68px; height: 18px; background: color-mix(in srgb, var(--ink-3) 34%, transparent); transform: rotate(-2deg); }
.ed-zettel[data-v="2"] { --zr: .8deg; } .ed-zettel[data-v="2"]::before { left: 14px; transform: rotate(-8deg); }
.ed-zettel[data-v="3"] { --zr: 1.2deg; } .ed-zettel[data-v="3"]::before { left: -14px; top: 4px; width: 46px; transform: rotate(-42deg); }
.ed-zettel[data-v="3"]::after { right: -14px; top: 4px; width: 46px; height: 18px; background: color-mix(in srgb, var(--ink-3) 34%, transparent); transform: rotate(42deg); }
.ed-zettel[data-v="4"] { --zr: -.5deg; } .ed-zettel[data-v="4"]::before { top: 8px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--zeichen, var(--ink-2)); transform: none; }
.ed-zettel[data-v="5"] { --zr: -.8deg; }
.ed-zettel[data-v="5"] .ed-zettel-blatt { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.ed-zettel[data-v="5"]::after { top: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(225deg, transparent 50%, var(--paper-2) 50%); }
@media (prefers-reduced-motion: reduce) { .ed-zettel { transform: none; } }
.ed-bildreihe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 18px 6px; max-width: 760px; }
.ed-bildreihe .ed-ablauf-station + .ed-ablauf-station::before { content: none; }

/* Zwei Spalten ohne Kästen: eine Haarlinie dazwischen, schmal untereinander. */
.ed-zweispalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; position: relative; border-top: 1px solid var(--haar-2); border-bottom: 1px solid var(--haar-2); padding: 16px 0; }
.ed-zweispalt::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 50%; width: 1px; background: var(--line-2); }
@media (max-width: 640px) { .ed-zweispalt { grid-template-columns: minmax(0, 1fr); gap: 18px 0; } .ed-zweispalt::before { content: none; } }
/* Kassenbon: das Ergebnis des Kostenrechners als Bon mit Abrisskante statt Karte. */
.ed-bon {
  background: var(--paper-card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 97.5% 100%, 95% calc(100% - 9px), 92.5% 100%, 90% calc(100% - 9px), 87.5% 100%, 85% calc(100% - 9px), 82.5% 100%, 80% calc(100% - 9px), 77.5% 100%, 75% calc(100% - 9px), 72.5% 100%, 70% calc(100% - 9px), 67.5% 100%, 65% calc(100% - 9px), 62.5% 100%, 60% calc(100% - 9px), 57.5% 100%, 55% calc(100% - 9px), 52.5% 100%, 50% calc(100% - 9px), 47.5% 100%, 45% calc(100% - 9px), 42.5% 100%, 40% calc(100% - 9px), 37.5% 100%, 35% calc(100% - 9px), 32.5% 100%, 30% calc(100% - 9px), 27.5% 100%, 25% calc(100% - 9px), 22.5% 100%, 20% calc(100% - 9px), 17.5% 100%, 15% calc(100% - 9px), 12.5% 100%, 10% calc(100% - 9px), 7.5% 100%, 5% calc(100% - 9px), 2.5% 100%, 0 calc(100% - 9px));
}

/* ── Die neun Apps (12.11.): jedes Ding in der Form seiner Welt, kein Raster gleicher Zeichen ──
   Eine Ansicht für den Atlas-Reiter und das Handy in der Welt (quick-nav.jsx `Werkzeuge`). Keine Linien, keine Kästchen. */
.ed-apps { --ding-papier: #eeedea; --ding-tinte: #0b0b0d; --ding-graphit: #3a3c41; --ding-stahl: #8a8d93; }
html.theme-light .ed-apps { --ding-papier: #ffffff; --ding-graphit: #2a2b2f; --ding-stahl: #9a9da4; }
.ed-apps-ding > svg { filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .28)); }
.ed-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; max-width: 560px; }
.ed-apps > li { display: flex; justify-content: center; min-width: 0; }
.ed-apps-knopf { position: relative; background: none; border: 0; margin: 0; padding: 0; font: inherit; color: var(--ink-1); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; -webkit-tap-highlight-color: transparent; }
.ed-apps-ding { position: relative; display: block; transition: transform 160ms var(--ease-hermes, ease); }
.ed-apps-knopf:hover .ed-apps-ding, .ed-apps-knopf:focus-visible .ed-apps-ding { transform: rotate(-2deg) scale(1.04); }
.ed-apps-knopf:active .ed-apps-ding { transform: scale(.97); }
.ed-apps-knopf:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; border-radius: 6px; }
.ed-apps-wort { font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); font-weight: 500; color: var(--ink-1); line-height: 1.2; margin-top: -6px; }
.ed-apps-wort--stumm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ed-apps-text { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.ed-apps-satz { display: none; }
/* Breite Fläche (Atlas am PC): Gegenstand links, Wort + Satz rechts, drei Spalten über die ganze Breite — vorher standen
   die neun Apps als 560-px-Block links und die halbe Seite blieb leer. Container-Abfrage statt Fensterbreite: /app/ zeigt
   am großen Bildschirm einen 390er-Rahmen. Ohne Unterstützung bleibt das schmale Raster (fail-open). */
.ed-apps-rahmen { container-type: inline-size; }
@container (min-width: 860px) {
  .ed-apps:not(.ed-apps--kompakt) { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 28px; }
  .ed-apps:not(.ed-apps--kompakt) > li { justify-content: flex-start; }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-knopf { flex-direction: row; align-items: center; gap: 16px; text-align: left; }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-ding { flex: none; }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-text { align-items: flex-start; gap: 4px; }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-wort { margin-top: 0; font-size: calc(18px * var(--ts, 1)); }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-satz { display: block; font-size: calc(14px * var(--ts, 1)); line-height: 1.4; color: var(--ink-2); max-width: 30ch; }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-knopf--zu .ed-apps-satz { color: var(--ink-3); }
}
.ed-apps-knopf--zu { cursor: default; }
.ed-apps-knopf--zu .ed-apps-ding > svg { opacity: .42; filter: grayscale(1); }
.ed-apps-knopf--zu .ed-apps-wort { color: var(--ink-3); }
.ed-apps-plakette { position: absolute; right: -6px; top: 4px; font-size: 13px; }
.ed-apps--kompakt { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 4px; max-width: none; }
.ed-apps--kompakt .ed-apps-wort { font-size: 14px; margin-top: -4px; }
.ed-apps--kompakt .ed-apps-plakette { right: -2px; top: 0; }
@media (prefers-reduced-motion: reduce) { .ed-apps-ding { transition: none; } .ed-apps-knopf:hover .ed-apps-ding { transform: none; } }
@media (max-width: 560px) {
  .ed-apps:not(.ed-apps--kompakt) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 4px; }
  .ed-apps:not(.ed-apps--kompakt) .ed-apps-ding > svg { width: 108px; height: 108px; }
}

/* ── Das Handy in der Welt (12.11.): ein kleines Chrom-Handy steckt unten rechts, ein Tipp lässt es aufsteigen ── */
.welt-handy-knopf { position: fixed; z-index: 1094; right: max(14px, calc(env(safe-area-inset-right, 0px) + 10px)); bottom: calc(var(--tabbar-clear, 73px) + 62px);
  width: 40px; height: 62px; padding: 0; border: 3px solid transparent; border-radius: 11px; cursor: pointer;
  background: linear-gradient(#0b0b0d, #0b0b0d) padding-box, var(--chrom) border-box; box-shadow: 0 4px 14px rgba(0, 0, 0, .38);
  transform: rotate(-7deg); transform-origin: 50% 100%; -webkit-tap-highlight-color: transparent; }
html.strain-welt-pc .welt-handy-knopf { right: 20px; bottom: 80px; }
.welt-handy-knopf.offen { transform: none; }
.welt-handy-knopf:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.welt-handy-knopf-schirm { display: grid; grid-template-columns: repeat(2, 8px); gap: 5px; justify-content: center; align-content: center; height: 100%; }
.welt-handy-knopf-schirm i { width: 8px; height: 8px; border-radius: 2px; background: var(--zeichen, #d5a344); }
.welt-handy-zahl { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 999px;
  background: var(--chrom); color: var(--chrom-text, #0b0b0d); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
html:has(.z3d-vchat-mehr) .welt-handy-knopf, html:has([data-strasse-panel]) .welt-handy-knopf, html:has([data-spiel-vollbild]) .welt-handy-knopf,
html:has(.z3d-zelt-an) .welt-handy-knopf { display: none; }
.welt-handy-schleier { position: fixed; inset: 0; z-index: 1097; }
.welt-handy { position: absolute; left: 50%; margin-left: calc(min(380px, 100vw - 20px) / -2); bottom: calc(var(--tabbar-clear, 73px) + 8px);
  width: min(380px, calc(100vw - 20px)); height: min(640px, calc(100vh - var(--tabbar-clear, 73px) - env(safe-area-inset-top, 0px) - 28px));
  box-sizing: border-box; border: 4px solid transparent; border-radius: 38px; outline: none;
  background: linear-gradient(var(--paper-0), var(--paper-0)) padding-box, var(--chrom) border-box; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  animation: welt-handy-auf 240ms cubic-bezier(.2, .8, .2, 1) both; }
.welt-handy.pc { left: auto; margin-left: 0; right: 20px; bottom: 18px; width: 376px; height: min(690px, calc(100vh - 96px)); }
/* Über dem Dock (Seiten am PC): Unterkante über der Leiste, Höhe nach dem Rest des Fensters */
/* Der Schleier endet über dem Dock: ein zweiter Tipp auf den Handy-Eintrag legt es weg, die Leiste bleibt bedienbar */
.welt-handy-schleier.dock { bottom: var(--dock-hoehe, 92px); }
.welt-handy-schleier.dock .welt-handy.pc { bottom: 4px; height: min(690px, calc(100vh - var(--dock-hoehe, 92px) - 24px)); }
@keyframes welt-handy-auf { from { translate: 0 55%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .welt-handy { animation: none; } .welt-handy-knopf { transform: none; } }
.welt-handy-schirm { height: 100%; display: flex; flex-direction: column; border-radius: 33px; overflow: hidden; background: var(--paper-0); }
.welt-handy-status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 24px 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.welt-handy-status > span:last-child { text-align: right; font-weight: 500; color: var(--ink-3); }
.welt-handy-linse { width: 11px; height: 11px; border-radius: 50%; background: #0b0b0d; box-shadow: inset 0 0 0 2px #26272b; }
.welt-handy-suche { display: flex; align-items: center; gap: 10px; margin: 10px 20px 4px; padding: 6px 2px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink-3); }
.welt-handy-suche:focus-within { border-bottom-color: var(--zeichen, var(--ink-2)); color: var(--ink-1); }
.welt-handy-suche input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink-1); font: inherit; font-size: 16px; padding: 2px 0; -webkit-appearance: none; appearance: none; }
.welt-handy-suche input:focus-visible { outline: none !important; box-shadow: none !important; }
/* Suchfeld als Chrom-Körper (16.11., Vincent: „Die Lupe bitte weg und wieder sauber aber auffälliger mit Chrome Button
   oben im Strainlandhandy“): dieselbe gerenderte Pille wie die Hauptknöpfe, dunkle Schrift auf dem Spiegel. */
.welt-handy-suche[data-welt-handy-chrom] { margin: 10px 16px 6px; min-height: 50px; padding: 0 20px; border-bottom: 0;
  border-style: solid; border-width: 0; border-image: url(/assets/marke/chrom/pille-a.webp?v=3) 40 112 fill / 9px 26px;
  color: #26282c; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.welt-handy-suche[data-welt-handy-chrom]:focus-within { color: #0b0b0d; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)) brightness(1.04); }
.welt-handy-suche[data-welt-handy-chrom] input { color: #0b0b0d; font-weight: 500; }
.welt-handy-suche[data-welt-handy-chrom] input::placeholder { color: #3a3c41; opacity: 1; }
.welt-handy-suche[data-welt-handy-chrom] input::-webkit-search-cancel-button { filter: invert(1) brightness(.3); }
html.theme-light .welt-handy-suche[data-welt-handy-chrom] { filter: drop-shadow(0 3px 6px rgba(11, 11, 13, .22)); }
.welt-handy-inhalt { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 16px 18px 10px; }
.welt-handy-treffer { list-style: none; margin: 0; padding: 0; }
.welt-handy-treffer li { border-bottom: 0; }
.welt-handy-treffer button:hover span, .welt-handy-treffer button:focus-visible span { text-decoration: underline; text-decoration-color: var(--zeichen, currentColor); text-underline-offset: 4px; }
.welt-handy-treffer button { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 2px; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; color: var(--ink-1); font-size: 16px; }
.welt-handy-treffer small { font-size: 13px; color: var(--ink-3); flex: none; }
.welt-handy-leer { margin: 12px 2px; font-size: 15px; color: var(--ink-3); }
.welt-handy-heim { flex: none; height: 30px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.welt-handy-heim span { width: 118px; height: 4px; border-radius: 999px; background: var(--ink-3); }
.welt-handy-heim:focus-visible { outline: 2px solid var(--plum); outline-offset: -4px; }


/* ── Linien (12.11., korrigiert): Vincent meinte nur DOPPELTE Trennlinien, nicht alle ──
   --haar-1/--haar-2 sind wieder die normalen Linien (Rahmen, Zeilentrenner, Felder bleiben).
   Raus sind nur Stellen, an denen zwei Striche parallel übereinander liefen. */
:root { --haar-1: var(--line-1); --haar-2: var(--line-2); }
/* Seitentitel: Unterkante + zweiter Strich (::after) = Doppelstrich → nur noch die eine Linie */
.ed-page-head::after { display: none !important; }

/* Profil in der App (12.11., Vincent: „das Profil ist nicht zentriert … auch hier die Zahlen“):
   Kopf mittig, die Zahlenreihen teilen die Breite gleich und stehen mittig in ihrer Zelle. */
[data-profil]:not(.ed-page) .ed-zahlen,
[data-fremdprofil]:not(.ed-page) .ed-zahlen { flex-wrap: nowrap; }
[data-profil]:not(.ed-page) .ed-zahl,
[data-fremdprofil]:not(.ed-page) .ed-zahl { flex: 1 1 0; justify-items: center; text-align: center !important; padding: 0 6px; margin: 0; }
[data-profil]:not(.ed-page) .ed-zahl > span,
[data-fremdprofil]:not(.ed-page) .ed-zahl > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ── Bibliothek als Regal (12.11.): Fach = Kategorie, darin EIN Stapel liegender Bücher ───────────────────────
   Form aus der Welt des Bereichs statt Liste. Liegend = Titel waagrecht lesbar; der längste Titel liegt unten.
   Rücken in Neutraltönen (keine Akzentfläche), Bänder als Linien in var(--zeichen), fünf Varianten über data-v
   (Farbe, Band, Versatz im Stapel). Kein Hover-Lift: Hover/Fokus = Akzent-Kontur. */
.ed-regalfach { display: flex; flex-direction: column; }
.ed-regalfach-schild { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px;
  font-size: calc(13px * var(--ts, 1)); color: var(--ink-2); }
.ed-regalfach-nr { color: var(--ink-4); font-variant-numeric: tabular-nums; }
.ed-regalfach-boden { --brett: var(--graphit-blech, #25272c); flex: 1; display: flex; align-items: flex-end; justify-content: center;
  padding: 18px 12px 10px; border-left: 6px solid var(--brett); border-right: 6px solid var(--brett); border-bottom: 10px solid var(--brett);
  background: color-mix(in srgb, var(--ink-1) 3%, transparent); box-shadow: inset 0 18px 22px -18px rgba(0, 0, 0, .55); }
html.theme-light .ed-regalfach-boden { box-shadow: inset 0 18px 22px -18px rgba(0, 0, 0, .18); }
.ed-stapel { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.ed-buch { --ruecken: #33353b; --schrift: #eeedea; --versatz: 0px; position: relative; flex: none; max-width: 100%; padding: 0 30px 0 0; border: 0;
  cursor: pointer; border-radius: 2px; background: var(--ruecken); color: var(--schrift); font-family: inherit; text-align: left;
  transform: translateX(var(--versatz));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .06), inset 0 -3px 0 rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .3);
  display: flex; align-items: center; gap: 12px; transition: box-shadow .15s ease; }
.ed-buch[data-v="1"] { --ruecken: #2b2d32; --versatz: 0px; }
.ed-buch[data-v="2"] { --ruecken: #45474d; --versatz: -7px; }
.ed-buch[data-v="3"] { --ruecken: #8a8d93; --schrift: #0b0b0d; --versatz: 5px; }
.ed-buch[data-v="4"] { --ruecken: #1c1d21; --versatz: -3px; }
.ed-buch[data-v="5"] { --ruecken: #c9ccd1; --schrift: #0b0b0d; --versatz: 8px; }
html.theme-light .ed-buch[data-v="1"] { --ruecken: #3a3c41; }
html.theme-light .ed-buch[data-v="4"] { --ruecken: #d9d7d2; --schrift: #0b0b0d; }
html.theme-light .ed-buch[data-v="5"] { --ruecken: #eeedea; --schrift: #0b0b0d; }
.ed-buch:hover, .ed-buch:focus-visible { outline: none; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .06), inset 0 -3px 0 rgba(0, 0, 0, .28), 0 0 0 2px var(--zeichen); }
/* Bänder: senkrechte Linien in der Akzentfarbe an den Enden, je Variante anders gesetzt */
.ed-buch::before, .ed-buch::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; }
.ed-buch[data-v="1"]::before { right: 14px; width: 6px; border-left: 2px solid var(--zeichen); border-right: 2px solid var(--zeichen); }
.ed-buch[data-v="2"]::before { left: 32px; width: 0; border-left: 3px solid var(--zeichen); }
.ed-buch[data-v="3"]::before { left: 6px; width: 0; border-left: 2px solid #0b0b0d; }
.ed-buch[data-v="3"]::after { right: 8px; width: 0; border-left: 2px solid #0b0b0d; }
.ed-buch[data-v="5"]::before { right: 10px; width: 0; border-left: 2px dotted #3a3c41; }
/* Rückenschild statt Nummer (12.11., Vincent: „Die Zahlen in der Bib kannst du abändern“): ein leeres Schild wie auf
   alten Buchrücken, fünf Formen nach der Variante — die Reihenfolge trägt schon die Länge des Buchs. */
.ed-buch-schild { flex: none; width: 14px; height: 55%; margin-left: 14px; border: 1.5px solid var(--zeichen); border-radius: 1px; }
.ed-buch[data-v="2"] .ed-buch-schild { width: 10px; background: var(--zeichen); border: 0; }
.ed-buch[data-v="3"] .ed-buch-schild { width: 18px; height: 40%; border-color: #0b0b0d; }
.ed-buch[data-v="4"] .ed-buch-schild { width: 8px; height: 8px; border-radius: 999px; background: var(--zeichen); border: 0; }
.ed-buch[data-v="5"] .ed-buch-schild { width: 16px; border-color: #3a3c41; border-style: dotted; }
.ed-buch-titel { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: calc(14px * var(--ts, 1)); font-weight: 500; line-height: 1.1; }
/* Gelesen = Lesebändchen, das seitlich aus dem Buch hängt */
.ed-buch[data-gelesen]::after { content: ""; position: absolute; top: 60%; right: 24px; width: 6px; height: 18px; background: var(--zeichen); border: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); z-index: 1; }
@media (prefers-reduced-motion: reduce) { .ed-buch { transition: none; } }

/* ── Rund neben rund (12.11., Vincent: „keine Ecken und glatten Kanten neben runden Elementen, das ist ein zu harter
   Cut“): ein Knopf in einer Reihe mit Profilbildern, Köpfen oder runden Zeichen trägt runde Enden — gleiche Graphit-
   bzw. Chrom-Fläche, nur ohne geschnittene Ecken. Markierung: data-rund am Knopf. */
/* Spezifität über den Varianten- und Nebenknopf-Regeln (bis 0,4,0) — vorher gewann die Variante bzw. der 2-px-Radius. */
html body .ed-btn[data-rund][data-rund][data-rund]:not(.ed-btn-icon), html body .ed-btn-primary[data-rund][data-rund][data-rund]:not(.ed-btn-icon), html body [data-profil-bearbeiten][data-rund][data-rund][data-rund]:not(.ed-btn-icon) { border-radius: 999px !important; clip-path: none !important; padding-left: 16px; padding-right: 16px; }
.ed-btn[data-rund]:focus-visible, .ed-btn-primary[data-rund]:focus-visible { outline-offset: 2px !important; }
@media (max-width: 640px) {
  .ed-buch { gap: 8px; padding-right: 22px; }
  .ed-regalfach-boden { padding-left: 8px; padding-right: 8px; }
}

/* Pflanztisch (12.11., Grow-Spiel): die Plätze eines Raums stehen als Töpfe auf einem Brett aus Graphit-Blech,
   jede Reihe hat ihr eigenes Brett (die Plätze stoßen ohne Spalt aneinander). Kein Kasten je Pflanze. */
.ed-pflanztisch { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 26px 0; padding-top: 4px; }
.ed-pflanzplatz {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center;
  background: none; border: 0; padding: 0 8px 12px; cursor: pointer; color: inherit; font: inherit; min-width: 0;
}
/* Pflanze 96 × 120 (viewBox 120 × 150, Topfboden bei 146) → Topfboden bei 117 = Oberkante des Bretts */
.ed-pflanzplatz-bild { position: relative; display: block; width: 96px; height: 120px; margin-bottom: 14px; z-index: 1; }
.ed-pflanzplatz-bild--leer { width: 72px; height: 72px; margin-top: 47px; margin-bottom: 15px; opacity: .62; }
.ed-pflanzplatz::before { /* das Brett unter dem Topf */
  content: ""; position: absolute; left: 0; right: 0; top: 117px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--graphit-blech, var(--paper-2)) 0 64%, color-mix(in srgb, var(--graphit-blech, var(--paper-2)) 62%, #000) 64%); box-shadow: var(--graphit-rand, inset 0 0 0 1px var(--line-2));
}
.ed-pflanzplatz-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); color: var(--ink-1); }
.ed-pflanzplatz[data-frei] .ed-pflanzplatz-name { color: var(--ink-2); }
.ed-pflanzplatz[data-offen="1"] .ed-pflanzplatz-name { font-weight: 600; }
.ed-pflanzplatz[data-offen="1"] .ed-pflanzplatz-name::before { /* gewählt = Chrom-Stern wie bei Filtern */
  content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .3em; vertical-align: -.08em;
  background: url("/assets/marke/stern.webp") center / contain no-repeat;
}
.ed-pflanzplatz[data-offen="1"] .ed-pflanzplatz-bild--leer, .ed-pflanzplatz[data-frei]:hover .ed-pflanzplatz-bild--leer { opacity: 1; }
.ed-pflanzplatz:focus-visible { outline: 2px solid var(--zeichen, var(--ink-1)); outline-offset: -2px; border-radius: 4px; }

/* Clubseite schmal (12.11., Vincent: „im Clubraum gibts wieder empty Space bei Beitreten/Teilen“): die Aktionen teilen die
   volle Breite statt links zu kleben. */
@media (max-width: 640px) {
  [data-raum-aktionen] > .ed-btn { flex: 1 1 0; justify-content: center; }
}

/* ── Getöntes Chrom (12.11., Vincent: „minimalistische Chromversion mit unterschiedlichen Farben“) ─────────────────────
   Gleicher Verlauf wie --chrom, jede Stufe mit dem Ton der Messgröße gemischt (--ton). Schrift bleibt --chrom-text.
   Form: Blech mit allen vier Ecken geschnitten (symmetrisch, Regel 9). Raster füllt die Breite. */
.ed-messwerte { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 16px 0 18px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
/* Messwert (12.11. nachts): Chrom-Zeichen + schlichte Zahl. Das Zeichen trägt den Verlauf #chrom-g-<ton> (post-live.jsx). */
.ed-messwert { display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; }
.ed-messwert-zeichen { display: inline-flex; flex-shrink: 0; line-height: 0; }
.ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke-width: 2.1; }
.ed-messwert-wert { font-family: var(--font-display); font-size: calc(17px * var(--ts, 1)); font-weight: 600; color: var(--ink-1); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
:root { --cg1: #ffffff; --cg2: #e2e4e8; --cg3: #a9adb3; --cg4: #6f7278; --cg5: #c9ccd1; --cg6: #ffffff; }
html.theme-light { --cg1: #9a9da3; --cg2: #6a6d73; --cg3: #3a3c41; --cg4: #1c1d21; --cg5: #55585e; --cg6: #8a8d93; }
[data-chrom-ton="thc"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-thc) !important; }
[data-chrom-ton="cbd"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-cbd) !important; }
[data-chrom-ton="preis"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-preis) !important; }
[data-chrom-ton="weg"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-weg) !important; }
[data-chrom-ton="charge"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-charge) !important; }
[data-chrom-ton="gross"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-gross) !important; }
[data-chrom-ton="form"] .ed-messwert-zeichen svg :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-form) !important; }
.ed-messwert-zeichen svg :is(path, circle, rect, polygon, ellipse)[fill]:not([fill="none"]):not([fill="transparent"]) { fill: none !important; }

/* Chrom-Orden (12.11.): das Emblem ist eine Zeichnung — Ring, Innenring und Zackenkranz des alten Siegels fallen weg. */
.ed-orden.ed-orden--chrom { border: 0 !important; background: none !important; box-shadow: none !important; overflow: visible; }
.ed-orden.ed-orden--chrom::before, .ed-orden.ed-orden--chrom::after { display: none !important; }
.ed-orden.ed-orden--chrom:hover svg { filter: brightness(1.08); }
@media (prefers-reduced-motion: no-preference) { .ed-orden.ed-orden--chrom svg { transition: filter 160ms ease; } }

/* ── Ortsregister (12.11. nachts): Clubverzeichnis wie ein gedrucktes Register — Buchstabe, Ort, Clubs; Zeitungsspalten. */
.ed-ortsregister { columns: 3 260px; column-gap: 40px; column-rule: 1px solid var(--line-2); }
.ed-ortsregister-ort { break-inside: avoid; padding: 0 0 14px; }
.ed-ortsregister-buchstabe { font-family: var(--font-display); font-size: calc(30px * var(--ts, 1)); font-weight: 500; line-height: 1; color: var(--ink-1);
  padding: 6px 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--zeichen, var(--line-2)); }
.ed-ortsregister-name { font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); font-weight: 600; color: var(--ink-1);
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 3px; }
.ed-ortsregister-name span { font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ed-ortsregister-club { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 3px 0; cursor: pointer;
  font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.35; color: var(--ink-2); }
.ed-ortsregister-club:hover, .ed-ortsregister-club:focus-visible { color: var(--ink-1); text-decoration: underline; text-underline-offset: 3px; outline: none; }

/* Chrom als Akzent + große Zahlen in Chrom (12.11. spät, Vincent zu den Chrom-Messwerten: „Können wir das als
   richtige Akzentfarbe haben, damit die ganzen Minilogos auch so aussehen können, wenn man will … Große Zahlen
   können eigentlich auch Chrome bekommen“). ERWEITERT „Chrom ist Material, kein Akzent“: Chrom ist jetzt EINE
   wählbare Akzentfarbe (Schlüssel „chrom“, Standard bleibt Gold); große Zahlen tragen Chrom in jedem Akzent. */
:root { --chrom-zahl: linear-gradient(180deg, var(--ag1) 0%, var(--ag2) 26%, var(--ag3) 49%, var(--ag4) 55%, var(--ag5) 80%, var(--ag6) 100%); }
/* Hell: die oberste/unterste Stufe dunkler, sonst liest die Zahl auf Weiß am Rand blass (≥ 3:1 für große Schrift). */
html.theme-light { --cg1: #7d8086; --cg6: #6f7278; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ed-chromzahl, .ed-zahl > b {
    background-image: var(--chrom-zahl); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; padding-bottom: .04em;
  }
}
@media (forced-colors: active) { .ed-chromzahl, .ed-zahl > b { background-image: none; -webkit-text-fill-color: CanvasText; } }

html[data-strain-accent="chrom"]:not(.theme-light) {
  --plum: #c9ccd1; --plum-deep: #8a8d93; --plum-tint: #eeedea;
  --plum-soft: rgba(201, 204, 209, .10); --plum-line: rgba(201, 204, 209, .32); --plum-rgb: 201, 204, 209;
  --zeichen: #c9ccd1;
}
html.theme-light[data-strain-accent="chrom"] {
  --plum: #3a3c41; --plum-deep: #1c1d21; --plum-tint: #55585e;
  --plum-soft: rgba(58, 60, 65, .07); --plum-line: rgba(58, 60, 65, .28); --plum-rgb: 58, 60, 65;
  --zeichen: #55585e;
}
/* Zeichen im Chrom-Verlauf: alles, was den Akzent als Linie trägt (Bereichsfarben, --zeichen, --plum). Die Farbe
   hinter url() ist Rückfall, falls der Verlauf fehlt. Text, Unterstriche und Rahmen bleiben die Farbe Silber. */
html[data-strain-accent^="chrom"] [data-fa] svg[stroke="currentColor"],
html[data-strain-accent^="chrom"] :is([data-tagebuch-zahl], [data-fa-zeichnen]) svg[stroke="currentColor"],
html[data-strain-accent^="chrom"] svg :is(path, line, polyline, polygon, circle, rect, ellipse, g):is([stroke*="--fa-"], [stroke*="--zeichen"], [stroke*="--plum"]),
html[data-strain-accent^="chrom"] g[data-fa] :is(path, line, polyline, polygon, circle, rect, ellipse)[stroke*="--ink"] {
  stroke: url(#chrom-g-akzent) var(--zeichen);
}
html[data-strain-accent^="chrom"] svg :is(path, polygon, circle, rect, ellipse, g):is([fill*="--fa-"], [fill*="--zeichen"], [fill*="--plum"]):not([fill*="color-mix"]) {
  fill: url(#chrom-g-akzent) var(--zeichen);
}
/* Auf Chrom-Flächen (gewählter Reiter, Dock, Hauptknopf) bleibt das Zeichen dunkel — Chrom auf Chrom verschwände. */
html[data-strain-accent^="chrom"] :is(.ed-tab-btn[aria-current], .ed-dock .ed-nav-item.active, .ed-btn-primary, [data-subtab-aktiv]) svg[stroke="currentColor"] { stroke: currentColor; }
/* Masken (Seitenkopf-Symbol, Hand-Zeichen) tragen den Verlauf als Fläche. */
html[data-strain-accent^="chrom"] [data-seite-fa] :is(.ed-page-head, [data-seitenkopf]) > .eyebrow:first-child::before,
html[data-strain-accent^="chrom"] [data-seite-fa] :is(.ed-page-head, [data-seitenkopf]) > div:first-child > .eyebrow:first-child::before,
html[data-strain-accent^="chrom"] [data-seite-fa] [data-kicker]::before,
html[data-strain-accent^="chrom"] [data-fa] .ed-ico-hand { background: var(--chrom-zahl); }

/* ── Chrom-Arten (12.11. spät, Vincent: „die Chrome finishes sind geil, bitte verschiedene Chromearten, auch bunt —
   aber nicht wie die Pride Flagge“) ── Neben Silber (Schlüssel „chrom“) sieben getönte Chrom-Akzente
   „chrom-<ton>“: JE WAHL EIN TON, nie mehrere Farben in einem Verlauf. Mechanik wie bei den Messwerten: jede Stufe
   des Silber-Verlaufs (--cg1…6, hell/dunkel) wird per color-mix mit --chrom-ton gemischt → --ag1…6 (Akzent-Verlauf),
   den tragen die Zeichen (#chrom-g-akzent), die großen Zahlen (--chrom-zahl) und — getönt — Hauptknopf, gewählter
   Reiter, Dock, Ring (--chrom, --chrom-ring). Bei allen anderen Akzenten bleibt --ag = Silber. Messwerte und Orden
   behalten ihre eigenen Töne. --plum: dunkel = 55 % Ton in Silber (≥ 7:1 auf Schwarz), hell = Ton, abgedunkelt bis
   ≥ 5,2:1 auf --paper-1 (Skript im Scratchpad chromarten/farben.js). */
:root { --ag1: var(--cg1); --ag2: var(--cg2); --ag3: var(--cg3); --ag4: var(--cg4); --ag5: var(--cg5); --ag6: var(--cg6); }
html[data-strain-accent^="chrom-"] {
  --ag1: color-mix(in oklab, var(--cg1) 70%, var(--chrom-ton));
  --ag2: color-mix(in oklab, var(--cg2) 62%, var(--chrom-ton));
  --ag3: color-mix(in oklab, var(--cg3) 55%, var(--chrom-ton));
  --ag4: color-mix(in oklab, var(--cg4) 52%, var(--chrom-ton));
  --ag5: color-mix(in oklab, var(--cg5) 58%, var(--chrom-ton));
  --ag6: color-mix(in oklab, var(--cg6) 70%, var(--chrom-ton));
  --chrom: radial-gradient(120% 90% at 22% 8%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 46%), var(--chrom-flaeche);
  --chrom-flaeche: linear-gradient(180deg, color-mix(in oklab, #fbfcfd 74%, var(--chrom-ton)) 0%, color-mix(in oklab, #e3e5e8 64%, var(--chrom-ton)) 16%, color-mix(in oklab, #bfc2c7 56%, var(--chrom-ton)) 44%, color-mix(in oklab, #a9adb3 52%, var(--chrom-ton)) 54%, color-mix(in oklab, #cfd2d6 58%, var(--chrom-ton)) 72%, color-mix(in oklab, #eef0f2 68%, var(--chrom-ton)) 90%, color-mix(in oklab, #ffffff 74%, var(--chrom-ton)) 100%);
  --chrom-ring: linear-gradient(160deg, color-mix(in oklab, #ffffff 72%, var(--chrom-ton)) 0%, color-mix(in oklab, #8a8d93 52%, var(--chrom-ton)) 35%, color-mix(in oklab, #f4f5f7 70%, var(--chrom-ton)) 55%, color-mix(in oklab, #6f7278 52%, var(--chrom-ton)) 80%, color-mix(in oklab, #c9ccd1 58%, var(--chrom-ton)) 100%);
  --chrom-rand: color-mix(in oklab, #eef0f2 70%, var(--chrom-ton));
}
html[data-strain-accent="chrom-gold"] { --chrom-ton: #d5a344; }
html[data-strain-accent="chrom-gold"]:not(.theme-light) { --plum: #d0b78b; --plum-deep: #93794a; --plum-tint: #f3e4ca;
  --plum-soft: rgba(208, 183, 139, .10); --plum-line: rgba(208, 183, 139, .32); --plum-rgb: 208, 183, 139; --zeichen: #d0b78b; }
html.theme-light[data-strain-accent="chrom-gold"] { --plum: #865700; --plum-deep: #402700; --plum-tint: #ad8c54;
  --plum-soft: rgba(134, 87, 0, .07); --plum-line: rgba(134, 87, 0, .28); --plum-rgb: 134, 87, 0; --zeichen: #998158; }
html[data-strain-accent="chrom-rose"] { --chrom-ton: #e0a091; }
html[data-strain-accent="chrom-rose"]:not(.theme-light) { --plum: #d7b4ae; --plum-deep: #9a7670; --plum-tint: #f7e2dd;
  --plum-soft: rgba(215, 180, 174, .10); --plum-line: rgba(215, 180, 174, .32); --plum-rgb: 215, 180, 174; --zeichen: #d7b4ae; }
html.theme-light[data-strain-accent="chrom-rose"] { --plum: #8c5346; --plum-deep: #43251e; --plum-tint: #b58a82;
  --plum-soft: rgba(140, 83, 70, .07); --plum-line: rgba(140, 83, 70, .28); --plum-rgb: 140, 83, 70; --zeichen: #a07f7a; }
html[data-strain-accent="chrom-kupfer"] { --chrom-ton: #c87a4c; }
html[data-strain-accent="chrom-kupfer"]:not(.theme-light) { --plum: #cba08a; --plum-deep: #8d614b; --plum-tint: #f1d7c9;
  --plum-soft: rgba(203, 160, 138, .10); --plum-line: rgba(203, 160, 138, .32); --plum-rgb: 203, 160, 138; --zeichen: #cba08a; }
html.theme-light[data-strain-accent="chrom-kupfer"] { --plum: #974d1d; --plum-deep: #492209; --plum-tint: #a57155;
  --plum-soft: rgba(151, 77, 29, .07); --plum-line: rgba(151, 77, 29, .28); --plum-rgb: 151, 77, 29; --zeichen: #946c58; }
html[data-strain-accent="chrom-rubin"] { --chrom-ton: #c94a62; }
html[data-strain-accent="chrom-rubin"]:not(.theme-light) { --plum: #cf8893; --plum-deep: #8f4955; --plum-tint: #f4cace;
  --plum-soft: rgba(207, 136, 147, .10); --plum-line: rgba(207, 136, 147, .32); --plum-rgb: 207, 136, 147; --zeichen: #cf8893; }
html.theme-light[data-strain-accent="chrom-rubin"] { --plum: #ad304c; --plum-deep: #551322; --plum-tint: #a85361;
  --plum-soft: rgba(173, 48, 76, .07); --plum-line: rgba(173, 48, 76, .28); --plum-rgb: 173, 48, 76; --zeichen: #975561; }
html[data-strain-accent="chrom-amethyst"] { --chrom-ton: #9a7ad6; }
html[data-strain-accent="chrom-amethyst"]:not(.theme-light) { --plum: #aea0d5; --plum-deep: #726197; --plum-tint: #dfd7f4;
  --plum-soft: rgba(174, 160, 213, .10); --plum-line: rgba(174, 160, 213, .32); --plum-rgb: 174, 160, 213; --zeichen: #aea0d5; }
html.theme-light[data-strain-accent="chrom-amethyst"] { --plum: #7150a8; --plum-deep: #352452; --plum-tint: #8471b1;
  --plum-soft: rgba(113, 80, 168, .07); --plum-line: rgba(113, 80, 168, .28); --plum-rgb: 113, 80, 168; --zeichen: #7a6c9f; }
html[data-strain-accent="chrom-titan"] { --chrom-ton: #6f98d0; }
html[data-strain-accent="chrom-titan"]:not(.theme-light) { --plum: #98b0d1; --plum-deep: #5a7294; --plum-tint: #d3e0f2;
  --plum-soft: rgba(152, 176, 209, .10); --plum-line: rgba(152, 176, 209, .32); --plum-rgb: 152, 176, 209; --zeichen: #98b0d1; }
html.theme-light[data-strain-accent="chrom-titan"] { --plum: #3b6296; --plum-deep: #192d49; --plum-tint: #6884ad;
  --plum-soft: rgba(59, 98, 150, .07); --plum-line: rgba(59, 98, 150, .28); --plum-rgb: 59, 98, 150; --zeichen: #647b9b; }
html[data-strain-accent="chrom-jade"] { --chrom-ton: #5fb092; }
html[data-strain-accent="chrom-jade"]:not(.theme-light) { --plum: #92bdae; --plum-deep: #537f70; --plum-tint: #d0e7dd;
  --plum-soft: rgba(146, 189, 174, .10); --plum-line: rgba(146, 189, 174, .32); --plum-rgb: 146, 189, 174; --zeichen: #92bdae; }
html.theme-light[data-strain-accent="chrom-jade"] { --plum: #106d52; --plum-deep: #043325; --plum-tint: #5f9582;
  --plum-soft: rgba(16, 109, 82, .07); --plum-line: rgba(16, 109, 82, .28); --plum-rgb: 16, 109, 82; --zeichen: #5e877a; }

/* Zimmer-Knopfzeile (13.11.): Ich mach was · Ankleiden · Einrichten (· Möbel stellen) teilen die Breite —
   vorher hing „Einrichten" allein links unter den anderen (Regel „Allein = mittig"/„Breite ausnutzen"). */
[data-zimmer-knoepfe] > .ed-btn { flex: 1 1 auto; min-width: max-content; padding-left: 8px !important; padding-right: 8px !important; white-space: nowrap; justify-content: center; text-align: center; }

/* Gesten-Reihe im Raum-Chat (13.11.): schmal brach „Einladen" allein in eine zweite Zeile — die runden Gesten werden
   dort 30 px groß, und die Reihe verteilt sich über die volle Breite (Regel „Breite ausnutzen"). */
@media (max-width: 480px) {
  [data-raum-gesten] { gap: 4px !important; justify-content: space-between; }
  [data-raum-gesten] > button:not([data-raum-einladen-knopf]) { width: 30px !important; height: 30px !important; }
  [data-raum-gesten] > button:not([data-raum-einladen-knopf]) svg { max-width: 20px; max-height: 20px; }
}

/* Grow-Guide (13.11.): die feste Kapitel-Randnotiz rechts lag bei jeder Fensterbreite über dem Text (der Guide läuft
   über die volle Seitenbreite). Fortschrittsbalken + Kapitelüberschrift tragen dieselbe Information. */
.guide-marginalia { display: none !important; }

/* ══ Liquid Chrome als echter Körper (16.11., Vincent mit Vorlagen: „Die Chrompille sieht noch ein bisschen geiler
   aus“ · „Das muss aber auch auf die abgeschnittenen übertragen werden!“): Blech und Pille sind in 3D gerendert
   (aufgeblasene Silhouette mit Wulst am Rand und flacherer Fläche, Chrom-Material wie die Landing-Körper; Skript im
   Scratchpad pille/render.html) und liegen in assets/marke/chrom/. Sie sitzen als 9-Teile-Rahmenbild (border-image,
   Rahmenbreite 0): der Wulst bleibt bei jeder Größe gleich dick, die Fasen stehen in den Ecken des Bilds — je Eckart ein
   Bild, data-v wählt es (Spiegel der clip-path-Varianten oben, clip-path ist hier aus). */
html body .ed-btn-primary.ed-btn-primary, html body .ed-btn-primary.ed-btn-primary:hover, html body [data-profil-bearbeiten][data-profil-bearbeiten],
html body [data-subtab-aktiv][data-subtab-aktiv], html body [data-subtabs] > button[data-subtab-aktiv][data-subtab-aktiv],
html body [data-sammlung-reiter] > button[data-subtab-aktiv][data-subtab-aktiv],
html body [data-feed-reiter] > div > button[aria-pressed="true"][aria-pressed="true"],
html body [data-feed-modus] [data-feed-modus-wahl][aria-pressed="true"][aria-pressed="true"], html body .ed-tab.active.active {
  background: transparent !important; box-shadow: none !important; clip-path: none !important; border-radius: 0 !important;
  border-style: solid !important; border-width: 0 !important; border-color: transparent !important;
  border-image: var(--cb) 64 fill / 13px !important;
  color: var(--chrom-text) !important; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35));
}
html.theme-light body .ed-btn-primary.ed-btn-primary { filter: drop-shadow(0 2px 4px rgba(11, 11, 13, .2)); }
html body .ed-btn-primary.ed-btn-primary:hover:not(:disabled) { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)) brightness(1.05); }
html body .ed-btn-primary.ed-btn-primary:disabled, html body .ed-btn-primary.ed-btn-primary[aria-disabled="true"] { filter: grayscale(1) brightness(.7); opacity: .6; }
/* Standard-Körper mit niedriger Gewichtung (0,1,2), damit die Varianten unten (0,2,2) immer gewinnen — vorher stand
   --cb im Grund-Selektor oben (bis 0,3,3) und schlug l · r bei Reitern: die Reihe trug die schräge Standard-Form. */
html body :is(.ed-btn-primary, [data-profil-bearbeiten], [data-subtab-aktiv], button[aria-pressed="true"], .ed-tab.active) { --cb: url(/assets/marke/chrom/blech-alle.webp?v=3); }
html body :is([data-v="1"], [data-v="2"], [data-v="3"], [data-v="5"], [data-v="m"], [data-v="g"]):is(.ed-btn-primary, [data-profil-bearbeiten], [data-subtab-aktiv], button[aria-pressed="true"], .ed-tab.active) { --cb: url(/assets/marke/chrom/blech-alle.webp?v=3); }
html body [data-v="r"]:is(.ed-btn-primary, [data-profil-bearbeiten], [data-subtab-aktiv], button[aria-pressed="true"], .ed-tab.active) { --cb: url(/assets/marke/chrom/blech-trbr.webp?v=3); }
html body [data-v="l"]:is(.ed-btn-primary, [data-profil-bearbeiten], [data-subtab-aktiv], button[aria-pressed="true"], .ed-tab.active) { --cb: url(/assets/marke/chrom/blech-tlbl.webp?v=3); }
html body :is([data-v="o"], [data-v="4"]):is(.ed-btn-primary, [data-profil-bearbeiten], [data-subtab-aktiv], button[aria-pressed="true"], .ed-tab.active) { --cb: url(/assets/marke/chrom/blech-tltr.webp?v=3); }
html body [data-v="u"]:is(.ed-btn-primary, [data-profil-bearbeiten], [data-subtab-aktiv], button[aria-pressed="true"], .ed-tab.active) { --cb: url(/assets/marke/chrom/blech-blbr.webp?v=3); }
/* Runde Chrom-Knöpfe (data-rund) und der gewählte Tab der Handy-Leiste = die Pille */
html body .ed-btn-primary[data-rund][data-rund][data-rund]:not(.ed-btn-icon), html body [data-profil-bearbeiten][data-rund][data-rund][data-rund]:not(.ed-btn-icon) {
  border-image: url(/assets/marke/chrom/pille.webp?v=3) 40 112 fill / 7px 20px !important; border-radius: 999px !important;
}
/* Abwechslung (16.11., Vincent: „kannst du die besten davon einbauen, für die größte Abwechslung“): vier Chrom-Arten,
   fest nach data-v — B klar mit schmalem Wulst (1), A dunkler Rand mit hellem Spiegel (3/m/g, l, r, 5), C weiche Kuppel
   (4, o, u), E breiter Wulst (2). Eine Reihe (l · m · r) bleibt aus einer Art. */
html body :is(.ed-btn-primary, [data-profil-bearbeiten])[data-rund][data-rund][data-rund][data-v="2"]:not(.ed-btn-icon) { border-image-source: url(/assets/marke/chrom/pille-e.webp?v=3) !important; }
html body :is(.ed-btn-primary, [data-profil-bearbeiten])[data-rund][data-rund][data-rund]:is([data-v="3"], [data-v="m"], [data-v="g"], [data-v="l"], [data-v="r"], [data-v="5"]):not(.ed-btn-icon) { border-image-source: url(/assets/marke/chrom/pille-a.webp?v=3) !important; }
html body :is(.ed-btn-primary, [data-profil-bearbeiten])[data-rund][data-rund][data-rund]:is([data-v="4"], [data-v="o"], [data-v="u"]):not(.ed-btn-icon) { border-image-source: url(/assets/marke/chrom/pille-c.webp?v=3) !important; }
.ed-tab-btn[aria-current="page"]::before {
  background: none !important; box-shadow: none !important; border: 0 solid transparent !important; inset: -4px 0 -6px !important;
  border-image: url(/assets/marke/chrom/pille-a.webp?v=3) 40 112 fill / 9px 22px !important; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45));
}

/* Strainland 3D (16.11.) — Vincents Vorlage: Joystick = dunkle Scheibe mit dickem, poliertem Chrom-Reif, Knopf dunkel mit
   feinem Innenrand; runde Steuerknöpfe mit Chrom-Ring statt dünnem Grau. Die Reifen sind gerenderte Liquid-Chrome-Körper
   (assets/marke/chrom/ring-dick.webp · ring.webp, transparente Mitte, Innenradius ≈ 78 % bzw. 84 %) — kein CSS-Verlauf.
   Die Scheibe darunter ist DECKEND und endet am Innenradius (halbdurchsichtig schien früher das Chrom durch die Scheibe). */
.z3d-joy, .z3d-rund { --zr-innen: #141518; }
html.theme-light .z3d-rund { --zr-innen: #f7f7f8; }
.z3d-joy {
  width: 104px; height: 104px; border: 0 !important; touch-action: none;
  background:
    url(/assets/marke/chrom/ring-dick.webp?v=1) center / 100% 100% no-repeat,
    radial-gradient(circle closest-side, #23252a 0, #141518 55%, #0b0b0d 78%, rgba(11, 11, 13, 0) 80%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
}
.z3d-joy.aktiv { box-shadow: 0 4px 12px rgba(0, 0, 0, .45), 0 0 0 2px rgba(201, 204, 209, .45); }
.z3d-joy-knopf {
  width: 44px; height: 44px; border-radius: 999px; border: 0 !important;
  background: radial-gradient(circle at 40% 32%, #2a2c31 0, #17181c 62%, #101114 100%) !important;
  box-shadow: inset 0 0 0 1.5px rgba(201, 204, 209, .5), inset 0 2px 1px rgba(255, 255, 255, .07), 0 3px 6px rgba(0, 0, 0, .6);
}
.z3d-joy.aktiv .z3d-joy-knopf { box-shadow: inset 0 0 0 1.5px #eef0f2, inset 0 2px 1px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .6); }
.z3d-joy--gross { width: 112px; height: 112px; }
.z3d-joy--gross .z3d-joy-knopf { width: 48px; height: 48px; }
.z3d-rund:not(.z3d-rund--an):not(.aktiv):not([aria-pressed="true"]) {
  border: 0 !important; color: var(--ink-1);
  background:
    url(/assets/marke/chrom/ring.webp?v=1) center / 100% 100% no-repeat,
    radial-gradient(circle closest-side, var(--zr-innen) 0 84%, rgba(0, 0, 0, 0) 87%) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.z3d-rund:disabled { opacity: .45; }
/* außerhalb des Vollbilds (Bühne als Karte auf der Seite) bleibt der Joystick kleiner */
.z3d-buehne:not(.z3d-buehne--voll) .z3d-joy:not(.z3d-joy--gross) { width: 88px; height: 88px; }
.z3d-buehne:not(.z3d-buehne--voll) .z3d-joy:not(.z3d-joy--gross) .z3d-joy-knopf { width: 38px; height: 38px; }
/* Foto-Knopf neben dem Joystick */
.z3d-buehne--joy .z3d-foto { left: 108px; }
/* „⋯“ steht im Vollbild neben dem Joystick (statt als Block darüber) — der Raum darüber bleibt frei */
.z3d-vchat-oben > .z3d-vchat-mehr { flex: 1 1 auto; min-width: 0; max-height: min(32vh, 210px); padding: 6px 10px 8px; }
.z3d-vchat-mehr [data-raum-gesten] { margin-top: 2px !important; }

/* Grow-Spiel spielbar (16.11.) — Vincent am Handy: „Dinge wie den Dünger kann man zwar anklicken, aber sie werden nicht
   ausgewählt bzw. lässt sich nichts wirklich verstehen“. (1) Gewählt = Chrom-Rahmen in Blech-Form um Bild + Wort
   (Chrom = aktive Bedienung), innen eine leichte Tönung im Akzent; die übrigen treten erst zurück, wenn in der Reihe etwas
   gewählt ist — vorher stehen alle gleich hell da („noch nichts gewählt“). (2) Hover nur mit echter Maus: auf dem Handy blieb
   :hover am getippten Bild kleben, ein GESPERRTES Bild leuchtete auf (Hover schlug „--zu“) und sah gewählt aus. (3) Satz
   „Gewählt: …“ als Bestätigung. (4) Pflanzschild = Tutorial, Steckschild mit Spitze zum nächsten Tipp, Ziel umrandet. */
.ed-wahl-ding .ed-wahl-bild, .ed-wahl-ding:hover .ed-wahl-bild { opacity: .92; }
@media (hover: hover) and (pointer: fine) { .ed-wahl-ding:not(.ed-wahl-ding--zu):not(.ed-wahl-ding--an):hover .ed-wahl-bild { opacity: 1; } }
.ed-wahl:has(> .ed-wahl-ding--an) > .ed-wahl-ding:not(.ed-wahl-ding--an) .ed-wahl-bild { opacity: .38; filter: saturate(.55); }
.ed-wahl:has(> .ed-wahl-ding--an) > .ed-wahl-ding:not(.ed-wahl-ding--an) .ed-wahl-wort { color: var(--ink-3); }
.ed-wahl-ding { position: relative; isolation: isolate; padding: 7px 6px 6px; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.ed-wahl-ding.ed-wahl-ding--an { --ecke: 7px; clip-path: var(--blech); background: var(--chrom-ring); }
.ed-wahl-ding.ed-wahl-ding--an::after {
  content: ""; position: absolute; inset: 2px; z-index: -1; pointer-events: none; clip-path: var(--blech);
  background: color-mix(in oklab, var(--zeichen) 16%, var(--paper-elev));
}
.ed-wahl-ding--an .ed-wahl-bild { opacity: 1 !important; transform: none; filter: none; }
.ed-wahl-ding--an .ed-wahl-wort { color: var(--ink-1); font-weight: 650; }
/* der Stern sitzt oben rechts im Rahmen (inline schob er „1 Kappe“ in zwei Zeilen) */
.ed-wahl-ding--an .ed-wahl-wort::before { position: absolute; top: 5px; right: 5px; width: 12px; height: 12px; }
.ed-wahl-ding.ed-wahl-ding--zu .ed-wahl-bild, .ed-wahl-ding.ed-wahl-ding--zu:hover .ed-wahl-bild { opacity: .26 !important; filter: grayscale(1); }
.ed-wahl-ding--zu .ed-wahl-unter { color: var(--ink-2); }
.ed-wahl-ding:focus-visible { outline-offset: -3px; }
.ed-wahl-satz { margin: 0; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.45; color: var(--ink-1); }
.ed-wahl-satz-wort { color: var(--ink-3); }
.ed-wahl-antwort {
  text-align: left; padding: 10px 12px; cursor: pointer; background: transparent; color: var(--ink-1);
  font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.4;
  border: 1px solid var(--line-2); border-radius: var(--r-md); -webkit-tap-highlight-color: transparent;
}
.ed-wahl-antwort--an { border-color: transparent; box-shadow: inset 0 0 0 2px var(--zeichen); background: color-mix(in oklab, var(--zeichen) 14%, transparent); font-weight: 600; }
.ed-wahl-antwort--an::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 7px; vertical-align: -1px; background: url("/assets/marke/stern.webp") center / contain no-repeat; }
.ed-wahl-antwort:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.ed-wahl-hilfe-knopf { background: none; border: 0; padding: 4px 0; font: inherit; font-size: calc(15px * var(--ts, 1)); color: var(--zeichen-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ed-wahl-hilfe { display: grid; gap: 6px; padding: 10px 0 10px 12px; border-left: 1px solid var(--line-2); }
.ed-wahl-hilfe p { margin: 0; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.45; color: var(--ink-2); }
.ed-wahl-hilfe b { color: var(--ink-1); font-weight: 600; }
/* Pflanzschild: ein Steckschild aus dem Beet — Tafel mit eingezogenen Ecken, darunter der Stab mit Spitze zum Ziel.
   Fünf Varianten fest nach dem Schritt: Neigung und Lage des Stabs. */
.ed-pflanzschild { display: grid; justify-items: start; gap: 0; margin: 2px 0 -4px; scroll-margin: 90px 0 140px; }
.ed-pflanzschild-tafel {
  position: relative; display: grid; gap: 8px; max-width: 520px; box-sizing: border-box; padding: 12px 14px 10px;
  background: var(--zeichen); color: var(--ink-1); isolation: isolate;
  --k: 9px; clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k));
}
.ed-pflanzschild-tafel::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; pointer-events: none; background: var(--paper-card);
  --kk: calc(var(--k) - 1px); clip-path: polygon(var(--kk) 0, calc(100% - var(--kk)) 0, 100% var(--kk), 100% calc(100% - var(--kk)), calc(100% - var(--kk)) 100%, var(--kk) 100%, 0 calc(100% - var(--kk)), 0 var(--kk));
}
.ed-pflanzschild-titel { font-family: var(--font-display); font-size: calc(17px * var(--ts, 1)); font-weight: 600; line-height: 1.25; }
.ed-pflanzschild-text { display: grid; gap: 4px; }
.ed-pflanzschild-text p { margin: 0; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.45; color: var(--ink-2); }
.ed-pflanzschild-text b { color: var(--ink-1); font-weight: 600; }
.ed-pflanzschild-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.ed-pflanzschild-aus { background: none; border: 0; padding: 6px 0; font: inherit; font-size: calc(15px * var(--ts, 1)); color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-left: auto; }
.ed-pflanzschild-fuss[data-allein] { justify-content: center; }
.ed-pflanzschild-fuss[data-allein] .ed-pflanzschild-aus { margin-left: 0; }
.ed-pflanzschild-aus:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.ed-pflanzschild-stab { display: block; width: 4px; height: 18px; margin-left: 34px; background: var(--zeichen); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.ed-pflanzschild[data-v="2"] .ed-pflanzschild-tafel { transform: rotate(-.6deg); }
.ed-pflanzschild[data-v="2"] .ed-pflanzschild-stab { margin-left: 52px; }
.ed-pflanzschild[data-v="3"] .ed-pflanzschild-tafel { transform: rotate(.5deg); --k: 6px; }
.ed-pflanzschild[data-v="3"] .ed-pflanzschild-stab { margin-left: 24px; }
.ed-pflanzschild[data-v="4"] .ed-pflanzschild-tafel { --k: 12px; }
.ed-pflanzschild[data-v="4"] .ed-pflanzschild-stab { margin-left: 70px; height: 14px; }
.ed-pflanzschild[data-v="5"] .ed-pflanzschild-tafel { transform: rotate(-.35deg); --k: 4px; }
.ed-pflanzschild[data-v="5"] .ed-pflanzschild-stab { margin-left: 44px; height: 22px; }
/* Ziel des nächsten Tipps: gestrichelter Rahmen im Akzent, atmet leise (nicht bei reduzierter Bewegung) */
[data-tutorial-ziel], [data-tutorial-pflanze] .ed-pflanzplatz[data-status="faellig"] {
  outline: 2px dashed var(--zeichen); outline-offset: 5px; border-radius: 2px; animation: ed-tutorial-ziel 1.8s ease-in-out infinite;
}
@keyframes ed-tutorial-ziel { 0%, 100% { outline-color: var(--zeichen); } 50% { outline-color: color-mix(in oklab, var(--zeichen) 35%, transparent); } }
@media (prefers-reduced-motion: reduce) { [data-tutorial-ziel], [data-tutorial-pflanze] .ed-pflanzplatz[data-status="faellig"] { animation: none; } }
/* 3D-Zelt: gewählter Chip = Chrom-Fläche (aktive Bedienung), nicht nur ein farbiger Rand */
.z3d-schild .z3d-schild-chip { min-height: 36px; padding: 6px 12px; font-size: calc(15px * var(--ts, 1)); color: var(--ink-1); -webkit-tap-highlight-color: transparent; }
.z3d-schild .z3d-schild-chip[aria-pressed="true"] { background: var(--chrom); color: var(--chrom-text); border-color: transparent; font-weight: 650; box-shadow: var(--blech-schatten); }
.z3d-schild .z3d-schild-chip--breit { min-height: 0; }
.z3d-schild .z3d-schild-woche { flex: 1 1 100%; margin-top: 4px; background: var(--chrom); color: var(--chrom-text); border-color: transparent; font-weight: 650; box-shadow: var(--blech-schatten); border-radius: 2px; --ecke: 6px; clip-path: var(--blech); }
/* Zelt-Pille „Woche abschließen“: bereit = Chrom, offen = gestrichelt mit leiser Schrift (vorher grau-in-gold, kaum lesbar) */
.z3d-zeltpille .z3d-woche:not([hidden]) { height: 30px; border-radius: 999px; }
.z3d-zeltpille .z3d-woche[data-z3d-woche-fertig="bereit"] { background: var(--chrom); color: var(--chrom-text); border: 0; opacity: 1; font-weight: 650; }
.z3d-zeltpille .z3d-woche[data-z3d-woche-fertig="offen"] { background: transparent; color: var(--ink-3); border: 1px dashed var(--line-3); opacity: 1; }
/* Ende Grow-Spiel spielbar (16.11.) */

/* Orden + Konzentrate in Chrom (16.11.) ═══════════════════════════════════════════════════════════════════════════════
   Vincent: „Die Chromedesigns sind noch nicht bei Hash, Extrakte etc.“ · „Bitte auch noch die Orden weiter entwickeln.“
   Konzentrate: die Code-Zeichnungen der Arten (konsistenz-bilder.jsx) tragen je Form EINEN getönten Chrom-Verlauf
   (#chrom-g-k-hash · -extrakt · -edible · -samen, userSpaceOnUse 4–44 = viewBox 48). Hell = Graphit-Stufen (--cg). */
.ed-kbild-chrom :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke-width: 1.9; }
.ed-kbild-chrom[data-chrom-k="hash"] :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-k-hash) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="extrakt"] :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-k-extrakt) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="edible"] :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-k-edible) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="samen"] :is(path, line, polyline, polygon, circle, rect, ellipse):not([stroke="none"]) { stroke: url(#chrom-g-k-samen) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="hash"] [stroke="none"] { fill: url(#chrom-g-k-hash) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="extrakt"] [stroke="none"] { fill: url(#chrom-g-k-extrakt) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="edible"] [stroke="none"] { fill: url(#chrom-g-k-edible) var(--ink-1) !important; }
.ed-kbild-chrom[data-chrom-k="samen"] [stroke="none"] { fill: url(#chrom-g-k-samen) var(--ink-1) !important; }
/* In Messwerten: die allgemeine Regel nimmt gefüllten Formen die Füllung — Punkte der Zeichnungen behalten sie. */
.ed-messwert .ed-messwert-zeichen svg.ed-kbild-chrom [stroke="none"][fill] { fill: url(#chrom-g-k-hash) var(--ink-1) !important; }
.ed-messwert .ed-messwert-zeichen svg.ed-kbild-chrom[data-chrom-k="extrakt"] [stroke="none"][fill] { fill: url(#chrom-g-k-extrakt) var(--ink-1) !important; }
.ed-messwert .ed-messwert-zeichen svg.ed-kbild-chrom[data-chrom-k="edible"] [stroke="none"][fill] { fill: url(#chrom-g-k-edible) var(--ink-1) !important; }
.ed-messwert .ed-messwert-zeichen svg.ed-kbild-chrom[data-chrom-k="samen"] [stroke="none"][fill] { fill: url(#chrom-g-k-samen) var(--ink-1) !important; }
.ed-messwerte--kompakt { margin: 12px 0 8px; padding: 9px 0; gap: 8px 18px; }
.ed-messwerte--kompakt .ed-messwert-wert { font-size: calc(15px * var(--ts, 1)); }
/* Karte einer Art = Etikett; im Glas die Zeichnung auf Papier, darunter Name + Chrom-Zahl, ganz unten der Ablauf klein. */
.ed-konsistenz-karte .ed-konsistenz-glas { background: var(--paper-1); }
html.theme-light .ed-konsistenz-karte .ed-konsistenz-glas { background: var(--paper-0); }
.ed-konsistenz-karte:focus-visible { outline: 2px solid var(--zeichen, var(--ink-1)); outline-offset: -4px; }
.ed-konsistenz-kopf { --eg: var(--paper-1); }
html.theme-light .ed-konsistenz-kopf { --eg: var(--paper-0); }
.ed-mini-ablauf { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow: hidden; }
.ed-mini-ablauf .ed-mini-pfeil { flex-shrink: 0; color: var(--ink-3); }
.ed-mini-ablauf > svg.ed-kbild-chrom { flex-shrink: 0; }
.ed-ablauf--chrom .ed-ablauf-station + .ed-ablauf-station::before { background: var(--ink-3); }
[data-konsistenz-eintrag]:focus-visible { outline: 2px solid var(--zeichen, var(--ink-1)); outline-offset: -4px; }

/* Profilring in Liquid Chrome (16.11., Vincent mit Vorlage: „Und der Profilring zum Fixen!“): ein gerenderter Chromreif
   (assets/marke/chrom/ring.webp, Innenradius ≈ 84 %) liegt über dem Rand des Profilbilds — eigenes Profil (data-avatar-slot)
   und Fremdprofil (data-chrom-ring). 7 % über den Rand hinaus, damit der Reif mit der Bildgröße wächst. */
[data-avatar-slot], [data-chrom-ring] { position: relative; display: inline-flex; flex: none; border-radius: 999px; }
[data-avatar-slot]::after, [data-chrom-ring]::after { content: ""; position: absolute; inset: -7%; z-index: 3; pointer-events: none;
  background: url(/assets/marke/chrom/ring.webp?v=1) center / 100% 100% no-repeat; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
html.theme-light [data-avatar-slot]::after, html.theme-light [data-chrom-ring]::after { filter: drop-shadow(0 2px 5px rgba(11, 11, 13, .25)); }
html body .profile-avatar-ring { border: 0 !important; background: transparent !important; width: auto !important; height: auto !important; }
html body [data-avatar-slot] > [role="button"], html body [data-avatar-slot] > div > [role="button"] { border: 0 !important; box-shadow: none !important; }
/* Kompakte Messwerte (Karte, Infobox): jedes Feld wächst und steht mittig — ein einzelnes Feld in der letzten Zeile
   steht dann mittig statt links neben leerer Fläche (Ordnung im Bild, Punkt 3). */
.ed-messwerte--kompakt .ed-messwert { flex: 1 0 auto; justify-content: center; }
html body .ed-profil-ring { border: 0 !important; padding: 3px !important;
  background: url(/assets/marke/chrom/ring.webp?v=1) center / 100% 100% no-repeat, radial-gradient(circle closest-side, var(--paper-0) 0 84%, transparent 86%) !important; }
html body .ed-profil-ring > img, html body .ed-profil-ring > span, html body .ed-profil-ring > div { border-radius: 999px; }
/* Orden (16.11.): Linien mit Fortschritt. Register auf breiter Fläche, schmal eine Spalte (Grid-Spalten minmax(0, 1fr)). */
.ed-orden-linien { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 28px; }
.ed-orden-linie { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-width: 0;
  padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line-1); cursor: pointer; text-align: left; color: inherit; font: inherit; }
.ed-orden-linie:focus-visible { outline: 2px solid var(--zeichen, var(--ink-1)); outline-offset: 2px; border-radius: 4px; }
.ed-orden-linie-emblem { width: 54px; height: 54px; display: block; }
.ed-orden-linie-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ed-orden-linie-name { font-family: var(--font-display); font-size: calc(16px * var(--ts, 1)); color: var(--ink-1); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-orden-linie-unter { font-family: var(--font-display); font-size: calc(13px * var(--ts, 1)); color: var(--ink-3); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-orden-linie-fehlt { font-family: var(--font-display); font-size: calc(13.5px * var(--ts, 1)); color: var(--ink-2); line-height: 1.3; }
.ed-orden-linie-vorschau { width: 36px; height: 36px; display: block; opacity: .9; }
/* Chrom-Fortschrittsband: Rille in Linie, Füllung = Chrom mit dem Ton der Kategorie (wie die Embleme). */
.ed-orden-band { position: relative; height: 7px; margin: 5px 0 1px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.ed-orden-band > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; min-width: 7px;
  background: linear-gradient(180deg, color-mix(in oklab, #ffffff 70%, var(--orden-ton)) 0%, color-mix(in oklab, #e2e4e8 60%, var(--orden-ton)) 30%,
    color-mix(in oklab, #8a8d93 52%, var(--orden-ton)) 55%, color-mix(in oklab, #c9ccd1 60%, var(--orden-ton)) 80%, color-mix(in oklab, #ffffff 72%, var(--orden-ton)) 100%);
  box-shadow: inset 0 0 0 .5px rgba(11, 11, 13, .35); }
html.theme-light .ed-orden-band > span { background: linear-gradient(180deg, color-mix(in oklab, #9a9da3 60%, var(--orden-ton)) 0%, color-mix(in oklab, #3a3c41 55%, var(--orden-ton)) 55%, color-mix(in oklab, #8a8d93 60%, var(--orden-ton)) 100%); }
@media (prefers-reduced-motion: no-preference) { .ed-orden-band > span { transition: width 600ms cubic-bezier(.2, .8, .2, 1); } }
/* Stufen-Reihe im Orden-Blatt: fünf Plätze teilen die Breite, die gezeigte Stufe trägt den Chrom-Stern. */
.ed-orden-stufen { display: flex; justify-content: space-between; gap: 6px; margin: 20px 0 4px; padding: 14px 0 6px; border-top: 1px solid var(--line-1); }
.ed-orden-stufe { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink-3);
  font-family: var(--font-display); font-size: calc(13px * var(--ts, 1)); font-variant-numeric: tabular-nums; }
.ed-orden-stufe[data-hat="1"] { color: var(--ink-2); }
.ed-orden-stufe.ist { color: var(--ink-1); font-weight: 600; }
.ed-orden-stufe.ist > span::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .25em; vertical-align: -.1em;
  background: url("/assets/marke/stern.webp") center / contain no-repeat; }
.ed-orden-stufe:focus-visible { outline: 2px solid var(--zeichen, var(--ink-1)); outline-offset: -2px; border-radius: 4px; }
/* „Orden erhalten“: das Emblem baut sich auf — Form dreht ein, Scheibe erscheint, das Zeichen zeichnet sich, Glanz läuft drüber. */
@media (prefers-reduced-motion: no-preference) {
  /* nur Teile OHNE eigenes transform-Attribut — transform-origin verschiebt sonst auch das Attribut (das Zeichen) */
  .ed-orden-aufbau :is([data-orden-teil="form"], [data-orden-teil="kranz"], [data-orden-teil="scheibe"]) { transform-box: view-box; transform-origin: 50px 50px; }
  .ed-orden-aufbau [data-orden-teil="form"] { animation: ordenForm 620ms cubic-bezier(.2, 1.3, .4, 1) both; }
  .ed-orden-aufbau [data-orden-teil="kranz"] { animation: ordenKranz 900ms cubic-bezier(.2, .9, .3, 1) 120ms both; }
  .ed-orden-aufbau [data-orden-teil="scheibe"] { animation: ordenScheibe 420ms ease-out 260ms both; }
  .ed-orden-aufbau [data-orden-teil="zeichen"] path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ordenZeichen 700ms ease-out 480ms forwards; }
  .ed-orden-aufbau [data-orden-teil="glanz"] { transform-box: fill-box; transform-origin: 0 0; animation: ordenGlanz 900ms ease-in-out 1000ms both; }
  .ed-orden-toast { animation: ordenToast 320ms cubic-bezier(.34, 1.56, .64, 1); }
}
@keyframes ordenForm { from { transform: scale(.35) rotate(-50deg); opacity: 0; } 70% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ordenKranz { from { transform: scale(.6) rotate(40deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ordenScheibe { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ordenZeichen { to { stroke-dashoffset: 0; } }
@keyframes ordenGlanz { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(190px); } }
@keyframes ordenToast { from { transform: translateY(-30px) scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Grow-Spiel Tage-Modus + Growspielbuch (17.11.) ─────────────────────────────────────────────────────────────── */
/* Zwei Handgriffe nebeneinander: Knopf (Graphit-Blech) mit Bild + Wort, darunter wie oft diese Woche und was heute geht */
.ed-tage-griffe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 560px; margin-inline: auto; }
.ed-tage-griff { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.ed-tage-knopf { width: 100%; max-width: 240px; min-height: 64px; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; }
.ed-tage-bild { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.ed-tage-bild svg { width: 100%; height: 100%; display: block; }
.ed-tage-wort { font-family: var(--font-display); font-size: calc(17px * var(--ts, 1)); font-weight: 500; }
.ed-tage-zahl { font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); color: var(--ink-2); display: grid; justify-items: center; line-height: 1.25; }
.ed-tage-zahl-n { white-space: nowrap; }
.ed-tage-zahl-w { font-size: calc(14px * var(--ts, 1)); color: var(--ink-3); }
.ed-tage-zahl b { font-size: calc(24px * var(--ts, 1)); font-weight: 600; margin-right: 2px; }
.ed-tage-status { font-family: var(--font-display); font-size: calc(14px * var(--ts, 1)); color: var(--ink-3); }
.ed-tage-griff[data-status="dran"] .ed-tage-status { color: var(--zeichen-text, var(--ink-1)); font-weight: 600; }
.ed-tage-griff[data-status="voll"] .ed-tage-status, .ed-tage-griff[data-status="heute"] .ed-tage-status { color: var(--ink-2); }
.ed-tage-rueck { margin: 0; text-align: center; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); color: var(--ink-1); }
.ed-tage-rueck[data-grow-tage-rueck="zu_viel"] { color: var(--warn, #b04040); }

/* Das Heft: Papier mit Spiralbindung oben, eine Seite je Woche */
.ed-growbuch { position: relative; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; box-sizing: border-box;
  background: var(--paper-card, var(--paper-1)); color: var(--ink-1); border: 1px solid var(--line-2); border-radius: var(--r-md, 4px);
  padding: 34px max(18px, 4%) 16px; display: grid; gap: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.ed-growbuch::before { content: ""; position: absolute; left: 18px; right: 18px; top: 8px; height: 14px;
  background: radial-gradient(circle at 50% 50%, var(--paper-0) 0 3.2px, var(--ink-3) 3.4px 4.6px, transparent 4.8px) 0 0 / 22px 14px repeat-x; opacity: .9; }
.ed-growbuch-zu { position: absolute; top: 26px; right: 10px; width: 36px; height: 36px; border: none; background: none; color: var(--ink-2); font-size: 24px; line-height: 1; cursor: pointer; border-radius: 999px; }
.ed-growbuch-seite { display: grid; gap: 12px; justify-items: center; text-align: center; min-width: 0; }
.ed-growbuch-kicker { font-family: var(--font-display); font-size: calc(14px * var(--ts, 1)); color: var(--zeichen-text, var(--ink-3)); }
.ed-growbuch-titel { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: calc(28px * var(--ts, 1)); line-height: 1.1; }
.ed-growbuch-satz { margin: 0; max-width: 46ch; font-family: var(--font-display); font-size: calc(15.5px * var(--ts, 1)); line-height: 1.5; color: var(--ink-2); }
.ed-growbuch-bild { display: flex; justify-content: center; }
.ed-growbuch-reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; align-items: end; }
.ed-growbuch-mini { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.ed-growbuch-mini svg { width: 100% !important; max-width: 110px; height: auto !important; }
.ed-growbuch-mini b { font-family: var(--font-display); font-weight: 500; font-size: calc(14px * var(--ts, 1)); }
.ed-growbuch-regeln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.ed-growbuch-regel { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: left; font-family: var(--font-display); font-size: calc(16px * var(--ts, 1)); }
.ed-growbuch-regel b { font-size: calc(28px * var(--ts, 1)); font-weight: 600; }
.ed-growbuch-regel small { font-size: calc(14px * var(--ts, 1)); color: var(--ink-3); }
.ed-growbuch-ding { width: 44px; height: 54px; display: block; flex-shrink: 0; }
.ed-growbuch-ding svg { width: 100%; height: 100%; display: block; }
.ed-growbuch-tafel { border-collapse: collapse; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); }
.ed-growbuch-tafel th, .ed-growbuch-tafel td { padding: 4px 12px; border-bottom: 1px solid var(--line-1); font-weight: 400; }
.ed-growbuch-tafel thead th { color: var(--ink-3); }
.ed-growbuch-tafel [data-eigen] { color: var(--ink-1); font-weight: 600; }
.ed-growbuch-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; text-align: left; max-width: 46ch; font-family: var(--font-display); font-size: calc(15px * var(--ts, 1)); line-height: 1.45; color: var(--ink-2); }
.ed-growbuch-liste b { color: var(--ink-1); font-weight: 600; }
.ed-growbuch-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line-1); }
.ed-growbuch-nr { font-family: var(--font-display); font-size: calc(14px * var(--ts, 1)); color: var(--ink-3); }
@media (max-width: 420px) { .ed-tage-knopf { gap: 6px; padding-inline: 8px; } .ed-tage-bild { width: 32px; height: 32px; } }
