:root {
  --bg: #f8fbff;
  --bg-2: #ffffff;
  --ink: #172033;
  --muted: #64748b;
  --line: rgba(23, 32, 51, .1);
  --gold: #f59e0b;
  --gold-dark: #b45309;
  --green: #12876a;
  --green-dark: #11362e;
  --green-mid: #0f5d49;
  --coral: #ff6f61;
  --coral-dark: #b94b42;
  --card: rgba(255,255,255,.86);
  --shadow: 0 24px 80px rgba(255, 138, 76, .16);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6f8 52%, #f8fbff 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
main { width: min(1180px, calc(100% - 24px)); margin: 0 auto 28px; }
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  position: relative;
  z-index: 30;
}
.brand { font-weight: 800; letter-spacing: -.01em; font-size: 1.2rem; display: inline-flex; align-items: center; }
.brand img, .brand-logo { height: 112px; width: auto; display: block; transition: transform .18s ease; }
.brand:hover img { transform: scale(1.05) rotate(-1deg); }
.top-pill {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 6px 7px 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 250, 246, .9); backdrop-filter: blur(18px);
  box-shadow: 0 6px 20px rgba(193, 50, 90, .07);
}
.top-link { color: var(--muted); font-weight: 750; font-size: .9rem; }
.top-link:hover { color: var(--ink); }
.menu-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; box-shadow: 0 4px 12px rgba(255,138,76,.14); transition: transform .14s ease;
}
.menu-btn span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-drawer {
  position: absolute; top: calc(100% + 9px); right: 0; z-index: 90; display: none; min-width: 180px;
  flex-direction: column; gap: 2px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 8px; box-shadow: var(--shadow);
}
.menu-drawer.open { display: flex; }
.menu-drawer a, .menu-drawer .menu-link-btn {
  padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; text-align: left;
  background: transparent; border: 0; font: inherit; cursor: pointer; width: 100%;
}
.menu-drawer a:hover, .menu-drawer .menu-link-btn:hover { background: rgba(255,138,76,.12); }
.menu-join { background: var(--green) !important; color: #fff !important; text-align: center !important; font-weight: 850; margin-top: 4px; }

/* Inline desktop nav (replaces the hamburger on wide screens) */
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links .top-link { padding: 8px 13px; border-radius: 999px; font-size: .92rem; line-height: 1; }
.nav-links .top-link:hover { background: rgba(255,138,76,.12); color: var(--ink); }
.nav-links .nav-join { background: var(--green); color: #fff; margin-left: 6px; }
.nav-links .nav-join:hover { background: #0f6f57; color: #fff; }
.nav-links form.inline { display: inline-flex; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .app-top .pill-inline, .app-top .menu-btn, .app-top .menu-drawer { display: none !important; }
}

/* Splash screen on page load */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, var(--green-mid), var(--green-dark) 72%);
  opacity: 1; transition: opacity .5s ease;
}
.splash img { width: min(560px, 78vw); height: auto; animation: splash-pop .7s cubic-bezier(.2,.9,.3,1.3) both; }
.splash.hide { opacity: 0; pointer-events: none; }
@keyframes splash-pop {
  0% { transform: scale(.82) translateY(10px); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.nav nav { font-size: .95rem; }
.inline { display: inline; }
.link-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.flash {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero { display: grid; grid-template-columns: 1.3fr .8fr; gap: 24px; align-items: stretch; padding: 48px 0; }
.hero h1, .page-title h1, .auth-card h1 { font-size: clamp(2.5rem, 6vw, 5.7rem); line-height: 1.02; letter-spacing: -.02em; margin: 0; max-width: 900px; }
.hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 680px; line-height: 1.55; }
.eyebrow { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .78rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15,77,61,.18);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(15,77,61,.28); filter: saturate(1.1) brightness(1.03); }
.button:active { transform: translateY(1px) scale(.98); box-shadow: 0 8px 18px rgba(15,77,61,.22); filter: brightness(.97); }
.button:focus-visible { outline: 3px solid rgba(255,111,97,.5); outline-offset: 2px; }
.button.ghost { background: transparent; color: var(--green); border: 1px solid rgba(15,77,61,.28); box-shadow: none; }
.button.ghost:hover { background: rgba(15,77,61,.07); box-shadow: none; }
.button.mini { min-height: 34px; padding: 0 14px; font-size: .88rem; }
.button.full { width: 100%; margin-top: 12px; }

/* Contact action buttons */
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.contact-actions .button { min-height: 40px; padding: 0 12px; font-size: .9rem; border-radius: 12px; box-shadow: none; }
.button.whatsapp { background: #25d366; box-shadow: 0 14px 30px rgba(37,211,102,.3); }
.button.whatsapp:hover { box-shadow: 0 20px 40px rgba(37,211,102,.42); }
.button.call { background: #ff6f61; box-shadow: 0 14px 30px rgba(255,111,97,.3); }
.button.call:hover { box-shadow: 0 20px 40px rgba(255,111,97,.42); }
.contact-icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.18em; fill: currentColor; }
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(14px);
}
.hero-card { padding: 32px; border-radius: 36px; background: linear-gradient(145deg, var(--green-dark) 0%, var(--green-mid) 58%, var(--green) 100%); color: #fff; box-shadow: 0 24px 70px rgba(15,77,61,.32); display: flex; flex-direction: column; justify-content: space-between; }
.hero-card h2 { font-size: 2.2rem; line-height: 1.05; letter-spacing: -.015em; margin: 18px 0 8px; }
.spark { color: #fff3d6; font-weight: 900; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.stats span { padding: 12px 14px; background: rgba(255,255,255,.12); border-radius: 18px; }
.stats.vertical { flex-direction: column; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 32px 0 18px; }
.section-head h2, .card h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.015em; }
.grid, .browse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.profile-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 9px; min-height: 218px; padding: 15px;
  background: #0f766e;
  color: #fff;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
/* Clean mixed tile cycle for Browse: one green, then cooler/clear accents. */
.profile-card:nth-child(8n+1) { background: linear-gradient(145deg, #0f766e 0%, #14b8a6 100%); }
.profile-card:nth-child(8n+2) { background: linear-gradient(145deg, #1d4ed8 0%, #38bdf8 100%); }
.profile-card:nth-child(8n+3) { background: linear-gradient(145deg, #7c3aed 0%, #c084fc 100%); }
.profile-card:nth-child(8n+4) { background: linear-gradient(145deg, #be123c 0%, #fb7185 100%); }
.profile-card:nth-child(8n+5) { background: linear-gradient(145deg, #4338ca 0%, #818cf8 100%); }
.profile-card:nth-child(8n+6) { background: linear-gradient(145deg, #0369a1 0%, #22d3ee 100%); }
.profile-card:nth-child(8n+7) { background: linear-gradient(145deg, #9d174d 0%, #f472b6 100%); }
.profile-card:nth-child(8n+8) { background: linear-gradient(145deg, #334155 0%, #64748b 100%); }
.profile-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.2), transparent 36%);
  pointer-events: none;
}
.profile-card:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(30,41,59,.18); }
.profile-card[hidden] { display: none !important; }
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chip, .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 11px; font-size: .8rem; font-weight: 800; background: rgba(255,169,59,.2); color: var(--gold-dark); }
.pill { background: rgba(18,135,106,.14); color: var(--green); }
.ref { color: var(--muted); font-size: .82rem; font-weight: 700; }
.avatar { width: 78px; height: 78px; border-radius: 26px; object-fit: cover; background: #efe3ce; }
.avatar.placeholder { display: grid; place-items: center; font-weight: 900; font-size: 2rem; color: var(--gold-dark); }
.avatar.large { width: 150px; height: 150px; border-radius: 42px; }
.profile-card .chip { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.32); }
.profile-card .ref { color: rgba(255,255,255,.72); }
.profile-card h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.14; color: #fff; }
.profile-card p {
  color: rgba(255,255,255,.86); line-height: 1.35; margin: 0; white-space: normal; font-size: .88rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.meta { display: flex; gap: 8px; flex-wrap: wrap; color: rgba(255,255,255,.8); font-size: .9rem; }
.meta span { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px 8px; font-size: .82rem; }
.mini-facts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.mini-facts span { padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: .76rem; font-weight: 750; }
.profile-actions { display: grid; grid-template-columns: 1fr 36px 36px; gap: 7px; align-items: center; margin-top: 2px; }
.tile-view, .tile-icon {
  min-height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 850; font-size: .84rem;
}
.tile-view { background: #fff; color: var(--ink); padding: 0 12px; }
.tile-icon { color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.2); }
.tile-icon svg { width: 17px; height: 17px; fill: currentColor; }
.tile-icon.wa { color: #25d366; background: #fff; border-color: transparent; }
.tile-icon.call { color: var(--coral); background: #fff; border-color: transparent; }
.blur-line { padding: 12px; border-radius: 16px; background: repeating-linear-gradient(45deg, rgba(29,25,20,.08), rgba(29,25,20,.08) 6px, rgba(29,25,20,.04) 6px, rgba(29,25,20,.04) 12px); color: var(--muted); font-weight: 800; }
.blur-line.open { background: rgba(15,77,61,.1); color: var(--green); }
.page-title { margin: 18px 0 12px; }
.page-title.narrow { max-width: 760px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr .7fr .7fr auto; gap: 8px; margin-bottom: 12px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.75);
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
label { display: grid; gap: 8px; font-weight: 750; color: var(--ink); }
.form { display: grid; gap: 16px; max-width: 920px; }
.form.compact { max-width: 520px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 600; color: var(--muted); }
.check input { width: auto; margin-top: 4px; }
.detail-layout { display: grid; grid-template-columns: 310px 1fr; gap: 14px; align-items: start; margin-top: 10px; }
.sticky-card { position: sticky; top: 110px; }
.sticky-card h1 { margin: 12px 0 6px; font-size: 2rem; letter-spacing: -.03em; line-height: 1.04; }
.detail-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.detail-card h2 { margin-top: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.45); }
.field dt { color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.field dd { margin: 5px 0 0; line-height: 1.45; white-space: pre-line; }
.bio-text { white-space: pre-line; color: var(--muted); line-height: 1.7; }
.unlock-box, .locked-box { padding: 13px; border-radius: 16px; margin-top: 12px; line-height: 1.45; white-space: pre-line; }
.unlock-box { background: rgba(15,77,61,.1); color: var(--green); }
.locked-box { background: rgba(184,138,59,.13); color: var(--gold-dark); }
/* Auth pages — split brand panel + form */
.auth-shell { max-width: 384px; margin: 14px auto 0; display: grid; gap: 14px; padding: 0 6px; }
.auth-aside { display: none; }
.auth-card {
  position: relative; overflow: hidden; display: grid; gap: 11px; text-align: center;
  padding: 22px 14px 18px; border-radius: 24px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,138,76,.18), transparent 62%),
    linear-gradient(180deg, #fffdfa, #fff4ec);
  border: 1px solid rgba(255,138,76,.2);
  box-shadow: 0 20px 46px -16px rgba(255,111,97,.34), 0 4px 12px rgba(120,40,70,.08);
}
.auth-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, #ff8a5b, #ff6f61, #f0a93b);
}
.auth-card h1 { font-size: 1.7rem; margin: 2px 0; }
/* narrower, deeper inputs */
.auth-card .form.compact { gap: 10px; max-width: 272px; width: 100%; margin: 2px auto 0; }
.google-auth {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 22px;
  background: rgba(18,135,106,.12);
  border: 1.5px solid rgba(18,135,106,.42);
  box-shadow: 0 14px 30px -22px rgba(15,77,61,.7);
}
.auth-divider {
  width: 100%;
  max-width: 272px;
  margin: 2px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.auth-divider span { white-space: nowrap; }
.auth-card input {
  height: 52px; border-radius: 10px; padding: 0 16px; background: #fff;
  border: 1.5px solid rgba(42,32,24,.14); box-shadow: inset 0 1px 2px rgba(42,32,24,.06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-card input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,111,97,.18); }
.auth-card .button.full { max-width: 272px; margin: 4px auto 0; }

/* Free-tier sell below the form */
.auth-perks {
  position: relative; overflow: hidden; text-align: center; padding: 18px 18px 20px; border-radius: 22px;
  color: #f6fffb; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 60%, #14785d 100%);
  box-shadow: 0 18px 42px -14px rgba(15,77,61,.5);
}
.auth-perks-badge {
  display: inline-block; font-size: .66rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase;
  color: #11362e; background: rgba(255,212,128,.95); padding: 5px 12px; border-radius: 999px;
}
.auth-perks h3 { margin: 12px 0 0; font-size: 1.5rem; letter-spacing: -.02em; font-weight: 850; }
.auth-perks h3 strong { color: #ffd480; }
.auth-perks ul { list-style: none; margin: 14px auto 0; padding: 0; display: grid; gap: 9px; max-width: 250px; text-align: left; }
.auth-perks li { position: relative; padding-left: 26px; font-weight: 600; font-size: .95rem; color: rgba(246,255,251,.95); }
.auth-perks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 900; color: #11362e; background: #ffd480;
}
@media (min-width: 860px) {
  .auth-perks { display: none; }
  .auth-shell .auth-card::before { display: none; }
  .auth-shell .auth-card .form.compact, .auth-shell .auth-card .google-auth, .auth-shell .auth-card .auth-divider, .auth-shell .auth-card .button.full { max-width: none; }
  .auth-shell .auth-card input { height: auto; }
  .auth-shell {
    max-width: 920px; margin: 5vh auto 0; grid-template-columns: 1fr 1fr;
    align-items: stretch; gap: 0; border-radius: 30px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(120,40,70,.18); border: 1px solid rgba(255,255,255,.7);
  }
  .auth-aside {
    display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 44px 40px;
    color: #f6fffb; background: linear-gradient(155deg, var(--green-dark) 0%, var(--green-mid) 55%, #14785d 100%);
  }
  .auth-aside-logo { height: 96px; width: auto; align-self: flex-start; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
  .auth-aside-arabic { margin: 8px 0 0; font-family: "Amiri", serif; font-size: 1.7rem; line-height: 1.8; color: rgba(255,212,128,.95); }
  .auth-aside h2 { margin: 6px 0 0; font-size: 2rem; letter-spacing: -.02em; }
  .auth-aside p { margin: 0; color: rgba(246,255,251,.9); line-height: 1.55; font-weight: 500; }
  .auth-shell .auth-card {
    text-align: left; padding: 44px 40px; border-radius: 0; border: 0;
    box-shadow: none; backdrop-filter: none; background: var(--bg-2); align-content: center;
  }
  .auth-shell .auth-card h1 { font-size: 2.2rem; }
  .auth-shell .auth-alt { text-align: left; }
  .auth-shell .google-auth { justify-items: center; }
}

/* Pricing — value column + plan card */
.pricing { max-width: 440px; margin: 10px auto 0; display: grid; gap: 16px; }
.pricing-intro { display: none; }
@media (min-width: 860px) {
  .pricing { max-width: 980px; margin: 6vh auto 0; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .pricing-intro { display: block; }
  .pricing-intro h1 { margin: 12px 0 0; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
  .pricing-intro .lead { margin: 18px 0 0; font-size: 1.15rem; color: var(--muted); line-height: 1.55; max-width: 42ch; }
  .pricing-benefits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
  .pricing-benefits li { position: relative; padding-left: 32px; font-weight: 700; color: var(--ink); }
  .pricing-benefits li::before {
    content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: .8rem; color: #fff; background: var(--green);
  }
  .price-card { margin: 0; }
}
.auth-logo { height: 86px; width: auto; margin: -6px auto -2px; }
.auth-sub { color: var(--muted); line-height: 1.45; margin: 0; }
.auth-alt { color: var(--muted); margin-top: 2px; text-align: center; font-size: .92rem; }
.auth-alt a { color: var(--green); font-weight: 800; }
.or-divider { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* About page — on brand with the home hero */
.about { max-width: 1080px; margin: 0 auto; padding-top: 10px; }
.about-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: .16em;
  font-weight: 850; font-size: .74rem; padding: 7px 13px; border-radius: 999px;
  background: rgba(255,169,59,.16);
}
.about h1 { margin: 16px 0 0; font-weight: 900; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: .98; letter-spacing: -.035em; }
.about h1 em { font-style: normal; color: var(--coral); }
.about .lead { font-size: 1.2rem; color: var(--muted); font-weight: 600; line-height: 1.5; max-width: 40ch; margin: 16px 0 0; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.about-panel {
  position: relative; overflow: hidden; border-radius: 28px; padding: 30px 32px; color: #f6fffb;
  background: linear-gradient(155deg, var(--green-dark) 0%, var(--green-mid) 55%, #14785d 100%);
  box-shadow: 0 30px 70px rgba(15,77,61,.32);
}
.about-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 8%, rgba(255,212,128,.2), transparent 42%),
              radial-gradient(circle at 6% 98%, rgba(255,154,139,.16), transparent 40%);
}
.about-features { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.about-features li { display: flex; gap: 16px; align-items: flex-start; }
.af-idx { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.1rem; font-weight: 800; color: rgba(255,212,128,.95); padding-top: 2px; }
.about-features strong { display: block; font-size: 1.18rem; font-weight: 850; letter-spacing: -.02em; }
.about-features p { margin: 3px 0 0; color: rgba(246,255,251,.86); font-size: .98rem; line-height: 1.45; }
@media (min-width: 900px) {
  .about {
    display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 44px;
    min-height: calc(100dvh - 250px);
  }
  .about-intro { display: flex; flex-direction: column; }
}
@media (max-width: 899px) { .about-panel { margin-top: 26px; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.compare .card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.compare ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.compare .them { background: rgba(120,120,120,.06); }
.compare .us { border: 1.5px solid rgba(18,135,106,.35); }

/* Account page */
.account-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 16px 0 18px;
  border-color: rgba(18,135,106,.28);
  background:
    linear-gradient(135deg, rgba(18,135,106,.1), rgba(255,169,59,.1)),
    var(--card);
}
.account-start h2 { margin: 2px 0 8px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.05; }
.account-start p { margin: 0; }
.account-start-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.account-start-actions .button { min-width: 160px; }
.account-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; align-items: start; margin-top: 8px; }
.status-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.badge.active { background: rgba(18,135,106,.14); color: var(--green); }
.badge.free { background: rgba(255,169,59,.2); color: var(--gold-dark); }
.meter { height: 10px; border-radius: 999px; background: rgba(42,32,24,.1); overflow: hidden; margin: 8px 0 4px; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, #ff8a5b, #ff6f61); }
.my-list { display: grid; gap: 12px; }
.my-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.55); }
.status-tag { font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: capitalize; }
.status-tag.approved { background: rgba(18,135,106,.14); color: var(--green); }
.status-tag.pending { background: rgba(255,169,59,.22); color: var(--gold-dark); }
.status-tag.hidden { background: rgba(120,120,120,.15); color: var(--muted); }
@media (max-width: 900px) {
  .compare, .account-grid { grid-template-columns: 1fr; }
  .account-start { grid-template-columns: 1fr; }
  .account-start-actions { justify-content: stretch; }
  .account-start-actions .button { width: 100%; }
}
.price-card { text-align: center; display: grid; gap: 12px; padding: 22px; }
.price-card h1 { font-size: 4rem; margin: 0; letter-spacing: -.02em; }
.price-card h1 span { font-size: 1.2rem; color: var(--muted); letter-spacing: 0; }
.price-card p { margin: 0; color: var(--muted); font-weight: 650; }
.price-points { display: grid; grid-template-columns: 1fr; gap: 8px; }
.price-points span { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: rgba(255,255,255,.55); font-weight: 750; }
.price-card li { margin: 10px 0; color: var(--muted); }
.browse-shell { display: grid; gap: 10px; padding-bottom: 18px; }
.browse-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.browse-head h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: .95; }
.browse-head span { color: var(--muted); font-weight: 800; }
.browse-filters {
  position: sticky; top: 4px; z-index: 12;
  padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: linear-gradient(145deg, #111827 0%, #1e293b 62%, #0f766e 140%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(15,23,42,.18);
  overflow: visible;
  transform-origin: top center;
  transition: padding .34s cubic-bezier(.22,1,.36,1), border-radius .34s cubic-bezier(.22,1,.36,1), box-shadow .34s ease, background .34s ease, transform .34s cubic-bezier(.22,1,.36,1);
}
.browse-filters.is-compact {
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17,24,39,.96), rgba(15,118,110,.94));
  box-shadow: 0 12px 28px rgba(15,23,42,.26);
  transform: translateY(-2px);
}
.browse-filters.is-morphing { overflow: hidden; }
.browse-filters.is-morphing .bf-full-row,
.browse-filters.is-morphing .bf-compact-row { animation: toolbar-settle .34s cubic-bezier(.22,1,.36,1) both; }
@keyframes toolbar-settle {
  from { opacity: .76; transform: translateY(-3px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.bf-search { position: relative; display: flex; align-items: center; }
.bf-compact-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 0; }
.bf-full-row .bf-compact-logo { display: none; }
.bf-compact-logo img { display: block; width: 92px; height: 54px; object-fit: contain; filter: drop-shadow(0 7px 14px rgba(0,0,0,.28)); }
.bf-search svg { position: absolute; left: 11px; width: 16px; height: 16px; fill: rgba(255,255,255,.68); pointer-events: none; }
.bf-search input { padding-left: 34px; height: 42px; border-radius: 12px; font-size: .92rem; }
.bf-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; }
.bf-full-row,
.bf-compact-row {
  transition: opacity .3s cubic-bezier(.22,1,.36,1), transform .34s cubic-bezier(.22,1,.36,1), max-height .34s cubic-bezier(.22,1,.36,1), margin .34s cubic-bezier(.22,1,.36,1);
}
.bf-full-row { max-height: 460px; opacity: 1; transform: translateY(0) scale(1); }
.bf-compact-row {
  display: grid;
  grid-template-columns: 108px repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px) scale(.985);
  pointer-events: none;
}
.browse-filters.is-compact .bf-full-row {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px) scale(.985);
  pointer-events: none;
}
.browse-filters.is-compact .bf-compact-row {
  max-height: 60px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.bf-search-field { grid-column: span 2; }
.bf-field { position: relative; gap: 5px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.78); transition: opacity .24s ease, transform .34s cubic-bezier(.2,.8,.2,1); }
.bf-label { display: block; }
.browse-filters.is-compact .bf-field { gap: 2px; font-size: .58rem; letter-spacing: .04em; text-align: center; }
.bf-compact-field { min-width: 0; }
.bf-compact-field .bf-label { display: none; }
.bf-native-select { display: none; }
.bf-select-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font: inherit;
  font-size: .92rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: height .34s cubic-bezier(.2,.8,.2,1), min-height .34s cubic-bezier(.2,.8,.2,1), padding .34s cubic-bezier(.2,.8,.2,1), border-radius .34s cubic-bezier(.2,.8,.2,1), font-size .34s cubic-bezier(.2,.8,.2,1), background .24s ease;
}
.bf-select-btn svg { width: 18px; height: 18px; fill: currentColor; opacity: .75; flex: 0 0 auto; }
.bf-select-value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.bf-select-popup {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: none;
  width: max(100%, 220px);
  max-height: min(280px, 48vh);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(17,24,39,.98);
  box-shadow: 0 20px 44px rgba(0,0,0,.32);
}
.bf-job-field .bf-select-popup { left: auto; right: 0; }
.bf-select-popup.open { display: grid; gap: 3px; }
.bf-select-option {
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.86);
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.bf-select-option[aria-selected="true"] { background: rgba(20,184,166,.22); color: #fff; }
.bf-select-option:hover { background: rgba(255,255,255,.1); }
.bf-field select, .bf-field input {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .92rem; font-weight: 650; text-transform: none; letter-spacing: 0;
}
.bf-field input::placeholder { color: rgba(255,255,255,.72); }
.bf-field select:focus, .bf-field input:focus { outline: none; border-color: rgba(255,255,255,.52); box-shadow: 0 0 0 3px rgba(20,184,166,.22); }
.bf-field select option { color: #172033; background: #fff; }
.bf-field select, .bf-field input, .bf-reset-field .button { height: 42px; }
.browse-filters.is-compact .bf-field select,
.browse-filters.is-compact .bf-field input,
.browse-filters.is-compact .bf-select-btn,
.browse-filters.is-compact .bf-reset-field .button { height: 30px; min-height: 30px; border-radius: 10px; padding: 0 8px; font-size: .76rem; }
.browse-filters.is-compact .bf-reset-field .button { font-size: .82rem; }
.bf-age { max-width: none; }
.bf-age-range-field { grid-column: span 2; }
.bf-compact-row .bf-age-range-field { grid-column: auto; }
.bf-age-range {
  display: grid;
  grid-template-columns: 74px 1fr;
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  transition: height .34s cubic-bezier(.2,.8,.2,1), min-height .34s cubic-bezier(.2,.8,.2,1), padding .34s cubic-bezier(.2,.8,.2,1), border-radius .34s cubic-bezier(.2,.8,.2,1);
}
.bf-age-readout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .78rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.browse-filters.is-compact .bf-age-readout { justify-content: center; }
.bf-age-readout strong { font-size: .86rem; white-space: nowrap; }
.bf-age-readout span { color: rgba(255,255,255,.62); font-weight: 900; }
.bf-range-track {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.bf-range-track::before,
.bf-range-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 5px;
  border-radius: 999px;
  transform: translateY(-50%);
}
.bf-range-track::before { background: rgba(255,255,255,.2); box-shadow: inset 0 1px 2px rgba(0,0,0,.16); }
.bf-range-fill { background: linear-gradient(90deg, #ff6f61, #ffb15b 45%, #14b8a6); box-shadow: 0 0 10px rgba(20,184,166,.2); }
.bf-range-track input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  appearance: none;
  transform: translateY(-50%);
  background: transparent;
  pointer-events: none;
}
.bf-range-track input[type="range"]::-webkit-slider-runnable-track {
  height: 24px;
  background: transparent;
  border: 0;
}
.bf-range-track input[type="range"]:first-of-type { z-index: 2; }
.bf-range-track input[type="range"]:last-of-type { z-index: 3; }
.bf-range-track input[type="range"]:focus-visible { outline: none; }
.bf-range-track input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 3px 9px rgba(0,0,0,.28), 0 0 0 3px rgba(255,255,255,.08);
  pointer-events: auto;
}
.bf-range-track input[type="range"]:first-of-type::-webkit-slider-thumb { background: #ff6f61; }
.bf-range-track input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 3px 9px rgba(0,0,0,.28), 0 0 0 5px rgba(255,255,255,.18); }
.bf-range-track input[type="range"]::-moz-range-track {
  height: 24px;
  background: transparent;
  border: 0;
}
.bf-range-track input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 3px 9px rgba(0,0,0,.28), 0 0 0 3px rgba(255,255,255,.08);
  pointer-events: auto;
}
.bf-range-track input[type="range"]:first-of-type::-moz-range-thumb { background: #ff6f61; }
.bf-range-track input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 3px 9px rgba(0,0,0,.28), 0 0 0 5px rgba(255,255,255,.18); }
.browse-filters.is-compact .bf-age-range {
  height: 30px;
  min-height: 30px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.browse-filters.is-compact .bf-age-readout {
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .68rem;
  text-align: center;
}
.browse-filters.is-compact .bf-age-readout strong { font-size: .62rem; }
.browse-filters.is-compact .bf-age-readout strong::before { content: "Age "; font-size: .62rem; font-weight: 900; }
.browse-filters.is-compact .bf-age-readout span { display: none; }
.browse-filters.is-compact .bf-range-track { display: none; }
.bf-type-field { display: grid; grid-column: span 2; }
.bf-profile-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 44px;
  padding: 4px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -12px 26px rgba(0,0,0,.16), 0 10px 22px rgba(0,0,0,.16);
}
.browse-filters.is-compact .bf-profile-toggle { min-height: 36px; padding: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -12px 24px rgba(0,0,0,.14); }
.browse-filters.is-compact .bf-profile-toggle button { min-height: 30px; font-size: .86rem; }
.browse-filters.is-compact .bf-toggle-glow { inset: 3px auto 3px 3px; width: calc(50% - 3px); }
.bf-profile-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,111,97,.24), rgba(20,184,166,.24));
  opacity: .72;
  pointer-events: none;
}
.bf-toggle-glow {
  position: absolute;
  z-index: 0;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6f61, #fff7ed 42%, #fff);
  box-shadow: 0 9px 18px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.56) inset;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), background .28s ease, box-shadow .28s ease;
}
.bf-toggle-glow::after {
  content: "";
  position: absolute;
  inset: 2px 48% 2px 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  pointer-events: none;
}
.bf-profile-toggle[data-active="groom"] .bf-toggle-glow {
  transform: translateX(100%);
  background: linear-gradient(135deg, #14b8a6, #ecfdf5 42%, #fff);
  box-shadow: 0 9px 18px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.56) inset;
}
.bf-profile-toggle button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  min-width: 0;
  min-height: 36px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.9);
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.browse-filters.is-compact .bf-select-btn { justify-content: center; text-align: center; }
.browse-filters.is-compact .bf-select-value { text-align: center; }
.browse-filters.is-compact .bf-select-btn svg { position: absolute; right: 6px; width: 14px; height: 14px; }
.bf-profile-toggle button[aria-pressed="true"] {
  color: #13211e;
  transform: translateY(-1px);
}
.bf-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: .78;
  box-shadow: 0 0 0 4px rgba(255,255,255,.1);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bf-profile-toggle button[aria-pressed="true"] .bride-dot {
  background: #ff6f61;
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(255,111,97,.18), 0 0 16px rgba(255,111,97,.42);
}
.bf-profile-toggle button[aria-pressed="true"] .groom-dot {
  background: #14b8a6;
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(20,184,166,.18), 0 0 16px rgba(20,184,166,.42);
}
.bf-profile-toggle button:focus-visible { outline: 3px solid rgba(255,255,255,.55); outline-offset: -3px; }
.bf-toggle-field, .bf-reset-field { align-self: end; }
.bf-toggle { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: #fff; cursor: pointer; user-select: none; text-transform: none; letter-spacing: 0; }
.bf-toggle { transition: min-height .34s cubic-bezier(.2,.8,.2,1), font-size .34s cubic-bezier(.2,.8,.2,1), gap .34s cubic-bezier(.2,.8,.2,1); }
.bf-toggle-text { font-weight: 850; }
.browse-filters.is-compact .bf-toggle { width: 100%; min-width: 0; height: 28px; min-height: 28px; justify-content: center; align-items: center; gap: 2px; font-size: 0; line-height: 1; overflow: hidden; }
.browse-filters.is-compact .bf-toggle-text { display: inline-flex; align-items: center; height: 16px; font-size: .55rem; line-height: 1; }
.browse-filters.is-compact .bf-switch { width: 24px; height: 16px; }
.browse-filters.is-compact .bf-switch::after { top: 3px; left: 3px; width: 10px; height: 10px; }
.browse-filters.is-compact .bf-toggle input:checked + .bf-switch::after { transform: translateX(8px); }
.bf-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.bf-switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.28); transition: background .18s ease; flex-shrink: 0; }
.bf-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .18s ease; }
.bf-toggle input:checked + .bf-switch { background: #14b8a6; }
.bf-toggle input:checked + .bf-switch::after { transform: translateX(16px); }
.bf-toggle input:focus-visible + .bf-switch { outline: 3px solid rgba(20,184,166,.45); outline-offset: 2px; }
.bf-reset-field .button { width: 100%; padding: 0 12px; color: #fff; border-color: rgba(255,255,255,.38); }
.bf-reset-field .button:hover { background: rgba(255,255,255,.12); }
.browse-empty { margin-top: 6px; }
.browse-empty a { color: var(--green); font-weight: 800; }
@media (max-width: 1180px) {
  .bf-row { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
  .bf-search-field { grid-column: span 2; }
}
@media (max-width: 640px) {
  .browse-shell { gap: 8px; }
  .browse-filters { padding: 8px; border-radius: 16px; }
  .browse-filters.is-compact { border-radius: 20px; padding: 7px; }
  .bf-compact-row { grid-template-columns: 66px repeat(4, minmax(0, 1fr)); gap: 5px; }
  .browse-filters.is-compact .bf-compact-row { max-height: 48px; }
  .browse-filters.is-compact .bf-compact-logo img { width: 64px; height: 40px; }
  .browse-filters.is-compact .bf-field { font-size: .5rem; }
  .browse-filters.is-compact .bf-select-btn,
  .browse-filters.is-compact .bf-field input { height: 28px; min-height: 28px; padding: 0 7px; font-size: .7rem; }
  .browse-filters.is-compact .bf-select-popup {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 64px;
    width: auto;
    max-height: min(320px, 56vh);
  }
  .bf-location-field .bf-select-popup { left: auto; right: 0; }
  .browse-filters.is-compact .bf-location-field .bf-select-popup { left: 16px; right: 16px; }
  .bf-row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .bf-search-field { grid-column: 1 / -1; }
  .bf-type-field { grid-column: span 1; }
  .bf-full-row .bf-age-range-field { grid-column: span 1; }
  .bf-age-range { grid-template-columns: 58px minmax(72px, 1fr); min-height: 38px; padding: 5px 6px; column-gap: 4px; justify-content: stretch; }
  .bf-age-readout { justify-self: start; width: 58px; min-height: 26px; padding: 0 2px; align-items: center; gap: 2px; font-size: .58rem; }
  .bf-age-readout strong { font-size: .6rem; }
  .bf-age-readout span { font-size: .56rem; }
  .bf-range-track { width: calc(100% - 8px); height: 22px; margin: 0 4px; }
  .bf-compact-row .bf-toggle-field { align-self: center; }
  .bf-compact-row .bf-toggle { align-self: center; }
  .bf-range-track input[type="range"] { height: 22px; }
  .bf-range-track input[type="range"]::-webkit-slider-runnable-track { height: 22px; }
  .bf-range-track input[type="range"]::-webkit-slider-thumb { width: 16px; height: 16px; border-width: 2px; }
  .bf-profile-toggle { min-height: 38px; padding: 3px; }
  .bf-profile-toggle button { min-height: 32px; font-size: .8rem; }
  .bf-search input, .bf-select-btn, .bf-field input, .bf-reset-field .button { height: 38px; min-height: 38px; }
  .bf-field { gap: 3px; font-size: .66rem; letter-spacing: .04em; }
  .bf-reset-field .button { padding: 0 10px; }
  .bf-age { max-width: none; }
  .bf-toggle-field { grid-column: span 1; }
  .bf-toggle { min-height: 38px; gap: 7px; font-size: .82rem; }
  .bf-switch { width: 34px; height: 20px; }
  .bf-switch::after { width: 14px; height: 14px; }
  .bf-toggle input:checked + .bf-switch::after { transform: translateX(14px); }
}
.admin-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 18px; }
.review-list { display: grid; gap: 14px; }
.review-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.review-card p { color: var(--muted); white-space: pre-line; }
.review-actions { display: grid; gap: 8px; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.raw { white-space: pre-wrap; background: #fff1e6; color: #5a4634; border: 1px solid var(--line); border-radius: 22px; padding: 18px; overflow-x: auto; line-height: 1.55; }
.empty { color: var(--muted); }
.footer { display: none; }
.footer-links a { color: var(--muted); font-weight: 700; }
.footer-links a:hover { color: var(--ink); }
@media (min-width: 900px) {
  .footer {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    width: min(1180px, calc(100% - 24px)); margin: 8px auto 28px; padding: 22px 4px 0;
    border-top: 1px solid var(--line); color: var(--muted); font-weight: 650; font-size: .92rem;
  }
}
@media (max-width: 900px) {
  .hero, .detail-layout, .admin-grid { grid-template-columns: 1fr; }
  .grid, .browse-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr 1fr; }
  .sticky-card { position: static; }
}
@media (max-width: 640px) {
  main { width: min(100% - 16px, 1180px); }
  .nav { width: min(100% - 16px, 1180px); margin-top: 6px; }
  .brand img, .brand-logo { height: 84px; }
  .top-pill { gap: 7px; padding: 5px 6px 5px 12px; }
  .top-link { font-size: .86rem; }
  .menu-btn { width: 36px; height: 36px; }
  .grid, .browse-grid { grid-template-columns: 1fr; }
  .two-col, .fields, .filters, .review-card { grid-template-columns: 1fr; }
  .hero h1, .page-title h1 { font-size: 3rem; }
  .auth-card h1 { font-size: 1.8rem; }
  .auth-shell { max-width: 100%; margin-top: 4px; gap: 10px; padding: 0 2px; }
  .auth-card { gap: 8px; padding: 16px 14px 14px; border-radius: 22px; }
  .auth-card h1 { margin: 0; font-size: 1.62rem; }
  .google-auth { max-width: 300px; padding: 7px; border-radius: 19px; overflow: hidden; }
  .auth-divider { margin-top: 0; }
  .auth-card .form.compact { gap: 8px; margin-top: 0; }
  .auth-card input { height: 48px; }
  .auth-card .button.full { min-height: 48px; margin-top: 2px; }
  .auth-alt { margin: 0; }
  .auth-perks { padding: 14px 18px 16px; border-radius: 20px; }
  .auth-perks h3 { margin-top: 9px; font-size: 1.34rem; }
  .auth-perks ul { margin-top: 10px; gap: 7px; }
  .auth-perks li { font-size: .9rem; line-height: 1.25; }
}
