/* 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;
}

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: rgba(23, 26, 21, 0.38);
}
html.ff-app-v2 .ffv2-hints[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-hints-card {
  width: min(100%, 400px);
  background: var(--ff-white);
  border-radius: 16px;
  padding: 18px 16px 14px;
  box-shadow: 0 12px 40px rgba(23, 26, 21, 0.18);
}
html.ff-app-v2 .ffv2-hints-step {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--ff-muted);
}
html.ff-app-v2 .ffv2-hints-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ff-ink);
}
html.ff-app-v2 .ffv2-hints-body {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ff-ink);
}
html.ff-app-v2 .ffv2-hints-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
html.ff-app-v2 .ffv2-hints-skip {
  border: 0;
  background: transparent;
  color: var(--ff-muted);
  font-size: 14px;
  padding: 10px 12px;
}
html.ff-app-v2 .ffv2-hints-next {
  border: 0;
  border-radius: 999px;
  background: var(--ff-gold);
  color: var(--ff-white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
}

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;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: calc(13px + env(safe-area-inset-top, 0px)) 13px 0;
  pointer-events: none;
}
html.ff-app-v2 #ffV2Head > * { pointer-events: auto; }

html.ff-app-v2 .ffv2-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
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 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
html.ff-app-v2 .ffv2-chipbar[hidden] { display: none !important; }
html.ff-app-v2 .ffv2-filter {
  position: relative;
}
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(46vh, 420px);
  overflow: auto;
  font-family: "Nunito Sans", system-ui, sans-serif;
}
html.ff-app-v2 #ffV2ScoreDock .pp.score-shell {
  max-height: none;
  padding: 8px 21px 13px;
}
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 (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 #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 .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;
}
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: 36px;
  padding: 0 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 var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
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-chips,
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 .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 #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; }
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-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 44px;
  box-sizing: border-box;
  margin-bottom: 2px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-hero-num {
  flex: none;
  text-align: right;
  line-height: 1;
}
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: 40px; font-weight: 700; line-height: 1; }
html.ff-app-v2 #ffV2ScoreDock .pp-actions-v2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 8px;
}
html.ff-app-v2 #ffV2ScoreDock .pp-action-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 22px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  font: 500 14px/1.2 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer;
  padding: 10px 16px;
  text-align: center;
  color: var(--ff-ink);
}
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-habitat-weather {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--ff-hairline);
}
html.ff-app-v2 #ffV2ScoreDock .pp-route-title {
  margin: 12px 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-muted);
}
html.ff-app-v2 #ffV2ScoreDock .pp-route-gpx {
  cursor: pointer;
  font: inherit;
}
html.ff-app-v2 #ffV2ScoreDock .pp-why {
  font-size: 13px;
  color: var(--ff-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
html.ff-app-v2 #ffV2ScoreDock .timeline {
  max-height: none;
  /* SVG text scales with width (viewBox 220): cap width so weekday labels stay ~13px on desktop (#726). */
  max-width: 440px;
  margin: 0 auto 8px;
  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: 220 / 46;
}

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: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 650;
    pointer-events: none;
    padding-top: calc(2px + env(safe-area-inset-top, 0px));
    gap: 2px;
    background: transparent;
  }
  html.ff-app-v2 #ffV2Head .ffv2-toolbar {
    pointer-events: auto;
    justify-content: flex-end;
    padding: 0 6px;
    gap: 4px;
  }
  html.ff-app-v2 #ffV2Head .ffv2-icon-btn {
    width: 36px;
    height: 36px;
  }
  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 {
    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-habitat-weather,
  html.ff-app-v2 #ffV2ScoreDock .pp-why,
  html.ff-app-v2 #ffV2ScoreDock .pp-col-foot,
  html.ff-app-v2 #ffV2ScoreDock .pp-route-title,
  html.ff-app-v2 #ffV2ScoreDock .pp-route-gpx {
    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-actions-v2 {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
  html.ff-app-v2 #ffV2ScoreDock .tl-day { font-size: 6.5px; }
}
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 .leaflet-control-attribution.ffv2-attr {
  max-width: 44px;
  overflow: hidden;
  white-space: nowrap;
  background: transparent !important;
  box-shadow: none !important;
}
html.ff-app-v2 .leaflet-control-attribution.ffv2-attr.ffv2-attr-open {
  max-width: min(70vw, 420px);
  background: rgba(255,255,255,0.92) !important;
  padding: 4px 8px;
  border-radius: 8px;
}
html.ff-app-v2 .ffv2-attr-btn {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  border: 1px solid var(--ff-hairline);
  background: var(--ff-white);
  color: var(--ff-ink);
  font: 600 14px/1 "Nunito Sans", system-ui, sans-serif;
  cursor: pointer;
}
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; }
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%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
html.ff-app-v2 .ffv2-photo-slide img {
  max-width: 100%;
  max-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 .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;
}
html.ff-app-v2 .sd-actions .btn.primary {
  background: var(--ff-gold);
  color: var(--ff-gold-ink);
  border-color: var(--ff-gold);
}
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;
}
