/* ---- Splash / Intro ---- */
.screen-splash {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 30px 40px;
}
.screen-splash .divider { width: 46px; height: 1px; background: var(--line-strong); opacity: 0.5; }
.screen-splash .names { font-family: var(--font-serif); font-style: italic; font-size: 14px; opacity: 0.42; }

.screen-intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 30px 40px;
}
.screen-intro h1 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  margin: 26px 0 0;
}
.screen-intro .lede { font-size: 13px; margin-top: 8px; line-height: 1.6; opacity: 0.5; }
.screen-intro .fields { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.login-who { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.login-error { margin-top: 12px; font-size: 12.5px; color: var(--accent); }
.login-note { margin-top: 16px; font-size: 11.5px; opacity: 0.4; line-height: 1.5; }
.screen-intro .field .overline { margin-bottom: 3px; }

/* ---- Ideas list ---- */
.screen-list { padding: 8px 22px 40px; }
.list-header { display: flex; align-items: baseline; justify-content: space-between; }
.list-header-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn { cursor: pointer; padding: 5px 0 3px; opacity: 0.5; line-height: 1; background: none; border: none; }
.add-btn { font-size: 22px; font-weight: 300; cursor: pointer; padding: 4px 2px; line-height: 1; background: none; border: none; color: inherit; }
.new-banner { margin-top: 12px; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); cursor: pointer; }
.new-banner.is-active { border-bottom: 1px solid var(--accent); display: inline-block; padding-bottom: 2px; }
.search-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.search-row svg { opacity: 0.45; flex: none; }
.search-row input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: inherit;
  padding: 0;
}
.filter-row { margin-top: 14px; margin-right: -22px; padding-right: 22px; }
.cat-row { margin-top: 9px; }
.kid-sort-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Ein Knopf statt einer Symbolreihe. Die Zahl daneben sagt, wie viele Filter
   gerade greifen — sonst übersieht man sie. */
.filter-knopf {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 7px 13px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.6;
}
.filter-knopf.is-on { opacity: 1; border-color: var(--accent); color: var(--accent); }
.filter-zahl {
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: 0;
}

.filter-gruppe {
  margin-top: 18px; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.45;
}
.filter-liste { margin-top: 6px; border-top: 1px solid var(--line); }
.filter-zeile {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; opacity: 0.55;
}
.filter-zeile.is-on { opacity: 1; color: var(--accent); }
.filter-zeile-icon { display: flex; flex: none; }
.filter-zeile-label { flex: 1; }
.filter-zeile-haken { font-size: 13px; }
.filter-fuss {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.filter-zuruecksetzen {
  font-size: 12px; letter-spacing: 0.06em; opacity: 0.5; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.filter-fuss .fav-sheet-cancel { margin-top: 0; margin-left: auto; }

/* Die festen Angaben an der Kachel — je Kategorie immer dieselben. */
.entry-facts { font-size: 12px; margin-top: 4px; opacity: 0.5; line-height: 1.5; }
/* Fünf Merkmale werden auf schmalen Telefonen eng. Sie brechen deshalb um,
   statt seitlich zu verschwinden — versteckte Filter sucht man vergeblich. */
.merkmale {
  display: flex; align-items: flex-start; flex-wrap: wrap;
  column-gap: 20px; row-gap: 14px; min-width: 0;
}
.merkmal { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; opacity: 0.38; flex: none; }
.merkmal-label { white-space: nowrap; }
.merkmal.is-on { opacity: 1; color: var(--accent); }
.merkmal-icon { display: flex; }
.merkmal-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.sort-toggle { font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; opacity: 0.55; white-space: nowrap; }
.entries-list { margin-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.entry-cant-wait { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; color: var(--accent); }
.entry-new { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.entry-new .dot { width: 5px; height: 5px; border-radius: var(--radius-pill); background: var(--accent); }
.entry-new span { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }
.entry-stamps { margin-top: 9px; display: flex; align-items: center; gap: 12px; }
.entry-stamp { display: flex; align-items: center; gap: 10px; }
.entry-stamp-one { display: flex; align-items: center; gap: 5px; }
.entry-stamp-who { font-size: 10px; letter-spacing: 0.1em; opacity: 0.45; }
.entry-by { font-size: 11.5px; letter-spacing: 0.04em; opacity: 0.4; }

/* ---- Detail ---- */
.screen-detail { padding: 4px 0 40px; }
.detail-hero { height: 210px; margin: 0 22px; overflow: hidden; position: relative; }
.detail-body { padding: 22px 22px 0; }
.detail-title { font-family: var(--font-serif); font-size: 30px; line-height: 1.15; margin-top: 8px; }
.detail-sub { font-size: 13px; margin-top: 8px; opacity: 0.55; }
.detail-kid { font-size: 11.5px; margin-top: 7px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.detail-event { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.detail-event-date { font-size: 14px; }
.detail-event-until { font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.entry-event { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; color: var(--accent); }
.event-nudge {
  margin-top: 12px; padding: 11px 14px; border-radius: var(--radius-field);
  background: var(--accent); color: var(--on-accent);
  font-size: 12.5px; letter-spacing: 0.03em; cursor: pointer;
}
.detail-desc { font-size: 14px; line-height: 1.65; margin-top: 18px; opacity: 0.8; }
.section-label { margin-top: 28px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.45; }

.recipe-servings { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); cursor: pointer; font-size: 17px; line-height: 1; border: 1px solid var(--line); background: none; color: inherit; }
.stepper .count { font-size: 13px; min-width: 84px; text-align: center; }
.ingredient-row { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ingredient-amount { width: 88px; flex: none; font-size: 14.5px; opacity: 0.7; }
.ingredient-name { flex: 1; min-width: 0; font-size: 14.5px; }
.step-row { display: flex; gap: 14px; }
.step-n { width: 18px; flex: none; font-family: var(--font-serif); font-size: 17px; opacity: 0.4; }
.step-text { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.65; }
.steps-list { margin-top: 14px; display: flex; flex-direction: column; gap: 18px; }

.avail-dates { margin-top: 12px; display: flex; gap: 9px; }
.avail-date { flex: 1; cursor: pointer; }
.avail-date .value { font-size: 15px; margin-top: 3px; }
.date-input {
  width: 100%;
  margin-top: 3px;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: inherit;
  cursor: pointer;
}
.date-input:invalid, .date-input:not(:valid) { opacity: 0.4; }
.date-input::-webkit-calendar-picker-indicator { opacity: 0.35; cursor: pointer; }
.query-card { margin-top: 14px; }
.query-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.query-status { font-family: var(--font-serif); font-size: 18px; }
.query-price { font-size: 14px; white-space: nowrap; opacity: 0.7; }
.query-weather-row { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Wetter Tag für Tag: Zeichen oben, Grad darunter */
.wx-days { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.wx-days::-webkit-scrollbar { display: none; }
.wx-day { flex: none; min-width: 52px; text-align: center; }
.wx-weekday { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.5; }
.wx-date { font-size: 11px; margin-top: 2px; opacity: 0.35; }
.wx-icon { margin: 8px 0 7px; display: flex; justify-content: center; opacity: 0.75; }
.wx-max { font-size: 14px; }
.wx-min { font-size: 12px; margin-top: 1px; opacity: 0.45; }
.wx-hint { font-size: 12.5px; opacity: 0.45; }
.query-weather { font-size: 13.5px; opacity: 0.75; }
.query-temp { font-size: 14px; white-space: nowrap; opacity: 0.55; }
.query-source { font-size: 10.5px; margin-top: 9px; letter-spacing: 0.03em; opacity: 0.4; }
.query-cta { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 13px; letter-spacing: 0.03em; }
.query-cta.is-quiet { margin-top: 12px; padding-top: 12px; font-size: 12.5px; opacity: 0.55; }
.slot-row { padding: 14px 0; cursor: pointer; border-bottom: 1px solid var(--line); }
.slot-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.slot-range { font-size: 15px; }
.slot-price { font-size: 14px; white-space: nowrap; opacity: 0.7; }
.slot-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 5px; }
.slot-weather { font-size: 12.5px; opacity: 0.5; }
.slot-temp { font-size: 12.5px; white-space: nowrap; opacity: 0.45; }
.avail-footnote { font-size: 11px; margin-top: 10px; line-height: 1.55; opacity: 0.4; }
.hours-card .status { font-size: 14.5px; }
.hours-card .week { font-size: 12px; margin-top: 5px; opacity: 0.5; }
.maps-link { margin-top: 22px; }
.maps-link .label { font-size: 13.5px; }
.maps-link .coords { font-size: 11.5px; margin-top: 3px; opacity: 0.45; }

.rating-rows { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.rating-row { display: flex; align-items: center; gap: 10px; }
.rating-who { width: 76px; flex: none; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }
.rating-value { font-size: 12px; opacity: 0.35; }

/* ---- Reisen: Auswahl vor der Entscheidung ---- */
.trip-row { margin-top: 12px; margin-right: -22px; padding-right: 22px; }
.trip-note {
  margin-top: 9px; display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; font-size: 11.5px; letter-spacing: 0.04em; opacity: 0.5;
}
.trip-finish { color: var(--accent); opacity: 1; cursor: pointer; white-space: nowrap; }
.trip-line {
  margin-top: 13px; display: flex; align-items: baseline; gap: 7px;
  font-size: 13px; letter-spacing: 0.02em; opacity: 0.5; cursor: pointer;
}
.trip-plus { font-size: 14px; line-height: 1; opacity: 0.7; }
.trip-picker { margin-top: 14px; }
.trip-picker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; }
.trip-close { font-size: 15px; line-height: 1; opacity: 0.35; }
.trip-picker .mark-row span { font-size: 14.5px; }

/* ---- Aperol-Test ---- */
.aperol-row { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aperol-price { display: flex; align-items: baseline; gap: 3px; }
.aperol-price input {
  width: 52px; text-align: right; border: none; outline: none; background: transparent;
  border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-weight: 300;
  font-size: 15px; color: inherit; padding: 0 0 2px;
}
.aperol-euro { font-size: 15px; opacity: 0.5; }
.aperol-drop { margin-top: 8px; font-size: 11px; letter-spacing: 0.04em; opacity: 0.35; cursor: pointer; }
.aperol-invite { margin-top: 20px; font-size: 13px; letter-spacing: 0.02em; opacity: 0.4; cursor: pointer; display: flex; align-items: baseline; gap: 7px; }
.aperol-plus { font-size: 15px; line-height: 1; opacity: 0.7; }

.done-row, .mark-row { margin-top: 22px; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.mark-row { margin-top: 13px; }
.done-row span, .mark-row span { font-size: 13.5px; }

.note-ask { margin-top: 22px; }
.note-ask h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 300; margin: 0; }
.note-ask .hint { font-size: 11.5px; margin-top: 5px; opacity: 0.45; }
.note-ask textarea {
  width: 100%; margin-top: 12px; border: none; outline: none; resize: none;
  background: transparent; font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: 15.5px; line-height: 1.6; color: inherit; padding: 0;
}
.note-ask .actions { margin-top: 12px; display: flex; gap: 10px; }
.note-ask .actions .btn { flex: 1; padding: 12px; font-size: 12px; }
.note-ask .actions .skip { flex: none; padding: 12px 16px; opacity: 0.45; cursor: pointer; text-align: center; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.note-cta { margin-top: 10px; }
.note-date { font-size: 11px; opacity: 0.35; }
.note-delete { color: var(--accent); opacity: 0.75 !important; }
.note-card { cursor: pointer; }
.note-cta .label { font-size: 13.5px; }
.detail-footer { margin-top: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.added-meta { font-size: 11.5px; opacity: 0.4; }
.edit-link { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; color: var(--accent); white-space: nowrap; }
.open-now { font-size: 12px; margin-top: 4px; }
.edit-input, .edit-textarea {
  width: 100%; margin-top: 3px; border: none; outline: none; background: transparent;
  font-family: var(--font-ui); font-weight: 300; font-size: 15px; color: inherit; padding: 0;
}
.edit-textarea { resize: none; font-family: var(--font-serif); font-size: 15.5px; line-height: 1.6; }

/* ---- Map ---- */
.screen-map { height: 100%; display: flex; flex-direction: column; }
.map-header { padding: 8px 22px 14px; display: flex; align-items: baseline; justify-content: space-between; }
.map-chips { margin-top: 4px; padding: 0 22px 12px; }
.map-canvas-wrap { flex: 1; min-height: 0; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-canvas { position: absolute; inset: 0; }
.map-empty {
  position: absolute; left: 22px; right: 22px; top: 18px; padding: 12px 14px; border-radius: var(--radius-field);
  text-align: center; font-size: 12.5px; line-height: 1.5; background: var(--surface); border: 1px solid var(--line); opacity: 0.8;
}
.map-legend { flex: none; padding: 11px 22px 2px; display: flex; gap: 13px; flex-wrap: wrap; }
.map-legend-item { display: flex; align-items: center; gap: 6px; }
.map-legend-dot { width: 7px; height: 7px; flex: none; border-radius: var(--radius-pill); }
.map-legend-item span { font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.55; }
.wm-pin { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.wm-dot { width: 11px; height: 11px; flex: none; border-radius: 100px; box-shadow: 0 0 0 2px rgba(245,243,239,0.95); }
.wm-ring { box-shadow: 0 0 0 2px rgba(245,243,239,0.95), 0 0 0 5px rgba(46,61,51,0.35); }
.wm-lbl {
  font-family: 'Jost', sans-serif; font-weight: 300; font-size: 11.5px; letter-spacing: 0.01em; color: #242220;
  background: rgba(251,250,247,0.88); border: 1px solid rgba(36,34,32,0.12); border-radius: 2px; padding: 2px 6px;
}
.leaflet-container { background: #EAE6DF; font-family: 'Jost', sans-serif; font-weight: 300; }
.wm-tiles { filter: saturate(0.55) contrast(0.92) brightness(1.02) sepia(0.16); }
.map-notice {
  position: absolute; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  padding: 0 40px; text-align: center; font-family: 'Jost', sans-serif; font-weight: 300; font-size: 13px;
  opacity: 0.45; pointer-events: none;
}
.leaflet-control-attribution { font-size: 9px; background: rgba(245,243,239,0.8) !important; }
.leaflet-control-zoom a { color: #242220 !important; border-color: rgba(36,34,32,0.12) !important; }

/* ---- Talks ---- */
.screen-talks { min-height: 100%; display: flex; flex-direction: column; padding: 8px 22px 40px; }
.talks-header { display: flex; align-items: baseline; justify-content: space-between; }
.talks-lede { font-size: 12.5px; margin-top: 8px; opacity: 0.5; line-height: 1.6; max-width: 260px; }
.talk-composer { margin-top: 20px; }
.talk-draft { padding: 13px 15px; border-radius: var(--radius-field); font-family: var(--font-serif); font-size: 16px; background: var(--surface); border: 1px solid var(--line-strong); }
.talk-draft .caret { opacity: 0.4; }
.talk-composer .btn { margin-top: 12px; }
.talks-list { margin-top: 26px; display: flex; flex-direction: column; }
.talk-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.talk-check { width: 17px; height: 17px; flex: none; margin-top: 3px; border-radius: var(--radius-pill); cursor: pointer; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: transparent; }
.talk-check.is-on { background: var(--accent); border-color: var(--accent); }
.talk-body { flex: 1; min-width: 0; }
.talk-text { font-family: var(--font-serif); font-size: 17px; line-height: 1.45; }
.talk-text.is-done { text-decoration: line-through; }
.talk-meta { font-size: 11.5px; letter-spacing: 0.03em; opacity: 0.45; }
.talk-meta-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.talk-share { font-size: 11.5px; letter-spacing: 0.03em; cursor: pointer; color: var(--accent); }
.talk-remove { flex: none; margin-top: 1px; padding: 0 2px; font-size: 15px; line-height: 1; cursor: pointer; opacity: 0.28; }
.talk-input {
  width: 100%; border: none; outline: none; resize: none; background: transparent;
  font-family: var(--font-serif); font-weight: 300; font-size: 16px; line-height: 1.45; color: inherit; padding: 0;
}
.talk-hint { font-size: 11.5px; margin-top: 9px; opacity: 0.4; line-height: 1.5; }
.talks-empty { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }

/* ---- Add / Analyzing / Result ---- */
.screen-sub { padding: 0 0 40px; }
.screen-sub-body { padding: 6px 22px 0; }
.add-lede { font-size: 13px; margin-top: 7px; line-height: 1.6; opacity: 0.5; }
.add-error { margin-top: 18px; padding: 14px 15px; border-radius: var(--radius-field); font-size: 13px; line-height: 1.6; background: var(--surface); border: 1px solid var(--line-strong); }
.add-ways { margin-top: 24px; }
.add-input-block { margin-top: 24px; }
.add-input-block .btn { margin-top: 14px; }
.add-soon { margin-top: 24px; padding: 15px; border-radius: var(--radius-field); font-size: 13px; line-height: 1.65; background: var(--surface); border: 1px solid var(--line); opacity: 0.65; }

.screen-analyzing { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 0 46px; position: relative; }
.screen-analyzing .back-row { position: absolute; left: 12px; top: 4px; margin: 0; padding: 0 10px; height: 44px; }
.analyze-title { font-family: var(--font-serif); font-size: 20px; font-style: italic; text-align: center; opacity: 0.7; }
.progress-track { width: 100%; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.progress-fill { position: absolute; inset: 0; width: 45%; background: var(--accent); animation: progress-sweep 1.1s ease-in-out infinite; }
@keyframes progress-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }
.progress-caption { font-size: 12px; letter-spacing: 0.06em; opacity: 0.45; }

.result-kicker { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.45; }
.result-title { font-family: var(--font-serif); font-size: 27px; line-height: 1.2; margin-top: 10px; }
.result-full { font-size: 13.5px; margin-top: 10px; line-height: 1.6; opacity: 0.55; }
.result-coords { font-size: 11.5px; margin-top: 10px; opacity: 0.4; }
.progress-hint { font-size: 11.5px; margin-top: 12px; text-align: center; opacity: 0.35; line-height: 1.6; }

/* Was die Recherche zusammengetragen hat — zum Drüberschauen vor dem Speichern. */
.result-desc { font-size: 13.5px; margin-top: 14px; line-height: 1.65; opacity: 0.75; }
.result-facts { margin-top: 18px; border-top: 1px solid var(--line); }
.result-fact { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.result-fact-key { flex: 0 0 92px; letter-spacing: 0.05em; text-transform: uppercase; font-size: 10.5px; opacity: 0.4; padding-top: 2px; }
.result-fact-val { flex: 1; line-height: 1.5; word-break: break-word; }
.result-unsure { margin-top: 16px; padding: 12px 14px; background: var(--quiet); border-radius: var(--radius-card); }
.result-unsure-head { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }
.result-unsure ul { margin: 7px 0 0; padding-left: 16px; font-size: 12.5px; line-height: 1.6; opacity: 0.7; }
.result-nachtrag {
  margin-top: 14px; padding: 11px 13px; border-radius: var(--radius-card);
  background: var(--quiet); font-size: 12.5px; line-height: 1.6; opacity: 0.7;
}
.result-sources { margin-top: 12px; font-size: 11.5px; opacity: 0.4; }
.result-sources a { color: inherit; }
.cat-picker { margin-top: 11px; display: flex; gap: 7px; flex-wrap: wrap; }
.cat-pick-chip {
  font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 11px; border-radius: var(--radius-pill);
  cursor: pointer; border: 1px solid var(--line); background: transparent;
}
.cat-pick-chip.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.result-save { margin-top: 26px; }

/* ---- Letters ---- */
.screen-letters-home, .screen-write, .screen-code, .screen-read, .screen-pause, .screen-released { background: var(--quiet); }
.screen-letters-home { height: 100%; display: flex; flex-direction: column; padding: 0 26px 30px; }
.letters-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.letters-hero .lede { font-size: 13.5px; line-height: 1.7; opacity: 0.5; max-width: 240px; }
.letters-actions { display: flex; flex-direction: column; gap: 10px; }

.screen-write { height: 100%; display: flex; flex-direction: column; padding: 6px 26px 30px; }
.screen-write .back-row { margin: 0 0 18px -4px; }
.write-to { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.4; }
.write-body { position: relative; flex: 1; min-height: 0; margin-top: 18px; }
.write-placeholder {
  position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; gap: 13px;
  font-family: var(--font-serif); font-size: 16.5px; font-weight: 300; line-height: 1.55; opacity: 0.3;
}
.write-body textarea {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none; outline: none; resize: none;
  background: transparent; font-family: var(--font-serif); font-weight: 300; font-size: 17px; line-height: 1.75; color: inherit; padding: 0;
}
.write-nextq { font-size: 11.5px; line-height: 1.5; padding-bottom: 10px; opacity: 0.4; }
.write-secret { font-size: 11.5px; opacity: 0.4; padding-bottom: 14px; }

.screen-code { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 0 34px; position: relative; }
.screen-code .back-row { position: absolute; left: 12px; top: 4px; margin: 0; padding: 0 10px; height: 44px; }
.code-intro { text-align: center; }
.code-intro h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 300; margin: 0; }
.code-intro p { font-size: 13px; margin-top: 9px; line-height: 1.6; opacity: 0.5; }
.code-block { width: 100%; display: flex; flex-direction: column; gap: 22px; }
.partner-code .value { margin-top: 10px; font-size: 27px; letter-spacing: 0.34em; }
.partner-code .hint { font-size: 11.5px; margin-top: 10px; opacity: 0.45; }
.my-code { cursor: pointer; }
.my-code .cells { margin-top: 9px; display: flex; gap: 9px; }
.my-code .cell { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 19px; border-radius: var(--radius-field); border: 1px solid var(--line); }
.partner-state { font-size: 12.5px; cursor: pointer; opacity: 0.6; }
/* Das echte Eingabefeld liegt unsichtbar über den Kästchen — getippt wird
   dort, zu sehen sind die Kästchen. */
.my-code { display: block; position: relative; }
.my-code .code-input {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  opacity: 0; border: 0; padding: 0; width: 100%; font-size: 16px;
}
/* Auswahl, für welche Reise ein Ort vorgemerkt wird — legt sich über die Liste. */
.fav-sheet-bg {
  position: absolute; inset: 0; z-index: 40; display: flex; align-items: flex-end;
  background: rgba(36,34,32,0.28);
}
.fav-sheet {
  width: 100%; background: var(--surface); border-top-left-radius: 14px; border-top-right-radius: 14px;
  padding: 20px 20px calc(18px + env(safe-area-inset-bottom, 0px));
}
.fav-sheet-head { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.45; }
.fav-sheet-title { font-family: var(--font-serif); font-size: 19px; margin-top: 6px; }
.fav-sheet-list { margin-top: 14px; border-top: 1px solid var(--line); }
.fav-sheet-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer;
}
.fav-sheet-count { font-size: 11.5px; opacity: 0.45; }
.fav-sheet-cancel {
  margin-top: 16px; text-align: center; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.5; cursor: pointer;
}

/* Der Reisename lässt sich direkt überschreiben — sieht aus wie Text,
   bis man hineintippt. */
.trip-name-input {
  width: 100%; border: 0; outline: 0; padding: 2px 0; background: transparent;
  font-family: var(--font-ui); font-weight: 300; font-size: 15px; color: inherit;
  border-bottom: 1px solid transparent;
}
.trip-name-input:focus { border-bottom-color: var(--line-strong); }

/* Foto im Bearbeiten-Bildschirm */
.foto-vorschau { height: 170px; margin-top: 12px; overflow: hidden; position: relative; }
.foto-vorschau img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0; transition: opacity 0.35s ease;
}
.foto-vorschau img.is-da { opacity: 1; }
/* Der Ausschnitt lässt sich mit dem Finger schieben — deshalb darf die Seite
   dabei nicht mitscrollen. */
.foto-vorschau.is-ziehbar { cursor: grab; touch-action: none; }
.foto-vorschau.is-ziehbar.zieht { cursor: grabbing; }
.foto-vorschau.is-ziehbar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border: 1px dashed rgba(245,243,239,0.55); border-radius: inherit;
  opacity: 0; transition: opacity 0.2s ease;
}
.foto-vorschau.is-ziehbar.zieht::after { opacity: 1; }
.foto-knoepfe { display: flex; gap: 10px; margin-top: 11px; }
.foto-knoepfe .btn { flex: 1; padding: 12px; }

.letters-info {
  font-size: 12.5px; line-height: 1.6; padding: 11px 13px; margin-top: 4px;
  background: var(--quiet); border-radius: var(--radius-card); opacity: 0.75;
}

.screen-read { min-height: 100%; display: flex; flex-direction: column; padding: 22px 26px 30px; }
.read-head { display: flex; align-items: center; gap: 10px; margin: -14px 0 0 -10px; }
.read-head .back-row { padding: 0 10px; margin: 0; }
.read-counter { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.4; }
.read-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; }
.read-from { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.45; }
/* Absätze bleiben so stehen, wie sie geschrieben wurden. */
.read-text { font-family: var(--font-serif); font-size: 18.5px; font-weight: 300; line-height: 1.85; margin-top: 18px; white-space: pre-wrap; }
.read-date { font-size: 11.5px; margin-top: 22px; opacity: 0.35; }

.screen-pause, .screen-released {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 16px; padding: 0 44px; position: relative;
}
.screen-pause .back-row, .screen-released .back-row { position: absolute; left: 12px; top: 4px; margin: 0; padding: 0 10px; height: 44px; }
.pause-rule { width: 26px; height: 1px; background: var(--line-strong); }
.pause-title { font-family: var(--font-serif); font-size: 21px; font-weight: 300; }
.pause-text { font-size: 13px; line-height: 1.7; opacity: 0.5; }
.pause-continue { margin-top: 12px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; opacity: 0.6; }

/* ---- Settings ---- */
.screen-settings { padding: 0 0 40px; }
.settings-body { padding: 6px 22px 0; }
.settings-card { margin-top: 12px; }
.settings-card + .settings-card { margin-top: 12px; }
.settings-row-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.settings-row-head .title { font-size: 15px; }
.settings-row-head .summary { font-size: 11.5px; margin-top: 4px; opacity: 0.5; }
.settings-expand { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.chip-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-wrap + .chip-wrap { margin-top: 9px; }
.day-chip { min-width: 38px; padding: 8px 4px; text-align: center; font-size: 11.5px; letter-spacing: 0.04em; border-radius: var(--radius-pill); cursor: pointer; border: 1px solid var(--line); background: transparent; }
.day-chip.wide { min-width: 44px; }
.day-chip.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
/* Umschalter zwischen „Tag im Monat" und „Wochentag" */
.wahl-schalter {
  display: flex; gap: 7px; margin-top: 4px;
}
.wahl-schalter-teil {
  flex: 1; text-align: center; padding: 9px 8px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 11.5px; letter-spacing: 0.04em;
}
.wahl-schalter-teil.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.wahl-reihe { display: flex; gap: 10px; margin-top: 11px; }
.wahl-feld {
  flex: 1; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-field);
  background: transparent; color: inherit; font-family: var(--font-ui); font-weight: 300; font-size: 15px;
  appearance: none; -webkit-appearance: none;
}

/* Uhrzeit: das Telefon zeigt seine eigene Uhr zum Einstellen. */
.time-field {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-field); border: 1px solid var(--line); background: transparent;
}
.time-field-label { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.45; }
.time-field input {
  border: 0; outline: 0; background: transparent; color: inherit; padding: 0;
  font-family: var(--font-ui); font-weight: 300; font-size: 17px; text-align: right;
}
.time-field input::-webkit-calendar-picker-indicator { opacity: 0.35; cursor: pointer; }
.settings-note { margin-top: 11px; font-size: 11px; line-height: 1.55; opacity: 0.4; }
.settings-names-row { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.settings-names-row span:first-child { font-size: 15px; }
.settings-edit { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; color: var(--accent); }
.settings-trip { background: var(--surface); }
.settings-trip-date {
  display: flex; align-items: baseline; gap: 10px;
  padding: 0 15px 13px; margin-top: -4px;
}
.settings-trip-date .date-input { width: auto; margin-top: 0; font-size: 13.5px; }

.settings-signature { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.settings-signature .mark { display: flex; align-items: center; gap: 8px; opacity: 0.4; }
.settings-signature .mark span { font-size: 13px; letter-spacing: 0.07em; line-height: 1; }
.settings-signature .version { font-size: 11px; opacity: 0.3; }

/* ---- Bildablage im Eintrag ---- */
/* Screenshots, Höhenprofile, Kartenausschnitte. Eine Reihe, die seitlich
   geschoben wird — so bricht nichts um, egal wie viele es sind. */
.bild-reihe {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bild-reihe::-webkit-scrollbar { display: none; }

.bild-kachel {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-field);
  overflow: hidden;
  cursor: pointer;
  background-image: repeating-linear-gradient(135deg, var(--stripe-a) 0 7px, var(--stripe-b) 7px 14px);
  position: relative;
}
.bild-kachel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bild-kachel img.is-da { opacity: 1; }
.bild-kachel img.sofort { transition: none; }

.bild-kachel.is-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  border: 1px solid var(--line);
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.5;
}
.bild-kachel.is-plus.is-disabled { cursor: default; opacity: 0.3; }

/* Das große Bild. Liegt über allem; ein Tipp daneben schließt es wieder. */
.bild-voll {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 19, 18, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.bild-voll-img {
  max-width: 100%;
  max-height: calc(100% - 64px);
  object-fit: contain;
  border-radius: var(--radius-field);
}
.bild-voll-leiste {
  display: flex;
  gap: 26px;
  margin-top: 18px;
}
.bild-voll-leiste .skip {
  color: #F5F3EF;
  opacity: 0.65;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bild-voll-leiste .skip.is-weg { opacity: 0.45; }
