:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #120c09; --bg-glut: rgba(239,126,65,.11);
  --karte: #1d1511; --karte2: #2a1f19; --karte3: #3a2c24;
  --text: #f4ece5; --text2: #a8978a; --text3: #6f6158;
  --linie: rgba(255,226,200,.08); --rand: rgba(255,226,200,.09);
  --akzent: #ef7e41; --akzent-text: #1d120c; --akzent-weich: rgba(239,126,65,.14); --akzent-rand: rgba(239,126,65,.5);
  --gluehen: 0 0 32px rgba(239,126,65,.36);
  --gruen: #7cc68d; --orange: #f0a35a; --rot: #ef6b5b; --lila: #c39be8;
  --gruen-weich: rgba(124,198,141,.14); --rot-weich: rgba(239,107,91,.15); --orange-weich: rgba(240,163,90,.15);
  --blatt: #1d1511; --schleier: rgba(10,6,4,.62); --schalter-aus: #3a2c24;
  --glas: rgba(29,21,17,.74); --glas-rand: rgba(255,226,200,.10); --glas-licht: rgba(255,226,200,.07);
  --linse: rgba(255,226,200,.08); --linse-stark: rgba(255,226,200,.15);
  --schatten: 0 18px 40px rgba(0,0,0,.22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --r: 26px; --r-innen: 16px;
  --feder: cubic-bezier(.32,1.28,.5,1); --weich: cubic-bezier(.22,1,.36,1);
  --hl-kw: #ef9158; --hl-str: #8bd49c; --hl-com: #857468; --hl-num: #c9a2f0; --hl-fn: #f4be74; --hl-prop: #7bc4e8;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6efe8; --bg-glut: rgba(217,99,42,.10);
  --karte: #fffaf5; --karte2: #f1e7de; --karte3: #e5d7cb;
  --text: #2a1d16; --text2: #7d6a5d; --text3: #b3a296;
  --linie: rgba(80,50,30,.10); --rand: rgba(80,50,30,.10);
  --akzent: #d9632a; --akzent-text: #fffaf5; --akzent-weich: rgba(217,99,42,.11); --akzent-rand: rgba(217,99,42,.45);
  --gluehen: 0 0 24px rgba(217,99,42,.25);
  --gruen: #3e9a5c; --orange: #c9761f; --rot: #cf4b3c; --lila: #8a5cc4;
  --gruen-weich: rgba(62,154,92,.12); --rot-weich: rgba(207,75,60,.12); --orange-weich: rgba(201,118,31,.12);
  --blatt: #fbf5ef; --schleier: rgba(42,29,22,.35); --schalter-aus: #e3d6cb;
  --glas: rgba(255,250,245,.78); --glas-rand: rgba(80,50,30,.10); --glas-licht: rgba(255,255,255,.8);
  --linse: rgba(80,50,30,.06); --linse-stark: rgba(80,50,30,.11);
  --schatten: 0 14px 34px rgba(80,50,30,.10);
  --hl-kw: #c24b18; --hl-str: #2a7e46; --hl-com: #948275; --hl-num: #7848b4; --hl-fn: #a86214; --hl-prop: #1f6c9a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--text); font: 17px/1.35 var(--sans); -webkit-font-smoothing: antialiased; background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 55% at 50% -12%, var(--bg-glut), transparent 62%); }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1 { font: 400 40px/1.1 var(--serif); letter-spacing: -.01em; margin: 0; }
h2 { font: 500 12.5px/1.2 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--text2); margin: 30px 8px 12px; }
h3 { font-size: 17px; font-weight: 600; margin: 0; text-align: center; }
.lbl { display: block; font: 500 11.5px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text2); }
.klein { font-size: 13.5px; color: var(--text2); line-height: 1.4; }
.mono { font: 12px var(--mono); color: var(--text3); }
.gross { font: 600 30px/1.1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mittel { font-size: 20px; font-weight: 600; }
.gut { color: var(--gruen); } .mittelwarm { color: var(--orange); } .schlecht { color: var(--rot); }
.leer { color: var(--text2); padding: 16px 18px; font-size: 15px; }
html, body { overscroll-behavior: none; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, .unter, .gs-text, .gpt-inhalt, .gpt-code { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
button { transition: opacity .15s, transform .15s, background-color .2s, color .2s, box-shadow .2s; }
button:active:not(:disabled) { opacity: .6; }
:focus-visible { outline: 2px solid var(--akzent-rand); outline-offset: 2px; }
.vorhang { min-height: 100vh; padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 20px); }
.mitte { max-width: 360px; margin: 9vh auto 0; text-align: center; }
.app-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--gluehen); }
.mitte h1 { margin: 16px 0 8px; }
.mitte .gruppe { text-align: left; }
.leise { color: var(--text2); font-size: 15px; margin: 0 0 20px; }
.meldung { color: var(--rot); font-size: 14px; min-height: 20px; margin: 12px 0 0; }
.meldung.ok { color: var(--gruen); }
.code-feld { width: 100%; text-align: center; font: 600 34px/1 var(--mono); letter-spacing: .35em; background: var(--karte);
#s-app { max-width: 720px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 8px) max(16px, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 112px) max(16px, env(safe-area-inset-left)); }
.kopf { display: flex; align-items: center; justify-content: space-between; margin: 10px 4px 16px; min-height: 48px; }
.rund { width: 40px; height: 40px; border-radius: 50%; background: var(--karte2); border: 1px solid var(--rand); display: grid; place-items: center; }
.rund svg { width: 18px; height: 18px; fill: var(--akzent); }
.unterreiter { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin: 0 0 16px; padding: 4px;
  border-radius: 999px; background: var(--karte); border: 1px solid var(--rand); }
.unterreiter button { position: relative; z-index: 1; padding: 10px 0; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text2);
  white-space: nowrap; transition: color .25s, transform .18s var(--feder); }
.unterreiter button.an { color: var(--akzent); }
.unterreiter button:active:not(:disabled) { opacity: 1; transform: scale(.94); }
.pille { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; opacity: 0; border-radius: 999px; pointer-events: none;
  background: var(--akzent-weich); box-shadow: inset 0 0 0 1px var(--akzent-rand);
  transition: transform .42s var(--feder), width .42s var(--feder), opacity .2s; }
.karte, .kachel, .liste { background: var(--karte); border: 1px solid var(--rand); box-shadow: var(--schatten); }
.karte { position: relative; border-radius: var(--r); padding: 20px; margin-top: 14px; min-width: 0; }
.karte.tippbar { cursor: pointer; transition: transform .2s var(--feder); }
.karte.tippbar:active { transform: scale(.98); }
.karte > .lbl { margin-bottom: 10px; }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.kachel { position: relative; min-width: 0; border-radius: 22px; padding: 16px; min-height: 112px; display: flex; flex-direction: column; gap: 4px; }
.kachel .lbl { padding-right: 18px; letter-spacing: .14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kachel .klein { overflow-wrap: anywhere; }
.kachel.tippbar { cursor: pointer; transition: transform .12s; }
.kachel.tippbar:active { transform: scale(.97); }
.pfeil-ecke { position: absolute; top: 12px; right: 14px; color: var(--text3); font-size: 20px; line-height: 1; }
.balken { height: 6px; border-radius: 3px; background: var(--karte3); overflow: hidden; margin-top: auto; }
.balken > i { display: block; height: 100%; background: var(--akzent); border-radius: 3px; transition: width .4s; }
.liste { border-radius: var(--r); overflow: hidden; margin-top: 14px; }
.zeile { display: flex; align-items: center; gap: 12px; padding: 12px 18px; min-height: 56px; border-top: 1px solid var(--linie); width: 100%; text-align: left; }
.zeile:first-child { border-top: 0; }
.zeile .links { flex: 1; min-width: 0; }
.zeile .titel { font-size: 17px; }
.unter { color: var(--text2); font-size: 14px; margin-top: 2px; overflow-wrap: anywhere; }
.punkt { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--gruen); box-shadow: 0 0 0 3px var(--gruen-weich); }
.punkt.aus { background: var(--rot); box-shadow: 0 0 0 3px var(--rot-weich); }
.tabelle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 15px; }
.tabelle span:nth-child(odd) { color: var(--text2); }
.tabelle span:nth-child(even) { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.knopf { background: var(--akzent); color: var(--akzent-text); font-weight: 600; border-radius: 999px; padding: 13px 20px; box-shadow: var(--gluehen); }
.knopf.voll { width: 100%; margin-top: 16px; }
.knopf.zweit { background: var(--karte2); color: var(--text); box-shadow: none; border: 1px solid var(--rand); }
.knopf.rot { background: var(--rot-weich); color: var(--rot); box-shadow: none; }
.knopf.klein-k { padding: 8px 15px; font-size: 15px; }
.knopf:disabled { opacity: .45; }
.knopf { transition: transform .2s var(--feder), opacity .15s, background-color .2s, color .2s, box-shadow .25s; }
.knopf:active:not(:disabled) { transform: scale(.95); opacity: .88; transition-duration: .06s; }
.knopfreihe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.text-knopf { color: var(--akzent); font-size: 17px; }
.ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--karte2); border: 1px solid var(--rand); }
.ico svg { width: 18px; height: 18px; fill: var(--akzent); }
.ico.rot svg { fill: var(--rot); }
.ico.gross-ico { width: 54px; height: 54px; background: var(--akzent); border: 0; box-shadow: var(--gluehen); }
.ico.gross-ico svg { width: 26px; height: 26px; fill: var(--akzent-text); }
.ico:active:not(:disabled) { transform: scale(.94); }
.plus { width: 36px; height: 36px; border-radius: 50%; background: var(--karte2); border: 1px solid var(--rand); display: grid; place-items: center; }
.plus svg { width: 22px; height: 22px; fill: var(--akzent); }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; margin-top: 10px;
  border-radius: 18px; background: var(--karte2); border: 1px solid var(--rand); }
.seg button { position: relative; z-index: 1; min-height: 42px; padding: 8px 6px; border-radius: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.2;
  color: var(--text2); transition: color .25s, transform .18s var(--feder); }
.seg button.an { color: var(--akzent); }
.seg button:active:not(:disabled) { opacity: 1; transform: scale(.95); }
.seg > .pille { border-radius: 14px; }
.schalter { position: relative; width: 51px; height: 31px; flex: none; border-radius: 99px; background: var(--schalter-aus); transition: background .2s; }
.schalter::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .3s var(--feder); }
.schalter.an { background: var(--akzent); }
.schalter.an::after { transform: translateX(20px); }
.schalter:active:not(:disabled) { opacity: 1; }
.gruppe { background: var(--karte); border: 1px solid var(--rand); border-radius: var(--r-innen); overflow: hidden; }
.eingabe { width: 100%; border: 0; background: transparent; color: var(--text); padding: 13px 16px; outline: none; }
.eingabe::placeholder { color: var(--text3); }
.gruppe .eingabe + .eingabe { border-top: 1px solid var(--linie); }
.eingabe-zeile { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.eingabe-zeile .eingabe { background: var(--karte2); border: 1px solid var(--rand); border-radius: 999px; padding: 11px 16px; flex: 1; min-width: 0; }
.eingabe-zeile .knopf { padding: 11px 18px; flex: none; }
select.eingabe { -webkit-appearance: none; appearance: none; background: var(--karte2); border: 1px solid var(--rand); border-radius: 14px; padding: 12px 16px; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; color: var(--text2); }
.check input { width: 20px; height: 20px; accent-color: var(--akzent); }
input[type=range] { flex: 1; accent-color: var(--akzent); min-width: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.chip { font-size: 13px; padding: 4px 11px; border-radius: 99px; background: var(--gruen-weich); color: var(--gruen); }
.chip.aus { background: var(--rot-weich); color: var(--rot); }
.alarm { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--rot-weich); color: var(--rot);
  border-radius: var(--r-innen); padding: 12px 14px; margin-top: 12px; font-weight: 600; }
.musik-knoepfe { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.musik-knoepfe .platz { flex: 1; }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 30px 8px 0; }
.kopf-zeile h2 { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kopf-zeile > div { display: flex; align-items: center; gap: 8px; flex: none; }
.kopf-zeile .knopf { white-space: nowrap; }
.kopf-zeile .knopf.klein-k { font-size: 14px; padding: 7px 13px; }
.regler { display: grid; grid-template-columns: 62px minmax(0, 1fr) 44px 58px; align-items: center; gap: 10px; margin-top: 16px; }
.regler > span:first-child { font-size: 15px; }
.regler > span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; color: var(--text2); font-size: 15px; }
.regler > .knopf { padding-left: 0; padding-right: 0; }
.reg-bahn { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.reg-bahn input { width: 100%; position: relative; z-index: 1; margin: 0; }
.reg-normal { position: absolute; top: -10px; width: 18px; height: 12px; margin-left: -9px; padding: 0; background: none; z-index: 2; }
.reg-normal::after { content: ""; position: absolute; left: 8px; top: 0; width: 2px; height: 10px; border-radius: 1px; background: var(--text2); }
.schleier { position: fixed; inset: 0; background: var(--schleier); z-index: 10; animation: ein .2s ease; cursor: pointer; transition: opacity .22s; touch-action: none; }
.schleier.raus { opacity: 0; }
.griff { cursor: grab; }
.blatt { overscroll-behavior: contain; will-change: transform; transition: bottom .3s var(--weich), max-height .3s var(--weich); }
.blatt-kopf { touch-action: none; }
.blatt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; background: var(--blatt); border-radius: 26px 26px 0 0;
  border-top: 1px solid var(--rand); max-height: 92vh; overflow-y: auto; max-width: 720px; margin: 0 auto;
  padding: 6px max(16px, env(safe-area-inset-left)) calc(env(safe-area-inset-bottom) + 20px); animation: hoch .42s var(--weich); }
.blatt .gruppe, .blatt .karte, .blatt .tag, .blatt .liste { background: var(--karte2); }
.griff { width: 38px; height: 5px; border-radius: 3px; background: var(--text3); opacity: .5; margin: 6px auto 8px; }
.blatt-kopf { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 10px; min-height: 44px; }
.blatt-kopf h3 { font: 400 21px/1.2 var(--serif); }
.blatt-kopf .text-knopf { justify-self: start; }
.haken { justify-self: end; width: 40px; height: 40px; border-radius: 50%; background: var(--akzent); display: grid; place-items: center; box-shadow: var(--gluehen); }
.haken svg { width: 24px; height: 24px; fill: var(--akzent-text); }
.zeit-eingabe { display: block; width: 100%; margin: 8px 0 4px; border: 1px solid var(--rand); border-radius: var(--r-innen); background: var(--karte2);
  color: var(--text); text-align: center; font: 300 56px/1.1 var(--sans); font-variant-numeric: tabular-nums; padding: 10px;
  -webkit-appearance: none; appearance: none; min-height: 88px; }
.zeit-eingabe::-webkit-date-and-time-value { text-align: center; }
.abschnitt { font: 500 11.5px/1.3 var(--mono); letter-spacing: .2em; color: var(--text2); text-transform: uppercase; margin: 22px 8px 10px; }
.tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tag { aspect-ratio: 1; max-height: 46px; border-radius: 50%; background: var(--karte2); color: var(--text2); font-size: 15px; font-weight: 600; }
.tag.an, .blatt .tag.an { background: var(--akzent); color: var(--akzent-text); }
.hinweis { font-size: 13px; color: var(--text2); margin: 8px 8px 0; }
.blatt-text { color: var(--text2); font-size: 15px; margin: 4px 4px 14px; text-align: center; }
.toast { position: fixed; left: 50%; transform: translate(-50%, 14px) scale(.94); opacity: 0; bottom: calc(env(safe-area-inset-bottom) + 92px); z-index: 20;
  background: var(--karte3); color: var(--text); border: 1px solid var(--rand); padding: 10px 18px; border-radius: 99px; font-size: 15px;
  max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); pointer-events: none;
  transition: transform .34s var(--feder), opacity .22s, bottom .25s var(--weich); }
.toast.da { transform: translate(-50%, 0) scale(1); opacity: 1; }
body.tab-gpt .toast { bottom: calc(env(safe-area-inset-bottom) + var(--gpt-dock-h, 118px) + 88px); }
#t-gpt { padding-bottom: calc(var(--gpt-dock-h, 118px) + 28px + var(--tastatur-h, 0px)); }
body.tastatur .leiste { opacity: 0; transform: translate(-50%, calc(100% + 28px)) scale(.97); pointer-events: none;
  transition: transform .36s var(--weich), opacity .24s ease; }
body.tastatur.tab-gpt .toast { bottom: calc(var(--tastatur-h, 0px) + var(--gpt-dock-h, 118px) + 20px); }
.gpt-kopf-leiste { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px 10px 14px; border-radius: 22px; background: var(--karte); border: 1px solid var(--rand);
  box-shadow: var(--schatten); }
.gpt-kopf-l { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.gpt-eingabe-dock { position: fixed; z-index: 5; left: 50%; transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom) + 74px); width: min(calc(100% - 16px), 688px);
  display: flex; flex-direction: column; gap: 7px; padding: 9px 10px 10px; border-radius: 26px;
  background: var(--glas); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid var(--glas-rand); box-shadow: 0 12px 34px rgba(0,0,0,.32), inset 0 1px 0 var(--glas-licht);
  transition: border-color .22s, box-shadow .22s, bottom .36s var(--weich); }
.gpt-eingabe-dock:focus-within { border-color: var(--akzent-rand);
  box-shadow: 0 0 0 1px var(--akzent-weich), 0 12px 34px rgba(0,0,0,.34), inset 0 1px 0 var(--glas-licht); }
.gpt-eingabe-row { display: flex; align-items: flex-end; gap: 6px; }
.gpt-bild-btn { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--karte2); border: 1px solid var(--rand); transition: transform .15s, border-color .2s, background-color .2s; }
.gpt-bild-btn svg { width: 19px; height: 19px; fill: var(--text2); transition: fill .2s; }
.gpt-bild-btn.an { background: var(--akzent-weich); border-color: var(--akzent-rand); }
.gpt-bild-btn.an svg { fill: var(--akzent); }
.gpt-bild-btn:active { transform: scale(.92); }
.gpt-ta { flex: 1; min-width: 0; border: 0; background: var(--karte2); border: 1px solid var(--rand); border-radius: 20px;
  padding: 8px 13px; font-size: 16px; line-height: 1.35; max-height: 120px; resize: none; outline: none; color: var(--text); }
.gpt-ta::placeholder { color: var(--text3); }
.gpt-send { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--akzent); box-shadow: var(--gluehen); transition: transform .15s, background-color .2s; }
.gpt-send svg { width: 18px; height: 18px; fill: var(--akzent-text); }
.gpt-send.stopp { background: var(--rot); box-shadow: 0 0 22px rgba(239,107,91,.38); }
.gpt-send.stopp svg { fill: #fff; }
.gpt-send:active { transform: scale(.92); }
.gpt-mic-btn { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--karte2); border: 1px solid var(--rand); transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s; }
.gpt-mic-btn svg { width: 19px; height: 19px; fill: var(--text2); transition: fill .2s; }
.gpt-mic-btn.an { background: var(--rot); border-color: var(--rot); box-shadow: 0 0 22px rgba(239,107,91,.48); animation: gpt-puls 1.3s ease-in-out infinite; }
.gpt-mic-btn.an svg { fill: #fff; }
.gpt-mic-btn:active { transform: scale(.92); }
.gpt-diktat-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px;
  background: var(--rot-weich); border: 1px solid rgba(239,107,91,.35); animation: gptEin .2s ease; }
.gpt-diktat-bar.erkennt { background: var(--akzent-weich); border-color: var(--akzent-rand); }
.gpt-eq { display: flex; align-items: center; gap: 3px; height: 22px; flex: none; }
.gpt-eq i { display: block; width: 3.5px; height: 6px; border-radius: 99px; background: var(--rot); transition: height .08s linear; }
.gpt-diktat-bar.erkennt .gpt-eq i { background: var(--akzent); }
.gpt-diktat-txt { flex: 1; min-width: 0; font: 500 13px var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.gpt-diktat-akt { display: flex; gap: 6px; flex: none; }
.gpt-spr-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 4px 4px; }
.gpt-orb-buehne { position: relative; width: 176px; height: 176px; display: grid; place-items: center; margin: 4px 0 12px; }
.gpt-orb-ring { position: absolute; inset: 12px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(239,126,65,.32), transparent 70%);
  transform: scale(calc(1 + var(--pegel, 0) * .45)); transition: transform .08s linear, background .3s; }
.gpt-orb-ring.r2 { inset: 0; opacity: .55; transform: scale(calc(1 + var(--pegel, 0) * .7)); }
.gpt-orb-btn { position: relative; z-index: 2; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #ffa062, var(--akzent) 68%, #b8501c);
  box-shadow: 0 0 38px rgba(239,126,65,.45), inset 0 2px 10px rgba(255,255,255,.28);
  transform: scale(calc(1 + var(--pegel, 0) * .12)); transition: transform .08s linear, box-shadow .25s, background .25s; }
.gpt-orb-btn svg { width: 42px; height: 42px; fill: var(--akzent-text); }
.gpt-orb-btn:active { transform: scale(.93); opacity: 1; }
.gpt-orb-buehne.hoert .gpt-orb-btn { background: radial-gradient(circle at 32% 28%, #ff8b7b, var(--rot) 70%, #a92e22);
  box-shadow: 0 0 46px rgba(239,107,91,.55), inset 0 2px 10px rgba(255,255,255,.28); }
.gpt-orb-buehne.hoert .gpt-orb-btn svg { fill: #fff; }
.gpt-orb-buehne.hoert .gpt-orb-ring { background: radial-gradient(circle, rgba(239,107,91,.42), transparent 70%); }
.gpt-orb-buehne.erkennt .gpt-orb-btn { background: radial-gradient(circle at 32% 28%, #d8b8f5, var(--lila) 72%, #7c52a8);
  box-shadow: 0 0 42px rgba(195,155,232,.48); animation: gpt-puls 1.2s ease-in-out infinite; }
.gpt-orb-buehne.erkennt .gpt-orb-btn svg { fill: #1c1226; }
.gpt-orb-buehne.arbeitet .gpt-orb-btn { animation: gpt-puls 1.5s ease-in-out infinite; }
.gpt-spr-titel { font: 400 24px/1.2 var(--serif); margin: 0; }
.gpt-spr-sub { font: 12.5px var(--mono); color: var(--text2); margin: 5px 0 14px; min-height: 18px; }
.gpt-spr-karte { width: 100%; text-align: left; background: var(--karte2); border: 1px solid var(--rand); border-radius: 20px;
  padding: 13px 15px; margin-bottom: 12px; animation: gptEin .24s ease; }
.gpt-spr-du { font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.gpt-spr-du b { color: var(--akzent); font-weight: 600; }
.gpt-spr-seg { width: 100%; margin-top: 2px; }
.gpt-bild-vorschau { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 16px;
  background: var(--karte2); border: 1px solid var(--akzent-rand); animation: gptEin .2s ease; }
.gpt-bild-vorschau img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; }
.gpt-datei-badge { width: 46px; height: 46px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--akzent-weich); border: 1px solid var(--akzent-rand); color: var(--akzent);
  font: 700 12px var(--mono); letter-spacing: .04em; }
.gpt-bild-vorschau .links { flex: 1; min-width: 0; font-size: 13px; color: var(--text); }
.gpt-bild-vorschau .links div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpt-bild-vorschau .links small { display: block; font-size: 11.5px; color: var(--text2); }
.gpt-opt { display: flex; gap: 5px; flex-wrap: nowrap; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 0 2px; }
.gpt-opt::-webkit-scrollbar { display: none; }
.gpt-chip { flex: none; padding: 5px 9.5px; border-radius: 99px; font: 500 12px var(--sans); color: var(--text2);
  background: var(--karte2); border: 1px solid var(--rand); transition: transform .14s, background-color .18s, color .18s, border-color .18s; }
.gpt-chip:active { transform: scale(.95); }
.gpt-chip.an { background: var(--akzent-weich); color: var(--akzent); border-color: var(--akzent-rand); }
.gpt-chip.gesperrt { opacity: .42; color: var(--text3); }
.gpt-ultra-grund { font: 10.5px var(--mono); color: var(--text3); padding: 0 2px; line-height: 1.25; }
.gpt-kopf-r { display: flex; align-items: center; gap: 5px; flex: none; }
.gpt-kopf-r .knopf.klein-k { padding: 6px 10px; font-size: 12.5px; }
.gpt-pin-btn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--karte2); border: 1px solid var(--rand); transition: transform .14s, background-color .2s, border-color .2s; }
.gpt-pin-btn svg { width: 16px; height: 16px; fill: var(--text2); transition: fill .2s, transform .2s; }
.gpt-pin-btn.an { background: var(--akzent-weich); border-color: var(--akzent-rand); }
.gpt-pin-btn.an svg { fill: var(--akzent); transform: rotate(-18deg); }
.gpt-pin-btn:active { transform: scale(.9); }
.gpt-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--akzent); box-shadow: 0 0 0 4px var(--akzent-weich); }
.gpt-dot.pc { background: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-weich); }
.gpt-dot.pi { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-weich); }
.gpt-dot.aktiv { animation: gpt-puls 1.4s ease-in-out infinite; }
.gpt-ort-wrap { min-width: 0; flex: 1; }
.gpt-ort-titel { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpt-ort-sub { font: 11px var(--mono); color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.gpt-modi-liste { display: grid; gap: 10px; margin-top: 6px; }
.gpt-modus-karte { text-align: left; padding: 15px 16px; border-radius: 20px; background: var(--karte2); border: 1px solid var(--rand);
  transition: transform .15s, border-color .2s, background-color .2s, box-shadow .2s; }
.gpt-modus-karte:active { transform: scale(.97); opacity: 1; }
.gpt-modus-karte.an { background: var(--akzent-weich); border-color: var(--akzent-rand); box-shadow: 0 0 24px rgba(239,126,65,.18); }
.gpt-modus-oben { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gpt-modus-oben b { font-size: 16.5px; color: var(--text); }
.gpt-modus-karte.an .gpt-modus-oben b { color: var(--akzent); }
.gpt-modus-zeit { font: 500 11.5px var(--mono); color: var(--text2); background: var(--karte); padding: 3px 9px; border-radius: 99px; border: 1px solid var(--rand); }
.gpt-modus-karte p { margin: 5px 0 0; font-size: 13.5px; color: var(--text2); line-height: 1.38; }
.gpt-leer { text-align: center; padding: 14px 4px 12px; animation: gptEin .34s cubic-bezier(.2,.8,.2,1); }
.gpt-emblem { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(239,126,65,.32), var(--karte2) 72%);
  border: 1px solid var(--akzent-rand); box-shadow: var(--gluehen); animation: gptSchweben 4.4s ease-in-out infinite; }
.gpt-emblem svg { width: 30px; height: 30px; fill: var(--akzent); }
.gpt-leer h3 { font: 400 26px/1.15 var(--serif); margin: 0 0 6px; }
.gpt-leer p { margin: 0 auto 18px; max-width: 310px; font-size: 14px; color: var(--text2); }
.gpt-ideen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; text-align: left; }
.gpt-idee { background: var(--karte); border: 1px solid var(--rand); border-radius: 18px; padding: 12px 13px; box-shadow: var(--schatten);
  transition: transform .16s cubic-bezier(.2,.8,.2,1), border-color .2s, background-color .2s; }
.gpt-idee:active { transform: scale(.96); border-color: var(--akzent-rand); background: var(--karte2); opacity: 1; }
.gpt-idee b { display: block; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--akzent); margin-bottom: 4px; }
.gpt-idee span { display: block; font-size: 13.5px; color: var(--text); line-height: 1.3; }
.gpt-feed { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.gpt-blase { animation: gptEin .34s var(--weich); }
.gpt-blase.still { animation: none; }
.gpt-blase.user { align-self: flex-end; max-width: 86%; background: var(--akzent-weich); border: 1px solid var(--akzent-rand);
  border-radius: 22px 22px 6px 22px; padding: 11px 15px; font-size: 15.5px; line-height: 1.42; overflow-wrap: anywhere; }
.gpt-user-bild { display: block; width: 100%; max-width: 220px; max-height: 180px; object-fit: cover; border-radius: 14px; margin-bottom: 8px;
  border: 1px solid var(--akzent-rand); }
.gpt-blase.bot { background: var(--karte); border: 1px solid var(--rand); border-radius: 24px; padding: 16px 17px; box-shadow: var(--schatten); }
.gpt-blase.bot.laeuft { border-color: var(--akzent-rand); box-shadow: 0 0 0 1px var(--akzent-weich), var(--schatten); }
.gpt-blase.bot.fehler { border-color: rgba(239,107,91,.45); }
.gpt-fort { background: var(--karte2); border: 1px solid var(--rand); border-radius: 18px; padding: 13px 14px; margin-bottom: 12px;
  animation: gptEin .24s cubic-bezier(.2,.8,.2,1); }
.gpt-fort-oben { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gpt-fort-l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gpt-ort-pille { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px;
  background: var(--akzent-weich); color: var(--akzent); border: 1px solid var(--akzent-rand); flex: none; }
.gpt-ort-pille.pc { background: var(--gruen-weich); color: var(--gruen); border-color: rgba(124,198,141,.35); }
.gpt-ort-pille.pi { background: var(--orange-weich); color: var(--orange); border-color: rgba(240,163,90,.35); }
.gpt-phase-txt { font-size: 13.5px; color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpt-fort-r { display: flex; align-items: baseline; gap: 6px; flex: none; font-variant-numeric: tabular-nums; }
.gpt-pct { font: 600 22px/1 var(--sans); color: var(--akzent); }
.gpt-eta { font: 11.5px var(--mono); color: var(--text2); }
.gpt-balken { position: relative; height: 7px; border-radius: 99px; background: var(--karte3); overflow: hidden; margin-top: 10px; }
.gpt-balken > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--akzent), var(--orange));
  box-shadow: 0 0 14px rgba(239,126,65,.45); transition: width .35s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; }
.gpt-balken > i::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(-100%); animation: gptShimmer 1.6s ease-in-out infinite; }
.gpt-stufen { display: grid; gap: 8px; margin-top: 11px; }
.gpt-stufe { display: grid; grid-template-columns: minmax(0, 1fr) 74px minmax(56px, auto); align-items: center; gap: 8px; font-size: 12.5px; }
.gpt-stufe-name { color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpt-stufe.aktiv .gpt-stufe-name { color: var(--text); font-weight: 600; }
.gpt-stufe.fertig .gpt-stufe-name { color: var(--gruen); }
.gpt-mini-b { height: 4px; border-radius: 99px; background: var(--karte3); overflow: hidden; }
.gpt-mini-b > i { display: block; height: 100%; border-radius: 99px; background: var(--akzent); transition: width .35s cubic-bezier(.2,.8,.2,1), background-color .25s; }
.gpt-stufe.fertig .gpt-mini-b > i { background: var(--gruen); }
.gpt-stufe-p { text-align: right; font: 11.5px var(--mono); color: var(--text2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gpt-ultra-box { display: grid; gap: 7px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--linie); }
.gpt-ultra-zeile { display: flex; align-items: flex-start; gap: 8px; }
.gpt-ultra-zeile > .gpt-ort-pille { min-width: 34px; text-align: center; padding: 2px 7px; margin-top: 1px; }
.gpt-ultra-liste { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-width: 0; }
.gpt-ultra-item { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; font-size: 12px;
  background: var(--karte); border: 1px solid var(--rand); color: var(--text2); max-width: 100%; }
.gpt-ultra-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.gpt-ultra-item i { font-style: normal; font-size: 11px; flex: none; }
.gpt-ultra-item.laeuft { border-color: var(--akzent-rand); color: var(--text); font-weight: 500; }
.gpt-ultra-item.laeuft i { color: var(--akzent); animation: gpt-puls 1s ease-in-out infinite; }
.gpt-ultra-item.fertig { border-color: rgba(124,198,141,.35); color: var(--text); }
.gpt-ultra-item.fertig i { color: var(--gruen); font-weight: 700; }
.gpt-ultra-item.abbruch { border-color: rgba(239,107,91,.35); color: var(--text3); }
.gpt-ultra-item.abbruch i { color: var(--rot); }
.gpt-seiten { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gpt-seite { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px;
  background: var(--karte); border: 1px solid var(--rand); color: var(--text2); text-decoration: none; max-width: 100%;
  transition: border-color .2s, color .2s, background-color .2s; }
.gpt-seite span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.gpt-seite i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--text3); }
.gpt-seite.liest { border-color: var(--akzent-rand); color: var(--text); }
.gpt-seite.liest i { background: var(--akzent); animation: gpt-puls 1s ease-in-out infinite; }
.gpt-seite.gelesen { border-color: rgba(124,198,141,.35); color: var(--text); }
.gpt-seite.gelesen i { background: var(--gruen); }
.gpt-seite.uebersprungen { opacity: .48; }
.gpt-hinweis { margin-top: 8px; padding: 7px 10px; border-radius: 12px; font-size: 12.5px; background: var(--orange-weich); color: var(--orange); }
.gpt-inhalt { font-size: 15.5px; line-height: 1.52; overflow-wrap: anywhere; }
.gpt-inhalt p { margin: 0 0 10px; }
.gpt-inhalt p:last-child { margin-bottom: 0; }
.gpt-inhalt h4 { font: 600 16px/1.3 var(--sans); color: var(--akzent); margin: 12px 0 6px; }
.gpt-inhalt ul, .gpt-inhalt ol { margin: 4px 0 10px; padding-left: 20px; }
.gpt-inhalt li { margin: 3px 0; }
.gpt-inhalt code { font: 13.5px var(--mono); background: var(--karte2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--rand); }
.gpt-code-wrap { position: relative; margin: 10px 0; border-radius: 14px; background: var(--bg); border: 1px solid var(--rand); overflow: hidden; }
.gpt-code-kopf { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; background: var(--karte2);
  font: 11px var(--mono); color: var(--text2); border-bottom: 1px solid var(--linie); }
.gpt-code-kopf button { font: 11.5px var(--sans); color: var(--akzent); font-weight: 600; }
.gpt-code { margin: 0; padding: 11px 13px; overflow-x: auto; font: 13px/1.48 var(--mono); color: var(--text); white-space: pre; }
.gpt-code .hl-kw { color: var(--hl-kw); font-weight: 600; }
.gpt-code .hl-str { color: var(--hl-str); }
.gpt-code .hl-com { color: var(--hl-com); font-style: italic; }
.gpt-code .hl-num { color: var(--hl-num); }
.gpt-code .hl-fn { color: var(--hl-fn); }
.gpt-code .hl-prop { color: var(--hl-prop); }
.gpt-math-block { margin: 10px 0; padding: 11px 14px; border-radius: 14px; background: var(--karte2); border: 1px solid var(--rand);
  overflow-x: auto; overflow-y: hidden; text-align: center; }
.gpt-math-block .katex-display { margin: 0; }
.gpt-math-inline .katex { font-size: 1.04em; }
.gpt-tab-wrap { margin: 10px 0; overflow-x: auto; border-radius: 14px; border: 1px solid var(--rand); background: var(--karte2); }
.gpt-tab { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.4; }
.gpt-tab th, .gpt-tab td { padding: 8px 11px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.gpt-tab th { font: 600 12px var(--mono); letter-spacing: .04em; color: var(--akzent); background: var(--karte); }
.gpt-tab tr:last-child td { border-bottom: 0; }
.gpt-zitat { margin: 10px 0; padding: 9px 13px; border-left: 3px solid var(--akzent); border-radius: 0 12px 12px 0;
  background: var(--karte2); color: var(--text2); font-size: 14.5px; }
.gpt-hr { border: 0; height: 1px; background: var(--linie); margin: 12px 0; }
.gpt-link { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; }
.gpt-user-datei { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin-bottom: 7px; padding: 5px 10px 5px 6px;
  border-radius: 12px; background: var(--karte); border: 1px solid var(--akzent-rand); font-size: 12.5px; color: var(--text); }
.gpt-user-datei > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpt-datei-chip { flex: none; padding: 2px 6px; border-radius: 7px; background: var(--akzent-weich); color: var(--akzent);
  font: 700 10.5px var(--mono); letter-spacing: .04em; }
.gpt-cursor { display: inline-block; width: 7px; height: 15px; background: var(--akzent); border-radius: 2px; margin-left: 3px;
  vertical-align: -2px; animation: k-puls .9s ease-in-out infinite; }
.gpt-ausweis { margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: var(--karte2); border: 1px solid var(--rand); }
.gpt-ausweis-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gpt-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; font: 500 11.5px var(--mono);
  background: var(--karte); border: 1px solid var(--rand); color: var(--text2); font-variant-numeric: tabular-nums; }
.gpt-tag.denken { color: var(--lila); border-color: rgba(195,155,232,.35); background: rgba(195,155,232,.10); }
.gpt-tag.web { color: var(--gruen); border-color: rgba(124,198,141,.35); background: var(--gruen-weich); }
.gpt-tag.bild { color: var(--orange); border-color: rgba(240,163,90,.35); background: var(--orange-weich); }
.gpt-tag.datei { color: var(--akzent); border-color: var(--akzent-rand); background: var(--akzent-weich); }
.gpt-gk-liste { display: grid; gap: 6px; margin-top: 8px; }
.gpt-gk-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px;
  background: var(--karte); border: 1px solid var(--rand); font-size: 12.5px; color: var(--text);
  transition: opacity .18s, transform .18s; }
.gpt-gk-item.weg { opacity: 0; transform: translateX(10px); }
.gpt-gk-txt { flex: 1; min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.gpt-gk-rub { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px;
  background: var(--karte2); color: var(--text2); font: 500 10.5px var(--mono); }
.gpt-gk-del { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--karte2); border: 1px solid var(--rand); color: var(--text2); font-size: 16px; line-height: 1;
  transition: background-color .16s, color .16s, border-color .16s, transform .14s; }
.gpt-gk-del:active { transform: scale(.88); background: var(--rot-weich); color: var(--rot); border-color: rgba(239,107,91,.4); }
.gpt-gemerkt { margin-top: 8px; padding: 6px 10px; border-radius: 11px; font-size: 12.5px;
  background: var(--akzent-weich); border: 1px solid var(--akzent-rand); color: var(--text); }
.gpt-gemerkt b { color: var(--akzent); font-weight: 600; }
.gpt-meta-akt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 9px; justify-content: flex-end; }
.gpt-meta-btn { padding: 5px 11px; border-radius: 99px; font-size: 12px; background: var(--karte); border: 1px solid var(--rand); color: var(--text2);
  transition: transform .14s, color .18s, border-color .18s, background-color .18s; }
.gpt-meta-btn.obsidian { color: var(--akzent); border-color: var(--akzent-rand); background: var(--akzent-weich); font-weight: 500; }
.gpt-meta-btn:active { transform: scale(.94); color: var(--akzent); border-color: var(--akzent-rand); }
.gpt-obs-wrap { display: flex; flex-direction: column; gap: 11px; padding: 2px 0 4px; }
.gpt-obs-wrap .gruppe { margin: 0; }
.gpt-obs-wrap .gpt-modi-liste { margin-top: 0; }
.gpt-quellen { margin-top: 8px; }
.gpt-quellen summary { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text2); cursor: pointer; list-style: none; }
.gpt-quellen summary::-webkit-details-marker { display: none; }
.gpt-chat-hinweis { font-size: 13px; color: var(--text2); text-align: center; margin: 2px 6px 12px; }
.gpt-rf-wrap { display: flex; flex-direction: column; gap: 12px; padding: 2px 0 4px; }
.gpt-rf-frage { background: var(--karte2); border: 1px solid var(--akzent-rand); border-radius: 18px;
  padding: 13px 15px; font-size: 16px; font-weight: 500; line-height: 1.42; color: var(--text); }
.gpt-rf-liste { display: grid; gap: 8px; }
.gpt-rf-opt { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 18px; background: var(--karte2); border: 1px solid var(--rand);
  transition: transform .15s, border-color .2s, background-color .2s, box-shadow .2s; }
.gpt-rf-opt:active { transform: scale(.97); background: var(--akzent-weich); border-color: var(--akzent-rand); opacity: 1; }
.gpt-rf-nr { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--akzent-weich); border: 1px solid var(--akzent-rand); color: var(--akzent);
  font: 600 12.5px var(--mono); }
.gpt-rf-txt { flex: 1; min-width: 0; font-size: 15px; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }
.gpt-rf-pfeil { flex: none; font-size: 20px; line-height: 1; color: var(--text3); }
.gpt-rf-trenner { display: flex; align-items: center; gap: 10px; margin-top: 2px;
  font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text3); }
.gpt-rf-trenner::before, .gpt-rf-trenner::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.gpt-rf-eigen { display: flex; align-items: center; gap: 8px; }
.gpt-rf-inp { flex: 1; min-width: 0; border: 1px solid var(--rand); background: var(--karte2); color: var(--text);
  border-radius: 999px; padding: 11px 15px; font-size: 15.5px; outline: none; transition: border-color .2s; }
.gpt-rf-inp:focus { border-color: var(--akzent-rand); }
.gpt-rf-inp::placeholder { color: var(--text3); }
.gpt-rf-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px;
  padding: 11px 13px; border-radius: 16px; background: var(--akzent-weich); border: 1px solid var(--akzent-rand);
  animation: gptEin .24s ease; }
.gpt-rf-inline .links { flex: 1; min-width: 0; }
.gpt-rf-inline .lbl { color: var(--akzent); margin-bottom: 3px; }
.gpt-rf-inline-q { font-size: 14px; color: var(--text); line-height: 1.35; overflow-wrap: anywhere; }
@keyframes hoch { from { transform: translateY(100%); } to { transform: none; } }
@keyframes tabRechts { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes tabLinks { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes karteEin { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes punktEin { 0% { transform: scale(.5); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes gptEin { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes gptShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes gptSchweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes gpt-puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.22); opacity: .55; } }
@keyframes puls { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.18); opacity: .12; } }
@keyframes wackeln { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
@keyframes k-puls { 50% { opacity: .35; } }
@media (min-width: 600px) { .kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .blatt, .schleier, .gk-wurzel-halo, .punkte.wackeln, .tab.rein, .tab.rein > *, .punkte i.voll, .k-rec.an,
  .gpt-blase, .gpt-fort, .gpt-emblem, .gpt-balken > i::after, .gpt-dot.aktiv, .gpt-seite.liest i, .gpt-ultra-item.laeuft i,
  .gpt-mic-btn.an, .gpt-orb-buehne.erkennt .gpt-orb-btn, .gpt-orb-buehne.arbeitet .gpt-orb-btn { animation: none; }
  .pc-slide-txt { animation: none; background: none; -webkit-text-fill-color: var(--text2); }
  .linse, .schalter::after, .gpt-balken > i, .pille, .toast { transition: none; }
}

/* Gast-Seite: keine Tab-Leiste -> Eingabe sitzt unten */
#s-app { padding-bottom: calc(var(--gpt-dock-h, 118px) + 28px + var(--tastatur-h, 0px) + env(safe-area-inset-bottom)); }
.gpt-eingabe-dock { bottom: calc(env(safe-area-inset-bottom) + 12px); }
body.tastatur .toast { bottom: calc(var(--tastatur-h, 0px) + var(--gpt-dock-h, 118px) + 20px); }
.kopf h1 { font-size: 32px; }
.titel-name { color: var(--text2); font-size: 15px; margin-top: 4px; }
.gpt-idee { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 18px;
  background: var(--karte); border: 1px solid var(--rand); }
.gpt-idee b { font: 500 11px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--akzent); }
.gpt-idee span { font-size: 14.5px; color: var(--text); }
.vorhang form { text-align: left; }
.vorhang .knopf.voll { margin-top: 12px; }
.blatt .knopf.voll { margin-top: 10px; }
