/* newfront2 — Harbor shell: top nav + floating dock + teal/coral */

:root {
  --nf2-ink: #14221f;
  --nf2-ink-soft: #3a4a47;
  --nf2-muted: #6b7c78;
  --nf2-paper: #e7eeeb;
  --nf2-paper-2: #f4f7f5;
  --nf2-surface: #ffffff;
  --nf2-teal: #0f4c48;
  --nf2-teal-2: #176661;
  --nf2-coral: #e4572e;
  --nf2-coral-2: #c9431c;
  --nf2-line: rgba(15, 76, 72, 0.12);
  --nf2-shadow: 0 18px 40px rgba(20, 40, 36, 0.12);
  --nf2-radius: 18px;
  --nf2-top-h: 64px;
  /* Dock content height (~72) — body padding also adds the 12px float offset */
  --nf2-dock-h: 88px;
  --nf2-font: "Sora", "Montserrat", system-ui, sans-serif;
  --nf2-display: "Fraunces", Georgia, serif;
}

html, body.nf2 {
  font-family: var(--nf2-font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(228, 87, 46, 0.10), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(15, 76, 72, 0.14), transparent 50%),
    linear-gradient(180deg, #d9e4df 0%, var(--nf2-paper) 40%, #dfe8e4 100%);
  color: var(--nf2-ink);
  min-height: 100%;
}

body.nf2--auth {
  padding-top: calc(var(--nf2-top-h) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--nf2-dock-h) + 12px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1021px) {
  body.nf2--auth {
    padding-bottom: 24px;
  }
}

/* ---------- Top bar (always visible) ---------- */
body.nf2 header,
body.nf2 .nf2-top {
  display: block !important;
}

.nf2-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: calc(var(--nf2-top-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: border-box;
  background: rgba(244, 247, 245, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--nf2-line);
}

.nf2-top__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nf2-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--nf2-teal);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nf2-brand span {
  font-family: var(--nf2-display);
  font-size: 26px;
  line-height: 1;
}
.nf2-brand--light,
.nf2-brand--light span { color: #fff; }

.nf2-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  flex: 1;
}

.nf2-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--nf2-ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nf2-nav__link i { font-size: 16px; }
.nf2-nav__label {
  font-weight: 600;
  font-size: 14px;
}
.nf2-nav__link:hover {
  background: rgba(15, 76, 72, 0.08);
  color: var(--nf2-teal);
}
.nf2-nav__link.is-active {
  background: var(--nf2-teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 76, 72, 0.28);
}
.nf2-nav__link .count-lik {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--nf2-coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.nf2-nav__link .count-lik.hidden { display: none !important; }

.nf2-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nf2-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  transition: transform .15s ease, filter .15s ease;
}
.nf2-chip:hover { transform: translateY(-1px); }
.nf2-chip--coin {
  background: linear-gradient(135deg, #f0b429, #d97706);
}
.nf2-chip--prem {
  background: linear-gradient(135deg, var(--nf2-teal-2), var(--nf2-teal));
}
.nf2-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.nf2-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

@media (min-width: 900px) {
  .nf2-nav { display: flex; }
}

/* Hide old header bits */
body.nf2 .header__main { display: none !important; }

/* ---------- App stage ---------- */
.nf2-app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  box-sizing: border-box;
}
@media (max-width: 1020px) {
  .nf2-app {
    /* Keep page content clear of fixed top bar + floating dock */
    padding-top: 12px;
    padding-bottom: 16px;
  }
}

body.nf2 .site-love__main {
  max-width: none;
  width: 100%;
}
body.nf2 .site-love__cnt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 0;
  align-items: start;
}
body.nf2 .question__main,
body.nf2 .messages__main,
body.nf2 .section-profile__cnt,
body.nf2 .settings__pages {
  max-width: none;
  width: 100%;
}

@media (max-width: 1020px) {
  body.nf2 .site-love__cnt {
    grid-template-columns: 1fr;
  }
}

/* ---------- Compact aside (replaces old right column stack) ---------- */
body.nf2 .site-love__block.href-pages__box,
body.nf2 .site-logo__fon,
body.nf2 .user-info__fon,
body.nf2 .href-pages__box { display: none !important; }

.nf2-aside {
  display: none;
  position: sticky;
  top: calc(var(--nf2-top-h) + 16px);
}
@media (min-width: 1021px) {
  .nf2-aside { display: block; }
}

.nf2-aside__card {
  background: var(--nf2-surface);
  border: 1px solid var(--nf2-line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--nf2-shadow);
}

.nf2-aside__user {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.nf2-aside__user img {
  width: 56px; height: 56px;
  border-radius: 16px;
  object-fit: cover;
}
.nf2-aside__user strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  color: var(--nf2-ink);
}
.nf2-aside__user small {
  color: var(--nf2-muted);
  font-size: 12px;
}
.nf2-aside__badge {
  position: absolute;
  top: -8px; right: -4px;
  background: var(--nf2-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.nf2-aside__meter {
  margin: 14px 0 12px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 76, 72, 0.1);
  overflow: hidden;
}
.nf2-aside__meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--nf2-teal), var(--nf2-coral));
  border-radius: inherit;
}
.nf2-aside__quick {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}
.nf2-aside__quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 12px;
  background: var(--nf2-paper-2);
  color: var(--nf2-teal);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--nf2-line);
}
.nf2-aside__quick a:first-child {
  background: rgba(228, 87, 46, 0.1);
  color: var(--nf2-coral-2);
}

/* ---------- People / swipe stage ---------- */
body.nf2 .question__flex {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 16px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body.nf2 .question__cnt {
  background: var(--nf2-surface);
  border: 1px solid var(--nf2-line);
  border-radius: var(--nf2-radius);
  padding: 18px;
  box-shadow: var(--nf2-shadow);
  order: 2;
}

body.nf2 .watch-profile {
  order: 1;
}

body.nf2 .watch-profile__rel {
  background: #0b2e2b;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--nf2-shadow);
  position: relative;
  min-height: 560px;
}

body.nf2 .watch-profile__photo,
body.nf2 .watch-profile__photo img {
  border-radius: 0 !important;
}

body.nf2 .watch-profile__fave {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: grid !important;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 10px;
  z-index: 5;
  background: rgba(244, 247, 245, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.5);
}

body.nf2 .watch-profile__fave button:not(.open-this-profile) {
  height: 54px;
  border-radius: 14px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--nf2-font);
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
body.nf2 .watch-profile__fave button:hover { transform: translateY(-1px); }
body.nf2 .btn-close-user {
  background: #eef2f0;
  color: var(--nf2-ink-soft);
}
body.nf2 .btn-favorite-user {
  background: var(--nf2-coral);
  color: #fff;
  box-shadow: 0 10px 22px rgba(228, 87, 46, 0.35);
}
body.nf2 .btn-info-user {
  background: var(--nf2-teal);
  color: #fff;
}

body.nf2 .question__name h1 {
  font-family: var(--nf2-display);
  font-size: 34px;
  line-height: 1.1;
  color: var(--nf2-teal);
}
body.nf2 .about-me__text strong {
  color: var(--nf2-teal) !important;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.nf2 .about-me__text p {
  color: var(--nf2-ink) !important;
}
body.nf2 .about-user__mob ul li p {
  color: var(--nf2-ink-soft) !important;
}
body.nf2 .about-user__mob ul li span {
  color: var(--nf2-ink) !important;
}
body.nf2 .about-me__skil ul li {
  background: rgba(15, 76, 72, 0.08);
  box-shadow: none;
  border-radius: 10px;
  color: var(--nf2-teal);
}

body.nf2 .btn-pink,
body.nf2 .btn-present {
  background: var(--nf2-coral) !important;
  border-radius: 14px !important;
}
body.nf2 .btn-pink:hover,
body.nf2 .btn-present:hover {
  background: var(--nf2-coral-2) !important;
}

@media (max-width: 1020px) {
  body.nf2 .question__flex {
    grid-template-columns: 1fr;
  }
  body.nf2 .question__cnt {
    order: 2;
  }
  body.nf2 .watch-profile {
    order: 1;
  }
  body.nf2 .watch-profile__rel {
    min-height: 70vh;
    border-radius: 22px;
  }
}

/* ---------- Floating mobile dock ---------- */
body.nf2 .mob-menu-fixed,
body.nf2 .nf2-dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(420px, calc(100% - 24px));
  z-index: 991;
  background: rgba(15, 76, 72, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px !important;
  box-shadow: 0 16px 40px rgba(10, 30, 28, 0.35);
  padding: 8px !important;
}

body.nf2 .nf2-dock > ul {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  list-style: none;
  padding: 0;
}

body.nf2 .nf2-dock > ul > li a {
  min-width: 0;
  height: auto;
  padding: 10px 6px;
  border-radius: 16px;
  color: rgba(255,255,255,.72);
  gap: 4px;
}
body.nf2 .nf2-dock > ul > li a small {
  font-size: 11px;
  font-weight: 600;
}
body.nf2 .nf2-dock > ul > li a.is-active,
body.nf2 .nf2-dock > ul > li a.menu-fixed__act {
  color: #fff !important;
  background: rgba(228, 87, 46, 0.95) !important;
  box-shadow: 0 8px 18px rgba(228, 87, 46, 0.35) !important;
}

@media (min-width: 1021px) {
  body.nf2 .nf2-dock,
  body.nf2 .mob-menu-fixed {
    display: none !important;
  }
}

/* ---------- Messages / settings surfaces ---------- */
body.nf2 .messages__main,
body.nf2 .settings-form__fix,
body.nf2 .settings__form,
body.nf2 .section-profile__fon,
body.nf2 .profile__main {
  background: transparent;
}

body.nf2 .messages-list__cnt,
body.nf2 .chat-messages__cnt,
body.nf2 .settings__form,
body.nf2 .notific-guests__main,
body.nf2 .profile-info__fl {
  background: var(--nf2-surface) !important;
  border: 1px solid var(--nf2-line);
  border-radius: var(--nf2-radius) !important;
  box-shadow: var(--nf2-shadow);
}

body.nf2 .tabs .active a,
body.nf2 .tabs a:hover,
body.nf2 .tabs a:focus {
  color: var(--nf2-teal) !important;
}
body.nf2 .tabs .active a::after,
body.nf2 .tabs a:hover::after,
body.nf2 .tabs a:focus::after {
  border-bottom-color: var(--nf2-coral) !important;
}

/* ---------- Guest landing hero ---------- */
body.nf2--guest {
  margin: 0;
  padding: 0;
  background: #0b2e2b;
}

.nf2-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}

.nf2-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  animation: nf2-ken 18s ease-in-out infinite alternate;
}
.nf2-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 26, 0.88) 0%, rgba(8, 28, 26, 0.55) 48%, rgba(8, 28, 26, 0.25) 100%),
    linear-gradient(180deg, rgba(8, 28, 26, 0.35) 0%, rgba(8, 28, 26, 0.15) 40%, rgba(8, 28, 26, 0.75) 100%);
}
@keyframes nf2-ken {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

.nf2-hero__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 4vw, 48px);
}

.nf2-hero__actions {
  display: flex;
  gap: 8px;
}

.nf2-hero__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(24px, 6vh, 64px) clamp(16px, 4vw, 48px) clamp(40px, 8vh, 80px);
  max-width: 640px;
  animation: nf2-rise .7s ease both;
}
@keyframes nf2-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.nf2-hero__brandline {
  font-family: var(--nf2-display);
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -0.03em;
}
.nf2-hero__copy h1 {
  font-family: var(--nf2-display);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.02;
  margin: 0 0 14px;
  color: #fff !important;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.nf2-hero__lead {
  margin: 0 0 22px;
  color: rgba(255,255,255,.82) !important;
  font-size: 17px;
  line-height: 1.45;
  max-width: 34ch;
}

.nf2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--nf2-font);
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.nf2-btn:hover { transform: translateY(-1px); }
.nf2-btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.nf2-btn--solid {
  background: #fff;
  color: var(--nf2-teal);
}
.nf2-btn--accent {
  height: 56px;
  padding: 0 28px;
  background: var(--nf2-coral);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 14px 30px rgba(228, 87, 46, 0.4);
}
.nf2-btn--accent:hover { background: var(--nf2-coral-2); }

/* Hide old landing chrome when guest hero is used */
body.nf2--guest .create-story__main { display: none !important; }

/* Guest content below hero (login.php sections) */
body.nf2--guest .huge-users__main,
body.nf2--guest .rest-assured__main,
body.nf2--guest .advantages__main,
body.nf2--guest footer {
  position: relative;
  z-index: 1;
  background: var(--nf2-paper);
}

body.nf2--guest .huge-users__main {
  margin-top: 0;
  padding-top: 64px;
}
body.nf2--guest .huge-users__cnt h2,
body.nf2--guest .advantages__cnt h2,
body.nf2--guest .rest-assured__info h2 {
  font-family: var(--nf2-display);
  color: var(--nf2-teal) !important;
}
body.nf2--guest .btn-pink {
  background: var(--nf2-coral) !important;
  border-radius: 999px !important;
  max-width: 320px;
  height: 58px !important;
  font-size: 16px !important;
}
body.nf2--guest .btn-blue {
  background: var(--nf2-teal) !important;
  box-shadow: 0 8px 20px rgba(15, 76, 72, 0.25) !important;
  border-radius: 14px !important;
}

/* Modals on guest */
body.nf2 .modal-rag__tit h2 {
  font-family: var(--nf2-display);
  color: var(--nf2-teal);
}
body.nf2 .headingline span {
  background: #fff;
  color: var(--nf2-muted);
}

/* Coin / settings chips from old CSS — retint */
body.nf2 a.profile-coin-stack {
  background: linear-gradient(135deg, #f0b429, #d97706) !important;
}
body.nf2 a.profile-settings {
  background: linear-gradient(135deg, var(--nf2-teal-2), var(--nf2-teal)) !important;
}

/* getdatafromuser: no top tools, still keep brand bar */
body.nf2--auth:has(.nf2-top__inner:not(:has(.nf2-nav))) {
  /* fallback no-op for older browsers */
}

/* Typography overrides */
body.nf2 h1,
body.nf2 h2,
body.nf2 h3,
body.nf2 strong {
  font-family: var(--nf2-font);
}
body.nf2 .question__name h1,
body.nf2 .nf2-hero__copy h1,
body.nf2 .nf2-brand span {
  font-family: var(--nf2-display);
}

/* Reduce old pink/blue noise on common buttons inside auth */
body.nf2 .open_modal.btn-pink,
body.nf2 button.btn-pink {
  background: var(--nf2-coral) !important;
}

/* ---------- Guest below-fold (newfront2 layout) ---------- */
.nf2-below {
  background: var(--nf2-paper);
  color: var(--nf2-ink);
  padding: 56px 0 24px;
}
.nf2-below__intro {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 20px;
  text-align: left;
}
.nf2-below__intro h2,
.nf2-points h2,
.nf2-split__text h2 {
  font-family: var(--nf2-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  color: var(--nf2-teal);
  margin: 0 0 10px;
}
.nf2-below__intro p,
.nf2-split__text p {
  margin: 0;
  color: var(--nf2-ink-soft);
  font-size: 16px;
  line-height: 1.5;
  max-width: 42ch;
}

.nf2-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 12px;
  overflow-x: auto;
  padding: 8px 20px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.nf2-strip::-webkit-scrollbar { height: 6px; }
.nf2-strip::-webkit-scrollbar-thumb { background: rgba(15,76,72,.25); border-radius: 999px; }

.nf2-strip__card {
  scroll-snap-align: start;
  min-height: 280px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--nf2-shadow);
}
.nf2-strip__card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,28,26,.75) 100%);
}
.nf2-strip__card span {
  position: absolute;
  left: 14px; bottom: 14px; z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.nf2-strip__card--cta {
  background: var(--nf2-teal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px;
}
.nf2-strip__card--cta::after { display: none; }
.nf2-strip__card--cta strong {
  color: #fff;
  font-family: var(--nf2-display);
  font-size: 28px;
  line-height: 1.1;
}

.nf2-split {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}
.nf2-split__text {
  background: #fff;
  border: 1px solid var(--nf2-line);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--nf2-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.nf2-split__photo {
  min-height: 360px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--nf2-shadow);
}

.nf2-points {
  max-width: 900px;
  margin: 40px auto 20px;
  padding: 0 20px 40px;
}
.nf2-points ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.nf2-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  background: #fff;
  border: 1px solid var(--nf2-line);
  border-radius: 18px;
  padding: 16px 18px;
  counter-increment: nf2p;
}
.nf2-points ol { counter-reset: nf2p; }
.nf2-points li::before {
  content: counter(nf2p, decimal-leading-zero);
  font-family: var(--nf2-display);
  font-size: 28px;
  color: var(--nf2-coral);
  grid-row: span 2;
  align-self: center;
}
.nf2-points strong {
  color: var(--nf2-teal);
  font-size: 16px;
}
.nf2-points span {
  color: var(--nf2-ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.nf2-foot {
  background: #0b2e2b;
  color: rgba(255,255,255,.82);
  padding: 48px 0 32px;
}
.nf2-foot__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.nf2-foot__top {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.nf2-foot__top .nf2-brand span { color: #fff; }
.nf2-foot__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.nf2-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 24px;
}
.nf2-foot__links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 13px;
}
.nf2-foot__links a:hover { color: #fff; }
.nf2-foot__legal {
  display: grid;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
  opacity: .85;
}

@media (max-width: 800px) {
  .nf2-split { grid-template-columns: 1fr; }
  .nf2-split__photo { min-height: 240px; order: -1; }
}

body.nf2--guest .huge-users__main,
body.nf2--guest .rest-assured__main,
body.nf2--guest .advantages__main,
body.nf2--guest .create-story__main {
  display: none !important;
}

/* Info button only on mobile (bio is a sheet); desktop bio is already visible */
body.nf2 .open-this-profile,
body.nf2 .watch-profile__fave button.open-this-profile {
  display: none !important;
}
body.nf2 .watch-profile__fave button span {
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 1020px) {
  body.nf2 .open-this-profile,
  body.nf2 .watch-profile__fave button.open-this-profile {
    display: inline-flex !important;
  }
}
@media (max-width: 420px) {
  body.nf2 .watch-profile__fave button span { display: none; }
}

/* Old absolute fave cluster — neutralize conflicting rules */
body.nf2 .watch-profile__fave .btn-close-user,
body.nf2 .watch-profile__fave .btn-favorite-user,
body.nf2 .watch-profile__fave .btn-info-user {
  width: auto !important;
  position: static !important;
  margin: 0 !important;
}

/* Settings / profile pages that wrap differently */
body.nf2 .section-profile__fon {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 24px;
}
body.nf2 .section-profile__cnt {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 18px !important;
  align-items: start;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important; /* bottom clearance comes from body.nf2--auth */
}
body.nf2 .section-profile__cnt > .profile__main,
body.nf2 .section-profile__cnt > .nf2-page__main,
body.nf2 .nf2-settings .profile__main {
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
@media (max-width: 1020px) {
  body.nf2 .section-profile__cnt {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Onboarding / getdatafromuser ---------- */
body.nf2--auth:has(.nf2-onboard) {
  padding-bottom: 24px;
}

.nf2-onboard {
  max-width: 560px;
  margin: 8px auto 32px;
  padding: 0 12px;
}

.nf2-onboard__card {
  background: var(--nf2-surface);
  border: 1px solid var(--nf2-line);
  border-radius: 28px;
  box-shadow: var(--nf2-shadow);
  overflow: hidden;
}

.nf2-onboard__head {
  padding: 22px 22px 16px;
  background:
    linear-gradient(135deg, rgba(15, 76, 72, 0.08), rgba(228, 87, 46, 0.06));
  border-bottom: 1px solid var(--nf2-line);
}

.nf2-onboard__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf2-coral);
}

.nf2-onboard__head h1 {
  margin: 0 0 14px;
  font-family: var(--nf2-display);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
  color: var(--nf2-teal) !important;
}

.nf2-onboard__meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 76, 72, 0.12);
  overflow: hidden;
}

.nf2-onboard__meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nf2-teal), var(--nf2-coral));
}

.nf2-onboard__body {
  padding: 20px 22px 26px;
}

.nf2-onboard__body .settings-header,
.nf2-onboard__body .content-header {
  margin-bottom: 12px;
}

.nf2-onboard__body h1.title,
.nf2-onboard__body h1.title.new,
.nf2-onboard__body h3.content-title,
.nf2-onboard__body h2.content-title {
  font-family: var(--nf2-font);
  color: var(--nf2-teal) !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  margin: 0 0 8px;
}

.nf2-onboard__body .form-field,
.nf2-onboard__body .settings-password,
.nf2-onboard__body .settings-item__marg {
  margin-bottom: 12px;
}

.nf2-onboard__body select,
.nf2-onboard__body input[type="text"],
.nf2-onboard__body input[type="email"],
.nf2-onboard__body input[type="password"],
.nf2-onboard__body input[type="number"],
.nf2-onboard__body .form__input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px !important;
  border: 1px solid var(--nf2-line) !important;
  background: var(--nf2-paper-2) !important;
  padding: 10px 14px;
  font-family: var(--nf2-font);
  color: var(--nf2-ink);
  box-sizing: border-box;
}

.nf2-onboard__body .btn-blue,
.nf2-onboard__body button[type="submit"]:not(.nf2-btn) {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px !important;
  background: var(--nf2-teal) !important;
  box-shadow: 0 10px 22px rgba(15, 76, 72, 0.22) !important;
  color: #fff !important;
  font-family: var(--nf2-font);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.nf2-onboard__body .townsresultlist {
  border-radius: 16px;
  background: var(--nf2-paper-2);
  color: var(--nf2-ink);
  margin-top: 10px;
}

.nf2-onboard__body .townsresultlist a {
  color: var(--nf2-ink);
  border-bottom-color: var(--nf2-line);
}

.nf2-onboard__body .townsresultlist a.active {
  background: var(--nf2-teal);
  color: #fff;
  border-radius: 12px;
}

.nf2-onboard__body .form-field.date {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nf2-onboard__body .error,
.nf2-onboard__body .success {
  border-radius: 12px;
  margin-bottom: 12px;
}

/* kill leftover old sidebar if any step page still emits it */
.nf2-onboard .site-love__block,
.nf2-onboard .site-logo__fon,
.nf2-onboard .profile-info__fl {
  display: none !important;
}

/* Dock: badge sits on icon, labels stay as <small> (chat.js only touches span) */
body.nf2 .nf2-dock > ul > li a {
  position: relative;
}
body.nf2 .nf2-dock__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  line-height: 1;
}
body.nf2 .nf2-dock__icon > i {
  display: inline-block !important;
  font-size: 18px !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit;
}
body.nf2 .nf2-dock > ul > li a .count-lik {
  position: absolute !important;
  top: -8px !important;
  left: auto !important;
  right: -12px !important;
  transform: none !important;
  margin: 0 !important;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--nf2-coral) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 18px;
  z-index: 2;
  box-shadow: none !important;
}
body.nf2 .nf2-dock > ul > li a .count-lik.hidden {
  display: none !important;
}
body.nf2 .nf2-dock > ul > li a small {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
body.nf2 .mob-menu-fixed ul li a.menu-fixed__act::after {
  display: none !important; /* purple dot from old theme */
}
