:root {
  color-scheme: light;
  --canvas: #fff8ee;
  --surface: #fffdf9;
  --peach: #ffdfc4;
  --rose: #fae1e5;
  --border: #edd1c8;
  --ink: #462838;
  --muted: #73545d;
  --accent: #ad3453;
  --accent-hover: #942843;
  --on-accent: #fffdf9;
  --focus: #873057;
  --nav-height: 56px;
  --content-width: 880px;
}
html, body {
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Noto Sans Devanagari", sans-serif;
}
button, input, select, .sec-more { font-family: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible,
.list-row:focus-visible, .rail-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.page {
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  padding-bottom: 0;
}
.nav {
  height: var(--nav-height);
  padding-inline: 16px;
  background: var(--canvas);
  border-color: var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-inner { max-width: var(--content-width); }
.nav-logo { cursor: default; gap: 6px; }
.logo-icon { width: 28px; height: 28px; }
.logo-text {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: var(--accent);
}
.nav-controls { display: flex; align-items: center; gap: 8px; }
.age-pill {
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--accent);
  font: 700 11px/1.5 system-ui, sans-serif;
  padding: 2px 7px;
}
.language {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  min-height: 38px;
  max-width: 46vw;
}
.hero {
  padding: 20px 16px 6px;
  background: radial-gradient(ellipse at 90% 0%, var(--peach), transparent 60%);
}
.hero-content { max-width: var(--content-width); }
.hero-copy { max-width: 460px; }
.hero-title {
  color: var(--ink);
  font-size: clamp(28px, 8.1vw, 47px);
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin: 0 0 8px;
}
.hero-title .highlight {
  background: none;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}
.hero-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 43ch;
}
.featured-card {
  margin-top: 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
  animation: none;
  box-shadow: 0 10px 24px #76374b12;
}
.featured-media { position: relative; background: var(--peach); }
.featured-img { height: clamp(190px, 54vw, 300px); object-position: 50% 50%; }
.featured-label {
  inset-inline-start: 10px;
  inset-inline-end: auto;
  top: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: normal;
  box-shadow: none;
}
.featured-info { background: var(--surface); padding: 9px 11px 11px; }
.featured-tag { color: var(--muted); margin: 0 0 7px; font-size: 13px; line-height: 1.4; }
.profile-cta {
  display: flex;
  width: 100%;
  min-height: 58px;
  height: auto;
  align-items: center;
  text-align: start;
  gap: 10px;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 6px 12px 6px 8px;
  padding-inline: 8px 12px;
  font: inherit;
}
.profile-cta:hover, .profile-cta:active { background: var(--accent-hover); opacity: 1; }
.cta-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--on-accent);
  overflow: hidden;
  background: var(--rose);
}
.cta-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 37%;
  transform: scale(1.55);
}
.featured-action .cta-photo { object-position: center 50%; transform: scale(2.15); }
.cta-copy { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.cta-person { font-size: 11px; font-weight: 650; line-height: 1.2; }
.cta-copy strong { font-size: 15px; line-height: 1.35; font-weight: 780; overflow-wrap: anywhere; }
.cta-arrow, .row-arrow {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
[dir="rtl"] .cta-arrow, [dir="rtl"] .row-arrow { transform: rotate(-135deg); }
.rail-section, .list-section { max-width: calc(var(--content-width) + 32px); padding-inline: 16px; padding-top: 18px; }
#more-profiles { scroll-margin-top: calc(var(--nav-height) + 6px); }
.sec-head { align-items: center; margin-bottom: 8px; gap: 12px; }
.sec-title { line-height: 1.4; }
.sec-more { color: var(--accent); text-decoration: none; display: inline-grid; place-items: center; min-height: 36px; }
.rail { padding-block: 3px 8px; }
.rail-card {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-align: start;
  padding: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}
.rail-card:hover { transform: none; border-color: var(--accent); }
.rail-img { height: 128px; background: var(--peach); }
.rail-foot { display: flex; flex-direction: column; width: 100%; position: static; background: var(--surface); padding: 7px 8px 8px; }
.rail-tag { color: var(--muted); }
.list-row {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border);
  text-align: start;
}
.list-row:hover { background: var(--rose); border-color: var(--border); }
.list-thumb { flex: 0 0 auto; background: var(--peach); }
.list-main { display: flex; flex-direction: column; gap: 2px; }
.list-tag { color: var(--muted); }
.row-arrow { color: var(--accent); margin-inline-end: 4px; }
.final-cta-card { background: var(--rose); border-color: var(--border); padding: 24px 16px; }
.final-cta-sub { color: var(--muted); margin-bottom: 16px; }
.page-footer {
  color: var(--muted);
  border-color: var(--border);
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
.sticky-bar {
  background: var(--canvas);
  border-color: var(--border);
  padding: 7px 16px calc(8px + env(safe-area-inset-bottom, 0px));
}
.sticky-bar-inner { display: block; max-width: 480px; }
.sticky-btn.profile-cta { min-height: 51px; padding-block: 4px; }
.sticky-btn .cta-avatar { width: 36px; height: 36px; }
.privacy-link,
.panel .privacy-link,
.policy-close {
  color: var(--accent);
}
.overlay { background: #5a2f4266; }
.panel {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: 0 14px 34px #4d263a26;
}
.panel p, .guide-steps { color: var(--muted); }
.close, .policy-close {
  background: var(--surface);
  border-color: var(--border);
  color: var(--accent);
}
.panel input:not([type="range"]) {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--border);
}
.panel .cta-btn {
  background: var(--accent);
  color: var(--on-accent);
  height: auto;
  min-height: 44px;
}
.panel .cta-btn:hover { background: var(--accent-hover); }
.age { background: linear-gradient(#fff8ee99, #f6c4c5b3), var(--age-img) center/cover; }
.age-sheet { background: var(--surface); color: var(--ink); border-color: var(--border); }
.age-brand { color: var(--accent); border-color: var(--border); }
.age-brand span, .slider-shell { border-color: var(--border); }
.age-sheet p, .slider-shell span { color: var(--muted); }
.slider-shell { background: var(--canvas); }
.slider-shell input::-webkit-slider-thumb { background: var(--accent); box-shadow: none; }
.slider-shell input::-moz-range-thumb { background: var(--accent); }
#heading { color: var(--accent); }
#policy p { color: var(--muted); }
#policy a { color: var(--accent); }
@media (max-width: 350px) {
  .hero { padding-top: 14px; }
  .hero-sub { font-size: 14px; }
  .featured-img { height: 188px; }
  .rail-section, .list-section { padding-top: 14px; }
}
@media (min-width: 768px) {
  .hero { padding-block: 32px 14px; }
  .hero-content { gap: 36px; }
  .featured-card { margin-top: 0; flex-basis: 410px; }
  .featured-img { height: 300px; }
  .sticky-bar-inner { max-width: 500px; }
}
