/* CRYPTPAYZ Design-System V3 „Midnight Aurum“. Alle Seiten laden diese Datei zuletzt.
   Präfix t-: Bausteine. Rahmen-Klassen (kopfzeile, schiene, zuletzt-leiste, handy-leiste, mehr-blatt) sind festgelegt. */

@font-face { font-family: Manrope; src: url("/statisch/v3/schriften/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: Manrope; src: url("/statisch/v3/schriften/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: Manrope; src: url("/statisch/v3/schriften/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: block; }
@font-face { font-family: Manrope; src: url("/statisch/v3/schriften/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: Manrope; src: url("/statisch/v3/schriften/manrope-800.woff2") format("woff2"); font-weight: 800 900; font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("/statisch/v3/schriften/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("/statisch/v3/schriften/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("/statisch/v3/schriften/plexmono-600.woff2") format("woff2"); font-weight: 600 800; font-display: block; }

/* ── Farben, Raster, Typo ─────────────────────────────────────────── */
:root {
  --t-bg: #06080f;
  --t-fest: #0d1120;
  --t-fest-2: #121729;
  --t-flaeche: rgba(255, 255, 255, 0.035);
  --t-flaeche-2: rgba(255, 255, 255, 0.06);
  --t-flaeche-3: rgba(255, 255, 255, 0.09);
  --t-linie: rgba(255, 255, 255, 0.075);
  --t-linie-fein: rgba(255, 255, 255, 0.045);
  --t-linie-stark: rgba(255, 255, 255, 0.13);
  --t-text: #f5f3ee;
  --t-text-2: #a4a7b5;
  --t-leise: #646879;
  --t-akzent: #f2b84b;
  --t-akzent-2: #e8913a;
  --t-akzent-hell: #f6c96f;
  --t-akzent-weich: rgba(242, 184, 75, 0.13);
  --t-akzent-rand: rgba(242, 184, 75, 0.4);
  --t-akzent-text: #1a1206;
  --t-verlauf: linear-gradient(135deg, #f2b84b, #e8913a);
  --t-info: #7aa2ff;
  --t-kauf: #3ddc97;
  --t-kauf-weich: rgba(61, 220, 151, 0.13);
  --t-verkauf: #ff5c7a;
  --t-verkauf-weich: rgba(255, 92, 122, 0.13);
  --t-warn: #f2b84b;
  --t-warn-weich: rgba(242, 184, 75, 0.14);
  --t-glas: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  --t-glas-schatten: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px -18px rgba(0, 0, 0, 0.8);
  --t-glow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(242, 184, 75, 0.28), 0 18px 40px -20px rgba(242, 184, 75, 0.45);
  --t-r1: 6px;
  --t-r2: 9px;
  --t-r3: 16px;
  --t-pille: 999px;
  --t-fs-xs: 10px;
  --t-fs-s: 11px;
  --t-fs-m: 12px;
  --t-fs-l: 13px;
  --t-fs-xl: 15px;
  --t-fs-2xl: 24px;
  --t-fs-3xl: 30px;
  --t-schrift: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --t-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --t-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-dauer: 180ms;
  --t-schatten: 0 18px 48px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --t-ziel: 40px;
  --t-kopf: 52px;
  color-scheme: dark;
}
@media (max-width: 1099px) {
  :root { --t-ziel: 44px; --t-kopf: 52px; }
}
:root[data-design="hell"] {
  --t-bg: #f7f5f0;
  --t-fest: #ffffff;
  --t-fest-2: #f2efe8;
  --t-flaeche: rgba(20, 16, 8, 0.03);
  --t-flaeche-2: rgba(20, 16, 8, 0.055);
  --t-flaeche-3: rgba(20, 16, 8, 0.085);
  --t-linie: rgba(20, 16, 8, 0.09);
  --t-linie-fein: rgba(20, 16, 8, 0.05);
  --t-linie-stark: rgba(20, 16, 8, 0.16);
  --t-text: #17140e;
  --t-text-2: #4d4a44;
  --t-leise: #7a766e;
  --t-akzent: #c98a17;
  --t-akzent-2: #c0641c;
  --t-akzent-hell: #a86f0c;
  --t-akzent-weich: rgba(201, 138, 23, 0.12);
  --t-akzent-text: #ffffff;
  --t-verlauf: linear-gradient(135deg, #d99a25, #c86f22);
  --t-kauf: #0f9f63;
  --t-verkauf: #d93a52;
  --t-glas: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  --t-glas-schatten: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 24px -16px rgba(40, 30, 10, 0.3);
  --t-glow: 0 0 0 1px rgba(201, 138, 23, 0.35), 0 16px 36px -20px rgba(201, 138, 23, 0.5);
  color-scheme: light;
}

/* Alte Seiten erben dieselben Farben. */
body.t-alt {
  --hintergrund: var(--t-bg);
  --flaeche: var(--t-flaeche);
  --flaeche-fest: var(--t-fest);
  --panel-2: var(--t-flaeche-2);
  --rand: var(--t-linie);
  --rand-stark: var(--t-akzent-rand);
  --text: var(--t-text);
  --leise: var(--t-text-2);
  --pink: var(--t-akzent);
  --violett: var(--t-akzent);
  --cyan: var(--t-akzent);
  --linie: var(--t-akzent);
  --verlauf: var(--t-verlauf);
  --gruen: var(--t-kauf);
  --rot: var(--t-verkauf);
  --gelb: var(--t-warn);
  --schatten: none;
  --glanz: var(--t-akzent-weich);
  --raster: transparent;
}
body.terminal {
  --bg: var(--t-bg);
  --panel: var(--t-fest);
  --panel-2: var(--t-flaeche-2);
  --panel-3: var(--t-flaeche-3);
  --text: var(--t-text);
  --muted: var(--t-text-2);
  --leise: var(--t-leise);
  --rand: var(--t-linie);
  --violett: var(--t-akzent);
  --blau: var(--t-info);
  --gruen: var(--t-kauf);
  --rot: var(--t-verkauf);
  --gelb: var(--t-warn);
  --kauf: var(--t-kauf);
  --verkauf: var(--t-verkauf);
}

/* ── Grundlage ────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--t-bg); }
html, body { height: 100%; margin: 0; }
body.t {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(242, 184, 75, 0.11), transparent 60%),
    radial-gradient(80% 50% at 100% 30%, rgba(122, 162, 255, 0.06), transparent 60%),
    var(--t-bg);
  background-attachment: fixed;
  color: var(--t-text);
  font-family: var(--t-schrift);
  font-size: var(--t-fs-l);
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition: none;
}
:root[data-design="hell"] body.t { background: var(--t-bg); }
body.t * { box-sizing: border-box; }
body.t :is(button, input, select, textarea) { font-family: inherit; }
body.t ::selection { background: rgba(242, 184, 75, 0.32); }
body.t :focus { outline: none; }
body.t :focus-visible { outline: 2px solid var(--t-akzent); outline-offset: 2px; border-radius: 6px; }
body.t .zahl, body.t .mono, body.t code, body.t kbd { font-family: var(--t-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
body.t a { -webkit-touch-callout: none; }
body.t img { max-width: 100%; }
body.t ::-webkit-scrollbar { width: 8px; height: 8px; }
body.t ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
body.t ::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.16); }
body.t ::-webkit-scrollbar-track { background: transparent; }
body.t * { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.1) transparent; }
[hidden] { display: none !important; }
.sr-nur { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-ico { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: -3px; }
:root[data-design="dunkel"] .t-ico.sonne, :root[data-design="hell"] .t-ico.mond { display: none; }
body.t .t-verlauf-text { background: var(--t-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.t .lbl { color: var(--t-text-2); font-size: var(--t-fs-s); font-weight: 600; letter-spacing: 0; text-transform: none; }

/* Farben für Werte */
body.t :is(.hoch, .plus, .text-gruen) { color: var(--t-kauf); }
body.t :is(.tief, .minus, .text-rot) { color: var(--t-verkauf); }
body.t :is(.still, .leise) { color: var(--t-leise); }
body.t .aender {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--t-pille);
  font-family: var(--t-mono);
  font-size: var(--t-fs-s);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--t-flaeche-2);
  color: var(--t-text-2);
  white-space: nowrap;
}
body.t .aender:is(.hoch, .plus, .text-gruen) { background: var(--t-kauf-weich); color: var(--t-kauf); }
body.t .aender:is(.tief, .minus, .text-rot) { background: var(--t-verkauf-weich); color: var(--t-verkauf); }

/* ── Rahmen ───────────────────────────────────────────────────────── */
body.t .app {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: transparent;
  overflow: hidden;
}
body.t .app > .kopfzeile { grid-row: 1; }
body.t .app > .zuletzt-leiste { grid-row: 2; }
body.t .app > .rumpf { grid-row: 3; }
body.t .app > .handy-leiste { grid-row: 4; }
body.t .kopfzeile {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  height: calc(var(--t-kopf) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: transparent;
  border-bottom: 1px solid var(--t-linie);
}
body.t :is(.kopfzeile, .t-login) .marke {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: var(--t-ziel);
  color: var(--t-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  flex: none;
}
body.t .marke:hover { text-decoration: none; }
body.t .raute {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--t-verlauf);
  transform: rotate(45deg) scale(0.82);
  box-shadow: 0 0 18px rgba(242, 184, 75, 0.35);
}
body.t .schiene {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  padding: 0;
  background: none;
  border: 0;
  margin-left: 4px;
  flex: none;
}
body.t .schiene > a {
  display: inline-flex;
  align-items: center;
  height: var(--t-ziel);
  padding: 0 10px;
  border: calc((var(--t-ziel) - 30px) / 2) solid transparent;
  border-left-width: 0;
  border-right-width: 0;
  border-radius: 12px;
  background-clip: padding-box;
  color: var(--t-text-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-dauer) var(--t-ease), color var(--t-dauer) var(--t-ease);
}
body.t .schiene > a .t-ico { display: none; }
body.t .schiene > a:hover { color: var(--t-text); background-color: var(--t-flaeche); text-decoration: none; }
body.t .schiene > a.an { color: var(--t-text); background-color: var(--t-flaeche-2); }
body.t .kopfzeile .suche {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
body.t .suche-innen { position: relative; width: min(420px, 100%); display: flex; align-items: center; }
body.t .kopfzeile .suche .suche-innen > .t-ico { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--t-leise); pointer-events: none; z-index: 1; }
body.t .kopfzeile .suche input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: var(--t-ziel);
  min-height: 0;
  margin: 0;
  padding: 0 44px 0 36px;
  border: calc((var(--t-ziel) - 34px) / 2) solid transparent;
  border-radius: 12px;
  background: var(--t-flaeche);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--t-linie);
  color: var(--t-text);
  font-size: 12.5px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow var(--t-dauer) var(--t-ease), background-color var(--t-dauer) var(--t-ease);
}
body.t .kopfzeile .suche input::-webkit-search-cancel-button { display: none; }
body.t .kopfzeile .suche input::placeholder { color: var(--t-leise); }
body.t .kopfzeile .suche input:hover { box-shadow: inset 0 0 0 1px var(--t-linie-stark); }
body.t .kopfzeile .suche input:focus { box-shadow: inset 0 0 0 1px var(--t-akzent-rand), 0 0 0 3px rgba(242, 184, 75, 0.14); background-color: var(--t-flaeche-2); }
body.t .kopfzeile .suche input:focus-visible { outline: none; }
body.t .t-taste {
  position: absolute;
  right: 12px;
  height: 18px;
  min-width: 26px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: var(--t-pille);
  font-size: 10px;
  color: var(--t-leise);
  background: var(--t-flaeche-2);
  box-shadow: inset 0 0 0 1px var(--t-linie);
  pointer-events: none;
}
body.t .suche:focus-within .t-taste { opacity: 0; }
body.t .radar-treffer {
  position: absolute;
  top: calc(100% + 2px);
  left: 4px;
  right: 4px;
  z-index: 40;
  max-height: min(60vh, 420px);
  overflow: auto;
  padding: 4px;
  border-radius: 14px;
  background: var(--t-fest);
  border: 1px solid var(--t-linie-stark);
  box-shadow: var(--t-schatten);
  animation: t-pop 160ms var(--t-ease) backwards;
}
body.t .radar-treffer a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--t-ziel);
  padding: 0 10px;
  border-radius: var(--t-r2);
  color: var(--t-text);
  font-size: var(--t-fs-m);
  text-decoration: none;
  border: 0;
}
body.t .radar-treffer a + a { border-top: 0; }
body.t .radar-treffer a:hover, body.t .radar-treffer a:focus-visible { background: var(--t-flaeche-2); }
body.t .stand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--t-text-2);
  font-size: var(--t-fs-m);
  white-space: nowrap;
  flex: none;
}
body.t .stand .zahl { color: var(--t-text-2); }
body.t .punkt { width: 6px; height: 6px; border-radius: 50%; background: var(--t-leise); flex: none; }
body.t .punkt.live { background: var(--t-kauf); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.22); animation: t-puls 2.4s ease-in-out infinite; }
body.t .punkt.live::after { display: none; }
body.t .kopf-rechts { display: flex; align-items: center; gap: 4px; flex: none; }
body.t .kopf-suche { display: none; }
body.t .kopf-mehr {
  display: inline-grid;
  place-items: center;
  width: var(--t-ziel);
  height: var(--t-ziel);
  border: calc((var(--t-ziel) - 28px) / 2) solid transparent;
  border-radius: 50%;
  background: var(--t-verlauf);
  background-clip: padding-box;
  color: var(--t-akzent-text);
  cursor: pointer;
  transition: transform 120ms var(--t-ease), filter var(--t-dauer) var(--t-ease);
}
body.t .kopf-mehr .t-ico { width: 15px; height: 15px; }
body.t .kopf-mehr:hover { filter: brightness(1.08); }
body.t .kopf-mehr:active { transform: scale(0.94); }

body.t .rumpf {
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
body.t .buehne {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
}
body.t-alt .buehne { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body.t .buehne > * { flex: none; }
body.t .buehne > :is(.t-seite, .spalten, main) { animation: t-ein 200ms var(--t-ease) backwards; }
body.t .t-inhalt {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 20px 32px;
  overflow: visible;
}

body.t .push-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  z-index: 40;
  left: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 2px 6px 2px 14px;
  min-height: 0;
  border: 1px solid var(--t-akzent-rand);
  border-radius: var(--t-r3);
  background: linear-gradient(90deg, rgba(242, 184, 75, 0.1), transparent 70%), var(--t-fest);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  color: var(--t-text-2);
  font-size: var(--t-fs-m);
}
body.t .push-banner > .t-ico { color: var(--t-akzent); }
body.t .push-banner[hidden] { display: none; }
@media (max-width: 1099px) {
  body.t .push-banner { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.t[data-seite="coin"] .push-banner { display: none; }
}
body.t .push-banner p { flex: 1; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--t-text-2); font-size: var(--t-fs-m); }

body.t .t-warnung {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--t-warn-weich);
  box-shadow: inset 0 0 0 1px rgba(242, 184, 75, 0.28);
  color: var(--t-text);
}
body.t .t-warnung > .t-ico { color: var(--t-warn); margin-top: 2px; }
body.t .t-warnung h2 { margin: 0 0 2px; font-size: var(--t-fs-l); font-weight: 700; }
body.t .t-warnung p { margin: 0; color: var(--t-text-2); font-size: var(--t-fs-m); }

/* Zuletzt angesehen */
body.t .zuletzt-leiste {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 36px;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--t-linie);
  background: transparent;
}
body.t .zuletzt-leiste h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px 0 0;
  flex: none;
  color: var(--t-text-2);
  font-size: var(--t-fs-s);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
body.t .zuletzt-leiste h2 .t-ico { display: none; }
body.t .zuletzt-band {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: var(--t-fs-m);
}
body.t .zuletzt-band::-webkit-scrollbar { display: none; }
body.t .zuletzt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: var(--t-ziel);
  margin: calc((26px - var(--t-ziel)) / 2) 0;
  padding: 0 10px 0 4px;
  border: calc((var(--t-ziel) - 26px) / 2) solid transparent;
  border-left-width: 0;
  border-right-width: 0;
  border-radius: var(--t-pille);
  background: var(--t-flaeche);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--t-linie);
  color: var(--t-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-dauer) var(--t-ease), box-shadow var(--t-dauer) var(--t-ease);
}
body.t .zuletzt-chip:hover { background-color: var(--t-flaeche-2); box-shadow: inset 0 0 0 1px var(--t-linie-stark); text-decoration: none; }
body.t .zuletzt-chip .sym { font-weight: 600; font-size: 11.5px; text-transform: uppercase; }
body.t .zuletzt-chip :is(.muenze, .buchstabe) { width: 18px; height: 18px; font-size: 9px; }
body.t .zuletzt-chip .aender { height: auto; padding: 0; background: none !important; font-size: var(--t-fs-s); }

/* Handy-Leiste */
body.t .handy-leiste { display: none; }

/* Mehr-Blatt */
body.t .mehr-haken { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
body.t .mehr-blatt { display: none; }
body.t .mehr-haken:checked ~ .mehr-blatt {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(3, 4, 9, 0.6);
  animation: t-ein 180ms var(--t-ease) backwards;
}
body.t .mehr-hintergrund { position: absolute; inset: 0; cursor: pointer; }
body.t .mehr-blatt section[aria-label="Mehr"] {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 14px 14px max(16px, env(safe-area-inset-bottom));
  background: var(--t-fest);
  border-left: 1px solid var(--t-linie);
  box-shadow: var(--t-schatten);
  animation: t-von-rechts 220ms var(--t-ease) backwards;
}
body.t .mehr-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
body.t .mehr-kopf h2 { margin: 0 0 0 8px; font-size: var(--t-fs-xl); font-weight: 700; }
body.t .mehr-blatt .menue { display: flex; flex-direction: column; gap: 6px; position: static; width: auto; max-height: none; overflow: visible; background: none; border: 0; box-shadow: none; padding: 0; }
body.t .menue-gruppe { display: flex; flex-direction: column; gap: 0; }
body.t .menue-gruppe h3 {
  margin: 10px 8px 2px;
  color: var(--t-leise);
  font-size: var(--t-fs-s);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
body.t .menue a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--t-ziel);
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: var(--t-text-2);
  font-size: var(--t-fs-l);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-dauer) var(--t-ease), color var(--t-dauer) var(--t-ease);
}
body.t .menue a .t-ico { color: var(--t-leise); }
body.t .menue a:hover { background: var(--t-flaeche-2); color: var(--t-text); text-decoration: none; }
body.t .menue a.aktiv { background: var(--t-akzent-weich); color: var(--t-text); }
body.t .menue a.aktiv .t-ico { color: var(--t-akzent); }
body.t #push-status { margin: 12px 0 0; }
body.t #push-status h3 { margin: 0 0 2px; font-size: var(--t-fs-m); font-weight: 700; }
body.t #push-status p { margin: 0; font-size: var(--t-fs-m); }
body.t .mehr-aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
body.t .mehr-aktionen form { margin: 0; display: flex; }
body.t .mehr-aktionen .t-knopf { width: 100%; }

/* ── Bausteine ────────────────────────────────────────────────────── */
body.t .t-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--t-ziel);
  min-width: var(--t-ziel);
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--t-flaeche-2);
  box-shadow: inset 0 0 0 1px var(--t-linie);
  color: var(--t-text);
  font-size: var(--t-fs-l);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-dauer) var(--t-ease), box-shadow var(--t-dauer) var(--t-ease), transform 120ms var(--t-ease), filter var(--t-dauer) var(--t-ease);
}
body.t .t-knopf:hover { background: var(--t-flaeche-3); text-decoration: none; }
body.t .t-knopf:active { transform: scale(0.97); }
body.t .t-knopf.primaer { background: var(--t-verlauf); color: var(--t-akzent-text); box-shadow: 0 8px 22px -12px rgba(242, 184, 75, 0.7); font-weight: 700; }
body.t .t-knopf.primaer:hover { filter: brightness(1.07); }
body.t .t-knopf.an { background: var(--t-akzent-weich); box-shadow: inset 0 0 0 1px var(--t-akzent-rand); color: var(--t-text); }
body.t .t-knopf.klein { padding: 0 12px; font-size: var(--t-fs-m); }
body.t .t-knopf.gefahr { color: var(--t-verkauf); }
body.t .t-knopf:disabled { opacity: 0.4; cursor: default; transform: none; }

body.t .t-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--t-ziel);
  height: var(--t-ziel);
  padding: 0;
  border: calc((var(--t-ziel) - 32px) / 2) solid transparent;
  border-radius: 12px;
  background: transparent;
  background-clip: padding-box;
  color: var(--t-text-2);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--t-dauer) var(--t-ease), color var(--t-dauer) var(--t-ease), transform 120ms var(--t-ease);
}
body.t .t-icon .t-ico { width: 18px; height: 18px; }
body.t .t-icon::-webkit-details-marker { display: none; }
body.t .t-icon:hover { background-color: var(--t-flaeche-2); color: var(--t-text); text-decoration: none; }
body.t .t-icon:active { transform: scale(0.94); }
body.t .t-icon.an { color: var(--t-akzent); }

body.t .t-karte {
  background: var(--t-glas);
  border: 1px solid var(--t-linie);
  border-radius: var(--t-r3);
  box-shadow: var(--t-glas-schatten);
  padding: 14px;
}
body.t .t-karte.glow { box-shadow: var(--t-glow); border-color: transparent; }
body.t .t-karte.flach { padding: 10px 12px; background: var(--t-flaeche); box-shadow: none; }
body.t .t-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  min-width: 0;
}
body.t .t-kopf :is(h1, h2) { margin: 0; font-size: var(--t-fs-xl); font-weight: 700; letter-spacing: -0.01em; }
body.t .t-kopf h1 { font-size: var(--t-fs-2xl); letter-spacing: -0.02em; }
body.t .t-titel-klein {
  margin: 0;
  color: var(--t-text-2);
  font-size: var(--t-fs-s);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body.t .t-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--t-pille);
  background: var(--t-flaeche-2);
  box-shadow: inset 0 0 0 1px var(--t-linie);
  color: var(--t-text-2);
  font-size: var(--t-fs-s);
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
  vertical-align: middle;
}
body.t .t-badge .t-ico { width: 12px; height: 12px; }
body.t .t-badge.ok { background: var(--t-kauf-weich); color: var(--t-kauf); box-shadow: none; }
body.t .t-badge.warn { background: var(--t-warn-weich); color: var(--t-warn); box-shadow: none; }
body.t .t-badge.gefahr { background: var(--t-verkauf-weich); color: var(--t-verkauf); box-shadow: none; }
body.t .t-badge.akzent { background: var(--t-akzent-weich); color: var(--t-akzent); box-shadow: inset 0 0 0 1px var(--t-akzent-rand); }

body.t .t-tabelle { width: 100%; border-collapse: collapse; font-size: var(--t-fs-m); }
body.t .t-tabelle th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 32px;
  padding: 0 10px;
  background: var(--t-bg);
  color: var(--t-text-2);
  font-size: var(--t-fs-s);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--t-linie);
}
body.t .t-tabelle td { height: 44px; padding: 0 10px; border-bottom: 1px solid var(--t-linie-fein); white-space: nowrap; }
body.t .t-tabelle :is(td, th).r { text-align: right; }
body.t .t-tabelle tbody tr { position: relative; transition: background-color 120ms var(--t-ease); }
body.t .t-tabelle tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

body.t .t-leer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  color: var(--t-leise);
  font-size: var(--t-fs-m);
  text-align: center;
}
body.t .t-leer > .t-ico { width: 22px; height: 22px; opacity: 0.7; }
body.t .t-leer strong { color: var(--t-text-2); font-weight: 600; font-size: var(--t-fs-l); }

body.t .t-skelett {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--t-flaeche-2);
}
body.t .t-skelett::after,
body.t [data-kennzahl]:empty:not(.fehlt)::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  animation: t-schimmer 1.3s ease-in-out infinite;
}
body.t [data-kennzahl]:empty:not(.fehlt) {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 58px;
  height: 0.9em;
  border-radius: 4px;
  background: var(--t-flaeche-3);
  vertical-align: middle;
}
body.t [data-kennzahl].fehlt:empty::before { content: "–"; color: var(--t-leise); }

/* Live-Ticker: kurzes Aufblitzen ohne Layoutsprung */
body.t .t-blitz { position: relative; }
body.t :is(.t-blitz-hoch, .t-blitz-tief)::after {
  content: "";
  position: absolute;
  inset: -2px -4px;
  border-radius: 6px;
  pointer-events: none;
  animation: t-aus 700ms var(--t-ease) forwards;
}
body.t .t-blitz-hoch::after { background: rgba(61, 220, 151, 0.22); }
body.t .t-blitz-tief::after { background: rgba(255, 92, 122, 0.22); }

/* Münze / Logo */
body.t :is(.muenze, .buchstabe) { flex: none; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: var(--t-flaeche-2); box-shadow: 0 0 0 1px var(--t-linie); }
body.t .buchstabe {
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--t-akzent);
  background: radial-gradient(circle at 30% 25%, rgba(242, 184, 75, 0.22), rgba(255, 255, 255, 0.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(242, 184, 75, 0.25);
}
body.t :is(.muenze, .buchstabe).logo-gross { width: 32px; height: 32px; font-size: 13px; }

/* ── Brücke für die übrigen Seiten (stil.css) ─────────────────────── */
body.t-alt :is(h1, h2, h3, h4) { font-family: var(--t-schrift); letter-spacing: -0.01em; }
body.t-alt .t-inhalt h1 { font-size: var(--t-fs-2xl); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
body.t-alt .t-inhalt h2 { font-size: var(--t-fs-xl); font-weight: 700; }
body.t-alt .t-inhalt h3 { font-size: var(--t-fs-l); font-weight: 700; }
body.t-alt .karte {
  background: var(--t-glas);
  border: 1px solid var(--t-linie);
  border-radius: var(--t-r3);
  box-shadow: var(--t-glas-schatten);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.t-alt .karte:hover { transform: none; box-shadow: var(--t-glas-schatten); border-color: var(--t-linie-stark); }
body.t-alt .knopf {
  border-radius: 12px;
  background: var(--t-verlauf);
  color: var(--t-akzent-text);
  border: 0;
  font-weight: 700;
  box-shadow: 0 8px 22px -12px rgba(242, 184, 75, 0.7);
  transition: filter var(--t-dauer) var(--t-ease), transform 120ms var(--t-ease);
}
body.t-alt .knopf:hover { filter: brightness(1.07); }
body.t-alt .knopf:active { transform: scale(0.97); }
body.t-alt :is(.knopf-leise, .icon-knopf, .aktions-blatt summary, .zahnrad summary) {
  border-radius: 12px;
  background: var(--t-flaeche-2);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--t-linie);
  color: var(--t-text);
  transition: background-color var(--t-dauer) var(--t-ease);
}
body.t-alt :is(.knopf-leise, .icon-knopf):hover { background: var(--t-flaeche-3); }
body.t-alt .t-inhalt :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea) {
  border-radius: var(--t-r2);
  background-color: var(--t-flaeche);
  border: 1px solid var(--t-linie);
  color: var(--t-text);
  font-size: var(--t-fs-l);
  transition: border-color var(--t-dauer) var(--t-ease), box-shadow var(--t-dauer) var(--t-ease);
}
body.t-alt .t-inhalt select option { background: var(--t-fest); color: var(--t-text); }
body.t-alt .t-inhalt :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]), select) { min-height: var(--t-ziel); }
body.t-alt .t-inhalt :is(input, select, textarea):focus { border-color: var(--t-akzent-rand); box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.14); outline: none; }
body.t-alt .t-inhalt table th { color: var(--t-text-2); font-weight: 600; font-size: var(--t-fs-s); letter-spacing: 0; text-transform: none; }
body.t-alt .t-inhalt table :is(td, th) { border-color: var(--t-linie-fein); }
body.t-alt :is(.held h1, .verlaufstext, .logo-text) { background: none; -webkit-text-fill-color: currentColor; color: var(--t-text); animation: none; }
body.t-alt .einblenden { animation-duration: 220ms; }
body.t-alt :is(.chip, .pille, .marke-chip) { border-radius: var(--t-pille); }
body.t-alt .wallet-liste,
body.t-alt .seite-karte {
  background: var(--t-glas);
  border: 1px solid var(--t-linie);
  border-radius: var(--t-r3);
  box-shadow: var(--t-glas-schatten);
}
body.t-alt .wallet-liste { padding: 2px 14px; }
body.t-alt .anmelde-karte { box-shadow: var(--t-glow); border-color: transparent; }
body.t-alt :is(.seite-kopf > a, .news-sprung a) { color: var(--t-akzent); }
body.t-alt .symbol {
  background: var(--t-akzent-weich);
  color: var(--t-akzent);
  box-shadow: inset 0 0 0 1px var(--t-akzent-rand);
}
body.t-alt .symbol .t-ico { width: 14px; height: 14px; vertical-align: 0; }
body.t-alt .kosten-kasten {
  background: var(--t-glas);
  border: 1px solid var(--t-linie);
  box-shadow: var(--t-glas-schatten);
  transition: border-color var(--t-dauer) var(--t-ease);
}
body.t-alt .kosten-kasten:hover { transform: none; box-shadow: var(--t-glas-schatten); border-color: var(--t-linie-stark); }
body.t-alt .kosten-kasten.aktiv { border-color: transparent; box-shadow: var(--t-glow); }

/* ── Login ────────────────────────────────────────────────────────── */
body.t .t-login {
  min-height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: transparent;
}
body.t .t-login .marke { font-size: 14px; }
body.t .t-login-karte {
  width: min(380px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: var(--t-glas);
  border: 1px solid transparent;
  box-shadow: var(--t-glow);
  animation: t-rein 260ms var(--t-ease) backwards;
}
body.t .t-login-karte h1 { margin: 0 0 4px; font-size: var(--t-fs-2xl); font-weight: 700; letter-spacing: -0.02em; }
body.t .t-login-karte p { margin: 0 0 14px; color: var(--t-text-2); font-size: var(--t-fs-l); }
body.t .t-login-karte ol { margin: 0 0 14px; padding-left: 18px; color: var(--t-text-2); }
body.t .t-login-karte code { padding: 1px 5px; border-radius: 4px; background: var(--t-flaeche-3); font-size: 12px; }
body.t .t-feld { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; color: var(--t-text-2); font-size: var(--t-fs-m); font-weight: 600; }
body.t .t-feld input {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--t-linie);
  background: var(--t-flaeche);
  color: var(--t-text);
  font-size: 16px;
  transition: border-color var(--t-dauer) var(--t-ease), box-shadow var(--t-dauer) var(--t-ease);
}
body.t .t-feld input:focus { border-color: var(--t-akzent-rand); box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.14); outline: none; }
body.t .t-login-karte .t-knopf { width: 100%; height: 46px; }
body.t .t-fehler { padding: 8px 10px; border-radius: var(--t-r2); background: var(--t-verkauf-weich); color: var(--t-verkauf) !important; }
body.t .t-login-fuss { color: var(--t-leise); font-size: var(--t-fs-s); }

/* ── Handy ────────────────────────────────────────────────────────── */
@media (max-width: 1099px) {
  body.t .schiene, body.t .t-taste, body.t .zuletzt-leiste { display: none; }
  body.t .kopfzeile { gap: 6px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); justify-content: space-between; }
  body.t .stand { order: 2; margin-left: auto; font-size: var(--t-fs-s); }
  body.t .stand-zeit { display: none; }
  body.t .kopf-rechts { order: 3; gap: 0; }
  body.t .kopf-suche { display: inline-grid; }
  body.t .kopf-mehr { display: none; }
  body.t .kopfzeile .suche {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 12px 10px;
    background: var(--t-fest);
    border-bottom: 1px solid var(--t-linie);
    box-shadow: var(--t-schatten);
    animation: t-pop 160ms var(--t-ease) backwards;
  }
  body.t .suche-haken:checked ~ .app .kopfzeile .suche { display: flex; }
  body.t .suche-innen { width: 100%; }
  body.t .kopfzeile .suche input { font-size: 16px; padding-right: 12px; }
  body.t .handy-leiste {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
    z-index: 20;
    padding: 4px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    background: rgba(6, 8, 15, 0.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--t-linie);
  }
  :root[data-design="hell"] body.t .handy-leiste { background: rgba(247, 245, 240, 0.86); }
  body.t .handy-leiste > :is(a, label) {
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--t-leise);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    width: auto;
    min-height: 0;
    cursor: pointer;
    transition: color var(--t-dauer) var(--t-ease);
  }
  body.t .handy-leiste .t-ico { width: 23px; height: 23px; transition: transform 120ms var(--t-ease); }
  body.t .handy-leiste > :is(a, label):active .t-ico { transform: scale(0.88); }
  body.t .handy-leiste > a.an { color: var(--t-text); }
  body.t .handy-leiste > a.an .t-ico { color: var(--t-akzent); filter: drop-shadow(0 0 8px rgba(242, 184, 75, 0.45)); }
  body.t .t-inhalt { padding: 12px 16px 24px; }
  body.t .mehr-haken:checked ~ .mehr-blatt { align-items: flex-end; }
  body.t .mehr-blatt section[aria-label="Mehr"] {
    width: 100%;
    height: auto;
    max-height: 88%;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--t-linie-stark);
    border-radius: 22px 22px 0 0;
    animation-name: t-von-unten;
  }
  body.t .mehr-blatt .menue { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
  body.t .menue-gruppe:last-child { grid-column: 1 / -1; }
  body.t .t-tabelle td { height: 48px; }
  body.t-alt .t-inhalt :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) { font-size: 16px; }
  body.t-alt .t-inhalt :is(.knopf, a.knopf, .knopf-leise, .icon-knopf, button, select, summary, label.schalter, input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"])) { min-height: 44px; }
  body.t-alt .t-inhalt :is(.knopf, a.knopf, .knopf-leise, .icon-knopf, button, summary, label.schalter) { min-width: 44px; }
  body.t-alt .t-inhalt :is(p, li, td, dd, span) > a:not([class]) { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ── Bewegung ─────────────────────────────────────────────────────── */
@keyframes t-rein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes t-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes t-aus { from { opacity: 1; } to { opacity: 0; } }
@keyframes t-pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes t-von-rechts { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes t-von-unten { from { transform: translateY(24px); } to { transform: none; } }
@keyframes t-schimmer { to { transform: translateX(100%); } }
@keyframes t-puls { 0%, 100% { box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.22); } 50% { box-shadow: 0 0 0 5px rgba(61, 220, 151, 0.08); } }

/* Weniger Bewegung: keine Wege und kein Schimmer, Zustandswechsel bleiben als kurze Blende. */
@media (prefers-reduced-motion: reduce) {
  body.t .buehne > :is(.t-seite, .spalten, main),
  body.t .mehr-blatt section[aria-label="Mehr"],
  body.t .radar-treffer,
  body.t .t-login-karte { animation-name: t-ein; }
  body.t .t-skelett::after,
  body.t [data-kennzahl]:empty:not(.fehlt)::after,
  body.t .punkt.live { animation: none; }
  body.t :is(.t-knopf, .t-icon, .handy-leiste .t-ico, .kopf-mehr):active { transform: none; }
}
