/* Moodcheck, Design "Holo-Folie": nur dunkel, Schriften vom eigenen Server. */
@font-face { font-family: "Unbounded"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/unbounded-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/manrope-700.woff2") format("woff2"); }

:root {
  --bg: #0E0D12;
  --glow: #1E1B28;
  --face: #16141C;
  --inner: #211E29;
  --inner-line: #2F2B3A;
  --text: #EDEAF5;
  --muted: #A39DB0;
  --pill-line: #34303F;
  --pill-bg: #1B1922;
  --a1: #FF8FA3;
  --a2: #FFC27A;
  --a3: #A9B8C9;
  --a4: #7FE0C6;
  --a5: #5FD3A8;
  --neutral: #9AB8FF;
  --holo-ring: conic-gradient(from 200deg, #FF9AD5, #9AE6FF, #B8FFB0, #FFE59A, #FF9AD5);
  --holo-ring-evening: conic-gradient(from 200deg, #9AB8FF, #C9A8FF, #FF9AD5, #FFE59A, #9AB8FF);
  --holo-fill: linear-gradient(125deg, #FF9AD5, #9AE6FF 45%, #B8FFB0 75%, #FFE59A);
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(120% 60% at 50% 0%, var(--glow), var(--bg) 70%) no-repeat, var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--body);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.2; margin: 0; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
p { margin: 0; }
strong, b { font-weight: 700; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.page { max-width: 480px; margin: 0 auto; padding: 20px 16px 32px; }
.noscript { padding: 20px; text-align: center; }

:focus-visible { outline: 2px solid #9AE6FF; outline-offset: 2px; }

/* Karte mit schillerndem Rand */
.holo { padding: 3px; border-radius: 22px; background: var(--holo-ring); }
.holo.evening { background: var(--holo-ring-evening); }
.face { background: var(--face); border-radius: 19px; padding: 20px; }
.face-inner { background: var(--inner); border: 1px solid var(--inner-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }

/* Bildfeld: Holo-Farben mit feinen Streifen */
.art {
  border-radius: 14px;
  min-height: 160px;
  background:
    repeating-linear-gradient(115deg, rgba(14, 13, 18, 0.18) 0 2px, transparent 2px 9px),
    var(--holo-fill);
}

/* Kleine Knöpfe und Auswahl */
.pill, .chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--pill-line); border-radius: 999px;
  background: var(--pill-bg); color: var(--text);
  font: 600 15px/1 var(--body); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.chip[aria-pressed="true"], .chip.on { border-color: #9AE6FF; background: var(--inner); }
.pill:disabled, .btn-primary:disabled { opacity: 0.5; cursor: default; }

/* Antwortknöpfe 1 bis 5 */
.answer {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--inner-line); border-radius: 14px;
  background: var(--inner); color: var(--text);
  font: 700 16px/1 var(--body); cursor: pointer;
}
.answer[data-v="1"] { border-color: var(--a1); }
.answer[data-v="2"] { border-color: var(--a2); }
.answer[data-v="3"] { border-color: var(--a3); }
.answer[data-v="4"] { border-color: var(--a4); }
.answer[data-v="5"] { border-color: var(--a5); }
.answer[aria-pressed="true"] { color: var(--bg); }
.answer[data-v="1"][aria-pressed="true"] { background: var(--a1); }
.answer[data-v="2"][aria-pressed="true"] { background: var(--a2); }
.answer[data-v="3"][aria-pressed="true"] { background: var(--a3); }
.answer[data-v="4"][aria-pressed="true"] { background: var(--a4); }
.answer[data-v="5"][aria-pressed="true"] { background: var(--a5); }

/* Hauptknopf mit Holo-Verlauf */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: linear-gradient(125deg, #FF9AD5, #9AE6FF 45%, #B8FFB0 75%, #FFE59A);
  color: #0E0D12; font: 700 16px/1 var(--body); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Schublade von unten */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  max-height: 85dvh; overflow: auto;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: var(--face); border: 1px solid var(--inner-line); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  animation: sheet-in 220ms ease-out;
}
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.field {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--inner-line); border-radius: 14px;
  background: var(--inner); color: var(--text);
  font: 600 18px/1 var(--body); letter-spacing: 0.08em; text-align: center; text-transform: uppercase;
}
.field::placeholder { color: var(--muted); }

/* Anmeldung */
.login-layer { position: fixed; inset: 0; z-index: 30; overflow: auto; background: var(--bg); }
.login { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.login-card { width: 100%; max-width: 380px; }
.login-face { display: flex; flex-direction: column; gap: 24px; padding: 28px 20px; }
.login-brand { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.login-actions { display: flex; flex-direction: column; gap: 12px; }
.busy { opacity: 0.6; pointer-events: none; }

.install p + p { margin-top: 4px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 40;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px;
  background: var(--inner); border: 1px solid var(--inner-line); color: var(--text);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.invisible { visibility: hidden; }

/* Blatt: Hintergrund und Inhalt */
.sheet { max-width: 480px; margin: 0 auto; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 19; background: rgba(8, 7, 12, 0.6); animation: fade-in 160ms ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-list { display: flex; flex-direction: column; gap: 8px; }
.sheet .pill { width: 100%; }

/* Karten-Ablauf (Artboards Holo, Holo-Teilen, Holo-Abend) */
.karten { position: relative; z-index: 0; overflow-x: hidden; overflow-x: clip; }
.karten.evening::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(120% 60% at 50% 0%, #1A1B33, #0B0B14 70%) no-repeat, #0B0B14;
}
.karten-col {
  max-width: 480px; margin: 0 auto; padding: 20px 16px;
  min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px;
}
.karten-wait { padding: 40px 16px; }
.karten-top { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.karten-top.end { justify-content: flex-end; }
.close-btn {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--pill-line); border-radius: 50%; background: var(--pill-bg); color: var(--text);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.close-btn .icon { width: 20px; height: 20px; }
.pill-small { padding: 0 14px; font-size: 14px; }
.progress { flex: 1; height: 4px; border-radius: 2px; background: #2A2733; overflow: hidden; }
.progress-fill {
  display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 2px;
  background: linear-gradient(90deg, #FF9AD5, #9AE6FF, #B8FFB0); transition: width 300ms ease;
}
.progress.segments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; background: none; overflow: visible; }
.progress.segments span { height: 4px; border-radius: 2px; background: #2A2733; }
.progress.segments span.on { background: linear-gradient(90deg, #9AB8FF, #FF9AD5); }
.progress-count { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.stage { flex: 1; display: grid; align-items: center; }
.stage > .card { grid-area: 1 / 1; }
.card { width: 100%; outline: none; }
.card.leaving { z-index: 2; pointer-events: none; }
.card-holo { box-shadow: 0 30px 60px -24px rgba(154, 230, 255, 0.45); }
.card-holo.evening {
  background: conic-gradient(from 160deg, #9AB8FF, #C9A8FF, #FF9AD5, #FFE59A, #9AB8FF);
  box-shadow: 0 30px 60px -24px rgba(154, 184, 255, 0.45);
}
.card-face { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-size: 18px; letter-spacing: 0.04em; min-width: 0; overflow-wrap: anywhere; }
.card-no { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.card-art {
  position: relative; height: clamp(96px, 17vh, 136px); border-radius: 14px;
  display: grid; place-items: center; color: #16141C;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0 2px, rgba(255, 255, 255, 0) 2px 9px),
    linear-gradient(125deg, #FF9AD5 0%, #9AE6FF 32%, #B8FFB0 58%, #FFE59A 82%, #FF9AD5 100%);
}
.evening .card-art {
  height: clamp(104px, 18vh, 150px);
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0 2px, rgba(255, 255, 255, 0) 2px 9px),
    linear-gradient(125deg, #9AB8FF 0%, #C9A8FF 35%, #FF9AD5 70%, #FFE59A 100%);
}
.icon { width: 24px; height: 24px; flex: none; }
.card-art .icon { width: 96px; height: 96px; max-height: 84%; stroke-width: 1.25; }
.card-art .icon-night { width: 150px; height: 100px; }
.later {
  position: absolute; top: 6px; right: 6px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 999px; background: rgba(14, 13, 18, 0.74); color: var(--text);
  font: 700 14px/1 var(--body); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.card-section { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card-question { display: block; font-size: 19px; line-height: 1.35; font-weight: 600; }
.evening .card-question { font-size: 21px; line-height: 1.3; }
.card-note { font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* Antworten mit Ziffernring in der Antwortfarbe; Lust-Fragen neutral */
.answers { display: flex; flex-direction: column; gap: 7px; }
.ans {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 12px 6px 8px;
  border: 1px solid var(--inner-line); border-radius: 12px; background: var(--inner); color: var(--text);
  font: 600 16px/1.25 var(--body); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.ans[data-v="1"] { --c: var(--a1); }
.ans[data-v="2"] { --c: var(--a2); }
.ans[data-v="3"] { --c: var(--a3); }
.ans[data-v="4"] { --c: var(--a4); }
.ans[data-v="5"] { --c: var(--a5); }
.card.pref .ans { --c: var(--neutral); }
.ans .ring {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--c); color: var(--c); font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease;
}
.ans:active, .ans.picked { background: #2A2635; }
.ans[aria-pressed="true"], .ans.picked { border-color: var(--c); }
.ans[aria-pressed="true"] .ring, .ans.picked .ring { background: var(--c); color: var(--bg); }

.karten-foot { display: flex; justify-content: space-between; align-items: center; }
.link-btn {
  min-height: 44px; min-width: 44px; padding: 0 4px; border: 0; background: none; color: var(--text);
  font: 700 15px/1 var(--body); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.link-btn.quiet { color: var(--muted); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.quiet[aria-pressed="true"] { color: var(--text); font-weight: 700; }
.link-btn:disabled { cursor: default; }

/* Textfelder (16 px, sonst zoomt iOS beim Tippen) */
.textarea {
  width: 100%; resize: none; padding: 10px 12px; border: 1px solid var(--inner-line); border-radius: 12px;
  background: var(--inner); color: var(--text); font: 400 16px/1.4 var(--body);
}
.textarea::placeholder { color: var(--muted); }
.field-row { display: flex; flex-direction: column; gap: 4px; }
.counter { align-self: flex-end; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-actions, .finish-actions { display: flex; flex-direction: column; gap: 8px; }
.card-actions .btn-primary, .finish-actions .btn-primary { width: 100%; }
.finish-actions .btn-primary { min-height: 52px; border-radius: 14px; font-size: 17px; }
.btn-ghost {
  width: 100%; min-height: 44px; border: 1px solid var(--pill-line); border-radius: 14px; background: none;
  color: var(--text); font: 700 15px/1 var(--body); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.btn-ghost:disabled { opacity: 0.5; cursor: default; }

/* Fast fertig */
.finish-face { padding: 16px 14px 14px; gap: 14px; }
.block { display: flex; flex-direction: column; gap: 6px; }
.block-title { font-size: 13px; font-weight: 700; }
.minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 11), minmax(0, 40px)); gap: 4px; }
.mini {
  height: 32px; border-radius: 6px; display: grid; place-items: center;
  background: var(--c); color: var(--bg); font-size: 13px; font-weight: 700;
}
.mini[data-v="1"] { --c: var(--a1); }
.mini[data-v="2"] { --c: var(--a2); }
.mini[data-v="3"] { --c: var(--a3); }
.mini[data-v="4"] { --c: var(--a4); }
.mini[data-v="5"] { --c: var(--a5); }
.mini.pref { --c: var(--neutral); }
.mini.none { --c: var(--muted); background: var(--inner); color: var(--muted); border: 1px solid var(--inner-line); }
.mini.private { background: var(--face); color: var(--c); border: 2px dashed var(--c); }
.wishes { display: flex; flex-wrap: wrap; gap: 6px; }
.wishes .chip { padding: 0 14px; border-color: var(--inner-line); background: var(--inner); font-size: 14px; font-weight: 700; }
.wishes .chip[aria-pressed="true"] { border-color: transparent; background: linear-gradient(125deg, #FF9AD5, #9AE6FF, #B8FFB0); color: var(--bg); }
.privacy-row {
  display: flex; align-items: center; gap: 10px; padding: 0 4px 0 12px; border-radius: 12px;
  background: var(--inner); border: 1px solid var(--inner-line); font-size: 14px;
}
.privacy-row .icon { width: 16px; height: 16px; }
.privacy-row > span { flex: 1; min-width: 0; padding: 8px 0; }
.privacy-row .link-btn { padding: 0 8px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.quote { padding: 10px 12px; border-radius: 12px; background: var(--inner); border: 1px solid var(--inner-line); white-space: pre-wrap; overflow-wrap: anywhere; }
.reveal-hint { font-size: 12.5px; line-height: 1.4; color: var(--muted); text-align: center; }

/* Schalter im Blatt „Was bleibt privat?“ */
.switch-row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 12px;
  border: 1px solid var(--inner-line); border-radius: 12px; background: var(--inner); color: var(--text);
  font: 400 15px/1.3 var(--body); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.switch-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.switch-text b { font-weight: 700; }
.switch-text .muted { font-size: 13px; }
.switch-state { font-size: 13px; color: var(--muted); }
.switch { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--pill-line); transition: background-color 160ms ease; }
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--text); transition: transform 160ms ease;
}
.switch-row[aria-checked="true"] .switch { background: #9AE6FF; }
.switch-row[aria-checked="true"] .switch::after { transform: translateX(20px); background: var(--bg); }
.switch-row[aria-checked="true"] .switch-state { color: var(--text); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .sheet { animation: none; }
}

/* Kopfzeile: Pill links, Pill rechts */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.topbar .pill { text-decoration: none; }

/* Heute (Artboard Holo-Heute) */
.today-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.today-head h1 { font-size: 28px; letter-spacing: 0.03em; }
.today-status { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: #153A33; color: #8FE0CC; font-size: 13px; font-weight: 700;
}
.status-chip .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.status-chip.waiting, .status-chip.partner_waiting, .status-chip.none { background: var(--inner); color: var(--muted); }
.toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--pill-line); background: var(--pill-bg); }
.toggle-btn {
  min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font: 700 14px/1 var(--body); cursor: pointer;
}
.toggle-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.deck {
  display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px; padding: 4px 16px 12px; scroll-padding: 0 16px; overscroll-behavior-x: contain;
}
.deck::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }

.tcard { box-shadow: 0 30px 60px -24px rgba(154, 230, 255, 0.4); }
.tcard.evening { background: var(--holo-ring-evening); }
.tface, .tback { padding: 16px 14px 14px; gap: 12px; }
.thead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tname { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tname-big { font: 700 20px/1.2 var(--head); letter-spacing: 0.04em; overflow-wrap: anywhere; }
.small { font-size: 13px; }
.ring-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #9AE6FF; }
.evening .ring-icon { border-color: #C9A8FF; }
.ring-icon .icon { width: 20px; height: 20px; stroke-width: 1.9; }
.tart { height: 116px; overflow: hidden; }
.tart .icon { width: 74px; height: 62px; stroke-width: 1.6; }
.tart .icon-night { width: 110px; height: 74px; }
.tart-label {
  position: absolute; left: 12px; right: 12px; bottom: 9px; color: #16141C;
  font: 700 12px/1.2 var(--head); letter-spacing: 0.06em;
}
.tback .tart { background:
  repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0 2px, rgba(255, 255, 255, 0) 2px 9px),
  linear-gradient(125deg, #9AB8FF, #FF9AD5 50%, #FFE59A); }
.tback .tart .icon { width: 56px; height: 56px; }
.wish-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.wish-line .chip { min-height: 0; padding: 5px 12px; font-size: 14px; font-weight: 700; border-color: var(--inner-line); }
.icon-sm { width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }
.tsec { display: flex; flex-direction: column; gap: 9px; }
.trow-wrap { display: flex; flex-direction: column; gap: 6px; }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) 64px 44px; gap: 10px; align-items: center; --c: var(--muted); }
.trow[data-v="1"] { --c: var(--a1); }
.trow[data-v="2"] { --c: var(--a2); }
.trow[data-v="3"] { --c: var(--a3); }
.trow[data-v="4"] { --c: var(--a4); }
.trow[data-v="5"] { --c: var(--a5); }
.trow.pref { --c: var(--neutral); }
.trow-name { display: flex; flex-direction: column; min-width: 0; }
.trow-name b { font-size: 14.5px; overflow-wrap: anywhere; }
.bar { height: 8px; border-radius: 4px; background: #2A2733; overflow: hidden; }
.bar-fill { display: block; height: 8px; border-radius: 4px; width: var(--w, 0%); background: var(--c); }
.trow-val { text-align: right; font-weight: 700; font-size: 15px; white-space: nowrap; }
.extra { padding: 6px 9px; border-radius: 8px; background: var(--inner); border: 1px solid var(--inner-line); font-size: 13px; overflow-wrap: anywhere; }
.tquote {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px;
  background: var(--inner); border: 1px solid var(--inner-line); font-size: 15px; line-height: 1.4;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.tquote .card-section { white-space: normal; }
.tfoot { gap: 8px; }
.reactions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.react-btn {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--inner-line); background: var(--pill-bg);
  color: var(--text); font: 700 14px/1 var(--body); display: flex; align-items: center; justify-content: center;
  gap: 6px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.react-btn .icon { width: 16px; height: 16px; stroke-width: 2; }
.react-btn[aria-pressed="true"] { border-color: #9AE6FF; background: var(--inner); }
.tfoot > .link-btn { align-self: center; }
.react-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.react-note .icon { width: 16px; height: 16px; }
.replies { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.reply { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--inner-line); background: var(--inner); overflow-wrap: anywhere; }
.sheet .field-row { gap: 8px; }
.sheet .field-row .pill { align-self: flex-end; width: auto; }

/* Auswertung und Einstellungen */
.reports-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.back-link { display: inline-flex; align-items: center; align-self: flex-start; text-decoration: none; }
.reports-head h1 { font-size: 28px; letter-spacing: 0.03em; }
.icon-btn { width: 44px; padding: 0; }
.icon-btn .icon { width: 22px; height: 22px; }
.tabs { display: flex; width: 100%; }
.tabs .toggle-btn { flex: 1; padding: 0 4px; }
.small { font-size: 13px; }
.hrow { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.hday { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hday .icon { width: 18px; height: 18px; }
.select, .textarea, .time {
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--inner-line); border-radius: 14px;
  background: var(--inner); color: var(--text); font: 600 16px/1.3 var(--body);
}
.select, .textarea { width: 100%; }
.textarea { resize: vertical; font-weight: 400; }
.time { width: 7.5em; text-align: center; }
.chart-wrap { display: flex; gap: 8px; align-items: stretch; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; max-width: 72px; padding: 2px 0; text-align: right; overflow-wrap: anywhere; }
.chart-svg { flex: 1; min-width: 0; height: 160px; background: var(--inner); border-radius: 14px; }
.chart-grid { stroke: var(--inner-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-line { stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-days { display: flex; justify-content: space-between; padding-left: 80px; }
.lock-note { display: flex; align-items: center; gap: 6px; }
.setting-row { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.setting-row .grow { flex: 1; min-width: 0; }
.off-label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.setting-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: #9AE6FF; }
.settings .chip { width: 100%; min-height: 44px; height: auto; padding: 8px 18px; text-align: center; line-height: 1.3; }
.pill.danger { border-color: var(--a1); color: var(--a1); }

