/* ============================================================================
   DateMate – Markenkonzept „Treffpunkt“
   Zwei Punkte, die sich finden. Papier, Tinte, Tomate, Salbei.
   Schriften: Bricolage Grotesque (Titel) + Figtree (Text), selbst gehostet.
   Modus über data-theme (auto | light | dark), Akzent über data-accent.
   ============================================================================ */
@import url('/fonts/fonts.css');

/* ---------- Hell: Papier & Tinte ---------- */
:root,
[data-theme="light"],
[data-theme="auto"] {
  color-scheme: light;
  --bg-page: #f4efe6;          /* Papier */
  --bg-card: #fffdf9;
  --bg-soft: #efe8dc;
  --bg-soft-hover: #e6ddce;
  --text-main: #1f1b16;        /* Tinte */
  --text-muted: #6b5f50;
  --text-light: #857868;
  --border-col: rgba(31, 27, 22, 0.11);
  --border-strong: rgba(31, 27, 22, 0.22);
  --surface-strong: #1f1b16;
  --on-strong: #f4efe6;
  --on-strong-muted: rgba(244, 239, 230, 0.72);
  --danger: #b8321f;
  --success: #4e6b4b;
  --birthday: #b7791f;
  --dot-a: #e8492a;            /* Tomate – erster Punkt */
  --dot-b: #1f1b16;            /* Tinte – zweiter Punkt */
  --dot-a-fg: #ffffff;         /* Initialen auf den Punkten */
  --dot-b-fg: var(--bg-page);
  --sage: #9db39a;
  --sage-soft: #e4ece2;
  --sage-text: #3f5b3d;
  --card-shadow: 0 1px 2px rgba(31, 27, 22, 0.04), 0 6px 20px -10px rgba(31, 27, 22, 0.12);

  /* Akzent: Tomate (für weiße Schrift etwas tiefer gemischt) */
  --accent: #d23f22;
  --accent-fg: #ffffff;
  --accent-soft: #fbe5dd;
  --accent-text: #b9341a;
}

/* ---------- Dunkel: warme Nacht statt kaltem Schwarz ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #15120e;
  --bg-card: #201c17;
  --bg-soft: #2a251f;
  --bg-soft-hover: #342e27;
  --text-main: #f4efe6;
  --text-muted: #b8ab99;
  --text-light: #978a79;
  --border-col: rgba(244, 239, 230, 0.1);
  --border-strong: rgba(244, 239, 230, 0.2);
  --surface-strong: #2a251f;
  --on-strong: #f4efe6;
  --on-strong-muted: rgba(244, 239, 230, 0.7);
  --danger: #f07a63;
  --success: #a9c3a5;
  --birthday: #e9b35c;
  --dot-a: #f0684b;
  --dot-b: #f4efe6;
  --sage: #9db39a;
  --sage-soft: rgba(157, 179, 154, 0.16);
  --sage-text: #b9d0b5;
  --card-shadow: none;
  --accent: #f0684b;
  --accent-fg: #1f1b16;
  --accent-soft: rgba(240, 104, 75, 0.16);
  --accent-text: #f58a70;
}

@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    color-scheme: dark;
    --bg-page: #15120e;
    --bg-card: #201c17;
    --bg-soft: #2a251f;
    --bg-soft-hover: #342e27;
    --text-main: #f4efe6;
    --text-muted: #b8ab99;
    --text-light: #978a79;
    --border-col: rgba(244, 239, 230, 0.1);
    --border-strong: rgba(244, 239, 230, 0.2);
    --surface-strong: #2a251f;
    --on-strong: #f4efe6;
    --on-strong-muted: rgba(244, 239, 230, 0.7);
    --danger: #f07a63;
    --success: #a9c3a5;
    --birthday: #e9b35c;
    --dot-a: #f0684b;
    --dot-b: #f4efe6;
    --sage: #9db39a;
    --sage-soft: rgba(157, 179, 154, 0.16);
    --sage-text: #b9d0b5;
    --card-shadow: none;
    --accent: #f0684b;
    --accent-fg: #1f1b16;
    --accent-soft: rgba(240, 104, 75, 0.16);
    --accent-text: #f58a70;
  }
}

/* ============================================================================
   Farbschemata: Camel (Standard), Navy, Rose – jeweils hell und dunkel
   ============================================================================ */

/* ---------- Camel: Sand, Camel, Espresso ---------- */
[data-accent="camel"] {
  --bg-page: #f4eee5; --bg-card: #fffcf7; --bg-soft: #ece3d5; --bg-soft-hover: #e3d7c5;
  --text-main: #2b211b; --text-muted: #6d5d4c; --text-light: #877663;
  --border-col: rgba(43, 33, 27, 0.11); --border-strong: rgba(43, 33, 27, 0.22);
  --accent: #cdb18d; --accent-fg: #2b211b; --accent-soft: #f1e6d6; --accent-text: #85663f;
  --dot-a: #cdb18d; --dot-b: #402923; --dot-a-fg: #2b211b;
  --surface-strong: #402923; --on-strong: #f4eee5; --on-strong-muted: rgba(244, 238, 229, 0.74);
}
[data-theme="dark"][data-accent="camel"] {
  --bg-page: #17120d; --bg-card: #221b14; --bg-soft: #2d241b; --bg-soft-hover: #382d22;
  --text-main: #f3ebe0; --text-muted: #c0ae98; --text-light: #9c8b76;
  --border-col: rgba(243, 235, 224, 0.1); --border-strong: rgba(243, 235, 224, 0.2);
  --accent: #d8bf9c; --accent-fg: #241a12; --accent-soft: rgba(216, 191, 156, 0.16); --accent-text: #e0caa9;
  --dot-a: #d8bf9c; --dot-b: #f3ebe0; --dot-a-fg: #241a12;
}

/* ---------- Navy: Nachtblau, Champagner, Himmelblau ---------- */
[data-accent="navy"] {
  --bg-page: #f1f0ec; --bg-card: #ffffff; --bg-soft: #e7e7e4; --bg-soft-hover: #dcdcd9;
  --text-main: #0b1530; --text-muted: #565e75; --text-light: #727a90;
  --border-col: rgba(11, 21, 48, 0.11); --border-strong: rgba(11, 21, 48, 0.22);
  --surface-strong: #041029; --on-strong: #ece1cc; --on-strong-muted: rgba(236, 225, 204, 0.72);
  --accent: #041029; --accent-fg: #ece1cc; --accent-soft: #e3e7f2; --accent-text: #1c2f63;
  --dot-a: #041029; --dot-b: #8fa6e3; --dot-a-fg: #ece1cc; --dot-b-fg: #041029;
}
[data-theme="dark"][data-accent="navy"] {
  --bg-page: #041029; --bg-card: #0c1a3a; --bg-soft: #142347; --bg-soft-hover: #1c2d55;
  --text-main: #ece1cc; --text-muted: #aab3cc; --text-light: #8791ac;
  --border-col: rgba(236, 225, 204, 0.11); --border-strong: rgba(236, 225, 204, 0.22);
  --surface-strong: #142347; --on-strong: #ece1cc; --on-strong-muted: rgba(236, 225, 204, 0.7);
  --accent: #8fa6e3; --accent-fg: #041029; --accent-soft: rgba(143, 166, 227, 0.16); --accent-text: #a9bcee;
  --dot-a: #8fa6e3; --dot-b: #ece1cc; --dot-a-fg: #041029;
}

/* ---------- Rose: Altrosa, Blush, Tannengrün ---------- */
[data-accent="rose"] {
  --bg-page: #f8efef; --bg-card: #fffbfb; --bg-soft: #f1e3e3; --bg-soft-hover: #e8d4d5;
  --text-main: #2a1f21; --text-muted: #6e5a5d; --text-light: #8a7578;
  --border-col: rgba(42, 31, 33, 0.11); --border-strong: rgba(42, 31, 33, 0.22);
  --accent: #9e5961; --accent-fg: #ffffff; --accent-soft: #f6e4e6; --accent-text: #8f4c54;
  --dot-a: #bd7880; --dot-b: #1f3a2e; --dot-a-fg: #2a1216;
  --sage-text: #1f3a2e;
  --surface-strong: #1f3a2e; --on-strong: #f8efef; --on-strong-muted: rgba(248, 239, 239, 0.74);
}
[data-theme="dark"][data-accent="rose"] {
  --bg-page: #170f10; --bg-card: #221719; --bg-soft: #2d1f22; --bg-soft-hover: #39282b;
  --text-main: #f6eaea; --text-muted: #c5aaad; --text-light: #a1878a;
  --border-col: rgba(246, 234, 234, 0.1); --border-strong: rgba(246, 234, 234, 0.2);
  --accent: #d9989f; --accent-fg: #2a1216; --accent-soft: rgba(217, 152, 159, 0.16); --accent-text: #e3adb3;
  --dot-a: #d9989f; --dot-b: #9cc3ae; --dot-a-fg: #2a1216;
  --sage-text: #b9d0b5;
}
@media (prefers-color-scheme: dark) {
  [data-theme="auto"][data-accent="camel"] {
  --bg-page: #17120d; --bg-card: #221b14; --bg-soft: #2d241b; --bg-soft-hover: #382d22;
  --text-main: #f3ebe0; --text-muted: #c0ae98; --text-light: #9c8b76;
  --border-col: rgba(243, 235, 224, 0.1); --border-strong: rgba(243, 235, 224, 0.2);
  --accent: #d8bf9c; --accent-fg: #241a12; --accent-soft: rgba(216, 191, 156, 0.16); --accent-text: #e0caa9;
  --dot-a: #d8bf9c; --dot-b: #f3ebe0; --dot-a-fg: #241a12;
  }
  [data-theme="auto"][data-accent="navy"] {
  --bg-page: #041029; --bg-card: #0c1a3a; --bg-soft: #142347; --bg-soft-hover: #1c2d55;
  --text-main: #ece1cc; --text-muted: #aab3cc; --text-light: #8791ac;
  --border-col: rgba(236, 225, 204, 0.11); --border-strong: rgba(236, 225, 204, 0.22);
  --surface-strong: #142347; --on-strong: #ece1cc; --on-strong-muted: rgba(236, 225, 204, 0.7);
  --accent: #8fa6e3; --accent-fg: #041029; --accent-soft: rgba(143, 166, 227, 0.16); --accent-text: #a9bcee;
  --dot-a: #8fa6e3; --dot-b: #ece1cc; --dot-a-fg: #041029;
  }
  [data-theme="auto"][data-accent="rose"] {
  --bg-page: #170f10; --bg-card: #221719; --bg-soft: #2d1f22; --bg-soft-hover: #39282b;
  --text-main: #f6eaea; --text-muted: #c5aaad; --text-light: #a1878a;
  --border-col: rgba(246, 234, 234, 0.1); --border-strong: rgba(246, 234, 234, 0.2);
  --accent: #d9989f; --accent-fg: #2a1216; --accent-soft: rgba(217, 152, 159, 0.16); --accent-text: #e3adb3;
  --dot-a: #d9989f; --dot-b: #9cc3ae; --dot-a-fg: #2a1216;
  --sage-text: #b9d0b5;
  }
}

:root {
  --accent-strong: var(--accent);
  --pill-active-bg: var(--accent);
  /* Bewegung: kurz und ruhig, ohne Nachfedern */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --dur-fast: 160ms;
  --dur-panel: 220ms;
  --radius-card: 18px;
  --radius-sheet: 20px;
  --radius-control: 12px;
}

/* ---------- Grundlagen ---------- */
* {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Titel in Bricolage Grotesque – eigenwillig, menschlich */
h1, h2, h3, h4,
.font-display {
  font-family: "Bricolage Grotesque", "Figtree", -apple-system, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button,
a,
[role="button"],
label {
  touch-action: manipulation;
}

button,
[role="button"] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Eingabefelder: 16 px, damit iOS beim Antippen nicht hineinzoomt */
input,
select,
textarea {
  font-size: 16px !important;
  font-family: inherit;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select {
  min-height: 44px;
}

/* Sichtbarer Fokus für Tastatur & Bildschirmleser */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Schriftgrößen (nichts unter 12 px) ---------- */
.text-\[10px\] { font-size: 12px !important; }
.text-\[11px\] { font-size: 13px !important; }
.text-xs { font-size: 14px !important; line-height: 1.45 !important; }
.text-sm { font-size: 15px !important; line-height: 1.45 !important; }
.text-base { font-size: 17px !important; }
.text-lg { font-size: 19px !important; }
.text-xl { font-size: 22px !important; line-height: 1.25 !important; }
.font-extrabold { font-weight: 700 !important; }
/* Keine gesperrten Großbuchstaben-Etiketten */
.uppercase.tracking-wider { text-transform: none !important; letter-spacing: 0 !important; }

/* ---------- Ruhigere Radien ---------- */
.rounded-\[24px\], .rounded-\[26px\] { border-radius: var(--radius-sheet) !important; }
.rounded-\[22px\], .rounded-\[18px\] { border-radius: var(--radius-card) !important; }
.rounded-2xl { border-radius: 14px !important; }

/* ---------- Flächen ---------- */
/* Kopf- und Navigationsleiste: deckend, feine Linie, kein Glas-Effekt */
.ios-glass-bar {
  background-color: var(--bg-card);
}

/* Karten: eine Linie, kein Schatten */
.bento-widget {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-col);
  box-shadow: var(--card-shadow);
}

/* Hervorgehobene Karte (nächstes Date, Ideen, Rückblick): ruhig und dunkel statt Farbverlauf */
.mesh-gradient-card {
  background: var(--surface-strong);
  color: var(--on-strong);
  border-radius: var(--radius-sheet);
}
.mesh-gradient-card .bg-white {
  background: var(--on-strong) !important;
  color: var(--surface-strong) !important;
}
.mesh-gradient-card .text-white\/95,
.mesh-gradient-card .opacity-90 {
  color: var(--on-strong-muted) !important;
  opacity: 1 !important;
}

.day-pill-active {
  background: var(--accent);
  color: var(--accent-fg) !important;
}
.day-pill-active .text-white\/90 {
  color: var(--accent-fg) !important;
  opacity: 0.8;
}

.ios-alert-box {
  background: var(--bg-card);
  border-radius: var(--radius-sheet);
  border: 1px solid var(--border-col);
}

.map-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-text);
  text-decoration: none;
}

/* Textlinks in der Akzentfarbe lesbar halten (auch im Dunkelmodus) */
.text-\[var\(--accent\)\] {
  color: var(--accent-text) !important;
}

/* ---------- Knöpfe ---------- */
.btn-primary,
.btn-soft,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-soft {
  background: var(--bg-soft);
  color: var(--text-main);
  border: 1px solid var(--border-col);
}
.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

/* Druck-Feedback für alle Knöpfe – kurz und dezent */
button,
.btn-primary,
.btn-soft,
a.btn-primary {
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease, color var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}
button:not(:disabled):active,
a.btn-primary:active {
  transform: scale(0.97);
}

/* ---------- Status ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}
.status-confirmed { background: var(--sage-soft); color: var(--sage-text); }
.status-pending { background: var(--accent-soft); color: var(--accent-text); }
.status-declined { background: var(--bg-soft); color: var(--text-muted); }

@media (prefers-color-scheme: dark) {

}

/* ---------- Kalender ---------- */
.today-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-fg);
  line-height: 1;
}
.today-circle.today-circle-on-active {
  background: var(--accent-fg);
  color: var(--accent);
}

/* Datum & Uhrzeit nebeneinander, ohne Überlappung */
input[type="date"],
input[type="time"] {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
}
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
}
.grid > * {
  min-width: 0;
}

/* ---------- Nach links wischen zum Löschen ---------- */
.date-swipe-wrapper {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.date-swipe-delete-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 92px;
  background-color: var(--danger);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 1;
}
.date-swipe-content {
  position: relative;
  z-index: 2;
  background-color: var(--bg-card);
  transition: transform var(--dur-panel) var(--ease-drawer);
}
.date-swipe-wrapper.swiped-open .date-swipe-content {
  transform: translateX(-92px);
}

/* ---------- Ideen-Karten zum Wischen ---------- */
.idea-card {
  touch-action: pan-y;
  transition: transform var(--dur-panel) var(--ease-out), opacity var(--dur-panel) ease;
}
.idea-card.swipe-left { transform: translateX(-110%) rotate(-6deg); opacity: 0; }
.idea-card.swipe-right { transform: translateX(110%) rotate(6deg); opacity: 0; }

/* ---------- Sonstiges ---------- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.offline-banner {
  background: var(--surface-strong);
  color: var(--on-strong);
}

/* Bereichswechsel: kurzes, ruhiges Einblenden */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade {
  animation: fadeIn 180ms var(--ease-out) both;
}

/* Bottom Sheet (z. B. Novi) */
@keyframes sheetIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sheet-in {
  animation: sheetIn 260ms var(--ease-drawer) both;
}

/* Weniger Bewegung, wenn das im System so eingestellt ist */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  button:active,
  .idea-card.swipe-left,
  .idea-card.swipe-right {
    transform: none !important;
  }
}

/* Auswahl im Menü (Darstellung & Akzentfarbe) */
.theme-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 6px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border-col);
  background: var(--bg-soft);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
}
.theme-choice.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.accent-swatch {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border-strong);
}

/* Kopfleiste & Navigation */
.header-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}
.header-icon-btn:active {
  background: var(--bg-soft);
}
@media (hover: hover) and (pointer: fine) {
  .header-icon-btn:hover {
    background: var(--bg-soft);
  }
}
.tab-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

/* Aufgeklappte Date-Details: Abschnitte mit Trennlinien statt Kästen in Kästen */
.date-swipe-content div.bg-\[var\(--bg-card\)\].border {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--border-col) !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.date-swipe-content .bg-\[var\(--bg-soft\)\]\/50 {
  background: transparent !important;
}

/* Große Seitentitel (iOS) */
.page-title-row {
  margin: 4px 2px 14px;
}
.page-title {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0;
}
.page-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: -6px;
  margin-bottom: 4px;
  min-height: 36px;
  font-size: 16px;
  color: var(--accent-text);
}
.header-icon-btn--accent {
  color: var(--accent-text);
}

/* Fenster als iOS-Blätter: gleiten von unten herein, Griff oben, Platz für die Home-Leiste */
.sheet-overlay > div {
  width: 100%;
  max-width: 440px !important;
  margin-top: 0 !important;
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0 !important;
  border-bottom: none !important;
  max-height: 92dvh !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 26px !important;
  padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  position: relative;
  animation: sheetIn 280ms var(--ease-drawer) both !important;
}
.sheet-overlay > div::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 36px;
  height: 5px;
  margin-left: -18px;
  border-radius: 9999px;
  background: var(--border-strong);
}
@media (min-width: 640px) {
  .sheet-overlay {
    align-items: center !important;
    padding: 16px;
  }
  .sheet-overlay > div {
    border-radius: var(--radius-sheet) !important;
    border-bottom: 1px solid var(--border-col) !important;
  }
}

/* Browser-Details im Design statt Standard */
::selection { background: var(--accent-soft); color: var(--text-main); }
input, textarea { caret-color: var(--accent); }
.tabular-nums, time, .status-pill { font-variant-numeric: tabular-nums; }
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
a { text-underline-offset: 3px; }

/* Gruppierte Listen (iOS) */
.group-heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 4px 8px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 16px;
  background: var(--bg-card);
}
button.list-row:active {
  transform: none;
  background: var(--bg-soft);
}

/* ---------- Treffpunkt: Wortmarke & Verbindungslinie ---------- */
.wordmark {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.wordmark .dots {
  display: inline-flex;
  margin: 0 2px;
  transform: translateY(1px);
}
.wordmark .dots i {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  display: block;
}
.wordmark .dots i:first-child { background: var(--dot-a); }
.wordmark .dots i:last-child { background: var(--dot-b); margin-left: -1px; }

/* Zwei Profilbilder, verbunden durch eine Linie, die sich bis zum Treffen füllt */
.meet-line {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--border-strong);
  overflow: hidden;
}
.meet-line > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--dot-a);
  border-radius: 2px;
}
.meet-line.is-dashed {
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

/* ---------- Novi: animierte Sprechblase unten rechts (Farben aus dem Farbschema) ---------- */
:root {
  --novi-glass-top: color-mix(in srgb, var(--bg-card) 88%, transparent);
  --novi-glass-bottom: color-mix(in srgb, var(--dot-a) 52%, transparent);
  --novi-glass-border: color-mix(in srgb, var(--dot-a) 70%, var(--text-main) 10%);
  --novi-glass-shine: rgba(255, 255, 255, 0.8);
  --novi-face: var(--text-main);
  --novi-tongue: var(--dot-a);
  --novi-shadow: color-mix(in srgb, var(--dot-a) 38%, transparent);
}
[data-theme="dark"] { --novi-glass-shine: rgba(255, 255, 255, 0.22); }
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] { --novi-glass-shine: rgba(255, 255, 255, 0.22); }
}

.novi-fab {
  position: fixed;
  right: max(16px, calc(50% - 204px));
  bottom: calc(env(safe-area-inset-bottom) + 84px);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.gemini-heart-btn {
  animation: heartIdleMove 6.5s ease-in-out infinite;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 10px 18px var(--novi-shadow));
  transition: filter 0.2s ease;
}
.gemini-heart-btn:active { filter: drop-shadow(0 4px 10px var(--novi-shadow)); }

.heart-eye-wander { animation: heartEyesLook 7s ease-in-out infinite; }
.heart-eye-blink { transform-origin: center 41%; animation: heartEyesBlink 5.2s ease-in-out infinite; }

@keyframes heartIdleMove {
  0%, 72%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  76% { transform: translateY(-6px) rotate(-5deg) scale(1.04); }
  80% { transform: translateY(-2px) rotate(5deg) scale(1.02); }
  84% { transform: translateY(-5px) rotate(-3deg) scale(1.03); }
  88% { transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes heartEyesLook {
  0%, 18%, 100% { transform: translate(0px, 0px); }
  22%, 34% { transform: translate(-3.2px, -1.2px); }
  38%, 48% { transform: translate(3.2px, -1px); }
  52%, 62% { transform: translate(0px, -2.5px); }
  66%, 78% { transform: translate(-2px, 1.5px); }
}
@keyframes heartEyesBlink {
  0%, 44%, 48%, 92%, 96%, 100% { transform: scaleY(1); }
  46%, 94% { transform: scaleY(0.1); }
}

/* ---------- Großes Plus mittig in der Leiste ---------- */
.tab-plus-btn {
  width: 52px;
  height: 52px;
  margin-top: -18px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 0 4px var(--bg-page);
  transition: transform 0.15s ease;
}
.tab-plus-btn:active { transform: scale(0.94); }

/* Kleines Profilbild oben rechts */
.header-profile-btn { padding: 0; }
.header-profile-btn img, .header-profile-btn > span { box-shadow: 0 0 0 1px var(--border-col); }

/* ============================================================================
   ERINNERUNGEN: „Unsere Momente“, Erinnerungsseite, Rückblick
   ============================================================================ */
.memory-in {
  animation: memoryIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes memoryIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.memory-pop { animation: memoryPop 720ms cubic-bezier(0.2, 0.9, 0.3, 1.25) both !important; }
@keyframes memoryPop {
  0% { transform: scale(0.94); opacity: 0.4; }
  60% { transform: scale(1.02); opacity: 1; }
  100% { transform: none; }
}
.memory-sheet-still { animation: none !important; }

.memory-stats {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.memory-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.memory-chip--float { position: absolute; top: 12px; left: 12px; background: var(--bg-card); color: var(--text-main); }
.memory-chip--hero { position: absolute; left: 14px; bottom: 14px; background: var(--bg-card); color: var(--text-main); font-size: 12px; padding: 5px 11px; }

.memory-stars { display: inline-flex; gap: 1px; color: var(--birthday, #e0a23b); }
.memory-stars .is-off { color: var(--border-strong); }

/* Große Erinnerungskarte mit Titelfoto */
.memory-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-soft);
  text-align: left;
  box-shadow: var(--card-shadow);
}
.memory-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.memory-card:active .memory-card-img { transform: scale(1.02); }
.memory-card-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 45%, transparent 70%); }
.memory-card-text { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.memory-card-title { font-family: "Bricolage Grotesque", "Figtree", sans-serif; font-size: 22px; font-weight: 700; line-height: 1.15; text-wrap: balance; }
.memory-card-meta { font-size: 13px; opacity: 0.92; }

/* Kompakte Erinnerung */
.memory-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
}
.memory-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.memory-thumb img { width: 100%; height: 100%; object-fit: cover; }
.memory-row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; color: var(--text-muted); }

.memory-flashback, .memory-prompt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: var(--accent-soft);
}
.memory-prompt { justify-content: space-between; background: var(--bg-card); border: 1px solid var(--border-col); }
.memory-flashback-img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.memory-flashback-icon { width: 40px; height: 40px; border-radius: 9999px; background: var(--bg-card); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Erinnerungsseite */
.memory-hero {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--card-shadow);
}
.memory-hero img { width: 100%; height: 100%; object-fit: cover; }
.memory-hero-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent-text);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 600;
}
.memory-title {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 4px;
  text-wrap: balance;
}
.memory-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.memory-meta svg { flex-shrink: 0; }

.memory-collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 220px; border-radius: 18px; overflow: hidden; }
.memory-collage > button { position: relative; overflow: hidden; background: var(--bg-soft); }
.memory-collage > button.is-big { grid-row: span 2; }
.memory-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.memory-collage--one { display: block; height: auto; aspect-ratio: 16 / 10; }
.memory-collage--one > button { width: 100%; height: 100%; display: block; }
.memory-collage--two { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 170px; }
.memory-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.memory-quote {
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  border-left: 3px solid var(--dot-a);
}
.memory-quote-text {
  margin: 6px 0 0;
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-main);
}
.memory-locked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 13px;
}
.memory-locked svg { flex-shrink: 0; color: var(--accent-text); }

.memory-menu {
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 30;
  min-width: 220px;
  padding: 6px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  animation: memoryIn 180ms ease both;
}
.memory-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-main);
  text-align: left;
}
.memory-menu button:hover { background: var(--bg-soft); }
.memory-menu button.is-danger { color: #c4372b; }

/* Rückblick-Blatt */
.memory-mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 8px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.memory-mood.is-active { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); transform: scale(1.04); }
.memory-photo-add {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1.5px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

/* Date-Liste: Erlebtes */
.dates-divider {
  padding: 8px 14px;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.status-memory { background: var(--bg-soft); color: var(--text-muted); }

/* Demo-Ansicht (…/?demo) */
.demo-pill {
  position: fixed;
  left: max(16px, calc(50% - 204px));
  bottom: calc(env(safe-area-inset-bottom) + 92px);
  z-index: 44;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border-radius: 9999px;
  background: var(--text-main);
  color: var(--bg-page);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.demo-pill button {
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--bg-page);
  color: var(--text-main);
  font-weight: 700;
}

/* Ein Chat pro Freund: Trenner pro Date im Verlauf */
.chat-date-sep {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 88%;
  padding: 4px 11px;
  border-radius: 9999px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================================
   FREUNDSCHAFTS-STREAKS (Flamme pro Mate)
   ============================================================================ */
:root {
  --flame: #d9481f;
  --flame-soft: rgba(232, 73, 42, 0.12);
  --ember: #a66a0a;
  --ember-soft: rgba(214, 150, 40, 0.16);
}
[data-theme="dark"] {
  --flame: #ff8a5c;
  --flame-soft: rgba(255, 120, 80, 0.16);
  --ember: #f0b34f;
  --ember-soft: rgba(240, 179, 79, 0.15);
}
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    --flame: #ff8a5c;
    --flame-soft: rgba(255, 120, 80, 0.16);
    --ember: #f0b34f;
    --ember-soft: rgba(240, 179, 79, 0.15);
  }
}
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.streak-badge.is-hot { background: var(--flame-soft); color: var(--flame); }
.streak-badge.is-warm { background: var(--ember-soft); color: var(--ember); }
.streak-badge.is-cold { background: var(--bg-soft); color: var(--text-muted); }

.streak-nudge {
  padding: 14px;
  border-radius: 20px;
  background: var(--ember-soft);
  border: 1px solid color-mix(in srgb, var(--ember) 22%, transparent);
}
.streak-nudge-icon { width: 34px; height: 34px; border-radius: 9999px; background: var(--bg-card); color: var(--ember); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.streak-record {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
}
.streak-record-icon { width: 34px; height: 34px; border-radius: 9999px; background: var(--flame-soft); color: var(--flame); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.streak-hero {
  border-radius: 22px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.streak-hero.is-hot { background: var(--flame-soft); color: var(--flame); }
.streak-hero.is-warm { background: var(--ember-soft); color: var(--ember); }
.streak-hero.is-cold { background: var(--bg-soft); color: var(--text-muted); }
.streak-hero-value { font-family: "Bricolage Grotesque", "Figtree", sans-serif; font-size: 26px; font-weight: 700; line-height: 1.15; color: var(--text-main); }
.streak-hero.is-hot svg { animation: flameFlicker 2.8s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flameFlicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.06, 1.1) rotate(-2deg); }
  60% { transform: scale(0.98, 1.03) rotate(2deg); }
}

.streak-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.streak-cell { aspect-ratio: 1; border-radius: 5px; background: var(--bg-soft); }
.streak-cell.is-1 { background: color-mix(in srgb, var(--flame) 45%, transparent); }
.streak-cell.is-2 { background: var(--flame); }
.streak-stat { padding: 12px; border-radius: 16px; background: var(--bg-soft); min-width: 0; }
.streak-stat-value { font-family: "Bricolage Grotesque", "Figtree", sans-serif; font-size: 20px; font-weight: 700; color: var(--text-main); line-height: 1.2; min-width: 0; }

.streak-stat-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 2px;
}

/* Novi: Vorschlagsleiste */
.novi-suggestions {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--border-col);
  scroll-padding-inline: 14px;
}
.novi-suggestions::-webkit-scrollbar { display: none; }
.novi-chip {
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  background: var(--bg-soft);
  color: var(--text-main);
  border: 1px solid var(--border-col);
}
.novi-chip.is-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.novi-chip:active { transform: scale(0.97); }

/* ============================================================================
   KURZE EINFÜHRUNG (erstes Öffnen)
   ============================================================================ */
.tutorial {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 12px) 0 calc(env(safe-area-inset-bottom) + 20px);
  animation: memoryIn 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.tutorial-top {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.tutorial-progress { display: flex; gap: 6px; }
.tutorial-progress span { width: 8px; height: 8px; border-radius: 9999px; background: var(--border-strong); transition: width 0.25s ease, background 0.25s ease; }
.tutorial-progress span.is-active { width: 22px; background: var(--accent); }
.tutorial-skip { font-size: 15px; font-weight: 600; color: var(--text-muted); padding: 10px 4px; }
.tutorial-track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.tutorial-track::-webkit-scrollbar { display: none; }
.tutorial-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
  max-width: 100%;
}
.tutorial-art { margin-bottom: 28px; }
.tutorial-art-icon {
  width: 112px;
  height: 112px;
  border-radius: 32px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tutorial-art svg { border-radius: 24px; }
.tutorial-step { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.tutorial-title {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin: 0 0 12px;
  text-wrap: balance;
}
.tutorial-text { font-size: 17px; line-height: 1.5; color: var(--text-muted); margin: 0; max-width: 340px; text-wrap: pretty; }
.tutorial-actions { width: 100%; max-width: 440px; margin: 0 auto; padding: 0 20px; }
.tutorial-final { display: flex; flex-direction: column; gap: 10px; }
.tutorial-final[hidden], #tutorial-next[hidden] { display: none; }

/* Novi: Gedankenblase über der Sprechblase */
.novi-bubble {
  position: fixed;
  z-index: 44;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-col);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.novi-bubble.is-visible { opacity: 1; transform: none; }
/* zwei kleine „Gedanken“-Kreise zur Sprechblase hin */
.novi-bubble::before,
.novi-bubble::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-col);
}
.novi-bubble::before { width: 12px; height: 12px; right: 18px; bottom: -9px; }
.novi-bubble::after { width: 7px; height: 7px; right: 10px; bottom: -17px; }
@media (prefers-reduced-motion: reduce) {
  .novi-bubble { transition: opacity 0.2s ease; transform: none; }
}

/* Häkchen: Datenschutz & Nutzungsbedingungen beim Konto-Erstellen */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.consent-row.hidden { display: none; }
.consent-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-row.is-missing {
  border-color: #c2410c;
  animation: consent-nudge 0.35s ease;
}
@keyframes consent-nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .consent-row.is-missing { animation: none; }
}

/* Mitteilungen: was alles kommt */
.push-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.push-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-main); }
.push-list li svg { flex-shrink: 0; color: var(--accent-text); }

/* Melden: Gründe */
.report-reason {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 14px;
  background: var(--bg-soft); font-size: 13px; cursor: pointer;
  border: 1px solid transparent;
}
.report-reason:has(input:checked) { border-color: var(--accent); }
.report-reason input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

/* Mit Apple / Google anmelden */
.social-btn {
  width: 100%; height: 44px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform 0.12s ease, opacity 0.2s ease;
}
.social-btn:active { transform: scale(0.98); }
.social-apple { background: #000; color: #fff; }
.social-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
:root[data-theme="dark"] .social-apple { background: #fff; color: #000; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .social-apple { background: #fff; color: #000; } }
.social-divider { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 11px; padding-top: 4px; }
.social-divider::before, .social-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-col); }
#prof-social.hidden { display: none; }

/* Code aus der Bestätigungs-E-Mail */
.verify-code-input { font-size: 26px; font-weight: 700; letter-spacing: 0.35em; font-variant-numeric: tabular-nums; }
