/* assets/fonts/fonts.css */
/* Google Fonts Latin subsets; licenses: OFL-fraunces.txt and OFL-nunito.txt. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* reference-1.css */
:root {

  --blush: #ff6b81;

  --rose: #ff4757;

  --gold: #ffa502;

  --champagne: #fff0f5;

  --ivory: #fff8fb;

  --wine: #7a2942;

  --berry: #c23b5a;

  --dusk: #a24b63;

  --petal: #ffe3ea;

  --gold-ink: #c56a00;

  --sans: "Nunito", "PingFang SC", "Hiragino Sans", "Yu Gothic UI", "Malgun Gothic", "Microsoft YaHei", "Segoe UI", sans-serif;

  --display: "Fraunces", "Songti SC", "Noto Serif SC", "Palatino Linotype", Georgia, serif;

  color-scheme: light;

}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: clip; }

body {

  margin: 0;

  min-height: 100vh;

  color: var(--wine);

  font-family: var(--sans);

  background:

    radial-gradient(1100px 620px at 8% -10%, rgba(255, 107, 129, 0.35), transparent 60%),

    radial-gradient(900px 540px at 100% 0%, rgba(255, 165, 2, 0.28), transparent 55%),

    radial-gradient(800px 600px at 80% 100%, rgba(255, 71, 87, 0.16), transparent 50%),

    #fff5f8;

}

button, input, select { font: inherit; color: inherit; }

img { max-width: 100%; }

::selection { background: #ffb3c1; color: var(--wine); }

:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }

[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: white; padding: 8px 12px; border-radius: 999px; z-index: 80; }

.skip:focus { left: 12px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.block { padding: 72px 0; scroll-margin-top: 92px; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 560; letter-spacing: -0.02em; }

h1 { margin: 18px 0 0; font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.15; }

h1 .line { display: block; }

h2 { margin: 0.35rem 0 0.7rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.12; }

.lead { margin: 0; max-width: 46rem; color: var(--dusk); line-height: 1.65; font-size: 1.05rem; }

.kicker { margin: 0; color: var(--gold-ink); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }

.glass {

  background: rgba(255, 248, 251, 0.74);

  border: 1px solid rgba(255, 107, 129, 0.28);

  box-shadow: 0 18px 50px rgba(255, 71, 87, 0.12);

  backdrop-filter: blur(18px);

}

.btn {

  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;

  border: 0; border-radius: 999px; padding: 0.85rem 1.25rem; font-weight: 800; cursor: pointer; line-height: 1;

  transition: transform 0.18s ease, box-shadow 0.18s ease;

}

.btn:active { transform: scale(0.97); }

.btn:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }

.btn-primary { color: white; background: linear-gradient(120deg, #ff4757 0%, #ff6b81 52%, #ffa502 140%); box-shadow: 0 12px 30px rgba(255, 71, 87, 0.32); }

.btn-ghost { color: var(--wine); background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 107, 129, 0.38); }

.btn.is-on { box-shadow: 0 0 0 2px var(--rose); }

.field {

  width: 100%; border-radius: 1rem; border: 1px solid rgba(255, 107, 129, 0.35);

  background: rgba(255, 255, 255, 0.9); padding: 0.85rem 1rem; outline: none;

}

.field:focus { border-color: var(--blush); box-shadow: 0 0 0 4px rgba(255, 107, 129, 0.18); }

label.lbl { display: grid; gap: 6px; font-weight: 800; font-size: 0.92rem; }

.love-shimmer {

  background-image: linear-gradient(100deg, #ff4757 0%, #ff6b81 22%, #ffa502 48%, #ff6b81 74%, #ff4757 100%);

  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;

  animation: shimmer 5.5s linear infinite, floaty 4.2s ease-in-out infinite;

}

.ecg { fill: none; stroke: #ff4757; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; animation: ecg 1.35s linear infinite; }

.beat { transform-box: fill-box; transform-origin: center; animation: beat 0.9s ease-in-out infinite; }

.spin3d { transform-style: preserve-3d; animation: spinY 8s linear infinite; }

.bob { animation: floaty 3.4s ease-in-out infinite; }

.cupid { animation: cupid 4.8s ease-in-out infinite; }

.twinkle { transform-origin: center; animation: twinkle 1.6s ease-in-out infinite; }

.spark { animation: twinkle 1.8s ease-in-out infinite; }

.ring-draw { stroke-dasharray: 163; stroke-dashoffset: 163; animation: draw 2.6s ease-in-out infinite alternate; }

.pulse-ring { animation: pulse-ring 1.8s ease-out infinite; }

.scanline { position: absolute; left: 0; right: 0; height: 28%; display: none; background: linear-gradient(transparent, rgba(255, 165, 2, 0.55), transparent); pointer-events: none; }

.scanning .scanline { display: block; animation: scan 1.2s linear infinite; }

.skeleton { height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 182, 193, 0.35), rgba(255, 165, 2, 0.45), rgba(255, 182, 193, 0.35)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

.floater { position: fixed; bottom: -48px; z-index: 0; pointer-events: none; animation: rise linear infinite; filter: drop-shadow(0 8px 10px rgba(255, 71, 87, 0.2)); }

.floater svg { width: 100%; height: 100%; display: block; }

#app, .topbar-wrap, #splash { position: relative; z-index: 1; }

.topbar-wrap { position: sticky; top: 0; z-index: 40; padding: 12px 12px 0; }

.topbar { display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 10px 8px 8px; }

.brand { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 0 4px; text-align: left; }

.logo-badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ff4757, #ffa502); box-shadow: 0 8px 20px rgba(255, 71, 87, 0.35); }

.logo-badge svg { width: 22px; height: 22px; display: block; }

.brand b { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1; }

.brand small { display: block; margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--berry); }

#hello { display: block; color: var(--rose); letter-spacing: 0; text-transform: none; }

.nav { display: flex; gap: 2px; margin-left: 8px; }

.nav button, .drawer button.navlink { background: none; border: 0; border-radius: 999px; padding: 8px 10px; font-weight: 800; color: var(--dusk); cursor: pointer; }

.nav button:hover, .drawer button.navlink:hover { background: rgba(255, 255, 255, 0.85); color: var(--wine); }

.actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.burger { width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.85); cursor: pointer; display: none; place-items: center; }

.lang-wrap { position: relative; }

#langBtn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(255, 255, 255, 0.85); border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; }

#langFlag, .lang-item img { width: 22px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 107, 129, 0.35); }

#langName { max-width: 7.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lang-pop { position: fixed; z-index: 80; top: 76px; inset-inline-end: 16px; width: min(360px, calc(100vw - 24px)); max-height: min(70vh, 520px); overflow: auto; border-radius: 18px; padding: 8px; }

#langSearch { margin-bottom: 8px; }

.lang-pop button, .lang-item { width: 100%; display: flex; align-items: center; gap: 8px; text-align: left; border: 0; background: transparent; border-radius: 12px; padding: 8px 10px; font-weight: 800; cursor: pointer; }

.lang-pop button.is-on, .lang-pop button:hover { background: white; }

.drawer { display: none; margin: 8px auto 0; width: min(1120px, calc(100% - 8px)); border-radius: 24px; padding: 10px; }

.drawer.open { display: grid; }

.hero { display: grid; gap: 28px; align-items: center; padding-top: 28px; }

.live { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 8px 14px; }

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rose); position: relative; }

.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rose); animation: pulse-ring 1.4s ease-out infinite; }

#liveCount, .stat strong { font-family: var(--display); color: var(--rose); font-size: 1.6rem; }

.couples { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.72); padding: 10px 14px; font-weight: 800; }

.cta-row, .filters, .swipe-actions, .wiz-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.cta-row { margin-top: 22px; }

.logo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 22px; }

.logo-tile { width: 100%; aspect-ratio: 1; height: auto; border-radius: 22px; display: grid; place-items: center; overflow: hidden; background: rgba(255, 255, 255, 0.78); box-shadow: 0 10px 24px rgba(255, 107, 129, 0.14); perspective: 240px; }

.logo-tile svg { width: 58%; height: 58%; overflow: hidden; display: block; }

.logo-ring { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 2.6s ease-in-out infinite alternate; }

.logo-tile .beat, .logo-tile .logo-arrow, .logo-tile .twinkle { transform-box: fill-box; transform-origin: center; }

.logo-tile .beat { animation: logoBeat 1.2s ease-in-out infinite; }

.logo-tile .logo-arrow { animation: logoArrow 2.2s ease-in-out infinite; }

.logo-tile .twinkle { animation: logoTwinkle 1.4s ease-in-out infinite; }

@keyframes logoBeat { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.04); } }

@keyframes logoArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1px); } }

@keyframes logoTwinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.9; } }

.stage { position: relative; min-height: 560px; }

.halo { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 2; text-align: center; width: 150px; }

.halo svg { width: 120px; height: 120px; }

.halo b { display: block; margin-top: -78px; color: var(--rose); font-size: 1.05rem; }

.halo span { display: block; margin-top: 46px; font-size: 12px; font-weight: 800; color: var(--dusk); }

#orbit .ocard {

  position: absolute; width: 168px; height: 220px; border-radius: 22px; overflow: hidden;

  box-shadow: 0 16px 40px rgba(255, 71, 87, 0.18); background: linear-gradient(135deg, #ff6b81, #ffa502); animation: floaty 4.8s ease-in-out infinite;

}

.ocard img, .story img, .city img, .photo-box img, .face img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; display: block; }

.ocard .cap { position: absolute; left: 8px; right: 8px; bottom: 8px; border-radius: 14px; padding: 6px 8px; font-size: 12px; }

.o0 { top: 2%; left: 0; }

.o1 { top: 0; left: 40%; animation-delay: .4s; }

.o2 { top: 16%; right: 0; animation-delay: .8s; }

.o3 { top: 48%; right: 8%; animation-delay: 1.1s; }

.o4 { bottom: 2%; left: 36%; animation-delay: .2s; }

.o5 { top: 40%; left: 0; animation-delay: 1.4s; }

.marquee { overflow: hidden; border-block: 1px solid rgba(255, 107, 129, 0.2); background: rgba(255, 255, 255, 0.45); }

.marquee-track { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: marquee 32s linear infinite; font-weight: 800; }

.marquee:hover .marquee-track { animation-play-state: paused; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.panel { display: grid; gap: 12px; margin-top: 8px; }

.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }

.step, .chip, .seg button {

  border: 1px solid rgba(255, 107, 129, 0.35); background: white; color: var(--wine);

  border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer;

}

.step.is-on, .chip.is-on, .seg button.is-on, .city.is-on { background: linear-gradient(90deg, #ff6b81, #ff4757); color: white; border-color: transparent; }

.step.is-done { background: var(--petal); }

.check { display: flex; gap: 8px; align-items: center; font-weight: 800; }

.err { color: var(--rose); font-weight: 800; min-height: 1.2em; margin: 0; }

.note { color: var(--dusk); font-size: 0.92rem; }

.photo-box, .face { position: relative; min-height: 240px; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #ffe3ea, #fff); border: 1.5px dashed rgba(255, 107, 129, 0.45); display: grid; }

.photo-box img { height: 280px; }

#dropHint, .face p { margin: 0; padding: 24px; text-align: center; font-weight: 800; align-self: center; }

.badge-blue { position: absolute; top: 12px; left: 12px; background: #3d9be9; color: white; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }

.deck-wrap { margin-top: 18px; }

.deck { position: relative; height: 540px; }

.swipe-card {

  position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #ff8fa3, #ffa502);

  box-shadow: 0 18px 50px rgba(255, 71, 87, 0.18); touch-action: none; user-select: none;

  transform: translateY(calc(var(--d) * 12px)) scale(calc(1 - var(--d) * 0.045));

}

.swipe-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); background-size: 220% 100%; animation: cardShimmer 1.2s linear infinite; }

.swipe-card.is-ready::before { display: none; }

.swipe-card img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 48%; display: block; opacity: 0; transition: opacity 0.35s ease; }

.swipe-card.is-ready img { opacity: 1; }

.swipe-card .ph { position: absolute; inset: 0; font-size: 5rem; }

@keyframes cardShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.swipe-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: white; background: linear-gradient(transparent, rgba(194, 59, 90, 0.55) 40%, rgba(122, 41, 66, 0.88)); }

.swipe-card h3 { margin: 0 0 4px; font-size: 1.7rem; }

.swipe-card .where { margin: 0 0 6px; font-weight: 800; letter-spacing: 0.03em; }

.swipe-card .adm-count { display: inline-block; margin-bottom: 8px; background: #fff; color: var(--rose); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }

.pill-soft { font-size: 11px; margin-top: 8px; }

#swipe.block { padding-top: 16px; }

.country-bar { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 8px 0; }

.rail-box { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; align-items: center; }

.rail-nav { width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(142, 180, 255, 0.18); color: #eef4ff; font-size: 22px; font-weight: 800; cursor: pointer; }

.mate-rail { display: flex; flex-wrap: nowrap; gap: 8px; overflow: hidden; padding: 8px 0; }

.country-bar button, .mate-rail button { flex: 0 0 auto; }

.country-bar button { border: 0; background: rgba(255,255,255,.86); color: var(--wine); border-radius: 16px; padding: 8px 12px; font-weight: 800; cursor: pointer; min-height: 44px; }

.country-bar button small { display: block; font-size: 11px; color: var(--rose); }

.country-bar button.is-on, .mate-rail button.is-on { outline: 2px solid #ff4757; }

.mate-rail button { width: 92px; border: 0; padding: 0; background: white; border-radius: 16px; overflow: hidden; color: var(--wine); cursor: pointer; text-align: left; }

.mate-rail img { width: 92px; height: 118px; object-fit: cover; object-position: center 48%; display: block; }

.mate-rail span { display: block; font-size: 11px; font-weight: 800; padding: 4px 6px 8px; }

.filters-fold { margin-top: 16px; }

.filters-fold summary { cursor: pointer; font-weight: 800; color: var(--wine); }

.match-card .hello-line { font-weight: 800; }

.match-card .field { width: 100%; margin-top: 8px; }

.bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

.stamp { position: absolute; top: 28px; padding: 6px 10px; border: 3px solid; border-radius: 12px; font-size: 1.4rem; opacity: 0; background: rgba(255, 255, 255, 0.8); }

.stamp.like { left: 20px; color: var(--rose); transform: rotate(-14deg); }

.stamp.nope { right: 20px; color: var(--gold-ink); transform: rotate(12deg); }

.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--rose); padding: 4px 8px; font-size: 12px; font-weight: 800; }

.pill svg { width: 48px; height: 16px; }

.ribbon { display: inline-block; margin-bottom: 8px; background: rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 800; }

.circle { width: 64px; height: 64px; border-radius: 50%; border: 0; font-weight: 800; cursor: pointer; background: white; color: var(--wine); box-shadow: 0 10px 24px rgba(255, 107, 129, 0.18); }

.circle.like { background: linear-gradient(135deg, #ff6b81, #ff4757); color: white; }

.circle.super { background: linear-gradient(135deg, #ffa502, #ff6b81); color: white; }

.filters { margin: 16px 0; align-items: end; }

.filters .lbl { min-width: 140px; }

.score { font-family: var(--display); font-size: 2rem; color: var(--rose); }

.passport-grid, .safety-grid, .stats, .story-grid, .foot { display: grid; gap: 14px; }

.passport-grid { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }

.city, .story, .shield { border: 0; padding: 0; border-radius: 24px; overflow: hidden; background: white; text-align: left; color: var(--wine); cursor: pointer; box-shadow: 0 12px 30px rgba(255, 107, 129, 0.12); }

.city img { height: 150px; }

.city .pad, .story .pad, .shield { padding: 14px 14px 16px; }

.city small, .story .route { display: block; color: var(--dusk); margin-top: 4px; }

.story { cursor: default; }

.story img { height: 210px; }

.safety-grid, .stats, .story-grid { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }

.safety-grid { grid-template-columns: repeat(3, 1fr); }

.shield { cursor: default; }

.shield ul { margin: 10px 0 0; padding-left: 18px; }

.shield.armed ul li { text-decoration: line-through; color: var(--dusk); }

.face { min-height: 180px; margin-bottom: 10px; }

.face img { height: 180px; }

.stat { border-radius: 24px; padding: 18px; background: rgba(255, 255, 255, 0.72); }

.stat span { display: block; color: var(--dusk); font-weight: 800; }

.foot { grid-template-columns: 1.4fr repeat(3, 1fr); padding: 28px 0 48px; }

.linkish { display: block; background: none; border: 0; padding: 4px 0; font-weight: 800; color: var(--dusk); cursor: pointer; text-align: left; }

.linkish:hover { color: var(--rose); }

.cookie { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 22px; }

.modal-back, .match { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(255, 240, 245, 0.72); backdrop-filter: blur(8px); }

.modal, .match-card, .sub { width: min(520px, 100%); border-radius: 28px; padding: 22px; }

.auth-card { width: min(440px, 100%); max-height: min(92dvh, 840px); overflow: auto; padding: 26px 24px 20px; position: relative; }

.auth-card.is-signup { width: min(520px, 100%); }

.auth-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--dusk); font-size: 22px; line-height: 1; cursor: pointer; }

.auth-brand { display: flex; align-items: center; gap: 10px; margin: 0 28px 14px 0; }

.auth-brand b { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1; }

.auth-brand small { display: block; margin-top: 3px; color: var(--berry); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; }

.auth-card h2 { margin: 0 0 6px; font-family: var(--sans); font-weight: 800; letter-spacing: 0; font-size: 1.42rem; line-height: 1.25; }

.auth-card .lead { margin: 0 0 16px; font-size: 0.95rem; }

.auth-social { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.auth-soc { border: 1px solid rgba(255, 107, 129, 0.35); background: #fff; border-radius: 14px; padding: 10px 6px; font-weight: 800; cursor: pointer; color: var(--wine); }

.auth-soc:hover { background: #fff5f7; }

.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; color: var(--dusk); font-size: 12px; font-weight: 800; }

.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 107, 129, 0.28); }

.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }

.auth-card .lbl { margin-top: 10px; }

.auth-grid .lbl { margin-top: 0; }

.auth-label { font-weight: 800; margin: 14px 0 8px; }

.auth-card .check { margin-top: 10px; align-items: flex-start; }

.auth-err { color: var(--rose); font-weight: 800; margin: 10px 0 0; }

.auth-go { width: 100%; margin-top: 16px; }

.auth-switch { width: 100%; text-align: center; margin-top: 12px; }

#admirer { z-index: 90; }

#admirer.admirer-back, #nudge.admirer-back { background: radial-gradient(ellipse at 50% 40%, rgba(255, 182, 193, 0.55), rgba(255, 240, 245, 0.78) 62%); overflow: hidden; }

.admirer-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.admirer-sky i { position: absolute; bottom: -12%; color: #ff4757; font-style: normal; opacity: 0; animation: admFloat 6.4s linear infinite; filter: drop-shadow(0 4px 8px rgba(255, 71, 87, 0.28)); }

.admirer-sky i::before { content: "♥"; }

.admirer-sky i:nth-child(1) { left: 8%; font-size: 18px; animation-delay: 0s; }

.admirer-sky i:nth-child(2) { left: 22%; font-size: 12px; animation-delay: 1.1s; }

.admirer-sky i:nth-child(3) { left: 36%; font-size: 22px; animation-delay: 0.4s; }

.admirer-sky i:nth-child(4) { left: 48%; font-size: 14px; animation-delay: 2.2s; }

.admirer-sky i:nth-child(5) { left: 61%; font-size: 20px; animation-delay: 0.8s; }

.admirer-sky i:nth-child(6) { left: 73%; font-size: 11px; animation-delay: 1.8s; }

.admirer-sky i:nth-child(7) { left: 84%; font-size: 16px; animation-delay: 0.2s; }

.admirer-sky i:nth-child(8) { left: 92%; font-size: 13px; animation-delay: 2.6s; }

.admirer-card {

  position: relative; z-index: 1; width: min(380px, 100%); text-align: center;

  padding: 26px 22px 22px; border: 1px solid rgba(255, 107, 129, 0.28);

  box-shadow: 0 22px 60px rgba(255, 71, 87, 0.22);

  animation: admPop 0.72s cubic-bezier(0.22, 1.4, 0.32, 1) both;

}

.admirer-photo-wrap { position: relative; width: 148px; height: 148px; margin: 2px auto 16px; }

.admirer-ring { position: absolute; inset: -10px; border: 2px dashed #ff8fa3; border-radius: 50%; animation: admSpin 8s linear infinite; }

.admirer-glow { position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 129, 0.35), transparent 68%); animation: admGlow 1.5s ease-in-out infinite; pointer-events: none; }

#admirerPhoto {

  position: relative; z-index: 1; width: 148px; height: 148px; max-width: none;

  object-fit: cover; object-position: center 48%; border-radius: 50%; display: block;

  box-shadow: 0 0 0 4px #fff, 0 0 0 8px #ffb3c1, 0 16px 36px rgba(255, 71, 87, 0.32);

  animation: admBeat 1.5s ease-in-out infinite;

}

.admirer-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 6px; }

.admirer-kicker::before { content: "♥"; color: #ff4757; animation: beat 1s ease-in-out infinite; }

#admirerTitle { margin: 0 0 8px; }

#admirerBody { color: var(--rose); font-weight: 700; }

.admirer-force { height: 6px; border-radius: 999px; background: #ffe1e8; overflow: hidden; margin: 12px 0 4px; }

.admirer-force i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff6b81, #ffa502); transition: width 0.35s linear; }

#nudge { z-index: 88; }

#safariGate { z-index: 200; }

#safariGate.admirer-back { pointer-events: auto; background: rgba(22, 16, 14, 0.55); backdrop-filter: blur(16px); }

html.safari-hold, html.safari-hold body, body.safari-locked { overflow: hidden; }

html:not(.lang-ready) #splash,

html:not(.lang-ready) #safariGate { visibility: hidden; }

.safari-card { text-align: center; }

.safari-sheet {

  width: min(280px, calc(100% - 40px));

  padding: 16px 16px 14px;

  border-radius: 22px;

  background: linear-gradient(180deg, #fffdfb 0%, #f7f1ea 100%);

  border: 1px solid rgba(255, 255, 255, 0.85);

  box-shadow: 0 18px 46px rgba(28, 20, 16, 0.24), 0 0 0 1px rgba(196, 165, 116, 0.28);

}

.theme-gate-logo { width: 34px; height: 34px; margin: 0 auto 6px; }

.theme-gate-logo svg { width: 16px; height: 16px; }

.theme-gate-name { margin: 0 0 8px; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.08em; color: #241c18; }

#safariTitle { margin: 0; color: #241c18; font-size: 0.98rem; font-weight: 800; line-height: 1.4; letter-spacing: 0; }

#safariNote { margin: 8px 0 0; color: #6f645c; font-size: 0.8rem; font-weight: 650; line-height: 1.5; }

.safari-acts { display: grid; gap: 8px; margin-top: 12px; }

.safari-acts .btn { width: 100%; min-height: 42px; border-radius: 12px; }

.safari-acts .btn-primary { background: linear-gradient(120deg, #6d3542, #8c3a4b 58%, #c4a574); box-shadow: 0 8px 18px rgba(109, 53, 66, 0.22); }

.nudge-sky i:nth-child(odd)::before { content: "✦"; color: #ffa502; }

.nudge-card {

  overflow: hidden;

  border-color: rgba(255, 165, 2, 0.36);

  box-shadow: 0 22px 60px rgba(255, 165, 2, 0.2);

}

.nudge-spark { position: absolute; inset: 0; pointer-events: none; }

.nudge-spark b { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #ffa502; opacity: 0; animation: nudgeTwinkle 1.8s ease-in-out infinite; }

.nudge-spark b:nth-child(1) { left: 14%; top: 18%; animation-delay: 0s; }

.nudge-spark b:nth-child(2) { right: 16%; top: 22%; animation-delay: 0.4s; }

.nudge-spark b:nth-child(3) { left: 20%; bottom: 22%; animation-delay: 0.8s; }

.nudge-spark b:nth-child(4) { right: 18%; bottom: 18%; animation-delay: 1.2s; }

.nudge-chat {

  position: absolute; z-index: 2; right: -4px; bottom: 10px;

  width: 38px; height: 38px; border-radius: 50%;

  display: grid; place-items: center; background: #fff;

  box-shadow: 0 8px 18px rgba(255, 71, 87, 0.28);

  animation: admBeat 1.15s ease-in-out infinite;

}

#nudgePhoto {

  position: relative; z-index: 1; width: 148px; height: 148px; max-width: none;

  object-fit: cover; object-position: center 48%; border-radius: 50%; display: block;

  box-shadow: 0 0 0 4px #fff, 0 0 0 8px #ffd39a, 0 16px 36px rgba(255, 165, 2, 0.28);

  animation: admBeat 1.5s ease-in-out infinite;

}

#nudgeTitle { margin: 0 0 8px; }

#nudgeBody { color: var(--rose); font-weight: 700; }

.nudge-acts { display: grid; gap: 10px; margin-top: 16px; }

.nudge-acts:not([hidden]) { animation: nudgeActsIn 0.48s cubic-bezier(0.22, 1.25, 0.32, 1) both; }

.nudge-acts .btn { width: 100%; }

.nudge-acts .btn-primary { animation: admReady 1.1s ease-in-out infinite; }

@keyframes nudgeTwinkle { 0%, 100% { transform: scale(0.4); opacity: 0; } 45% { transform: scale(1.2); opacity: 0.95; } }

@keyframes nudgeActsIn { 0% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

@keyframes admPop { 0% { transform: translateY(32px) scale(0.86); opacity: 0; } 58% { transform: translateY(-8px) scale(1.04); opacity: 1; } 100% { transform: translateY(0) scale(1); } }

@keyframes admBeat { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.045); } }

@keyframes admGlow { 0%, 100% { opacity: 0.45; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.08); } }

@keyframes admSpin { to { transform: rotate(360deg); } }

@keyframes admFloat { 0% { transform: translateY(0) rotate(-8deg); opacity: 0; } 10% { opacity: 0.88; } 100% { transform: translateY(-110vh) rotate(12deg); opacity: 0; } }

@keyframes admReady { 0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(255, 71, 87, 0.18); } 50% { transform: scale(1.04); box-shadow: 0 12px 28px rgba(255, 71, 87, 0.28); } }

.sub { margin: 28px auto 48px; }

.match-card { position: relative; z-index: 2; text-align: center; }

.fw { position: absolute; bottom: 18%; pointer-events: none; animation: fw 1.6s ease-out forwards; }

#toasts { position: fixed; z-index: 140; right: 14px; bottom: 14px; display: grid; gap: 8px; width: min(320px, calc(100% - 28px)); }

.toast { background: white; border-radius: 16px; padding: 12px 14px; border: 1px solid rgba(255, 107, 129, 0.35); box-shadow: 0 12px 30px rgba(255, 71, 87, 0.16); }

#splash { min-height: 100vh; display: grid; place-items: center; align-content: center; justify-items: center; gap: 16px; padding: 24px; }

.splash-logos { display: flex; gap: 18px; align-items: center; }

.splash-logos svg { width: 84px; height: 84px; }

.bar { width: min(280px, 70vw); }

.bar.short { width: 180px; }

.ph { display: grid; place-items: center; background: linear-gradient(135deg, #ff6b81, #ffa502); color: white; font-family: var(--display); font-size: 2rem; }

.empty { padding: 28px; text-align: center; border-radius: 24px; }

@keyframes shimmer { to { background-position: 220% center; } }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@keyframes beat { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.18); } }

@keyframes spinY { to { transform: rotateY(360deg); } }

@keyframes cupid { 0%, 100% { transform: translateX(0) rotate(-8deg); } 50% { transform: translateX(26px) rotate(8deg); } }

@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.22) rotate(16deg); opacity: 0.72; } }

@keyframes draw { to { stroke-dashoffset: 8; } }

@keyframes ecg { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -90; } }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@keyframes scan { 0% { top: -20%; } 100% { top: 90%; } }

@keyframes pulse-ring { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }

@keyframes rise { from { transform: translateY(0); } to { transform: translateY(-115vh); } }

@keyframes fw { 0% { transform: translateY(0) scale(0.5); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateY(-72vh) scale(1.15); opacity: 0; } }

@media (max-width: 980px) {

  .nav, .desk-login { display: none; }

  .burger { display: grid; }

  .hero, .passport-grid, .safety-grid, .stats, .story-grid, .foot, .grid-2, .auth-grid { grid-template-columns: 1fr; }

  .stage { min-height: 0; }

  .halo { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 12px; }

  #orbit { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }

  #orbit .ocard { position: relative; inset: auto; flex: 0 0 200px; width: 200px; height: 260px; scroll-snap-align: start; }

  .deck { height: 500px; }

  .cookie { flex-direction: column; align-items: stretch; }

}

@media (min-width: 981px) {

  .burger, .drawer { display: none !important; }

  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); padding-top: 36px; }

  .stats { grid-template-columns: repeat(4, 1fr); }

  .story-grid { grid-template-columns: 1fr 1fr; }

  .deck { height: 680px; max-width: 440px; margin-inline: auto; }

}

.subnav { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 12px 0 0; }

.subnav button { border: 0; background: rgba(255,255,255,.78); color: var(--wine); border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }

.table-wrap { overflow: auto; border-radius: 20px; margin-top: 14px; }

table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 13px; }

table.cmp th, table.cmp td { padding: 8px 10px; border-bottom: 1px solid rgba(255,107,129,.2); text-align: left; }

table.cmp thead th { color: var(--gold-ink); }

.people, .zone-grid, .plan-grid { display: grid; gap: 12px; margin-top: 14px; }

.people { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.zone-grid, .plan-grid { grid-template-columns: repeat(3, 1fr); }

.zone-grid { grid-template-columns: 1fr 1fr; }

.person { background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 30px rgba(255,107,129,.12); }

.person img { width: 100%; height: 220px; object-fit: cover; object-position: center 48%; display: block; }

.person .pad { padding: 12px 14px 16px; }

.person.is-blur img, .person.is-blur strong { filter: blur(8px); }

.video-stage { min-height: 200px; border-radius: 24px; display: grid; place-items: center; text-align: center; padding: 16px; color: white; background: linear-gradient(145deg, #ff6b81, #ffa502); }

.wave { display: flex; gap: 5px; align-items: flex-end; margin-top: 12px; }

.wave i { width: 6px; height: 12px; background: #ff4757; border-radius: 99px; animation: wave 0.9s ease-in-out infinite; }

.wave i:nth-child(2) { animation-delay: .15s } .wave i:nth-child(3) { animation-delay: .3s }

@keyframes wave { 50% { height: 28px } }

.plan { border-radius: 24px; padding: 16px; }

.chat { border-radius: 24px; padding: 16px; margin-top: 12px; }

#pluginDock { position: fixed; z-index: 46; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(640px, calc(100% - 24px)); border-radius: 22px; padding: 12px; }

#pluginPreview, #camPreview { width: min(100%, 420px); max-height: 220px; border-radius: 16px; margin-top: 8px; object-fit: cover; }

.video-stage.is-blurred #camPreview { filter: blur(10px); }

.is-wait { opacity: 0.72; }

.is-boost { outline: 3px solid #ffa502; }

.is-spot { outline: 3px solid #ff4757; }

@media (max-width: 800px) { .zone-grid, .plan-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {

  .marquee-track, .floater, .fw, .scanline { animation: none !important; }

  .beat { animation-duration: 2.4s !important; }

}


/* reference-2.css */
/* Phone shell only below 980px. Wide screens use the desktop layout. */

html.phone { -webkit-text-size-adjust: 100%; }

html.phone body { background: #ffe4ec; }

html.phone #app {

  width: min(430px, 100%);

  margin: 0 auto;

  min-height: 100dvh;

  background:

    radial-gradient(420px 240px at 10% -4%, rgba(255, 107, 129, 0.35), transparent 60%),

    radial-gradient(360px 220px at 100% 0%, rgba(255, 165, 2, 0.28), transparent 55%),

    #fff5f8;

  box-shadow: 0 0 0 1px rgba(255, 107, 129, 0.18);

}

html.phone .floater { display: none; }

html.phone .nav,

html.phone .desk-login,

html.phone .burger,

html.phone .actions .btn-primary { display: none !important; }

html.phone .topbar-wrap { padding: 8px 8px 0; }

html.phone .topbar { border-radius: 22px; padding: 6px 8px; }

html.phone .brand small { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

html.phone .wrap { width: calc(100% - 20px); }

html.phone .block { padding: 36px 0; scroll-margin-top: 76px; }

html.phone h1 { font-size: 1.72rem; }

html.phone h2 { font-size: 1.45rem; }

html.phone .hero { grid-template-columns: minmax(0, 1fr) !important; }

html.phone .hero > *,

html.phone .stage,

html.phone h1,

html.phone #orbit { min-width: 0; max-width: 100%; }

html.phone #orbit { width: 100%; }

html.phone .passport-grid,

html.phone .safety-grid,

html.phone .stats,

html.phone .story-grid,

html.phone .foot,

html.phone .grid-2,

html.phone .people,

html.phone .zone-grid,

html.phone .plan-grid { grid-template-columns: minmax(0, 1fr) !important; }

html.phone .stage { min-height: 0; }

html.phone .halo { position: relative; left: auto; top: auto; transform: none; margin: 8px auto 12px; }

html.phone #orbit { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }

html.phone #orbit .ocard { position: relative; inset: auto; flex: 0 0 168px; width: 168px; height: 220px; scroll-snap-align: start; }

html.phone .logo-row { width: 100%; gap: 8px; }

html.phone .logo-tile { width: 100%; height: auto; border-radius: 18px; }

html.phone .logo-tile svg { width: 56%; height: 56%; }

html.phone .deck { height: min(62dvh, 520px); }

html.phone .circle { width: 64px; height: 64px; }

html.phone .btn, html.phone .field, html.phone select.field { min-height: 44px; }

html.phone input, html.phone select, html.phone textarea { font-size: 16px; }

html.phone .subnav { padding-top: 10px; }

html.phone .subnav button { min-height: 40px; }

html.phone .filters .lbl { min-width: 0; width: 100%; }

html.phone .foot { display: grid; gap: 18px; padding-bottom: 12px; }

html.phone #view-home, html.phone #view-sub { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

html.phone .drawer {

  display: none;

  position: fixed;

  z-index: 55;

  left: 50%;

  bottom: calc(64px + env(safe-area-inset-bottom));

  transform: translateX(-50%);

  width: min(430px, 100%);

  max-height: min(68dvh, 520px);

  overflow: auto;

  margin: 0;

  border-radius: 24px 24px 0 0;

  padding: 12px;

  gap: 4px;

}

html.phone .drawer.open { display: grid !important; }

html.phone .drawer .navlink, html.phone .drawer .btn { min-height: 44px; text-align: start; }

html.phone .lang-pop {

  left: 50%;

  right: auto;

  inset-inline-end: auto;

  transform: translateX(-50%);

  width: min(360px, calc(100vw - 24px));

  top: 64px;

}

.tabbar { display: none; }

html.phone .tabbar {

  position: fixed;

  z-index: 50;

  left: 50%;

  bottom: 0;

  transform: translateX(-50%);

  width: min(430px, 100%);

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 0;

  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));

  background: rgba(255, 240, 245, 0.96);

  border-top: 1px solid rgba(255, 107, 129, 0.28);

  box-shadow: 0 -10px 28px rgba(255, 71, 87, 0.12);

}

html.phone .tabbar button {

  border: 0;

  background: transparent;

  color: var(--dusk);

  display: grid;

  justify-items: center;

  gap: 2px;

  min-height: 52px;

  padding: 4px 2px;

  font-size: 11px;

  font-weight: 800;

  cursor: pointer;

}

html.phone .tabbar svg { width: 22px; height: 22px; }

html.phone .tabbar button.is-on { color: var(--rose); }

html.phone .tabbar .tab-main {

  color: white;

  background: linear-gradient(135deg, #ff6b81, #ff4757);

  border-radius: 18px;

  margin-top: -16px;

  box-shadow: 0 10px 18px rgba(255, 71, 87, 0.28);

}

html.phone .tabbar .tab-main.is-on { color: white; }

html.phone .cookie {

  left: 50%;

  right: auto;

  width: min(400px, calc(100% - 16px));

  transform: translateX(-50%);

  bottom: calc(78px + env(safe-area-inset-bottom));

  flex-direction: column;

  align-items: stretch;

}

html.phone #pluginDock {

  bottom: calc(78px + env(safe-area-inset-bottom));

  width: min(400px, calc(100% - 16px));

}

html.phone #toasts {

  left: 50%;

  right: auto;

  transform: translateX(-50%);

  bottom: calc(86px + env(safe-area-inset-bottom));

  width: min(320px, calc(100% - 24px));

}

html.phone .modal-back,

html.phone .match {

  left: 50%;

  right: auto;

  width: min(430px, 100%);

  transform: translateX(-50%);

}

html.phone .modal, html.phone .match-card, html.phone .sub { width: min(360px, calc(100% - 20px)); }

html.phone .auth-card, html.phone .auth-card.is-signup { width: min(400px, calc(100% - 16px)); max-height: calc(100dvh - 12px); }

html.phone .auth-grid { grid-template-columns: 1fr; }

html.phone #admirer { z-index: 90; }

html.phone #nudge { z-index: 88; }

html.phone #safariGate { z-index: 120; }

html.phone .admirer-card { width: min(360px, calc(100% - 20px)); }

html.phone .admirer-photo-wrap, html.phone #admirerPhoto, html.phone #nudgePhoto { width: 132px; height: 132px; }

html.phone .table-wrap { margin-inline: -2px; }

@media (max-width: 430px) {

  html.phone #app { box-shadow: none; }

}


/* reference-3.css */


/* Light ivory and wine. One surface system for the phone shell and the wide layout. */

:root {

  --blush: #c4a574;

  --rose: #8c3a4b;

  --gold: #b08968;

  --champagne: #f3ece4;

  --ivory: #fbf8f4;

  --wine: #241c18;

  --berry: #6e3b45;

  --dusk: #6f645c;

  --petal: #efe6dc;

  --gold-ink: #8a6239;

  color-scheme: light;

}

::selection { background: #ead9c4; color: #241c18; }

body {

  background:

    radial-gradient(1100px 620px at 8% -10%, rgba(196, 165, 116, 0.28), transparent 60%),

    radial-gradient(900px 540px at 100% 0%, rgba(140, 58, 75, 0.12), transparent 55%),

    radial-gradient(800px 600px at 80% 100%, rgba(176, 137, 104, 0.16), transparent 50%),

    #f7f3ee;

}

.glass {

  background: rgba(255, 252, 248, 0.82);

  border-color: rgba(36, 28, 24, 0.08);

  box-shadow: 0 18px 40px rgba(36, 28, 24, 0.06);

}

.btn-primary {

  color: #fffdfb;

  background: linear-gradient(120deg, #2a221e 0%, #6d3542 62%, #a6845a 150%);

  box-shadow: 0 12px 28px rgba(36, 28, 24, 0.16);

}

.btn-ghost {

  color: #241c18;

  background: rgba(255, 252, 248, 0.9);

  border-color: rgba(36, 28, 24, 0.12);

}

.field {

  background: #fffdfb;

  border-color: rgba(176, 137, 104, 0.45);

  color: #241c18;

}

.field:focus { box-shadow: 0 0 0 4px rgba(196, 165, 116, 0.22); }

.love-shimmer {

  background-image: linear-gradient(100deg, #8c3a4b 0%, #b08968 28%, #2a221e 52%, #8c3a4b 78%, #b08968 100%);

}

.ecg { stroke: #8c3a4b; }

.logo-badge { background: linear-gradient(135deg, #6d3542, #c4a574); box-shadow: 0 8px 20px rgba(109, 53, 66, 0.22); }

.nav button:hover, .drawer button.navlink:hover { background: rgba(36, 28, 24, 0.05); color: #241c18; }

.burger, #langBtn { background: rgba(255, 252, 248, 0.92); color: #241c18; }

.lang-pop button.is-on, .lang-pop button:hover { background: rgba(36, 28, 24, 0.05); }

.couples, .logo-tile, .country-bar button, .mate-rail button, .subnav button, .person, .toast, .auth-soc, .auth-x, .skip {

  background: #fffdfb;

  color: #241c18;

}

.rail-nav { background: #fffdfb; color: #241c18; box-shadow: 0 8px 18px rgba(36, 28, 24, 0.08); }

.step, .chip, .seg button { background: #fffdfb; color: #241c18; border-color: rgba(36, 28, 24, 0.1); }

.step.is-on, .chip.is-on, .seg button.is-on, .city.is-on {

  background: linear-gradient(90deg, #6d3542, #c4a574);

  color: #fffdfb;

}

.step.is-done { background: #efe6dc; color: #241c18; }

.photo-box, .face { background: linear-gradient(135deg, #f3ece4, #fffdfb); border-color: rgba(176, 137, 104, 0.4); }

.marquee { background: rgba(255, 252, 248, 0.7); border-color: rgba(36, 28, 24, 0.08); }

.ocard, #orbit .ocard { background: #efe6dc; }

.swipe-card { background: linear-gradient(160deg, #efe6dc, #c4a574); }

.swipe-card .meta { background: linear-gradient(transparent, rgba(36, 28, 24, 0.2) 36%, rgba(36, 28, 24, 0.78)); }

.swipe-card .adm-count { background: rgba(255, 252, 248, 0.92); color: #6d3542; }

.stamp { background: rgba(255, 252, 248, 0.9); }

.pill { background: rgba(255, 252, 248, 0.92); color: #6d3542; }

.circle { background: #fffdfb; color: #241c18; box-shadow: 0 10px 24px rgba(36, 28, 24, 0.08); }

.circle.like, .circle.super { color: #fffdfb; }

.circle.like { background: linear-gradient(135deg, #6d3542, #a6845a); }

.circle.super { background: linear-gradient(135deg, #2a221e, #8c3a4b); }

.city, .story, .shield, .stat { background: #fffdfb; box-shadow: 0 12px 30px rgba(36, 28, 24, 0.06); }

.modal-back, .match { background: rgba(36, 28, 24, 0.28); }

#admirer.admirer-back, #nudge.admirer-back {

  background: radial-gradient(ellipse at 50% 40%, rgba(196, 165, 116, 0.35), rgba(247, 243, 238, 0.92) 62%);

}

.admirer-glow { background: radial-gradient(circle, rgba(196, 165, 116, 0.45), transparent 68%); }

.admirer-sky i { color: #c4a574; }

.admirer-kicker::before { color: #8c3a4b; }

.nudge-sky i:nth-child(odd)::before { color: #8c3a4b; }

.admirer-ring { border-color: #c4a574; }

.admirer-force { background: #efe6dc; }

.admirer-force i { background: linear-gradient(90deg, #6d3542, #c4a574); }

.nudge-card { border-color: rgba(176, 137, 104, 0.45); box-shadow: 0 22px 60px rgba(36, 28, 24, 0.12); background: #fffdfb; }

.nudge-spark b { background: #c4a574; }

.nudge-chat { background: #f3ece4; color: #241c18; }

#nudgePhoto, #admirerPhoto { box-shadow: 0 0 0 4px #fffdfb, 0 0 0 8px #c4a574, 0 16px 36px rgba(36, 28, 24, 0.12); }

.skeleton {

  background: linear-gradient(90deg, rgba(239, 230, 220, 0.9), rgba(196, 165, 116, 0.45), rgba(239, 230, 220, 0.9));

  background-size: 200% 100%;

}

.ph, .video-stage { background: linear-gradient(145deg, #6d3542, #c4a574); }

.wave i { background: #8c3a4b; }

.auth-soc:hover { background: rgba(36, 28, 24, 0.04); }

.auth-or::before, .auth-or::after { background: rgba(36, 28, 24, 0.12); }

html.phone body { background: #f3ece4; }

html.phone #app {

  background:

    radial-gradient(420px 240px at 10% -4%, rgba(196, 165, 116, 0.34), transparent 60%),

    radial-gradient(360px 220px at 100% 0%, rgba(140, 58, 75, 0.12), transparent 55%),

    radial-gradient(280px 220px at 50% 100%, rgba(176, 137, 104, 0.16), transparent 60%),

    #fbf8f4;

  box-shadow: 0 0 0 1px rgba(36, 28, 24, 0.06);

}

html.phone .tabbar {

  background: rgba(255, 252, 248, 0.94);

  border-top-color: rgba(36, 28, 24, 0.08);

  box-shadow: 0 -10px 28px rgba(36, 28, 24, 0.06);

}

html.phone .tabbar .tab-main {

  background: linear-gradient(135deg, #6d3542, #c4a574);

  box-shadow: 0 10px 18px rgba(109, 53, 66, 0.22);

}

.card-tap, .click-dock, .circle.like { animation: admReady 1.05s ease-in-out infinite; }

.card-tap {

  position: relative;

  z-index: 3;

  width: 100%;

  margin-top: 12px;

  min-height: 48px;

  pointer-events: auto;

}

.click-dock {

  display: none;

}

html.phone .click-dock {

  display: grid;

  position: fixed;

  z-index: 52;

  left: 50%;

  bottom: calc(78px + env(safe-area-inset-bottom));

  transform: translateX(-50%);

  width: min(400px, calc(100% - 16px));

  min-height: 56px;

  grid-template-columns: auto 1fr;

  align-items: center;

  gap: 10px;

  padding: 10px 16px;

  border-radius: 18px;

  text-align: left;

}

html.phone .click-dock b { display: block; font-size: 1.05rem; }

html.phone .click-dock small { display: block; font-weight: 800; opacity: 0.9; }

html.phone .circle.like { width: 78px; height: 78px; font-size: 1rem; }

html.phone .deck { height: min(46dvh, 390px); }

html.phone { scroll-behavior: auto; }

html.phone #view-home > section { display: none; scroll-margin-top: 76px; }

html.phone #view-home > section.is-open { display: block; padding-bottom: 18px; }

html.phone #view-home > section.is-open ~ section.is-open { border-top: 1px solid rgba(36, 28, 24, 0.08); padding-top: 16px; }

html.phone #view-home > #swipe.is-open { display: flex; flex-direction: column; padding-top: 8px; }

html.phone #view-home > .marquee,

html.phone footer.foot { display: none; }

html.phone #swipe > .kicker,

html.phone #swipe > .lead,

html.phone #swipe .note { display: none; }

html.phone #swipe .rail-box { order: -1; margin: 0 0 10px; }

html.phone .mate-rail button {

  width: 74px;

  background: transparent;

  box-shadow: none;

  border-radius: 0;

}

html.phone .mate-rail img {

  width: 64px;

  height: 64px;

  margin: 0 auto;

  border-radius: 50%;

  object-fit: cover;

  object-position: center 48%;

  box-shadow: 0 0 0 2px #fbf8f4, 0 0 0 4px #c4a574;

}

html.phone .mate-rail span {

  text-align: center;

  font-size: 10px;

  padding-top: 6px;

}

html.phone .swipe-card { border-radius: 28px; }

html.phone .swipe-card .adm-count,

html.phone .swipe-card .ribbon,

html.phone .swipe-card .pill-soft { display: none; }

html.phone .swipe-card .meta {

  padding: 72px 16px 16px;

  background: linear-gradient(transparent, rgba(8, 10, 24, 0.15) 28%, rgba(7, 10, 24, 0.92));

}

html.phone .swipe-card h3 { font-size: 1.9rem; letter-spacing: -0.03em; }

html.phone .swipe-card .where { font-size: 0.95rem; opacity: 0.92; }

html.phone .swipe-card .bio { -webkit-line-clamp: 2; font-size: 0.95rem; }

html.phone #admirer .admirer-card { padding: 0 0 16px; overflow: hidden; text-align: left; }

html.phone #admirer .admirer-photo-wrap { position: relative; width: 100%; height: 340px; margin: 0; }

html.phone #admirer #admirerPhoto {

  width: 100%; height: 340px; max-width: none; border-radius: 28px 28px 0 0;

  object-fit: cover; object-position: center 48%; box-shadow: none; animation: openZoom 5s ease-out both;

}

html.phone #admirer .admirer-ring, html.phone #admirer .admirer-glow { display: none; }

html.phone #admirer .admirer-kicker {

  position: absolute; left: 14px; bottom: 14px; margin: 0;

  background: rgba(255, 252, 248, 0.9); color: #241c18; border-radius: 999px; padding: 6px 12px;

}

html.phone #admirer #admirerTitle { margin: 14px 18px 6px; font-size: 1.45rem; }

html.phone #admirer #admirerBody {

  margin: 0 18px 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;

}

html.phone #admirer #admirerGo { width: calc(100% - 36px); margin: 0 18px; }

html.phone #admirer .admirer-force { margin: 12px 18px 0; height: 4px; background: #efe6dc; }

@keyframes openZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

html.phone #splash { width: min(430px, 100%); margin: 0 auto; background: #f7f3ee; }

.intro-card { width: min(400px, calc(100% - 16px)); height: min(92dvh, 780px); display: flex; flex-direction: column; border-radius: 28px; padding: 14px 12px 12px; text-align: left; }

.intro-card h2 { margin: 0 4px 10px; font-size: 1.35rem; }

.intro-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; }

.intro-tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; min-height: 0; }

.intro-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; display: block; }

.intro-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px 8px 8px; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.3; background: linear-gradient(transparent, rgba(6, 8, 20, 0.88)); }

#introBar { width: 0; height: 100%; animation: introFill 5s linear forwards; }

@keyframes introFill { to { width: 100%; } }

html.phone .swipe-actions { position: relative; z-index: 3; margin-bottom: 8px; }

.letter { border-radius: 22px; padding: 0; margin-top: 12px; overflow: hidden; }

.letter-photo { width: 100%; height: 240px; object-fit: cover; object-position: center 48%; display: block; }

.letter-pad { padding: 14px 16px 16px; }

#chatBox { padding: 0; overflow: hidden; }

.letter b { display: block; font-size: 1.02rem; }

.letter p { margin: 8px 0 12px; line-height: 1.6; }

.chat-thread { display: grid; gap: 8px; margin: 12px 0; }

.chat-line { margin: 0; padding: 10px 12px; border-radius: 16px; line-height: 1.55; }

.chat-line.from { background: rgba(140, 58, 75, 0.08); }

.chat-line.me { background: rgba(196, 165, 116, 0.22); margin-left: 14%; }

html.phone #view-home, html.phone #view-sub { padding-bottom: calc(156px + env(safe-area-inset-bottom)); }

html.phone .subnav { display: none; }

html.phone #discover { padding-top: 2px; gap: 0; }

html.phone #discover .kicker,

html.phone #discover .lead,

html.phone #discover .couples,

html.phone #discover .logo-row,

html.phone #discover .halo,

html.phone #discover h1 .line:not(.love-shimmer),

html.phone #discover .cta-row + .cta-row { display: none; }

html.phone #discover h1 { margin: 0; font-size: 1.85rem; line-height: 1.12; letter-spacing: -0.04em; }

html.phone #discover h1 .love-shimmer { display: block; }

html.phone #discover .cta-row { margin-top: 10px; }

html.phone #discover .live {

  width: 100%;

  justify-content: space-between;

  padding: 8px 14px;

  border-radius: 999px;

  background: #fffdfb;

  border: 1px solid rgba(176, 137, 104, 0.35);

  color: #241c18;

}

html.phone #discover .stage { display: block; min-height: 0; margin-top: 12px; }

html.phone #discover #orbit {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  gap: 8px;

  width: 100%;

  overflow: visible;

  padding: 0;

}

html.phone #discover #orbit .ocard {

  position: relative;

  inset: auto;

  width: 100%;

  height: 168px;

  margin: 0;

  padding: 0;

  border: 0;

  animation: none;

  border-radius: 22px;

  overflow: hidden;

  cursor: pointer;

  color: #fff;

  text-align: left;

  box-shadow: 0 10px 28px rgba(36, 28, 24, 0.1);

}

html.phone #discover #orbit .ocard:first-child {

  grid-column: 1 / -1;

  height: 340px;

  border-radius: 28px;

}

html.phone #discover #orbit .ocard:nth-child(3n + 1):not(:first-child) {

  grid-column: 1 / -1;

  height: 220px;

}

html.phone #discover #orbit .ocard .cap {

  left: 0;

  right: 0;

  bottom: 0;

  border-radius: 0;

  padding: 28px 12px 10px;

  background: linear-gradient(transparent, rgba(6, 8, 20, 0.9));

}

html.phone #discover #orbit .ocard:first-child .cap { padding: 64px 16px 18px; }

html.phone #discover #orbit .ocard:first-child .cap strong { display: block; font-size: 1.45rem; letter-spacing: -0.03em; }

html.phone .cookie, html.phone #pluginDock { bottom: calc(148px + env(safe-area-inset-bottom)); }


/* style.css */
/* V4 keeps the reference's three stylesheets. Additions cover flow controls and older WebKit. */

html, body { overflow-x: hidden; }

.video-stage { position: relative; height: 280px; min-height: 0; padding: 0; overflow: hidden; }

#demoCall { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

.call-label { position: absolute; top: 14px; left: 14px; max-width: calc(100% - 28px); padding: 6px 10px; border-radius: 20px; background: rgba(37, 27, 26, .55); color: #fff; font-size: 12px; line-height: 1.5; }

.call-play { position: absolute; bottom: 14px; right: 14px; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 24px; background: rgba(37, 27, 26, .6); color: #fff; font: inherit; font-size: 13px; cursor: pointer; min-height: 44px; }

#camPreview { position: absolute; top: 52px; right: 14px; width: 82px; height: 110px; max-height: none; margin: 0; border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; object-fit: cover; }

#camPreview[hidden], .wave[hidden] { display: none; }

.voice-transcript { max-width: 48em; padding: 12px 0; font-size: 14px; line-height: 1.65; }

#voiceWave { min-height: 28px; }

@media (min-width: 981px) { #demoCall { object-fit: contain; } }

@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } }

.chat-entry { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }

.chat-entry-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; }

.chat-entry-meta .note { margin: 0; }

.chat-entry:focus-visible { outline: 2px solid var(--wine); outline-offset: -3px; }

/* A short sequence for each action: arrive, respond, then disperse. */

.swipe-feedback { position: fixed; z-index: 55; top: 0; right: 0; bottom: 0; left: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden; color: #aa3c59; }

.swipe-feedback[hidden] { display: none; }

.swipe-feedback[data-effect="star"] { color: #d3ad63; }

.feedback-burst { position: relative; width: 210px; height: 210px; }

.feedback-main { position: absolute; top: 20px; right: 20px; bottom: 20px; left: 20px; display: block; filter: drop-shadow(0 12px 24px rgba(115,35,57,.3)); animation: heart-beat 2.4s ease-in-out both; }

.swipe-feedback svg { display: block; width: 100%; height: 100%; fill: currentColor; overflow: visible; }

.symbol-glint { fill: none; stroke: rgba(255,255,255,.65); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60; animation: symbol-shine 2.4s ease both; }

.feedback-ring { position: absolute; top: 25px; right: 25px; bottom: 25px; left: 25px; border: 2px solid currentColor; border-radius: 50%; animation: feedback-ripple 1.5s .2s ease-out both; }

.feedback-ring.ring-two { animation-delay: .65s; }

.feedback-spark { position: absolute; left: 50%; top: 50%; width: 23px; height: 23px; animation: feedback-orbit 1.9s var(--delay) cubic-bezier(.2,.65,.35,1) both; }

.swipe-feedback[data-effect="star"] .feedback-main { animation-name: star-delivery; filter: drop-shadow(0 10px 28px rgba(190,145,60,.5)); }

.swipe-feedback[data-effect="broken"] .feedback-main { animation-name: broken-arrival; }

.swipe-feedback[data-effect="broken"] .feedback-ring { display: none; }

.swipe-feedback[data-effect="broken"] .feedback-spark { animation-name: broken-dust; width: 8px; height: 8px; opacity: .5; }

.heart-half { transform-origin: 60px 70px; }

.heart-half.left { animation: split-left 2.4s ease-in-out both; }

.heart-half.right { animation: split-right 2.4s ease-in-out both; }

.heart-crack { fill: none; stroke: #fff6ed; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 150; stroke-dashoffset: 150; animation: crack-draw 2.4s linear both; }

.swipe-feedback[data-effect="gift"] .feedback-main { animation-name: gift-delivery; }

.swipe-feedback[data-gift="Heart"] .feedback-main { animation-name: heart-beat; }

.swipe-feedback[data-gift="Coffee"] { color: #aa7a4b; }

.swipe-feedback[data-gift="Cake"] { color: #cd7c90; }

.swipe-feedback[data-gift="Flowers"] { color: #b44f70; }

.gift-stem { fill: #64865a; stroke: #64865a; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

.rose-bloom { animation: rose-open 2.4s cubic-bezier(.2,.8,.3,1) both; }

.rose-fold { fill: none; stroke: #f6adc0; stroke-width: 3; stroke-linecap: round; }

.gift-saucer { fill: #e8d2aa; stroke: #ad8052; stroke-width: 3; stroke-linecap: round; }

.gift-cup { fill: #fff7e6; stroke: #b78b64; stroke-width: 4; }

.gift-coffee { fill: #78523b; }

.coffee-cup { transform-origin: 60px 95px; animation: cup-toast 2.4s ease-in-out both; }

.coffee-steam { fill: none; stroke: #f3dcc7; stroke-width: 4; stroke-linecap: round; }

.coffee-steam path { animation: steam-rise 1.1s ease-out infinite; }

.coffee-steam path:nth-child(2) { animation-delay: .25s; }

.coffee-steam path:nth-child(3) { animation-delay: .5s; }

.cake-base { fill: #bf6683; }

.cake-icing { fill: #fff0db; }

.cake-candles { fill: none; stroke: #e9b867; stroke-width: 5; stroke-linecap: round; }

.candle-flame { fill: #efb24e; transform-origin: 60px 30px; animation: candle-flicker .24s ease-in-out infinite alternate; }

.bouquet-wrap { fill: #e0ba8d; stroke: #faf1dc; stroke-width: 2; }

.flower-bloom { animation: flower-open 1.8s .2s cubic-bezier(.2,.8,.3,1) both; }

.flower-bloom.bloom-1 { animation-delay: .4s; fill: #df92a1; }

.flower-bloom.bloom-2 { animation-delay: .6s; fill: #c67585; }

.flower-center { fill: #f3d79a; }

@keyframes heart-beat { 0% { opacity: 0; transform: translateY(65px) scale(.25); } 16% { opacity: 1; transform: scale(1.04); } 28% { transform: scale(.91); } 40% { transform: scale(1.2); } 51% { transform: scale(.98); } 63% { transform: scale(1.13); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(-48px) scale(.55); } }

@keyframes symbol-shine { 0%,12% { opacity: 0; stroke-dashoffset: 60; } 32%,62% { opacity: 1; stroke-dashoffset: 0; } 85%,100% { opacity: 0; } }

@keyframes feedback-ripple { 0% { opacity: 0; transform: scale(.45); } 15% { opacity: .55; } 100% { opacity: 0; transform: scale(2.6); } }

@keyframes feedback-orbit { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.1); } 22% { opacity: .85; } 65% { opacity: .7; transform: translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(var(--r)) scale(.8); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)),calc(-90px + var(--y))) rotate(var(--r)) scale(.2); } }

@keyframes star-delivery { 0% { opacity: 0; transform: translate(120px,-130px) rotate(-200deg) scale(.1); } 30% { opacity: 1; transform: rotate(15deg) scale(1.25); } 48% { transform: rotate(-10deg) scale(.94); } 70% { opacity: 1; transform: rotate(10deg) scale(1.07); } 100% { opacity: 0; transform: translateY(-70px) rotate(80deg) scale(.4); } }

@keyframes broken-arrival { 0% { opacity: 0; transform: scale(.3); } 18%,78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(45px) scale(.8); } }

@keyframes split-left { 0%,40% { transform: translate(0,0) rotate(0); } 75%,100% { transform: translate(-28px,16px) rotate(-18deg); } }

@keyframes split-right { 0%,40% { transform: translate(0,0) rotate(0); } 75%,100% { transform: translate(28px,16px) rotate(18deg); } }

@keyframes crack-draw { 0%,20% { stroke-dashoffset: 150; opacity: 0; } 23% { opacity: 1; } 43% { stroke-dashoffset: 0; opacity: 1; } 58%,100% { stroke-dashoffset: 0; opacity: 0; } }

@keyframes broken-dust { 0%,45% { opacity: 0; transform: translate(-50%,-50%) scale(0); } 65% { opacity: .5; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)),95px) rotate(var(--r)) scale(.5); } }

@keyframes gift-delivery { 0% { opacity: 0; transform: translateY(120px) scale(.2) rotate(-12deg); } 24% { opacity: 1; transform: translateY(-15px) scale(1.08) rotate(3deg); } 43% { transform: translateY(0) scale(1) rotate(-3deg); } 68% { opacity: 1; transform: rotate(3deg); } 100% { opacity: 0; transform: translateY(-65px) scale(.65); } }

@keyframes rose-open { 0%,12% { transform: scale(.05) rotate(-35deg); } 40% { transform: scale(1.2) rotate(8deg); } 65%,100% { transform: scale(1) rotate(0); } }

@keyframes cup-toast { 0%,20% { transform: rotate(-8deg); } 45% { transform: translateY(-6px) rotate(8deg); } 70%,100% { transform: rotate(0); } }

@keyframes steam-rise { from { opacity: 0; transform: translateY(10px); } 35% { opacity: .9; } to { opacity: 0; transform: translateY(-14px); } }

@keyframes candle-flicker { from { transform: scale(.92,1); opacity: .8; } to { transform: scale(1.04,1.12); opacity: 1; } }

@keyframes flower-open { 0% { transform: scale(.05) rotate(-50deg); } 45% { transform: scale(1.15) rotate(10deg); } 75%,100% { transform: scale(1) rotate(0); } }

@media (prefers-reduced-motion: reduce) {

  .swipe-feedback * { animation: none !important; }

  .feedback-ring, .feedback-spark { display: none; }

  .swipe-feedback .feedback-main { animation: feedback-fade .35s linear both !important; }

  .heart-crack { stroke-dashoffset: 0; }

  @keyframes feedback-fade { from { opacity: 1; } to { opacity: 0; } }

}

.skip { left: 0; top: 0; width: 1px; height: 1px; min-height: 0 !important; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip:focus { left: 12px; top: 8px; width: auto; height: auto; min-height: 44px !important; padding: 8px 12px; clip-path: none; white-space: normal; }

.modal-back, .match { top: 0; right: 0; bottom: 0; left: 0; }

.brand b, .auth-brand b { text-transform: lowercase; letter-spacing: .04em; }

img.country-flag, html.phone img.country-flag { position: static; top: auto; right: auto; bottom: auto; left: auto; display: inline-block; width: 20px; height: 14px; max-width: none; margin: 0 5px 0 0; border: 0; border-radius: 2px; box-shadow: none; object-fit: contain; object-position: center; opacity: 1; vertical-align: -2px; transform: none; }

html[dir='rtl'] img.country-flag { margin: 0 0 0 5px; }

.deck-wrap { position: relative; }

.click-dock { animation: none; }

html.phone body.no-dock-screen .click-dock { display: none; }

html.phone .swipe-actions { margin-top: 8px; }

html.phone .circle.like { width: 74px; height: 74px; }

html.phone .brand, html.phone .skip { min-height: 44px; }

html.phone .filters button, html.phone .step { min-height: 44px; }

.intro-card h2 { margin-right: 0; font-size: 1.2rem; line-height: 1.3; }

#introBar { animation: none; }

.v4-close { position: absolute; z-index: 5; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(36,28,24,.1); border-radius: 50%; background: #fffdfb; color: #6d3542; font: 28px/1 Arial,sans-serif; cursor: pointer; }

.nudge-card { position: relative; max-height: calc(100vh - 32px); overflow-y: auto; }

.register-preparing { min-height: 104px; display: grid; align-items: center; padding: 18px 0; }

.v4-progress { height: 4px; border-radius: 2px; overflow: hidden; background: #efe6dc; }

.v4-progress > span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#6d3542,#c4a574); }

#nudgeActs { min-height: 104px; }

.v4-chat-invite { position: fixed; z-index: 54; right: 20px; bottom: 20px; width: 350px; max-width: calc(100% - 24px); padding: 18px 48px 16px 18px; border-radius: 22px; background: #fffdfb; }

.v4-chat-invite .v4-close { top: 3px; right: 3px; background: transparent; border: 0; }

.v4-invite-label { color: #8a6239; font-size: 10px; letter-spacing: .1em; }

.v4-chat-invite h3 { font-size: 18px; line-height: 1.35; margin: 7px 0 14px; }

.v4-invite-actions { display: flex; flex-wrap: wrap; gap: 7px; }

.v4-invite-actions .btn { min-height: 44px; padding: 10px 14px; font-size: 12px; }

body.has-chat-invite .click-dock { visibility: hidden; }

.v4-demo-notice { padding: 9px 12px; border: 1px solid rgba(196,165,116,.35); border-radius: 14px; font-size: 12px; line-height: 1.6; background: #fffdfb; color: #6f645c; }

html.phone #app, html.phone #splash, html.phone .tabbar { width: 100%; max-width: 430px; }

html.phone { scrollbar-width: none; }

html.phone::-webkit-scrollbar { width: 0; height: 0; }

html.phone #splash { min-height: 100vh; min-height: 100dvh; }

html.phone .deck { height: 390px; height: min(46vh,390px); height: min(46dvh,390px); }

html.phone .intro-card { height: 92vh; height: min(92dvh,780px); }

html.phone .v4-chat-invite { left: 50%; right: auto; bottom: calc(78px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: calc(100% - 24px); max-width: 406px; }

html.phone .btn, html.phone .chip, html.phone .country-bar button, html.phone .tabbar button { min-height: 44px; }

html.phone .tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }

html.phone .tabbar button { min-width: 0; }

html.phone .tabbar button span { max-width: 100%; overflow-wrap: anywhere; }

#quiz [aria-invalid="true"] { outline: 2px solid var(--rose); outline-offset: 3px; }

#quiz #wizErr { margin: 8px 0 12px; }

html.phone #langBtn { min-height: 44px; }

html.phone .rail-nav { min-width: 44px; min-height: 44px; }

html.phone .mate-rail button { min-height: 88px; }

html.phone .v4-close { min-height: 44px; }

html[dir='rtl'] .v4-close, html[dir='rtl'] .splash-skip { right: auto; left: 10px; }

html[dir='rtl'] .v4-chat-invite { padding: 18px 18px 16px 48px; }

html[dir='rtl'] .v4-progress > span { transform-origin: right; }

@media (max-height: 720px) {

  html.phone .deck-wrap { margin-top: 0; }

  html.phone #swipe .rail-box { margin-bottom: 0; }

  html.phone .mate-rail { padding: 4px 0; }

  html.phone .mate-rail button { min-height: 80px; }

}

@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }

  *, *::before, *::after { animation: none !important; transition: none !important; }

}



html.phone footer.foot { display: block; padding: 16px 0 112px; }

html.phone footer.foot > div:not(:first-child), html.phone footer.foot > div:first-child > :not(#rights) { display: none; }

html.phone #rights { font-size: 12px; line-height: 1.6; }



/* Final iPhone handoff: ivory, wine and champagne match the approved page. */

#safariGate { padding: 16px; overflow-y: auto; }

#safariGate .safari-sheet { width: 100%; max-width: 360px; max-height: calc(100vh - 32px); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px; border-radius: 28px; text-align: left; }

.safari-brand { display: flex; align-items: center; margin-bottom: 18px; }

.safari-brand .theme-gate-logo { flex: 0 0 34px; margin: 0; }

.safari-brand .theme-gate-name { margin: 0 0 0 8px; font-size: 23px; letter-spacing: .02em; }

#safariLanguage { margin-left: auto; width: 112px; min-height: 44px; padding: 8px; border: 1px solid rgba(109,53,66,.12); border-radius: 12px; color: #6d3542; background: #fffdfb; font: inherit; font-size: 12px; }

.safari-portrait { height: 104px; margin-bottom: 18px; overflow: hidden; border-radius: 18px; background: #e9dfd4; }

.safari-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 31%; }

#safariTitle { font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.4; }

#safariNote { margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.7; }

#safariGate .safari-acts { margin-top: 20px; gap: 10px; }

#safariGate .safari-acts .btn { min-height: 52px; padding: 12px 14px; border-radius: 16px; line-height: 1.5; white-space: normal; }

#safariGate .safari-acts .btn-ghost { border: 1px solid rgba(109,53,66,.18); background: #fffdfb; color: #6d3542; }

.safari-feedback { margin: 14px 0 0; color: #6d3542; font-size: 13px; line-height: 1.7; }

#safariLink { margin-top: 10px; width: 100%; font-size: 14px; -webkit-user-select: text; user-select: text; }

.safari-why { margin-top: 12px; color: #7d7269; font-size: 11px; line-height: 1.6; }

.safari-why summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }

.safari-why p { margin: 0; }

html[dir='rtl'] #safariGate .safari-sheet { text-align: right; }

html[dir='rtl'] #safariLanguage { margin-left: 0; margin-right: auto; }

html[dir='rtl'] .safari-brand .theme-gate-name { margin-left: 0; margin-right: 8px; }

@media (max-height: 650px) {

  #safariGate .safari-sheet { padding: 18px; }

  .safari-brand { margin-bottom: 12px; }

  .safari-portrait { height: 72px; margin-bottom: 12px; }

  #safariTitle { font-size: 22px; }

  #safariGate .safari-acts { margin-top: 14px; }

}


/* controls.css */
/* Four shared controls. Small controls keep a 44px hit area around a 36/38px surface. */
:root {
  --ui-page: #f7f3ee;
  --ui-ink: #2e241f;
  --ui-muted: #6e625b;
  --ui-accent: #a97866;
  --ui-tint: #fff7f3;
  --ui-selected: #f0e2d9;
  --ui-line: rgba(60, 40, 30, .08);
  --ui-selected-line: rgba(141, 94, 73, .24);
  --ui-primary: linear-gradient(115deg, #9b6b57, #94634f);
  --ui-shadow: 0 3px 9px rgba(83, 51, 36, .09);
  --ui-radius: 22px;
  --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ui-ease: cubic-bezier(.2, .7, .3, 1);
}
body, html.phone body, html.phone #app { background: var(--ui-page); color: var(--ui-ink); }
button { font-family: var(--ui-font); font-weight: 600; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Primary, Secondary and Ghost share their geometry with the Filter Chip. */
.btn, .chip, .step, .seg button, .country-bar button, .subnav button,
.auth-soc, .rail-nav, #langBtn, .call-play {
  --control-fill: rgba(255, 255, 255, .64);
  --control-ink: var(--ui-ink);
  --control-line: var(--ui-line);
  --control-shadow: none;
  --control-inset: 0px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 44px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--ui-radius);
  background: none;
  box-shadow: none;
  color: var(--control-ink);
  font-family: var(--ui-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
  animation: none;
  transition: transform .2s var(--ui-ease), opacity .2s ease, color .2s ease;
}
.btn::before, .chip::before, .step::before, .seg button::before,
.country-bar button::before, .subnav button::before, .auth-soc::before,
.rail-nav::before, #langBtn::before, .call-play::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: var(--control-inset); right: 0; bottom: var(--control-inset); left: 0;
  border: 1px solid var(--control-line);
  border-radius: inherit;
  background: var(--control-fill);
  box-shadow: var(--control-shadow);
  pointer-events: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn.btn-primary, .safari-acts .btn.btn-primary {
  --control-fill: var(--ui-primary);
  --control-ink: #fff;
  --control-line: transparent;
  --control-shadow: var(--ui-shadow);
  background: none; box-shadow: none; color: var(--control-ink);
}
.btn.btn-secondary, .auth-soc {
  --control-fill: var(--ui-tint);
  --control-line: var(--ui-line);
  --control-ink: #735242;
}
.btn.btn-ghost, .rail-nav, #langBtn {
  --control-fill: transparent;
  --control-line: transparent;
  --control-ink: var(--ui-muted);
}
.chip, .step, .seg button:not(.btn), .country-bar button, .subnav button {
  --control-inset: 4px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 20px;
}
.chip.is-on, .step.is-on, .step.is-done, .seg button.is-on,
.country-bar button.is-on, .subnav button.is-on, .btn.is-on, .btn[aria-pressed="true"] {
  --control-fill: var(--ui-selected);
  --control-line: var(--ui-selected-line);
  --control-ink: #765341;
  background: none;
  color: var(--control-ink);
  box-shadow: none;
  outline: none;
}
.btn.ui-small, .seg button.btn.ui-small { --control-inset: 3px; min-height: 44px; padding: 8px 12px; }
.button-icon { width: 18px; height: 18px; flex: 0 0 18px; stroke-width: 1.65; }
.btn > span, .chip > span { min-width: 0; }
.btn > * + *, #langBtn > * + * { margin-left: 7px; }
.seg, .steps, .cta-row, .wiz-nav { gap: 0; }
.seg > button, .steps > button, .cta-row > .btn, .wiz-nav > .btn { margin: 0 6px 6px 0; }
.btn b, .btn small { font-weight: 600; }
.chip:focus-within { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.btn:active, .chip:active, .step:active, .seg button:active, .country-bar button:active,
.rail-nav:active, #langBtn:active { transform: scale(.98); }
button:disabled, .btn:disabled { opacity: .42; cursor: default; transform: none; animation: none; }
@media (hover: hover) {
  .btn:hover::before, .chip:hover::before, .step:hover::before, .seg button:hover::before,
  .country-bar button:hover::before, .auth-soc:hover::before, .rail-nav:hover::before,
  #langBtn:hover::before { border-color: var(--ui-selected-line); box-shadow: 0 2px 7px rgba(83, 51, 36, .06); }
  .btn-ghost:hover::before { background: rgba(169, 120, 102, .07); }
  button:disabled:hover::before { box-shadow: none; }
}

/* One primary action, with quieter companions on the same baseline. */
.swipe-actions, html.phone .swipe-actions {
  display: grid;
  grid-template-columns: .8fr 1fr 1.4fr 1.2fr;
  align-items: stretch;
  gap: 6px;
  margin-top: 14px !important;
  margin-bottom: 10px;
}
.swipe-actions .btn, html.phone .swipe-actions .circle,
html.phone .swipe-actions .circle.like {
  width: auto; height: auto; min-width: 0; min-height: 46px;
  padding: 10px 9px; border-radius: var(--ui-radius);
  background: none; box-shadow: none; color: var(--control-ink); font-size: 14px; animation: none;
}
.swipe-actions .button-icon { width: 17px; height: 17px; flex-basis: 17px; }
.country-bar { gap: 0; padding: 6px 0; }
.country-bar button { margin: 0 6px 2px 0; font-weight: 600; }
.country-bar button.is-on, .mate-rail button.is-on { outline: none; }
.mate-rail button.is-on { box-shadow: inset 0 0 0 1px var(--ui-selected-line); }
.mate-rail button { font-weight: 600; }
.rail-nav { width: 44px; height: 44px; padding: 0; font-size: 24px; }

/* Profile actions share a single quiet surface instead of five white pills. */
.person-actions {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
  gap: 2px; margin-top: 14px; padding: 4px;
  border: 1px solid var(--ui-line); border-radius: 22px;
  background: rgba(247, 243, 238, .8);
}
.person-actions .btn.btn-secondary.ui-small {
  --control-fill: transparent; --control-line: transparent;
  min-width: 0; margin: 0; padding: 8px 6px; gap: 0;
  flex-direction: column; font-size: 11px; line-height: 1.3;
}
.person-actions .btn.btn-secondary.is-like-action { --control-fill: #f0e2d9; --control-ink: #805846; }
.person-actions .btn.btn-secondary.is-on { --control-fill: var(--ui-selected); --control-line: var(--ui-selected-line); }
.person-actions .button-icon { width: 19px; height: 19px; flex-basis: 19px; }
.person-actions .btn > svg + span { margin: 5px 0 0; }
.card-tap, .nudge-acts .btn-primary { animation: none; }
.card-tap { min-height: 46px; margin-top: 14px; }

/* Quiet utility actions use the Ghost variant. */
.nav button, .drawer button.navlink, .linkish, .lang-pop button,
.v4-close, .auth-x, .burger {
  min-height: 44px; border: 0; border-radius: 18px;
  background: transparent; box-shadow: none; color: var(--ui-muted);
  font-family: var(--ui-font); font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.v4-close, .auth-x { width: 44px; height: 44px; font-size: 25px; }
.linkish { padding: 8px 0; }
.call-play { --control-fill: rgba(255, 247, 243, .94); --control-ink: var(--ui-ink); position: absolute; padding: 8px 16px; }
#safariGate .safari-acts .btn { min-height: 46px; padding: 12px 18px; border-radius: var(--ui-radius); }
#safariGate .safari-acts .btn-secondary { background: none; border: 0; color: var(--control-ink); }
.v4-invite-actions .btn { font-size: 13px; padding: 10px 16px; }

/* The five destinations have equal weight in a floating iOS-style bar. */
html.phone .tabbar {
  width: calc(100% - 24px); max-width: 406px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  padding: 6px 5px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 27px;
  background: rgba(255, 252, 249, .86);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 5px 24px rgba(60, 40, 30, .09);
}
html.phone .tabbar button, html.phone .tabbar .tab-main {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 54px; min-width: 0; margin: 0; padding: 5px 2px;
  gap: 0; border: 0; border-radius: 20px;
  background: transparent; box-shadow: none; color: var(--ui-muted);
  font-family: var(--ui-font); font-size: 10px; font-weight: 600; line-height: 1.25;
  transition: background .2s ease, color .2s ease, transform .2s var(--ui-ease);
}
html.phone .tabbar button.is-on, html.phone .tabbar .tab-main.is-on {
  background: rgba(169, 120, 102, .11); color: #805846; box-shadow: none;
}
html.phone .tabbar svg { width: 22px; height: 22px; flex: 0 0 22px; stroke-width: 1.65; }
html.phone .tabbar button.is-on svg { stroke-width: 2; }
html.phone .tabbar button:active { transform: scale(.96); }
html.phone .tabbar button span { overflow-wrap: break-word; }
html.phone .tabbar svg + span { margin-top: 4px; }
html.phone .click-dock {
  bottom: calc(94px + env(safe-area-inset-bottom));
  width: calc(100% - 32px); max-width: 398px;
  min-height: 48px; padding: 9px 18px; border-radius: 23px;
  grid-template-columns: auto 1fr; gap: 10px;
}
html.phone .click-dock:active { transform: translateX(-50%) scale(.98); }
html.phone .click-dock b { font-size: 14px; font-weight: 600; line-height: 1.3; }
html.phone .click-dock small { font-size: 10px; font-weight: 600; line-height: 1.3; opacity: .9; }
html.phone #view-home, html.phone #view-sub { padding-bottom: calc(166px + env(safe-area-inset-bottom)); }
html.phone .drawer { bottom: calc(88px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-width: 406px; border-radius: 24px; }
html.phone .v4-chat-invite, html.phone .cookie { bottom: calc(94px + env(safe-area-inset-bottom)); }
html[dir='rtl'] .click-dock { text-align: right; }
.click-dock > span + span { margin: 0; }
html[dir='rtl'] .btn > * + *, html[dir='rtl'] #langBtn > * + * { margin-left: 0; margin-right: 7px; }
html[dir='rtl'] .person-actions .btn > svg + span, html[dir='rtl'] .click-dock > span + span { margin: 5px 0 0; }
html[dir='rtl'] .click-dock > span + span { margin: 0; }
html[dir='rtl'] .country-bar button, html[dir='rtl'] .seg > button,
html[dir='rtl'] .steps > button, html[dir='rtl'] .cta-row > .btn, html[dir='rtl'] .wiz-nav > .btn { margin: 0 0 6px 6px; }
html[dir='rtl'] .person-actions.seg > button { margin: 0; }
button:focus, button.btn:focus, button.chip:focus, button.step:focus,
.country-bar button:focus, .seg button:focus, .mate-rail button:focus,
html.phone .tabbar button:focus {
  outline: 2px solid var(--ui-accent); outline-offset: 3px;
}
/* Older WebKit keeps :focus; browsers with :focus-visible hide pointer-only rings. */
button:focus:not(:focus-visible), button.btn:focus:not(:focus-visible),
button.chip:focus:not(:focus-visible), button.step:focus:not(:focus-visible),
.country-bar button:focus:not(:focus-visible), .seg button:focus:not(:focus-visible),
.mate-rail button:focus:not(:focus-visible), html.phone .tabbar button:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
  button, button::before { transition: none !important; }
}

/* Onboarding extends the same controls, with one shared set of form tokens. */
:root {
  --onboard-background: #f8f5f1;
  --onboard-surface: #fff;
  --onboard-surface-soft: #fffaf6;
  --onboard-text: #302824;
  --onboard-secondary: #81736c;
  --onboard-accent: #a97866;
  --onboard-active: #91614f;
  --onboard-light: #f6eae2;
  --onboard-border: rgba(80, 60, 45, .10);
  --onboard-border-active: rgba(169, 120, 102, .38);
  --onboard-ring: rgba(169, 120, 102, .10);
  --onboard-step-surface: rgba(255, 255, 255, .80);
  --onboard-step-border: rgba(80, 60, 45, .08);
  --onboard-step-ink: #62544c;
  --onboard-step-active-border: rgba(169, 120, 102, .25);
  --onboard-pill-surface: rgba(255, 255, 255, .78);
  --onboard-pill-border: rgba(70, 50, 38, .08);
  --onboard-pill-ink: #332924;
  --onboard-pill-active: #fff4ee;
  --onboard-field-surface: rgba(255, 255, 255, .82);
  --onboard-field-border: rgba(92, 68, 52, .12);
  --onboard-placeholder: #988b83;
  --onboard-focus-border: rgba(169, 120, 102, .50);
  --onboard-error: #9b5148;
  --onboard-disabled: #f0ece8;
  --onboard-shadow: 0 3px 12px rgba(120, 82, 61, .06);
  --onboard-pill-shadow: 0 3px 10px rgba(120, 82, 61, .05);
  --onboard-primary-height: 52px;
  --onboard-secondary-height: 48px;
  --onboard-step-height: 42px;
  --onboard-pill-height: 46px;
  --onboard-field-height: 60px;
  --onboard-button-radius: 16px;
  --onboard-step-radius: 21px;
  --onboard-pill-radius: 23px;
  --onboard-field-radius: 18px;
  --onboard-hit: 44px;
  --onboard-title-size: 30px;
  --onboard-heading-size: 22px;
  --onboard-label-size: 14px;
  --onboard-input-size: 16px;
  --onboard-button-size: 15px;
  --onboard-helper-size: 13px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --onboard-transition: 200ms ease-out;
  --onboard-pressed-duration: 120ms;
  --onboard-field-transition: 180ms ease-out;
  --onboard-control-inset: 18px;
  --onboard-pill-gap: 10px;
  --onboard-radio-size: 18px;
  --onboard-radio-dot: 8px;
  --onboard-check-size: 20px;
  --onboard-indicator-stroke: 1.5px;
}
#quiz.onboarding {
  width: calc(100% - var(--space-10)); max-width: 720px;
  margin-right: auto; margin-left: auto;
  padding-top: var(--space-8); padding-bottom: var(--space-10);
  color: var(--onboard-text); font-family: var(--ui-font);
}
#quiz.onboarding h2 {
  margin: 0; color: var(--onboard-text); font-family: var(--ui-font);
  font-size: var(--onboard-title-size); font-weight: 600; line-height: 1.3; letter-spacing: -.035em;
}
.onboarding > .lead { margin: var(--space-3) 0 0; color: var(--onboard-secondary); font-size: var(--onboard-helper-size); font-weight: 400; line-height: 1.7; }
.onboarding .step-tabs {
  display: flex; flex-wrap: nowrap; max-width: 100%;
  margin: var(--space-6) 0 var(--space-8); padding: var(--space-1) 0;
  gap: 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.onboarding .step-tabs::-webkit-scrollbar { display: none; }
.onboarding .step-tabs .step {
  --control-fill: var(--onboard-step-surface); --control-line: var(--onboard-step-border);
  --control-ink: var(--onboard-step-ink); --control-inset: calc((var(--onboard-hit) - var(--onboard-step-height)) / 2);
  flex: 0 0 auto; min-height: var(--onboard-hit); min-width: var(--onboard-hit);
  margin: 0 var(--space-2) 0 0; padding: var(--space-3) var(--space-4);
  border-radius: var(--onboard-step-radius); font-size: var(--onboard-label-size);
  line-height: 20px; white-space: nowrap; opacity: 1;
}
.onboarding .step-tabs .step:last-child { margin-right: 0; }
.onboarding .step-tabs .step.is-on {
  --control-fill: var(--onboard-light); --control-line: var(--onboard-step-active-border);
  --control-ink: var(--onboard-active); --control-shadow: var(--onboard-shadow);
}
.onboarding .step-tabs .step.is-done { --control-fill: var(--onboard-step-surface); --control-ink: var(--onboard-step-ink); }
.onboarding .step-tabs .step:disabled { color: var(--onboard-secondary); cursor: not-allowed; }
.onboarding .panel { gap: var(--space-6); margin-top: 0; outline: none; }
.onboarding .form-label { margin-bottom: calc(-1 * var(--space-4)); }
.onboarding .lbl { display: grid; gap: var(--space-2); min-width: 0; margin: 0; }
.onboarding .lbl > span:first-child, .onboarding .form-label, .onboarding legend {
  color: var(--onboard-text); font-size: var(--onboard-label-size); font-weight: 600; line-height: 1.5;
}
.onboarding .grid-2 { gap: var(--space-6); }
.onboarding .selection-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.onboarding legend { padding: 0; margin-bottom: var(--space-3); }
.onboarding .selection-pills { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 calc(-1 * var(--onboard-pill-gap)); }
.onboarding .selection-pills .selection-pill {
  --control-fill: var(--onboard-pill-surface); --control-line: var(--onboard-pill-border);
  --control-ink: var(--onboard-pill-ink); --control-inset: 0px;
  position: relative; min-height: var(--onboard-pill-height); min-width: var(--onboard-hit);
  margin: 0 var(--onboard-pill-gap) var(--onboard-pill-gap) 0; padding: var(--space-3) var(--onboard-control-inset);
  border-radius: var(--onboard-pill-radius); font-size: var(--onboard-button-size); line-height: 20px;
}
.onboarding .selection-pills .selection-pill.is-on {
  --control-fill: var(--onboard-pill-active); --control-line: var(--onboard-border-active);
  --control-ink: var(--onboard-active); --control-shadow: var(--onboard-pill-shadow);
}
.onboarding .selection-pill input[type='radio'], .onboarding .premium-check input {
  position: absolute; width: var(--onboard-radio-size); height: var(--onboard-radio-size); margin: 0; opacity: 0;
}
.onboarding .selection-indicator {
  position: relative; flex: 0 0 var(--onboard-radio-size); width: var(--onboard-radio-size); height: var(--onboard-radio-size);
  margin-right: var(--space-2); border: var(--onboard-indicator-stroke) solid var(--onboard-secondary); border-radius: 50%;
}
.onboarding .selection-indicator::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: var(--onboard-radio-dot); height: var(--onboard-radio-dot);
  margin: calc(-1 * var(--onboard-radio-dot) / 2) 0 0 calc(-1 * var(--onboard-radio-dot) / 2); border-radius: 50%; background: var(--onboard-accent);
  transform: scale(0); transition: transform var(--onboard-transition);
}
.onboarding input:checked + .selection-indicator { border-color: var(--onboard-accent); }
.onboarding input:checked + .selection-indicator::after { transform: scale(1); }
.onboarding .selection-pill:focus-within { outline: none; }
.onboarding input:focus + .selection-indicator, .onboarding input:focus + .check-indicator { box-shadow: 0 0 0 4px var(--onboard-ring); border-color: var(--onboard-accent); }
.onboarding .field.premium-input {
  -webkit-appearance: none; appearance: none; width: 100%; min-width: 0;
  height: var(--onboard-field-height); min-height: var(--onboard-field-height);
  padding: 0 var(--onboard-control-inset); border: 1px solid var(--onboard-field-border); border-radius: var(--onboard-field-radius);
  background: var(--onboard-field-surface); color: var(--onboard-text); box-shadow: none;
  font-family: var(--ui-font); font-size: var(--onboard-input-size); font-weight: 500; line-height: 1.4;
  outline: none; scroll-margin-top: var(--space-6); scroll-margin-bottom: var(--space-10);
  transition: border-color var(--onboard-field-transition), box-shadow var(--onboard-field-transition);
}
.onboarding .premium-input::placeholder { color: var(--onboard-placeholder); opacity: 1; font-weight: 400; }
.onboarding .premium-input:focus { border-color: var(--onboard-focus-border); box-shadow: 0 0 0 4px var(--onboard-ring); }
.onboarding .premium-input[type='number'] { -moz-appearance: textfield; }
.onboarding .premium-input::-webkit-inner-spin-button, .onboarding .premium-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.onboarding .select-field { position: relative; display: block; min-width: 0; }
.onboarding .field.premium-input.premium-select { padding-right: 48px; }
.onboarding .select-chevron { position: absolute; top: 50%; right: var(--space-4); width: 20px; height: 20px; margin-top: -10px; color: var(--onboard-secondary); pointer-events: none; }
.onboarding .premium-check { position: relative; min-height: var(--onboard-hit); align-items: center; gap: 0; font-size: var(--onboard-helper-size); font-weight: 400; color: var(--onboard-secondary); line-height: 1.6; cursor: pointer; }
.onboarding .check-indicator { position: relative; flex: 0 0 20px; width: 20px; height: 20px; margin-right: var(--space-3); border: 1px solid var(--onboard-border-active); border-radius: 6px; background: var(--onboard-surface); }
.onboarding input:checked + .check-indicator { border-color: var(--onboard-active); background: var(--onboard-active); }
.onboarding input:checked + .check-indicator::after { content: ''; position: absolute; top: 3px; left: 6px; width: 5px; height: 9px; border: solid var(--onboard-surface); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.onboarding .btn { min-height: var(--onboard-secondary-height); padding: var(--space-3) var(--space-6); border-radius: var(--onboard-button-radius); font-size: var(--onboard-button-size); line-height: 1.4; }
.onboarding .btn.btn-primary { --control-fill: var(--onboard-active); --control-shadow: var(--onboard-shadow); min-height: var(--onboard-primary-height); }
.onboarding .btn.btn-secondary { --control-fill: var(--onboard-surface-soft); --control-line: var(--onboard-border); --control-ink: var(--onboard-active); min-height: var(--onboard-secondary-height); }
.onboarding .btn:disabled { --control-fill: var(--onboard-disabled); --control-line: var(--onboard-border); --control-ink: var(--onboard-secondary); opacity: 1; cursor: not-allowed; }
.onboarding .btn:active, .onboarding .step:active, .onboarding .selection-pill:active { transform: scale(.985); transition-duration: var(--onboard-pressed-duration); }
.onboarding .btn:disabled:active, .onboarding .step:disabled:active { transform: none; }
.onboarding .wiz-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-8); align-items: center; }
.onboarding .wiz-nav > .btn { width: 100%; margin: 0; }
.onboarding .panel .wiz-nav { margin-top: 0; }
.onboarding .note { color: var(--onboard-secondary); font-size: var(--onboard-helper-size); font-weight: 400; }
.onboarding .photo-box { min-height: 240px; border: 1px dashed var(--onboard-border-active); border-radius: var(--onboard-field-radius); background: var(--onboard-surface-soft); }
.onboarding #dropHint { color: var(--onboard-secondary); font-size: var(--onboard-button-size); font-weight: 500; }
.onboarding #verifyState { min-height: 20px; margin: 0; }
.onboarding .btn[aria-busy='true'] { padding-right: 48px; }
.onboarding .btn[aria-busy='true']::after { content: ''; position: absolute; top: 50%; right: var(--space-4); width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--onboard-border-active); border-top-color: var(--onboard-active); border-radius: 50%; animation: onboard-spin .8s linear infinite; }
@keyframes onboard-spin { to { transform: rotate(360deg); } }
#quiz.onboarding [aria-invalid='true'] { outline: none; border-color: var(--onboard-error); box-shadow: 0 0 0 2px var(--onboard-ring); }
#quiz.onboarding input[aria-invalid='true'] + .selection-indicator, #quiz.onboarding input[aria-invalid='true'] + .check-indicator { border-color: var(--onboard-error); }
.onboarding #wizErr { margin: 0; color: var(--onboard-error); font-size: var(--onboard-helper-size); font-weight: 500; line-height: 1.6; }
.onboarding .btn:focus, .onboarding .step:focus, .onboarding button.selection-pill:focus { outline: 2px solid var(--onboard-accent); outline-offset: 3px; }
.onboarding .btn:focus:not(:focus-visible), .onboarding .step:focus:not(:focus-visible), .onboarding button.selection-pill:focus:not(:focus-visible) { outline: none; }
html.phone .onboarding .preference-range { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--space-4); }
body.onboarding-active, body.onboarding-active #app { background: var(--onboard-background); }
body.onboarding-active .floater { display: none; }
html.phone body.onboarding-active { overflow: hidden; }
html.phone body.onboarding-active #app { display: flex; flex-direction: column; height: var(--onboard-viewport-height, 100vh); overflow: hidden; }
html.phone body.onboarding-active .topbar-wrap { position: relative; flex-shrink: 0; }
html.phone body.onboarding-active #view-home { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: var(--space-6); -webkit-overflow-scrolling: touch; scroll-padding-top: var(--space-6); scroll-padding-bottom: var(--space-8); }
html.phone body.onboarding-active #view-home { scrollbar-width: none; }
html.phone body.onboarding-active #view-home::-webkit-scrollbar { width: 0; height: 0; }
html.phone body.onboarding-active .click-dock { display: none; }
html.phone body.onboarding-active .tabbar { position: relative; flex-shrink: 0; left: auto; bottom: auto; transform: none; margin: var(--space-2) auto calc(var(--space-2) + env(safe-area-inset-bottom)); }
html.phone body.onboarding-active footer.foot { padding: var(--space-6) 0; }
html.phone body.onboarding-editing .tabbar { display: none; }
html[dir='rtl'] .onboarding .step-tabs .step { margin: 0 0 0 var(--space-2); }
html[dir='rtl'] .onboarding .step-tabs .step:last-child { margin-left: 0; }
html[dir='rtl'] .onboarding .selection-pills .selection-pill { margin: 0 0 var(--onboard-pill-gap) var(--onboard-pill-gap); }
html[dir='rtl'] .onboarding .selection-indicator, html[dir='rtl'] .onboarding .check-indicator { margin-left: var(--space-2); margin-right: 0; }
html[dir='rtl'] .onboarding .premium-select { padding-right: var(--onboard-control-inset); padding-left: 48px; }
html[dir='rtl'] .onboarding .select-chevron { right: auto; left: var(--space-4); }
html[dir='rtl'] .onboarding .wiz-nav > .btn { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .onboarding *, .onboarding *::before, .onboarding *::after { transition: none !important; animation: none !important; }
}

/* 2026-10-30: focused browse layout */
body { background: #f7f3ee; }
.floater { display: none; }
.person { background: #fffdfa; border: 1px solid #eadfd5; border-radius: 20px; box-shadow: 0 10px 28px rgba(58,39,30,.08); }
.person > img { height: 260px; }
.person .pad { padding: 16px 18px 18px; }
.person .pad > strong { display: block; color: #2b211d; font-size: 16px; line-height: 1.35; }
.person-bio { color: #62534b; font-size: 14px; line-height: 1.6; min-height: 3.2em; margin: 9px 0 16px; }
.person-actions { display: flex; align-items: center; gap: 10px; margin: 0; }
.person-actions .btn-primary { min-height: 43px; padding: 10px 20px; border-radius: 999px; background: #9a6b57; box-shadow: none; }
.person-actions .person-like { width: 43px; height: 43px; min-width: 43px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.person-actions .person-like svg { width: 18px; height: 18px; margin: 0; }
.v4-chat-invite { border: 1px solid #eadfd5; box-shadow: 0 16px 38px rgba(43,33,29,.14); }
.v4-chat-invite .btn-primary { background: #9a6b57; box-shadow: none; }
html.phone #swipe .rail-box { order: 3; margin: 18px 0 6px; }
html.phone #swipe .deck-wrap { order: 0; }
html.phone #swipe .swipe-actions { order: 1; }
html.phone #swipe .country-bar { order: 2; }
html.phone #swipe #exploreCount, html.phone #swipe .filters-fold { order: 4; }
html.phone .v4-chat-invite { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (max-width: 600px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .person > img { height: 190px; }
  .person .pad { padding: 12px; }
  .person .pad > strong { font-size: 13px; }
  .person-bio { font-size: 12px; line-height: 1.45; min-height: 4.35em; }
  .person-actions .btn-primary { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .person-actions .person-like { width: 38px; height: 38px; min-width: 38px; }
}

.people-more { display: block; margin: 24px auto 6px; min-width: 160px; border-radius: 999px; }
.people-more[hidden] { display: none; }
@media (min-width: 981px) {
  #swipe .deck { height: 620px; }
  #swipe .swipe-card { background: #fffdfa; border: 1px solid #eee3d9; box-shadow: 0 18px 42px rgba(52,38,30,.12); }
  #swipe .swipe-card > img { height: calc(100% - 170px); bottom: auto; }
  #swipe .swipe-card .meta { height: 170px; padding: 17px 22px 19px; color: #2b211d; background: #fffdfa; }
  #swipe .swipe-card h3 { font-size: 1.15rem; margin-bottom: 5px; }
  #swipe .swipe-card .where { font-size: .88rem; font-weight: 600; color: #765c4d; }
  #swipe .swipe-card .bio { font-size: .88rem; line-height: 1.35; margin: 4px 0 9px; color: #4e4038; }
  #swipe .swipe-card .card-tap { min-height: 39px; padding: 8px 18px; background: #9a6b57; box-shadow: none; }
}

@media (min-width: 981px) {
  #swipe > .lead, #swipe > .kicker { text-align: center; max-width: 660px; margin-left: auto; margin-right: auto; }
}
html.phone #swipe .country-bar { width: 100%; display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 6px; padding: 8px 2px 12px; scrollbar-width: thin; scroll-snap-type: x proximity; }
html.phone #swipe .country-bar button { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }

.lang-pop { background: #fffdfa; border: 1px solid #e6d8cd; box-shadow: 0 18px 42px rgba(40,28,22,.18); }

/* Keep the conversation invitation beside the active browsing area. */
.v4-chat-invite { top: 104px; bottom: auto; right: max(24px, calc((100vw - 1440px) / 2 + 24px)); }
html.phone .v4-chat-invite { top: calc(78px + env(safe-area-inset-top)); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); }
@media (max-width: 600px) {
  html.phone .v4-chat-invite { top: calc(78px + env(safe-area-inset-top)); max-height: calc(100dvh - 170px); overflow-y: auto; }
}
