:root {
  --obsidian: #111111;
  --emerald: #0f5c4d;
  --gold: #c89a2b;
  --ivory: #f6f0e8;
  --sienna: #8a3324;
  --terracotta: #d45f3f;
  --deep-green: #063f35;
  --ink: #191512;
  --muted: rgba(25, 21, 18, 0.68);
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.18);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(15, 92, 77, 0.5), transparent 38%),
    linear-gradient(180deg, #111 0%, #17251f 38%, #f6f0e8 38%, #f6f0e8 100%);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--ivory);
  box-shadow: 0 0 0 1px rgba(200, 154, 43, 0.24), var(--shadow);
  position: relative;
}

.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  background: var(--obsidian);
  color: var(--ivory);
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gold), #ffe2a0);
  color: var(--obsidian);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.luxe-mark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 24%, #fff0bc 0 10%, transparent 11%),
    conic-gradient(from 210deg, var(--gold), #f0d27a, var(--emerald), #0a332c, var(--gold));
  color: #0d1512;
  box-shadow: inset 0 0 0 2px rgba(246, 240, 232, 0.22), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.screen {
  min-height: 100vh;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: var(--ivory);
}

.welcome-screen {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #05090b;
}

.welcome-art {
  width: 100%;
  height: 100vh;
  object-fit: contain;
  display: block;
}

.welcome-join,
.welcome-signin {
  position: absolute;
  z-index: 2;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.welcome-join {
  left: 10%;
  right: 10%;
  bottom: calc(7.4% + env(safe-area-inset-bottom));
  height: 9.2%;
}

.welcome-signin {
  left: 54%;
  right: 21%;
  bottom: calc(2.1% + env(safe-area-inset-bottom));
  height: 4.8%;
}

.gate-screen {
  min-height: 100vh;
  padding: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 75% 5%, rgba(212, 95, 63, 0.22), transparent 28%),
    radial-gradient(circle at 18% 0%, rgba(200, 154, 43, 0.3), transparent 26%),
    linear-gradient(158deg, #050706 0%, #0b1915 43%, #063f35 100%);
}

.gate-hero {
  min-height: 100vh;
  padding: calc(34px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom));
  display: grid;
  align-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.gate-hero::before {
  content: "";
  position: absolute;
  inset: -30% -25% auto auto;
  width: 280px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 154, 43, 0.22), transparent 64%);
  pointer-events: none;
}

.gate-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.46)),
    repeating-linear-gradient(90deg, rgba(246, 240, 232, 0.04) 0 1px, transparent 1px 38px);
  pointer-events: none;
}

.gate-top,
.brand-logo-img,
.brand-tagline,
.people-hero,
.gate-kicker,
.gate-hero h1,
.gate-line,
.pledge-list,
.gate-cta,
.link-btn,
.gate-hero .status {
  position: relative;
  z-index: 1;
}

.gate-top {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agreement-logo-wrap {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(130px, 36vw);
}

.agreement-logo {
  width: 100%;
  height: auto;
  display: block;
}

.brand-logo-img {
  width: min(195px, 58vw);
  height: auto;
  display: block;
}

.gate-pill {
  background: rgba(246, 240, 232, 0.08);
  border: 1px solid rgba(200, 154, 43, 0.3);
}

.brand-tagline {
  margin: 14px 0 0;
  color: rgba(246, 240, 232, 0.72);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.people-hero {
  width: min(190px, 54vw);
  aspect-ratio: 4 / 5;
  justify-self: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(200, 154, 43, 0.42);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

.people-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gate-kicker {
  margin: 2px 0 0;
  color: #d9ad48;
  text-align: center;
}

.gate-hero h1 {
  margin: 0;
  color: #d9ad48;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 11vw, 48px);
  line-height: 0.93;
  letter-spacing: 0;
  text-align: center;
}

.gate-line {
  margin: -8px 0 2px;
  color: var(--ivory);
  font-size: 21px;
  line-height: 1.08;
  font-weight: 900;
  text-align: center;
}

.pledge-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.pledge-item {
  min-height: 46px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(246, 240, 232, 0.16);
  color: rgba(246, 240, 232, 0.92);
}

.pledge-item span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(200, 154, 43, 0.7);
  color: #f0d27a;
  font-weight: 900;
}

.pledge-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.22;
}

.gate-cta {
  min-height: 50px;
  width: 100%;
  flex: initial;
  background: var(--terracotta);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.26);
}

.link-btn {
  justify-self: center;
  min-height: 34px;
  padding: 0;
  color: rgba(246, 240, 232, 0.78);
  background: transparent;
  border-bottom: 1px solid rgba(200, 154, 43, 0.5);
  font-size: 12px;
}

.auth-journey {
  background: #05090b;
}

.compact-hero {
  padding-bottom: 34px;
}

.account-screen {
  min-height: 100vh;
  padding: calc(62px + env(safe-area-inset-top)) 28px calc(22px + env(safe-area-inset-bottom));
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -8%, rgba(200, 154, 43, 0.16), transparent 32%),
    linear-gradient(180deg, #05090b 0%, #07100e 100%);
}

.account-logo-wrap {
  width: min(130px, 36vw);
  margin: 0 auto 36px;
}

.account-logo {
  width: 100%;
  display: block;
}

.account-screen h1 {
  margin: 0 0 8px;
  color: #d5ad56;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 10vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.account-tagline {
  margin: 0 0 28px;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.2;
}

.account-screen .field {
  margin: 16px 0;
}

.account-screen .field label {
  color: rgba(246, 240, 232, 0.9);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.account-screen .field input,
.account-screen .field select {
  min-height: 58px;
  border-radius: 8px;
  border-color: rgba(213, 173, 86, 0.92);
  background: rgba(6, 63, 53, 0.72);
  color: var(--ivory);
  font-size: 20px;
}

.account-screen .field input::placeholder {
  color: rgba(246, 240, 232, 0.48);
}

.account-screen .field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(246, 240, 232, 0.82) 50%), linear-gradient(135deg, rgba(246, 240, 232, 0.82) 50%, transparent 50%);
  background-position: calc(100% - 22px) 25px, calc(100% - 15px) 25px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.account-continue {
  width: 100%;
  min-height: 64px;
  margin-top: 22px;
  flex: initial;
  background: var(--terracotta);
  border-radius: 999px;
  font-size: 21px;
}

.account-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 27px 0;
  color: rgba(246, 240, 232, 0.5);
}

.account-divider span {
  height: 1px;
  background: rgba(246, 240, 232, 0.18);
}

.account-divider em {
  font-style: normal;
}

.account-google {
  width: 100%;
  min-height: 64px;
  flex: initial;
  border: 1.5px solid rgba(246, 240, 232, 0.92);
  background: transparent;
  color: var(--ivory);
  font-size: 21px;
}

.account-google::first-letter {
  color: #d5ad56;
  font-weight: 900;
}

.account-signin {
  margin: 26px 0 0;
  color: rgba(246, 240, 232, 0.9);
  text-align: center;
  font-size: 17px;
}

.account-signin button {
  color: #d5ad56;
  background: transparent;
  text-decoration: underline;
  padding: 0;
  font: inherit;
}

.choice-screen {
  display: grid;
  align-content: center;
}

.choice-kicker {
  margin: 0 0 10px;
  color: var(--terracotta);
}

.choice-group {
  display: grid;
  gap: 11px;
  margin: 20px 0;
}

.choice-group > label {
  color: rgba(246, 240, 232, 0.9);
  font-size: 15px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-card {
  min-height: 58px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 13px;
  border: 1px solid rgba(213, 173, 86, 0.74);
  background: rgba(6, 63, 53, 0.58);
  color: var(--ivory);
}

.choice-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--terracotta);
}

.choice-card:has(input:checked) {
  border-color: #e1bd6a;
  background: rgba(15, 92, 77, 0.92);
  box-shadow: 0 0 0 3px rgba(213, 173, 86, 0.13);
}

.choice-card span {
  font-size: 18px;
  font-weight: 800;
}

.choice-back {
  margin: 16px auto 0;
  color: rgba(246, 240, 232, 0.8);
}

.location-screen {
  align-content: start;
  padding-top: calc(28px + env(safe-area-inset-top));
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}

.location-screen .account-logo-wrap {
  width: min(130px, 36vw);
  margin-bottom: 20px;
}

.location-screen h1 {
  font-size: clamp(34px, 8vw, 42px);
}

.location-screen .account-tagline {
  margin-bottom: 18px;
  font-size: 19px;
}

.location-screen .field {
  margin: 12px 0;
}

.location-screen .field input,
.location-screen .field select {
  min-height: 54px;
  font-size: 18px;
}

.location-screen .choice-group {
  margin: 14px 0;
}

.age-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.age-field {
  margin: 0;
}

.location-screen .account-continue {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: min(374px, calc(100vw - 56px));
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.intent-screen {
  align-content: start;
  padding-top: calc(34px + env(safe-area-inset-top));
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 154, 43, 0.18), transparent 30%),
    radial-gradient(circle at 100% 70%, rgba(15, 92, 77, 0.34), transparent 34%),
    linear-gradient(180deg, #05090b 0%, #07100e 100%);
}

.intent-screen .account-logo-wrap {
  width: min(130px, 36vw);
  margin-bottom: 22px;
}

.intent-screen h1 {
  font-size: clamp(36px, 8.8vw, 46px);
}

.intent-screen .account-tagline {
  margin-bottom: 28px;
  font-size: 19px;
}

.intent-field {
  margin: 18px 0;
}

.intent-field select {
  min-height: 66px;
  border-radius: 14px;
  background-color: rgba(6, 63, 53, 0.82);
  box-shadow: inset 0 0 0 1px rgba(246, 240, 232, 0.04);
}

.compact-choice-group {
  gap: 9px;
  margin: 15px 0;
}

.compact-choice-grid {
  gap: 8px;
}

.compact-choice-grid .choice-card {
  min-height: 52px;
  padding: 12px 13px;
  border-color: rgba(213, 173, 86, 0.66);
  background:
    linear-gradient(135deg, rgba(15, 92, 77, 0.74), rgba(6, 63, 53, 0.56)),
    rgba(6, 63, 53, 0.62);
}

.compact-choice-grid .choice-card span {
  font-size: 16px;
  line-height: 1.1;
}

.clause-screen {
  align-content: start;
  padding-top: calc(18px + env(safe-area-inset-top));
  background:
    radial-gradient(circle at 18% 14%, rgba(200, 154, 43, 0.16), transparent 28%),
    radial-gradient(circle at 100% 78%, rgba(212, 95, 63, 0.16), transparent 34%),
    linear-gradient(180deg, #05090b 0%, #07100e 100%);
}

.clause-screen .account-logo-wrap {
  width: min(116px, 32vw);
  margin-bottom: 8px;
}

.clause-screen h1 {
  font-size: clamp(28px, 7vw, 34px);
  margin-bottom: 3px;
}

.clause-screen .account-tagline {
  margin-bottom: 8px;
  font-size: 15px;
}

.clause-stack {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}

.pledge-group {
  display: grid;
  gap: 4px;
  padding: 7px;
  border-radius: 16px;
  border: 1px solid rgba(213, 173, 86, 0.2);
  background: rgba(0, 0, 0, 0.16);
}

.pledge-group > p {
  margin: 0 0 1px;
  color: rgba(213, 173, 86, 0.95);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clause-card {
  min-height: 38px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
  border-radius: 12px;
  border: 1px solid rgba(213, 173, 86, 0.74);
  background:
    linear-gradient(135deg, rgba(15, 92, 77, 0.78), rgba(6, 63, 53, 0.58)),
    rgba(6, 63, 53, 0.64);
  color: var(--ivory);
}

.clause-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--terracotta);
}

.clause-card:has(input:checked) {
  border-color: #e1bd6a;
  background:
    linear-gradient(135deg, rgba(15, 92, 77, 0.96), rgba(8, 77, 65, 0.76)),
    rgba(15, 92, 77, 0.9);
  box-shadow: 0 0 0 3px rgba(213, 173, 86, 0.13);
}

.clause-card span {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.16;
}

.pledge-card {
  border-color: rgba(212, 95, 63, 0.78);
}

.clause-screen .account-continue {
  min-height: 56px;
  margin-top: 10px;
  font-size: 19px;
}

.prompt-screen {
  min-height: 100vh;
  padding: calc(34px + env(safe-area-inset-top)) 24px calc(22px + env(safe-area-inset-bottom));
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -12%, rgba(200, 154, 43, 0.16), transparent 30%),
    radial-gradient(circle at 100% 74%, rgba(15, 92, 77, 0.22), transparent 36%),
    linear-gradient(180deg, #05090b 0%, #07100e 100%);
}

.prompt-logo-wrap {
  width: min(138px, 39vw);
  margin: 0 auto 28px;
}

.prompt-logo {
  width: 100%;
  display: block;
}

.prompt-card {
  border-radius: 26px;
  padding: 24px 22px 22px;
  background:
    radial-gradient(circle at 12% 8%, rgba(200, 154, 43, 0.08), transparent 28%),
    #f6f0e8;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

.prompt-kicker {
  margin: 0 0 10px;
  color: var(--sienna);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.prompt-card h1 {
  margin: 0 0 12px;
  color: var(--obsidian);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 7.2vw, 36px);
  line-height: 0.98;
  letter-spacing: 0;
}

.prompt-copy {
  margin: 0 0 17px;
  color: rgba(25, 21, 18, 0.88);
  font-size: 17px;
  line-height: 1.35;
}

.prompt-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  margin: 0 0 15px;
}

.prompt-bars span {
  height: 8px;
  border-radius: 999px;
  background: rgba(25, 21, 18, 0.12);
}

.prompt-bars .done {
  background: rgba(15, 92, 77, 0.86);
}

.prompt-bars .active {
  background: var(--gold);
}

.prompt-field {
  display: grid;
  gap: 8px;
  margin: 0 0 11px;
}

.prompt-field label {
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.prompt-field select,
.prompt-field textarea {
  width: 100%;
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 18px;
  background: #fffaf3;
  color: var(--ink);
  font-size: 18px;
  outline: none;
}

.prompt-field select {
  min-height: 62px;
  padding: 0 34px 0 16px;
  font-size: 16px;
}

.prompt-field textarea {
  min-height: 124px;
  padding: 17px;
  resize: vertical;
}

.prompt-field select:focus,
.prompt-field textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.16);
}

.prompt-actions {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 1.25fr;
  gap: 10px;
  margin: 18px 0 14px;
}

.prompt-btn {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 17px;
}

.prompt-back,
.prompt-save {
  border: 2px solid var(--emerald);
  background: transparent;
  color: var(--emerald);
}

.prompt-next {
  background: var(--obsidian);
  color: var(--ivory);
}

.prompt-footnote {
  margin: 0;
  color: rgba(25, 21, 18, 0.82);
  font-size: 15px;
  line-height: 1.35;
}

.story-screen {
  padding-top: calc(18px + env(safe-area-inset-top));
}

.story-screen .prompt-logo-wrap {
  width: min(108px, 30vw);
  margin-bottom: 14px;
}

.story-card {
  padding: 20px 21px 18px;
}

.story-card h1 {
  font-size: clamp(31px, 7.8vw, 39px);
}

.story-card .prompt-field textarea {
  min-height: 104px;
  font-size: 17px;
  line-height: 1.35;
}

.story-interest-wrap {
  margin: 13px 0 2px;
}

.story-interest-wrap > p {
  margin: 0 0 10px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.story-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.story-chip {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(25, 21, 18, 0.13);
  background: #fffaf3;
  color: rgba(25, 21, 18, 0.82);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.story-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.story-chip:has(input:checked) {
  border-color: rgba(15, 92, 77, 0.86);
  background: var(--emerald);
  color: var(--ivory);
  box-shadow: 0 9px 18px rgba(15, 92, 77, 0.16);
}

.story-card .prompt-actions {
  margin-top: 17px;
}

.vibe-reference-screen {
  min-height: 100vh;
  padding: calc(16px + env(safe-area-inset-top)) 26px calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 6%, rgba(15, 92, 77, 0.16), transparent 24%),
    linear-gradient(180deg, #05090b 0%, #07100e 100%);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto 2px;
  width: min(100%, 382px);
  color: var(--ivory);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.signal-icon {
  width: 22px;
  height: 14px;
  display: inline-block;
  background:
    linear-gradient(to top, var(--ivory) 0 42%, transparent 43%) 0 100% / 4px 100% no-repeat,
    linear-gradient(to top, var(--ivory) 0 58%, transparent 59%) 6px 100% / 4px 100% no-repeat,
    linear-gradient(to top, var(--ivory) 0 76%, transparent 77%) 12px 100% / 4px 100% no-repeat,
    linear-gradient(to top, var(--ivory) 0 100%, transparent 0) 18px 100% / 4px 100% no-repeat;
}

.wifi-icon {
  width: 18px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.wifi-icon::before,
.wifi-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 2px solid var(--ivory);
  border-color: var(--ivory) transparent transparent transparent;
  border-radius: 999px;
  transform: translateX(-50%);
}

.wifi-icon::before {
  top: 1px;
  width: 18px;
  height: 18px;
}

.wifi-icon::after {
  top: 6px;
  width: 10px;
  height: 10px;
}

.battery-icon {
  width: 27px;
  height: 14px;
  display: inline-block;
  position: relative;
  border: 2px solid var(--ivory);
  border-radius: 4px;
}

.battery-icon::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 4px;
  border-radius: 2px;
  background: var(--ivory);
}

.battery-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  right: -5px;
  width: 3px;
  height: 6px;
  border-radius: 0 2px 2px 0;
  background: var(--ivory);
}

.vibe-reference-screen .prompt-logo-wrap {
  width: min(130px, 34vw);
  margin: 0 auto 31px;
}

.vibe-reference-card {
  width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  padding: 20px 18px 24px;
  background: #f6f0e8;
}

.vibe-reference-card .prompt-kicker {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.vibe-reference-card h1 {
  margin-bottom: 14px;
  font-size: clamp(29px, 7.4vw, 34px);
}

.vibe-reference-card .prompt-copy {
  margin-bottom: 17px;
  font-size: 16px;
}

.vibe-reference-card .prompt-bars {
  gap: 7px;
  margin-bottom: 16px;
}

.vibe-reference-card .prompt-bars span {
  height: 8px;
}

.vibe-reference-card .prompt-field {
  margin-bottom: 15px;
}

.vibe-reference-card .prompt-field label {
  font-size: 13px;
}

.vibe-reference-card .prompt-field textarea,
.vibe-reference-card .prompt-field input {
  width: 100%;
  border: 1px solid rgba(25, 21, 18, 0.12);
  border-radius: 18px;
  background: #fffaf3;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.vibe-reference-card .prompt-field textarea {
  min-height: 82px;
  padding: 15px;
}

.vibe-reference-card .prompt-field input {
  min-height: 48px;
  padding: 0 15px;
}

.vibe-reference-card .prompt-field textarea::placeholder,
.vibe-reference-card .prompt-field input::placeholder {
  color: rgba(25, 21, 18, 0.55);
}

.vibe-reference-card .prompt-actions {
  grid-template-columns: 0.82fr 1.22fr 1.18fr;
  gap: 10px;
  margin: 17px 0 13px;
}

.vibe-reference-card .prompt-btn {
  min-height: 50px;
  font-size: 16px;
}

.vibe-reference-card .prompt-footnote {
  font-size: 14px;
}

.hero {
  color: var(--ivory);
  background:
    linear-gradient(160deg, rgba(15, 92, 77, 0.95), rgba(17, 17, 17, 1)),
    var(--obsidian);
  padding: calc(18px + env(safe-area-inset-top)) 18px 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.lockup .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 11px;
}

.hero h1,
.panel h2,
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  margin: 26px 0 8px;
  font-size: 34px;
  line-height: 0.95;
}

.hero p {
  margin: 0;
  color: rgba(246, 240, 232, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 240, 232, 0.12);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 800;
}

.dark-pill {
  background: rgba(17, 17, 17, 0.88);
}

.panel {
  margin: -14px 14px 16px;
  padding: 18px;
  border-radius: 24px 24px 18px 18px;
  background: var(--ivory);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.13);
}

.panel.flat {
  margin-top: 14px;
  box-shadow: none;
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.05;
}

.copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.field label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fffaf3;
  padding: 14px;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.16);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.step-kicker {
  margin-bottom: 8px;
  color: var(--sienna);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.step-dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin: 18px 0 12px;
}

.step-dot {
  height: 8px;
  min-width: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.12);
}

.step-dot.done {
  background: rgba(15, 92, 77, 0.72);
}

.step-dot.active {
  background: var(--gold);
}

.checks {
  display: grid;
  gap: 9px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf3;
  border: 1px solid var(--line);
}

.check input {
  margin-top: 3px;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
}

.btn.primary {
  color: var(--ivory);
  background: var(--sienna);
}

.btn.secondary {
  color: var(--emerald);
  background: transparent;
  border: 1px solid rgba(15, 92, 77, 0.35);
}

.btn.danger {
  color: var(--sienna);
  border-color: rgba(138, 51, 36, 0.35);
}

.btn.dark {
  color: var(--ivory);
  background: var(--obsidian);
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.status {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 92, 77, 0.1);
  color: #123c34;
  font-size: 13px;
  line-height: 1.35;
}

.status.error {
  background: rgba(138, 51, 36, 0.12);
  color: #6e2116;
}

.status.gold {
  background: rgba(200, 154, 43, 0.17);
}

.tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(17, 17, 17, 0.96);
  border-top: 1px solid rgba(200, 154, 43, 0.35);
  z-index: 20;
}

.tab {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 52px;
  border-radius: 16px;
  color: rgba(246, 240, 232, 0.68);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}

.tab.active {
  color: var(--gold);
  background: rgba(246, 240, 232, 0.08);
}

.progress {
  margin: 15px 0 4px;
  height: 8px;
  background: rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: var(--progress);
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}

.card-list {
  display: grid;
  gap: 12px;
}

.profile-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fffaf3;
  border: 1px solid var(--line);
}

.profile-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(15, 92, 77, 0.18), rgba(200, 154, 43, 0.24));
  display: grid;
  place-items: center;
  color: var(--emerald);
  font-weight: 900;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card .body {
  padding: 14px;
}

.mini-preview {
  margin-top: 16px;
}

.mini-preview .profile-photo {
  aspect-ratio: 16 / 10;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 92, 77, 0.1);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-slot {
  min-height: 112px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 92, 77, 0.35);
  background: #fffaf3;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-photo-upload {
  margin: 18px 0;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 92, 77, 0.08), rgba(217, 178, 95, 0.1)), #fffaf3;
  border: 1px solid rgba(15, 92, 77, 0.18);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}

.ns-photo-upload-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ns-photo-upload-head p {
  margin: 0 0 3px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-photo-upload-head strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.ns-photo-upload-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.ns-photo-upload .photo-grid {
  margin-bottom: 12px;
}

.ns-photo-upload .photo-slot {
  min-height: 104px;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.86);
}

.ns-photo-add {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 999px;
  background: var(--emerald);
  color: #fffaf3;
  font-weight: 900;
  cursor: pointer;
}

.ns-photo-add input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ns-photo-add:has(input:disabled) {
  opacity: 0.58;
  cursor: not-allowed;
}

.ns-photo-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.match-row {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  text-align: left;
  background: #fffaf3;
  color: var(--ink);
}

.match-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(15, 92, 77, 0.12);
  color: var(--emerald);
  font-weight: 900;
}

.match-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-head h2 {
  margin: 0;
}

.messages {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.message {
  max-width: 82%;
  padding: 11px 13px;
  border-radius: 18px 18px 18px 5px;
  background: #fffaf3;
  border: 1px solid var(--line);
}

.message.mine {
  justify-self: end;
  border-radius: 18px 18px 5px 18px;
  color: var(--ivory);
  background: var(--sienna);
}

.message p {
  margin: 0;
  line-height: 1.35;
}

.message span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  opacity: 0.72;
}

.message-form {
  display: grid;
  gap: 10px;
}

.message-form textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fffaf3;
  padding: 14px;
  color: var(--ink);
  outline: none;
}

.hidden {
  display: none !important;
}

@media (min-width: 760px) {
  body {
    padding: 26px 0;
  }
  .app-shell {
    min-height: calc(100vh - 52px);
    border-radius: 30px;
    overflow: hidden;
  }
  .screen {
    min-height: calc(100vh - 52px);
  }
  .tabs {
    border-radius: 24px 24px 0 0;
  }
}

/* ---------- Polish pass (local, screen by screen) ---------- */
:root {
  --font-display: "Lora", Georgia, serif;
  --font-ui: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --night: #05090b;
  --gold-soft: #d9b25f;
  --ivory-72: rgba(246, 240, 232, 0.72);
  font-family: var(--font-ui);
}

/* The one logo per screen */
.ns-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
}

.ns-lockup img {
  width: 34px;
  height: auto;
  display: block;
}

.ns-wordmark {
  display: grid;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-soft);
}

.ns-wordmark small {
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--ivory-72);
}

.ns-btn-primary {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8673f, #c2532f);
  color: #fff8f0;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(194, 83, 47, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ns-btn-primary:active {
  transform: translateY(1px);
}

/* Welcome */
.ns-welcome {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
}

.ns-welcome-photo {
  position: absolute;
  inset: calc(70px + env(safe-area-inset-top)) 0 auto;
  height: min(101vw, 435px);
  background: url("./assets/no-seeds-couple.jpg") center top / 100% auto no-repeat;
}

.ns-welcome-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(5, 9, 11, 0) 16%),
    linear-gradient(180deg, rgba(5, 9, 11, 0) 70%, rgba(5, 9, 11, 0.75) 90%, var(--night) 100%);
}

.ns-welcome > .ns-lockup {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: calc(22px + env(safe-area-inset-top));
}

.ns-welcome-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0 28px calc(26px + env(safe-area-inset-bottom));
  text-align: center;
}

.ns-welcome-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--gold-soft);
}

.ns-welcome-line {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--ivory);
}

.ns-welcome-sub {
  margin: 8px 0 28px;
  font-size: 16px;
  color: var(--ivory-72);
}

.ns-welcome-signin {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ivory-72);
}

.ns-welcome-signin button {
  padding: 4px 2px;
  background: transparent;
  color: var(--gold-soft);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Let's be clear (agreement) */
.gate-screen {
  background:
    radial-gradient(circle at 50% -6%, rgba(200, 154, 43, 0.2), transparent 38%),
    linear-gradient(180deg, #05090b 0%, #07120f 60%, #0a2a23 100%);
}

.gate-screen .gate-hero {
  min-height: 100svh;
  padding: calc(22px + env(safe-area-inset-top)) 26px calc(26px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gate-screen .gate-hero::before,
.gate-screen .gate-hero::after {
  display: none;
}

.gate-screen .ns-lockup {
  align-self: center;
  margin-bottom: auto;
}

.gate-screen .gate-hero h1 {
  margin: 40px 0 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--gold-soft);
}

.gate-screen .gate-line {
  margin: 12px 0 28px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ivory);
}

.gate-screen .pledge-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(246, 240, 232, 0.1);
}

.gate-screen .pledge-item {
  min-height: 0;
  padding: 16px 2px;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid rgba(246, 240, 232, 0.1);
  border-radius: 0;
  background: transparent;
}

.gate-screen .pledge-item span {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(217, 178, 95, 0.16);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
}

.gate-screen .pledge-item p {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(246, 240, 232, 0.9);
}

.gate-screen .gate-cta {
  margin-top: 32px;
  min-height: 56px;
}

.gate-screen .gate-signin {
  text-align: center;
}

/* Application steps: shared frame */
.ns-step {
  min-height: 100svh;
  padding: calc(10px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% -10%, rgba(200, 154, 43, 0.14), transparent 34%),
    linear-gradient(180deg, #05090b 0%, #07100e 100%);
  color: var(--ivory);
  font-family: var(--font-ui);
}

.ns-step-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 48px;
}

.ns-back,
.ns-back-space {
  width: 44px;
  height: 44px;
}

.ns-back {
  display: grid;
  place-items: center;
  margin-left: -10px;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  padding: 0;
}

.ns-back:active {
  background: rgba(246, 240, 232, 0.08);
}

.ns-step-emblem {
  justify-self: center;
  width: 30px;
  height: auto;
}

.ns-step-count {
  justify-self: end;
  font-size: 13px;
  font-weight: 500;
  color: rgba(246, 240, 232, 0.6);
  white-space: nowrap;
}

.ns-progress {
  height: 4px;
  margin: 6px 0 30px;
  border-radius: 999px;
  background: rgba(246, 240, 232, 0.1);
  overflow: hidden;
}

.ns-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8892a, var(--gold-soft));
}

.ns-step h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gold-soft);
}

.ns-step .account-tagline {
  margin: 0 0 24px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ivory-72);
}

.ns-step .field {
  margin: 0 0 18px;
  gap: 8px;
}

.ns-step .field label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(246, 240, 232, 0.82);
}

.ns-step .field input,
.ns-step .field select,
.ns-step .field textarea {
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(246, 240, 232, 0.16);
  background: rgba(246, 240, 232, 0.05);
  color: var(--ivory);
  font-size: 17px;
  color-scheme: dark;
}

.ns-step .field input::placeholder {
  color: rgba(246, 240, 232, 0.38);
}

.ns-step .field input:focus,
.ns-step .field select:focus,
.ns-step .field textarea:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(217, 178, 95, 0.16);
}

.ns-step .field input[readonly] {
  color: rgba(246, 240, 232, 0.6);
}

.ns-step .account-continue {
  margin-top: 10px;
  font-size: 17px;
}

.ns-btn-google {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: #fffaf3;
  color: #1c1a17;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
}

.ns-step .account-divider {
  margin: 22px 0;
  gap: 14px;
  font-size: 13px;
  color: rgba(246, 240, 232, 0.5);
}

.ns-step .account-signin {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--ivory-72);
}

.ns-step .account-signin button {
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Messages on dark screens: readable, not dark-on-dark */
.ns-step .status,
.gate-screen .status {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(217, 178, 95, 0.3);
  background: rgba(217, 178, 95, 0.1);
  color: var(--ivory);
  font-size: 14px;
  line-height: 1.45;
}

.ns-step .status.error,
.gate-screen .status.error {
  border-color: rgba(232, 120, 90, 0.45);
  background: rgba(212, 95, 63, 0.14);
  color: #ffd9cc;
}

/* Choice steps (gender & looking for, and similar) */
.ns-step .choice-group {
  margin: 8px 0 22px;
  gap: 12px;
}

.ns-step .choice-group > label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(246, 240, 232, 0.82);
}

.ns-step .choice-group > label em {
  font-style: normal;
  font-size: 13px;
  color: rgba(246, 240, 232, 0.5);
}

.ns-location-privacy {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid rgba(217, 178, 95, 0.28);
  border-radius: 16px;
  background: rgba(5, 44, 36, 0.52);
  color: rgba(246, 240, 232, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.ns-location-privacy strong {
  color: #f3d58f;
  font-size: 14px;
}

.ns-location-privacy.is-light {
  background: #f7efe4;
  color: rgba(25, 21, 18, 0.68);
  border-color: rgba(10, 92, 77, 0.16);
}

.ns-location-privacy.is-light strong {
  color: var(--emerald);
}

.ns-location-button,
.ns-location-inline {
  width: 100%;
  min-height: 46px;
  margin: 0 0 12px;
}

.ns-choice-step .choice-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ns-step .choice-card {
  position: relative;
  min-height: 56px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(246, 240, 232, 0.16);
  background: rgba(246, 240, 232, 0.05);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.ns-step .choice-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ns-step .choice-card span {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory);
}

.ns-step .choice-card:has(input:checked) {
  border-color: var(--gold-soft);
  background: rgba(217, 178, 95, 0.14);
  box-shadow: none;
}

.ns-step .choice-card:has(input:checked) span {
  color: var(--gold-soft);
  font-weight: 600;
}

.ns-step .choice-card:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(217, 178, 95, 0.3);
}

.ns-choice-step .account-continue {
  margin-top: auto;
}

/* Location & age */
.ns-row-city {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}

.ns-location-step .age-row {
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
}

.ns-location-step .age-field {
  margin: 0;
}

.ns-location-step .age-field label {
  font-size: 13px;
  color: rgba(246, 240, 232, 0.55);
}

.ns-age-dash {
  padding-bottom: 17px;
  font-size: 14px;
  color: rgba(246, 240, 232, 0.5);
}

.ns-step .field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23d9b25f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.ns-step .field select option {
  background: #0b1412;
  color: var(--ivory);
}

.ns-location-step .account-continue {
  position: static;
  width: 100%;
  transform: none;
  margin-top: auto;
  box-shadow: 0 12px 28px rgba(194, 83, 47, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ns-step .ns-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ns-step .ns-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ns-step .ns-grid-4 .choice-card,
.ns-step .ns-grid-3 .choice-card {
  min-height: 50px;
  padding: 0 6px;
}

.ns-location-step .ns-row-city .field {
  margin-bottom: 14px;
}

.ns-location-step .choice-group {
  margin: 4px 0 18px;
}

.ns-location-step .ns-progress {
  margin-bottom: 24px;
}

/* Relationship intentions */
.ns-step .ns-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ns-step .ns-grid-2 .choice-card {
  min-height: 64px;
  padding: 8px 12px;
}

.ns-step .ns-grid-2 .choice-card span {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.ns-intent-step .account-continue {
  margin-top: auto;
}

/* Intentions & lifestyle */
.ns-intent-step .field {
  margin-bottom: 14px;
}

.ns-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ns-section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 10px 0 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 240, 232, 0.1);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--gold-soft);
}

.ns-section-label em {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: rgba(246, 240, 232, 0.5);
}

.ns-intent-step .intent-field select {
  min-height: 52px;
  border-radius: 14px;
  box-shadow: none;
  background-color: rgba(246, 240, 232, 0.05);
}

.ns-intent-step select:invalid {
  color: rgba(246, 240, 232, 0.45);
}

/* The No Seeds Pledge */
.ns-pledge-step .account-tagline {
  margin-bottom: 18px;
}

.ns-pledge-step .clause-stack {
  gap: 18px;
  margin: 0 0 24px;
}

.ns-pledge-step .pledge-group {
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ns-pledge-step .pledge-group > p {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(246, 240, 232, 0.5);
}

.ns-pledge-step .clause-card {
  min-height: 0;
  padding: 12px 0;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid rgba(246, 240, 232, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.ns-pledge-step .clause-card:has(input:checked) {
  background: transparent;
  box-shadow: none;
}

.ns-pledge-step .clause-card input {
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(246, 240, 232, 0.4);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.ns-pledge-step .clause-card input:checked {
  border-color: var(--gold-soft);
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2305090b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.ns-pledge-step .clause-card input:focus-visible {
  box-shadow: 0 0 0 3px rgba(217, 178, 95, 0.3);
}

.ns-pledge-step .clause-card span {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(246, 240, 232, 0.9);
}

.ns-pledge-step .pledge-card span {
  font-weight: 600;
  color: var(--ivory);
}

.ns-pledge-step .account-continue {
  margin-top: auto;
}

.ns-pledge-step .clause-card:has(input:checked) {
  border-color: rgba(246, 240, 232, 0.08);
}

/* Prompt steps */
.ns-step .field textarea {
  min-height: 168px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: none;
}

.ns-step .field textarea::placeholder {
  color: rgba(246, 240, 232, 0.38);
}

.ns-prompt-step .field select {
  white-space: normal;
  text-overflow: ellipsis;
}

.ns-actions {
  margin-top: auto;
  display: grid;
  gap: 6px;
}

.ns-btn-quiet {
  min-height: 44px;
  background: transparent;
  color: rgba(246, 240, 232, 0.7);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
}

/* Show your vibe */
.ns-story-step .field textarea {
  min-height: 120px;
}

.ns-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ns-chip {
  position: relative;
  cursor: pointer;
}

.ns-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ns-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 232, 0.18);
  background: rgba(246, 240, 232, 0.05);
  color: var(--ivory);
  font-size: 15px;
  font-weight: 500;
}

.ns-chip input:checked + span {
  border-color: var(--gold-soft);
  background: rgba(217, 178, 95, 0.16);
  color: var(--gold-soft);
  font-weight: 600;
}

.ns-chip input:disabled + span {
  opacity: 0.4;
}

.ns-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(217, 178, 95, 0.3);
}

/* Preview and submit */
.ns-preview {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(246, 240, 232, 0.12);
  background: rgba(246, 240, 232, 0.04);
}

.ns-preview-photo {
  aspect-ratio: 21 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(217, 178, 95, 0.22), transparent 60%),
    linear-gradient(160deg, #0f2a24, #07100e);
}

.ns-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-preview-photo span {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  color: var(--gold-soft);
}

.ns-preview-body {
  padding: 16px 18px 18px;
}

.ns-preview-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ivory);
}

.ns-preview-body h2 span {
  font-weight: 500;
  color: var(--ivory-72);
}

.ns-preview-meta {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ivory-72);
}

.ns-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.ns-preview-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(217, 178, 95, 0.14);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
}

.ns-preview-bio {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(246, 240, 232, 0.88);
}

.ns-review-missing,
.ns-review-ready {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.ns-review-missing {
  border: 1px solid rgba(232, 120, 90, 0.45);
  background: rgba(212, 95, 63, 0.12);
  color: #ffd9cc;
}

.ns-review-ready {
  border: 1px solid rgba(217, 178, 95, 0.3);
  background: rgba(217, 178, 95, 0.1);
  color: var(--ivory);
}

.ns-review-note {
  margin: 10px 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(246, 240, 232, 0.5);
}

.ns-review-step .account-tagline {
  margin-bottom: 18px;
}

.ns-review-step .ns-progress {
  margin-bottom: 22px;
}

/* ---------- Light theme for the application steps (founder: not the whole app dark) ---------- */
.ns-step {
  --ink-72: rgba(25, 21, 18, 0.66);
  --ink-line: rgba(25, 21, 18, 0.12);
  background: linear-gradient(180deg, #fbf7f1 0%, #f3ece2 100%);
  color: var(--ink);
}

.ns-step h1 { color: var(--emerald); }
.ns-step .account-tagline,
.ns-step-count,
.ns-review-note,
.ns-btn-quiet,
.ns-step .account-signin,
.ns-step .account-divider,
.ns-age-dash { color: var(--ink-72); }
.ns-back { color: var(--ink); }
.ns-back:active { background: rgba(25, 21, 18, 0.06); }
.ns-progress { background: rgba(25, 21, 18, 0.1); }
.ns-step .account-divider span { background: var(--ink-line); }

.ns-step .field label,
.ns-step .choice-group > label { color: rgba(25, 21, 18, 0.8); }
.ns-step .choice-group > label em,
.ns-location-step .age-field label { color: rgba(25, 21, 18, 0.5); }

.ns-step .field input,
.ns-step .field select,
.ns-step .field textarea {
  border-color: rgba(25, 21, 18, 0.14);
  background-color: #fffdf9;
  color: var(--ink);
  color-scheme: light;
}
.ns-step .field input::placeholder,
.ns-step .field textarea::placeholder { color: rgba(25, 21, 18, 0.38); }
.ns-step .field input:focus,
.ns-step .field select:focus,
.ns-step .field textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.14); }
.ns-step .field input[readonly] { color: rgba(25, 21, 18, 0.55); }
.ns-step .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230f5c4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ns-step .field select option { background: #fffdf9; color: var(--ink); }
.ns-intent-step .intent-field select { background-color: #fffdf9; }
.ns-intent-step select:invalid { color: rgba(25, 21, 18, 0.45); }

.ns-btn-google { border: 1px solid rgba(25, 21, 18, 0.16); background: #fffdf9; box-shadow: 0 6px 16px rgba(25, 21, 18, 0.06); }
.ns-step .account-signin button { color: var(--emerald); }

.ns-step .choice-card,
.ns-chip span { border-color: rgba(25, 21, 18, 0.14); background: #fffdf9; }
.ns-step .choice-card span,
.ns-chip span { color: var(--ink); }
.ns-step .choice-card:has(input:checked),
.ns-chip input:checked + span { border-color: var(--emerald); background: rgba(15, 92, 77, 0.1); }
.ns-step .choice-card:has(input:checked) span,
.ns-chip input:checked + span { color: var(--emerald); }
.ns-step .choice-card:has(input:focus-visible),
.ns-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.2); }

.ns-section-label { border-top-color: var(--ink-line); color: var(--emerald); }
.ns-section-label em { color: rgba(25, 21, 18, 0.5); }

.ns-pledge-step .pledge-group > p { color: rgba(25, 21, 18, 0.5); }
.ns-pledge-step .clause-card,
.ns-pledge-step .clause-card:has(input:checked) { border-bottom-color: var(--ink-line); }
.ns-pledge-step .clause-card span { color: rgba(25, 21, 18, 0.88); }
.ns-pledge-step .pledge-card span { color: var(--ink); }
.ns-pledge-step .clause-card input { border-color: rgba(25, 21, 18, 0.35); }
.ns-pledge-step .clause-card input:checked {
  border-color: var(--emerald);
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fffaf3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.ns-step .status { border-color: rgba(15, 92, 77, 0.25); background: rgba(15, 92, 77, 0.08); color: #123c34; }
.ns-step .status.error { border-color: rgba(138, 51, 36, 0.3); background: rgba(138, 51, 36, 0.08); color: #6e2116; }

.ns-preview { border-color: rgba(25, 21, 18, 0.1); background: #fffdf9; box-shadow: 0 14px 34px rgba(25, 21, 18, 0.1); }
.ns-preview-photo { background: radial-gradient(circle at 50% 40%, rgba(217, 178, 95, 0.3), transparent 60%), linear-gradient(160deg, #0f5c4d, #08362e); }
.ns-preview-body h2 { color: var(--ink); }
.ns-preview-body h2 span,
.ns-preview-meta { color: rgba(25, 21, 18, 0.6); }
.ns-preview-bio { color: rgba(25, 21, 18, 0.85); }
.ns-preview-tags span { background: rgba(15, 92, 77, 0.1); color: var(--emerald); }
.ns-review-ready { border-color: rgba(15, 92, 77, 0.25); background: rgba(15, 92, 77, 0.08); color: #123c34; }
.ns-review-missing { border-color: rgba(138, 51, 36, 0.3); background: rgba(138, 51, 36, 0.08); color: #6e2116; }

/* ---------- Emerald hero + ivory sheet (trial on Gender & Looking For) ---------- */
.ns-sheet-step {
  padding: 0;
  background: #f6f0e8;
}

.ns-hero {
  position: relative;
  overflow: hidden;
  padding: calc(10px + env(safe-area-inset-top)) 24px 44px;
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(217, 178, 95, 0.28), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, rgba(6, 30, 25, 0.9), transparent 70%),
    linear-gradient(160deg, #13604f 0%, #0b4337 55%, #072d25 100%);
}

.ns-hero::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -40px;
  width: 190px;
  height: 205px;
  background: url("./assets/no-seeds-emblem.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.ns-hero > * {
  position: relative;
  z-index: 1;
}

.ns-hero .ns-back { color: var(--ivory); }
.ns-hero .ns-step-count { color: rgba(246, 240, 232, 0.7); }
.ns-hero .ns-progress { background: rgba(246, 240, 232, 0.18); margin-bottom: 26px; }
.ns-hero h1 { color: #f3d58f; font-size: 36px; }
.ns-hero .account-tagline { margin: 0; color: rgba(246, 240, 232, 0.8); }

.ns-sheet {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -22px;
  padding: 26px 24px calc(24px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  box-shadow: 0 -10px 30px rgba(4, 24, 20, 0.25);
}

.ns-sheet .choice-group > label {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.ns-sheet .choice-card {
  min-height: 60px;
  border: 1px solid rgba(25, 21, 18, 0.08);
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.06), 0 6px 16px rgba(25, 21, 18, 0.05);
}

.ns-sheet .choice-card:has(input:checked) {
  border-color: transparent;
  background: linear-gradient(160deg, #13604f, #0b4337);
  box-shadow: 0 8px 20px rgba(11, 67, 55, 0.3);
}

.ns-sheet .choice-card:has(input:checked) span {
  color: #fffaf3;
  font-weight: 600;
}

.ns-sheet .choice-card:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f3d58f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%23072d25' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Member area: Matches ---------- */
.ns-member-hero {
  position: relative;
  overflow: hidden;
  padding: calc(14px + env(safe-area-inset-top)) 24px 48px;
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(217, 178, 95, 0.28), transparent 55%),
    linear-gradient(160deg, #13604f 0%, #0b4337 55%, #072d25 100%);
}

.ns-member-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 180px;
  height: 195px;
  background: url("./assets/no-seeds-emblem.png") center / contain no-repeat;
  opacity: 0.1;
}

.ns-member-top .ns-lockup img { width: 26px; }
.ns-member-top .ns-wordmark { font-size: 17px; }
.ns-member-top .ns-wordmark small { font-size: 8px; }

.ns-member-hero h1 {
  position: relative;
  margin: 26px 0 6px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: #f3d58f;
}

.ns-member-hero p {
  position: relative;
  margin: 0;
  font-size: 15px;
  color: rgba(246, 240, 232, 0.78);
}

.ns-member-sheet {
  position: relative;
  z-index: 2;
  min-height: 60vh;
  margin-top: -24px;
  padding: 22px 20px 20px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  box-shadow: 0 -10px 30px rgba(4, 24, 20, 0.22);
  font-family: var(--font-ui);
}

.ns-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 6px 0 12px;
}

.ns-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}

.ns-section-head span {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #c2532f;
  color: #fff8f0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.ns-section-head button {
  background: transparent;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 600;
}

/* Likes you: photo tiles */
.ns-like-rail {
  display: flex;
  gap: 12px;
  margin: 0 -20px 22px;
  padding: 2px 20px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ns-like-rail::-webkit-scrollbar { display: none; }

.ns-like-tile {
  flex: 0 0 138px;
  scroll-snap-align: start;
}

.ns-like-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, #13604f, #072d25);
  box-shadow: 0 10px 24px rgba(25, 21, 18, 0.16);
}

.ns-like-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-like-photo > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold-soft);
}

.ns-like-photo p {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 28px 12px 26px;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 11, 0.82));
  color: #fffaf3;
  font-size: 15px;
}

.ns-like-photo p strong { font-weight: 600; }

.ns-like-photo small {
  display: block;
  font-size: 12px;
  color: rgba(255, 250, 243, 0.78);
}

.ns-like-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -20px;
}

.ns-round {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(25, 21, 18, 0.18);
}

.ns-round-pass { background: #fffdf9; color: rgba(25, 21, 18, 0.65); }
.ns-round-like { background: linear-gradient(180deg, #d8673f, #c2532f); color: #fff8f0; }

/* Conversations */
.ns-convo-list {
  display: grid;
  overflow: hidden;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 10px 26px rgba(25, 21, 18, 0.06);
}

.ns-convo {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(25, 21, 18, 0.06);
  background: transparent;
  text-align: left;
  color: var(--ink);
  font-family: var(--font-ui);
}

.ns-convo:last-child { border-bottom: 0; }

.ns-convo-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #13604f, #072d25);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 22px;
}

.ns-convo-avatar img { width: 100%; height: 100%; object-fit: cover; }

.is-your-turn .ns-convo-avatar,
.is-new .ns-convo-avatar { box-shadow: 0 0 0 2px #fffdf9, 0 0 0 4px var(--gold-soft); }

.ns-convo-text { min-width: 0; display: grid; gap: 3px; }

.ns-convo-text strong {
  font-size: 16px;
  font-weight: 600;
}

.ns-convo-text strong em {
  font-style: normal;
  font-weight: 400;
  color: rgba(25, 21, 18, 0.55);
}

.ns-convo-text > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  color: rgba(25, 21, 18, 0.6);
}

.is-your-turn .ns-convo-text > span { color: var(--ink); font-weight: 500; }
.is-new .ns-convo-text > span { color: var(--emerald); font-weight: 500; }

.ns-convo-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  align-self: start;
  padding-top: 4px;
}

.ns-convo-meta time { font-size: 12px; color: rgba(25, 21, 18, 0.5); }

.ns-convo-meta i {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 92, 77, 0.1);
  color: var(--emerald);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.ns-empty {
  padding: 26px 20px;
  border-radius: 20px;
  background: #fffdf9;
  text-align: center;
  box-shadow: 0 10px 26px rgba(25, 21, 18, 0.06);
}

.ns-empty h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; color: var(--emerald); }
.ns-empty p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(25, 21, 18, 0.65); }
.ns-loading { margin: 0 0 12px; font-size: 14px; color: rgba(25, 21, 18, 0.6); }

/* Bottom tabs */
.tabs {
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, 0.96);
  border-top: 1px solid rgba(25, 21, 18, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 -6px 20px rgba(25, 21, 18, 0.06);
}

.tab {
  min-height: 50px;
  gap: 2px;
  color: rgba(25, 21, 18, 0.48);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
}

.tab.active {
  color: var(--emerald);
  background: transparent;
}

.tab.active svg { fill: rgba(15, 92, 77, 0.14); }

.ns-like-rail { scroll-padding-inline: 20px; }

/* Conversation row: photo (opens profile) + main (opens chat) */
.ns-convo { grid-template-columns: 56px 1fr; padding: 12px 6px 12px 14px; }
.ns-convo-avatar { padding: 0; border: 0; cursor: pointer; }
.ns-convo-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-ui);
}
.ns-like-photo { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; }
.ns-chat-name { padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- Member profile view ---------- */
.ns-pv {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  font-family: var(--font-ui);
}

.ns-pv-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 72vh;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #13604f, #072d25);
}

.ns-pv-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-pv-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 11, 0.35) 0%, transparent 22%, transparent 55%, rgba(5, 9, 11, 0.82) 100%);
  pointer-events: none;
}

.ns-pv-initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--gold-soft);
}

.ns-pv-back {
  position: absolute;
  z-index: 2;
  top: calc(14px + env(safe-area-inset-top));
  left: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 9, 11, 0.45);
  color: #fffaf3;
  backdrop-filter: blur(8px);
}

.ns-pv-name {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 40px;
  color: #fffaf3;
}

.ns-pv-name h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.05;
}

.ns-pv-name h1 span { font-weight: 500; color: rgba(255, 250, 243, 0.85); }
.ns-pv-name p { margin: 4px 0 0; font-size: 15px; color: rgba(255, 250, 243, 0.82); }

.ns-pv-body {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding: 22px 20px 8px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  display: grid;
  gap: 16px;
}

.ns-pv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-pv-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 92, 77, 0.1);
  color: var(--emerald);
  font-size: 13px;
  font-weight: 600;
}

.ns-pv-bio { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(25, 21, 18, 0.88); }

.ns-pv-prompt {
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 10px 26px rgba(25, 21, 18, 0.06);
}

.ns-pv-prompt p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
}

.ns-pv-prompt h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.ns-pv-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  box-shadow: 0 10px 26px rgba(25, 21, 18, 0.1);
}

.ns-pv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ns-pv-details {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(160deg, #13604f, #0b4337 60%, #072d25);
  box-shadow: 0 12px 28px rgba(11, 67, 55, 0.25);
}

.ns-pv-details div {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(246, 240, 232, 0.1);
}

.ns-pv-details div:nth-child(odd) { border-right: 1px solid rgba(246, 240, 232, 0.1); }
.ns-pv-details dt { font-size: 12px; color: rgba(246, 240, 232, 0.62); }
.ns-pv-details dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; color: #f3d58f; }

.ns-pv-section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.ns-pv-interests { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-pv-interests span {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fffdf9;
  border: 1px solid rgba(25, 21, 18, 0.1);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.ns-pv-actions {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 0;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(244, 237, 227, 0), rgba(244, 237, 227, 0.96) 30%);
}

.ns-pv-actions .ns-btn-primary { flex: 1; }
.ns-pv-pass { width: 56px; height: 56px; flex: 0 0 56px; }

/* Profile view: The basics */
.ns-pv-basics {
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 10px 26px rgba(25, 21, 18, 0.06);
}

.ns-pv-basics h2 {
  margin: 0 0 12px 2px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.ns-pv-basics ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ns-pv-basics li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  background: #f4ede3;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.ns-pv-basics li svg {
  flex: 0 0 auto;
  color: var(--emerald);
}

/* ---------- Member area: Discover ---------- */
.ns-disc-hero { padding-bottom: 44px; }

.ns-disc-sheet {
  padding: 16px 16px calc(190px + env(safe-area-inset-bottom));
}

.ns-disc-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, #13604f, #072d25);
  box-shadow: 0 16px 36px rgba(25, 21, 18, 0.18);
  cursor: pointer;
  text-align: left;
}

.ns-disc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-disc-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 9, 11, 0.8) 100%);
}

.ns-disc-name {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  color: #fffaf3;
}

.ns-disc-name strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
}

.ns-disc-name em { font-style: normal; font-weight: 500; color: rgba(255, 250, 243, 0.85); }
.ns-disc-name small { margin-top: 4px; font-size: 15px; color: rgba(255, 250, 243, 0.82); }

.ns-disc-body {
  margin-top: 0;
  padding: 18px 4px 0;
  border-radius: 0;
  background: transparent;
}

/* The buttons sit on an ivory fade so text scrolls away beneath them instead of being covered. */
.ns-disc-actions {
  position: fixed;
  z-index: 19;
  left: 50%;
  bottom: calc(62px + env(safe-area-inset-bottom));
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 34px 0 14px;
  background: linear-gradient(180deg, rgba(246, 240, 232, 0) 0%, rgba(246, 240, 232, 0.94) 42%, #f6f0e8 100%);
  pointer-events: none;
}
.ns-disc-actions .ns-round { pointer-events: auto; }

.ns-disc-pass {
  width: 60px;
  height: 60px;
  background: #fffdf9;
  color: rgba(25, 21, 18, 0.7);
  box-shadow: 0 10px 26px rgba(25, 21, 18, 0.22);
}

.ns-disc-like {
  width: 72px;
  height: 72px;
  background: linear-gradient(180deg, #d8673f, #c2532f);
  color: #fff8f0;
  box-shadow: 0 14px 30px rgba(194, 83, 47, 0.4);
}

.ns-disc-actions .ns-round:active { transform: scale(0.96); }
.ns-refresh { margin-top: 10px; color: var(--emerald); font-weight: 600; }

/* ---------- Member area: Chat ---------- */
.ns-chat {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  font-family: var(--font-ui);
}

.screen:has(.ns-chat) { padding-bottom: 0; }

.ns-chat-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 4px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 10px;
  color: var(--ivory);
  background:
    radial-gradient(120% 140% at 90% -40%, rgba(217, 178, 95, 0.25), transparent 55%),
    linear-gradient(160deg, #13604f 0%, #0b4337 60%, #072d25 100%);
  box-shadow: 0 6px 18px rgba(4, 24, 20, 0.2);
}

.ns-chat-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
}

.ns-chat-icon:active { background: rgba(246, 240, 232, 0.12); }

.ns-chat-who {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px;
  background: transparent;
  color: var(--ivory);
  text-align: left;
}

.ns-chat-who > span:last-child { min-width: 0; display: grid; }
.ns-chat-who strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-chat-who em { font-style: normal; font-weight: 500; color: rgba(246, 240, 232, 0.75); }
.ns-chat-who small { font-size: 12px; color: rgba(246, 240, 232, 0.7); }

.ns-chat-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #13604f, #072d25);
  box-shadow: 0 0 0 2px rgba(243, 213, 143, 0.7);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 18px;
}

.ns-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ns-chat-avatar.is-big { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 0 0 3px #fffdf9, 0 0 0 5px var(--gold-soft); }

.ns-chat-menu {
  position: sticky;
  top: 62px;
  z-index: 9;
  display: grid;
  gap: 2px;
  margin: 8px 12px 0;
  padding: 12px;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 14px 34px rgba(25, 21, 18, 0.18);
}

.ns-chat-menu p { margin: 0 4px 6px; font-size: 13px; color: rgba(25, 21, 18, 0.6); }

.ns-chat-menu button {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.ns-chat-menu button:active { background: rgba(25, 21, 18, 0.05); }
.ns-chat-menu .is-danger { color: #a3391f; }

.ns-chat-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 96px;
}

.ns-chat-thread .status { margin: 0 0 8px; }

.ns-chat-start {
  align-self: center;
  margin: 0 0 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(25, 21, 18, 0.06);
  font-size: 12px;
  color: rgba(25, 21, 18, 0.55);
}

.ns-bubble {
  max-width: 78%;
  align-self: flex-start;
  padding: 10px 14px 7px;
  border-radius: 20px 20px 20px 6px;
  background: #fffdf9;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.06), 0 6px 16px rgba(25, 21, 18, 0.05);
}

.ns-bubble p { margin: 0; font-size: 16px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.ns-bubble time { display: block; margin-top: 3px; font-size: 11px; color: rgba(25, 21, 18, 0.45); text-align: right; }

.ns-bubble.is-mine {
  align-self: flex-end;
  border-radius: 20px 20px 6px 20px;
  background: linear-gradient(160deg, #13604f, #0b4337);
  color: #fffaf3;
  box-shadow: 0 8px 18px rgba(11, 67, 55, 0.22);
}

.ns-bubble.is-mine time { color: rgba(255, 250, 243, 0.65); }

.ns-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 78%;
  padding: 9px 12px;
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 253, 249, 0.9);
  color: rgba(25, 21, 18, 0.64);
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.06);
}

.ns-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: nsTyping 1.1s infinite ease-in-out;
}

.ns-typing span:nth-child(2) { animation-delay: 0.16s; }
.ns-typing span:nth-child(3) { animation-delay: 0.32s; }

.ns-typing em {
  margin-left: 4px;
  font-style: normal;
  font-size: 13px;
}

@keyframes nsTyping {
  0%, 80%, 100% { opacity: 0.32; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ns-chat-empty {
  margin: auto 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
}

.ns-chat-empty h2 { margin: 10px 0 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--emerald); }
.ns-chat-empty p { margin: 0; max-width: 260px; font-size: 15px; line-height: 1.5; color: rgba(25, 21, 18, 0.62); }

.ns-composer {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 0;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 241, 0.96);
  border-top: 1px solid rgba(25, 21, 18, 0.08);
  backdrop-filter: blur(12px);
}

.ns-composer textarea {
  flex: 1;
  min-height: 46px;
  max-height: 120px;
  padding: 12px 16px;
  border: 1px solid rgba(25, 21, 18, 0.14);
  border-radius: 23px;
  background: #fffdf9;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.35;
  resize: none;
  outline: none;
}

.ns-composer textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.12); }

.ns-composer button {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #d8673f, #c2532f);
  color: #fff8f0;
  box-shadow: 0 8px 18px rgba(194, 83, 47, 0.3);
}

/* ---------- Date planner ---------- */
.ns-plan-card {
  margin: 14px 0 4px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 12px 28px rgba(25, 21, 18, 0.08);
  display: grid;
  gap: 8px;
}

.ns-plan-card h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.ns-plan-card p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(25, 21, 18, 0.66); }
.ns-plan-card .ns-btn-primary { margin-top: 6px; }
.ns-plan-card .ns-btn-quiet { min-height: 36px; color: rgba(25, 21, 18, 0.6); }

.ns-plan-eyebrow {
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald) !important;
}

.ns-plan-card.is-invite,
.ns-plan-card.is-confirmed {
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 90% -10%, rgba(217, 178, 95, 0.3), transparent 55%),
    linear-gradient(160deg, #13604f 0%, #0b4337 60%, #072d25 100%);
  box-shadow: 0 16px 34px rgba(11, 67, 55, 0.3);
}

.ns-plan-card.is-invite h3,
.ns-plan-card.is-confirmed h3 { color: #f3d58f; font-size: 24px; }
.ns-plan-card.is-invite p,
.ns-plan-card.is-confirmed p { color: rgba(246, 240, 232, 0.82); }
.ns-plan-card.is-invite .ns-plan-eyebrow,
.ns-plan-card.is-confirmed .ns-plan-eyebrow { color: #f3d58f !important; }
.ns-plan-card.is-invite .ns-btn-quiet { color: rgba(246, 240, 232, 0.75); }

.ns-plan-when { font-size: 17px !important; font-weight: 600; color: #fffaf3 !important; }
.ns-plan-link { justify-self: start; margin-top: 2px; color: #f3d58f; font-weight: 600; font-size: 15px; }
.ns-plan-safety { margin-top: 6px !important; font-size: 13px !important; }

.ns-planner {
  flex: 1;
  padding: 20px 18px calc(28px + env(safe-area-inset-bottom));
}

.ns-planner > h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--emerald); }
.ns-planner-sub { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: rgba(25, 21, 18, 0.7); }
.ns-planner-sub strong { color: var(--ink); }

.ns-planner > h3 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.ns-plan-places { display: grid; gap: 10px; }

.ns-plan-place {
  border-radius: 18px;
  background: #fffdf9;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 8px 22px rgba(25, 21, 18, 0.06);
  overflow: hidden;
}

.ns-plan-place.is-picked { border-color: var(--emerald); background: #f5faf7; }

.ns-plan-place > button {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 14px 14px 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-ui);
}

.ns-plan-check {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid rgba(25, 21, 18, 0.3);
}

.is-picked .ns-plan-check {
  border-color: var(--emerald);
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%23fffaf3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.ns-plan-text { min-width: 0; display: grid; gap: 3px; }
.ns-plan-text strong { font-size: 16px; font-weight: 600; }
.ns-plan-text small { font-size: 13px; line-height: 1.4; color: rgba(25, 21, 18, 0.6); }
.ns-plan-text em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--emerald); }

.ns-plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 14px 10px 52px;
}

.ns-plan-foot a { font-size: 13px; font-weight: 600; color: var(--emerald); }

.ns-plan-who { display: inline-flex; gap: 6px; }
.ns-plan-who i {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(194, 83, 47, 0.12);
  color: #a3391f;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.ns-plan-who i.is-me { background: rgba(15, 92, 77, 0.12); color: var(--emerald); }

.ns-plan-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ns-plan-time {
  min-height: 70px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: #fffdf9;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-ui);
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 8px 20px rgba(25, 21, 18, 0.05);
}

.ns-plan-time strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ns-plan-time.is-picked { border-color: var(--emerald); background: #f5faf7; }

.ns-plan-custom {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.ns-plan-custom input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px dashed rgba(25, 21, 18, 0.25);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  color-scheme: light;
}

.ns-plan-custom button {
  min-width: 64px;
  border-radius: 14px;
  background: var(--emerald);
  color: #fffaf3;
  font-weight: 600;
}

.ns-plan-empty { margin: 0; font-size: 14px; color: rgba(25, 21, 18, 0.6); }
.ns-planner > .ns-plan-safety { margin: 22px 0 14px; font-size: 13px; line-height: 1.5; color: rgba(25, 21, 18, 0.6); }
.ns-planner > .ns-plan-card.is-confirmed { margin-bottom: 8px; }

/* ---------- Legal pages (Privacy, Terms, Safety) and links to them ---------- */
.ns-legal-body {
  background: #f4ede3;
}

.ns-legal {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  font-family: var(--font-ui);
  color: var(--ink);
}

.ns-legal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(16px + env(safe-area-inset-top)) 24px 48px;
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(217, 178, 95, 0.28), transparent 55%),
    linear-gradient(160deg, #13604f 0%, #0b4337 55%, #072d25 100%);
}

.ns-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.ns-legal-back img { width: 26px; height: auto; }

.ns-legal-hero h1 {
  margin: 26px 0 6px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  color: #f3d58f;
}

.ns-legal-hero p { margin: 0; font-size: 14px; color: rgba(246, 240, 232, 0.75); }

.ns-legal-sheet {
  position: relative;
  margin-top: -24px;
  padding: 26px 24px calc(40px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  box-shadow: 0 -10px 30px rgba(4, 24, 20, 0.2);
  font-size: 16px;
  line-height: 1.6;
}

.ns-legal-sheet h2 {
  margin: 28px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--emerald);
}

.ns-legal-sheet p { margin: 0 0 12px; color: rgba(25, 21, 18, 0.86); }
.ns-legal-sheet ul,
.ns-legal-sheet ol { margin: 0 0 12px; padding-left: 22px; color: rgba(25, 21, 18, 0.86); }
.ns-legal-sheet li { margin-bottom: 6px; }
.ns-legal-sheet a { color: var(--emerald); font-weight: 600; }

.ns-legal-lead { font-size: 17px; color: var(--ink) !important; }

.ns-legal-notice {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(138, 51, 36, 0.3);
  background: rgba(138, 51, 36, 0.07);
  color: #6e2116 !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ns-legal-nav {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(25, 21, 18, 0.12);
  font-size: 14px;
  text-align: center;
}

/* Links from the app */
.ns-legal-links {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(246, 240, 232, 0.6);
}

.ns-legal-links a { color: rgba(246, 240, 232, 0.75); text-decoration: underline; text-underline-offset: 3px; }

.ns-consent {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: rgba(25, 21, 18, 0.6);
}

.ns-consent a { color: var(--emerald); font-weight: 600; }

/* Terms / Privacy / Safety pop-up sheet */
body.ns-legal-open { overflow: hidden; }

.ns-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ns-legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 11, 0.55);
}

.ns-legal-panel {
  position: relative;
  width: min(100%, 560px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  background: #fbf7f1;
  box-shadow: 0 -16px 40px rgba(5, 9, 11, 0.3);
  font-family: var(--font-ui);
  color: var(--ink);
  animation: ns-legal-up 0.22s ease-out;
}

@keyframes ns-legal-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.ns-legal-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 12px 22px;
  border-bottom: 1px solid rgba(25, 21, 18, 0.1);
}

.ns-legal-panel header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--emerald);
}

.ns-legal-panel header button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(25, 21, 18, 0.06);
  color: var(--ink);
}

.ns-legal-content {
  overflow-y: auto;
  padding: 14px 22px calc(28px + env(safe-area-inset-bottom));
  font-size: 15px;
  line-height: 1.6;
}

.ns-legal-content h2 { margin: 22px 0 6px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--emerald); }
.ns-legal-content p { margin: 0 0 10px; color: rgba(25, 21, 18, 0.86); }
.ns-legal-content ul,
.ns-legal-content ol { margin: 0 0 10px; padding-left: 20px; color: rgba(25, 21, 18, 0.86); }
.ns-legal-content li { margin-bottom: 5px; }
.ns-legal-content a { color: var(--emerald); font-weight: 600; }
.ns-legal-content .ns-legal-lead { font-size: 16px; color: var(--ink); }
.ns-legal-date { font-size: 13px; color: rgba(25, 21, 18, 0.5) !important; }

/* ---------- Founder review page ---------- */
.ns-review {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  font-family: var(--font-ui);
  color: var(--ink);
}

.ns-rv-hero {
  padding: calc(14px + env(safe-area-inset-top)) 20px 44px;
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(217, 178, 95, 0.28), transparent 55%),
    linear-gradient(160deg, #13604f 0%, #0b4337 55%, #072d25 100%);
}

.ns-rv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ns-rv-top button { margin-left: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(246, 240, 232, 0.12); color: var(--ivory); font-size: 13px; font-weight: 600; }
.ns-rv-brand { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--gold-soft); }
.ns-rv-brand img { width: 24px; }
.ns-rv-hero h1 { margin: 20px 0 4px; font-family: var(--font-display); font-size: 34px; font-weight: 600; color: #f3d58f; }
.ns-rv-hero > p { margin: 0; font-size: 15px; color: rgba(246, 240, 232, 0.78); }

.ns-rv-tabs { display: flex; gap: 8px; margin-top: 16px; }
.ns-rv-tabs button { padding: 8px 14px; border-radius: 999px; background: rgba(246, 240, 232, 0.1); color: rgba(246, 240, 232, 0.8); font-size: 14px; font-weight: 600; }
.ns-rv-tabs button.is-active { background: #fffaf3; color: var(--emerald); }
.ns-rv-tabs i { font-style: normal; margin-left: 4px; opacity: 0.7; }

.ns-rv-sheet {
  position: relative;
  margin-top: -24px;
  padding: 20px 16px 40px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #fbf7f1 0%, #f4ede3 100%);
  box-shadow: 0 -10px 30px rgba(4, 24, 20, 0.2);
  display: grid;
  gap: 16px;
}

.ns-rv-login { gap: 10px; padding: 26px 22px 40px; }
.ns-rv-login label { font-size: 14px; font-weight: 500; }
.ns-rv-login input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(25, 21, 18, 0.16); background: #fffdf9; font-size: 17px; }

.ns-rv-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 10px 26px rgba(25, 21, 18, 0.07);
}

.ns-rv-photos { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: #f4ede3; }
.ns-rv-photos figure { position: relative; flex: 0 0 140px; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #e8e0d4; }
.ns-rv-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-rv-photos figure > span { display: grid; place-items: center; height: 100%; font-size: 12px; color: rgba(25, 21, 18, 0.5); }
.ns-rv-photos button { position: absolute; left: 8px; bottom: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(110, 33, 22, 0.88); color: #fff; font-size: 12px; font-weight: 600; }
.ns-rv-report .ns-rv-photos { margin: 4px -16px 10px; }

.ns-rv-body { padding: 16px; display: grid; gap: 10px; }
.ns-rv-body h2 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.ns-rv-body h2 span { font-weight: 500; color: rgba(25, 21, 18, 0.55); font-size: 18px; }
.ns-rv-body p { margin: 0; }
.ns-rv-muted { font-size: 13px; color: rgba(25, 21, 18, 0.55); }
.ns-rv-history { padding: 10px 12px; border-radius: 12px; background: rgba(217, 178, 95, 0.14); font-size: 14px; }
.ns-rv-bio { font-size: 15px; line-height: 1.5; }
.ns-rv-prompt { font-size: 14px; line-height: 1.5; }
.ns-rv-prompt b { display: block; font-size: 12px; text-transform: capitalize; color: var(--emerald); }

.ns-rv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; }
.ns-rv-facts dt { font-size: 12px; color: rgba(25, 21, 18, 0.5); }
.ns-rv-facts dd { margin: 0; font-size: 14px; font-weight: 500; }

.ns-rv-pledge { margin: 0; padding: 10px 12px; list-style: none; border-radius: 12px; background: #f4ede3; font-size: 13px; line-height: 1.7; }
.ns-rv-pledge .is-yes { color: var(--emerald); }
.ns-rv-pledge .is-no { color: #a3391f; font-weight: 600; }

.ns-rv-note { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.ns-rv-note textarea { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(25, 21, 18, 0.16); background: #fffdf9; font: inherit; font-size: 15px; font-weight: 400; resize: vertical; }

.ns-rv-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.ns-rv-actions button { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.ns-rv-actions .is-primary { background: var(--emerald); color: #fffaf3; }
.ns-rv-actions .is-quiet { background: rgba(25, 21, 18, 0.06); color: var(--ink); }
.ns-rv-actions .is-danger { background: rgba(163, 57, 31, 0.1); color: #a3391f; }
.ns-rv-actions button:disabled { opacity: 0.5; }

.ns-rv-link { justify-self: start; padding: 0; background: transparent; color: var(--emerald); font-weight: 600; text-decoration: underline; }
.ns-rv-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(138, 51, 36, 0.08); color: #6e2116; font-size: 14px; }

.ns-rv-toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0b4337;
  color: #fffaf3;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(5, 9, 11, 0.25);
}

.ns-rv-card > .ns-rv-muted { padding: 14px 16px 0; }

/* ---------- Status screen ---------- */
.ns-status-top { display: flex; align-items: center; justify-content: space-between; }
.ns-status-signout { padding: 7px 14px; border-radius: 999px; background: rgba(246, 240, 232, 0.12); color: var(--ivory); font-family: var(--font-ui); font-size: 13px; font-weight: 600; }

.ns-status-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 2px 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: rgba(25, 21, 18, 0.45);
}

.ns-status-steps li { display: grid; justify-items: center; gap: 6px; position: relative; }
.ns-status-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 2px;
  background: rgba(25, 21, 18, 0.12);
}
.ns-status-steps span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(25, 21, 18, 0.08);
  font-size: 14px;
}
.ns-status-steps .is-done { color: var(--emerald); }
.ns-status-steps .is-done span { background: var(--emerald); color: #fffaf3; }
.ns-status-steps .is-done::after { background: var(--emerald) !important; }
.ns-status-steps .is-now { color: var(--ink); }
.ns-status-steps .is-now span { background: #fffdf9; color: #b8892a; box-shadow: 0 0 0 2px var(--gold-soft); }

.ns-status-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(217, 178, 95, 0.45);
  background: rgba(217, 178, 95, 0.12);
}
.ns-status-note b { display: block; margin-bottom: 4px; font-size: 13px; color: #8a6418; }
.ns-status-note p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }

.ns-status-actions { margin-top: 18px; }
.ns-status-actions .ns-btn-quiet { color: var(--emerald); font-weight: 600; }
.ns-status-legal { text-align: center; color: rgba(25, 21, 18, 0.5); margin-top: 14px; }
.ns-status-legal a { color: rgba(25, 21, 18, 0.6); }

/* Account entry: separate sign-in, setup summary and the step editor. */
.ns-signin-screen .ns-lockup,
.ns-setup-home .ns-lockup { margin: 0 auto 22px; color: var(--emerald); }
.ns-signin-screen .ns-wordmark,
.ns-setup-home .ns-wordmark { color: var(--emerald); }
.ns-signin-screen .ns-lockup img,
.ns-setup-home .ns-lockup img { width: 42px; }
.ns-signin-screen .ns-btn-quiet { margin-top: 12px; }
.ns-setup-label { margin: 0 0 10px; color: var(--emerald); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ns-setup-next { margin: 24px 0; padding: 20px; border: 1px solid rgba(15,92,77,0.2); border-radius: 18px; background: rgba(15,92,77,0.05); }
.ns-setup-next span { display: block; margin-bottom: 7px; color: var(--emerald); font-size: 13px; font-weight: 600; }
.ns-setup-next strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.ns-setup-next p { margin: 10px 0 0; color: rgba(25,21,18,0.65); font-size: 14px; }
.ns-setup-link { display: block; margin: 0 0 20px; padding: 6px 0; background: transparent; color: var(--emerald); font: inherit; font-size: 13px; text-decoration: underline; }
.ns-setup-home .ns-actions { display: grid; gap: 12px; }

/* ---------- My profile ---------- */
.ns-mp-hero { padding-bottom: 52px; }
.ns-mp-me { position: relative; display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.ns-mp-avatar {
  flex: 0 0 auto; width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; border-radius: 50%;
  background: linear-gradient(160deg, #13604f, #072d25); box-shadow: 0 0 0 3px #f3d58f;
  font-family: var(--font-display); font-size: 32px; color: #f3d58f;
}
.ns-mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ns-mp-me h1 { margin: 0 0 6px !important; font-size: 32px !important; }
.ns-mp-me h1 span { font-weight: 500; color: rgba(246, 240, 232, 0.8); }
.ns-mp-state { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(246, 240, 232, 0.12); font-size: 13px !important; font-weight: 600; color: var(--ivory) !important; }
.ns-mp-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); }
.ns-mp-state.is-live i { background: #5fd39a; box-shadow: 0 0 0 3px rgba(95, 211, 154, 0.25); }

.ns-mp-strength {
  margin: 0 0 22px; padding: 16px; border-radius: 18px;
  background: linear-gradient(160deg, #13604f, #0b4337); color: var(--ivory);
  box-shadow: 0 12px 26px rgba(11, 67, 55, 0.22);
}
.ns-mp-strength-top { display: flex; justify-content: space-between; align-items: baseline; }
.ns-mp-strength-top b { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #f3d58f; }
.ns-mp-strength-top span { font-size: 20px; font-weight: 700; color: #fffaf3; }
.ns-mp-bar { height: 6px; margin: 10px 0; border-radius: 999px; background: rgba(246, 240, 232, 0.18); overflow: hidden; }
.ns-mp-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b8892a, #f3d58f); }
.ns-mp-strength p { margin: 0 0 12px; font-size: 14px; color: rgba(246, 240, 232, 0.82); }
.ns-mp-next {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: linear-gradient(180deg, #d8673f, #c2532f); color: #fff8f0; font-family: var(--font-ui); font-size: 14px; font-weight: 600; cursor: pointer;
}

.ns-mp-count { background: transparent !important; color: rgba(25, 21, 18, 0.5) !important; font-weight: 500 !important; }
.ns-mp-photos { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 8px; margin-bottom: 26px; }
.ns-mp-photos > * { aspect-ratio: 3 / 4; }
.ns-mp-photos .is-main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ns-mp-photos figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #e8e0d4; box-shadow: 0 6px 16px rgba(25, 21, 18, 0.1); }
.ns-mp-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-mp-photos em { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(5, 9, 11, 0.6); color: #fffaf3; font-size: 11px; font-style: normal; font-weight: 700; }
.ns-mp-photos figure button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(5, 9, 11, 0.6); color: #fffaf3; font-size: 17px; line-height: 1; }
.ns-mp-add {
  display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed rgba(184, 137, 42, 0.5); background: rgba(217, 178, 95, 0.08);
}
.ns-mp-add span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fffdf9; color: #b8892a; font-size: 20px; line-height: 1; box-shadow: 0 2px 6px rgba(25, 21, 18, 0.08); }
.ns-mp-add.is-main span { width: 44px; height: 44px; font-size: 26px; background: linear-gradient(180deg, #d8673f, #c2532f); color: #fff8f0; }
.ns-mp-add small { font-size: 13px; font-weight: 600; color: #8a6418; }
.ns-mp-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.ns-mp-head { margin-bottom: 12px; }
.ns-mp-link { background: transparent; color: var(--emerald); font-size: 14px; font-weight: 600; }

.ns-mp { display: grid; gap: 0; }
.ns-mp > article, .ns-mp > .ns-mp-empty-card, .ns-mp > form { margin-bottom: 12px; }
.ns-mp-card { padding: 16px; border-radius: 20px; background: #fffdf9; box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 10px 26px rgba(25, 21, 18, 0.06); }
.ns-mp-card > h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.ns-mp-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ns-mp-group-head h4 { margin: 0; font-size: 13px; font-weight: 600; color: var(--emerald); }
.ns-mp-group-head p { margin: 0 !important; }
.ns-mp-bio { margin: 6px 0 10px; font-size: 16px; line-height: 1.55; color: rgba(25, 21, 18, 0.88); }
.ns-mp-prompt h3 { margin-top: 6px !important; }

.ns-mp-pen { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(15, 92, 77, 0.08); color: var(--emerald); }
.ns-mp-pen:disabled { opacity: 0.35; }

.ns-mp-group { padding: 12px 0 2px; border-top: 1px solid rgba(25, 21, 18, 0.07); }
.ns-mp-card > h2 + .ns-mp-group { border-top: 0; padding-top: 4px; }
.ns-mp-group ul { margin: 8px 0 6px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ns-mp-group li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 13px 0 10px; border-radius: 999px; background: #f4ede3; font-size: 14px; font-weight: 500; }
.ns-mp-group li svg { color: var(--emerald); }

.ns-mp-empty {
  width: 100%; margin: 8px 0 4px; padding: 12px 14px; border-radius: 14px; text-align: left;
  border: 1.5px dashed rgba(184, 137, 42, 0.5); background: rgba(217, 178, 95, 0.08);
  color: #8a6418; font-family: var(--font-ui); font-size: 15px; font-weight: 600;
}
.ns-mp-empty-card { min-height: 64px; margin: 0; }

.ns-mp-account-title { margin: 22px 0 10px; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); }
.ns-mp-account { overflow: hidden; border-radius: 18px; background: #fffdf9; box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 8px 20px rgba(25, 21, 18, 0.05); }
.ns-mp-account > * {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 52px; padding: 0 16px; border-bottom: 1px solid rgba(25, 21, 18, 0.06);
  background: transparent; color: var(--ink); font-family: var(--font-ui); font-size: 15px; font-weight: 500; text-align: left;
}
.ns-mp-account > *:last-child { border-bottom: 0; }
.ns-mp-account b { font-weight: 400; font-size: 20px; color: rgba(25, 21, 18, 0.35); }
.ns-mp-account .ns-mp-locked { font-size: 13px; font-weight: 600; color: var(--emerald); }
.ns-mp-signout { color: #a3391f !important; font-weight: 600 !important; }
.ns-mp-help { margin: 10px 2px 0; font-size: 13px; color: rgba(25, 21, 18, 0.5); }

.ns-step.ns-mp-editor {
  min-height: 0; padding: 16px 16px 14px; border-radius: 20px;
  border: 1.5px solid var(--emerald); background: #fffdf9; box-shadow: 0 10px 26px rgba(11, 67, 55, 0.12);
}
.ns-mp-editor h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--emerald); }
.ns-mp-editor .field label { font-size: 13px; text-transform: none; letter-spacing: 0; }
.ns-mp-editor .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ns-mp-editor .checks { display: grid; gap: 8px; margin-bottom: 12px; }
.ns-mp-editor .check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f8f3ec; font-size: 15px; }
.ns-mp-editor .btn { min-height: 44px; border-radius: 999px; padding: 0 16px; background: rgba(15, 92, 77, 0.1); color: var(--emerald); font-weight: 600; }
.ns-mp-editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.ns-mp-editor-actions .ns-btn-primary { width: auto; min-height: 46px; padding: 0 22px; font-size: 15px; }
.ns-mp-editor-actions .ns-btn-quiet { min-height: 46px; padding: 0 14px; color: rgba(25, 21, 18, 0.6); }
.ns-mp-account a { text-decoration: none; }

/* Google Maps attribution, per Google's text-attribution rules: Roboto/sans, 400, 12-16px, #5E5E5E, one line, unmodified. */
.ns-gmaps-credit {
  margin: 2px 2px 0; padding: 0; text-align: right; white-space: nowrap;
  font-family: Roboto, var(--font-ui), sans-serif; font-size: 12px; font-weight: 400; font-style: normal;
  letter-spacing: normal; text-transform: none; color: #5e5e5e;
}
.ns-plan-card.is-confirmed .ns-gmaps-credit { margin: 6px 0 10px; text-align: left; }

/* Labelled Back on every sign-up screen. */
.ns-step-top { grid-template-columns: 1fr auto 1fr; }
.ns-step-top .ns-step-count { justify-self: end; }
.ns-back {
  width: auto; justify-self: start; display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; margin-left: -8px; padding: 0 12px 0 4px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
}
.ns-back:disabled { opacity: 0.5; }
.ns-gate-back { position: absolute; z-index: 2; top: calc(14px + env(safe-area-inset-top)); left: 16px; margin: 0; color: var(--ivory); }
.ns-gate-back:active { background: rgba(246, 240, 232, 0.1); }

/* ---------- Sign-up refinement (founder-approved direction): emerald, gold hairlines, fine outlines ---------- */
/* Back: a quiet text link, not a pill. */
.ns-back {
  height: 36px; padding: 0 8px 0 0; margin-left: -2px; border: 0; background: transparent; box-shadow: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink);
}
.ns-back svg { width: 18px; height: 18px; color: currentColor; }
.ns-back:active { transform: none; background: transparent; box-shadow: none; opacity: 0.6; }
.ns-gate-back { top: calc(18px + env(safe-area-inset-top)); left: 20px; border: 0; background: transparent; color: rgba(246, 240, 232, 0.88); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ns-gate-back svg { color: currentColor; }
.ns-gate-back:active { background: transparent; }

/* Continue and I Agree: label centred, arrow at the right edge. */
.ns-btn-primary:has(.ns-cta-arrow) { position: relative; display: flex; align-items: center; justify-content: center; }
.ns-btn-primary .ns-cta-arrow { position: absolute; right: 22px; top: 50%; margin-top: -10px; opacity: 0.9; }

/* Let's be clear: deep emerald, gold hairline cards, line icons. */
.gate-screen {
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(243, 213, 143, 0.12), transparent 70%),
    radial-gradient(120% 60% at 50% 100%, rgba(19, 96, 79, 0.45), transparent 70%),
    linear-gradient(180deg, #0c3029 0%, #082520 55%, #061d18 100%);
}
.gate-screen .gate-hero h1 { margin-top: 36px; text-align: center; color: #fbf4e8; font-size: 40px; }
.gate-screen .gate-hero h1 em { font-style: italic; font-weight: 500; color: #f3d58f; }
.gate-screen .gate-line { margin: 10px 0 26px; text-align: center; font-size: 19px; color: rgba(246, 240, 232, 0.92); }
.gate-screen .pledge-list { gap: 10px; border-top: 0; }
.gate-screen .pledge-item {
  grid-template-columns: 24px 1fr; gap: 14px; align-items: center; padding: 15px 16px;
  border: 1px solid rgba(243, 213, 143, 0.38); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.gate-screen .pledge-item span { width: 24px; height: 24px; display: grid; place-items: center; background: transparent; color: #e3c27a; }
.gate-screen .pledge-item p { font-family: var(--font-display); font-size: 16px; line-height: 1.35; color: #fbf4e8; }
.gate-screen .gate-cta { margin-top: 30px; }

/* Steps: emerald progress, fine emerald outlines. */
.ns-progress { height: 3px; background: rgba(15, 92, 77, 0.12); }
.ns-progress span { background: var(--emerald); }
.ns-step .field input,
.ns-step .field select,
.ns-step .field textarea {
  border: 1px solid rgba(15, 92, 77, 0.42); border-radius: 10px; background-color: #fffdf9; box-shadow: none;
}
.ns-step .field input:focus,
.ns-step .field select:focus,
.ns-step .field textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15, 92, 77, 0.12); }
.ns-btn-google { border: 1px solid rgba(15, 92, 77, 0.55); background: transparent; box-shadow: none; color: var(--ink); }
.ns-step .account-divider span { height: 0; background: none; border-top: 1px dotted rgba(15, 92, 77, 0.45); }

/* Choices: selected fills emerald with gold text. */
.ns-step .choice-card,
.ns-chip span { border: 1px solid rgba(15, 92, 77, 0.3); background: #fffdf9; }
.ns-step .choice-card:has(input:checked),
.ns-chip input:checked + span { border-color: var(--emerald); background: var(--emerald); box-shadow: 0 6px 14px rgba(15, 92, 77, 0.22); }
.ns-step .choice-card:has(input:checked) span,
.ns-chip input:checked + span { color: #f3d58f; }

/* Location: a slim dark privacy band with a lock. */
.ns-location-privacy {
  display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; row-gap: 2px; align-items: center;
  padding: 12px 14px; border: 0; border-radius: 12px;
  background: linear-gradient(160deg, #13604f, #0a3a30); box-shadow: 0 8px 20px rgba(11, 67, 55, 0.18);
}
.ns-location-privacy svg { grid-row: span 2; color: #f3d58f; }
.ns-location-privacy strong { font-size: 14px; font-weight: 600; color: #fbf4e8; }
.ns-location-privacy span { font-size: 12.5px; line-height: 1.4; color: rgba(246, 240, 232, 0.72); }
.ns-location-button { text-decoration: underline; text-underline-offset: 3px; color: var(--emerald) !important; font-weight: 500; }

/* ---------- Date planner ---------- */
.ns-dp { display: grid; gap: 24px; padding: 16px 16px calc(28px + env(safe-area-inset-bottom)); }

.ns-dp-hero {
  position: relative; overflow: hidden; display: grid; gap: 8px; padding: 22px 18px 18px; border-radius: 26px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(243, 213, 143, 0.16), transparent 55%), linear-gradient(160deg, #13604f, #0a3a30 70%, #072d25);
  color: var(--ivory); box-shadow: 0 18px 40px rgba(7, 45, 37, 0.28);
}
.ns-dp-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(243, 213, 143, 0.18); pointer-events: none; }
.ns-dp-hero h2 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.1; color: #f3d58f; }
.ns-dp-mid { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: rgba(246, 240, 232, 0.86); }
.ns-dp-mid svg { flex: 0 0 auto; color: #f3d58f; }
.ns-dp-tally { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.ns-dp-tally p { display: grid; gap: 4px; margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(246, 240, 232, 0.08); border: 1px solid rgba(246, 240, 232, 0.1); }
.ns-dp-tally span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fffaf3; }
.ns-dp-tally b { font-size: 12.5px; font-weight: 500; color: rgba(246, 240, 232, 0.72); }
.ns-dp-set { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #f3d58f; }
.ns-dp-hero.is-set h2 { color: #fffaf3; }
.ns-dp-when { margin: 0; font-family: var(--font-display); font-size: 19px; color: #f3d58f; }
.ns-dp-directions {
  justify-self: start; display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; padding: 0 18px; border-radius: 999px;
  background: #f3d58f; color: #0a3a30; font-size: 14px; font-weight: 700; text-decoration: none;
}
.ns-dp-hero .ns-gmaps-credit { margin: 4px 0 0; text-align: left; color: #ffffff; }

.ns-dp-marks { display: inline-flex; gap: 4px; }
.ns-dp-marks i, .ns-dp-tally i {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  font-size: 11px; font-style: normal; font-weight: 700; line-height: 1;
}
.ns-dp .is-me { background: var(--emerald); color: #fffaf3; box-shadow: 0 0 0 2px rgba(246, 240, 232, 0.25); }
.ns-dp .is-them { background: #c2532f; color: #fff8f0; }

.ns-dp-section { display: grid; gap: 10px; }
.ns-dp-section header { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px; }
.ns-dp-section h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); }
.ns-dp-section header p { margin: 0; font-size: 13px; color: rgba(25, 21, 18, 0.5); }

.ns-dp-list { overflow: hidden; border-radius: 20px; background: #fffdf9; box-shadow: 0 1px 2px rgba(25, 21, 18, 0.05), 0 10px 26px rgba(25, 21, 18, 0.06); }
.ns-dp-row { position: relative; display: flex; align-items: stretch; border-bottom: 1px solid rgba(25, 21, 18, 0.07); transition: background 0.15s ease; }
.ns-dp-row.is-picked { background: rgba(15, 92, 77, 0.05); }
.ns-dp-row.is-picked::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--emerald); }
.ns-dp-row > button {
  flex: 1; min-width: 0; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 12px;
  padding: 14px 8px 14px 16px; background: transparent; text-align: left; color: var(--ink); font-family: var(--font-ui);
}
.ns-dp-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(25, 21, 18, 0.22); background: #fff; transition: background 0.15s ease, border-color 0.15s ease; }
.ns-dp-row.is-picked .ns-dp-check {
  border-color: var(--emerald);
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fffaf3' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ns-dp-main { min-width: 0; display: grid; gap: 2px; }
.ns-dp-main strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ns-dp-main strong i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; vertical-align: 2px; font-size: 10px; font-style: normal; font-weight: 700; }
.ns-dp-main small { overflow: hidden; font-size: 13px; color: rgba(25, 21, 18, 0.58); white-space: nowrap; text-overflow: ellipsis; }
.ns-dp-main em { font-size: 12.5px; font-style: normal; font-weight: 600; color: #8a6418; }
.ns-dp-map { flex: 0 0 48px; display: grid; place-items: center; border-left: 1px solid rgba(25, 21, 18, 0.06); color: var(--emerald); }
.ns-dp-map:active { background: rgba(15, 92, 77, 0.06); }
.ns-dp-empty { margin: 0; padding: 18px 16px; font-size: 14px; color: rgba(25, 21, 18, 0.6); }

.ns-dp-add summary {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--emerald);
}
.ns-dp-add summary::-webkit-details-marker { display: none; }
.ns-dp-add summary span {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px dashed rgba(15, 92, 77, 0.5); font-size: 15px; line-height: 1;
}
.ns-dp-add[open] summary { min-height: 44px; }
.ns-dp-add form { display: flex; gap: 8px; padding: 0 12px 12px; }
.ns-dp-add input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(25, 21, 18, 0.14);
  background: #fff; color: var(--ink); font: 500 15px var(--font-ui);
}
.ns-dp-add input:focus { outline: 2px solid rgba(15, 92, 77, 0.35); outline-offset: 1px; }
.ns-dp-add form button { min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--emerald); color: #fffaf3; font: 600 15px var(--font-ui); }
.ns-dp-add.is-loose { border-radius: 16px; border: 1px dashed rgba(15, 92, 77, 0.3); }
.ns-dp-add.is-loose[open] { border-style: solid; border-color: rgba(25, 21, 18, 0.08); background: #fffdf9; }
.ns-dp-credit { display: flex; justify-content: flex-end; padding: 8px 14px 10px; border-top: 1px solid rgba(25, 21, 18, 0.06); }
.ns-dp-credit .ns-gmaps-credit { margin: 0; }

.ns-dp-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ns-dp-time {
  position: relative; display: grid; align-content: center; gap: 3px; min-height: 64px; padding: 10px 12px; border-radius: 16px;
  border: 1px solid rgba(25, 21, 18, 0.06); background: #fffdf9; box-shadow: 0 1px 2px rgba(25, 21, 18, 0.04), 0 6px 16px rgba(25, 21, 18, 0.05);
  color: var(--ink); text-align: left; font-family: var(--font-ui); transition: background 0.15s ease, transform 0.15s ease;
}
.ns-dp-time:active { transform: scale(0.98); }
.ns-dp-time small { font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: rgba(25, 21, 18, 0.55); }
.ns-dp-time strong { font-size: 16px; font-weight: 700; }
.ns-dp-time.is-picked { border-color: var(--emerald); background: var(--emerald); color: #fffaf3; box-shadow: 0 10px 22px rgba(15, 92, 77, 0.25); }
.ns-dp-time.is-picked small { color: rgba(255, 250, 243, 0.75); }
.ns-dp-time .ns-dp-marks { position: absolute; top: 7px; right: 7px; }
.ns-dp-time .ns-dp-marks i { width: 18px; height: 18px; font-size: 10px; }
.ns-dp-time.is-picked .is-them { box-shadow: 0 0 0 2px var(--emerald); }

.ns-dp-safety { display: flex; align-items: flex-start; gap: 8px; margin: 0 4px; font-size: 13px; line-height: 1.45; color: rgba(25, 21, 18, 0.6); }
.ns-dp-safety svg { flex: 0 0 auto; margin-top: 1px; color: var(--emerald); }
.ns-dp-done {
  justify-self: center; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(15, 92, 77, 0.3);
  background: transparent; color: var(--emerald); font: 600 15px var(--font-ui);
}

/* When: calendar-style date tiles in one swipeable row. */
.ns-dp-days {
  display: flex; gap: 10px; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto;
  scroll-snap-type: x proximity; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.ns-dp-days::-webkit-scrollbar { display: none; }
.ns-dp-day {
  position: relative; flex: 0 0 86px; display: grid; justify-items: center; align-content: start; gap: 1px;
  padding: 12px 6px 12px; border-radius: 18px; scroll-snap-align: start;
  border: 1px solid rgba(15, 92, 77, 0.16); background: #fffdf9; color: var(--ink);
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.04), 0 8px 18px rgba(25, 21, 18, 0.06);
  font-family: var(--font-ui); transition: transform 0.15s ease, background 0.15s ease;
}
.ns-dp-day:active { transform: scale(0.97); }
.ns-dp-day small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(25, 21, 18, 0.5); }
.ns-dp-num { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.05; color: var(--emerald); }
.ns-dp-day b {
  margin-top: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(15, 92, 77, 0.08);
  font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--emerald);
}
.ns-dp-who { display: flex; gap: 3px; min-height: 18px; margin-top: 8px; }
.ns-dp-who i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-style: normal; font-weight: 700; }
.ns-dp-day.is-picked { border-color: var(--emerald); background: linear-gradient(170deg, #13604f, #0a3a30); box-shadow: 0 12px 24px rgba(11, 67, 55, 0.28); }
.ns-dp-day.is-picked small { color: rgba(246, 240, 232, 0.7); }
.ns-dp-day.is-picked .ns-dp-num { color: #fbf4e8; }
.ns-dp-day.is-picked b { background: #f3d58f; color: #0a3a30; }
.ns-dp-day.is-picked .is-me { background: #fbf4e8; color: var(--emerald); box-shadow: none; }
.ns-dp-day.is-both { box-shadow: 0 0 0 2px #f3d58f, 0 12px 24px rgba(11, 67, 55, 0.28); }
.ns-dp-day.is-other { justify-content: center; align-content: center; gap: 8px; border-style: dashed; border-color: rgba(15, 92, 77, 0.35); background: transparent; box-shadow: none; }
.ns-dp-day.is-other small { text-transform: none; letter-spacing: 0; font-size: 12px; line-height: 1.3; color: var(--emerald); }
.ns-dp-plus { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed rgba(15, 92, 77, 0.5); font-size: 18px; color: var(--emerald); }
.ns-dp-other { display: flex; gap: 8px; }
.ns-dp-other[hidden] { display: none; }
.ns-dp-other input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(15, 92, 77, 0.42); background: #fffdf9; color: var(--ink); font: 500 15px var(--font-ui); }
.ns-dp-other button { min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--emerald); color: #fffaf3; font: 600 15px var(--font-ui); }

/* Match banner: shown when you both choose the same time or place. */
.ns-dp-match {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(120deg, #f7e2ad, #f3d58f 60%, #e9c06f); color: #3a2a08;
  box-shadow: 0 10px 24px rgba(184, 137, 42, 0.25);
}
.ns-dp-match-icons { display: flex; }
.ns-dp-match-icons i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-style: normal; font-weight: 700; box-shadow: 0 0 0 2px #f3d58f; }
.ns-dp-match-icons i + i { margin-left: -6px; }
.ns-dp-match p { margin: 0; display: grid; gap: 1px; font-size: 13.5px; line-height: 1.4; }
.ns-dp-match strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #0a3a30; }

/* Foot: picks save live, so the action is simply going back. */
.ns-dp-foot { display: grid; gap: 10px; }
.ns-dp-foot p { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 13px; color: rgba(25, 21, 18, 0.55); }
.ns-dp-foot p i { width: 7px; height: 7px; border-radius: 50%; background: #3fae7f; box-shadow: 0 0 0 3px rgba(63, 174, 127, 0.18); }
.ns-dp-foot .ns-dp-done { justify-self: stretch; border: 0; background: var(--emerald); color: #fbf4e8; min-height: 52px; box-shadow: 0 10px 22px rgba(15, 92, 77, 0.22); }
.ns-dp-credit { align-items: center; justify-content: space-between; gap: 12px; }
.ns-dp-credit .ns-gmaps-credit { margin-left: auto; }
.ns-dp-sources { margin: 0; font-size: 12px; color: #5e5e5e; }
.ns-dp-sources a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ns-dp-hero .ns-dp-sources { color: rgba(255, 255, 255, 0.86); }

/* ---------- It's a match ---------- */
.ns-mm {
  position: relative; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(20px + env(safe-area-inset-top)) 24px calc(26px + env(safe-area-inset-bottom));
  background:
    radial-gradient(70% 40% at 50% 30%, rgba(243, 213, 143, 0.2), transparent 70%),
    radial-gradient(120% 60% at 50% 100%, rgba(19, 96, 79, 0.5), transparent 70%),
    linear-gradient(180deg, #0c3029 0%, #082520 55%, #061d18 100%);
  color: var(--ivory);
}
.ns-mm-glow {
  position: absolute; left: 50%; top: 22%; width: 340px; height: 340px; margin-left: -170px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(243, 213, 143, 0.16), transparent 65%);
  animation: ns-mm-breathe 3.2s ease-in-out infinite;
}
@keyframes ns-mm-breathe { 50% { transform: scale(1.08); opacity: 0.75; } }
.ns-mm-top { align-self: center; }
.ns-mm-pair { position: relative; display: flex; align-items: center; justify-content: center; margin: 48px 0 30px; }
.ns-mm-pair figure {
  width: 132px; height: 132px; margin: 0; overflow: hidden; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(160deg, #13604f, #072d25); box-shadow: 0 0 0 3px #f3d58f, 0 18px 40px rgba(0, 0, 0, 0.4);
  font-family: var(--font-display); font-size: 48px; color: #f3d58f;
}
.ns-mm-pair img { width: 100%; height: 100%; object-fit: cover; }
.ns-mm-pair .is-me { transform: rotate(-6deg) translateX(14px); animation: ns-mm-in-left 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.ns-mm-pair .is-them { transform: rotate(6deg) translateX(-14px); animation: ns-mm-in-right 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes ns-mm-in-left { from { transform: rotate(-14deg) translateX(-60px); opacity: 0; } }
@keyframes ns-mm-in-right { from { transform: rotate(14deg) translateX(60px); opacity: 0; } }
.ns-mm-heart {
  position: absolute; z-index: 2; left: 50%; bottom: -14px; width: 46px; height: 46px; margin-left: -23px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(180deg, #d8673f, #c2532f); color: #fff8f0; box-shadow: 0 0 0 3px #f3d58f, 0 10px 22px rgba(194, 83, 47, 0.45);
  animation: ns-mm-pop 0.5s 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}
@keyframes ns-mm-pop { from { transform: scale(0); } }
.ns-mm h1 { margin: 10px 0 0; font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1.05; color: #fbf4e8; }
.ns-mm h1 em { font-style: italic; font-weight: 500; color: #f3d58f; }
.ns-mm-line { margin: 10px 0 0; font-size: 17px; color: rgba(246, 240, 232, 0.86); }
.ns-mm-idea {
  width: 100%; max-width: 360px; display: grid; gap: 6px; margin-top: 26px; padding: 16px 18px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(243, 213, 143, 0.38); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.ns-mm-idea small { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: #e3c27a; }
.ns-mm-idea p { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.35; color: #fbf4e8; }
.ns-mm-idea span { font-size: 13px; color: rgba(246, 240, 232, 0.65); }
.ns-mm-actions { width: 100%; max-width: 360px; display: grid; gap: 6px; margin-top: auto; padding-top: 28px; }
.ns-mm-later { min-height: 48px; background: transparent; color: rgba(246, 240, 232, 0.8); font: 600 15px var(--font-ui); }
@media (prefers-reduced-motion: reduce) {
  .ns-mm-glow, .ns-mm-pair figure, .ns-mm-heart { animation: none; }
}

/* ---------- Discover and profile view: gold hairlines, emerald accents ---------- */
.ns-disc-hero { padding-bottom: 38px; }
.ns-disc-hero h1 { font-size: 40px; }
.ns-disc-cover { box-shadow: 0 18px 40px rgba(7, 45, 37, 0.28); }
.ns-disc-cover::before {
  content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(243, 213, 143, 0.35);
}
.ns-disc-name small { display: inline-flex; align-items: center; gap: 5px; }
.ns-disc-name small svg { color: #f3d58f; }

.ns-pv-tags span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(184, 137, 42, 0.45); background: rgba(243, 213, 143, 0.12); color: #6f4f12; font-size: 13.5px; font-weight: 600;
}
.ns-pv-tags span svg { color: #b8892a; }
.ns-pv-tags span.is-goal { border-color: rgba(15, 92, 77, 0.3); background: transparent; color: var(--emerald); }

.ns-pv-prompt { border: 1px solid rgba(184, 137, 42, 0.28); box-shadow: 0 1px 2px rgba(25, 21, 18, 0.04), 0 10px 24px rgba(25, 21, 18, 0.05); }
.ns-pv-prompt p { color: #8a6418; }

.ns-pv-basics { padding: 18px 18px 8px; border: 1px solid rgba(15, 92, 77, 0.12); }
.ns-pv-basics h2 { margin-bottom: 6px; }
.ns-pv-basics ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ns-pv-basics li {
  min-height: 0; align-items: flex-start; gap: 10px; padding: 12px 0; border-radius: 0; border-top: 1px solid rgba(25, 21, 18, 0.07);
  background: transparent; font-size: 13.5px; line-height: 1.35;
}
.ns-pv-basics li svg { box-sizing: content-box; width: 14px; height: 14px; margin-top: -2px; padding: 5px; border-radius: 50%; background: rgba(15, 92, 77, 0.08); }
.ns-pv-photo { position: relative; }
.ns-pv-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(243, 213, 143, 0.35); pointer-events: none; }
.ns-pv-interests span { border: 1px solid rgba(15, 92, 77, 0.22); background: #fffdf9; }

.ns-disc-pass { border: 1px solid rgba(15, 92, 77, 0.25); color: var(--emerald); }
.ns-disc-like { box-shadow: 0 0 0 3px rgba(243, 213, 143, 0.9), 0 14px 30px rgba(194, 83, 47, 0.4); }
