:root {
  --rose: #c45c6a;
  --rose-deep: #a84454;
  --rose-soft: #f6e6e8;
  --blush: #faf4f5;
  --cream: #fffaf8;
  --ink: #2c2426;
  --muted: #7a6a6e;
  --line: #ead9dc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(196, 92, 106, 0.12);
  --radius: 20px;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 248, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #e8a0a8);
  display: grid; place-items: center; color: #fff; font-size: 14px;
}
.nav-links { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--rose); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: none; border-radius: 999px; padding: .7rem 1.25rem;
  font-weight: 600; cursor: pointer; font-size: .95rem; text-decoration: none;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--rose-deep); text-decoration: none; color: #fff; }
.btn-ghost { background: var(--white); color: var(--rose); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--rose-soft); text-decoration: none; }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.hero {
  padding: 3.2rem 0 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232,160,168,.35), transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(196,92,106,.12), transparent 45%),
    var(--cream);
}
.hero-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
}
.eyebrow {
  display: inline-block; background: var(--rose-soft); color: var(--rose-deep);
  border-radius: 999px; padding: .25rem .75rem; font-size: .82rem; font-weight: 600; margin-bottom: .8rem;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; margin-bottom: .8rem; }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .8rem; }
.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.hero-card li { margin: .45rem 0 .45rem 1rem; color: var(--muted); }
.section { padding: 2.5rem 0; }
.section-head h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.section-head p { color: var(--muted); }
.safe-grid {
  display: grid; gap: 1rem; margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.safe-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem;
}
.safe-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.safe-card p { color: var(--muted); font-size: .92rem; }
.waitlist-panel, .panel {
  margin-top: 1.2rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.hint { color: var(--muted); font-weight: 400; font-size: .8rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .85rem; background: var(--blush); font: inherit; color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.form-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.form-fineprint { color: var(--muted); font-size: .82rem; }
.otp-row { display: flex; gap: .5rem; align-items: stretch; }
.otp-row input { flex: 1; }
.otp-msg {
  margin-top: .4rem; background: #fff4e8; border: 1px solid #f0d2a8;
  color: #8a5a20; border-radius: 10px; padding: .55rem .75rem; font-size: .9rem; display: none;
}
.otp-msg.show { display: block; }
.flash-wrap { width: min(1080px, calc(100% - 2rem)); margin: .8rem auto 0; }
.flash {
  padding: .7rem 1rem; border-radius: 12px; margin-bottom: .5rem; font-size: .92rem;
}
.flash.ok { background: #e8f6ee; color: #1f6b3a; }
.flash.error { background: #fdebec; color: #8b2e3a; }
.footer {
  margin-top: 2rem; border-top: 1px solid var(--line); padding: 1.5rem 0 2rem;
  color: var(--muted); font-size: .88rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filters {
  display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 1.2rem; align-items: end;
}
.filters .field { min-width: 140px; }
.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: 0 10px 30px rgba(196,92,106,.08);
  display: flex; flex-direction: column;
}
.card-photo {
  height: 150px; background: linear-gradient(135deg, #f3d5da, #f8ecee);
  position: relative; display: grid; place-items: center; color: var(--muted); font-size: .9rem;
}
.card-photo .blur-face {
  width: 72px; height: 72px; border-radius: 50%;
  background: #e7c4ca; filter: blur(6px); opacity: .9;
}
.lock-pill {
  position: absolute; right: .7rem; bottom: .7rem;
  background: rgba(44,36,38,.72); color: #fff; border-radius: 999px;
  padding: .25rem .6rem; font-size: .75rem;
}
.card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.card-body h3 { font-size: 1.05rem; }
.meta { color: var(--muted); font-size: .88rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }
.tag {
  background: var(--rose-soft); color: var(--rose-deep); border-radius: 999px;
  padding: .15rem .55rem; font-size: .75rem;
}
.card-actions { padding: 0 1rem 1rem; display: flex; gap: .5rem; }
.detail-hero {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) { .detail-hero { grid-template-columns: 1fr 1fr; } }
.photo-lock {
  background: #efe0e3; border-radius: 18px; min-height: 260px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.photo-lock img.blurred {
  width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(.8); transform: scale(1.08);
  position: absolute; inset: 0;
}
.photo-lock .overlay {
  position: relative; z-index: 1; text-align: center; background: rgba(255,250,248,.82);
  padding: 1rem 1.2rem; border-radius: 14px; max-width: 85%;
}
.chat-box {
  max-height: 360px; overflow: auto; background: var(--blush);
  border-radius: 14px; padding: 1rem; border: 1px solid var(--line);
}
.msg { margin-bottom: .7rem; }
.msg .who { font-size: .78rem; color: var(--muted); }
.msg .bubble {
  display: inline-block; background: var(--white); border-radius: 12px;
  padding: .5rem .75rem; margin-top: .15rem; max-width: 90%;
}
.msg.mine .bubble { background: var(--rose-soft); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: .55rem; text-align: left; vertical-align: middle; }
.avatar-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 999px;
  opacity: 0; transition: .25s; z-index: 99; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Tinder-like swipe */
.swipe-section { padding-top: 1rem; }
.swipe-stage {
  position: relative;
  height: min(70vh, 520px);
  max-height: calc(100dvh - 240px);
  max-width: 420px;
  margin: 0 auto;
}
.swipe-card {
  position: absolute; inset: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: .9rem 1rem 1rem;
  user-select: none;
  /* Allow vertical page/card scroll; JS handles horizontal swipe */
  touch-action: pan-y;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  display: flex;
  flex-direction: column;
}
.swipe-card.empty-card {
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .7rem;
}
.swipe-kicker {
  color: var(--rose-deep);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}
.swipe-card h3 { font-size: 1.15rem; margin-bottom: .5rem; line-height: 1.25; }
.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .65rem;
}
.pair-label { color: var(--muted); font-size: .72rem; margin-bottom: 0; }
.swipe-actions {
  display: flex; justify-content: center; gap: .85rem;
  margin-top: .75rem;
}
.swipe-badge {
  position: absolute; top: 18px; padding: .35rem .7rem;
  border: 3px solid; border-radius: 10px; font-weight: 800;
  letter-spacing: .08em; opacity: 0; transform: scale(.9);
}
.swipe-badge.left { left: 16px; color: #8b2e3a; border-color: #8b2e3a; transform: rotate(-12deg); }
.swipe-badge.right { right: 16px; color: #1f6b3a; border-color: #1f6b3a; transform: rotate(12deg); }
.swipe-card.liking .swipe-badge.right { opacity: 1; }
.swipe-card.nope .swipe-badge.left { opacity: 1; }
.swipe-btn { min-width: 120px; padding: .85rem 1.2rem; }

/* Discover: fit one phone screen */
body.discover-page .footer { display: none; }
body.discover-page .nav-inner { padding: .55rem 0; }
body.discover-page .brand-mark { width: 28px; height: 28px; font-size: 12px; }
body.discover-page .nav-links { gap: .55rem; font-size: .85rem; }
body.discover-page .section.swipe-section {
  padding: .55rem 0 .9rem;
  min-height: calc(100dvh - 56px);
}
body.discover-page .swipe-section .section-head h2 {
  font-size: 1.1rem;
  margin-bottom: .15rem;
}
body.discover-page .swipe-section .section-head p {
  font-size: .82rem;
  line-height: 1.35;
}
body.discover-page .filters {
  margin: .45rem 0 .55rem;
  gap: .45rem;
  align-items: end;
}
body.discover-page .filters .field { min-width: 0; flex: 1; }
body.discover-page .filters label {
  font-size: .72rem;
  margin-bottom: .15rem;
}
body.discover-page .filters select {
  padding: .45rem .55rem;
  border-radius: 10px;
  font-size: .85rem;
}
body.discover-page .swipe-stage {
  height: min(62dvh, 480px);
  max-height: calc(100dvh - 250px);
  max-width: 420px;
}
body.discover-page .swipe-card {
  padding: .75rem .85rem .85rem;
  border-radius: 18px;
  /* Keep vertical scroll escape if content overflows tiny screens */
  overflow-y: auto;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
body.discover-page .swipe-kicker {
  font-size: .78rem;
  margin-bottom: .2rem;
}
body.discover-page .swipe-card h3 {
  font-size: 1.05rem;
  margin-bottom: .45rem;
  line-height: 1.25;
}
body.discover-page .pair-grid {
  gap: .35rem .55rem;
}
body.discover-page .pair-label {
  font-size: .68rem;
  margin-bottom: 0;
  line-height: 1.2;
}
body.discover-page .pair-grid > div > div:last-child {
  font-size: .88rem;
  line-height: 1.25;
}
body.discover-page .swipe-card .tags {
  margin-top: .15rem;
  gap: .25rem;
}
body.discover-page .swipe-card .tag {
  padding: .1rem .45rem;
  font-size: .68rem;
}
body.discover-page .swipe-card .meta {
  font-size: .78rem;
  margin-top: .35rem !important;
  line-height: 1.3;
}
body.discover-page .swipe-card .form-fineprint {
  margin-top: .25rem;
  font-size: .72rem;
  line-height: 1.3;
}
body.discover-page .swipe-actions {
  margin-top: .55rem;
  gap: .7rem;
}
body.discover-page .swipe-btn {
  min-width: 108px;
  padding: .65rem 1rem;
  font-size: .9rem;
}
body.discover-page .swipe-fineprint {
  text-align: center;
  margin-top: .45rem;
  font-size: .72rem;
}
body.discover-page .swipe-badge {
  top: 12px;
  padding: .22rem .5rem;
  border-width: 2px;
  font-size: .78rem;
}
@media (max-height: 760px) {
  body.discover-page .swipe-stage {
    height: min(56dvh, 420px);
    max-height: calc(100dvh - 230px);
  }
  body.discover-page .section.swipe-section { padding-top: .35rem; }
  body.discover-page .swipe-section .section-head p { display: none; }
}
@media (max-height: 680px) {
  body.discover-page .filters { display: none; }
  body.discover-page .swipe-stage {
    height: min(58dvh, 390px);
    max-height: calc(100dvh - 190px);
  }
  body.discover-page .swipe-fineprint { display: none; }
}


/* Location gate on discover */
.loc-gate {
  max-width: 420px;
  margin: .6rem auto 1rem;
  padding: 1.1rem 1rem 1.15rem;
  background: var(--card, #fff8f6);
  border: 1px solid rgba(196,92,106,.22);
  border-radius: 18px;
  text-align: center;
}
.loc-gate h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.loc-gate .meta { margin: 0 0 .75rem; line-height: 1.45; }
.loc-gate .loc-error {
  color: #b42318;
  background: #fef3f2;
  border-radius: 10px;
  padding: .55rem .7rem;
  margin-bottom: .75rem;
}
.loc-gate .btn { width: 100%; max-width: 280px; }
.loc-gate .form-fineprint { margin-top: .7rem; }
.loc-status { text-align: center; margin: 0 0 .45rem; font-size: .78rem; }
body.discover-page .loc-status { margin-bottom: .35rem; }

/* ========== UI polish: forms / custom selects / chips ========== */
input, select, textarea {
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  outline: none;
  min-height: 48px;
}
textarea { min-height: 96px; }
input:hover, select:hover, textarea:hover { border-color: #e0c4c9; }
input:focus, select:focus, textarea:focus {
  border-color: var(--rose);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 92, 106, 0.14);
}
input::placeholder, textarea::placeholder { color: #b5a3a7; }
.field-card {
  background: var(--blush);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: .85rem .9rem;
}
.field-card:focus-within {
  border-color: rgba(196,92,106,.35);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 92, 106, 0.1);
}
.field-card label { margin-bottom: .45rem; }
.field-card input, .field-card select, .field-card textarea {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  min-height: 36px;
  box-shadow: none;
}
.field-card input:focus, .field-card select:focus, .field-card textarea:focus {
  box-shadow: none;
  background: transparent;
}
.form-section-title {
  margin: 1.35rem 0 .65rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .45rem;
}
.form-section-title::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(196,92,106,.18);
}

/* Native select fallback (still prettier) */
select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--rose) 50%),
    linear-gradient(135deg, var(--rose) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
  cursor: pointer;
}
select:disabled { opacity: .55; cursor: not-allowed; }

/* Chip / pill selectors (dating-app style) */
.chip-field { margin-top: .15rem; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.chip-row.scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .15rem;
  margin: 0 -.15rem;
  padding-left: .15rem;
  padding-right: .15rem;
}
.chip-row.scroll::-webkit-scrollbar { display: none; }
.chip {
  appearance: none;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: .55rem 1rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: .15s ease;
  min-height: 40px;
}
.chip:hover { border-color: #e0b8bf; background: var(--blush); }
.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(196, 92, 106, 0.16);
}
.chip.is-active, .chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--rose), #d97886);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(196, 92, 106, 0.22);
}
.chip.is-active:hover { background: linear-gradient(135deg, var(--rose-deep), var(--rose)); }
.chip-hint { margin-top: .35rem; font-size: .78rem; color: var(--muted); }

/* Custom select trigger + bottom sheet */
.cselect { position: relative; }
.cselect-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  left: 0; top: 0;
}
.cselect-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem .95rem;
  background: var(--blush);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: .15s ease;
}
.cselect-trigger:hover { border-color: #e0c4c9; background: #fff; }
.cselect-trigger:focus-visible,
.cselect.is-open .cselect-trigger {
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 92, 106, 0.14);
}
.cselect-trigger .placeholder { color: #b5a3a7; font-weight: 500; }
.cselect-caret {
  width: 10px; height: 10px;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: rotate(45deg);
  margin-top: -4px;
  flex: 0 0 auto;
  transition: transform .18s ease;
}
.cselect.is-open .cselect-caret { transform: rotate(225deg); margin-top: 4px; }

.cselect-backdrop {
  position: fixed; inset: 0;
  background: rgba(44, 36, 38, 0.38);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cselect-backdrop.show { opacity: 1; pointer-events: auto; }
.cselect-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--cream);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 50px rgba(44,36,38,.18);
  max-height: min(72vh, 560px);
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.cselect-sheet.show { transform: translateY(0); }
.cselect-sheet-handle {
  width: 42px; height: 4px; border-radius: 999px;
  background: #e2d0d3;
  margin: .7rem auto .35rem;
}
.cselect-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .35rem 1.1rem .7rem;
  border-bottom: 1px solid var(--line);
}
.cselect-sheet-head strong { font-size: 1rem; }
.cselect-sheet-close {
  border: none; background: var(--rose-soft); color: var(--rose-deep);
  border-radius: 999px; padding: .35rem .75rem; font: inherit; font-weight: 600;
  cursor: pointer;
}
.cselect-options {
  overflow: auto;
  padding: .7rem .85rem 1.1rem;
  display: grid;
  gap: .4rem;
}
.cselect-option {
  appearance: none;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: .85rem 1rem;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: .12s ease;
}
.cselect-option:hover { border-color: #e0b8bf; background: var(--blush); }
.cselect-option.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(196,92,106,.12), rgba(232,160,168,.22));
  color: var(--rose-deep);
  box-shadow: inset 0 0 0 1.5px rgba(196,92,106,.35);
}
.cselect-option.is-active::after {
  content: "✓";
  float: right;
  color: var(--rose);
}

/* File upload */
.file-drop {
  border: 1.5px dashed #e0b8bf;
  background: linear-gradient(180deg, #fff, var(--blush));
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  position: relative;
  transition: .15s ease;
}
.file-drop:hover, .file-drop.is-drag {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(196,92,106,.12);
}
.file-drop input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  min-height: 100%;
}
.file-drop-icon {
  width: 44px; height: 44px; border-radius: 50%;
  margin: 0 auto .55rem;
  display: grid; place-items: center;
  background: var(--rose-soft); color: var(--rose-deep); font-size: 1.2rem;
}
.file-drop strong { display: block; font-size: .95rem; }
.file-drop .meta { margin-top: .2rem; }
.file-name {
  margin-top: .55rem;
  font-size: .85rem;
  color: var(--rose-deep);
  font-weight: 600;
  display: none;
}
.file-name.show { display: block; }

/* Buttons polish */
.btn {
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  min-height: 44px;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, #d97886, var(--rose));
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  box-shadow: 0 12px 28px rgba(196,92,106,.28);
}
.otp-row .btn { white-space: nowrap; flex-shrink: 0; }

/* Home / register polish */
.panel, .waitlist-panel, .hero-card {
  border-radius: 22px;
}
.hero-card ol { margin: .7rem 0 0 1.1rem; color: var(--muted); }
.hero-card li { margin: .45rem 0; }
.trust-banner {
  margin: 0 auto 1rem;
  max-width: 640px;
  background: linear-gradient(135deg, rgba(196,92,106,.1), rgba(232,160,168,.18));
  border: 1px solid rgba(196,92,106,.18);
  border-radius: 16px;
  padding: .85rem 1rem;
  color: var(--rose-deep);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
}
body.discover-page .filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .55rem .65rem .65rem;
  align-items: stretch;
}
body.discover-page .filters .field { flex: 1 1 100%; }
body.discover-page .filters .chip-row.scroll { gap: .4rem; }
body.discover-page .filters .chip {
  padding: .42rem .85rem;
  min-height: 34px;
  font-size: .8rem;
}
body.discover-page .filters .btn { align-self: center; display: none; }

@media (min-width: 720px) {
  .cselect-sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: min(420px, calc(100% - 2rem));
    border-radius: 20px;
    transform: translate(-50%, -46%) scale(.96);
    opacity: 0;
    max-height: min(70vh, 520px);
  }
  .cselect-sheet.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  .cselect-sheet-handle { display: none; }
}


/* City locate control — tap to geolocate, no free typing */
.city-locate { margin-top: .15rem; }
.city-locate-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: .7rem .95rem;
  border-radius: 14px;
  border: 1.5px dashed rgba(196,92,106,.45);
  background: linear-gradient(180deg, #fffaf9 0%, #fff5f3 100%);
  color: var(--ink, #3a2a2e);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .12s ease;
}
.city-locate-btn:hover {
  border-color: var(--rose, #c45c6a);
  box-shadow: 0 0 0 4px rgba(196,92,106,.12);
}
.city-locate-btn:active { transform: scale(.99); }
.city-locate-btn.is-loading {
  opacity: .75;
  cursor: wait;
  border-style: solid;
}
.city-locate-btn.is-filled {
  border-style: solid;
  border-color: rgba(196,92,106,.55);
  background: #fff;
  box-shadow: 0 6px 18px rgba(196,92,106,.08);
}
.city-locate-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,92,106,.12);
  color: var(--rose, #c45c6a);
  font-size: .95rem;
  flex-shrink: 0;
}
.city-locate-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.city-locate-btn.is-filled .city-locate-label {
  color: var(--rose, #c45c6a);
  font-size: 1.05rem;
}
.city-locate-error {
  color: #b42318;
  background: #fef3f2;
  border-radius: 10px;
  padding: .55rem .7rem;
  margin: .55rem 0 0;
  font-size: .82rem;
  line-height: 1.4;
}


/* ---- Pose challenge + contact reveal (simp) ---- */
.pose-challenge {
  background: linear-gradient(135deg, #fff5f6, #ffe8ec);
  border: 1px solid rgba(196, 92, 106, 0.25);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.pose-title {
  margin: 0 0 .35rem;
  font-weight: 600;
  color: #8a3a45;
}
.pose-action {
  margin: .2rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #c45c6a;
}
.pose-hint {
  margin: .25rem 0 0;
  color: #7a5560;
  font-size: .92rem;
}
.contact-reveal .contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1px dashed rgba(196, 92, 106, 0.35);
  border-radius: 14px;
  padding: .9rem 1rem;
  margin-top: .6rem;
}
.contact-label {
  font-size: .85rem;
  color: #8a3a45;
  font-weight: 600;
}
.contact-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #2b1a1e;
  word-break: break-all;
}
img.couple-photo {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: .6rem;
  border: 1px solid rgba(196, 92, 106, 0.18);
}


/* 内测标识 */
.badge-beta {
  display: inline-block;
  margin-left: .35rem;
  padding: .12rem .45rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #9b3d5a;
  background: linear-gradient(135deg, #ffe4ec, #ffd6e4);
  border: 1px solid #f5b8c9;
  border-radius: 999px;
  vertical-align: middle;
}
.brand { display: inline-flex; align-items: center; gap: .15rem; }
.trust-banner {
  background: #fff5f8;
  border: 1px solid #f0c2d0;
  color: #7a3a4d;
  border-radius: 12px;
  padding: .75rem .9rem;
  font-size: .9rem;
  line-height: 1.45;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { border-bottom: 1px solid #f0d6de; padding: .55rem .4rem; text-align: left; vertical-align: top; }
.admin-table th { color: #9b3d5a; font-weight: 600; }
.avatar-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid #f0c2d0; }
.couple-photo { width: 100%; max-width: 520px; border-radius: 16px; border: 1px solid #f0c2d0; display: block; margin: .8rem 0; }


/* ===== Admin shell (mobile-first, extensible) ===== */
.admin-shell .admin-top {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: .75rem; margin-bottom: 1rem;
}
.admin-top-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.admin-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .admin-stats { grid-template-columns: repeat(6, 1fr); }
}
.admin-stat {
  background: linear-gradient(160deg, #fff7fa, #ffe8f0);
  border: 1px solid #f3c5d3; border-radius: 14px; padding: .7rem .65rem; text-align: center;
}
.admin-stat strong { display: block; font-size: 1.25rem; color: #8b2f4a; }
.admin-stat span { font-size: .72rem; color: #9a6070; }
.admin-tabs {
  display: flex; gap: .35rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: .35rem; margin-bottom: 1rem; border-bottom: 1px solid #f0d6de;
}
.admin-tab {
  flex: 0 0 auto; padding: .45rem .75rem; border-radius: 999px; font-size: .86rem;
  color: #8b2f4a; background: #fff; border: 1px solid #f0c2d0; text-decoration: none;
}
.admin-tab.is-active { background: #e85a7a; color: #fff; border-color: #e85a7a; }
.admin-panel { background: #fff; border: 1px solid #f0d6de; border-radius: 16px; padding: 1rem; }
.admin-review-list { display: flex; flex-direction: column; gap: .85rem; margin-top: .75rem; }
.admin-review-card {
  display: grid; grid-template-columns: 112px 1fr; gap: .75rem;
  border: 1px solid #f3c5d3; border-radius: 14px; padding: .7rem; background: #fffafb;
}
.admin-review-card--sm { grid-template-columns: 72px 1fr; }
.admin-review-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block;
  border: 1px solid #f0c2d0;
}
.admin-review-body h4 { margin: 0 0 .25rem; font-size: 1rem; }
.admin-pose {
  margin: .35rem 0; padding: .45rem .55rem; border-radius: 10px;
  background: #fff0f4; border: 1px dashed #e8a0b4; color: #7a3a4d; font-size: .9rem;
}
.admin-pose span { display: block; font-size: .72rem; color: #b07082; margin-bottom: .15rem; }
.admin-review-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.admin-review-actions form { display: inline; }
.admin-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
  .admin-review-card { grid-template-columns: 1fr; }
  .admin-review-photo img { max-height: 220px; aspect-ratio: 4/3; }
}


/* Admin layout: rose/cream sidebar (not dark VPN shell) */
.admin-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem; align-items: start;
}
.admin-sidebar {
  background: linear-gradient(180deg, #fff7fa 0%, #ffe9f1 100%);
  border: 1px solid #f0c2d0; border-radius: 18px; padding: 1rem .85rem;
  position: sticky; top: .75rem;
}
.admin-side-brand strong { color: #8b2f4a; }
.admin-side-nav { display: flex; flex-direction: column; gap: .3rem; margin: .9rem 0; }
.admin-side-nav a {
  text-decoration: none; color: #7a3a4d; padding: .55rem .7rem; border-radius: 12px;
  font-size: .9rem; border: 1px solid transparent;
}
.admin-side-nav a em {
  font-style: normal; background: #e85a7a; color: #fff; border-radius: 999px;
  padding: .05rem .4rem; font-size: .72rem; margin-left: .2rem;
}
.admin-side-nav a.is-active, .admin-side-nav a:hover {
  background: #fff; border-color: #f0c2d0; color: #8b2f4a;
}
.admin-side-foot { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin-main { min-width: 0; }
@media (max-width: 860px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-side-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; }
  .admin-side-nav a { flex: 0 0 auto; white-space: nowrap; }
}
