/* ==========================================================================
   Qynaat Nikah — v5 layer
   Wide hero art · CTA below rings · designed search · back-to-top · footer
   ========================================================================== */

/* ---------- Hero: real image edge to edge, buttons under the rings ---------- */
.hero-lux::before { display: none; }
.hero-stage.is-contained { -webkit-mask-image: none; mask-image: none; }
.hero-lux__cta { position: absolute; left: 50%; bottom: clamp(1.2rem, 4.5vh, 3rem); transform: translateX(-50%); z-index: 3; margin: 0; padding: .55rem; border-radius: 999px; background: rgb(255 251 244 / .55); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 18px 40px -18px rgb(74 32 20 / .45); flex-wrap: nowrap; gap: .55rem; }
.hero-lux__cta .btn { border-radius: 999px; }
.hero-lux__cta .btn--gold { background: rgb(255 255 255 / .85); }
@media (max-width: 560px) { .hero-lux__cta { flex-direction: column; width: calc(100% - 2rem); border-radius: 24px; } .hero-lux__cta .btn { width: 100%; } }

/* ---------- Find a Match: compact two-line header ---------- */
.find-top { padding: calc(var(--header-h) + 1.2rem) 0 5rem; }
.find-top__bg { background: url("../img/stock/chandelier-arches-o.webp") right 40% / cover; }
.find-top::before { background: linear-gradient(90deg, rgb(253 248 241 / .97) 0%, rgb(253 248 241 / .9) 34%, rgb(253 248 241 / .4) 58%, rgb(253 248 241 / .05) 80%), linear-gradient(0deg, var(--cream-50) 0%, transparent 50%); }
.find-top h1 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); max-width: none; }
.find-top h1 .m-line { white-space: nowrap; }
@media (max-width: 760px) { .find-top h1 .m-line { white-space: normal; } }

/* ---------- Designed search panel ---------- */
.search-v5 { position: relative; border-radius: 28px; padding: 1.1rem 1.2rem 1.2rem; background: linear-gradient(180deg, rgb(255 252 247 / .96), rgb(252 245 234 / .94)); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgb(229 205 163 / .75); box-shadow: 0 36px 80px -36px rgb(74 32 20 / .5), inset 0 1px 0 #fff; }
.search-v5::before { content: ""; position: absolute; inset: 7px; border-radius: 22px; border: 1px dashed rgb(191 150 88 / .35); pointer-events: none; }
.search-v5__head { display: flex; justify-content: space-between; align-items: center; padding: .15rem .4rem .85rem; }
.search-v5__title { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; color: var(--wine-800); }
.search-v5__title .ic { width: 22px; height: 22px; color: var(--gold-600); }
.search-v5__reset { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-3); font-size: .95rem; padding: .4rem .8rem; border-radius: 999px; transition: background .2s, color .2s; }
.search-v5__reset:hover { background: var(--wine-100); color: var(--wine-800); }
.search-v5__reset .ic { width: 15px; height: 15px; }
.search-v5__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.sfield--card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .75rem .9rem .8rem; gap: .5rem; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out); }
.sfield--card:hover { border-color: var(--gold-400); box-shadow: 0 10px 24px -16px rgb(74 32 20 / .35); transform: translateY(-1px); }
.sfield--card:focus-within { border-color: var(--wine-600); box-shadow: 0 0 0 4px rgb(114 21 51 / .1); }
.sfield--card > label, .sfield--card > .sfield__label { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wine-700); font-weight: 600; gap: .55rem; }
.sfield__ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff, var(--gold-100)); border: 1px solid var(--gold-300); flex: none; }
.sfield__ico .ic { width: 15px !important; height: 15px !important; color: var(--gold-700) !important; }
.sfield--card .select, .sfield--card .ms__btn { border: 0; padding: .2rem 2rem .2rem .1rem; min-height: 38px; font-size: 1.12rem; font-family: var(--f-display); font-weight: 600; color: var(--ink); background-color: transparent; box-shadow: none !important; background-position: right 4px center; }
.sfield--card .select:disabled { opacity: .45; }
.sfield--card .ms__panel { left: -.9rem; }
.search-v5__go { display: flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 18px; color: #fff; font-size: 1.2rem; font-weight: 500; background: radial-gradient(120% 140% at 30% 0%, var(--wine-500), var(--wine-800) 60%, var(--wine-950)); box-shadow: 0 16px 34px -14px rgb(95 14 41 / .7), inset 0 1px 0 rgb(255 255 255 / .2); position: relative; overflow: hidden; transition: transform .25s var(--ease-out), box-shadow .25s; min-height: 72px; }
.search-v5__go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 230 200 / .3) 50%, transparent 70%); transform: translateX(-100%); transition: transform .9s var(--ease-out); }
.search-v5__go:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgb(95 14 41 / .8); }
.search-v5__go:hover::after { transform: translateX(100%); }
.search-v5__go .ic { width: 22px; height: 22px; }
@media (max-width: 1100px) { .search-v5__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .search-v5__grid { grid-template-columns: 1fr; } }

/* ---------- Compact toolbar ---------- */
.toolbar-v5 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .2rem .2rem .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.toolbar-v5 h2 { font-size: 1.45rem; color: var(--wine-800); }
.toolbar-v5 .select { width: auto; min-height: 38px; font-size: .95rem; padding-block: .3rem; border-radius: 999px; }
.toolbar-v5 .ts-toggle button { height: 36px; min-width: 38px; }
.toolbar-v5 .view-toggle { border-radius: 999px; }
.toolbar-v5 .view-toggle button { width: 38px; height: 36px; }

/* ---------- Footer ---------- */
.ft__legal .container { align-items: center; }
.ft__ig { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(229 205 163 / .4); color: var(--gold-200); transition: background .3s, color .3s, transform .3s var(--ease-out); }
.ft__ig svg { width: 19px; height: 19px; }
.ft__ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; border-color: transparent; transform: translateY(-2px); }
.ft__top { padding-block: 1.4rem 1.1rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 251 244 / .78); backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%); box-shadow: 0 14px 30px -12px rgb(74 32 20 / .45), inset 0 1px 0 #fff; color: var(--wine-800); opacity: 0; transform: translateY(18px) scale(.9); pointer-events: none; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), background .3s, color .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--wine-700); color: #fff; }
.to-top:hover .to-top__arrow { transform: rotate(90deg) translateX(-3px); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.4; stroke: rgb(191 150 88 / .25); }
.to-top__ring .to-top__fill { stroke: var(--gold-500); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.to-top__arrow { width: 22px !important; height: 22px !important; transform: rotate(90deg); transition: transform .35s var(--ease-out); }
.help-fab { bottom: 86px; }
@media (max-width: 760px) { .to-top { width: 50px; height: 50px; right: 12px; bottom: 12px; } .help-fab { bottom: 72px; right: 12px; } }

/* v5.1 */
.hero-lux__cta { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; gap: 1rem; }
.cta-slot { display: inline-block; will-change: transform; }
.hero-lux__cta .btn--gold { background: rgb(255 253 249 / .92); }
.to-top { width: 44px; height: 44px; }
.to-top__arrow { width: 18px !important; height: 18px !important; }
.help-fab { right: 18px; bottom: 72px; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.help-fab svg { width: 24px; height: 24px; }
.support-list { display: grid; gap: .8rem; align-content: start; }
.support-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
a.support-item:hover { border-color: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.support-item strong { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--wine-800); line-height: 1.1; }
.support-item small { display: block; color: var(--ink-3); font-size: .9rem; }
.support-item em { font-style: normal; color: var(--wine-700); font-weight: 500; word-break: break-all; }
.empty-state { padding: 1.6rem 1rem; gap: .5rem; }
.empty-state .icon-circle { width: 44px; height: 44px; }
@media (max-width: 760px) { .to-top { right: 12px; bottom: 12px; } .help-fab { right: 12px; bottom: 64px; } }

/* ===== v5.2 ===== */
/* no hairlines at the top of sections / under the header */
.site-header::after, .scroll-progress { display: none !important; }
.site-header, .site-header.is-scrolled { border: 0 !important; }
.hero-lux__cta { bottom: clamp(.5rem, 1.8vh, 1.4rem); }

/* Featured profiles use the full screen */
.featured-v5 { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.featured-v5 .rail-lux { grid-auto-columns: minmax(260px, calc((100% - 5 * 1.2rem) / 6)); }
@media (max-width: 1400px) { .featured-v5 .rail-lux { grid-auto-columns: minmax(250px, calc((100% - 3 * 1.2rem) / 4)); } }
@media (max-width: 760px) { .featured-v5 .rail-lux { grid-auto-columns: 78%; } }

/* Blend: photo melts into the page, no box */
.blend { position: relative; isolation: isolate; overflow: hidden; background: var(--cream-50); min-height: clamp(520px, 42vw, 720px); display: grid; align-items: center; }
.blend__media { position: absolute; top: 0; bottom: 0; width: 60%; z-index: -1; }
.blend__media img { width: 100%; height: 115%; object-fit: cover; }
.blend--img-left .blend__media { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(0deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(0deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.blend--img-right .blend__media { right: 0; -webkit-mask-image: linear-gradient(-90deg, #000 45%, transparent 100%), linear-gradient(0deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(-90deg, #000 45%, transparent 100%), linear-gradient(0deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; }
.blend__inner { display: flex; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.blend--img-left .blend__inner { justify-content: flex-end; }
.blend__copy { max-width: 560px; }
@media (max-width: 900px) {
  .blend { min-height: 0; align-items: end; padding-top: 340px; }
  .blend__media { width: 100%; height: 420px; bottom: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 45%) !important; mask-image: linear-gradient(0deg, transparent 0, #000 45%) !important; }
  .blend__inner { padding-top: 0; }
}

/* Contact: one tone, bigger form, compact support list */
.hero-split--contact .hero-split__media { width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .5) 18%, #000 40%), linear-gradient(0deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .5) 18%, #000 40%), linear-gradient(0deg, transparent 0%, #000 34%); }
.hero-split--contact .hero-split__media img { object-position: 50% 45%; filter: saturate(.92) brightness(1.04); }
.contact-grid--v5 { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 1.4rem; }
.contact-grid--v5 .support-list { position: sticky; top: 110px; }
.support-item { padding: .8rem .95rem; gap: .8rem; border-radius: var(--r-md); }
.support-item .icon-circle { width: 42px; height: 42px; }
.support-item .icon-circle .ic { width: 20px; height: 20px; }
.support-item strong { font-size: 1.12rem; }
.support-item small { font-size: .82rem; }
.support-item em { font-size: .92rem; }
@media (max-width: 1080px) { .contact-grid--v5 { grid-template-columns: 1fr; } .contact-grid--v5 .support-list { position: static; } }

/* Quick view gallery */
.qv__photo { position: relative; }
.qv__nav { position: absolute; top: 45%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 251 244 / .85); color: var(--wine-800); box-shadow: var(--shadow-md); transition: background .25s, transform .25s var(--ease-out); }
.qv__nav:hover { background: #fff; transform: scale(1.06); }
.qv__nav--prev { left: 14px; } .qv__nav--next { right: 14px; }
.qv__count { position: absolute; top: 14px; right: 14px; z-index: 3; padding: .25rem .7rem; border-radius: 999px; background: rgb(42 23 29 / .7); color: #fff; font-size: .85rem; }
.qv__thumbs { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.qv__thumbs button { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; border: 2px solid rgb(255 255 255 / .7); opacity: .8; transition: opacity .2s, border-color .2s, transform .2s; }
.qv__thumbs button[aria-current="true"] { border-color: var(--gold-400); opacity: 1; transform: translateY(-3px); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__cta .btn--block { width: 100%; }
.featured-v5 > .container--find { max-width: none; padding-inline: clamp(1rem, 3vw, 4rem); }
@media (min-width: 2000px) { .featured-v5 .rail-lux { grid-auto-columns: calc((100% - 6 * 1.2rem) / 7); } }
.qv__photo { position: sticky; top: 0; align-self: start; height: calc(100vh - 150px); min-height: 420px; }
.qv__photo .photo { position: absolute !important; inset: 0; height: auto !important; min-height: 0; }
@media (max-width: 1080px) { .qv__photo { position: relative; height: 56vh; } }

/* ===== Guide Desk ===== */
body[data-page="admin"] .help-fab, body[data-page="admin"] .demo-switch { display: none; }
.desk { padding-block: 1.5rem 4rem; }
.desk-login { max-width: 460px; margin: 2rem auto; display: grid; gap: .9rem; }
.desk-alert { padding: .7rem .9rem; border-radius: var(--r-sm); background: #fbe9e7; color: var(--danger); font-size: .95rem; }
.desk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.2rem; }
.desk-tabs { display: flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 1.2rem; }
.desk-tabs button { padding: .55rem 1.1rem; border-radius: 999px; white-space: nowrap; color: var(--ink-2); display: inline-flex; gap: .45rem; align-items: center; }
.desk-tabs button[aria-selected="true"] { background: var(--wine-700); color: #fff; }
.desk-badge:empty { display: none; }
.desk-badge { min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 99px; background: var(--gold-400); color: var(--wine-950); font-size: .78rem; display: inline-grid; place-items: center; }
.msg-list { display: grid; gap: .8rem; }
.msg { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; background: #fff; display: grid; gap: .6rem; }
.msg header { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.msg p { color: var(--ink-2); white-space: pre-wrap; }
.faq-form .field { margin: 0; }

/* ===== Large monitors (24"–32"): scale the whole layout, not just stretch it ===== */
@media (min-width: 1680px) {
  html:not([data-textsize="lg"]):not([data-textsize="xl"]) { font-size: clamp(16px, 0.96vw, 24px); }
  html[data-textsize="lg"] { font-size: clamp(18px, 1.08vw, 27px); }
  html[data-textsize="xl"] { font-size: clamp(20px, 1.2vw, 30px); }
  :root { --maxw: 82rem; --header-h: 5.75rem; --gutter: 3rem; }
  .container { max-width: var(--maxw); }
  .container--wide { max-width: 92rem; }
  .container--narrow { max-width: 58rem; }
  .container--find { max-width: 118rem; }
  .brand__mark { width: 3.9rem; }
  .brand__markwrap { width: 4rem; height: 4rem; }
  .hero-split { min-height: min(46vw, 62rem); }
  .blend { min-height: min(44vw, 56rem); }
  .blend__copy, .hero-split__copy { max-width: 38rem; }
  .plans { max-width: 60rem; }
  .section-head { max-width: 64rem; }
  .hero-lux__content { width: min(64rem, 100% - 2 * var(--gutter)); }
  .hero-lux { height: 100svh; max-height: 1600px; }
  .hero-lux h1 { font-size: clamp(3rem, 4.1vw, 6.2rem); }
  .featured-v5 .rail-lux { grid-auto-columns: calc((100% - 5 * 1.2rem) / 6) !important; }
  .results-v4 .grid-v3 { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
  .pcard .btn, .btn { --btn-h: 3rem; }
  .to-top { width: 3rem; height: 3rem; }
}
.btn--ms { background: #fff; color: #2b2b2b; border: 1px solid #c8c6c4; font-family: "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: 1.02rem; }
.btn--ms:hover { background: #f3f2f1; }
.team-form { grid-template-columns: 1.4fr 1fr .8fr auto; align-items: start; }
@media (max-width: 900px) { .team-form { grid-template-columns: 1fr; } }
.otp-single { font-family: var(--f-display); font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-weight: 600; color: var(--wine-800); }
[hidden] { display: none !important; }

/* ===== Member photos ===== */
.myphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.myphoto { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--cream-100); border: 1px solid var(--line); }
.myphoto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.myphoto__status { position: absolute; left: 8px; top: 8px; padding: .2rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 600; background: rgb(255 253 249 / .92); color: var(--gold-700); }
.myphoto__status--approved { color: var(--success); }
.myphoto__status--rejected { color: var(--danger); }
.myphoto__main { position: absolute; right: 8px; top: 8px; padding: .2rem .55rem; border-radius: 99px; font-size: .72rem; background: var(--wine-700); color: #fff; }
.myphoto figcaption { display: flex; justify-content: space-between; padding: .25rem .3rem; }
.myphoto__note { font-size: .8rem; color: var(--danger); padding: 0 .6rem .6rem; }
.dropzone.is-busy { opacity: .6; pointer-events: none; }
.dropzone.is-disabled { opacity: .5; pointer-events: none; }
.photo.has-real img { filter: none; }
.cp-grid > .span-2 { grid-column: 1 / -1; }

/* ===== Desk review ===== */
.review-list { display: grid; gap: 1rem; }
.review-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; background: #fff; display: grid; gap: .8rem; }
.review-item__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; align-items: center; }
.review-item__id { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-800); }
.review-item__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem 1rem; margin: 0; }
.review-item__facts dt { font-size: .75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.review-item__facts dd { margin: 0; font-size: .95rem; word-break: break-word; }
.review-item__about { font-family: var(--f-display); font-style: italic; color: var(--ink-2); background: var(--cream-50); padding: .6rem .8rem; border-radius: var(--r-sm); }
.vbadge { display: inline-flex; gap: .3rem; align-items: center; padding: .2rem .6rem; border-radius: 99px; font-size: .78rem; font-weight: 600; }
.vbadge--ok { background: #e3f1e8; color: var(--success); }
.vbadge--no { background: #fbe9e7; color: var(--danger); }
.vbadge--gold { background: var(--gold-100); color: var(--gold-700); }
.photo-review { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
.pr { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.pr img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.pr figcaption { padding: .6rem; font-size: .9rem; display: grid; }

/* ===== My Account ===== */
.acct { padding-block: 2.2rem 3.5rem; }
.acct .container { display: grid; gap: 1.4rem; }
.acct-hero { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.6rem; background: radial-gradient(120% 140% at 0% 0%, var(--cream-0), var(--cream-100)); }
.acct-hero__who { display: flex; align-items: center; gap: 1.2rem; }
.acct-hero__seal { width: 84px; height: 84px; flex: none; }
.acct-hero__greet { color: var(--gold-700); font-size: 1.2rem; }
.acct-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.acct-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; position: relative; }
.acct-journey li { display: grid; justify-items: center; text-align: center; gap: .45rem; font-size: .88rem; color: var(--ink-3); position: relative; }
.acct-journey li::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 2px; background: var(--line); }
.acct-journey li:first-child::before { display: none; }
.acct-journey li.is-done::before { background: linear-gradient(90deg, var(--gold-500), var(--wine-600)); }
.acct-journey__dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-0); border: 1.5px solid var(--line); font-family: var(--f-caps); font-size: .8rem; color: var(--ink-3); position: relative; z-index: 1; }
.acct-journey__dot .ic { width: 18px; height: 18px; }
.acct-journey li.is-done { color: var(--ink); }
.acct-journey li.is-done .acct-journey__dot { background: var(--wine-700); border-color: var(--wine-700); color: #fff; }
.acct-journey li.is-next .acct-journey__dot { border-color: var(--gold-500); color: var(--gold-700); box-shadow: 0 0 0 5px var(--gold-100); }
.acct-journey li.is-next { color: var(--wine-800); font-weight: 600; }

.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.acct-card { padding: 1.4rem 1.5rem; display: grid; gap: 1rem; align-content: start; }
.acct-card__head { display: flex; gap: .9rem; align-items: center; }
.acct-card__head .icon-circle { width: 48px; height: 48px; }
.acct-card__head .h3 { color: var(--wine-800); }
.acct-card__head .muted { font-size: .95rem; }
.acct-card__actions { --cluster: .6rem; }
.acct-card__text { color: var(--ink-2); }
.acct-guide { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-800); }
.acct-status__box { border-radius: var(--r-md); padding: .8rem 1rem; border: 1px solid var(--line); background: var(--cream-50); }
.acct-status__box strong { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-800); display: block; }
.acct-status__box p { color: var(--ink-2); font-size: .98rem; margin-top: .15rem; }
.acct-status__box--ok { background: #eef6f0; border-color: #cfe5d6; }
.acct-status__box--ok strong { color: var(--success); }
.acct-status__box--wait { background: var(--gold-100); border-color: var(--gold-300); }
.acct-status__box--bad { background: #fbeeec; border-color: #f1cfca; }
.acct-status__box--bad strong { color: var(--danger); }
.acct-meter { display: grid; gap: .35rem; }
.acct-counts { display: flex; gap: .8rem; flex-wrap: wrap; }
.acct-count { flex: 1; min-width: 90px; border: 1px solid var(--line); border-radius: var(--r-md); padding: .7rem .8rem; display: grid; background: var(--cream-50); }
.acct-count strong { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--wine-800); }
.acct-count span { font-size: .85rem; color: var(--ink-3); }
.acct-count--ok strong { color: var(--success); }
.acct-count--bad strong { color: var(--danger); }

.acct-section { padding: 1.5rem 1.6rem; display: grid; gap: 1.1rem; }
.acct-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-end; }
.acct-section__head .h2 { color: var(--wine-800); font-size: clamp(1.6rem, 2.4vw, 2rem); }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.acct-intro, .acct-msg { border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1rem; background: #fff; display: grid; gap: .5rem; }
.acct-intro.is-closed { opacity: .65; }
.acct-intro__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; }
.acct-intro__top strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); }
.acct-intro .progress { height: 6px; }
.acct-msg__you { color: var(--ink-2); white-space: pre-wrap; }
.acct-msg__reply { margin-top: .3rem; border-left: 3px solid var(--gold-500); background: var(--gold-100); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: .6rem .8rem; }
.acct-msg__reply p { white-space: pre-wrap; margin-top: .2rem; }
.acct-msg__from { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--f-caps); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.acct-msg__from .ic { width: 14px; height: 14px; }
.acct-empty { display: grid; justify-items: center; text-align: center; gap: .7rem; padding: 1.6rem 1rem; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--ink-2); }
.acct-empty > .ic { width: 30px; height: 30px; color: var(--gold-600); }
.acct-empty p { max-width: 46ch; }

.acct-locked { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--cream-50); border: 1px solid var(--line); }
.acct-locked > div { flex: 1; min-width: 220px; }
.acct-fb { display: grid; gap: 1.2rem; }
.acct-rate { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.acct-rate legend { font-weight: 500; color: var(--ink-2); padding: 0; margin-bottom: .35rem; }
.acct-rate--main legend { font-family: var(--f-display); font-size: 1.35rem; color: var(--wine-800); }
.acct-rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stars-input { display: inline-flex; gap: .15rem; }
.stars-input button { background: none; border: 0; padding: .2rem; cursor: pointer; line-height: 0; border-radius: 6px; }
.stars-input svg { width: 28px; height: 28px; fill: var(--cream-200); stroke: var(--gold-400); stroke-width: 1; transition: fill .15s, transform .15s; }
.acct-rate--main .stars-input svg { width: 38px; height: 38px; }
.stars-input button.is-on svg { fill: var(--gold-500); stroke: var(--gold-600); }
.stars-input button:hover svg { transform: scale(1.12); }
.stars-input button:focus-visible { outline: 2px solid var(--wine-600); outline-offset: 2px; }
.acct-fb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.acct-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 1.2rem; margin: 0; }
.acct-facts dt { font-family: var(--f-caps); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.acct-facts dd { margin: .2rem 0 0; word-break: break-word; }

@media (max-width: 900px) {
  .acct-grid, .acct-fb__row, .acct-facts { grid-template-columns: 1fr; }
  .acct-rate-grid { grid-template-columns: 1fr; }
  .acct-journey { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
  .acct-journey li:nth-child(4)::before { display: none; }
}
@media (max-width: 520px) {
  .acct-hero__who { flex-direction: column; text-align: center; }
  .acct-hero__meta { justify-content: center; }
  .acct-journey li { font-size: .8rem; }
  .acct-card, .acct-section { padding: 1.15rem; }
}

/* Renewal switch */
.acct-renew { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid rgb(0 0 0 / .07); cursor: pointer; }
.acct-renew__text { display: grid; }
.acct-renew__text strong { font-family: var(--f-body); font-size: 1rem; color: var(--ink); display: inline; }
.acct-renew__text small { color: var(--ink-3); font-size: .88rem; }
.acct-switch { appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 28px; border-radius: 99px; background: var(--cream-200); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background .25s; }
.acct-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .25s; }
.acct-switch:checked { background: var(--success); border-color: var(--success); }
.acct-switch:checked::after { transform: translateX(22px); }
.acct-switch:focus-visible { outline: 2px solid var(--wine-600); outline-offset: 2px; }
.acct-switch:disabled { opacity: .5; }

/* Ticket threads in My Account */
.acct-msg { padding: 0; overflow: hidden; }
.acct-ticket__head { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .9rem 1rem; }
.acct-ticket__head:hover { background: var(--cream-50); }
.acct-ticket__head:focus-visible { outline: 2px solid var(--wine-600); outline-offset: -2px; }
.acct-ticket__head strong { font-family: var(--f-display); font-size: 1.2rem; }
.acct-ticket__meta { display: inline-flex; align-items: center; gap: .6rem; }
.acct-ticket__body { border-top: 1px solid var(--line); padding: .9rem 1rem 1rem; display: grid; gap: .8rem; }
.acct-thread { display: grid; gap: .6rem; max-height: 380px; overflow-y: auto; padding-right: .2rem; }
.acct-bubble { max-width: 88%; padding: .6rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.acct-bubble p { white-space: pre-wrap; margin-top: .2rem; color: var(--ink-2); }
.acct-bubble--you { justify-self: end; background: var(--cream-100); border-top-right-radius: 4px; }
.acct-bubble--staff { justify-self: start; background: var(--gold-100); border-color: var(--gold-300); border-top-left-radius: 4px; }
.acct-reply { display: grid; gap: .5rem; }

/* ===== Profile gallery + full-screen photo viewer ===== */
.pgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .75rem; }
.pgal__t { padding: 0; border: 2px solid transparent; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--cream-100); aspect-ratio: 4 / 5; transition: border-color .2s, transform .2s; }
.pgal__t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgal__t:hover { transform: translateY(-2px); }
.pgal__t[aria-current="true"] { border-color: var(--gold-500); }
.pgal__t:focus-visible { outline: 2px solid var(--wine-600); outline-offset: 2px; }
.pgal__hint { font-size: .88rem; margin-top: .45rem; }
.photo.is-zoomable { cursor: zoom-in; }
.qv__photo .photo img { cursor: zoom-in; }

html.lbx-open { overflow: hidden; }
.lbx { position: fixed; inset: 0; z-index: 500; background: rgb(20 6 11 / .94); display: grid; grid-template-rows: auto 1fr auto; animation: lbx-in .25s ease-out; }
@keyframes lbx-in { from { opacity: 0; } }
.lbx__bar { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; color: #f3e7ea; grid-row: 1; }
.lbx__title { font-family: var(--f-display); font-size: 1.3rem; }
.lbx__count { margin-left: auto; font-size: .95rem; opacity: .8; }
.lbx__close, .lbx__nav { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); color: #fff; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lbx__close:hover, .lbx__nav:hover { background: rgb(255 255 255 / .22); }
.lbx__close .ic, .lbx__nav .ic { width: 22px; height: 22px; }
.lbx__stage { grid-row: 2; display: grid; place-items: center; padding: 0 4.5rem; min-height: 0; }
.lbx__stage img { height: min(72vh, 820px); width: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 20px 60px rgb(0 0 0 / .5); user-select: none; -webkit-user-drag: none; }
.lbx__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lbx__nav--prev { left: 1rem; }
.lbx__nav--next { right: 1rem; }
.lbx__thumbs { grid-row: 3; display: flex; justify-content: center; gap: .5rem; padding: .8rem 1rem 1.1rem; overflow-x: auto; }
.lbx__thumbs button { flex: none; width: 58px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .6; background: none; }
.lbx__thumbs button[aria-current="true"] { border-color: var(--gold-400); opacity: 1; }
.lbx__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .lbx__stage { padding: 0 .5rem; }
  .lbx__nav { width: 44px; height: 44px; top: auto; bottom: 6.2rem; transform: none; }
  .lbx__nav--prev { left: .75rem; } .lbx__nav--next { right: .75rem; }
}

/* ===== Complete Profile: full-width sections, 4 fields per row ===== */
.cp-grid { grid-template-columns: 1fr; }
.cp-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-fields .span-2 { grid-column: span 2; }
.cp-fields .span-3 { grid-column: span 3; }
.cp-fields .span-4 { grid-column: 1 / -1; }
.cp-fields--3 .span-4 { grid-column: 1 / -1; }
.photo-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.dropzone--compact { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; text-align: left; justify-items: start; }
.dropzone__text { display: grid; gap: .15rem; flex: 1; }
.dropzone__text strong { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-800); }
.dropzone__text .muted { font-size: .86rem; }
.rules--compact { margin: 0; display: grid; gap: .35rem; font-size: .9rem; }
#photo-grid:not(:empty) { margin-top: .9rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; }
/* multi-select */
.msel { position: relative; }
.msel__btn { width: 100%; text-align: left; cursor: pointer; display: flex; align-items: center; min-height: 42px; }
.msel__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msel__value.is-empty { color: var(--ink-3); }
.msel__panel { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg, 0 18px 40px -18px rgb(60 20 30 / .35)); padding: .6rem; display: grid; gap: .5rem; }
.msel__list { max-height: 240px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .15rem .6rem; }
.msel__list .check { padding: .3rem .2rem; border-radius: 6px; }
.msel__list .check:hover { background: var(--cream-100); }
.msel__list .check[hidden] { display: none; }
@media (max-width: 1100px) {
  .cp-fields, .cp-fields--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-fields .span-3, .cp-fields .span-4 { grid-column: 1 / -1; }
  .photo-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cp-fields, .cp-fields--3 { grid-template-columns: 1fr; }
  .cp-fields .span-2 { grid-column: auto; }
  .dropzone--compact { flex-wrap: wrap; }
}

/* ===== Sign-up (email first) ===== */
.input--lg { min-height: 54px; font-size: 1.1rem; }
.verified-email { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border-radius: var(--r-md); background: #eef6f0; border: 1px solid #cfe5d6; color: var(--ink); }
.verified-email .ic { color: var(--success); width: 18px; height: 18px; }
.verified-email small { margin-left: auto; color: var(--success); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.consents { display: grid; gap: .7rem; padding: .9rem 1rem; border-radius: var(--r-md); background: var(--cream-50); border: 1px solid var(--line); }
.consents .check { align-items: flex-start; font-size: .95rem; line-height: 1.45; }
#su-msg.is-ok { background: var(--gold-100); border-color: var(--gold-300); color: var(--ink); }

/* ===== Mobile verification first ===== */
.cp-phone { border: 1.5px solid var(--gold-300); background: linear-gradient(180deg, var(--cream-0), var(--cream-50)); }
.ph-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: .6rem; align-items: center; max-width: 640px; }
.ph-row--code { grid-template-columns: 200px auto auto; margin-top: .7rem; }
.ph-done { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .7rem .9rem; border-radius: var(--r-md); background: #eef6f0; border: 1px solid #cfe5d6; max-width: 640px; }
.ph-done .ic { color: var(--success); }
.ph-done .link { margin-left: auto; }
.cp-locked { position: relative; }
.cp-locked::after { content: "Verify your mobile number above to continue"; position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 4.2rem; background: rgb(253 248 241 / .72); backdrop-filter: blur(1.5px); border-radius: var(--r-lg); font-family: var(--f-display); font-size: 1.25rem; color: var(--wine-800); z-index: 5; pointer-events: none; }
.cp-locked > * { opacity: .55; }
@media (max-width: 560px) { .ph-row, .ph-row--code { grid-template-columns: 1fr; } }

.cp-news { padding: 1rem 1.3rem; }
.news-toggle { align-items: flex-start; gap: .8rem; }
.news-toggle strong { font-family: var(--f-display); font-size: 1.2rem; color: var(--wine-800); }

#save-draft[inert], #profile-form [type=submit][inert] { opacity: .45; filter: grayscale(.4); cursor: not-allowed; }

.offer-banner { display: flex; align-items: center; gap: .9rem; max-width: 1100px; margin: 0 auto 1.5rem; padding: 1rem 1.3rem; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--gold-100), #fff6e6); border: 1px solid var(--gold-300); }
.offer-banner .ic { width: 30px; height: 30px; color: var(--gold-700); flex: none; }
.offer-banner strong { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--wine-800); }
.offer-banner span { color: var(--ink-2); }

/* ===== Exit-intent pop-up ===== */
.exit-pop { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 1rem; opacity: 0; transition: opacity .3s; }
.exit-pop.is-open { opacity: 1; }
.exit-pop__backdrop { position: absolute; inset: 0; background: rgb(35 10 18 / .55); backdrop-filter: blur(3px); }
.exit-pop__dialog { position: relative; width: min(820px, 100%); display: grid; grid-template-columns: 1fr 1.25fr; background: var(--cream-0); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 80px -20px rgb(40 10 20 / .6); transform: translateY(18px) scale(.98); transition: transform .35s var(--ease-out, ease-out); }
.exit-pop.is-open .exit-pop__dialog { transform: none; }
.exit-pop__art { background: var(--wine-800); min-height: 100%; }
.exit-pop__art img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.exit-pop__body { padding: 2.2rem 2rem 1.6rem; display: grid; gap: .8rem; align-content: center; }
.exit-pop__eyebrow { font-family: var(--f-caps); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.exit-pop__body h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; color: var(--wine-800); }
.exit-pop__lead { color: var(--ink-2); font-size: 1.05rem; }
.exit-pop__form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.exit-pop__fine { font-size: .8rem; color: var(--ink-3); line-height: 1.45; }
.exit-pop__msg { font-size: .9rem; color: var(--danger); }
.exit-pop__no { background: none; border: 0; color: var(--ink-3); text-decoration: underline; cursor: pointer; justify-self: start; font: inherit; font-size: .92rem; padding: 0; }
.exit-pop__close { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .85); display: grid; place-items: center; cursor: pointer; }
@media (max-width: 680px) {
  .exit-pop__dialog { grid-template-columns: 1fr; }
  .exit-pop__art { height: 150px; }
  .exit-pop__art img { object-position: 50% 30%; }
  .exit-pop__form { grid-template-columns: 1fr; }
  .exit-pop__body { padding: 1.4rem 1.3rem 1.2rem; }
}

.price-star { font-size: .45em; vertical-align: super; margin-left: .05em; color: var(--gold-700); }
.price-fine { font-size: .78rem; line-height: 1.4; color: var(--ink-3); margin-top: .35rem; font-style: normal; }

.ts-slot:empty { display: none; }
.ts-slot { margin: .4rem 0; }

/* ---------- Selfie check ---------- */
.req-tag { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--wine-800, #721533); color: #fff; font: 600 .7rem/1.5 var(--f-body, serif); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.sf-choose { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.25rem 0 .5rem; }
#sec-selfie .sf-choose { justify-content: flex-start; }
.sf-card { padding: clamp(1.25rem, 3vw, 2.25rem); }
.sf-privacy { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: #f7eedd; border-left: 3px solid var(--gold-600, #bf9658); font-size: .92rem; line-height: 1.55; color: #4a3238; }
.sf-privacy svg { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: var(--wine-800, #721533); }
.sf-st { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .98rem; margin: .5rem 0 0; }
.sf-st svg { width: 18px; height: 18px; }
.sf-st--ok { color: #2f6b3f; } .sf-st--warn { color: #9a5b12; }
.sf-st__note { display: block; margin-top: .3rem; font-style: italic; color: #5c4a50; }
.sf { display: grid; gap: 1rem; margin-top: 1rem; }
.sf__stage { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #1c1115; }
.sf__stage video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.sf__oval { position: absolute; inset: 12% 18% 18%; border: 3px dashed rgb(255 255 255 / .75); border-radius: 50%; pointer-events: none; }
.sf__pose { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem; background: linear-gradient(transparent, rgb(20 8 12 / .88)); color: #fff; text-align: center; display: grid; gap: .15rem; }
.sf__pose small { opacity: .8; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.sf__pose strong { font-size: 1.15rem; }
.sf__off { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; text-align: center; color: #fff; background: #2a171d; }
.sf__shots { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 440px; width: 100%; margin: 0 auto; }
.sf__shot { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; border: 2px dashed #e0d2c0; display: grid; place-items: center; overflow: hidden; background: #fbf6ee; text-align: center; }
.sf__shot.is-next { border-color: var(--wine-700, #8a1f41); }
.sf__shot img { width: 100%; height: 100%; object-fit: cover; }
.sf__ph { display: grid; gap: .3rem; padding: .5rem; font-weight: 600; color: var(--wine-800, #721533); font-size: .9rem; }
.sf__ph small { font-weight: 400; color: #6b585e; font-size: .78rem; }
.sf__retake { position: absolute; left: 50%; bottom: .5rem; transform: translateX(-50%); padding: .35rem .8rem; border-radius: 999px; border: 0; background: rgb(255 255 255 / .92); color: var(--wine-800, #721533); font-weight: 600; cursor: pointer; min-height: 32px; }
.sf__btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.sf__btns svg { width: 18px; height: 18px; }
.sf__msg { text-align: center; color: #2f6b3f; } .sf__msg.is-bad { color: #a3262f; }
.sf-done { text-align: center; padding: 1.5rem .5rem; display: grid; gap: .5rem; justify-items: center; }
.sf-done svg { width: 44px; height: 44px; color: #2f6b3f; }
.sf-qr { display: grid; gap: .9rem; justify-items: center; text-align: center; margin-top: 1rem; }
.sf-qr__code { width: 220px; max-width: 70vw; padding: .5rem; background: #fff; border-radius: 12px; border: 1px solid #ece3d7; }
.sf-qr__code svg { width: 100%; height: auto; display: block; }
.sf-qr__steps { text-align: left; margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.sf-qr__wait { display: inline-flex; gap: .4rem; align-items: center; color: var(--wine-800, #721533); font-weight: 600; }
.sf-qr__wait svg { width: 18px; height: 18px; }

.ph-call-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .45rem 0 0; font-size: .92rem; color: #5c4a50; }
.ph-call-row svg { width: 16px; height: 16px; color: var(--wine-800, #721533); }
.ph-call-row .link { font-weight: 600; }

#ph-resend { min-width: 150px; }
#ph-resend:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Install the app (PWA) ---------- */
.pwa-sheet { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pwa-sheet.is-open { transform: none; }
.pwa-sheet__in { display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 12px 12px 12px 14px; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgb(42 23 29 / .22); border: 1px solid #efe4d6; }
.pwa-sheet__in img { border-radius: 12px; flex: none; }
.pwa-sheet__txt { display: grid; gap: 2px; font: 14px/1.4 var(--f-body, Georgia, serif); color: #3d2a30; }
.pwa-sheet__txt strong { color: var(--wine-800, #721533); font-size: 15px; }
.pwa-sheet__txt svg { vertical-align: -3px; color: #0a84ff; }
.pwa-sheet__btns { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pwa-sheet__x { background: none; border: 0; font-size: 22px; line-height: 1; color: #8a7a80; min-width: 40px; min-height: 40px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pwa-sheet { transition: none; } }

/* ---------- App mode (installed app / store apps) ---------- */
html.is-app .site-header .nav, html.is-app .header-tag, html.is-app .menu-toggle, html.is-app .header-btns, html.is-app .mobile-menu,
html.is-app .site-footer, html.is-app .scroll-cue, html.is-app .demo-switch, html.is-app .skip-link { display: none !important; }
html.is-app .site-header .header-inner { justify-content: center; }
html.is-app body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
.app-tabs { display: none; }
html.is-app .app-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #efe4d6; box-shadow: 0 -6px 24px rgb(42 23 29 / .08); }
.app-tabs a { display: grid; justify-items: center; gap: 3px; padding: 7px 4px; min-height: 52px; border-radius: 12px; color: #7b6a70; text-decoration: none;
  font: 600 11px/1.1 var(--f-body, system-ui, sans-serif); -webkit-tap-highlight-color: transparent; }
.app-tabs a svg { width: 23px; height: 23px; }
.app-tabs a[aria-current="page"] { color: var(--wine-800, #721533); background: #f7eee6; }
.app-welcome { position: fixed; inset: 0; z-index: 200; background: #fbf6ee; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
/* the two rings from the home hero, still image (no animation), fading into the cream panel */
.app-welcome__art { position: relative; min-height: 0; overflow: hidden; }
.app-welcome__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; }
.app-welcome__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(251 246 238 / .0) 55%, #fbf6ee 100%); }
.app-welcome__in { width: min(100%, 440px); margin: 0 auto; display: grid; justify-items: center; gap: 16px; text-align: center; padding: 6px 16px calc(20px + env(safe-area-inset-bottom)); position: relative; }
.app-welcome__logo { width: 92px; height: auto; margin-top: -54px; filter: drop-shadow(0 6px 16px rgb(77 12 34 / .18)); }
.app-welcome__slides section { display: grid; gap: 8px; min-height: 120px; align-content: start; }
.app-welcome__slides h1 { font-family: var(--f-display, Georgia, serif); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.4rem); color: var(--wine-800, #721533); margin: 0; }
.app-welcome__slides p { font-size: 1.1rem; line-height: 1.55; color: #4a3238; margin: 0; }
.app-welcome__dots { display: flex; gap: 8px; } .app-welcome__dots i { width: 8px; height: 8px; border-radius: 50%; background: #dccbb8; }
.app-welcome__dots i.is-on { background: var(--wine-700, #8a1f41); width: 22px; border-radius: 99px; }
.app-welcome__btns { display: grid; gap: 10px; width: 100%; } .app-welcome__btns .btn { width: 100%; }
.profile-safety { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; font-size: .92rem; }
.profile-safety .link { display: inline-flex; align-items: center; gap: 6px; color: #7b6a70; background: none; border: 0; cursor: pointer; min-height: 40px; }
.profile-safety svg { width: 16px; height: 16px; }
.acct-delete { margin-top: 1.1rem; border-top: 1px solid #efe4d6; padding-top: .9rem; }
.acct-delete summary { cursor: pointer; color: #a3262f; font-weight: 600; min-height: 32px; }
.acct-delete p { margin: .6rem 0 .8rem; color: #5c4a50; font-size: .95rem; line-height: 1.55; }
.acct-delete .field { display: grid; gap: 6px; margin-bottom: .7rem; }

/* login: narrower card on large screens only (phones use the single-column layout) */
@media (min-width: 1001px) { .auth-v4.auth-v4--narrow { grid-template-columns: 1fr minmax(0, 460px); } }

/* Country of residence → city */
#city-field .select:disabled { background: #f3eee8; color: #9a8d90; cursor: not-allowed; border-color: #e6dccf; }
#city-field.is-off label { color: #9a8d90; }
#f-city-other { margin-top: .5rem; }

/* Login: Mobile | Email */
.login-method { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f3ebe1; border-radius: 14px; padding: 5px; }
.login-method legend { grid-column: 1 / -1; font-size: .95rem; color: var(--ink-2, #4a3238); margin-bottom: .45rem; text-align: center; width: 100%; float: left; }
.login-method label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; cursor: pointer; font-weight: 600; color: #6b585e; position: relative; }
.login-method input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.login-method label:has(input:checked) { background: #fff; color: var(--wine-800, #721533); box-shadow: 0 2px 10px rgb(42 23 29 / .1); }
.login-method label:has(input:focus-visible) { outline: 2px solid var(--wine-700, #8a1f41); outline-offset: 2px; }
.login-method svg { width: 18px; height: 18px; }
.ml-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .5rem; }
.ml-alt { font-size: .92rem; }

/* Selfie face check */
.sf__face { position: absolute; top: .7rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.4rem); padding: .4rem .8rem; border-radius: 999px; background: rgb(20 8 12 / .78); color: #fff; font-size: .85rem; text-align: center; line-height: 1.3; }
.sf__face.is-ok { background: rgb(22 101 52 / .88); }
.sf__stage.is-face .sf__oval { border-color: #4ade80; border-style: solid; }
.sf__stage.is-noface .sf__oval { border-color: #fbbf24; }
.sf__btns [data-snap]:disabled { opacity: .55; cursor: not-allowed; }

/* Find a Match — compact search everywhere (website, tablet, app): one line per box, no separate headings */
.search-v5 { padding: .9rem .9rem 1rem; border-radius: 24px; }
.search-v5::before { inset: 6px; border-radius: 19px; }
.search-v5__head { padding: 0 .3rem .7rem; }
.search-v5__title { font-size: 1.35rem; }
.search-v5__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
.sfield--card { position: static; display: flex; align-items: center; gap: .45rem; padding: .25rem .45rem .25rem .6rem; border-radius: 14px; min-width: 0; }
.sfield--card:hover { transform: none; }
.sfield--card > label, .sfield--card > .sfield__label { flex: none; gap: 0; }
.sfield--card .sfield__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sfield__ico { width: 26px; height: 26px; }
.sfield--card .select, .sfield--card .ms__btn { flex: 1; min-width: 0; min-height: 46px; font-size: 1.05rem; padding: 0 1.5rem 0 .1rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; background-position: right 2px center; }
.sfield--card .ms { flex: 1; min-width: 0; position: static; }
.sfield--card .ms__count { min-width: 22px; height: 22px; font-size: .75rem; }
.search-v5__go { grid-column: span 2; min-height: 50px; font-size: 1.05rem; border-radius: 14px; }
.sfield--card .ms__panel { left: 0; width: min(100%, 420px); max-height: min(60vh, 460px); z-index: 120; }
@media (max-width: 1100px) { .search-v5__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .search-v5__go { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .search-v5 { padding: .8rem .75rem .85rem; border-radius: 22px; }
  .search-v5::before { inset: 5px; border-radius: 18px; }
  .search-v5__title { font-size: 1.25rem; }
  .search-v5__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .sfield--card { padding: .25rem .4rem .25rem .55rem; }
  .sfield--card .select, .sfield--card .ms__btn { min-height: 44px; font-size: 1rem; }
  .sfield--card .ms__panel { right: 0; width: auto; }
}
}
/* tips box: keep each step's text together on phones */
@media (max-width: 760px) {
  .helper__steps li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6rem; font-size: .98rem; }
  .helper__steps li strong { display: inline; }
}

/* ============ Complete Profile v2 — compact field cards (label inside the box), same feel as Find a Match ============ */
.v2-sec .cp-section__head { position: relative; }
.v2-prog { margin-left: auto; align-self: center; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--wine-100, #f6e7ec); color: var(--wine-800, #721533); white-space: nowrap; }
.v2-prog.is-done { background: #e6f4ea; color: #1e6b35; }
.qf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin-top: 1rem; }
.qf-grp { grid-column: 1 / -1; margin: .9rem 0 .1rem; font-family: var(--f-caps, inherit); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700, #8a6a35); display: flex; align-items: center; gap: .6rem; }
.qf-grp::after { content: ""; flex: 1; height: 1px; background: var(--line-soft, #eee2d4); }
.qf { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 62px; padding: .45rem .75rem .45rem; background: #fff; border: 1px solid var(--line, #e6d8c7); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.qf:hover { border-color: var(--gold-400, #d2b27a); }
.qf:focus-within { border-color: var(--wine-600, #8a1f41); box-shadow: 0 0 0 4px rgb(114 21 51 / .08); }
.qf--2 { grid-column: span 2; }
.qf--all { grid-column: 1 / -1; }
.qf.is-missing { border-color: #c0392b; box-shadow: 0 0 0 3px rgb(192 57 43 / .1); background: #fffafa; }
.qf.is-na { opacity: .55; }
.qf__lbl { display: flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--wine-700, #8a1f41); line-height: 1.25; }
.qf__lbl .req { color: #c0392b; }
.qf__ico { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; color: var(--gold-700, #8a6a35); }
.qf__ico svg, .qf__ico .ic { width: 15px; height: 15px; }
.qf__in, .qf__pk, .qf__static { width: 100%; min-width: 0; border: 0; background: transparent; padding: .2rem 1.4rem .1rem 0; font: inherit; font-size: 1.02rem; color: var(--ink, #2a171d); min-height: 34px; text-align: left; outline: none; }
select.qf__in, .qf__pk { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a1f41' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
select.qf__in.is-empty, .qf__pk.is-empty .pk__val { color: #9a8a8f; }
.qf__pk:disabled { cursor: not-allowed; }
.qf__pk .pk__val { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk__more { font-weight: 700; color: var(--wine-700, #8a1f41); }
.qf__static { color: var(--ink-2, #4a3238); padding-right: 0; }
.qf__ta { resize: vertical; min-height: 74px; padding-right: 0; line-height: 1.5; }
.qf__count { position: absolute; right: .7rem; top: .5rem; font-size: .72rem; color: #9a8a8f; }
.qf__sub { border-top: 1px dashed var(--line, #e6d8c7); margin-top: .2rem; padding-top: .3rem; }
.qf__occ { display: grid; }
.qf__hint { margin: .15rem 0 0; font-size: .74rem; line-height: 1.35; color: #8a7a7f; }
@media (max-width: 1100px) { .qf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .qf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .qf { padding: .4rem .6rem; min-height: 58px; }
  .qf__lbl { font-size: .66rem; letter-spacing: .02em; }
  .qf__in, .qf__pk, .qf__static { font-size: .95rem; }
  .qf--2 { grid-column: 1 / -1; }
  .v2-sec .cp-section__head { flex-wrap: wrap; }
  .v2-prog { margin-left: 0; }
}
.v2-banner { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: 16px; background: linear-gradient(120deg, #fff8ec, #fbeedd); border: 1px solid var(--gold-300, #e5cda3); }
.v2-banner > svg, .v2-banner > .ic { width: 26px; height: 26px; color: var(--gold-700, #8a6a35); flex: none; }
.v2-banner div { display: grid; gap: .15rem; flex: 1; }
.v2-banner span { font-size: .92rem; color: var(--ink-2, #4a3238); }
.v2-saved { font-size: .85rem; margin: 0 0 .6rem; min-height: 1.2em; color: #8a7a7f; }
.v2-saved.is-ok { color: #1e6b35; } .v2-saved.is-bad { color: #c0392b; } .v2-saved.is-wait { color: #8a6a35; }

/* pick-list (popover on desktop, bottom sheet on phones) */
.pk { position: fixed; z-index: 400; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, #e6d8c7); border-radius: 16px; box-shadow: 0 24px 60px -20px rgb(42 23 29 / .35); overflow: hidden; }
.pk--sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto !important; max-height: 78vh !important; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 40px rgb(42 23 29 / .3); }
html.pk-lock::after { content: ""; position: fixed; inset: 0; background: rgb(30 15 20 / .35); z-index: 399; }
html.pk-lock body { overflow: hidden; }
.pk__head { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem .5rem; }
.pk__head strong { font-size: 1rem; color: var(--wine-800, #721533); }
.pk__x { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-50, #faf6f0); }
.pk__x svg { width: 16px; height: 16px; }
.pk__search { margin: .6rem .7rem .3rem; padding: .6rem .8rem; border: 1px solid var(--line, #e6d8c7); border-radius: 10px; font: inherit; font-size: 1rem; }
.pk__list { overflow: auto; overscroll-behavior: contain; padding: .25rem 0; flex: 1; }
.pk__grp { padding: .5rem 1rem .2rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9a8a8f; }
.pk__opt { display: flex; align-items: center; gap: .65rem; padding: .6rem 1rem; cursor: pointer; font-size: 1rem; min-height: 44px; }
.pk__opt:hover { background: var(--cream-50, #faf6f0); }
.pk__opt.is-on { background: #fbf1f4; color: var(--wine-800, #721533); font-weight: 600; }
.pk__opt.is-off { opacity: .45; }
.pk__opt input { width: 18px; height: 18px; accent-color: var(--wine-700, #8a1f41); flex: none; pointer-events: none; }
.pk__foot { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; border-top: 1px solid var(--line-soft, #eee2d4); background: var(--cream-50, #faf6f0); }
.pk__count { flex: 1; font-size: .85rem; color: #8a7a7f; }
#v2-sections > .span-2 { grid-column: 1 / -1; }

/* ============ Profile page v2 ============ */
.pv-cmp { padding: 1.2rem 1.4rem; }
.pv-cmp__list { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem; }
.pv-cmp__list li { display: flex; gap: .6rem; align-items: center; padding: .6rem .75rem; border-radius: 12px; background: #fff; border: 1px solid var(--line, #e6d8c7); }
.pv-cmp__list li svg, .pv-cmp__list li .ic { width: 20px; height: 20px; flex: none; }
.pv-cmp__list li span { display: grid; line-height: 1.25; }
.pv-cmp__list li small { font-size: .8rem; color: #8a7a7f; }
.pv-cmp__list li.is-ok svg { color: #1e6b35; } .pv-cmp__list li.is-ok small { color: #1e6b35; }
.pv-cmp__list li.is-mid svg { color: #a0721c; }
.pv-cmp__list li.is-talk svg { color: var(--wine-700, #8a1f41); }
.pv-cmp__list li.is-na { opacity: .6; }
.pv-cmp__lock { margin-top: .6rem; width: 100%; display: flex; gap: .7rem; align-items: center; text-align: left; padding: .75rem .9rem; border-radius: 12px; border: 1px dashed var(--gold-400, #d2b27a); background: linear-gradient(120deg, #fffaf1, #fbf0df); cursor: pointer; }
.pv-cmp__lock span { display: grid; flex: 1; line-height: 1.3; } .pv-cmp__lock small { color: #8a7a7f; font-size: .82rem; }
.pv-cmp__lock svg { width: 20px; height: 20px; color: var(--wine-700, #8a1f41); flex: none; }
.pv-cmp__note { display: flex; gap: .5rem; align-items: center; margin: .3rem 0 0; }
.pv-cmp__foot { margin: .7rem 0 0; font-size: .8rem; color: #9a8a8f; font-style: italic; }
.pv-hl { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.pv-hl span { display: inline-flex; gap: .35rem; align-items: center; font-size: .85rem; padding: .3rem .65rem; border-radius: 999px; background: #e6f4ea; color: #1e6b35; }
.pv-hl svg { width: 15px; height: 15px; }
.pv-locked { padding: 1.2rem 1.4rem; display: grid; gap: .8rem; justify-items: start; }
.pv-locked__list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .45rem .9rem; }
.pv-locked__list li { display: grid; grid-template-columns: auto 1fr; gap: .2rem .5rem; align-items: center; font-size: .92rem; color: var(--ink-2, #4a3238); }
.pv-locked__list li svg { width: 15px; height: 15px; color: var(--gold-700, #8a6a35); }
.pv-locked__list .redact { grid-column: 2; height: 9px; }
.pv-text { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line-soft, #eee2d4); }
.pv-text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700, #8a6a35); }
.pv-text p { margin: .3rem 0 0; line-height: 1.6; }
.pv-prefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 2rem; }
.pv-pref h3 { margin: .8rem 0 .2rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-700, #8a1f41); }
.pv-pref--all { grid-column: 1 / -1; } .pv-pref p { margin: .2rem 0 0; line-height: 1.6; }
.pv-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.pv-chip { padding: .35rem .75rem; border-radius: 999px; background: #fbf1f4; color: var(--wine-800, #721533); font-size: .88rem; border: 1px solid #f0d9e1; }
@media (max-width: 760px) { .pv-prefs { grid-template-columns: 1fr; } .pv-cmp__list { grid-template-columns: 1fr; } }
.up-modal__dialog { text-align: center; padding-top: 2.4rem; max-width: 460px; }
.up-modal__list { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .45rem; text-align: left; }
.up-modal__list li { display: flex; gap: .55rem; align-items: center; } .up-modal__list svg { width: 18px; height: 18px; color: #1e6b35; flex: none; }
/* phone: compact section heads on the long profile form */
@media (max-width: 760px) { .v2-sec .cp-section__head .icon-circle { display: none; } .v2-sec .cp-section__head h2 { font-size: 1.35rem; } }

/* Find a Match v2: 10 filters + More filters + Show Matches */
.search-v5__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.search-v5__go { grid-column: span 1; }
.search-v5__more { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--gold-400, #d2b27a); background: #fffaf1; color: var(--wine-800, #721533); font-weight: 600; font-size: 1rem; position: relative; }
.search-v5__more svg { width: 18px; height: 18px; }
.search-v5__badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 99px; background: var(--wine-700, #8a1f41); color: #fff; font-size: .75rem; display: grid; place-items: center; padding: 0 .35rem; }
.sfield--card.is-locked { position: relative; background: #faf6f0; }
.sfield--card.is-locked .select { opacity: .6; }
.sfield__lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: .7rem; border-radius: inherit; background: transparent; cursor: pointer; color: var(--gold-700, #8a6a35); }
.sfield__lock svg { width: 15px; height: 15px; }
.sfield--card.is-locked .select { background-image: none; }
@media (max-width: 1240px) { .search-v5__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .search-v5__go { grid-column: span 2; } .search-v5__more { grid-column: span 2; } }
@media (max-width: 1100px) { .search-v5__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .search-v5__more { grid-column: span 1; } .search-v5__go { grid-column: span 2; } }
@media (max-width: 760px) { .search-v5__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-v5__more { grid-column: span 1; } .search-v5__go { grid-column: span 1; } }
.more-modal__dialog { max-width: 820px; width: calc(100vw - 32px); text-align: left; padding-top: 2.2rem; max-height: calc(100vh - 40px); overflow: auto; }
.more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more-modal__foot { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1.1rem; position: sticky; bottom: -1px; background: inherit; padding-top: .6rem; }
@media (max-width: 760px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.v2-banner.is-done { background: #eef8f1; border-color: #b9dcc4; } .v2-banner.is-done > svg { color: #1e6b35; }
#v2-saved { text-align: center; margin: 1rem 0 .4rem; }

/* Photos: who can see them */
.photo-vis { border: 1px solid var(--line, #e6d8c7); border-radius: 14px; padding: .8rem 1rem; margin: 0 0 1rem; display: grid; gap: .45rem; background: #fffdf9; }
.photo-vis legend { font-weight: 700; color: var(--wine-800, #721533); padding: 0 .3rem; }
.photo-vis label { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; padding: .35rem .2rem; border-radius: 10px; }
.photo-vis label:has(input:checked) { background: #fbf1f4; }
.photo-vis input { margin-top: .3rem; accent-color: var(--wine-700, #8a1f41); width: 18px; height: 18px; flex: none; }
.photo-vis span { display: grid; line-height: 1.3; } .photo-vis small { color: #8a7a7f; font-size: .85rem; }
.photo-vis__tip { margin: .2rem 0 0; font-size: .88rem; color: #8a5a00; background: #fdf0d5; padding: .45rem .7rem; border-radius: 10px; }
.photo-vis__note { margin: .1rem 0 0; font-size: .8rem; color: #9a8a8f; }

/* My Account → Security */
.sec-extra { display: grid; gap: .9rem; margin: 1rem 0; }
.sec-block { border: 1px solid var(--line, #e6d8c7); border-radius: 14px; padding: .9rem 1rem; background: #fffdf9; }
.sec-block h3 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; font-size: 1.05rem; color: var(--wine-800, #721533); }
.sec-block h3 svg { width: 18px; height: 18px; }
.sec-list { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .35rem; }
.sec-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid #f1e8de; }
.sec-list li span { display: grid; } .sec-list small { color: #8a7a7f; font-size: .82rem; }
.vbadge.is-ok { background: #e6f4ea; color: #1e6b35; padding: 1px 8px; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.mfa-qr { width: 180px; height: 180px; display: block; margin: .4rem 0; background: #fff; border-radius: 8px; }

/* Engagement */
.rec-banner { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; margin-bottom: 1rem; border-radius: 16px; background: linear-gradient(120deg, #fff8ec, #fbeedd); border: 1px solid var(--gold-300, #e5cda3); }
.rec-banner > svg { width: 24px; height: 24px; color: var(--wine-700, #8a1f41); flex: none; } .rec-banner span { flex: 1; }
@media (max-width: 760px) { .rec-banner { flex-wrap: wrap; } }
.ss-wrap { position: relative; } .ss-wrap #ss-n { background: var(--wine-100, #f6e7ec); color: var(--wine-800, #721533); border-radius: 99px; padding: 0 .45rem; margin-left: .2rem; }
.ss-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; width: min(360px, 90vw); background: #fff; border: 1px solid var(--line, #e6d8c7); border-radius: 14px; box-shadow: 0 20px 50px -20px rgb(42 23 29 / .35); padding: .4rem; }
.ss-item { display: flex; align-items: center; gap: .4rem; border-bottom: 1px solid #f1e8de; }
.ss-apply { flex: 1; text-align: left; display: grid; padding: .5rem; border-radius: 10px; } .ss-apply:hover { background: #faf6f0; } .ss-apply small { color: #8a7a7f; }
.ss-alert { display: flex; align-items: center; gap: .2rem; cursor: pointer; } .ss-alert svg, .ss-del svg { width: 15px; height: 15px; } .ss-del { padding: .3rem; color: #8a7a7f; }
.ss-foot { margin: .4rem .5rem; font-size: .82rem; color: #8a7a7f; }
.mp-list { list-style: none; margin: .2rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; text-align: left; }
.mp-list li { display: grid; padding: .7rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line, #e6d8c7); }
.mp-list strong { font-family: var(--f-display); font-size: 1.7rem; color: var(--wine-800, #721533); line-height: 1; } .mp-list span { font-size: .85rem; color: #6b585e; }
.gs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.gs-card { display: grid; gap: .2rem; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--gold-300, #e5cda3); background: linear-gradient(120deg, #fffaf1, #fbf0df); text-decoration: none; color: inherit; }
.gs-card strong { color: var(--wine-800, #721533); } .gs-card em { font-style: normal; color: var(--wine-700, #8a1f41); font-weight: 600; font-size: .9rem; }
.v2-meter { padding: .9rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, #e6d8c7); }
.v2-meter__bar { height: 10px; border-radius: 99px; background: #f3ebe1; overflow: hidden; } .v2-meter__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-500, #bf9658), var(--wine-700, #8a1f41)); transition: width .5s; }
.v2-meter p { margin: .55rem 0 0; } .v2-meter.is-done .v2-meter__bar i { background: #2e8b57; }

/* Membership: Free vs Privileged */
.compare { max-width: 900px; margin: 0 auto 1.5rem; padding: 1.5rem; }
.compare__t { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare__t th, .compare__t td { padding: .6rem .7rem; border-bottom: 1px solid #f1e8de; text-align: center; }
.compare__t tbody th { text-align: left; font-weight: 500; color: var(--ink-2, #4a3238); }
.compare__t thead th { font-family: var(--f-display); font-size: 1.15rem; color: var(--wine-800, #721533); }
.compare__t .is-priv { background: #fbf4ea; font-weight: 600; color: var(--wine-800, #721533); }
@media (max-width: 560px) { .compare { padding: 1rem .6rem; } .compare__t { font-size: .85rem; } .compare__t th, .compare__t td { padding: .5rem .35rem; } }

/* Face ID / fingerprint */
.pk-login { margin-bottom: .2rem; } .pk-or { margin: .6rem 0 .8rem; }
html.qn-locked body > *:not(.applock):not(script) { visibility: hidden !important; }
.applock { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 0%, #fffaf2, #f5ead9); }
.applock__in { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: 2rem; }
.applock__in h1 { font-family: var(--f-display); color: var(--wine-800, #721533); margin: .3rem 0 0; font-size: 1.9rem; }
.applock__in p { margin: 0 0 1rem; color: #8a7a7f; }

/* Core brand message — "Our Promise" (Home, right after the hero) */
.hero-pillars { letter-spacing: .04em; } .hero-pillars span { white-space: nowrap; }
.promise-v6 { padding-block: clamp(3rem, 2.2rem + 3vw, 5rem); }
.promise-v6__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.promise-v6__seal { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--gold-100, #f7ead2)); border: 1px solid var(--gold-300, #e5cda3); box-shadow: 0 12px 30px -16px rgb(74 32 20 / .4); margin-bottom: .9rem; }
.promise-v6__seal img { width: 44px; height: auto; }
.promise-v6__title { font-family: var(--f-display); font-weight: 600; color: var(--wine-800, #721533); font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.25; margin: .5rem 0 0; }
.promise-v6__title em { font-style: italic; color: var(--wine-600, #9b2c50); }
.promise-v6__sign { font-family: var(--f-caps, inherit); letter-spacing: .24em; text-transform: uppercase; font-size: .8rem; color: var(--gold-700, #8a6a35); margin: 0; }
.promise-v6__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.promise-v6__card { display: grid; gap: .7rem; align-content: start; padding: 1.3rem 1.25rem; border-radius: 20px; background: rgb(255 255 255 / .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--gold-300, #e5cda3); box-shadow: 0 22px 44px -30px rgb(74 32 20 / .45); }
.promise-v6__card .icon-circle { width: 50px; height: 50px; }
.promise-v6__card h3 { margin: 0 0 .3rem; font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-800, #721533); }
.promise-v6__card p { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--ink-2, #4a3238); }
.promise-v6__card.is-guided { background: radial-gradient(130% 120% at 20% 0%, var(--wine-600, #9b2c50), var(--wine-900, #4f0d24)); border-color: transparent; }
.promise-v6__card.is-guided h3 { color: #fff4e2; } .promise-v6__card.is-guided p { color: #f1dcc6; }
.promise-v6__card.is-guided .icon-circle { background: rgb(255 255 255 / .12); border-color: rgb(243 220 174 / .5); color: #f3dcae; }
.marquee__item.is-guided { color: #fff; }
@media (max-width: 1000px) { .promise-v6__grid { grid-template-columns: 1fr; } .promise-v6__text { text-align: center; } .promise-v6__text .ornament--sm { margin-inline: auto !important; } }
@media (max-width: 560px) { .promise-v6__cards { grid-template-columns: 1fr; } .promise-v6__card { grid-template-columns: auto 1fr; align-items: start; padding: 1rem; } }
@media (max-width: 560px) { .promise-v6__sign { letter-spacing: .12em; font-size: .68rem; } .promise-v6__title { font-size: 1.45rem; } }

/* Our Promise — compact version with the promise (hands) photo */
.promise-v6 { padding-block: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.promise-v6 .photo-section__bg { background-position: 60% 45%; }
.promise-v6__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(253 248 241 / .96) 0%, rgb(253 248 241 / .9) 42%, rgb(253 248 241 / .62) 100%); }
.promise-v6__title { margin: .4rem 0 0; }
.promise-v6__card { grid-template-columns: auto 1fr; align-items: center; gap: .8rem; padding: .95rem 1.1rem; border-radius: 18px; }
.promise-v6__card .icon-circle { width: 44px; height: 44px; }
.promise-v6__card h3 { margin: 0; font-size: 1.18rem; line-height: 1.25; }
@media (max-width: 1000px) { .promise-v6__veil { background: rgb(253 248 241 / .88); } }
@media (max-width: 560px) { .promise-v6__cards { grid-template-columns: 1fr 1fr; gap: .55rem; } .promise-v6__card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: .8rem .6rem; } .promise-v6__card h3 { font-size: 1rem; } }
.promise-v6 .photo-section__bg { background-position: 50% 68%; }
.promise-v6__veil { background: linear-gradient(90deg, rgb(253 248 241 / .94) 0%, rgb(253 248 241 / .82) 34%, rgb(253 248 241 / .42) 62%, rgb(253 248 241 / .3) 100%); }
@media (max-width: 1000px) { .promise-v6__veil { background: linear-gradient(180deg, rgb(253 248 241 / .9), rgb(253 248 241 / .72)); } }

/* Our Promise — final: statement + cards on the left, the joined hands visible on the right; edges fade into the
   cream of the sections above and below (no colour steps) */
.promise-v6 { padding-block: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); }
.promise-v6__grid { grid-template-columns: minmax(0, 1fr); }
.promise-v6__text { max-width: 760px; }
.promise-v6 .photo-section__bg { inset: 0; background-position: 72% 55%; transform: none !important; }
.promise-v6__veil { background:
    linear-gradient(180deg, rgb(253 248 241) 0%, rgb(253 248 241 / 0) 16%, rgb(253 248 241 / 0) 84%, rgb(253 248 241) 100%),
    linear-gradient(90deg, rgb(253 248 241 / .9) 0%, rgb(253 248 241 / .72) 38%, rgb(253 248 241 / .15) 62%, rgb(253 248 241 / 0) 100%); }
.promise-v6__cards { margin-top: 1.3rem; max-width: 640px; gap: .6rem; }
.promise-v6__card { padding: .75rem 1rem; }
.promise-v6__card .icon-circle { width: 40px; height: 40px; }
.promise-v6__card h3 { font-size: 1.1rem; }
@media (max-width: 1000px) {
  .promise-v6 .photo-section__bg { background-position: 78% 50%; }
  .promise-v6__veil { background: linear-gradient(180deg, rgb(253 248 241) 0%, rgb(253 248 241 / .82) 14%, rgb(253 248 241 / .78) 86%, rgb(253 248 241) 100%); }
  .promise-v6__text { max-width: none; } .promise-v6__cards { margin-inline: auto; }
}
.promise-v6 { padding-block: clamp(2rem, 1.5rem + 1.6vw, 3rem); } .promise-v6__cards { margin-top: 1rem; }

/* ===== Our Promise v7: statement (left) · joined hands (centre of the photo) · four promises (right) =====
   The photo's top and bottom are already faded to the site's warm cream, so it joins the hero and the next section smoothly. */
.promise-v7 { position: relative; isolation: isolate; overflow: hidden; background: #f6ede2; }
.promise-v7__bg { position: absolute; inset: 0; z-index: -1; background: url(../img/stock/promise-hands-2.webp) center 46% / cover no-repeat; }
.promise-v7__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(251 244 235 / .82) 0%, rgb(251 244 235 / .55) 26%, rgb(251 244 235 / 0) 40%, rgb(251 244 235 / 0) 64%, rgb(251 244 235 / .35) 80%, rgb(251 244 235 / .55) 100%),
              linear-gradient(180deg, rgb(253 248 241 / 0) 82%, rgb(253 248 241) 100%); }
.promise-v7__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(0, .8fr); gap: 1.5rem; align-items: center; min-height: clamp(360px, 30vw, 460px); padding-block: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.promise-v7__title { font-family: var(--f-display); font-weight: 600; color: var(--wine-800, #721533); font-size: clamp(1.45rem, 1rem + 1.25vw, 2.2rem); line-height: 1.28; margin: .45rem 0 0; text-shadow: 0 1px 12px rgb(253 248 241 / .8); }
.promise-v7__title em { font-style: italic; color: var(--wine-600, #9b2c50); }
.promise-v7__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.promise-v7__card { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 16px; background: rgb(255 253 249 / .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(229 205 163 / .8); box-shadow: 0 16px 36px -26px rgb(74 32 20 / .5); font-family: var(--f-display); font-size: 1.12rem; color: var(--wine-800, #721533); }
.promise-v7__card .icon-circle { width: 38px; height: 38px; flex: none; }
.promise-v7__card .icon-circle svg { width: 17px; height: 17px; }
.promise-v7__card.is-guided { background: radial-gradient(130% 160% at 15% 0%, var(--wine-600, #9b2c50), var(--wine-900, #4f0d24)); border-color: transparent; color: #fff4e2; font-weight: 600; }
.promise-v7__card.is-guided .icon-circle { background: rgb(255 255 255 / .12); border-color: rgb(243 220 174 / .5); color: #f3dcae; }
@media (max-width: 1000px) {
  .promise-v7__bg { background-position: center 40%; background-size: auto 100%; }
  .promise-v7__bg::after { background: linear-gradient(180deg, rgb(251 244 235 / .85) 0%, rgb(251 244 235 / .6) 30%, rgb(251 244 235 / 0) 45%, rgb(251 244 235 / 0) 62%, rgb(251 244 235 / .7) 78%, rgb(253 248 241) 100%); }
  .promise-v7__grid { grid-template-columns: 1fr; min-height: 0; text-align: center; gap: .8rem; }
  .promise-v7__hands { height: clamp(150px, 38vw, 260px); }
  .promise-v7__cards { grid-template-columns: 1fr 1fr; }
  .promise-v7__card { font-size: 1rem; padding: .6rem .7rem; text-align: left; }
}
@media (max-width: 420px) { .promise-v7__card { flex-direction: column; text-align: center; gap: .4rem; font-size: .95rem; } }
/* phones / tablets: the joined hands as their own band between the statement and the cards */
@media (max-width: 1000px) {
  .promise-v7 { background: linear-gradient(180deg, #f8eee3, #fdf8f1); }
  .promise-v7__bg { display: none; }
  .promise-v7__hands { height: clamp(150px, 42vw, 300px); margin-inline: -16px; background: url(../img/stock/promise-hands-2.webp) center 42% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
  .promise-v7__grid { padding-block: 1.8rem 2rem; }
}
@media (max-width: 1000px) { .promise-v7__hands { height: clamp(200px, 56vw, 340px); background-size: 150% auto; background-position: center 46%; } }

/* Find a Match — list view: one profile per row (photo · details · button) */
.results-v4 .grid-v3.is-list { grid-template-columns: 1fr; gap: .8rem; }
.results-v4 .grid-v3.is-list .pcard { flex-direction: row; align-items: stretch; min-height: 0; }
.results-v4 .grid-v3.is-list .pcard > div:first-child { flex: none; width: 190px; }
.results-v4 .grid-v3.is-list .pcard .photo { width: 190px; height: 100%; min-height: 170px; aspect-ratio: auto; border-radius: 0; }
.results-v4 .grid-v3.is-list .pcard .photo__lock span { font-size: .82rem; }
.results-v4 .grid-v3.is-list .pcard__body { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; column-gap: 1.5rem; align-items: center; padding: 1rem 1.4rem; }
.results-v4 .grid-v3.is-list .pcard__id { grid-column: 1; margin: 0; }
.results-v4 .grid-v3.is-list .pcard__lead { grid-column: 1; margin: .15rem 0 .5rem; }
.results-v4 .grid-v3.is-list .pcard__facts { grid-column: 1; display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin: 0; }
.results-v4 .grid-v3.is-list .pcard__facts li { white-space: nowrap; }
.results-v4 .grid-v3.is-list .pcard__body > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: auto; margin: 0; white-space: nowrap; }
.results-v4 .grid-v3.is-list .notify-card { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .results-v4 .grid-v3.is-list .pcard > div:first-child, .results-v4 .grid-v3.is-list .pcard .photo { width: 120px; min-height: 150px; }
  .results-v4 .grid-v3.is-list .pcard__body { grid-template-columns: 1fr; padding: .8rem .9rem; }
  .results-v4 .grid-v3.is-list .pcard__body > .btn { grid-column: 1; grid-row: auto; margin-top: .6rem; width: 100%; }
  .results-v4 .grid-v3.is-list .pcard__facts li { white-space: normal; }
}

/* Our Promise — writing over a lightened hands photo (statement left · 2×2 promises right) */
.promise-v7__hands { display: none !important; }
.promise-v7__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); min-height: clamp(320px, 26vw, 400px); }
.promise-v7__cards { grid-template-columns: 1fr 1fr; gap: .7rem; }
.promise-v7__card { padding: .85rem 1rem; }
.promise-v7__bg { display: block !important; background-position: center 45%; background-size: cover; }
.promise-v7__bg::after { background:
    linear-gradient(90deg, rgb(251 244 235 / .72) 0%, rgb(251 244 235 / .52) 45%, rgb(251 244 235 / .42) 100%),
    linear-gradient(180deg, rgb(253 248 241 / 0) 85%, rgb(253 248 241) 100%); }
@media (max-width: 1000px) {
  .promise-v7 { background: #f6ede2; }
  .promise-v7__bg { background-size: cover; background-position: 50% 45%; }
  .promise-v7__bg::after { background: linear-gradient(180deg, rgb(251 244 235 / .78), rgb(251 244 235 / .62) 50%, rgb(253 248 241 / .9)); }
  .promise-v7__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 2rem; }
}

/* gold "foil" highlight (same as "Fulfill Half our Deen") on words inside split-animated headings */
.foil .m-word > span { background: var(--foil); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s ease-in-out infinite; }
.promise-v7__title .foil { font-style: italic; font-weight: 700; }
/* tighter rhythm: Promise → Verified members → A simple, guided journey */
.promise-v7__grid { padding-block: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem) clamp(1rem, .8rem + 1vw, 1.6rem); }
.featured-v5 { padding-top: clamp(1rem, .8rem + 1vw, 1.75rem); padding-bottom: clamp(1.4rem, 1rem + 1.3vw, 2.4rem); }
.featured-v5 + .section { padding-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem); }
/* foil on light backgrounds: same moving shimmer, deeper wine→gold so every letter stays readable on cream */
.promise-v7__title .foil, .featured-v5 .foil, .featured-v5 .foil .m-word > span {
  background: linear-gradient(100deg, #6e1431 0%, #9b2c50 18%, #b98a3e 34%, #8a1f41 50%, #c39a52 66%, #6e1431 84%, #9b2c50 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s ease-in-out infinite;
  padding: 0 .12em; margin: 0 -.08em; }
.featured-v5 .foil { background: none; padding: 0; margin: 0; }
.featured-v5 .foil .m-word > span { padding-right: .14em; margin-right: -.1em; }

/* Registration opened from the app ("Create your account → Proceed"): no prices, offers or membership links on this path */
html.from-app a[href*="membership"] { display: none !important; }
/* Inside the app: no payment or membership-offer elements */
html.is-app #founding-modal, html.is-app .exit-pop { display: none !important; }

/* Pre-launch mode (Desk → Settings) */
html:not(.prelaunch) .pre-only, html.prelaunch .pre-hide { display: none !important; }
.pre-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 980px; margin: 0 auto; border-radius: 14px; box-shadow: 0 14px 34px -14px rgb(60 10 30 / .55); padding-right: 2.6rem !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; padding: .55rem 1rem; background: linear-gradient(90deg, #5a0d28, #721533 55%, #8a1f41); color: #fbf3e6; font-size: .9rem; line-height: 1.4; text-align: center; }
.pre-bar strong { color: #f1d9a6; }
.pre-bar__btn { flex: none; padding: .3rem .85rem; border-radius: 999px; background: #f1d9a6; color: #5a0d28; font-weight: 700; font-size: .85rem; text-decoration: none; }
.pre-bar__btn:hover { background: #fff; }
.pre-bar__x { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fbf3e6; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.pre-bar__x:hover { background: rgb(255 255 255 / .12); }

/* join.qynaatnikah.com is registration only: no site menu or account buttons */
html.join-host .site-header .nav, html.join-host .header-btns, html.join-host .menu-toggle, html.join-host .mobile-menu, html.join-host .demo-switch { display: none !important; }

html.prelaunch:not(.pl-ok) body[data-page="profile-setup"] main { visibility: hidden; }
/* keyboard users: first Tab shows "Skip to content" */
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10000; padding: .7rem 1.1rem; border-radius: 10px; background: var(--wine-700, #6b1030); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; outline: 3px solid var(--gold-600, #bf9658); outline-offset: 2px; }
/* legal page */
.legal-toc ul { margin: .5rem 0 0; padding-left: 1.1rem; columns: 2 220px; }
.legal-toc li { margin: .2rem 0; }
.legal ul { margin: 0; padding-left: 1.2rem; }
.legal li { margin: .35rem 0; line-height: 1.6; }
.legal h3 { margin-top: .6rem; }
