/* Family Spots Map V4.1 — Premium "Über" screen, 09.11.2026.
   Page-only refinements. No modifications to map, spot, filter or daylog views. */
:root { --fsm-about-ink: #403426; --fsm-about-muted: #706657; --fsm-about-paper: #fffcf6; --fsm-about-line: #e5d9c4; --fsm-about-olive: #637b45; }
html.fsm-polished[data-theme="light"] body[data-app-view="about"] {
  background: #fff6e9 !important;
  color: var(--fsm-about-ink);
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header {
  position: relative !important;
  overflow: hidden;
  padding: 14px 14px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff5e6 !important;
  color: #483728 !important;
  isolation: isolate;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: clamp(84px, 28vw, 136px);
  height: clamp(84px, 28vw, 132px);
  background: url("../assets/design/main-header-leaves-v90.webp") left top / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header-top {
  position: absolute;
  top: 11px;
  right: max(9px, env(safe-area-inset-right, 0px));
  z-index: 3;
  min-height: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header-left { display: none; }
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #menu-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 44px !important;
  min-height: 44px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #594b3b !important;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header-main {
  position: relative;
  z-index: 1;
  margin: 7px auto 0 !important;
  padding: 0 !important;
  max-width: 980px;
  text-align: center;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #app-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(6px, 2vw, 10px) !important;
  margin: 0 auto !important;
  font: 750 clamp(20px, 5.8vw, 25px)/1.24 Arial, Helvetica, sans-serif !important;
  letter-spacing: -.5px !important;
  color: #4b382a !important;
  text-shadow: none !important;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #header-tagline {
  display: block !important;
  width: 100% !important;
  max-width: 470px !important;
  margin: 5px auto 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #4e3c2f !important;
  font-size: clamp(12px, 3.4vw, 14px) !important;
  font-weight: 650 !important;
  font-style: italic !important;
  line-height: 1.32 !important;
  letter-spacing: -.1px !important;
  white-space: pre-line !important;
  text-align: center !important;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header-main::after {
  content: "";
  display: block;
  width: calc(100% + 28px);
  height: clamp(73px, 20vw, 100px);
  margin: 7px -14px 0;
  background: url("../assets/design/main-header-landscape-v90.webp") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #main-content.app-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 14px clamp(12px, 3.8vw, 24px) calc(35px + env(safe-area-inset-bottom, 0px)) !important;
  background: #fff6e9;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #view-about.view--active {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-width: 0;
}
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #view-about > .fsm-about-back {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px !important;
  padding: 9px 16px !important;
  margin: 0 0 2px !important;
  border: 1px solid #d7c7ae !important;
  border-radius: 22px !important;
  background: #fffaf2 !important;
  color: #4d5e39 !important;
  box-shadow: none !important;
  font: 650 14px/1.2 Arial, Helvetica, sans-serif !important;
  text-decoration: none;
}
#view-about > .fsm-about-back svg { display: block; flex: none; }
html.fsm-polished[data-theme="light"] body[data-app-view="about"] #view-about > .page-about {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--fsm-about-ink);
}
/* Maintain locale hide state: never force a hidden article visible. */
#view-about > .page-about.hidden { display: none !important; }
#view-about .fsm-about-intro,
#view-about .fsm-about-chapter {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  margin: 0 0 12px;
  padding: clamp(18px, 4vw, 28px) clamp(17px, 4.4vw, 32px);
  border: 1px solid var(--fsm-about-line);
  border-radius: 20px;
  background: var(--fsm-about-paper);
  box-shadow: 0 2px 12px rgba(77, 58, 30, .045);
}
#view-about .fsm-about-intro {
  overflow: hidden;
  border-color: #dcd9bc;
  background: linear-gradient(145deg, #fffdf5, #f7f4e5);
}
#view-about .fsm-about-intro::before {
  content: "";
  position: absolute;
  top: 0; left: 21px;
  width: 54px; height: 4px;
  border-radius: 0 0 5px 5px;
  background: var(--fsm-about-olive);
}
#view-about .fsm-about-intro h2,
#view-about .fsm-about-chapter h3 {
  max-width: 30ch;
  margin: 0 0 15px;
  color: #403426;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
#view-about .fsm-about-intro h2 {
  font-size: clamp(24px, 6.1vw, 34px) !important;
  line-height: 1.16 !important;
  font-weight: 720 !important;
}
#view-about .fsm-about-chapter h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  font-size: clamp(18px, 4.45vw, 23px) !important;
  line-height: 1.3 !important;
  font-weight: 670 !important;
}
#view-about .fsm-about-chapter h3::before {
  content: "";
  flex: 0 0 8px;
  width: 8px; height: 8px;
  margin-top: .53em;
  border-radius: 50%;
  background: var(--fsm-about-olive);
}
#view-about .fsm-about-intro p,
#view-about .fsm-about-chapter p,
#view-about .fsm-about-chapter li {
  max-width: 73ch;
  margin: 0 0 14px;
  color: var(--fsm-about-ink);
  font: 400 clamp(15px, 3.9vw, 16.5px)/1.64 Arial, Helvetica, sans-serif !important;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
#view-about .fsm-about-intro p:last-child,
#view-about .fsm-about-chapter p:last-child,
#view-about .fsm-about-chapter li:last-child { margin-bottom: 0; }
#view-about .fsm-about-chapter ul {
  margin: 2px 0 14px;
  padding-left: 1.3em;
  max-width: 73ch;
}
#view-about .fsm-about-chapter li { padding-left: 3px; margin-bottom: 8px; }
#view-about .fsm-about-chapter li::marker { color: var(--fsm-about-olive); }
#view-about :is(.fsm-about-intro,.fsm-about-chapter) strong {
  color: #3d4e30;
  font-weight: 690;
}
#view-about :is(.fsm-about-intro,.fsm-about-chapter) a {
  color: #42623c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
#view-about .fsm-about-back:focus-visible,
#view-about .fsm-about-chapter a:focus-visible {
  outline: 2px solid #607847 !important;
  outline-offset: 3px;
}
@media (min-width: 900px) {
  html.fsm-polished[data-theme="light"] body[data-app-view="about"] .app-header-main::after { height: 114px; background-size: min(900px, 100%) 100%; }
  html.fsm-polished[data-theme="light"] body[data-app-view="about"] #view-about.view--active { gap: 18px !important; }
  #view-about .fsm-about-intro, #view-about .fsm-about-chapter { margin-bottom: 0; }
}
@media (max-width: 359px) {
  html.fsm-polished[data-theme="light"] body[data-app-view="about"] #app-title { font-size: 19px !important; }
  #view-about .fsm-about-intro, #view-about .fsm-about-chapter { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #view-about .fsm-about-back { transition: none !important; }
}
@media (forced-colors: active) {
  #view-about .fsm-about-intro, #view-about .fsm-about-chapter, #view-about .fsm-about-back { border: 1px solid CanvasText !important; }
  #view-about .fsm-about-chapter h3::before, #view-about .fsm-about-intro::before { background: CanvasText; }
}
