/* Media-App im Design von Study (iOS, Liquid Glass, Karten mit Farbverlauf), Akzentfarbe Rot.
   Schrift: SF Pro über die Systemschrift; SF Pro darf nicht als Webfont eingebettet werden. */
:root {
  color-scheme: light;
  --hg: #f2f2f7; --karte: #ffffff; --karte-2: #f2f2f7; --text: #000000;
  --leise: rgba(60, 60, 67, .6); --rand: rgba(60, 60, 67, .18); --fuellung: rgba(118, 118, 128, .12);
  --segment: #ffffff; --haupt: #ff3b30; --haupt-zart: rgba(255, 59, 48, .12); --orange: #c93400;
  --schatten-karte: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 28px -14px rgba(0, 0, 0, .18);
  --glas: rgba(255, 255, 255, .62); --glas-knopf: rgba(255, 255, 255, .55);
  --lg-kante: rgba(255, 255, 255, .7); --lg-kante2: rgba(255, 255, 255, .3); --lg-rand: rgba(0, 0, 0, .08);
  --lg-schatten: 0 10px 30px -10px rgba(0, 0, 0, .22); --aktiv-tab: rgba(0, 0, 0, .06);
  --leuchten: rgba(255, 59, 48, .14); --leuchten-2: rgba(255, 149, 0, .10); --leuchten-3: rgba(191, 90, 242, .10);
  --karte-fl: color-mix(in srgb, var(--karte) 90%, transparent);
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  /* Farbtöne der Karten (wie die Fächer in Study) */
  --t-hersteller: rgba(255, 59, 48, .16); --t-ki: rgba(191, 90, 242, .16); --t-konflikte: rgba(255, 149, 0, .16);
  --t-graz: rgba(52, 199, 89, .16); --t-welt: rgba(10, 132, 255, .14); --t-wirtschaft: rgba(48, 176, 199, .16);
  --t-maerkte: rgba(255, 204, 0, .16); --t-videos: rgba(255, 59, 48, .10); --t-x: rgba(142, 142, 147, .16);
}
:root[data-theme="dark"] { color-scheme: dark;
    --hg: #000000; --karte: #1c1c1e; --karte-2: #2c2c2e; --text: #ffffff;
    --leise: rgba(235, 235, 245, .6); --rand: rgba(84, 84, 88, .65); --fuellung: rgba(118, 118, 128, .24);
    --segment: #636366; --haupt: #ff453a; --haupt-zart: rgba(255, 69, 58, .2); --orange: #ff9f0a;
    --schatten-karte: 0 0 transparent;
    --glas: rgba(40, 40, 44, .62); --glas-knopf: rgba(255, 255, 255, .09);
    --lg-kante: rgba(255, 255, 255, .28); --lg-kante2: rgba(255, 255, 255, .1); --lg-rand: rgba(255, 255, 255, .08);
    --lg-schatten: 0 12px 32px -10px rgba(0, 0, 0, .6); --aktiv-tab: rgba(255, 255, 255, .1);
    --leuchten: rgba(255, 69, 58, .13); --leuchten-2: rgba(255, 159, 10, .08); --leuchten-3: rgba(94, 92, 230, .16);
    --karte-fl: color-mix(in srgb, var(--karte) 84%, transparent);
    --t-hersteller: rgba(255, 69, 58, .2); --t-ki: rgba(191, 90, 242, .2); --t-konflikte: rgba(255, 159, 10, .18);
    --t-graz: rgba(48, 209, 88, .16); --t-welt: rgba(10, 132, 255, .18); --t-wirtschaft: rgba(64, 200, 224, .16);
    --t-maerkte: rgba(255, 214, 10, .14); --t-videos: rgba(255, 69, 58, .13); --t-x: rgba(152, 152, 157, .16);
  }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; background: var(--hg); overflow-x: clip; }
body { margin: 0; background: var(--hg); color: var(--text); font: 18px/1.45 var(--sf); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip; padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); }
body, button, input, select, textarea { font-family: var(--sf); }
/* Weiche Farbflecken fest am Fenster hinter allem, wie in Study (Philipp, 30.11.2026: „nicht einfach rot eingefärbt …
   schön dunkel“); body ohne eigene Fläche, sonst deckt er die Ebene zu (html trägt den Grund).
   Größer als der Bildschirm (lvh: Safari am iPhone mit ein- und ausfahrender Leiste zeigt sonst unten eine Kante).
   Ohne Dauer-Animation: damit blieb das eingebettete YouTube-Video in der Web-App am iPhone als Standbild stehen, dazu
   schwarze Flächen beim Scrollen (30.11.2026; in Safari lief es, Ursache nicht ganz geklärt, die Bewegung war ohnehin kaum
   zu sehen). */
body { background: transparent; }
body::before { content: ""; position: fixed; left: 0; width: 100%; top: -25lvh; height: 150lvh; z-index: -1; pointer-events: none;
  background: radial-gradient(34vmax 26vmax at 86% 30%, var(--leuchten), transparent 70%),
    radial-gradient(30vmax 24vmax at 8% 30%, var(--leuchten-2), transparent 70%),
    radial-gradient(38vmax 28vmax at 22% 82%, var(--leuchten-3), transparent 70%); }
/* Offenes Blatt (Video, Artikel; .fest aus blatt() in app.js): Ebene weg, Grund wieder fest gefüllt wie vor #768 */
body.fest { background: var(--hg); }
body.fest::before { display: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
a { color: var(--haupt); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.klein { font-size: 13px; color: var(--leise); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; }
.leise { color: var(--leise); font-size: 16px; }
.fehler { color: var(--haupt); font-size: 15px; }
.notiz { color: var(--leise); font-size: 14px; padding: 2px 4px 14px; }

#app { min-height: 100vh; min-height: 100dvh; }   /* kurze Seiten (z. B. „Lädt …“) mindestens bildschirmhoch, sonst setzt iOS die feste Tab-Leiste zu hoch an (wie Cashflow, Study) */
main { max-width: 680px; margin: 0 auto; padding: 4px 16px calc(env(safe-area-inset-bottom) + 110px); }
.held { padding: 6px 4px 18px; }
.held h1 { font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
.held .klein { margin-bottom: 6px; }
.held p { margin: 6px 0 0; color: var(--leise); font-size: 16px; }
.held p b { color: var(--haupt); font-weight: 600; }

/* Karten mit Farbverlauf (wie Study) */
/* Farbton nur als kleiner Schein oben links, fest in px: der Verlauf über die ganze Karte färbte lange Listen (YouTube am Mac)
   ganz rot ein (30.11.2026). Die Karte lässt die Flecken dahinter leicht durchscheinen. */
.karte { background: radial-gradient(420px 220px at 0 0, var(--ton, transparent), transparent 72%), var(--karte-fl);
  border-radius: 16px; padding: 14px 0 6px; margin: 0 0 16px; box-shadow: var(--schatten-karte); overflow: hidden; }
.karte-kopf { display: flex; justify-content: space-between; align-items: baseline; padding: 0 16px 6px; }
.karte-kopf h2 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--leise); }
.text-knopf { color: var(--haupt); font-size: 15px; font-weight: 500; }
.k-hersteller { --ton: var(--t-hersteller); } .k-ki { --ton: var(--t-ki); } .k-konflikte { --ton: var(--t-konflikte); }
.k-graz { --ton: var(--t-graz); } .k-welt { --ton: var(--t-welt); } .k-wirtschaft { --ton: var(--t-wirtschaft); }
.k-maerkte { --ton: var(--t-maerkte); } .k-videos { --ton: var(--t-videos); } .k-x { --ton: var(--t-x); }
.liste { overflow: hidden; }
.eintrag { display: block; width: 100%; text-align: left; padding: 11px 16px; position: relative; color: var(--text); }
.eintrag + .eintrag::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: .5px solid var(--rand); }
.eintrag:active { background: var(--fuellung); }
.eintrag .t { font-weight: 600; font-size: 18px; line-height: 1.32; }
.live-marke { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 5px; background: #e5322d; color: #fff;
  font-size: .72em; font-weight: 700; letter-spacing: .04em; vertical-align: .12em; }
.live-marke.geplant { background: #6b6b73; }
.eintrag .a { color: var(--leise); font-size: 16.5px; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eintrag .m { color: var(--leise); font-size: 14px; margin-top: 5px; }
.eintrag.gelesen .t { color: var(--leise); font-weight: 500; }
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: var(--haupt); margin-right: 6px; vertical-align: 1px;
  box-shadow: 0 0 8px var(--haupt); }
.marke { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--fuellung); margin-right: 6px; }
.marke.warn { background: var(--orange); color: #000; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.chips.haufen { margin: 6px 0 18px; padding: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--fuellung); font-size: 15px; font-weight: 500; }
.chip.aktiv { background: var(--haupt); color: #fff; box-shadow: 0 6px 18px -8px var(--haupt); }
/* Knöpfe als Haufen in Ellipsenform (haufen() in app.js, 29.11.2026): Reihen mittig, ein zarter Schein dahinter zeigt den Umriss */
.haufen { display: flex; flex-direction: column; align-items: center; row-gap: 8px; overflow: visible; position: relative; isolation: isolate; }
.haufen::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none; border-radius: 50%;
  width: min(100%, calc(var(--haufen-b, 0px) + 90px)); height: calc(var(--haufen-h, 0px) + 44px); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--haupt) 15%, transparent), color-mix(in srgb, var(--haupt) 6%, transparent) 62%, transparent); }
.haufen-reihe { display: flex; justify-content: center; gap: 8px; max-width: 100%; }
.haufen-mess { width: max-content; max-width: none; }
.haufen-voll .haufen-reihe:not(.haufen-mess) > * { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.haufen-rein .haufen-reihe > * { animation: haufen-rein .5s cubic-bezier(.34, 1.45, .64, 1) backwards; animation-delay: var(--v, 0ms); }
@keyframes haufen-rein { from { opacity: 0; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { .haufen-rein .haufen-reihe > * { animation: none; } }
.leer { color: var(--leise); padding: 8px 16px 12px; font-size: 15px; }
.zwischentitel { color: var(--leise); padding: 12px 16px 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
/* Laden (Philipp, 30.11.2026: „coole Ladeanimation“): leuchtender Ring im Verlauf Orange → Rot → Violett, der Text schimmert */
.lade { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 36px 26px 30px;
  text-align: center; font-size: 15px; font-weight: 500; color: var(--leise);
  background: linear-gradient(100deg, var(--leise) 42%, var(--text) 50%, var(--leise) 58%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: einblenden .35s ease both, lade-schimmer 2.2s linear infinite; }
.lade::before, .lade::after { content: ""; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: conic-gradient(from 0deg, transparent 0 12%, #ff9f0a 40%, var(--haupt) 68%, #bf5af2 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px));
  animation: lade-dreh 1.1s cubic-bezier(.45, .05, .55, .95) infinite; }
.lade::after { position: absolute; top: 36px; left: 50%; margin-left: -24px; -webkit-mask: none; mask: none;
  filter: blur(12px); opacity: .3; }
@keyframes lade-dreh { to { transform: rotate(360deg); } }
@keyframes lade-schimmer { to { background-position: -300% 0; } }
@media (prefers-reduced-motion: reduce) {
  .lade { animation: einblenden .35s ease both; }
  .lade::before, .lade::after { animation-duration: 2.4s; animation-timing-function: linear; }
}

/* Videos */
.video { display: flex; gap: 12px; align-items: flex-start; }
.video img { width: 128px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; flex: none; background: var(--fuellung); }
.video .t { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.player { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; background: #000; }
.segment { display: flex; background: var(--fuellung); border-radius: 10px; padding: 2px; margin: 14px 0; }
.segment button { flex: 1; padding: 7px 0; border-radius: 8px; font-size: 14px; font-weight: 500; }
.segment button.aktiv { background: var(--segment); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); font-weight: 600; }

/* Texte (Märkte, Artikel, Zusammenfassungen) */
.text { padding: 2px 16px 10px; font-size: 18px; line-height: 1.55; overflow-wrap: anywhere; }
.text h2, .text h3, .text h4 { font-size: 18px; margin: 16px 0 6px; }
.text ul, .text ol { padding-left: 22px; margin: 6px 0; }
.text li { margin: 3px 0; }
.text p { margin: 8px 0; }
.text blockquote { margin: 6px 0; padding-left: 10px; border-left: 3px solid var(--rand); color: var(--leise); }
.text table { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 6px 0; font-variant-numeric: tabular-nums; }
.text td, .text th { padding: 7px 4px; border-bottom: .5px solid var(--rand); text-align: left; vertical-align: top; }
.text th { color: var(--leise); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.k-maerkte .text > h2:first-child, .k-maerkte .text > h3:first-child { display: none; }
.vor { white-space: pre-wrap; font-size: 17px; line-height: 1.6; }

/* Tweets */
.tweet .tx { white-space: pre-wrap; font-size: 17px; line-height: 1.45; margin-top: 4px; overflow-wrap: anywhere; }
.tweet .bilder { display: grid; gap: 4px; margin-top: 8px; border-radius: 12px; overflow: hidden; grid-template-columns: 1fr 1fr; }
.tweet .bilder.n1 { grid-template-columns: 1fr; }
.tweet .bilder img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; display: block; background: var(--fuellung); }
.tweet .bilder.n1 img { height: auto; max-height: 420px; }
.tweet .bilder img.video { outline: 0; }
.tweet .zitat { border-left: 3px solid var(--rand); padding-left: 10px; margin-top: 6px; color: var(--leise); font-size: 14px; }

/* Formulare und Knöpfe */
.feld { display: flex; gap: 8px; padding: 0 0 14px; }
.karte .feld { padding: 4px 16px 12px; }
input[type=search], input[type=text], input[type=password], select {
  font: inherit; flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 0; background: var(--fuellung); color: var(--text); outline: none; }
input:focus { box-shadow: 0 0 0 2px var(--haupt-zart); }
.knopf { display: inline-flex; align-items: center; justify-content: center; background: var(--haupt); color: #fff; border-radius: 999px;
  padding: 11px 20px; font-weight: 600; box-shadow: 0 8px 22px -10px var(--haupt); }
.knopf.zweit { background: var(--fuellung); color: var(--haupt); box-shadow: none; }

.zeile { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; gap: 10px; position: relative; width: 100%; text-align: left; }
.zeile + .zeile::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: .5px solid var(--rand); }
.zeile .rechts { color: var(--leise); font-size: 15px; }
.zeile .entf { color: var(--haupt); font-size: 15px; }
.zeile .dazu { color: #34c759; font-size: 15px; font-weight: 600; }
.zeile.kanal .kanal-text { min-width: 0; }
.zeile.kanal.aus .kanal-text { opacity: .45; }
.kanal-knoepfe { display: flex; gap: 18px; flex: none; }
.kanal-knoepfe { align-items: center; }
.zeile .glocke { display: grid; place-items: center; width: 34px; height: 34px; margin: -6px 0; border-radius: 50%; color: var(--leise); }
.zeile .glocke svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zeile .glocke[aria-pressed="true"] { color: var(--orange); }
.zeile .glocke[aria-pressed="true"] svg path:first-child { fill: currentColor; }
input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 16px; background: var(--fuellung);
  position: relative; transition: background .2s; flex: none; margin: 0; }
input[type=checkbox]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 14px; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15); transition: transform .2s; }
input[type=checkbox]:checked { background: #34c759; }
input[type=checkbox]:checked::after { transform: translateX(20px); }

/* Blatt (Artikel, Video, Quelle) */
.blatt { position: fixed; inset: 0; z-index: 10; background: rgba(0, 0, 0, .4); display: flex; align-items: flex-end; }
.blatt-innen { background: var(--hg); width: 100%; max-width: 680px; margin: 0 auto; height: calc(100% - env(safe-area-inset-top) - 10px);
  border-radius: 16px 16px 0 0; display: flex; flex-direction: column; animation: hoch .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes hoch { from { transform: translateY(60px); opacity: .5; } }
.blatt-kopf { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 12px 16px 8px; font-weight: 600; text-align: center; }
.blatt-kopf span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.blatt-kopf .text-knopf { justify-self: start; font-weight: 600; }
.blatt-inhalt { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 20px calc(env(safe-area-inset-bottom) + 30px); }
.blatt-inhalt h1 { font-size: 26px; line-height: 1.2; margin: 8px 0 8px; }
.blatt-inhalt .text { padding: 0; font-size: 19px; line-height: 1.6; }
.blatt-inhalt .karte { padding: 4px 0; }
.blatt-inhalt .karte .text { padding: 10px 16px; font-size: 18px; }
.knopfreihe { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }

/* Anmeldung (wie Study) */
.anmeldung { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.anmeldung form { width: 100%; max-width: 360px; text-align: center; }
.anmeldung .logo { width: 76px; height: 76px; border-radius: 18px; display: block; margin: 0 auto 14px; }
.anmeldung h1 { font-size: 30px; font-weight: 700; }
.anmeldung .leise { margin: 4px 0 22px; }
.anmeldung .karte { padding: 16px; text-align: left; }
.anmeldung label { display: block; font-size: 13px; color: var(--leise); margin: 0 0 6px 2px; }
.anmeldung input { width: 100%; margin-bottom: 14px; }
.anmeldung .knopf { width: 100%; }
.anmeldung .fehler { margin: 12px 0 0; text-align: center; }

/* Ergänzungen 17.11.2026: Knöpfe im Kartenkopf, Krypto-Transaktion, Posts, Blatt-Knopf „Fertig“, Formulare */
.kopf-knoepfe { display: flex; gap: 14px; }
.transaktion { margin: 4px 16px 10px; border-radius: 14px; padding: 10px 0 2px; background: rgba(255, 149, 0, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 149, 0, .45); }
.transaktion.alt { opacity: .7; }
.transaktion-kopf { padding: 0 14px; font-weight: 700; font-size: 15px; color: var(--orange); text-transform: uppercase; letter-spacing: .02em; }
.transaktion .text { padding: 2px 14px 6px; font-size: 17px; }
.post-knoepfe { display: flex; gap: 16px; margin-top: 6px; }
.post-knoepfe .text-knopf { font-size: 14px; }
.tweet { cursor: pointer; }
.tweet .m b { color: var(--text); font-weight: 600; }
.anriss { font-size: 19px; line-height: 1.5; color: var(--leise); }
.blatt-titel { font-size: 27px; line-height: 1.2; margin: 10px 0 8px; }
.fertig { justify-self: start; font-weight: 600; font-size: 16px; color: var(--haupt); padding: 8px 16px; border-radius: 999px; min-height: 40px;
  background: var(--glas-knopf); box-shadow: inset 0 0 0 .5px var(--lg-rand), inset 1px 1.5px 0 -.5px var(--lg-kante); }
.blatt-kopf { grid-template-columns: 96px 1fr 96px; padding-top: 14px; }
body.fest { position: fixed; left: 0; right: 0; overflow: hidden; }
textarea { font: inherit; width: 100%; padding: 12px 14px; border-radius: 12px; border: 0; background: var(--fuellung); color: var(--text);
  outline: none; resize: vertical; margin-bottom: 12px; }
.foto { font-size: 15px; padding: 8px 16px; cursor: pointer; }
select.schmal, input.schmal { flex: none; width: auto; }
input[type=time] { font: inherit; padding: 8px 12px; border-radius: 10px; border: 0; background: var(--fuellung); color: var(--text); }
.klein-text { font-size: 14px; }
.notiz.innen { padding: 0 16px 12px; }
details.einr { display: block; }
details.einr summary { cursor: pointer; color: var(--leise); font-size: 15px; }
details.einr input { width: 100%; margin: 10px 0 0; }
details.einr .knopf { margin: 10px 10px 4px 0; }
/* Mac und breite Fenster: etwas mehr Luft, Hover wie am Mac üblich */
/* Mac und breite Fenster (Philipp, 17.11.2026: „am Mac total verzogen … nicht nur so wenig sehen, wenn ich draufklicke“):
   Inhalt beginnt neben der Seitenleiste wie in Study; ein Blatt füllt den ganzen Bereich neben der Seitenleiste.
   Seit Meldung 29.11.2026 („jede Seite optimal ausnutzen, genauso wie in Study links und rechts“) wie das Breiten-Konzept
   von Study: Seiten und Blatt nutzen die ganze Fläche neben der Seitenleiste, seitlich 32 px, ab 1200 px 40 px
   (vorher Seiten bis 1100 px, Text im Blatt bis 960 px: am Mac links und rechts viel leer). */
@media (min-width: 900px) {
  main { max-width: none; margin-right: 0; padding: 12px 32px 60px; }
  .blatt { left: var(--navi-breite); align-items: stretch; padding: 0; background: var(--hg); }
  .blatt-innen { height: auto; width: 100%; max-width: none; border-radius: 0; animation: einblenden .2s ease-out; }
  .blatt-kopf { padding: 14px 20px 10px; }
  .blatt-inhalt { padding: 0 32px 48px; }
  .player { max-height: 62vh; }
  .eintrag:hover, .zeile:hover { background: var(--fuellung); }
}
@media (min-width: 1200px) { main, .blatt-inhalt { padding-left: 40px; padding-right: 40px; } }
.tweet.kurz .tx { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

/* ===================== Wie Study (Philipp, 17.11.2026: „Menüleiste genauso wie in Study … eins zu eins“) =====================
   Werte aus study-web/app/statisch/style.css: Kopfzeile (.leiste), Glas-Knöpfe (.glas-rund), Tab-Leiste (.tab-leiste/.tab),
   Seitenleiste ab 900 px wie die Navi von Study, Hinweis-Einblendung (.hinweis), Melden (melden.js). */
:root { --glas-leiste: rgba(255, 255, 255, .68); --schrift: 1; --schlecht: #ff3b30; --gut: #34c759; --blatt: #f2f2f7; --glas-stark: rgba(246, 246, 250, .96);
  --glas-linie: rgba(0, 0, 0, .07); --glas-schatten-klein: 0 4px 14px -8px rgba(0, 0, 0, .3); --glas-blur: saturate(180%) blur(22px);
  --lg-fl: rgba(255, 255, 255, .5); --lg-knopf-rand: rgba(255, 255, 255, .18); --lg-knopf-kante: rgba(255, 255, 255, .45);
  --lg-filter: blur(24px) saturate(200%) contrast(.94); --lg-wahl: color-mix(in srgb, var(--text) 9%, transparent);
  --lg-licht: inset 0 0 0 .5px var(--lg-rand), inset 1px 1.5px 0 -.5px var(--lg-kante), inset -1px -1px 0 -.5px var(--lg-kante2);
  --navi-breite: 180px; }   /* Meldung 29.11.2026: dünner (vorher 260 px, die Hälfte blieb leer); ziehbar 150–400 px (naviGriff in app.js) */
:root[data-theme="dark"] { --glas-leiste: rgba(36, 36, 40, .66); --schlecht: #ff453a; --gut: #30d158; --blatt: #1c1c1e; --glas-stark: rgba(38, 38, 42, .96); --glas-linie: rgba(255, 255, 255, .08);
    --lg-fl: rgba(40, 40, 44, .62); }
@keyframes einblenden { from { opacity: 0; } }
@keyframes hg-weg { to { opacity: 0; } }
@keyframes hochfahren { from { translate: 0 100%; } }

/* Kopfzeile */
/* Kopfzeile wie in Study (gemessen 17.11.2026 an der Study-Startseite): durchgehende Glasleiste, 52 px, Spalten 96 | Titel | 96 */
.leiste { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; align-items: center;
  min-height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 10px 0; border-bottom: .5px solid transparent; }
.leiste::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--glas-leiste);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); }
.leiste > strong { grid-column: 2; text-align: center; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste > :last-child { justify-self: end; }
.pille { justify-self: start; display: inline-flex; align-items: center; height: 32px; font-size: 13px; font-weight: 500; letter-spacing: -.01em;
  color: var(--leise); padding: 0 12px; border-radius: 999px; white-space: nowrap;
  background: var(--lg-fl); backdrop-filter: var(--lg-filter); -webkit-backdrop-filter: var(--lg-filter); box-shadow: var(--lg-licht), var(--glas-schatten-klein); }
.glas-rund { width: 38px; height: 38px; min-width: 0; min-height: 0; flex: none; aspect-ratio: 1; padding: 0; border-radius: 50%; display: grid;
  place-items: center; position: relative; color: var(--haupt); border: 0; background: var(--lg-fl); backdrop-filter: var(--lg-filter);
  -webkit-backdrop-filter: var(--lg-filter); box-shadow: var(--lg-licht), var(--glas-schatten-klein); }
.glas-rund::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; }
.glas-rund svg { width: 20px; height: 20px; display: block; }
@media (pointer: coarse), (max-width: 559.98px) { .glas-rund { width: 44px; height: 44px; } }
#neuladen.dreht svg { animation: drehen 1s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* Tab-Leiste (schmal) */
.tab-leiste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; position: fixed; z-index: 6; left: 50%; translate: -50% 0;
  bottom: max(10px, calc(env(safe-area-inset-bottom) - 6px)); width: min(520px, calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  border-radius: 999px; padding: 6px; border: 0; isolation: isolate; background: var(--lg-fl); backdrop-filter: var(--lg-filter);
  -webkit-backdrop-filter: var(--lg-filter); box-shadow: var(--lg-licht), var(--lg-schatten); }
button.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 52px;
  padding: 4px 0; border-radius: 999px; background: transparent; color: var(--text); font-weight: 600; font-size: clamp(9px, 2.9vw, 11px);
  transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), background-color .25s, color .25s, box-shadow .25s; }
.tab > span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-ic { position: relative; display: block; width: 24px; height: 24px; }
.tab-ic svg { width: 24px; height: 24px; display: block; }
button.tab:active { transform: scale(.94); background: var(--lg-wahl); }
button.tab[aria-current="page"] { background: var(--lg-wahl); color: var(--haupt);
  box-shadow: inset 0 0 0 .5px var(--lg-knopf-rand), inset 1px 1px 0 -.5px var(--lg-knopf-kante); }
main { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

/* Breit (Mac, iPad quer): Seitenleiste links wie die Navi von Study */
@media (min-width: 900px) {
  .tab-leiste { left: 0; top: 0; bottom: 0; translate: none; width: var(--navi-breite); display: flex; flex-direction: column; gap: 2px;
    border-radius: 0; padding: calc(env(safe-area-inset-top) + 64px) 10px 16px; box-shadow: inset -.5px 0 0 var(--rand); }
  button.tab { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 40px; padding: 6px 12px; border-radius: 10px;
    font-size: 15px; font-weight: 500; }
  button.tab[aria-current="page"] { background: var(--haupt); color: #fff; box-shadow: none; }
  .tab-ic, .tab-ic svg { width: 22px; height: 22px; }
  #app > .leiste, #app > main { margin-left: var(--navi-breite); }
  main { padding-bottom: 60px; }
  #hinweis.hinweis { left: calc(var(--navi-breite) + 16px); bottom: 24px; }
  /* Griff am rechten Rand der Seitenleiste: ziehen = breiter/schmaler, Doppelklick = Standard (wie die Seitenleiste am Mac) */
  .navi-griff { position: absolute; top: 0; bottom: 0; right: -4px; width: 8px; z-index: 1; cursor: col-resize; touch-action: none; }
  .navi-griff::after { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px; background: var(--haupt); opacity: 0; transition: opacity .15s; }
  .navi-griff:hover::after, .navi-griff:focus-visible::after, html.navi-ziehen .navi-griff::after { opacity: .7; }
  .navi-griff:focus-visible { outline: none; }
}
@media (max-width: 899.98px) { .navi-griff { display: none; } }   /* iPhone: Tab-Leiste unten, nichts zu ziehen */
html.navi-ziehen, html.navi-ziehen * { cursor: col-resize !important; user-select: none; -webkit-user-select: none; }

/* Hinweis-Einblendung */
.hinweis { position: fixed; left: 16px; right: 16px; bottom: calc(142px + env(safe-area-inset-bottom)); z-index: 40; pointer-events: none;
  background: var(--glas-stark); color: var(--text); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 14px; padding: 13px 16px; max-width: 640px; margin: 0 auto; width: fit-content; text-align: center; font-size: 15px;
  border: 0; box-shadow: var(--lg-licht), 0 8px 30px rgba(0, 0, 0, .28); animation: einblenden .3s ease-out; }
#hinweis.kurz { border-radius: 999px; padding: 13px 22px; }
.hinweis.geht { animation: hg-weg .24s ease-in forwards; }
.melden-bereich { padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.melden-bereich .melden-erinnerung { padding: 10px 12px; border-radius: 12px; background: var(--haupt-zart); }
.melden-erinnerung select { max-width: 100%; }              /* SE: „ChatGPT (geplante Aufgabe)“ machte die Auswahl breiter als die Karte */
.melden-erinnerung .reihe input { min-width: min(13em, 100%); }       /* Platzhalter „Startschlüssel einfügen“ ganz lesbar, sonst bricht „Speichern“ um */
:is(.melden-bereich, .melden-blatt, .melden-erinnerung, .melden-meine) .klein { font-size: 14px; text-transform: none; font-weight: 400; letter-spacing: normal; }
button.haupt { background: var(--haupt); color: #fff; font-weight: 600; border-radius: 12px; min-height: 44px; padding: 10px 16px; }
button.haupt.voll { width: 100%; }
button.haupt:disabled { opacity: .5; }
button.link { color: var(--haupt); font-weight: 500; background: none; }
.reihe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reihe input { flex: 1; min-width: 160px; }
.e-zeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; }

/* Melden (aus Study, 1:1) */
:root { --melden-groesse: 38px; --melden-rechts: 10px; }
@media (pointer: coarse), (max-width: 559.98px) { :root { --melden-groesse: 44px; } }
@media (min-width: 560px) { :root { --melden-rechts: 18px; } }
@media (min-width: 900px) { :root { --melden-rechts: 26px; } }
html.melden-an { --melden-frei: calc(var(--melden-rechts) + var(--melden-groesse) + 8px + env(safe-area-inset-right)); }
.leiste > .leiste-rechts { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.melden-platz { visibility: hidden; pointer-events: none; }
.melden-kopf-knopf { color: var(--leise); }
.melden-kopf-knopf[hidden], .melden-platz[hidden], .melden-platz.unnoetig { display: none; }
.melden-kopf-knopf.melden-schwebend { position: fixed; top: calc(env(safe-area-inset-top) + (52px - var(--melden-groesse)) / 2);
  right: calc(var(--melden-rechts) + env(safe-area-inset-right)); width: var(--melden-groesse); height: var(--melden-groesse); z-index: 2147483100; }
.melden-hg { position: fixed; inset: 0; z-index: 2147483200; background: rgba(0, 0, 0, .4); animation: einblenden .2s ease-out; }
.melden-hg.geht { animation: hg-weg .25s ease-out forwards; pointer-events: none; }
.melden-blatt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483201; display: flex; flex-direction: column; gap: 10px;
  max-width: 560px; max-height: 92vh; max-height: 92dvh; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; background: var(--blatt); color: var(--text);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, .2); animation: hochfahren .32s cubic-bezier(.2, .9, .3, 1); transition: transform .25s ease-out; }
.melden-blatt.geht { animation: melden-runter .25s ease-in forwards; pointer-events: none; }
@keyframes melden-runter { to { translate: 0 110%; } }
@media (min-width: 900px) and (min-height: 600px) { .melden-blatt { bottom: 24px; border-radius: 14px; } }
.melden-blatt [hidden] { display: none !important; }
.melden-blatt > * { flex-shrink: 0; }
.melden-kopf { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 6px; touch-action: none; }
.melden-griff { position: absolute; top: -6px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--leise); opacity: .5; }
.melden-kopf h2 { flex: 1; margin: 0; font-size: 20px; font-weight: 700; }
.melden-blatt button.melden-x { flex: none; width: 30px; height: 30px; min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: 50%;
  position: relative; background: var(--fuellung); color: var(--leise); font-size: 0; }
.melden-blatt button.melden-x::before, .melden-blatt button.melden-x::after { content: ""; position: absolute; left: 50%; top: 50%;
  width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.melden-blatt button.melden-x::after { transform: rotate(-45deg); }
.melden-blatt.zieht .melden-foto { outline: 2px dashed var(--haupt); outline-offset: 2px; }
.melden-foto { display: grid; place-items: center; min-height: 110px; padding: 6px; border-radius: 12px; background: var(--fuellung); transition: opacity .2s; }
.melden-foto.laedt { animation: einblenden .6s ease-in-out infinite alternate; }
.melden-foto.weg { opacity: .3; filter: grayscale(1); }
.melden-foto.weg .melden-mal { pointer-events: none; }
.melden-rahmen { position: relative; display: inline-block; line-height: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
.melden-rahmen img { display: block; width: auto; height: auto; max-width: 100%; max-height: 40vh; max-height: 40dvh; }
/* Foto nur so hoch, dass das Textfeld (Handy) bzw. auch „Abschicken“ (breit) ohne Scrollen ganz zu sehen ist (30.11.2026: SE schnitt den
   Platzhalter ab, am Mac war „Abschicken“ halb unter dem Blattrand) */
.melden-rahmen img { max-height: max(150px, min(40dvh, calc(92dvh - 330px))); }
@media (min-width: 900px) and (min-height: 600px) { .melden-rahmen img { max-height: max(150px, min(40dvh, calc(92dvh - 510px))); } }
.melden-mal { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.melden-foto-zeile { display: flex; align-items: center; gap: 14px; min-height: 24px; }
.melden-foto-zeile > span { flex: 1; }
.melden-foto-zeile button.link { min-height: 0; padding: 2px 0; margin: 0; }
.melden-text { width: 100%; box-sizing: border-box; min-height: 90px; padding: 10px 12px; resize: vertical; border-radius: 10px;
  border: .5px solid var(--rand); background: var(--karte); color: var(--text); font: inherit; }
.melden-blatt > p { margin: 0; }
.melden-blatt > p.melden-fehler { padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--schlecht) 14%, transparent); color: var(--schlecht);
  font-size: 15px; font-weight: 600; }
.melden-meine { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.melden-meine-zeile { display: block; position: static; padding: 8px 10px; border-radius: 10px; border: .5px solid var(--rand); overflow-wrap: anywhere; }
.melden-meine-text { white-space: pre-wrap; max-height: 3.1em; line-height: 1.55; overflow: hidden; }   /* kein -webkit-line-clamp: Safari malt die Box im Melden-Foto doppelt und versetzt (Meldung 17.11.2026) */
.melden-meine-stand { font-weight: 600; margin-top: 2px; }
.melden-meine-zeile.ist-fertig .melden-meine-stand { color: var(--gut); }
.melden-meine details > summary { cursor: pointer; padding: 4px 0; }
.melden-erinnerung h2 { margin-bottom: 4px; font-size: 16px; }
.melden-erinnerung p { margin: 4px 0; }
.melden-foto-zeile { font-size: 15px; }
.melden-blatt .klein { font-size: 14px; }
.melden-blatt .melden-text { font-size: 17px; }
.held .klein { letter-spacing: .05em; }
.zeile.reihenfolge { min-height: 52px; }
.rf-knoepfe { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rf-name { min-width: 0; hyphens: auto; overflow-wrap: break-word; }   /* SE: „Weltgeschehen“ schob die Knöpfe 6 px aus der Zeile */
@media (max-width: 360px) { .rf-knoepfe { gap: 4px; } }   /* SE: „Weltgeschehen“ passt so in eine Zeile */
.rf-pfeil.glas-rund { width: 34px; height: 34px; color: var(--text); }
.rf-pfeil:disabled { opacity: .3; }
/* Blatt am Handy (Philipp, 17.11.2026: „oben ein Spalt … Fertig nicht gleich hoch wie das Rufzeichen“): ganzer Bildschirm,
   Kopfzeile wie die Leiste der App (52 px unter der Statusleiste), „Fertig“ als Glas-Kapsel auf derselben Höhe wie das „!“ */
@media (max-width: 899.98px) {
  .blatt { align-items: stretch; background: var(--hg); }
  .blatt-innen { height: 100%; max-width: none; border-radius: 0; padding-top: env(safe-area-inset-top); animation: hochfahren .3s cubic-bezier(.2, .9, .3, 1); }
}
.blatt-kopf { min-height: 52px; padding: 0 10px; grid-template-columns: 96px minmax(0, 1fr) 96px; }
.blatt-kopf > span:first-of-type { font-size: 17px; }
.fertig { height: var(--melden-groesse, 44px); min-height: 0; padding: 0 16px; display: inline-flex; align-items: center;
  background: var(--lg-fl); backdrop-filter: var(--lg-filter); -webkit-backdrop-filter: var(--lg-filter); box-shadow: var(--lg-licht), var(--glas-schatten-klein); }

/* 24.11.2026: gelesene Posts bleiben stehen, nur nicht mehr fett; Kurse der Tech-Aktien; „Alle anzeigen“ */
.tweet .m b { font-weight: 700; }
.tweet.gelesen .m b { font-weight: 500; color: var(--leise); }
.tweet.gelesen .tx { color: var(--leise); }
.mehr-zeile { justify-content: center; color: var(--haupt); font-size: 15px; font-weight: 500; }
.kurs .kurs-name { font-weight: 600; }
.kurs .kurs-rechts { text-align: right; font-variant-numeric: tabular-nums; }
.kurs .kurs-ch { font-size: 14px; color: var(--leise); }
.kurs .kurs-ch.plus { color: var(--gut); }
.kurs .kurs-ch.minus { color: var(--schlecht); }

/* Modellwahl beim Melden wie in Study (24.11.2026) */
.melden-arten { display: flex; gap: 6px; padding: 2px; border-radius: 10px; background: var(--fuellung); }
.melden-arten button { flex: 1; min-height: 32px; margin: 0; padding: 4px 8px; border-radius: 8px; background: none; color: var(--text); font-weight: 600; }
.melden-arten button[aria-pressed="true"] { background: var(--karte); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.melden-arten button:disabled { opacity: .4; }
.melden-arten.aus { opacity: .45; }

/* Zurück vom linken Rand wischen wie in iOS (rand-zurueck.js): das Blatt gleitet mit dem Finger nach rechts hinaus */
.rand-dunkel { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: #000; opacity: 0; }

/* Kopfzeile im Blatt als Liquid Glass wie die Leiste in Study (Meldung 27.11.2026: „kein Liquid-Glass-Effekt bei der
   Menüleiste, soll so sein wie bei Study“): sie lag bisher deckend über dem Scrollbereich, darunter lief nie etwas durch.
   Jetzt schwebt sie über dem Inhalt (Glas 52 px unter der Statusleiste wie Study), der Inhalt beginnt 52 px tiefer. */
.blatt-innen { position: relative; }
.blatt-kopf { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 52px; }
@media (max-width: 899.98px) { .blatt-kopf { top: env(safe-area-inset-top); } }
.blatt-kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--glas-leiste);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); }
.blatt-inhalt { flex: 1 1 auto; min-height: 0; padding-top: 52px; scroll-padding-top: 52px; }

/* Ohne Netz (28.11.2026): oben „Offline · zuletzt geladen“, solange Antworten aus dem Speicher kommen */
.offline-pille { position: fixed; z-index: 30; top: calc(env(safe-area-inset-top) + 60px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; font: 600 13px var(--sf); white-space: nowrap;
  color: var(--text); background: var(--glas); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--lg-schatten); pointer-events: none; }
.offline-pille[hidden] { display: none; }
.offline-pille span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Durchgeklickt 30.11.2026: kleine grafische Fehler */
.text td.zahl, .text th.zahl { text-align: right; white-space: nowrap; }
.text td.plus { color: var(--gut); }
.text td.minus { color: var(--schlecht); }
.anmeldung .fehler { min-height: 1.4em; }            /* „Passwort falsch“ schiebt das Formular nicht mehr hoch */
#probe { white-space: nowrap; }
.blatt-inhalt > .karte:first-child { margin-top: 10px; }   /* Liste einer Quelle klebt nicht an der Kopfzeile */
@media (min-width: 900px) { .player { width: min(100%, calc(62vh * 16 / 9)); max-height: none; } }   /* am Mac 16:9 statt beschnitten */
.anmeldung { padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px); }
.text .tabelle { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px 0; }
.text .tabelle table { margin: 0; overflow-wrap: normal; }
.text .tabelle th, .text .tabelle td { white-space: nowrap; }
.text .tabelle td:first-child { min-width: 6.5em; white-space: normal; }   /* lange Namen umbrechen statt die Tabelle zu sprengen (iPhone SE) */
.text .tabelle td.lang { white-space: normal; min-width: 11em; }   /* lange Fehlertexte im Quellen-Status sprengen die Tabelle nicht */
@media (max-width: 380px) {   /* iPhone SE: Märkte passen ganz in die Karte (Kopf „Veränderung“ trennt, Namen brechen um) */
  .text .tabelle th { white-space: normal; -webkit-hyphens: auto; hyphens: auto; }
  .text .tabelle td:first-child { min-width: 4.5em; }
}

/* Glas-Schieber der Tab-Leiste wie in Cashflow (tabGlasZu, 30.11.2026): Pille hinter den Tabs, unterwegs eine klare Linse mit
   farbigem Saum wie gebrochenes Licht; nur am Handy */
@media (max-width: 899.98px) {
  button.tab { position: relative; z-index: 1; }
  button.tab[aria-current="page"], button.tab:active { background: transparent; box-shadow: none; }
  .tab-glas { position: absolute; left: 0; top: 6px; z-index: 0; border-radius: 999px; pointer-events: none; will-change: transform; }
  .tab-glas::before, .tab-glas::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transition: opacity .38s ease; }
  .tab-glas::before { background: var(--lg-wahl); box-shadow: inset 0 0 0 .5px var(--lg-knopf-rand), inset 1px 1px 0 -.5px var(--lg-knopf-kante); }
  .tab-glas::after { opacity: 0;
    background: radial-gradient(130% 100% at 50% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 55%, rgba(255, 255, 255, .2));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 2px 3px 1.5px -1px #fff, inset -2px -3px 1.5px -1px rgba(255, 255, 255, .75),
      inset 9px 0 9px -6px rgba(255, 60, 170, .7), inset -9px 0 9px -6px rgba(30, 190, 255, .75), inset 0 -8px 9px -6px rgba(255, 210, 60, .55),
      inset 0 8px 9px -6px rgba(120, 255, 210, .35), 0 10px 24px -8px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .08); }
  :root[data-theme="dark"] .tab-glas::after { background: radial-gradient(130% 100% at 50% 0%, rgba(255, 255, 255, .36), rgba(255, 255, 255, .09) 55%, rgba(255, 255, 255, .18)); }
  .tab-glas.faehrt::before { opacity: 0; transition-duration: .14s; }
  .tab-glas.faehrt::after { opacity: 1; transition-duration: .14s; }
}
@media (min-width: 900px) { .tab-glas { display: none; } }
/* Durchgeklickt 30.11.2026 (2): kleines iPhone: Platzhalter der Eingabefelder (X, YouTube) ganz lesbar statt mitten im Wort abgeschnitten */
@media (max-width: 389.98px) { .feld input::placeholder { font-size: 14px; letter-spacing: -.01em; } }
