/* App 2.0 shell. Visible rules require html.ff-app-v2. Without that class, #ffV2 stays display:none. */

#ffV2 { display: none !important; }

html.ff-app-v2 {
  --ff-ink: #171A15;
  --ff-muted: #6B7065;
  --ff-ground: #F2F3EE;
  --ff-paper: #FAFAF7;
  --ff-white: #FFFFFF;
  --ff-hairline: #E6E3DB;
  --ff-hairline-soft: #EFECE5;
  --ff-gold: #B8862F;
  --ff-gold-deep: #8C6420;
  --ff-gold-soft: #F6EEDC;
  --ff-gold-line: #C9A25A;
  --ff-gold-ink: #5E4313;
  --ff-forest: #2C4A2E;
  --ff-nav-h: calc(83px + env(safe-area-inset-bottom, 0px));
  --ff-ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Nunito Sans", system-ui, sans-serif;
  --bg: var(--ff-paper);
  --sheet: var(--ff-white);
  --chip: var(--ff-gold-soft);
  --line: var(--ff-hairline);
  --ink: var(--ff-ink);
  --muted: var(--ff-muted);
  --dim: var(--ff-muted);
  --gold: var(--ff-gold);
  --gold-ink: var(--ff-gold-ink);
  --active-bg: var(--ff-gold-soft);
  --active-border: var(--ff-gold-line);
  color-scheme: light;
  scrollbar-gutter: stable;
}

html.ff-app-v2 #ffV2 { display: contents !important; }

html.ff-app-v2 .ff-offline-banner {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12000;
  max-width: min(92vw, 420px);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ff-ink);
  color: var(--ff-paper);
  box-shadow: 0 8px 28px rgba(23, 26, 21, 0.22);
  pointer-events: none;
}
html.ff-app-v2 .ff-offline-banner[hidden] { display: none !important; }
html.ff-app-v2 .ff-offline-banner-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
html.ff-app-v2 .ff-offline-banner-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #D8DDD0;
}

/* Die Ueberlage sperrt nie: kein Abdunkeln, nur die Karte selbst faengt Tipps ab. Regler, Legende, Artwahl und Popup bleiben bedienbar. */
html.ff-app-v2 .ffv2-hints {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: grid;
  place-items: end center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px) + 72px);
  background: transparent;
  pointer-events: none;
}
html.ff-app-v2 .ffv2-hints[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-hints .ffv2-hints-card { pointer-events: auto; }
/* Das Score-Popup hat immer Vorrang: solange es offen ist, weicht die Hinweiskarte. */
html.ff-app-v2 .ffv2-hints.ffv2-hints--yield { display: none !important; }
html.ff-app-v2 .ffv2-hints.ffv2-hints--top {
  place-items: start center;
  padding-top: calc(env(safe-area-inset-top, 0px) + 72px);
}
html.ff-app-v2 .ffv2-tour-target {
  position: relative;
  z-index: 9700 !important;
  box-shadow: 0 0 0 3px var(--ff-gold, #c4a35a), 0 0 18px 4px rgba(232, 190, 90, 0.75);
  animation: ffv2-tour-glow 1.6s ease-in-out infinite; /* Puls: ohne !important, sonst sticht der feste Schatten die Animation aus */
}
/* Tagesregler (Schritt 2): Rand und Puls, Rundung wie die Karte */
html.ff-app-v2 #ffL2Day.ffv2-tour-target, html.ff-app-v2 #bottomPanel.ffv2-tour-target { border-radius: 14px; }
html.ff-app-v2 #ffV2Nav.ffv2-tour-target {
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 22px 4px rgba(232, 190, 90, 0.7) !important;
  animation: none;
}
html.ff-app-v2 #ffV2Nav .ffv2-nav-i.ffv2-tour-target {
  border-radius: 14px;
  color: var(--ff-gold, #B8862F);
  background: rgba(242, 201, 76, 0.18);
}
@keyframes ffv2-tour-glow {
  0%, 100% { box-shadow: 0 0 0 3px var(--ff-gold, #c4a35a), 0 0 10px 2px rgba(232, 190, 90, 0.55); }
  50% { box-shadow: 0 0 0 3px var(--ff-gold, #c4a35a), 0 0 22px 8px rgba(232, 190, 90, 0.9); }
}
/* Goldener Punkt mit Wasserkreisen */
.ffv2-tour-dot { background: transparent !important; border: 0 !important; }
.ffv2-tour-dot .ffv2-tour-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid #fff;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff4c2 0%, #f2c94c 35%, #c4952a 100%);
  box-shadow: 0 0 12px 4px rgba(242, 201, 76, 0.85);
  animation: ffv2-tour-blink 1.2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.ffv2-tour-dot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
}
.ffv2-tour-dot .ffv2-tour-ripple {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid rgba(242, 201, 76, 0.9);
  pointer-events: none;
  animation: ffv2-tour-ripple 2.4s ease-out infinite;
}
.ffv2-tour-dot .ffv2-tour-ripple:nth-child(2) { animation-delay: 0.8s; }
.ffv2-tour-dot .ffv2-tour-ripple:nth-child(3) { animation-delay: 1.6s; }
@keyframes ffv2-tour-ripple {
  0% { transform: scale(1); opacity: 0.95; }
  100% { transform: scale(4.2); opacity: 0; }
}
@keyframes ffv2-tour-blink {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.18); filter: brightness(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .ffv2-tour-dot .ffv2-tour-ripple, .ffv2-tour-dot .ffv2-tour-core, html.ff-app-v2 .ffv2-tour-target { animation: none; }
}
html.ff-app-v2 .ffv2-hints-card {
  width: min(100%, 380px);
  box-sizing: border-box;
  background: var(--ff-white);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 34px rgba(23, 26, 21, 0.2), 0 0 0 1px rgba(23, 26, 21, 0.06);
}
html.ff-app-v2 .ffv2-hints-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
html.ff-app-v2 .ffv2-hints-step {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-hints-dots { display: inline-flex; gap: 6px; }
html.ff-app-v2 .ffv2-hints-dots i {
  display: block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #d9dccf;
  transition: width .2s ease, background-color .2s ease;
}
html.ff-app-v2 .ffv2-hints-dots i.is-done { background: var(--ff-gold, #c4a35a); opacity: .55; }
html.ff-app-v2 .ffv2-hints-dots i.is-on { width: 22px; background: var(--ff-gold, #c4a35a); }
html.ff-app-v2 .ffv2-hints-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ff-ink);
}
html.ff-app-v2 .ffv2-hints-body {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ff-ink);
}
html.ff-app-v2 .ffv2-hints-locate {
  display: block;
  margin: -6px 0 14px;
  padding: 10px 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ff-gold-dark, #8a6a1f);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.ff-app-v2 .ffv2-hints-locate[hidden] { display: none; }
html.ff-app-v2 .ffv2-hints-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
  justify-content: space-between;
}
html.ff-app-v2 .ffv2-hints-skip,
html.ff-app-v2 .ffv2-hints-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 0 20px;
}
html.ff-app-v2 .ffv2-hints-skip { background: transparent; color: var(--ff-muted); padding: 0 14px 0 10px; }
html.ff-app-v2 .ffv2-hints-next { flex: 1 1 auto; max-width: 220px; background: var(--ff-gold); color: var(--ff-white); }
html.ff-app-v2 .ffv2-hints-next .ffv2-hints-ico-bell { display: none; }
html.ff-app-v2 .ffv2-hints.ffv2-hints--last .ffv2-hints-ico-bell { display: block; }
html.ff-app-v2 .ffv2-hints.ffv2-hints--last .ffv2-hints-ico-next { display: none; }
html.ff-app-v2 .ffv2-hints-next[hidden] { display: none; }
html.ff-app-v2 .ffv2-hints-skip:focus-visible, html.ff-app-v2 .ffv2-hints-next:focus-visible, html.ff-app-v2 .ffv2-hints-locate:focus-visible { outline: 3px solid #E4B84A; outline-offset: 2px; }
/* Pfeil von der Hinweiskarte zum Ziel (1,5 s): ein SVG ueber allem, klickt nie mit */
#ffV2TourArrow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9800;
  pointer-events: none;
  overflow: visible;
}
#ffV2TourArrow .ffv2-arrow-g {
  fill: none;
  stroke: var(--ff-gold, #c4a35a);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(232, 190, 90, 0.85));
}
#ffV2TourArrow .ffv2-arrow-line { stroke-dasharray: var(--ffv2-arrow-len, 400); stroke-dashoffset: 0; }
#ffV2TourArrow.is-anim .ffv2-arrow-g { animation: ffv2-arrow-fade 1.5s linear forwards; }
#ffV2TourArrow.is-anim .ffv2-arrow-line { stroke-dashoffset: var(--ffv2-arrow-len, 400); animation: ffv2-arrow-draw .7s ease-out forwards; }
#ffV2TourArrow.is-anim .ffv2-arrow-head { opacity: 0; animation: ffv2-arrow-head .2s ease-out .6s forwards; }
@keyframes ffv2-arrow-draw { to { stroke-dashoffset: 0; } }
@keyframes ffv2-arrow-head { to { opacity: 1; } }
@keyframes ffv2-arrow-fade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }

html.ff-app-v2 body {
  font-family: "Nunito Sans", system-ui, sans-serif;
  background: var(--ff-ground);
  color: var(--ff-ink);
}

/* Search and species panels live inside .topbar. Raise that stacking context
   so they paint above the shell. The bar itself stays click-through. */
html.ff-app-v2 .topbar { z-index: 2200; pointer-events: none; }
html.ff-app-v2 .topbar .right { pointer-events: none; }
html.ff-app-v2 .usearch-panel,
html.ff-app-v2 .usearch-backdrop,
html.ff-app-v2 .spDD { pointer-events: auto; }
html.ff-app-v2 #mapSettingsPanel {
  z-index: 2500;
  top: auto;
  right: 0;
  left: 0;
  bottom: var(--ff-nav-h);
  width: 100%;
  max-height: min(70vh, 560px);
  border-radius: 21px 21px 0 0;
  padding: 13px 21px 21px;
  box-sizing: border-box;
  overflow: auto;
}

html.ff-app-v2 .topbar .left-group,
html.ff-app-v2 .topbar .right-row,
html.ff-app-v2 .fab-upload-wrap,
html.ff-app-v2 .menu-coach,
html.ff-app-v2 .sp-coach,
html.ff-app-v2 .layers-coach,
html.ff-app-v2 .upload-coach { display: none !important; }

html.ff-app-v2 #bottomPanel { bottom: var(--ff-nav-h); }
html.ff-app-v2.ff-v2-score-open #bottomPanel { visibility: hidden; pointer-events: none; }

html.ff-app-v2 .map-left-wrap {
  bottom: calc(var(--sheet-height, 118px) + var(--ff-nav-h) + 8px);
}
html.ff-app-v2.ff-v2-score-open .map-left-wrap {
  bottom: calc(min(42vh, 360px) + var(--ff-nav-h) + 12px);
}
html.ff-app-v2 .leaflet-bottom { margin-bottom: var(--ff-nav-h) !important; }

html.ff-app-v2[data-ff-v2="feed"] #ffV2Head,
html.ff-app-v2[data-ff-v2="search"] #ffV2Head,
html.ff-app-v2[data-ff-v2="profile"] #ffV2Head,
html.ff-app-v2[data-ff-v2="feed"] .map-left-wrap,
html.ff-app-v2[data-ff-v2="search"] .map-left-wrap,
html.ff-app-v2[data-ff-v2="profile"] .map-left-wrap,
html.ff-app-v2[data-ff-v2="feed"] #ffV2ScoreDock,
html.ff-app-v2[data-ff-v2="search"] #ffV2ScoreDock,
html.ff-app-v2[data-ff-v2="profile"] #ffV2ScoreDock { display: none !important; }

html.ff-app-v2 .sp-chip.on,
html.ff-app-v2 .sp-filter.on,
html.ff-app-v2 .ffv2-chip.on {
  background: var(--ff-gold-soft);
  color: var(--ff-gold-ink);
  border-color: var(--ff-gold-line);
}

html.ff-app-v2 .ffv2-tap {
  transition: transform .32s var(--ff-ease), background-color .32s, border-color .32s, color .32s;
}
html.ff-app-v2 .ffv2-tap:active { transform: scale(.97); }
@media (hover: hover) {
  html.ff-app-v2 .ffv2-tap:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  html.ff-app-v2 .ffv2-tap { transition: none !important; }
}

html.ff-app-v2 #ffV2Head {
  position: fixed;
  inset: 0;
  z-index: 2300;
  height: 0;
  overflow: visible;
  padding: 0;
  pointer-events: none;
}

html.ff-app-v2 .ffv2-toolbar {
  position: fixed;
  /* #ffV2Head fixed box can be narrower than 100vw (scrollbar); gutter from syncMapEdgeInsets. */
  right: calc(12px + var(--ff-toolbar-map-gutter, 0px));
  bottom: calc(var(--ff-nav-h) + 16px);
  z-index: 2301;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: auto;
}
html.ff-app-v2:not(.ff-v2-score-open) body:not(.bottom-panel-collapsed) .ffv2-toolbar {
  bottom: calc(var(--sheet-height, 118px) + var(--ff-nav-h) + 8px);
}
/* Filterblatt (#spDD) liegt in .topbar (z 2200) unter #ffV2Head (z 2300):
   Kartenknöpfe ausblenden, solange das Blatt offen ist (Refs #969). */
html.ff-app-v2 body:has(#spDD.show) .ffv2-toolbar,
html.ff-app-v2 body:has(#mapSettingsPanel.show) .ffv2-toolbar,
html.ff-app-v2.ff-v2-sheet-open .ffv2-toolbar {
  visibility: hidden;
  pointer-events: none;
}
html.ff-app-v2.ff-v2-score-open .ffv2-toolbar {
  bottom: var(--ff-score-dock-toolbar-bottom, calc(min(42vh, 360px) + var(--ff-nav-h) + 12px));
}
html.ff-app-v2 .ffv2-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ff-ink);
  cursor: pointer;
  box-shadow: 0 4px 13px rgba(23, 26, 21, 0.06);
}
html.ff-app-v2 .ffv2-right-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
}
html.ff-app-v2 .ffv2-chipbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2300;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: calc(13px + env(safe-area-inset-top, 0px)) 13px 0;
  pointer-events: none;
  box-sizing: border-box;
}
html.ff-app-v2 .ffv2-chipbar .ffv2-chips,
html.ff-app-v2 .ffv2-chipbar .ffv2-chip {
  pointer-events: auto;
}
html.ff-app-v2 .ffv2-chipbar[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-filter {
  position: relative;
}
html.ff-app-v2 .ffv2-alert-bell {
  position: relative;
}
html.ff-app-v2 .ffv2-alert-bell .alert-bell-dot {
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--ff-gold-deep);
  color: #fff;
  font: 600 11px/18px "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 .ffv2-filter-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ff-gold-deep);
  color: #fff;
  font: 600 11px/18px "Nunito Sans", system-ui, sans-serif;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}
html.ff-app-v2 .ffv2-chip-x {
  margin-left: 6px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.75;
}
html.ff-app-v2 .ffv2-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  min-height: 32px;
  flex: 1;
  scrollbar-width: none;
}
html.ff-app-v2 .ffv2-chips::-webkit-scrollbar { display: none; }
html.ff-app-v2 .ffv2-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  color: var(--ff-ink);
  font: 400 13px/1 "Nunito Sans", system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  flex: none;
}
html.ff-app-v2 .ffv2-chip.on {
  border-width: 2px;
  font-weight: 600;
}

html.ff-app-v2 #ffV2ScoreDock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--ff-nav-h);
  z-index: 1600;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
html.ff-app-v2 #ffV2ScoreDock:empty { display: none !important; }
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup.ff-score-popup {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: min(520px, 100%) !important;
  pointer-events: auto;
}
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-tip-container { display: none !important; }
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-content-wrapper {
  background: var(--ff-white) !important;
  color: var(--ff-ink) !important;
  border: 1px solid var(--ff-hairline) !important;
  border-bottom: 0 !important;
  border-radius: 21px 21px 0 0 !important;
  box-shadow: none !important;
  font-family: "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-content-wrapper::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--ff-hairline);
  margin: 8px auto 0;
}
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  max-height: min(85dvh, calc(100dvh - var(--ff-nav-h) - 8px));
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #ffV2ScoreDock .pp.score-shell {
  max-height: none;
  overflow: visible;
  padding: 6px 16px 10px;
}
html.ff-app-v2 #ffV2ScoreDock .pp.score-shell--dock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  font-size: 16px;
  line-height: 1.4;
  max-height: none;
}
html.ff-app-v2 #ffV2ScoreDock .pp .big {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--pp-score-color, var(--ff-ink));
}
html.ff-app-v2 #ffV2ScoreDock .pp-score-row--hero {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-score-row--hero .pp-score {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-score-row--hero .u {
  font-size: 11px;
  font-weight: 500;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-score-row--hero .pp-tone-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  margin: 0;
  align-self: center;
}
html.ff-app-v2 #ffV2ScoreDock .pp .big.pp-score-loading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-hero-num {
  min-height: 42px;
}
html.ff-app-v2 .ffv2-plan-skeleton {
  display: inline-block;
  min-width: 4.5em;
  min-height: 1em;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--ff-paper) 0%, var(--ff-hairline) 50%, var(--ff-paper) 100%);
  background-size: 200% 100%;
  animation: ffv2-plan-shimmer 1.2s ease-in-out infinite;
  color: transparent !important;
}
html.ff-app-v2 .sp-v2-limit-hint.ffv2-plan-skeleton {
  min-height: 2.5em;
  width: 100%;
}
@keyframes ffv2-plan-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
html.ff-app-v2 #ffV2ScoreDock .pp .pp-head-title,
html.ff-app-v2 #ffV2ScoreDock .score-narrative,
html.ff-app-v2 #ffV2ScoreDock .pp .pp-feedback {
  font-family: "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #ffV2ScoreDock .wow-remind-cta,
html.ff-app-v2 #ffV2ScoreDock .alert-setup-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 22px;
  border: 0;
  background: var(--ff-gold-deep);
  color: var(--ff-white);
  font: 500 14px/1 "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-close-button { display: none !important; }
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-content-wrapper { position: relative; }
html.ff-app-v2 .ff-toast {
  bottom: calc(var(--ff-nav-h) + 13px);
}
html.ff-app-v2 .leaflet-bottom.leaflet-right {
  right: 8px;
  left: auto;
}

html.ff-app-v2 .ffv2-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--ff-nav-h);
  z-index: 1700;
  overflow: auto;
  background: var(--ff-paper);
  color: var(--ff-ink);
  padding: calc(21px + env(safe-area-inset-top, 0px)) 21px 34px;
  box-sizing: border-box;
}
html.ff-app-v2 .ffv2-page[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-kicker {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ff-muted);
  margin: 0 0 8px;
}
html.ff-app-v2 .ffv2-title {
  margin: 0 0 13px;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
html.ff-app-v2 .ffv2-lead {
  margin: 0 0 21px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-page .ffv2-search { width: 100%; flex: none; }
html.ff-app-v2 .ffv2-list { display: flex; flex-direction: column; }
html.ff-app-v2 .ffv2-row {
  min-height: 55px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: center;
  gap: 2px 13px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline-soft);
  background: transparent;
  color: var(--ff-ink);
  font: 500 15px/1.3 "Nunito Sans", system-ui, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
html.ff-app-v2 a.ffv2-row { color: var(--ff-ink); }
html.ff-app-v2 .ffv2-row > span {
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
}
html.ff-app-v2 .ffv2-row small {
  display: block;
  flex: 1 1 100%;
  width: 100%;
  font-size: 12px;
  font-weight: 400;
  color: var(--ff-muted);
  margin-top: 2px;
}
html.ff-app-v2 .ffv2-row-go { margin-left: auto; color: var(--ff-gold-deep); font-weight: 500; }
html.ff-app-v2 .ffv2-row[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-note {
  margin-top: 21px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ff-muted);
}

html.ff-app-v2 #ffV2Plus[hidden] { display: none !important; }
html.ff-app-v2 #ffV2Plus:not([hidden]) { display: contents !important; }
html.ff-app-v2 .ffv2-sheet-back {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--ff-nav-h);
  z-index: 2300;
  background: rgba(23, 26, 21, 0.28);
}
html.ff-app-v2 .ffv2-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--ff-nav-h);
  z-index: 2310;
  background: var(--ff-white);
  border-radius: 21px 21px 0 0;
  border-top: 1px solid var(--ff-hairline);
  padding: 13px 21px calc(21px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-sizing: border-box;
}
html.ff-app-v2 .ffv2-grab {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--ff-hairline);
  align-self: center;
}
html.ff-app-v2 a.ffv2-choice { text-decoration: none; color: var(--ff-ink); }
html.ff-app-v2 .ffv2-choice {
  min-height: 64px;
  border-radius: 13px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 13px 16px;
  cursor: pointer;
  color: var(--ff-ink);
  font: 500 16px/1.2 "Nunito Sans", system-ui, sans-serif;
  text-align: left;
}
html.ff-app-v2 .ffv2-choice > span:first-child:not(.ffv2-choice-ico) {
  font-size: 16px;
  font-weight: 500;
  color: var(--ff-ink);
}
html.ff-app-v2 .ffv2-choice > span:last-child:not(.ffv2-choice-tx) {
  font-size: 12px;
  font-weight: 400;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-choice-row { flex-direction: row; align-items: center; gap: 13px; }
html.ff-app-v2 .ffv2-choice-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--ff-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--ff-ink);
}
html.ff-app-v2 .ffv2-choice-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.ff-app-v2 .ffv2-choice-tx > span:first-child { font-size: 16px; font-weight: 500; color: var(--ff-ink); }
html.ff-app-v2 .ffv2-choice-tx > span:last-child { font-size: 12px; font-weight: 400; color: var(--ff-muted); }
html.ff-app-v2 .ffv2-disclaimer {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ff-gold-ink);
  background: var(--ff-gold-soft);
  border: 1px solid var(--ff-gold-line);
  border-radius: 13px;
  padding: 10px 13px;
}

html.ff-app-v2 #ffV2Nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2400;
  height: var(--ff-nav-h);
  box-sizing: border-box;
  background: var(--ff-white);
  border-top: 1px solid var(--ff-hairline);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  padding-top: 10px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html.ff-app-v2 .ffv2-nav-i {
  position: relative;
  justify-self: center;
  width: 56px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ff-muted);
  font: 500 10px/1 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer;
}
html.ff-app-v2 .ffv2-nav-i[aria-current="page"] {
  color: var(--ff-ink);
  font-weight: 600;
}
html.ff-app-v2 .ffv2-nav-i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 0;
  height: 1px;
  background: var(--ff-gold);
  transition: width .45s var(--ff-ease), left .45s var(--ff-ease);
}
html.ff-app-v2 .ffv2-nav-i[aria-current="page"]::after { left: 20%; width: 60%; }
html.ff-app-v2 .ffv2-plus {
  justify-self: center;
  width: 48px;
  height: 48px;
  margin-top: -2px;
  border: 0;
  border-radius: 24px;
  background: var(--ff-gold);
  box-shadow: 0 6px 18px rgba(184, 134, 47, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: var(--ff-white);
}
html.ff-app-v2 .ffv2-dot {
  position: absolute;
  top: 0;
  left: 34px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--ff-gold);
  box-shadow: 0 0 0 2px var(--ff-white);
}
html.ff-app-v2 .ffv2-dot[hidden] { display: none !important; }

@media (max-width: 899px) {
  html.ff-app-v2 {
    --ff-nav-h: calc(60px + env(safe-area-inset-bottom, 0px));
  }
  html.ff-app-v2 #ffV2Nav {
    align-items: stretch;
    padding-top: 4px;
  }
  html.ff-app-v2 .ffv2-nav-i {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 600;
  }
  html.ff-app-v2 .ffv2-nav-i svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
  }
  html.ff-app-v2 .ffv2-nav-i::after {
    top: -4px;
  }
  html.ff-app-v2 #ffV2Nav {
    overflow: visible;
  }
  html.ff-app-v2 .ffv2-plus {
    width: 52px;
    height: 52px;
    border-radius: 26px;
    margin-top: -12px;
    align-self: start;
  }
  html.ff-app-v2 .ffv2-plus svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 900px) {
  html.ff-app-v2 #ffV2Nav {
    left: 50%;
    right: auto;
    width: min(480px, 100%);
    transform: translateX(-50%);
  }
  html.ff-app-v2 .ffv2-page {
    bottom: var(--ff-nav-h);
    min-height: calc(100dvh - var(--ff-nav-h));
    padding-left: max(21px, calc(50vw - 240px));
    padding-right: max(21px, calc(50vw - 240px));
  }
  html.ff-app-v2 #ffV2Nav {
    left: 50%;
    right: auto;
    width: min(480px, 100%);
    transform: translateX(-50%);
  }
  html.ff-app-v2 .ffv2-sheet { left: 50%; right: auto; width: min(480px, 100%); transform: translateX(-50%); }
  html.ff-app-v2 #mapSettingsPanel { left: 50%; right: auto; width: min(480px, 100%); transform: translateX(-50%); }
  html.ff-app-v2 .spDD.show { left: 50% !important; right: auto !important; width: min(480px, 100%) !important; transform: translateX(-50%); }
  html.ff-app-v2 #ffV2ScoreDock .leaflet-popup.ff-score-popup {
    width: min(420px, calc(100% - 32px)) !important;
  }
  html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-content {
    max-height: calc(100dvh - var(--ff-nav-h) - 12px);
    overflow: auto;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp.score-shell--v2 {
    display: flex;
    flex-direction: column;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp .dis { margin-top: 4px; font-size: 11px; }
}

/* Old map chrome stays in the DOM for its handlers, and stays invisible while the shell is on. */
html.ff-app-v2 #bottomPanel,
html.ff-app-v2 #bottomLegendBlock,
html.ff-app-v2 .map-left-wrap,
html.ff-app-v2 .leaflet-control-zoom,
html.ff-app-v2 #map-scale,
html.ff-app-v2 #profInviteSection {
  display: none !important;
}
html.ff-app-v2 .side-menu { visibility: hidden !important; transform: translateX(-105%) !important; }
html.ff-app-v2 .menu-backdrop { display: none !important; }
html.ff-app-v2.ffv2-legacy-sheet .side-menu.show {
  visibility: visible !important;
  transform: translateX(0) !important;
  z-index: 2600;
  background: var(--ff-white);
  color: var(--ff-ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2.ffv2-legacy-sheet .menu-backdrop.show { display: block !important; }
html.ff-app-v2.ffv2-legacy-sheet .side-menu .menu-primary,
html.ff-app-v2.ffv2-legacy-sheet .side-menu .menu-group,
html.ff-app-v2.ffv2-legacy-sheet .side-menu .menu-item-emergency { display: none !important; }
html.ff-app-v2.ffv2-legacy-sheet .side-menu .menu-group.ffv2-on { display: block !important; }

#ffV2LegendNote { display: none; }
html.ff-app-v2 #ffV2LegendNote {
  display: block;
  margin: 8px 0 0;
  font: 400 12px/1.45 "Nunito Sans", system-ui, sans-serif;
  color: var(--ff-muted);
}

html.ff-app-v2 #ffV2Settings[hidden] { display: none !important; }
html.ff-app-v2 #ffV2Settings:not([hidden]) { display: block !important; }
html.ff-app-v2 .ffv2-page,
html.ff-app-v2 .ffv2-settings { scrollbar-gutter: stable; }
html.ff-app-v2 .ffv2-settings {
  position: fixed;
  inset: 0;
  z-index: 2500;
  overflow: auto;
  background: var(--ff-white);
  color: var(--ff-ink);
  padding: calc(8px + env(safe-area-inset-top, 0px)) 21px calc(34px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
@media (min-width: 900px) {
  html.ff-app-v2 .ffv2-settings {
    left: 50%;
    right: auto;
    width: min(480px, 100%);
    transform: translateX(-50%);
    padding-left: 21px;
    padding-right: 21px;
  }
}
html.ff-app-v2 .ffv2-settings-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ff-white);
  margin: 0;
  padding: 8px 0 21px;
}
html.ff-app-v2 .ffv2-settings-bar h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
}
html.ff-app-v2 .ffv2-theme { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 13px; }
html.ff-app-v2 .ffv2-version {
  display: block;
  width: 100%;
  margin: 21px 0 8px;
  padding: 13px 0;
  border: 0;
  background: transparent;
  color: var(--ff-muted, #5c6654);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}
html.ff-app-v2 .ffv2-version:focus-visible {
  outline: 2px solid var(--ff-green, #3d5c34);
  outline-offset: 2px;
  border-radius: 8px;
}

html.ff-app-v2 .ffv2-prof-bar {
  display: none;
}
html.ff-app-v2 .ffv2-prof-hero .ffv2-prof-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
html.ff-app-v2 .ffv2-prof-hero .ffv2-icon-btn.ffv2-mini {
  width: 36px;
  height: 36px;
}
html.ff-app-v2 .ffv2-prof-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html.ff-app-v2 .ffv2-handle {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ff-muted);
  white-space: pre-wrap;
  word-break: break-word;
  max-width: min(100%, 420px);
}
html.ff-app-v2 .ffv2-photo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
html.ff-app-v2 .ffv2-prof-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 8px;
  max-width: 100%;
}
html.ff-app-v2 .ffv2-feed-back {
  flex: 0 0 auto;
}
html.ff-app-v2 #ffV2Profile {
  overflow-x: hidden;
  max-width: 100%;
  scrollbar-gutter: auto;
}
html.ffv2-foreign-profile #ffV2OwnTools,
html.ffv2-foreign-profile #ffV2PlanCard,
html.ffv2-guest-profile #ffV2OwnTools,
html.ffv2-guest-profile #ffV2ForeignTools,
html.ffv2-guest-profile #ffV2PlanCard {
  display: none !important;
}
html.ff-app-v2 .ffv2-prof-guest {
  margin-left: auto;
  flex: 1 1 auto;
  justify-content: flex-end;
  max-width: 100%;
}
html.ff-app-v2 .sd-user-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin: 0 0 8px;
}
html.ff-app-v2 .sd-user-thumb {
  flex: none;
  border: 0;
  padding: 0;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.72;
}
html.ff-app-v2 .sd-user-thumb.on {
  opacity: 1;
  outline: 2px solid var(--ff-gold, #D09A50);
  outline-offset: 1px;
}
html.ff-app-v2 .sd-user-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html.ff-app-v2 #ffV2More .ffv2-kicker {
  margin: 16px 0 4px;
}
html.ff-app-v2 #ffV2More .ffv2-kicker:first-child {
  margin-top: 0;
}
html.ff-app-v2 .ffv2-prof-gear { flex: none; }
html.ff-app-v2 .ffv2-avatar {
  width: 89px;
  height: 89px;
  border-radius: 45px;
  background: #EEF3E8;
  border: 1px solid #E6E3DB;
  color: #2C4A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 300;
  flex: none;
  overflow: hidden;
}
html.ff-app-v2 .ffv2-avatar img { width: 100%; height: 100%; object-fit: cover; }
html.ff-app-v2 .ffv2-prof-name {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html.ff-app-v2 .ffv2-prof-hero .ffv2-prof-foreign {
  flex: 1 1 100%;
  justify-content: flex-start;
  max-width: 100%;
  margin-left: 0;
}
@media (min-width: 520px) {
  html.ff-app-v2 .ffv2-prof-hero .ffv2-prof-foreign {
    flex: 0 1 auto;
    margin-left: auto;
    justify-content: flex-end;
  }
}
html.ff-app-v2 .ffv2-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 21px 0;
  border-top: 1px solid var(--ff-hairline);
  border-bottom: 1px solid var(--ff-hairline);
}
html.ff-app-v2 .ffv2-stats > div {
  padding: 13px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html.ff-app-v2 .ffv2-stats > * + * { padding-left: 13px; border-left: 1px solid var(--ff-hairline); }
html.ff-app-v2 .ffv2-stats b { font-size: 26px; font-weight: 300; }
html.ff-app-v2 .ffv2-stats span { font-size: 11px; color: var(--ff-muted); }
html.ff-app-v2 .ffv2-page .ffv2-choice { margin-top: 13px; width: 100%; }
html.ff-app-v2 h3.ffv2-kicker {
  margin: 21px 0 8px;
  font-weight: 400;
  text-transform: uppercase;
}

html.ff-app-v2 #mapSettingsVeil {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--ff-nav-h);
  z-index: 2490;
  background: rgba(23, 26, 21, 0.28);
}
html.ff-app-v2 #mapSettingsVeil[hidden] { display: none !important; }
#mapSetTour { display: none; }
html.ff-app-v2 #mapSetTour { display: flex; }
html.ff-app-v2 #mapSetTour[hidden] { display: none !important; }
html.ff-app-v2 .map-set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 55px;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline-soft);
  background: transparent;
  color: var(--ff-ink);
  font: 500 15px/1.3 "Nunito Sans", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
html.ff-app-v2 .ffv2-tour-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.ff-app-v2 .ffv2-tour-tx small { font-size: 12px; font-weight: 400; color: var(--ff-muted); }
html.ff-app-v2 .ff-switch {
  appearance: none;
  width: 42px;
  height: 26px;
  border-radius: 13px;
  background: #C8C6BE;
  border: 0;
  position: relative;
  flex: none;
  margin: 0;
  cursor: pointer;
}
html.ff-app-v2 .ff-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  transition: transform .2s ease;
}
html.ff-app-v2 .ff-switch:checked { background: #2C4A2E; }
html.ff-app-v2 .ff-switch:checked::after { transform: translateX(16px); }

html.ff-app-v2 .spDD {
  position: fixed !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: var(--ff-nav-h) !important;
  width: 100% !important;
  max-width: none !important;
  max-height: min(78vh, 640px) !important;
  z-index: 2800 !important;
  border-radius: 21px 21px 0 0 !important;
}
html.ff-app-v2 .usearch-panel {
  position: fixed;
  top: calc(64px + env(safe-area-inset-top, 0px));
  left: 13px;
  right: auto;
  width: min(420px, calc(100vw - 26px));
  max-height: min(70vh, 560px);
  z-index: 2800;
}
html.ff-app-v2 .usearch-backdrop { z-index: 2790; }
@media (max-width: 640px) {
  html.ff-app-v2 .usearch-panel {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    border-radius: 0 0 18px 18px;
    max-height: min(88vh, 100dvh);
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }
  html.ff-app-v2 .usearch-close {
    top: calc(13px + env(safe-area-inset-top, 0px));
  }
}
html.ff-app-v2 .sp-v2-sel-count {
  font-size: 12px;
  color: var(--ff-muted);
  flex: none;
  white-space: nowrap;
  padding-top: 8px;
}
/* Filterblatt bei 390 px: Kopf untereinander statt in einer Zeile, sonst bricht der Titel auf 3 Zeilen
   und der aktive Chip rutscht unter den Schließen-Knopf (Refs #1041). */
html.ff-app-v2 .spDD .sp-dd-head {
  display: block;
  padding: 12px 56px 0 16px;
}
html.ff-app-v2 .spDD .ffv2-sheet-top {
  padding: 0;
  align-items: baseline;
  gap: 10px;
}
html.ff-app-v2 .spDD .ffv2-sheet-title {
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}
html.ff-app-v2 .spDD .sp-v2-active {
  padding: 10px 0 2px;
}
html.ff-app-v2 .spDD .sp-filter {
  font: 600 13px/1.25 var(--sans);
  color: var(--ff-ink);
  padding: 10px 6px;
  border-radius: 12px;
  flex: 1 1 calc(50% - 4px);
  min-width: calc(50% - 4px);
}
html.ff-app-v2 .spDD .sp-filter-row { gap: 8px; }
html.ff-app-v2 .spDD .sp-filter-count {
  font: 500 12px/1.3 var(--sans);
  color: var(--ff-muted);
  margin-top: 8px;
}
html.ff-app-v2 .sp-v2-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 10px;
}
html.ff-app-v2 .sp-v2-active[hidden] { display: none !important; }
html.ff-app-v2 .sp-v2-active-chip {
  height: auto;
  min-height: 36px;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 18px;
  border: 2px solid var(--ff-gold-line);
  background: var(--ff-gold-soft);
  color: var(--ff-gold-ink);
  font: 600 13px/1.25 var(--sans);
  white-space: normal;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
html.ff-app-v2 .sp-filter.on {
  border-width: 2px;
  font-weight: 600;
}
html.ff-app-v2 .sp-v2-foot {
  padding: 8px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--ff-hairline-soft);
  flex: none;
}
html.ff-app-v2 .sp-v2-limit-hint {
  margin: 0;
  font-size: 11px;
  color: var(--ff-muted);
  text-align: center;
}
html.ff-app-v2 .sp-v2-apply {
  height: 50px;
  border-radius: 25px;
  border: 0;
  background: var(--ff-gold-deep);
  color: #fff;
  font: 500 15px/1 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer;
}
html:not(.ff-app-v2) .sp-v2-foot,
html:not(.ff-app-v2) .sp-v2-sel-count { display: none !important; }

html.ff-app-v2 .spDD .sp-hint,
html.ff-app-v2 .spDD .opt .acts,
html.ff-app-v2 #menuFavSpecies,
html.ff-app-v2 #menuHuntGpx { display: none !important; }
html.ff-app-v2 .spDD .sp-chips {
  display: none !important;
}
html.ff-app-v2 .ffv2-sheet-title {
  display: block;
  margin: 0;
  padding: 4px 36px 0 0;
  font-size: 21px;
  font-weight: 500;
}
.ffv2-sheet-title { display: none; }

html.ff-app-v2 .ffv2-sheet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
html.ff-app-v2 .ffv2-sheet-x {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  color: var(--ff-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
html.ff-app-v2 #ffV2Export[hidden],
html.ff-app-v2 #ffV2Tour[hidden],
html.ff-app-v2 #ffV2Album[hidden],
html.ff-app-v2 #ffV2Places[hidden] { display: none !important; }
html.ff-app-v2 #ffV2Export:not([hidden]),
html.ff-app-v2 #ffV2Tour:not([hidden]),
html.ff-app-v2 #ffV2Album:not([hidden]),
html.ff-app-v2 #ffV2Places:not([hidden]) { display: contents !important; }

html.ff-app-v2 .ffv2-prof-tools { display: flex; gap: 8px; }
html.ff-app-v2 #ffV2OwnTools[hidden],
html.ff-app-v2 #ffV2ForeignTools[hidden],
html.ff-app-v2 #ffV2GuestTools[hidden],
html.ff-app-v2 #ffV2PlanCard[hidden] {
  display: none !important;
}
html.ff-app-v2 .ffv2-mini {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  box-shadow: none;
  position: relative;
}
html.ff-app-v2 #ffV2Bell .ffv2-dot { top: 2px; left: 20px; }
html.ff-app-v2 .ffv2-stat {
  border: 0;
  background: transparent;
  padding: 13px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--ff-ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
html.ff-app-v2 .ffv2-stat b { font-size: 26px; font-weight: 300; }
html.ff-app-v2 .ffv2-stat span { font-size: 11px; color: var(--ff-muted); }
html.ff-app-v2 .ffv2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
html.ff-app-v2 .ffv2-tile {
  height: 89px;
  border-radius: 6px;
  border: 0;
  padding: 6px;
  box-sizing: border-box;
  background: var(--ff-ground);
  color: var(--ff-forest, #2C4A2E);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
html.ff-app-v2 .ffv2-tile-name {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--ff-ink);
  overflow-wrap: break-word;
  hyphens: auto;
}
html.ff-app-v2 .ffv2-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html.ff-app-v2 .ffv2-empty { margin: 8px 0 0; color: var(--ff-muted); font-size: 14px; }
html.ff-app-v2 .ffv2-empty[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-empty-block { margin: 8px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
html.ff-app-v2 .ffv2-empty-block[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-empty-block .ffv2-empty { margin: 0; }
html.ff-app-v2 .ffv2-empty-cta[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-empty-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; text-decoration: none; border-radius: 13px; background: var(--ff-gold-deep); color: #fff; font-weight: 500; }
/* S2a: eigener, übersetzter Dateiknopf statt Browser-Standard (file-pick.js) */
.ff-file-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.ff-file-pick-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ff-hairline, #d9d6cc); border-radius: 13px; background: var(--ff-white, #fff); color: var(--ff-ink, #171a15); font: inherit; font-weight: 500; cursor: pointer; }
.ff-file-pick-status { font-size: 13px; color: var(--ff-muted, #6b7065); overflow-wrap: anywhere; }
.ff-file-pick-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }

html.ff-app-v2 #friendsHubModal .friends-row,
html.ff-app-v2 #friendsHubModal .friend-row {
  min-height: 55px;
  border-bottom: 1px solid var(--ff-hairline-soft);
  font-family: "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #emergencyModal .emergency-hint { display: none !important; }
html.ff-app-v2 #emergencyModal .emergency-calls {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}
html.ff-app-v2 #emergencyModal .emergency-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 55px;
  border-bottom: 1px solid var(--ff-hairline-soft);
  flex-wrap: nowrap;
}
html.ff-app-v2 #emergencyModal .emergency-call-label {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ff-ink);
}
html.ff-app-v2 #emergencyModal .emergency-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 22px;
  background: var(--ff-gold-soft);
  color: var(--ff-gold-ink);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
html.ff-app-v2 #emergencyModal .emergency-call-label { color: var(--ff-ink); }
html.ff-app-v2 #emergencyModal .emergency-rest { margin-top: 13px; }
html.ff-app-v2 #emergencyModal .emergency-rest summary { min-height: 44px; cursor: pointer; }
html.ff-app-v2 #feedbackModal #fbMineWrap { display: none !important; }

html.ff-app-v2 .ffv2-sheet-x,
html.ff-app-v2 .ffv2-score-x,
html.ff-app-v2 .sp-dd-close,
html.ff-app-v2 .map-set-close,
html.ff-app-v2 .usearch-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  color: var(--ff-ink);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 4;
  cursor: pointer;
  flex: none;
}
html.ff-app-v2 .ffv2-sheet-top,
html.ff-app-v2 .sp-dd-head,
html.ff-app-v2 .map-set-head,
html.ff-app-v2 .usearch-head,
html.ff-app-v2 #ffV2ScoreDock .pp-head {
  position: relative;
  padding-right: 56px;
}
html.ff-app-v2 .ffv2-lang-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
html.ff-app-v2 .ffv2-lang-copy small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-flag {
  width: 22px;
  height: 16px;
  flex: none;
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(23, 26, 21, 0.15);
}
html.ff-app-v2 .ffv2-flag svg { width: 22px; height: 16px; display: block; }
/* Flagge nicht als Text-Span strecken (Regel .ffv2-row > span min-width 12rem), Zeile einzeilig */
html.ff-app-v2 #ffV2Language { flex-wrap: nowrap; align-items: center; }
html.ff-app-v2 .ffv2-row > .ffv2-flag { flex: 0 0 22px; min-width: 0; width: 22px; }
html.ff-app-v2 .ffv2-lang-list {
  display: flex;
  flex-direction: column;
  margin: 0 0 8px;
  padding: 0 0 0 8px;
}
html.ff-app-v2 .ffv2-lang-list[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-lang-opt {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 8px 8px 8px 13px;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline-soft);
  background: transparent;
  color: var(--ff-ink);
  font: 500 15px/1.3 "Nunito Sans", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
html.ff-app-v2 .ffv2-lang-opt.on { background: var(--ff-gold-soft); }
html.ff-app-v2 #ffV2Appearance[hidden] { display: none !important; }

html.ff-app-v2 .ffv2-srch { display: block; position: relative; margin: 8px 0 13px; }
html.ff-app-v2 .ffv2-srch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171A15' stroke-width='1.5' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4-4'/></svg>") center / 20px 20px no-repeat;
  pointer-events: none;
}
html.ff-app-v2 .ffv2-srch input {
  width: 100%;
  height: 50px;
  border: 0;
  border-bottom: 1px solid var(--ff-ink);
  background: transparent;
  color: var(--ff-ink);
  font: 300 26px/1.2 "Nunito Sans", system-ui, sans-serif;
  outline: none;
  padding: 0 0 0 33px;
  box-sizing: border-box;
}
html.ff-app-v2 .ffv2-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 13px;
}
html.ff-app-v2 .ffv2-tabs button {
  height: 32px;
  padding: 0 13px;
  border-radius: 16px;
  border: 1px solid var(--ff-hairline);
  background: transparent;
  color: var(--ff-ink);
  font: 500 13px/1 "Nunito Sans", system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
html.ff-app-v2 .ffv2-tabs button.on { background: var(--ff-gold-soft); border-color: transparent; color: var(--ff-gold-ink, #8C6420); }
html.ff-app-v2 #ffV2ProfileTabs {
  gap: 18px;
  border-bottom: 1px solid var(--ff-hairline);
  padding-bottom: 0;
  scrollbar-width: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
html.ff-app-v2 #ffV2ProfileTabs::-webkit-scrollbar { display: none; }
html.ff-app-v2 #ffV2ProfileTabs button {
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  background: none;
  margin-bottom: -1px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ProfileTabs button.on {
  background: none;
  border-bottom-color: #B8893A;
  color: var(--ff-ink);
  font-weight: 500;
}
html.ff-app-v2 .ffv2-hit {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 55px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline-soft);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
html.ff-app-v2 .ffv2-hit-img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--ff-ground);
  object-fit: cover;
  flex: none;
}
html.ff-app-v2 .ffv2-hit-av {
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: var(--ff-gold-soft);
  display: grid;
  place-items: center;
  flex: none;
}
html.ff-app-v2 .ffv2-hit-score { width: 34px; flex: none; font-weight: 300; font-size: 21px; }
html.ff-app-v2 .ffv2-hit-pin {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--ff-forest);
}
html.ff-app-v2 .ffv2-hit-tx { display: flex; flex-direction: column; min-width: 0; }
html.ff-app-v2 .ffv2-hit-tx b { font-size: 15px; font-weight: 500; }
html.ff-app-v2 .ffv2-hit-tx small { color: var(--ff-muted); font-size: 12px; }
html.ff-app-v2 .ffv2-hit-go {
  margin-left: auto;
  color: var(--ff-gold-deep);
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
}
html.ff-app-v2 .ffv2-soon { color: var(--ff-muted); margin: 0; }
html.ff-app-v2 .ffv2-plan {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 8px 0 13px;
  font-size: 14px;
}
html.ff-app-v2 .ffv2-plan b { font-weight: 600; }
html.ff-app-v2 .ffv2-plan a { margin-left: auto; color: var(--ff-gold-ink, #8C6420); }
html.ff-app-v2 .ffv2-count { margin: 0 0 8px; color: var(--ff-muted); font-size: 13px; }
html.ff-app-v2 .ffv2-pane[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-tile.is-empty {
  border: 1px dashed #CFC9BB;
  background: transparent;
  color: #A7A196;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 21px;
  font-weight: 300;
}
html.ff-app-v2 .ffv2-place {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 55px;
  border-bottom: 1px solid var(--ff-hairline-soft);
}
html.ff-app-v2 .ffv2-place-name {
  flex: 1;
  border: 0;
  background: transparent;
  text-align: left;
  font: 500 15px/1.3 "Nunito Sans", system-ui, sans-serif;
  color: var(--ff-ink);
  cursor: pointer;
}
html.ff-app-v2 .ffv2-mini-btn {
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  border-radius: 16px;
  height: 32px;
  padding: 0 10px;
  font: 500 12px/1 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer;
}
html.ff-app-v2 .spDD .srch { display: block !important; padding: 0 16px 8px; }
html.ff-app-v2 .spDD .srch input {
  width: 100%;
  height: 40px;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline);
  background: transparent;
  font: 400 16px/1.3 "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 .opt.ffv2-sp { display: flex; align-items: center; gap: 8px; }
html.ff-app-v2 .opt.ffv2-sp .opt-info-btn {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  color: var(--ff-ink);
  font-size: 16px;
  flex: none;
  cursor: pointer;
}
html.ff-app-v2 #spInfoPanel { display: none !important; }
html.ff-app-v2 .sp-psycho-banner { font-size: 12px; padding: 8px 10px; margin: 8px 0; line-height: 1.35; }
html.ff-app-v2 #mapSetTour.is-soon { color: var(--ff-muted); cursor: default; opacity: 0.7; }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding-right: 44px;
  box-sizing: border-box;
  min-height: 0;
  position: relative;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-place {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ff-ink);
  overflow-wrap: anywhere;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-place--pending {
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-best {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head-score {
  flex: none;
  text-align: right;
  line-height: 1;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ff-ink);
  /* Feste Höhe von 3 Zeilen: Dock springt beim Tageswechsel nicht (Refs #1034). */
  min-height: calc(3 * 1.4em);
  overflow: visible;
  cursor: pointer;
  margin-bottom: 12px;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative.is-open {
  height: auto;
  display: block;
  -webkit-line-clamp: unset;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative--v2:not(.is-open) .narrative-v2-full {
  display: none;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative--v2.is-open .narrative-v2-p--lead {
  display: none;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative--v2.is-open .narrative-v2-full {
  display: block;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative--v2.is-open .narrative-v2-p--full {
  display: block;
  margin: 0 0 0.75em;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative--v2.is-open .narrative-v2-p--full:last-child {
  margin-bottom: 0;
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative p {
  margin: 0;
  display: inline;
}
html.ff-app-v2 #ffV2ScoreDock .pp-head--v2 .pp-head-copy { min-width: 0; flex: 1; }
html.ff-app-v2 #ffV2ScoreDock .pp-head-line {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ff-ink);
  display: flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-head-place {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.ff-app-v2 #ffV2ScoreDock .pp-head-sep,
html.ff-app-v2 #ffV2ScoreDock .pp-head-day {
  flex: none;
  white-space: nowrap;
}
html.ff-app-v2 #ffV2ScoreDock .pp-head-trend {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-hero-num .big { font-size: 36px; font-weight: 700; line-height: 1; }
html.ff-app-v2 #ffV2ScoreDock .pp-actions-v2--row {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border-radius: 22px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  font: 500 13px/1.15 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer;
  padding: 8px 6px;
  text-align: center;
  color: var(--ff-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn .ff-ico {
  flex: none;
  width: 14px;
  height: 14px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-find {
  background: var(--ff-gold-deep, #4e7d34);
  border-color: transparent;
  color: #fff;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-col-title,
html.ff-app-v2 #ffV2ScoreDock .pp-dock-section-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ff-ink);
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-metric {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 2px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-metric span {
  color: var(--ff-muted);
  min-width: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-metric b {
  font-weight: 600;
  color: var(--ff-ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-trees-body .pp-tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  font-size: 13px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-trees-body .pp-tree-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  overflow: visible;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.25;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-trees-body .pp-tree-track {
  flex: 0 1 48px;
  min-width: 20px;
  max-width: 48px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-trees-body .pp-tree-pct {
  flex: 0 0 28px;
  font-size: 12px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-trees-body .pp-tree-note {
  font-size: 12px;
  margin: 0;
}
@media (max-width: 430px) {
  html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-row {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 15px;
  }
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-trees-body .pp-tree-note--corine {
  font-size: 11px;
  color: var(--ff-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-findable-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: none;
  overflow: visible;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--ff-hairline-soft);
  border-radius: 13px;
  background: var(--ff-paper);
  font: 400 16px/1.35 "Nunito Sans", system-ui, sans-serif;
  color: var(--ff-ink);
  text-align: left;
  pointer-events: auto;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-name {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-score {
  flex: none;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ff-ink);
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-show-all {
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0;
  font: 500 13px/1.3 "Nunito Sans", system-ui, sans-serif;
  color: var(--ff-gold-ink, #8C6420);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-empty,
html.ff-app-v2 #ffV2ScoreDock .pp-dock-loading {
  margin: 0;
  font-size: 13px;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  margin: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav-sep {
  color: var(--ff-muted);
  font-weight: 500;
  user-select: none;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav-link {
  border: 0;
  background: none;
  padding: 0;
  font: 500 13px/1.2 "Nunito Sans", system-ui, sans-serif;
  color: var(--ff-gold-ink, #8C6420);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html.ff-app-v2 #ffV2ScoreDock a.pp-dock-nav-link {
  color: var(--ff-gold-ink, #8C6420);
}
html.ff-app-v2 #ffV2ScoreDock .pp-habitat-weather,
html.ff-app-v2 #ffV2ScoreDock .pp-why,
html.ff-app-v2 #ffV2ScoreDock .pp-col-foot,
html.ff-app-v2 #ffV2ScoreDock .pp-route-block,
html.ff-app-v2 #ffV2ScoreDock .pp-route-title,
html.ff-app-v2 #ffV2ScoreDock .pp-score-expand {
  display: none !important;
}
html.ff-app-v2 #ffV2ScoreDock .timeline {
  max-height: none;
  max-width: 440px;
  margin: 0 auto 2px;
  overflow: visible;
}
html.ff-app-v2 #ffV2ScoreDock .tl-head--compact {
  margin: 0 0 2px;
  min-height: 0;
}
html.ff-app-v2 #ffV2ScoreDock .tl-head--compact .tl-best {
  font-size: 10px;
  font-weight: 500;
  color: var(--ff-muted);
  line-height: 1.3;
}
html.ff-app-v2 #ffV2ScoreDock .timeline svg,
html.ff-app-v2 #ffV2ScoreDock .timeline--interactive svg {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto;
}
/* Dock-Verlauf wie Popup/Live: Kürzel unter jedem Balken (Refs #1034). */
html.ff-app-v2 #ffV2ScoreDock .timeline { position: relative; }
html.ff-app-v2 #ffV2ScoreDock .tl-bar--past { filter: saturate(.72); }
html.ff-app-v2 #ffV2ScoreDock .tl-bar--best:not(.tl-bar--past) { filter: saturate(1.08) brightness(.92); }
html.ff-app-v2 #ffV2ScoreDock .timeline--dock .tl-day { fill: #7a8276; font-weight: 500; font-size: 7px; }
html.ff-app-v2 #ffV2ScoreDock .timeline--dock .tl-day--past { fill: #a8ada4; opacity: .9; }
html.ff-app-v2 #ffV2ScoreDock .timeline--dock .tl-day--active,
html.ff-app-v2 #ffV2ScoreDock .timeline--dock .tl-day--today { fill: #3f6b28; font-weight: 600; }
html.ff-app-v2 #ffV2ScoreDock .timeline--dock .tl-today-mark {
  font-size: 10px;
  font-weight: 600;
  fill: var(--ff-muted);
}
/* Waagrecht ziehen waehlt den Tag (Pointer-Events in map.js), senkrecht blaettert das Blatt weiter.
   Scrollt der Balken seitlich (timeline--scrollx), scrollt der Browser in beide Richtungen; Ziehen erst nach kurzem Halten. */
html.ff-app-v2 #ffV2ScoreDock .timeline--interactive svg {
  touch-action: pan-y;
  cursor: grab;
}
html.ff-app-v2 #ffV2ScoreDock .timeline--interactive .tl-hit {
  touch-action: pan-y;
}
html.ff-app-v2 #ffV2ScoreDock .timeline--interactive.timeline--scrollx svg,
html.ff-app-v2 #ffV2ScoreDock .timeline--interactive.timeline--scrollx .tl-hit {
  touch-action: auto;
}
html.ff-app-v2 #ffV2ScoreDock .tl-scrub-tip {
  position: absolute;
  top: -14px;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 8px;
  background: #1a1f18;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
}
html.ff-app-v2 #ffV2ScoreDock .tl-scrub-tip[hidden] { display: none !important; }
html.ff-app-v2 #ffV2ScoreDock .tl-bar--active,
html.ff-app-v2 #ffV2ScoreDock .tl-bar--today.tl-bar--active {
  opacity: 1 !important;
  stroke: #3f6b28;
  stroke-width: 1.2;
}
html.ff-app-v2 #ffV2ScoreDock .tl-active-mark {
  font-size: 10px;
  font-weight: 600;
  fill: var(--ff-muted);
}

html.ff-app-v2 .pp-head--v2 .pp-head-place {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
html.ff-app-v2 .pp-head--v2 .pp-head-line {
  flex-wrap: wrap;
}

@media (max-height: 500px) and (orientation: landscape) {
  html.ff-app-v2 {
    --ff-nav-h: calc(44px + env(safe-area-inset-bottom, 0px));
  }
  html.ff-app-v2 #ffV2Head {
    position: fixed;
    inset: 0;
    height: 0;
    overflow: visible;
    z-index: 650;
    pointer-events: none;
    padding: 0;
  }
  html.ff-app-v2 .ffv2-toolbar {
    right: 12px;
    gap: 10px;
  }
  html.ff-app-v2 .ffv2-toolbar .ffv2-icon-btn {
    width: 44px;
    height: 44px;
  }
  html.ff-app-v2 .ffv2-chipbar,
  html.ff-app-v2 .ffv2-chips {
    display: none !important;
  }
  html.ff-app-v2 .ffv2-nav-i {
    min-height: 40px;
    font-size: 9px;
  }
  html.ff-app-v2 .ffv2-plus {
    width: 40px;
    height: 40px;
  }
  html.ff-app-v2 #ffV2ScoreDock .leaflet-popup-content {
    max-height: calc(100dvh - var(--ff-nav-h) - 8px);
    overflow: auto;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp.score-shell--v2 {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp-hero-num .big {
    font-size: 28px;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp-actions-v2--row {
    order: 2;
    flex-shrink: 0;
    margin: 4px 0 2px;
    gap: 6px;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp-action-btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
  }
  html.ff-app-v2 #ffV2ScoreDock .timeline {
    order: 3;
    margin: 0;
  }
  html.ff-app-v2 #ffV2ScoreDock .timeline svg {
    max-height: 36px !important;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp-dock-cols,
  html.ff-app-v2 #ffV2ScoreDock .pp-dock-findable,
  html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav,
  html.ff-app-v2 #ffV2ScoreDock .pp-dock-hint,
  html.ff-app-v2 #ffV2ScoreDock .pp-why,
  html.ff-app-v2 #ffV2ScoreDock .pp-col-foot {
    display: none !important;
  }
}
html.ff-app-v2 #ffV2ScoreDock .wow-remind-wrap,
html.ff-app-v2 #ffV2ScoreDock .alert-setup-btn,
html.ff-app-v2 #ffV2ScoreDock .pp-save-actions {
  display: none !important;
}
@media (max-width: 430px) {
  html.ff-app-v2 #ffV2ScoreDock .pp.score-shell--dock {
    gap: 8px;
    padding: 12px 16px 8px;
  }
  html.ff-app-v2 #ffV2ScoreDock .pp-actions-v2--row {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
}
html.ff-app-v2 #ffV2SearchPage {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html.ff-app-v2 #ffV2SearchPage.vv-track {
  overflow: hidden;
}
html.ff-app-v2 #ffV2SearchResults {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
html.ff-app-v2 #emergencyModal .emergency-call {
  min-height: 52px;
  font-size: 20px;
  font-weight: 600;
  padding: 0 18px;
}
html.ff-app-v2 #pushModal .modal-card { position: relative; padding-top: 48px; }

html.ff-app-v2 #ffV2AlbumGrid.ffv2-ig-grid { gap: 2px; margin-top: 0; }
html.ff-app-v2 .ffv2-ig {
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--ff-ground);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: block;
}
html.ff-app-v2 .ffv2-ig.is-missing { background: #E4E1D8; }
html.ff-app-v2 .ffv2-ig.is-missing .photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
  font: 500 11px/1.35 "Nunito Sans", system-ui, sans-serif;
  color: var(--ff-muted);
  text-align: center;
  pointer-events: none;
}
html.ff-app-v2 .ffv2-photo-slide img.is-missing { display: none; }
html.ff-app-v2 .ffv2-photo-slide .photo-fallback {
  font: 500 14px/1.4 "Nunito Sans", system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  padding: 12px;
}
html.ff-app-v2 img.ff-img-missing { visibility: hidden; }
html.ff-app-v2 .sd-img-frame {
  background: #E4E1D8;
  position: relative;
  overflow: hidden;
}
html.ff-app-v2 .sd-img-bg {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  object-fit: cover;
  filter: blur(18px) brightness(0.92);
  transform: scale(1.08);
  pointer-events: none;
}
html.ff-app-v2 .sd-img-zoom { position: relative; z-index: 1; }
html.ff-app-v2 .sd-img { object-fit: contain; }
html.ff-app-v2 #sdEdBadge[hidden],
html.ff-app-v2 #sdEdBadge:empty { display: none !important; }
html.ff-app-v2 .sd-sec .sd-ed-badge:not(.badge-psychoactive):not(.badge-tox-psycho) { display: none !important; }
html.ff-app-v2 .ffv2-ig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html.ff-app-v2 .ffv2-ig-stack {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ff-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(23, 26, 21, 0.12);
}
html.ff-app-v2 .ffv2-ig-stack .ff-ico { width: 14px; height: 14px; }
/* S2b Nachtest: offene Bestimmungsfrage im eigenen Fundtagebuch */
html.ff-app-v2 .ffv2-ig-unidentified {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  max-width: calc(100% - 40px);
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ff-ink);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
html.ff-app-v2 .ffv2-leave {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-finds { gap: 8px; }
html.ff-app-v2 .ffv2-finds .ffv2-tile {
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  align-items: stretch;
  justify-content: flex-end;
  background: #E4E1D8;
  overflow: hidden;
}
html.ff-app-v2 .ffv2-finds .ffv2-tile.is-highlight {
  box-shadow: 0 0 0 2px var(--ff-gold-deep, #8C6420);
}
html.ff-app-v2 .ffv2-finds .ffv2-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
html.ff-app-v2 .ffv2-finds .ffv2-tile-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(165deg, #e8f0ea, #d8e8dc);
  color: #4a7a58;
  z-index: 0;
}
html.ff-app-v2 .ffv2-finds .ffv2-tile-ph[hidden] {
  display: none !important;
}
html.ff-app-v2 .ffv2-finds .ffv2-tile-name {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 6px 5px 10px;
  text-align: center;
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--ff-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 70%, transparent 100%);
}
html.ff-app-v2 .ffv2-finds .ffv2-tile.is-missing::before { display: none; }
html.ff-app-v2 .ffv2-finds .ffv2-tile.is-missing {
  background: #E4E1D8;
  justify-content: flex-end;
}
html.ff-app-v2 .ffv2-finds .ffv2-tile.is-missing .ffv2-tile-name,
html.ff-app-v2 .ffv2-finds .ffv2-tile.is-missing .sp-name-common {
  color: #8A8478;
  opacity: 1;
}
html.ff-app-v2 .ffv2-hit-tx .sp-name-common { font-weight: 400; }

html.ff-app-v2 #friendsHubModal .friends-hub-card {
  font-family: "Nunito Sans", system-ui, sans-serif;
  background: var(--ff-white);
  border: 1px solid var(--ff-hairline);
  border-radius: 18px;
  color: var(--ff-ink);
}
html.ff-app-v2 #friendsHubModal .friends-hub-head { padding-right: 48px; }
html.ff-app-v2 #friendsHubModal .hub-modal-close,
html.ff-app-v2 #notifyModal .hub-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  top: 13px;
  right: 13px;
  background: var(--ff-white);
  border: 1px solid var(--ff-hairline);
  color: var(--ff-ink);
}
html.ff-app-v2 #friendsHubModal .friends-tabs button {
  border-radius: 999px;
  background: var(--ff-white);
  border: 1px solid var(--ff-hairline);
  color: var(--ff-ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
html.ff-app-v2 #friendsHubModal .friends-tabs button.on {
  background: var(--ff-gold-soft);
  color: var(--ff-ink);
  border-color: transparent;
}
html.ff-app-v2 #friendsHubModal .friends-row .fr-actions button,
html.ff-app-v2 #friendsHubModal .btn,
html.ff-app-v2 #friendsHubModal .p-btn {
  border-radius: 999px;
  background: var(--ff-white);
  border: 1px solid var(--ff-hairline);
  color: var(--ff-ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
html.ff-app-v2 #friendsHubModal .friends-row .fr-actions button.primary,
html.ff-app-v2 #friendsHubModal .btn.primary,
html.ff-app-v2 #friendsHubModal .p-btn.primary {
  background: var(--ff-gold-deep);
  color: #fff;
  border-color: transparent;
}
html.ff-app-v2 #friendsHubModal .friends-find-search input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  padding: 10px 0;
  color: var(--ff-ink);
}
html.ff-app-v2 #friendsHubModal .fr-av-initial {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ff-ink);
  background: var(--ff-gold-soft);
}
html.ff-app-v2 #notifyModal .modal-card {
  font-family: "Nunito Sans", system-ui, sans-serif;
  background: var(--ff-white);
  color: var(--ff-ink);
  border-radius: 18px;
  padding-top: 56px;
  position: relative;
}
html.ff-app-v2 #notifyModal #notifyMarkAll[hidden] { display: none !important; }
html.ff-app-v2 #notifyModal .notify-item {
  display: flex;
  align-items: flex-start;
}
html.ff-app-v2 #notifyModal .notify-time,
html.ff-app-v2 #notifyDropdown .notify-time {
  font-family: inherit;
  font-variant-numeric: normal;
  letter-spacing: normal;
}

html.ff-app-v2 .ffv2-ig-meta {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  display: flex;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
  pointer-events: none;
}
html.ff-app-v2 .ffv2-ig-stat { position: relative; }
html.ff-app-v2 .ffv2-ig-dot {
  position: absolute;
  top: -3px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #fff;
}
html.ff-app-v2 .ffv2-photo-view {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}
html.ff-app-v2 .ffv2-photo-view[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-photo-back {
  position: absolute;
  inset: 0;
  background: #000;
}
html.ff-app-v2 .ffv2-photo-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px;
}
html.ff-app-v2 .ffv2-photo-head .ffv2-icon-btn {
  min-width: 40px;
  min-height: 40px;
  font-size: 26px;
  line-height: 1;
}
html.ff-app-v2 .ffv2-photo-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
}

html.ff-app-v2 .ffv2-photo-scroll-hint {
  position: absolute;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  font-size: 18px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.42);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

html.ff-app-v2 .ffv2-photo-scroll-hint-up { top: 12px; }
html.ff-app-v2 .ffv2-photo-scroll-hint-down { bottom: 12px; }
html.ff-app-v2 .ffv2-photo-track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-height: 0;
}
html.ff-app-v2 .ffv2-photo-track::-webkit-scrollbar { display: none; }
html.ff-app-v2 .ffv2-photo-slide {
  flex: 0 0 100%;
  position: relative;
  min-width: 0;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
/* iOS Safari: Prozent-Höhen im per Stretch bemessenen Slide gelten als unbestimmt, Bild fiel auf Höhe 0 (Großansicht schwarz, 27.10.2026) */
html.ff-app-v2 .ffv2-photo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
html.ff-app-v2 .ffv2-photo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
}
html.ff-app-v2 .ffv2-photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}
html.ff-app-v2 .ffv2-photo-dot.on { background: #fff; }
html.ff-app-v2 .ffv2-photo-meta {
  position: relative;
  z-index: 2;
  padding: 12px 16px 20px;
  font-size: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
html.ff-app-v2 #ffV2PhotoMeta {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}
html.ff-app-v2 #ffV2PhotoMeta[hidden] { display: none; }
html.ff-app-v2 .ffv2-photo-sp {
  border: 0;
  background: none;
  color: #D09A50;
  font: inherit;
  font-weight: 600;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
html.ff-app-v2 .ffv2-search-in {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid var(--ff-hairline);
  padding: 10px 0;
  margin-bottom: 8px;
  font: inherit;
  font-size: 16px;
  background: transparent;
}
html.ff-app-v2 .ff-bw { filter: grayscale(1); opacity: 0.92; }
html.ff-app-v2 .ffv2-ed-on-tile {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
}
html.ff-app-v2 .ffv2-finds .ffv2-tile { position: relative; }
html.ff-app-v2 .ff-ed-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.92);
  color: var(--ff-ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
html.ff-app-v2 .ff-ed-mark.ff-ed-deadly { color: #c62828; }
html.ff-app-v2 .ff-ed-mark.ff-ed-psy-mark { color: var(--ff-ink); }
html.ff-app-v2 .ff-ed-svg { width: 14px; height: 14px; }
html.ff-app-v2 .ff-ed-row { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
html.ff-app-v2 .sd-ed-icon .ff-ed-mark { margin-top: 6px; }
html.ff-app-v2 .sd-actions .btn {
  width: 100%;
  min-width: 120px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--ff-hairline);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--ff-ink);
  min-height: 44px;
}
/* Goldene Hauptknöpfe: dunkleres Gold, weiße Schrift (Kontrast ~5,5:1 statt ~2,5:1), Cosimo 21.10. */
html.ff-app-v2 .btn.primary,
html.ff-app-v2 .sd-actions .btn.primary {
  background: var(--ff-gold-deep);
  color: #fff;
  border-color: var(--ff-gold-deep);
}
/* Steckbrief im App-2.0-Stil: Pill-Knöpfe, App-Schrift statt Schreibmaschinenschrift. */
html.ff-app-v2 #speciesDetailSheet .sd-user-finds-add,
html.ff-app-v2 #speciesDetailSheet .sd-community-actions .btn,
html.ff-app-v2 #speciesDetailSheet .sd-actions .btn {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white, #fff);
  color: var(--ff-ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
html.ff-app-v2 #speciesDetailSheet .sd-user-finds-add,
html.ff-app-v2 #speciesDetailSheet .sd-community-actions .btn.primary,
html.ff-app-v2 #speciesDetailSheet .sd-actions .btn.primary {
  background: var(--ff-gold-deep);
  border-color: var(--ff-gold-deep);
  color: #fff;
}
html.ff-app-v2 #speciesDetailSheet .sd-sec h3,
html.ff-app-v2 #speciesDetailSheet .sd-community h3,
html.ff-app-v2 #speciesDetailSheet .sd-user-finds h3 {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
html.ff-app-v2 .ffv2-sr,
html.ff-app-v2 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

html.ff-app-v2 .ffv2-expert-sheet {
  min-height: min(50vh, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
}
html.ff-app-v2 .ffv2-expert-queue {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 16px;
}

html.ff-app-v2 .ffv2-expert-case {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--ff-hairline, #E6E3DB);
  border-radius: 12px;
  background: var(--ff-paper, #FAFAF7);
}

html.ff-app-v2 .ffv2-expert-case img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}

html.ff-app-v2 .ffv2-expert-case-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html.ff-app-v2 .ffv2-expert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

html.ff-app-v2 .ffv2-expert-case-body input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ff-hairline, #E6E3DB);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}

html.ff-app-v2 .ffv2-expert-apply-form textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--ff-hairline, #E6E3DB);
  border-radius: 8px;
  padding: 10px;
  font: inherit;
  margin-bottom: 10px;
}

html.ff-app-v2 .ffv2-photo-social {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  padding: 0;
  text-align: left;
  min-height: 44px;
}

html.ff-app-v2 .ffv2-muted {
  color: var(--ff-muted, #6B7065);
  font-size: 14px;
}

/* Refs #693 / #704: legacy side profile overlay inside App 2.0 shell */
html.ff-app-v2 .profile-panel {
  width: 100%;
  max-width: 100dvw;
  left: 0;
  right: 0;
  bottom: var(--ff-nav-h);
  border-left: none;
  box-shadow: none;
}
@media (min-width: 768px) {
  html.ff-app-v2 .profile-panel {
    width: min(480px, 100%);
    left: auto;
    right: 0;
  }
}
/* Handy: volle Breite. PC: gleiche schmale Spalte wie Sheets und untere Leiste (480px). */
html.ff-app-v2 #ffV2ScoreDock .leaflet-popup.ff-score-popup {
  width: min(480px, 100%) !important;
  max-width: 100dvw !important;
}

/* Verwechslungspilze im Steckbrief als Links (Cosimo 21.10.). */
html.ff-app-v2 #speciesDetailSheet .sp-mention-link,
#speciesDetailSheet .sp-mention-link {
  -webkit-appearance: none;
  appearance: none;
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ff-gold-deep, #8C6420);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Refs #1308: Google steht jetzt als erster Knopf im Anmeldeblatt (Trenner „oder mit E-Mail“ darunter), der frühere
   Abstand unter „Anmelden“ (Refs #1041) entfällt. */

/* Refs #1090: Knöpfe im Detailblatt wie im kleinen Score-Fenster (Symbol und Text darunter) */
html.ff-app-v2 #ffV2ScoreDock .pp-actions-v2--icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--ff-hairline);
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn.pp-action-btn--icon {
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  padding: 4px 2px 2px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ff-ink);
  font: 600 12px/1.2 "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn.pp-action-btn--icon .ff-ico {
  width: 20px;
  height: 20px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn.pp-action-btn--icon:active {
  background: var(--ff-paper, #f2f3ee);
}

/* #1183: Steckbrief-Inhalte im Artenblatt (gleiche Quelle wie /species/…) */
#speciesDetailSheet.sd--steckbrief .sd-legacy { display: none; }
#speciesDetailSheet .sd-sb { margin: 4px 0 8px; }
#speciesDetailSheet .sd-sb-kurz { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
#speciesDetailSheet .sd-sb-hinweis { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fbeceb; color: #7a1c16; font-size: 14px; line-height: 1.45; }
#speciesDetailSheet .sd-sb-hinweis.ok { background: #e8f1e9; color: #1f4d2b; }
#speciesDetailSheet .sd-sb-steps { margin: 0; display: grid; gap: 8px; }
#speciesDetailSheet .sd-sb-steps dt { font-weight: 700; font-size: 14px; margin: 0; }
#speciesDetailSheet .sd-sb-steps dd { margin: 0; font-size: 15px; line-height: 1.45; }
#speciesDetailSheet .sd-sb-look { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#speciesDetailSheet .sd-sb-look li { padding: 10px 12px; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; background: #fff; }
#speciesDetailSheet .sd-sb-look .sd-sb-look-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin: 0 0 4px; }
#speciesDetailSheet .sd-sb-look .sd-sb-look-name { font-weight: 700; font-size: 15px; color: inherit; }
#speciesDetailSheet .sd-sb-look a.sd-sb-look-name,
#speciesDetailSheet .sd-sb-look button.sd-sb-look-name { color: #1f4d2b; text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-weight: 700; font-size: 15px; text-align: left; cursor: pointer; }
#speciesDetailSheet .sd-sb-look .sd-sb-look-latin { font-style: italic; font-size: 13px; opacity: .75; }
#speciesDetailSheet .sd-sb-look .sd-sb-badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef1ee; color: #33443a; }
#speciesDetailSheet .sd-sb-look .sd-sb-badge.red { background: #fbeceb; color: #9b1c14; }
#speciesDetailSheet .sd-sb-look .sd-sb-badge.green { background: #e8f1e9; color: #1f4d2b; }
#speciesDetailSheet .sd-sb-look .sd-sb-badge.amber { background: #fff3d6; color: #6b4a00; }
#speciesDetailSheet .sd-sb-look p { margin: 0; font-size: 14px; line-height: 1.45; }
#speciesDetailSheet .sd-sb-full { display: block; width: 100%; margin: 6px 0 4px; padding: 13px 16px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid #1f4d2b; color: #1f4d2b; background: #fff; box-sizing: border-box; }
#speciesDetailSheet .sd-legal.sd-legal--danger { border-color: #b3261e; background: #fbeceb; color: #7a1c16; }
#speciesDetailSheet .sd-sb-hinweis.info { background: #f1f2f0; color: #33443a; }
/* Kurz-Steckbriefe ohne Artseite: Knopf „Ganzen Steckbrief öffnen“ ausblenden (Bündel j) */
#speciesDetailSheet .sd-sb-full[hidden] { display: none !important; }

/* Filterblatt mit Bildschirmtastatur (map.js spKeyboardFit): ueber der Tastatur, Ergebnisliste scrollt im sichtbaren Bereich */
html.ff-app-v2.ff-sp-kb .spDD {
  bottom: var(--ff-sp-kb, 0px) !important;
  max-height: calc(var(--ff-sp-vvh, 100dvh) - 8px) !important;
  padding-bottom: 0 !important;
}
html.ff-app-v2.ff-sp-kb .spDD .sp-chips,
html.ff-app-v2.ff-sp-kb .spDD .sp-filters,
html.ff-app-v2.ff-sp-kb .spDD .sp-hint,
html.ff-app-v2.ff-sp-kb .spDD .sp-v2-active { display: none !important; }
html.ff-app-v2.ff-sp-kb .spDD .list { flex: 1 1 auto; min-height: 0; max-height: none !important; overflow-y: auto; }

/* Score-Panel Variante A: Ring, Kennzahl-Kacheln, Habitat-Linie, flache Knöpfe (Entwurf Runde 2).
   Reihenfolge im Dock: Kopf, Text, Arten, Wetter, Habitat, Verlauf unten vor den Knöpfen. */
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head-row {
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head-id .pp-dock-place {
  font-size: 19px;
  line-height: 1.15;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head-id .pp-score-row--hero {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  min-height: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-ring .pp-dock-ring-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-ring .big {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  cursor: default;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-ring .big.pp-score-loading {
  font-size: 0;
  min-height: 0;
  gap: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-head .pp-dock-best {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ff-forest);
}
html.ff-app-v2 #ffV2ScoreDock .score-narrative {
  font-size: 14px;
  min-height: 0;
  margin-bottom: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp.score-shell--dock { gap: 10px; }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-section-title,
html.ff-app-v2 #ffV2ScoreDock .pp-dock-col-title {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ff-muted);
  line-height: 12px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-cols {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-findable-section { gap: 4px; }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-list {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-row {
  width: auto;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--ff-hairline);
  border-radius: 14px;
  background: var(--ff-white);
  font: 600 13px/1.2 "Nunito Sans", system-ui, sans-serif;
  gap: 6px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-name { flex: 0 1 auto; text-decoration: none; }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-score { font-weight: 700; color: var(--ff-gold-deep); font-size: 12.5px; }
@media (max-width: 430px) {
  html.ff-app-v2 #ffV2ScoreDock .pp-dock-species-row { min-height: 28px; padding: 0 10px 0 8px; font-size: 13px; }
}
/* Wetter als vier Kacheln */
html.ff-app-v2 #ffV2ScoreDock .pp-dock-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-tile {
  background: var(--ff-paper);
  border: 1px solid var(--ff-hairline-soft);
  border-radius: 12px;
  padding: 6px 2px;
  text-align: center;
  min-width: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-tile b {
  display: block;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-tile b em {
  font-style: normal;
  font-size: 11px;
  color: var(--ff-muted);
  margin-left: 2px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-tile span {
  display: block;
  font-size: 10px;
  line-height: 1.15;
  color: var(--ff-muted);
  margin-top: 2px;
  overflow-wrap: break-word;
  hyphens: auto;
}
/* Habitat als Linie */
html.ff-app-v2 #ffV2ScoreDock .pp-dock-hab-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-hab-bar i { display: block; height: 100%; }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-hab-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 16px;
  color: #3a3f35;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-hab-legend s { text-decoration: none; color: var(--ff-muted); }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-hab-legend u {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  text-decoration: none;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-hab-elev { margin-left: auto; color: var(--ff-muted); }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-habbar .pp-tree-note { margin: 4px 0 0; font-size: 11px; }

/* Standort-Einflussfaktoren (Waldrand, Mulde, Hang, Bachnähe): Chips mit Vorzeichen */
html.ff-app-v2 #ffV2ScoreDock .pp-dock-site { margin-top: 14px; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 16px;
  background: #eef0ea;
  color: #3a3f35;
}
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip .ff-site-ico { width: 14px; height: 14px; flex: none; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip b { font-weight: 700; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip--pos { background: #e6f1e3; color: #2c4a2e; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip--pos b { color: #2f7d32; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip--neg { background: #f8e8e4; color: #6b2f26; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip--neg b { color: #c0392b; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-chip--neu { color: var(--ff-muted); }
html.ff-app-v2 #ffV2ScoreDock .pp-site-sum { margin: 8px 0 0; font-size: 12.5px; line-height: 17px; color: #3a3f35; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-sum--pos { color: #2f7d32; }
html.ff-app-v2 #ffV2ScoreDock .pp-site-sum--neg { color: #c0392b; }
/* Verlauf unten, direkt vor den Knöpfen */
html.ff-app-v2 #ffV2ScoreDock .timeline { margin: 0 auto; width: 100%; max-width: none; }
/* Flache Knöpfe */
html.ff-app-v2 #ffV2ScoreDock .pp-actions-v2--icons {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 6px;
  padding-top: 0;
  border-top: 0;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn.pp-action-btn--icon {
  height: 52px;
  min-height: 0;
  padding: 0 4px;
  gap: 3px;
  border: 1px solid var(--ff-hairline);
  border-radius: 14px;
  background: var(--ff-white);
  font: 600 11.5px/1 "Nunito Sans", system-ui, sans-serif;
  white-space: nowrap;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn.pp-action-btn--icon.pp-action-find {
  background: var(--ff-gold-deep);
  border-color: var(--ff-gold-deep);
  color: #fff;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn--icon .ff-score-compact-act-icon {
  width: 22px;
  height: 22px;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn.pp-action-btn--icon.pp-action-find:active { background: var(--ff-gold-ink, #5e4313); }
/* Route-Links in einer Zeile */
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav {
  flex-wrap: nowrap;
  gap: 0;
  margin-top: -2px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav-sep { display: none; }
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav-link {
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav-link + .pp-dock-nav-sep + .pp-dock-nav-link,
html.ff-app-v2 #ffV2ScoreDock .pp-dock-nav-sep + .pp-dock-nav-link { border-left: 1px solid var(--ff-hairline); }

html.ff-app-v2 .ffv2-danger > span { color: #b3402a; }
html.ff-app-v2 .ffv2-row[hidden] { display: none !important; }

/* Einklappbarer Konto-Bereich */
html.ff-app-v2 .ffv2-collapse { justify-content: space-between; }
html.ff-app-v2 .ffv2-collapse .ffv2-chev { flex: 0 0 auto; align-self: center; margin-left: auto; color: var(--ff-muted); transition: transform .18s ease; }
html.ff-app-v2 .ffv2-collapse[aria-expanded="true"] .ffv2-chev { transform: rotate(180deg); }
html.ff-app-v2 .ffv2-acct-panel[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-acct-box { margin-top: 21px; }

/* S2a: Bearbeiten-Blatt der Fotoansicht liegt über dem Foto (Fotoansicht z-index 12000) */
html.ff-app-v2 #ffV2FindOwnerSheet .ffv2-sheet-back { bottom: 0; z-index: 12100; }
html.ff-app-v2 #ffV2FindOwnerSheet .ffv2-sheet { bottom: 0; z-index: 12110; }
html.ff-app-v2 #ffV2FindOwnerSheet[hidden] { display: none !important; }

/* S2b: Privatsphäre in den Einstellungen (Kärtchen wie im Fundformular) */
html.ff-app-v2 .ffv2-priv { padding: 4px 16px 12px; }
html.ff-app-v2 .ffv2-priv-q { margin: 12px 0 6px; font-size: 14px; font-weight: 600; color: var(--ff-ink); }
html.ff-app-v2 .ffv2-priv .vis-cards { display: grid; gap: 8px; }
html.ff-app-v2 .ffv2-priv .vis-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit;
  padding: 10px 12px; border: 1px solid var(--ff-hairline); border-radius: 12px; background: transparent; color: var(--ff-ink); cursor: pointer;
}
html.ff-app-v2 .ffv2-priv .vis-card[aria-checked="true"] { border-color: #B8862F; background: rgba(184, 134, 47, 0.1); }
html.ff-app-v2 .ffv2-priv .vis-ico { display: inline-flex; flex: none; color: #8A6420; }
html.ff-app-v2 .ffv2-priv .vis-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.ff-app-v2 .ffv2-priv .vis-help { font-size: 12px; color: var(--ff-muted, #6b6f63); }
html.ff-app-v2 .ffv2-priv-region { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 14px; }
html.ff-app-v2 .ffv2-priv-region small { display: block; font-size: 12px; color: var(--ff-muted, #6b6f63); }
html.ff-app-v2 .ffv2-priv-region[hidden] { display: none; }
html.ff-app-v2 .ffv2-priv-hint { margin: 8px 0 0; font-size: 12px; color: var(--ff-muted, #6b6f63); }

/* F0 (17.11.2026): offene Freundschaftsanfragen im Reiter Freunde */
.ffv2-friend-requests { margin: 0 0 12px; }
.ffv2-friend-requests-head { margin: 0 0 4px; font-size: 12px; color: var(--ff-muted, #6B7065); text-transform: uppercase; letter-spacing: .04em; }
.ffv2-friend-request { display: flex; align-items: center; gap: 8px; }
.ffv2-friend-request-name { flex: 1 1 auto; min-width: 0; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ffv2-friend-request-btn { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #E6E3DB; background: #fff; color: #171A15; font: inherit; font-size: 13px; cursor: pointer; }
.ffv2-friend-request-btn.is-primary { background: #8C6420; border-color: #8C6420; color: #fff; }

/* Kartenfilter: Upgrade-Link in der Hinweiszeile und kleiner Plus-Hinweis über dem Limit. */
html.ff-app-v2 .sp-v2-limit-hint[hidden] { display: none; }
html.ff-app-v2 .sp-v2-limit-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--ff-gold-deep);
  text-decoration: underline;
  cursor: pointer;
}
html.ff-app-v2 .sp-v2-limit-upsell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 13px;
  background: var(--ff-gold-soft, #F6EEDC);
  border: 1px solid var(--ff-gold-line, #C9A25A);
  color: var(--ff-gold-ink, #5E4313);
  font-size: 12px;
  line-height: 1.35;
}
html.ff-app-v2 .sp-v2-limit-upsell[hidden] { display: none; }
html.ff-app-v2 .sp-v2-limit-upsell-text { flex: 1 1 auto; min-width: 0; }
html.ff-app-v2 .sp-v2-limit-upsell-btn {
  flex: 0 0 auto;
  width: auto;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}
