/* nippy.space / 1.6.2 — local mobile-first UI; map tiles load only on deliberate map use. */
:root {
  color-scheme: light;
  --paper: #faf7f3;
  --surface: #ffffff;
  --ink: #30252d;
  --muted: #72656e;
  --line: #e9e0e1;
  --accent: #ad3e5d;
  --accent-dark: #8f2f4a;
  --rose: #f8e9ec;
  --plum: #472c3d;
  --danger: #a72f40;
  --success: #42634e;
  --shadow: 0 14px 50px #3c24330b;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input, textarea, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
button, a, summary, input, select, textarea { touch-action: manipulation; }
button, input, select, textarea { -webkit-appearance: none; appearance: none; }
input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; }
:focus-visible { outline: 3px solid #a84267; outline-offset: 4px; }
h1:focus, h2:focus { outline: none; }
::selection { background: #f0cbd5; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.045em; line-height: 1.13; font-weight: 650; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: 1.55rem; }
h3 { font-size: 1rem; letter-spacing: -.02em; }
a { color: inherit; }
button svg, .icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20000; left: 16px; top: -100px; padding: 12px 18px; border-radius: 12px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.intro { font-size: .93rem; line-height: 1.65; color: var(--muted); margin: 14px 0 24px; }
.muted { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.smallprint { font-size: .75rem; line-height: 1.65; }
.button {
  min-height: 52px; border: 1px solid transparent; border-radius: 16px; background: var(--accent);
  color: white; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; font-size: .875rem; line-height: 1.35; font-weight: 650; text-decoration: none;
  transition: background .16s, transform .16s, box-shadow .16s; position: relative;
}
.button:hover:not(:disabled) { background: var(--accent-dark); box-shadow: 0 5px 18px #ad3e5d16; }
.button:active:not(:disabled), .icon-button:active:not(:disabled) { transform: translateY(1px); }
.button.full { width: 100%; }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.button.secondary:hover:not(:disabled) { background: #f4eef0; border-color: #d6c5cd; }
.button.small { min-height: 44px; font-size: .78rem; padding: 10px 14px; border-radius: 12px; }
.button.danger { background: var(--danger); }
.button.danger-outline { background: transparent; border-color: #e4bcc4; color: var(--danger); }
.button.danger-outline:hover:not(:disabled) { background: #fbedef; }
.text-button { color: var(--accent); border: 0; padding: 10px 3px; min-height: 44px; background: transparent; font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; }
.text-button:hover:not(:disabled) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.icon-button { width: 44px; height: 44px; padding: 10px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 50%; color: var(--ink); flex-shrink: 0; transition: background .16s; }
.icon-button:hover:not(:disabled) { background: var(--rose); }
.is-loading { pointer-events: none; }
.is-loading::after { content: ''; display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .75s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.field { display: flex; flex-direction: column; gap: 9px; margin: 0 0 20px; min-width: 0; }
.field-label { color: var(--ink); font-size: .8rem; font-weight: 650; }
input:not([type=checkbox]), textarea, select { width: 100%; min-width: 0; min-height: 54px; border: 1px solid #dcd0d5; border-radius: 12px; padding: 13px 15px; background: white; color: var(--ink); font-size: 16px; line-height: 1.5; transition: border-color .15s; }
input::placeholder, textarea::placeholder { color: #92818b; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
select { appearance: auto; padding-right: 8px; }
textarea { resize: vertical; }
.field-help { color: var(--muted); font-size: .73rem; line-height: 1.6; }
input[type=checkbox] { accent-color: var(--accent); width: 20px; height: 20px; min-width: 20px; margin: 3px 0 0; flex-shrink: 0; }
.check { min-height: 44px; display: flex; align-items: flex-start; gap: 13px; font-size: .81rem; line-height: 1.6; padding: 13px 0; cursor: pointer; }
.check small { display: block; font-size: .73rem; line-height: 1.6; color: var(--muted); font-weight: 400; margin-top: 4px; }
.notice { padding: 14px 16px; background: #f6ebed; border: 1px solid #eacfd7; color: #73344b; border-radius: 14px; font-size: .82rem; line-height: 1.6; margin: 12px 0; overflow-wrap: anywhere; }
.error-notice { color: #902d40; background: #fff1f1; border-color: #ecc1c8; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 12px 0; }
.wordmark { font-family: inherit; font-size: 2rem; font-weight: 800; font-style: normal; line-height: 1.15; letter-spacing: -.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(62vw, 260px); flex-shrink: 0; padding-right: 2px; }
.wordmark-domain { color: var(--accent); font-weight: 500; letter-spacing: -.05em; }
.owner-sidebar .wordmark-domain { color: #e9b9c9; }
/* Public shell */
.user { background: radial-gradient(ellipse at 100% 0, #f9ece933, transparent 60%), var(--paper); }
.user-header { max-width: 1200px; margin: auto; height: 82px; padding: max(15px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 15px max(22px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand-promise { display: inline-flex; gap: 8px; align-items: center; font-size: .72rem; color: var(--muted); margin-left: auto; }
.brand-promise .icon { width: 14px; height: 14px; }
.user-header > .icon-button { background: transparent; border-color: transparent; }
.user-main { width: min(calc(100% - 40px), 440px); margin: 28px auto 20px; }
.user-footer { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: .65rem; padding: 20px 20px max(24px, env(safe-area-inset-bottom)); }
.user-footer .text-button { color: var(--muted); font-size: .68rem; }
.form-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); text-align: center; font-size: .69rem; line-height: 1.6; margin: 16px 0 0; }
.form-footnote .icon { width: 14px; height: 14px; }
/* Guided registration */
.onboarding-main { width: min(calc(100% - 40px), 1100px); }
.onboarding-story { max-width: 470px; margin: 0 auto 26px; text-align: center; }
.story-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 7vw, 3rem); line-height: 1.08; font-weight: 400; letter-spacing: -.055em; }
.story-title em { font-weight: 400; color: var(--accent); }
.onboarding-story > .eyebrow { font-size: .58rem; letter-spacing: .12em; margin-bottom: 12px; }
.onboarding-story > .intro, .story-note { display: none; }
.story-art { position: relative; width: 250px; height: 152px; margin: 20px auto 0; }
.story-card { position: absolute; width: 113px; height: 138px; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 12px 24px #48213515; overflow: hidden; }
.story-card::after { content: ''; width: 110px; height: 110px; position: absolute; top: -10px; right: -28px; border: 1px solid #ffffff35; border-radius: 50%; }
.story-card > .icon { width: 28px; height: 28px; margin: auto; }
.story-card span { font-size: .58rem; letter-spacing: -.01em; }
.story-card.first { background: linear-gradient(135deg, #b95571, #713e58); color: #fff2ed; left: 24px; top: 8px; transform: rotate(-10deg); }
.story-card.second { background: linear-gradient(135deg, #f1d7c9, #f5e7db); color: #71404e; right: 20px; top: 2px; transform: rotate(10deg); }
.story-card.second::after { border-color: #bc7b6e33; }
.story-join { position: absolute; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 4px solid var(--paper); color: var(--accent); top: 66px; left: 109px; }
.story-join .icon { width: 18px; height: 18px; fill: var(--rose); }
.onboarding-panel { max-width: 440px; margin: auto; padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.step-progress { margin-bottom: 24px; }
.step-labels { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; font-weight: 600; color: var(--muted); }
.step-labels span:last-child { color: var(--accent); font-size: .62rem; letter-spacing: .08em; }
.step-bars { display: flex; gap: 5px; margin-top: 11px; }
.step-bars span { height: 3px; flex: 1; border-radius: 5px; background: #efe9eb; }
.step-bars .complete { background: var(--accent); }
.registration-form h2 { font-size: 1.5rem; }
.registration-form .intro { font-size: .81rem; line-height: 1.6; margin: 10px 0 22px; }
.registration-form .check { border-bottom: 1px solid #f0eaed; }
.back-button { margin: -16px 0 8px -4px; font-size: .72rem; }
.back-button .icon { width: 17px; height: 17px; }
.signup-summary { display: flex; align-items: center; gap: 12px; background: #f8f4f5; border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.summary-symbol { background: #ecf0e9; border-radius: 50%; width: 34px; height: 34px; color: var(--success); display: grid; place-items: center; flex-shrink: 0; }
.signup-summary > div { flex: 1; min-width: 0; }
.signup-summary strong { display: block; font-size: .77rem; font-weight: 600; }
.signup-summary div > span { display: block; font-size: .68rem; color: var(--muted); overflow-wrap: anywhere; }
.signup-summary .icon-button { width: 44px; height: 44px; border: 0; background: transparent; padding: 12px; }
.policy-links { margin: 4px 0; gap: 16px; }
.policy-links .text-button { font-size: .7rem; padding: 6px 0; }
.disclosure { margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 13px; }
.disclosure summary { min-height: 44px; font-size: .76rem; font-weight: 600; padding: 12px 0; cursor: pointer; }
.disclosure p { padding-bottom: 12px; font-size: .73rem; }
/* Device camera, not a file picker */
.camera { text-align: center; margin: 10px 0 20px; }
.camera-frame { position: relative; width: 100%; height: clamp(220px, 33svh, 300px); background: #f2e8e6; overflow: hidden; border-radius: 22px; }
.camera-video, .camera-preview { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.camera-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(ellipse at 20% 30%, #efd6cb, transparent 75%), #f1e9e7; }
.camera-guide { width: 125px; height: 155px; border: 1.5px dashed #a7707e; border-radius: 48%; display: grid; place-items: center; color: #9e6576; }
.camera-guide .icon { width: 60px; height: 60px; stroke-width: .8; }
.camera-placeholder > span { color: #7c5967; font-size: .71rem; }
.camera-status { font-size: .73rem; line-height: 1.6; color: var(--muted); margin: 12px 0; }
.camera-controls { display: flex; justify-content: center; }
.camera-controls .button { width: 100%; min-height: 46px; background: #f6eef1; color: var(--accent); border: 1px solid #edd7df; }
.camera[data-state=live] .camera-controls .button { background: var(--plum); color: #fff; border-color: var(--plum); }
.camera[data-state=ready] .camera-status { color: var(--success); }
/* Confirmation, location activation, data management */
.message-main { text-align: center; margin-top: 32px; }
.message-main h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 2.5rem; line-height: 1.09; }
.message-main > .button + .button { margin-top: 12px; }
.message-main .information-row { text-align: left; }
.moment-illustration { position: relative; width: 180px; height: 180px; margin: 0 auto 28px; display: grid; place-items: center; }
.moment-illustration > .icon { width: 56px; height: 56px; color: var(--accent); background: #f5e5e8; box-sizing: content-box; padding: 26px; border-radius: 50%; position: relative; }
.moment-orbit { border: 1px solid #ead8df; border-radius: 50%; width: 150px; height: 150px; position: absolute; }
.moment-orbit.second { width: 180px; height: 180px; border-style: dashed; border-color: #e9dce1; }
.moment-dot { position: absolute; width: 12px; height: 12px; background: #c2758e; border: 3px solid var(--paper); border-radius: 50%; }
.moment-dot.one { top: 19px; right: 23px; }
.moment-dot.two { bottom: 24px; left: 20px; background: #d6a897; }
.information-row { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; }
.row-symbol { width: 38px; height: 38px; background: #f6eff1; color: var(--accent); border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.information-row strong { display: block; font-size: .83rem; font-weight: 650; }
.information-row p { font-size: .76rem; margin-top: 5px; }
.email-instructions, .visit-facts { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 20px; margin: 24px 0; }
.email-instructions .information-row + .information-row, .visit-facts .information-row + .information-row { border-top: 1px solid var(--line); }
.delivery-status { padding: 12px 14px; border-radius: 12px; background: #f1e7eb; color: var(--accent); font-size: .76rem; }
.delivery-status[data-state=sent] { background: #ecf0e9; color: var(--success); }
.message-main > .smallprint { margin: 20px 0; }
.optional-place-link { margin-top: 13px; }
.optional-place-link .icon { width: 16px; height: 16px; }
.optional-places > .button { margin: 16px 0; }
.venue-list { display: grid; gap: 10px; }
.venue-option { width: 100%; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); text-align: left; min-height: 76px; }
.venue-option:hover { border-color: #c997aa; background: #fbf7f9; }
.venue-option > .icon { color: var(--accent); }
.venue-option > div { flex: 1; min-width: 0; }
.venue-option strong { font-size: .83rem; }
.venue-category { display: block; font-size: .7rem; color: var(--muted); margin-top: 3px; }
.venue-distance { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.venue-option > .icon:last-child { width: 15px; }
.attribution { color: var(--muted); font-size: .65rem; margin-top: 8px; }
/* Main dating experience */
.user[data-screen=active] { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
.user[data-screen=active] .user-header { height: 68px; max-width: 800px; }
.user[data-screen=active] .brand-promise { display: none; }
.user[data-screen=active] .user-footer { display: flex; }
.active-main { margin-top: 14px; width: min(calc(100% - 40px), 440px); }
.visit-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.area-label { display: flex; align-items: center; gap: 5px; font-size: .55rem; font-weight: 650; color: var(--accent); letter-spacing: .105em; margin-bottom: 8px; }
.area-label .icon { width: 12px; height: 12px; }
.venue-title { font-size: 1.85rem; line-height: 1.1; letter-spacing: -.05em; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .63rem; font-weight: 500; border: 1px solid #e5d7dd; border-radius: 30px; padding: 7px 9px; color: #7b5366; white-space: nowrap; }
.pill .icon { width: 13px; height: 13px; }
.countdown { align-self: flex-start; margin-top: 4px; background: #f4eced; }
.countdown.ending-soon { color: var(--danger); border-color: #d8a0ac; }
.discovery-subtitle { font-size: .74rem; color: var(--muted); line-height: 1.55; margin: 9px 0 17px; }
.discovery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 4px; }
.segmented-control { display: flex; gap: 3px; border: 1px solid var(--line); border-radius: 30px; background: #f0ebea; padding: 3px; }
.segment { min-height: 38px; padding: 9px 17px; border: 0; border-radius: 25px; color: var(--muted); background: transparent; font-size: .76rem; font-weight: 600; }
.segment.selected { color: var(--ink); background: white; box-shadow: 0 2px 5px #3a26300a; }
.discovery-toolbar > .icon-button { width: 44px; height: 44px; background: transparent; }
.discovery-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; color: var(--muted); font-size: .65rem; }
.discovery-bar .text-button { min-height: 36px; padding: 5px 0; font-size: .72rem; }
.swipe-hint { color: #887582; font-size: .63rem; }
.profile-card { border-radius: 24px; background: white; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 8px 30px #48243608; touch-action: pan-y pinch-zoom; }
.photo-stage { -webkit-touch-callout: none; position: relative; width: 100%; height: clamp(244px, calc(100svh - 510px), 390px); min-height: 244px; background: #4c3046; overflow: hidden; user-select: none; -webkit-user-select: none; }
.photo-cover { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 36px 22px 21px; text-align: center; position: relative; color: #fff4ee; background: radial-gradient(ellipse at 60% 35%, #825068 0, #4e3047 65%, #3d293e 100%); }
.palette-1 .photo-cover { background: radial-gradient(ellipse at 55% 30%, #7f5558, #4f3544 70%); }
.palette-2 .photo-cover { background: radial-gradient(ellipse at 60% 32%, #66617d, #39384d 70%); }
.palette-3 .photo-cover { background: radial-gradient(ellipse at 60% 32%, #765949, #4b3a3d 70%); }
.connection-art { position: absolute; inset: 0 0 39%; overflow: hidden; pointer-events: none; }
.art-orbit { position: absolute; border: 1px solid #e5b6b423; border-radius: 50%; width: 250px; height: 250px; left: calc(50% - 125px); top: 10px; transform: rotate(-25deg); }
.art-orbit.second { width: 320px; height: 320px; left: calc(50% - 160px); top: -24px; border-style: dashed; }
.art-seed { position: absolute; width: 88px; height: 125px; border-radius: 55% 55% 40% 55%; top: 58px; box-shadow: inset -18px -10px 30px #51283930; }
.art-seed.one { left: calc(50% - 76px); background: linear-gradient(140deg, #efd5c2 15%, #c17781 80%); transform: rotate(-32deg); }
.art-seed.two { left: calc(50% - 9px); top: 48px; width: 88px; height: 135px; background: linear-gradient(145deg, #edc0bd, #ad667b 85%); transform: rotate(32deg); }
.art-spark { position: absolute; width: 25px; height: 25px; top: 56px; left: calc(50% + 78px); color: #f0cdbf; }
.cover-title { position: relative; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.05rem, 7vw, 2.65rem); line-height: .99; font-weight: 400; letter-spacing: -.045em; white-space: pre-line; margin: 0 0 10px; }
.cover-label { color: #f4dce1; font-size: .66rem; line-height: 1.5; position: relative; }
.photo-privacy { display: inline-flex; align-items: center; gap: 5px; color: #f2d9dc; font-size: .59rem; border-top: 1px solid #ffffff20; margin-top: 13px; padding-top: 9px; }
.photo-privacy .icon { width: 12px; height: 12px; }
.profile-overlay { pointer-events: none; position: absolute; left: 15px; right: 11px; top: 12px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.profile-state { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid #ffffff35; border-radius: 24px; background: #30223155; color: #fff4ee; font-size: .62rem; backdrop-filter: blur(8px); }
.profile-state .icon { width: 12px; height: 12px; }
.profile-state.mutual { background: #e8c7ba; color: #4d293c; border-color: transparent; }
.profile-menu { pointer-events: auto; background: #30223155; color: white; border: 1px solid #ffffff30; width: 44px; height: 44px; backdrop-filter: blur(8px); }
.profile-menu:hover:not(:disabled) { background: #543044; }
.private-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.photo-touch-target { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; border-radius: 0; padding: 0; background: transparent; color: inherit; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.photo-touch-target:hover:not(:disabled), .photo-touch-target:active { background: transparent; }
.photo-touch-target:focus-visible { outline: 3px solid #efd5c2; outline-offset: -5px; }
.photo-reveal-hint { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 8px 14px; border-radius: 20px; color: #fff; background: #302231cc; font-size: .7rem; pointer-events: none; white-space: nowrap; }
.touch-hold-hint { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .77rem; font-weight: 600; color: var(--plum); }
.photo-stage.is-preparing { outline: 1px solid #ae7288; outline-offset: -1px; }
.photo-stage.is-held { outline: 2px solid #ae7288; outline-offset: -2px; }
.profile-meta { padding: 13px 17px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.profile-meta strong { display: block; font-size: .79rem; font-weight: 650; letter-spacing: -.01em; }
.profile-meta span { display: block; color: var(--muted); font-size: .66rem; margin-top: 3px; }
.profile-meta > .icon { width: 18px; height: 18px; color: #99868f; }
.deck-actions { display: flex; align-items: stretch; gap: 11px; margin: 14px 0 10px; }
.deck-direction { width: 50px; height: 50px; }
.deck-primary { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 8px; }
.deck-primary > .hold-button, .deck-primary > .interest-button { width: 100%; flex: none; }
.interest-button { flex: 1; min-width: 0; min-height: 50px; border-radius: 30px; }
.interest-button .icon { width: 19px; height: 19px; }
.interest-button.is-interested .icon { fill: #edd3dc; color: var(--accent); }
.hold-button { width: 100%; min-height: 48px; border-radius: 16px; background: var(--plum); color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; font-size: .79rem; }
.hold-button:hover:not(:disabled) { background: #372035; }
.hold-button:disabled { opacity: 1; color: #7c6571; background: #f0e9eb; border: 1px solid #e8dce1; font-size: .7rem; }
.hold-button:disabled .icon { width: 15px; height: 15px; }
.hold-button[aria-pressed=true] { background: var(--accent); }
.deck-hint { font-size: .62rem; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; display: flex; justify-content: center; padding: 9px max(10px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); background: #fffdfbf2; backdrop-filter: blur(18px); border-top: 1px solid var(--line); z-index: 100; gap: 4px; }
.bottom-nav-item { border: 0; background: transparent; color: #8b7885; border-radius: 15px; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; min-height: 54px; max-width: 150px; flex: 1; font-size: .65rem; font-weight: 500; padding: 5px 14px; }
.bottom-nav-item .icon { width: 22px; height: 22px; }
.bottom-nav-item.selected { color: var(--accent); }
.bottom-nav-item.selected .icon { fill: #f5dce5; }
.bottom-nav-item:hover { background: #f7f0f2; }
.empty-state { text-align: center; padding: 24px 14px 28px; border: 1px solid var(--line); border-radius: 24px; background: #fffcfa; margin-top: 16px; }
.empty-state .moment-illustration { margin-bottom: 22px; width: 160px; height: 160px; }
.empty-state h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.95rem; margin-bottom: 14px; }
.empty-state > p { max-width: 310px; margin: 0 auto 20px; font-size: .8rem; }
.empty-state > .button { margin: 5px; }
.connections-count { font-size: .73rem; color: var(--muted); margin: 8px 0 18px; }
.connections-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.connection-tile { border: 1px solid var(--line); padding: 0 0 14px; background: white; border-radius: 20px; overflow: hidden; color: var(--ink); text-align: left; box-shadow: 0 5px 18px #48243605; }
.tile-art { height: 153px; background: radial-gradient(ellipse at 60% 20%, #936076, #4f3247 90%); display: grid; place-items: center; color: #eecabf; position: relative; margin-bottom: 13px; }
.tile-art::before { content: ''; position: absolute; border: 1px solid #efd3c42e; border-radius: 50%; width: 120px; height: 120px; }
.tile-art.palette-1 { background: radial-gradient(ellipse at 60% 20%, #ab7a70, #684351 90%); }
.tile-art.palette-2 { background: radial-gradient(ellipse at 60% 20%, #8b809b, #4b405c 90%); }
.tile-art.palette-3 { background: radial-gradient(ellipse at 60% 20%, #95826c, #564650 90%); }
.tile-art > .icon { width: 44px; height: 44px; stroke-width: 1; }
.tile-lock { position: absolute; bottom: 10px; right: 10px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #34233555; }
.tile-lock .icon { width: 13px; height: 13px; }
.connection-tile > strong, .connection-tile > span, .connection-tile > small { display: block; padding: 0 13px; }
.connection-tile > strong { font-size: .8rem; font-weight: 650; }
.connection-tile > span { font-size: .68rem; color: var(--muted); margin-top: 4px; }
.connection-tile > small { font-size: .64rem; color: var(--accent); margin-top: 12px; }
.profile-nav { display: flex; gap: 10px; margin: 18px 0; }
.profile-nav > .button { flex: 1; }
.my-visit-card { border: 1px solid #eadbe0; background: #fff; border-radius: 24px; padding: 26px 22px 10px; text-align: center; margin: 8px 0 22px; }
.my-visit-symbol { width: 70px; height: 70px; padding: 20px; border-radius: 50%; background: var(--rose); color: var(--accent); display: block; margin: 0 auto 20px; }
.my-visit-card > .eyebrow { display: block; font-size: .58rem; margin-bottom: 10px; }
.my-visit-card h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.9rem; }
.visit-visibility { color: var(--success); font-size: .7rem; margin-top: 15px; }
.visit-visibility::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 7px; }
.visit-visibility.is-hidden { color: var(--muted); }
.visit-details { margin: 23px 0 0; }
.visit-details > div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 14px 0; font-size: .74rem; }
.visit-details dt { color: var(--muted); }
.visit-details dd { margin: 0; font-weight: 600; text-align: right; }
.visit-action-list { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; margin-bottom: 20px; }
.visit-action { width: 100%; display: flex; align-items: center; gap: 13px; padding: 18px 17px; min-height: 72px; background: transparent; border: 0; text-align: left; color: var(--ink); }
.visit-action + .visit-action { border-top: 1px solid var(--line); }
.visit-action > .icon { width: 19px; height: 19px; color: #957082; }
.visit-action > span { flex: 1; min-width: 0; }
.visit-action strong { display: block; font-size: .8rem; font-weight: 600; }
.visit-action small { display: block; font-size: .67rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.visit-action > .icon:last-child { width: 15px; height: 15px; color: #a48f9b; }
.visit-action.destructive strong, .visit-action.destructive > .icon:first-child { color: var(--danger); }
.visit-action:hover { background: #faf4f6; }
/* Bottom sheets on phones; dialogs on larger screens. Native dialog traps focus. */
.dialog { border: 1px solid var(--line); border-radius: 26px; padding: 0; width: min(92vw, 560px); max-height: min(88dvh, 900px); overflow: auto; overscroll-behavior: contain; background: #fffdfa; color: var(--ink); box-shadow: 0 25px 100px #26152235; }
.dialog::backdrop { background: #261a2c8a; backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fffdfa; z-index: 5; }
.dialog-head h2 { font-size: 1.35rem; line-height: 1.2; }
.dialog-head > .icon-button { width: 44px; height: 44px; background: #f4edf0; border: 0; }
.dialog-body { padding: 8px 24px 26px; }
.dialog-body > .muted { margin: 16px 0; }
.dialog-body > .button { margin: 8px 0 0; }
.dialog-body .field { margin-top: 18px; }
.dialog-body textarea { min-height: 120px; margin-top: 14px; }
.dialog-actions { display: flex; gap: 10px; padding-top: 12px; }
.dialog-actions .button { flex: 1; }
.legal-text { white-space: pre-wrap; font-size: .85rem; line-height: 1.75; overflow-wrap: anywhere; padding: 16px 0; }
#toast { position: fixed; left: 50%; bottom: max(25px, env(safe-area-inset-bottom)); transform: translate(-50%, 12px); width: max-content; max-width: min(90vw, 480px); border-radius: 15px; background: #372437; color: #fff5ef; padding: 14px 20px; box-shadow: 0 8px 30px #31203126; font-size: .78rem; line-height: 1.5; z-index: 10000; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
#toast.shown { opacity: 1; transform: translate(-50%, 0); }
.user[data-screen=active] #toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
/* Owner workspace */
.owner { background: #f8f6f4; }
.owner #app { display: flex; min-height: 100svh; }
.owner-sidebar { width: 250px; flex-shrink: 0; background: #312333; color: #f4e9ed; padding: 35px 22px 25px; position: sticky; height: 100svh; top: 0; display: flex; flex-direction: column; }
.owner-sidebar .wordmark { display: block; padding: 0 14px; font-size: 1.8rem; }
.sidebar-caption { color: #cfb5c5; text-transform: uppercase; letter-spacing: .14em; font-size: .58rem; padding: 13px 15px 0; }
.owner-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.nav-item { min-height: 46px; border: 0; border-radius: 12px; padding: 12px 15px; color: #d9c7d1; background: transparent; font-size: .79rem; display: flex; align-items: center; gap: 13px; text-align: left; }
.nav-item .icon { width: 18px; height: 18px; color: #b99aac; }
.nav-item:hover { background: #ffffff0a; }
.nav-item.selected { color: #fff5ee; background: #684051; }
.nav-item.selected .icon { color: #ecc5ca; }
.owner-sidebar .logout { color: #d7bdca; margin-top: auto; justify-content: flex-start; padding: 12px 15px; }
.owner-sidebar .logout .icon { width: 17px; height: 17px; }
.owner-menu-toggle { display: none; }
.owner-main { flex: 1; min-width: 0; max-width: 1300px; padding: 42px clamp(24px, 4vw, 64px) 70px; }
.owner-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.owner-page-head .eyebrow { margin-bottom: 13px; color: #8f6d80; font-size: .59rem; }
.owner-page-head h1 { font-size: 2.1rem; }
.owner-description { color: var(--muted); max-width: 670px; font-size: .82rem; margin-top: 12px; line-height: 1.7; }
.owner-secure { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; padding: 7px 11px; border: 1px solid var(--line); background: #fff; border-radius: 30px; font-size: .64rem; color: #806274; }
.owner-secure .icon { width: 14px; height: 14px; }
.settings-form { max-width: 880px; }
.settings-form > .muted { padding: 14px 18px; border-radius: 14px; background: #eee7ed; color: #725b6b; font-size: .76rem; margin-bottom: 22px; border: 1px solid #e5dbe2; }
.settings-group { background: #fff; padding: 26px; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 20px; }
.settings-group h2 { font-size: 1.05rem; margin-bottom: 24px; letter-spacing: -.02em; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 4px; }
.settings-grid .wide { grid-column: 1 / -1; }
.settings-grid .field { margin-bottom: 20px; }
.settings-grid .check { border: 1px solid var(--line); padding: 16px; border-radius: 14px; align-items: flex-start; flex-wrap: wrap; column-gap: 12px; margin-bottom: 16px; }
.settings-grid .check > span:not(.field-help) { flex: 1; font-weight: 600; }
.settings-grid .check .field-help { width: 100%; padding-left: 32px; margin-top: -5px; }
.settings-form .field-label { font-size: .76rem; }
.settings-form .field-help { font-size: .71rem; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 0; position: sticky; bottom: 0; background: #f8f6f4f5; backdrop-filter: blur(14px); z-index: 3; border-top: 1px solid var(--line); margin-top: 8px; }
.form-actions .button { min-height: 48px; font-size: .8rem; }
.settings-section { max-width: 880px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; margin: 24px 0 0; }
.settings-section h2 { font-size: 1.1rem; margin-bottom: 20px; letter-spacing: -.025em; }
.settings-section > .muted { margin: 10px 0; font-size: .78rem; }
.settings-section .button { margin-top: 12px; }
.legal-editor { min-height: 250px; line-height: 1.7; font-size: .83rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.stat > .icon { color: #a27089; width: 20px; height: 20px; margin-bottom: 20px; }
.stat-label { display: block; font-size: .7rem; color: var(--muted); margin-bottom: 7px; }
.stat strong { font-size: 2.15rem; letter-spacing: -.06em; font-weight: 600; }
.owner-list { margin-top: 24px; max-width: 880px; }
.owner-list-row { border: 1px solid var(--line); border-radius: 17px; background: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.owner-list-row strong { font-size: .86rem; }
.owner-list-row p { font-size: .74rem; margin-top: 6px; }
.owner-list-row .inline-actions { margin: 0; flex-shrink: 0; }
.owner-login { width: min(calc(100% - 40px), 420px); align-self: center; margin: 70px auto; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.owner-login .wordmark { color: var(--accent); display: block; margin-bottom: 32px; }
.owner-login .eyebrow { font-size: .59rem; margin-bottom: 12px; }
.owner-login h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 2.5rem; }
.owner-login .intro { font-size: .79rem; margin-bottom: 30px; }
.owner-login form { margin-top: 20px; }
.report-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 16px; }
.report-card h2 { font-size: 1.15rem; text-transform: capitalize; margin-bottom: 10px; }
.report-card .muted { font-size: .73rem; }
.report-details { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; line-height: 1.7; margin: 18px 0; }
.venue-editor { padding-top: 10px; }
.venue-editor .field { margin-bottom: 16px; }
.workspace-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 46px 25px; background: #fff; border: 1px dashed #dacbd4; border-radius: 20px; }
.workspace-empty > .icon { width: 52px; height: 52px; background: var(--rose); padding: 14px; border-radius: 18px; color: var(--accent); margin-bottom: 22px; }
.workspace-empty h2 { font-size: 1.25rem; margin-bottom: 12px; }
.workspace-empty p { max-width: 400px; font-size: .79rem; }
.owner .notice { max-width: 880px; }
/* Responsive refinements */
@media (min-width: 900px) {
  .onboarding-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: clamp(60px, 8vw, 130px); align-items: center; margin-top: 50px; margin-bottom: 40px; }
  .onboarding-story { text-align: left; margin: 0; }
  .onboarding-story > .eyebrow { font-size: .62rem; margin-bottom: 25px; }
  .story-title { font-size: clamp(3.5rem, 4.8vw, 4.4rem); }
  .onboarding-story > .intro { display: block; font-size: .94rem; max-width: 390px; margin-top: 25px; }
  .story-art { width: 360px; height: 260px; margin: 32px 0 20px; }
  .story-card { width: 170px; height: 220px; border-radius: 25px; padding: 22px; }
  .story-card.first { left: 28px; top: 15px; }
  .story-card.second { right: 18px; top: 0; }
  .story-card .icon { width: 48px; height: 48px; stroke-width: 1; }
  .story-card span { font-size: .75rem; }
  .story-card::after { width: 190px; height: 190px; }
  .story-join { width: 46px; height: 46px; top: 97px; left: 167px; }
  .story-note { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: var(--muted); }
  .story-note .icon { width: 14px; height: 14px; }
  .onboarding-panel { width: 100%; padding: 34px; }
  .registration-form h2 { font-size: 1.7rem; }
  .message-main { margin-top: 55px; }
  .active-main { margin-top: 24px; }
  .photo-stage { height: 375px; }
  .bottom-nav { left: 50%; transform: translateX(-50%); width: 460px; border: 1px solid var(--line); border-radius: 25px 25px 0 0; padding-bottom: 13px; }
}
@media (max-width: 899px) {
  .onboarding-main[data-step="2"] .onboarding-story, .onboarding-main[data-step="3"] .onboarding-story { display: none; }
  .onboarding-main[data-step="2"], .onboarding-main[data-step="3"] { margin-top: 12px; }
  .owner #app { flex-direction: column; }
  .owner-sidebar { position: static; height: auto; width: 100%; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 0; }
  .owner-sidebar .wordmark { font-size: 2rem; padding-left: 0; }
  .sidebar-caption { padding: 10px 0 0; grid-column: 1; font-size: .55rem; }
  .owner-menu-toggle { display: inline-flex; grid-column: 2; grid-row: 1 / 3; align-self: center; background: #ffffff0e; color: white; border-color: #ffffff25; }
  .owner-nav { display: none; grid-column: 1 / -1; margin-top: 22px; grid-template-columns: 1fr 1fr; }
  .owner-sidebar.menu-open .owner-nav { display: grid; }
  .owner-sidebar .logout { display: none; margin: 15px 0 0; padding-left: 0; grid-column: 1 / -1; }
  .owner-sidebar.menu-open .logout { display: flex; }
  .owner-main { padding: 28px 22px 55px; }
  .owner-page-head h1 { font-size: 1.85rem; }
  .owner-secure { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .user-header { height: 66px; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .wordmark { font-size: 1.8rem; }
  .brand-promise { font-size: .62rem; gap: 5px; }
  .brand-promise .icon { width: 12px; height: 12px; }
  .user-header { gap: 10px; }
  .user-header > .icon-button { width: 44px; height: 44px; }
  .onboarding-main { margin-top: 18px; }
  .onboarding-story { margin-bottom: 22px; }
  .onboarding-panel { padding: 22px; }
  .message-main { margin-top: 24px; }
  .message-main h1 { font-size: 2.2rem; }
  .dialog { margin: auto 0 0; width: 100%; max-width: none; max-height: 88dvh; border-radius: 26px 26px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .dialog-head { padding: 18px 22px 14px; }
  .dialog-body { padding: 6px 22px 24px; }
  .dialog-head::before { content: ''; position: absolute; width: 35px; height: 4px; border-radius: 4px; background: #d7c8d1; top: 7px; left: calc(50% - 17px); }
  .dialog-head h2 { font-size: 1.25rem; }
  .settings-grid { grid-template-columns: 1fr; }
  .settings-group { padding: 22px 18px 6px; border-radius: 18px; }
  .settings-section { padding: 22px 18px; }
  .owner-description { font-size: .76rem; }
  .owner-list-row { align-items: flex-start; flex-direction: column; gap: 13px; }
  .form-actions { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .form-actions .button { font-size: .74rem; padding-left: 15px; padding-right: 15px; }
  .stat { padding: 18px; }
}
@media (max-width: 360px) {
  .user-main { width: calc(100% - 28px); }
  .user-header { padding-left: 16px; padding-right: 12px; }
  .onboarding-main { width: calc(100% - 28px); }
  .story-title { font-size: 1.95rem; }
  .story-art { height: 135px; transform: scale(.9); transform-origin: top center; margin-bottom: -5px; }
  .onboarding-panel { padding: 19px; }
  .venue-title { font-size: 1.55rem; }
  .pill { font-size: .57rem; padding: 7px; }
  .countdown > .icon { display: none; }
  .interest-button { font-size: .75rem; padding: 12px; }
  .deck-actions { gap: 8px; }
  .deck-direction { width: 46px; height: 48px; }
  .segment { padding-left: 14px; padding-right: 14px; }
  .dialog-head, .dialog-body { padding-left: 18px; padding-right: 18px; }
  .owner-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .button, .icon-button, .segment, .bottom-nav-item, .profile-state { border: 1px solid ButtonText; }
  .photo-cover, .connection-art, .tile-art { background: Canvas; color: CanvasText; }
  .cover-label, .photo-privacy { color: CanvasText; }
  .selected { outline: 2px solid Highlight; }
}

/* The reveal is the primary action for a mutual connection; withdrawal lives in its menu. */
.deck-actions .hold-button { width: auto; flex: 1; min-width: 0; border-radius: 30px; padding-left: 12px; padding-right: 12px; }
@media (max-height: 740px) and (max-width: 899px) {
  .user[data-screen=active] .user-header { height: 58px; }
  .active-main { margin-top: 6px; }
  .photo-stage { min-height: 210px; height: 210px; }
  .cover-title { font-size: 1.8rem; }
  .cover-label { font-size: .63rem; line-height: 1.35; max-width: 95%; }
  .photo-privacy { margin-top: 7px; }
  .art-seed { width: 64px; height: 82px; top: 39px; left: calc(50% - 57px); }
  .art-seed.two { width: 64px; height: 85px; top: 34px; }
  .art-spark { top: 44px; }
  .profile-meta { padding-top: 10px; padding-bottom: 10px; }
  .deck-hint { margin-top: 5px; }
}

/* Long opaque references must not widen a mobile report card. */
.record-reference { overflow-wrap: anywhere; word-break: break-word; }

/* Activity map: no external library, fonts, profile images or inline-style rules. */
.map-preview-main { width: min(calc(100% - 32px), 560px); margin-top: 15px; }
.map-preview-main > h1 { font: 400 2.1rem/1.12 Georgia, serif; letter-spacing: -.035em; }
.map-preview-main > .button { margin-top: 20px; }
.active-main[data-tab="map"] { width: min(calc(100% - 28px), 560px); }
.active-main[data-tab="map"] .venue-title { font-size: 1.9rem; }
.activity-map-view { min-width: 0; width: 100%; margin-top: 14px; }
.map-heading-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 12px; }
.map-heading-bar .eyebrow { display: block; font-size: .58rem; margin: 0 0 5px; letter-spacing: .13em; }
.map-heading-bar .compact { min-height: 44px; padding: 9px 12px; font-size: .72rem; flex-shrink: 0; border-radius: 14px; }
.map-status { margin: 0; font-size: .8rem; line-height: 1.4; color: var(--ink); }
.activity-map-stage { height: clamp(320px, 51dvh, 510px); position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #edece6; box-shadow: 0 16px 42px #321d3020; }
.map-placeholder { height: 100%; min-height: 200px; display: grid; place-items: center; padding: 36px; text-align: center; font-size: .9rem; color: #796d76; background: linear-gradient(155deg, #eeede6, #e4e8e3); }
.activity-map-canvas, .map-viewport { width: 100%; height: 100%; position: relative; overflow: hidden; }
.activity-map-canvas { isolation: isolate; }
.map-viewport { touch-action: none; cursor: grab; outline-offset: -4px; background: #ebece6; }
.map-viewport.is-dragging { cursor: grabbing; }
.map-tiles, .map-markers { position: absolute; inset: 0; pointer-events: none; }
.map-tile { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; pointer-events: none; }
.map-markers { z-index: 3; }
.activity-dot { position: absolute; top: 0; left: 0; padding: 0; width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; cursor: pointer; pointer-events: auto; }
.activity-dot-core { width: 17px; height: 17px; display: block; border: 3px solid #fffdfa; border-radius: 50%; background: #a64470; box-shadow: 0 0 0 7px #a6447029, 0 3px 10px #33203550; transition: transform .15s; }
.activity-dot:hover .activity-dot-core, .activity-dot.selected .activity-dot-core { transform: scale(1.18); background: #4b2342; }
.activity-dot:focus-visible { outline: 3px solid #40213b; outline-offset: 0; background: #ffffff99; }
.map-area-ring { position: absolute; top: 0; left: 0; z-index: 2; border: 2px solid #a64470b0; border-radius: 50%; background: #b15e8524; pointer-events: none; }
.map-controls { position: absolute; top: 14px; right: 12px; z-index: 4; display: grid; gap: 6px; }
.map-control { display: grid; place-items: center; padding: 0; width: 44px; height: 44px; background: #fffdfbf5; border: 1px solid #d9d3d5; border-radius: 14px; color: #48233e; box-shadow: 0 3px 10px #261e3217; cursor: pointer; }
.map-control:disabled { opacity: .45; cursor: default; }
.map-control .icon { width: 21px; height: 21px; }
.map-attribution { position: absolute; bottom: 0; right: 0; left: 0; z-index: 4; min-height: 25px; padding: 5px 12px; background: #fffdfbf2; color: #51454e; font-size: .64rem; text-align: right; text-decoration: underline; line-height: 1.4; }
.map-legend { display: flex; align-items: center; gap: 8px; font-size: .7rem; color: var(--muted); padding: 12px 8px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: #a64470; box-shadow: 0 0 0 3px #a6447020; }
.map-area-detail { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: #fffdfa; }
.map-area-detail strong { font-size: .95rem; font-weight: 600; }
.map-area-detail p { color: var(--muted); font-size: .78rem; line-height: 1.45; margin: 4px 0 0; }
.map-detail-symbol { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; background: #f3e5eb; color: #914061; border-radius: 13px; }
.map-footnote { color: var(--muted); font-size: .7rem; line-height: 1.5; text-align: center; padding: 0 8px; margin: 12px 0 0; }
.map-tile-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; font-size: .78rem; color: #755839; padding: 4px 8px 12px; }
.map-tile-notice .text-button { min-height: 35px; padding: 0 5px; }
.map-sharing-control { border: 1px solid var(--line); border-radius: 18px; padding: 15px; background: white; margin: 14px 0; }
.bottom-nav-item { padding-left: 6px; padding-right: 6px; }
@media (max-width: 360px) { .map-heading-bar { gap: 6px; } .map-heading-bar .compact { font-size: .66rem; padding: 8px; } .map-heading-bar .eyebrow { font-size: .54rem; } .map-status { font-size: .73rem; } .activity-map-stage { border-radius: 21px; } .bottom-nav-item { font-size: .61rem; } }
@media (max-height: 700px) { .activity-map-stage { height: 320px; } }
@media (prefers-reduced-motion: reduce) { .activity-dot-core { transition: none; } }

@media (max-width: 380px) { .user-header .brand-promise { display: none; } }

/* Matched photos stay visible only inside the fixed, server-authorized window. */
.match-countdown { font-variant-numeric: tabular-nums; }
.match-photo-resume { font-size: .8rem; }
.matched-photo-stage .cover-title { white-space: pre-line; }
.connection-time { font-variant-numeric: tabular-nums; }

/* The email-to-app handoff: one action per screen, no artificial inbox shortcuts. */
.email-message, .confirmation-message { max-width:440px; }
.email-illustration { width:136px; height:136px; margin-bottom:24px; }
.email-illustration > .icon { width:42px; height:42px; padding:22px; }
.email-illustration .moment-orbit { width:112px; height:112px; }
.email-illustration .moment-orbit.second { width:136px; height:136px; }
.email-message > .intro, .confirmation-message > .intro { margin-bottom:20px; }
.email-destination { display:flex; align-items:center; justify-content:center; gap:9px; font-size:.84rem; font-weight:650; margin:0 auto 22px; color:var(--plum); }
.email-destination .icon { width:17px; height:17px; }
.email-destination span { overflow-wrap:anywhere; min-width:0; }
.inbox-preview { text-align:left; padding:22px; border:1px solid var(--line); border-top:4px solid var(--accent); background:white; border-radius:18px; box-shadow:var(--shadow); margin:0 0 18px; }
.inbox-preview .eyebrow { font-size:.59rem; margin-bottom:10px; }
.inbox-subject { display:block; font-size:.95rem; line-height:1.5; letter-spacing:-.02em; overflow-wrap:anywhere; }
.inbox-preview > .muted { margin-top:9px; font-size:.8rem; }
.email-message .delivery-status { font-size:.77rem; padding:14px 16px; line-height:1.6; }
.delivery-status[data-state=error], .delivery-status[data-state=failed], .delivery-status[data-state=expired] { background:#fff1f1; color:var(--danger); }
.delivery-status[data-state=confirmed] { background:#ecf0e9; color:var(--success); }
.email-message .email-expiry { font-size:.72rem; margin:16px 4px; }
.email-help { text-align:left; padding:16px 18px; background:transparent; }
.email-help > summary { font-size:.8rem; }
.email-help .text-button { margin-top:5px; }
.confirmation-panel { padding:24px; background:white; border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); text-align:left; }
.confirmation-prompt { font-size:.94rem; font-weight:650; margin-bottom:8px; }
.confirmation-panel > .muted { font-size:.81rem; margin-bottom:22px; }
.confirmation-panel .button { width:100%; min-height:56px; }
.confirmation-panel .form-footnote { line-height:1.6; }
@media (max-height:740px) {
  .email-message, .confirmation-message { margin-top:14px; }
  .email-illustration { width:110px; height:110px; margin-bottom:18px; }
  .email-illustration .moment-orbit { width:90px; height:90px; }
  .email-illustration .moment-orbit.second { width:110px; height:110px; }
  .email-illustration > .icon { width:34px; height:34px; padding:18px; }
}

/* Public landing: one real email form, always in reach. Scoped away from the app/owner. */
html.landing-document { scroll-padding-top: 96px; scroll-padding-bottom: calc(var(--landing-entry-height, 190px) + 24px); }
.landing-open .user-header { position: sticky; top: 0; z-index: 25; background: var(--paper); border-bottom: 1px solid #e9e0e180; }
.landing-open .onboarding-main { display: block; width: min(calc(100% - 40px), 1160px); margin: 0 auto; }
.onboarding-main:not([data-step="1"]) { display: block; max-width: 480px; }
.landing-story { min-width: 0; }
.landing-hero { padding: 36px 0 32px; }
.landing-hero > .eyebrow { font-size: .62rem; }
.landing-title { max-width: 610px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 9.7vw, 4.6rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.03; }
.landing-title em { display: block; color: var(--accent); font-weight: 400; }
.landing-lead { max-width: 490px; margin: 23px 0 20px; font-size: .96rem; line-height: 1.8; color: var(--muted); }
.landing-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.landing-tags span { border: 1px solid var(--line); border-radius: 40px; padding: 6px 11px; font-size: .65rem; color: var(--muted); }
.landing-art { position: relative; height: 235px; width: min(100%, 340px); margin: 28px auto 2px; }
.landing-art-card { position: absolute; width: 145px; height: 187px; border-radius: 22px; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden; box-shadow: 0 22px 35px #4b21351a; }
.landing-art-card::before { content: ''; position: absolute; width: 190px; height: 190px; border: 1px solid #ffffff33; top: -67px; left: -29px; border-radius: 50%; }
.landing-art-card > .icon { height: 48px; width: 48px; margin: auto; stroke-width: 1; }
.landing-art-card > span { font-size: .66rem; }
.landing-art-card.first { color: #f9ece5; background: linear-gradient(140deg, #a65470, #4c2e43); left: calc(50% - 139px); top: 20px; transform: rotate(-10deg); }
.landing-art-card.second { color: #754759; background: linear-gradient(140deg, #efcec9, #f5e6d8); right: calc(50% - 139px); top: 12px; transform: rotate(10deg); }
.landing-art-card.second::before { border-color: #ad718144; }
.landing-art-seal { position: absolute; width: 44px; height: 44px; top: 96px; left: calc(50% - 22px); background: var(--paper); color: var(--accent); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 3px 14px #472c3d15; }
.landing-scroll { gap: 12px; margin-top: 10px; }
.landing-section { padding: 42px 0; border-top: 1px solid var(--line); scroll-margin-top: 0; }
.landing-section h2, .landing-outro h2 { font-size: clamp(1.7rem, 4.5vw, 2.35rem); font-weight: 550; letter-spacing: -.04em; line-height: 1.18; }
.landing-copy { font-size: .9rem; line-height: 1.85; color: var(--muted); margin-top: 20px; }
.landing-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 26px; }
.landing-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.landing-step-number { color: var(--accent); font-size: .72rem; font-weight: 650; border-top: 1px solid #cba4b1; padding-top: 7px; }
.landing-steps h3 { font-size: 1.06rem; margin: 3px 0 8px; }
.landing-steps p { font-size: .85rem; color: var(--muted); line-height: 1.8; }
.landing-map-card { margin-top: 28px; border-radius: 22px; background: #f1e9e5; overflow: hidden; }
.landing-map-art { height: 142px; position: relative; overflow: hidden; background: #f0e5df; }
.landing-map-line { position: absolute; border: 12px solid #faf5ee; width: 125%; height: 90px; border-radius: 80px; left: -20%; top: 20px; transform: rotate(-19deg); }
.landing-map-line.two { left: 20%; top: 20px; height: 190px; width: 70%; transform: rotate(32deg); }
.landing-map-line.three { border-width: 6px; left: -30%; top: -26px; width: 90%; height: 260px; transform: rotate(20deg); }
.landing-map-dot { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 10px #ad3e5d15; left: 24%; top: 40px; }
.landing-map-dot.two { left: 64%; top: 80px; }
.landing-map-dot.three { left: 83%; top: 33px; }
.landing-map-copy { padding: 22px; background: #fffaf6; }
.landing-map-copy h3 { font-size: 1.07rem; margin-bottom: 8px; }
.landing-map-copy p { font-size: .83rem; color: var(--muted); line-height: 1.8; }
.landing-boundaries { border: 0; background: var(--plum); color: #fbf2ed; border-radius: 24px; padding: 30px 24px; margin: 16px 0 42px; }
.landing-boundaries .eyebrow { color: #efbdcd; }
.landing-boundary { display: flex; gap: 17px; padding-top: 26px; }
.landing-boundary > .icon { color: #e9b4c7; width: 23px; height: 23px; margin-top: 3px; }
.landing-boundary h3 { margin-bottom: 7px; font-size: .95rem; }
.landing-boundary p { color: #ead8e2; font-size: .8rem; line-height: 1.8; }
.landing-faq { padding-top: 4px; border: 0; }
.landing-faq h2 { margin-bottom: 24px; }
.landing-question { border-bottom: 1px solid var(--line); padding: 0; }
.landing-question summary { cursor: pointer; padding: 19px 20px 19px 0; min-height: 56px; font-size: .88rem; font-weight: 600; line-height: 1.55; }
.landing-question p { padding: 0 5px 24px 0; color: var(--muted); font-size: .84rem; line-height: 1.85; }
.landing-outro { padding: 22px 0 32px; }
.landing-outro h2 { max-width: 400px; margin-bottom: 22px; }
.landing-open .user-footer { padding-bottom: calc(var(--landing-entry-height, 190px) + 28px); }
.onboarding-panel.landing-entry { position: fixed; z-index: 40; bottom: var(--landing-keyboard, 0px); left: 0; right: 0; margin: 0; width: 100%; max-width: none; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 30px #472c3d0c; padding: 14px max(20px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); background: #fffdfb; max-height: calc(var(--landing-view-height, 100dvh) - 12px); overflow-y: auto; overscroll-behavior: contain; }
.landing-entry .registration-form { width: min(100%, 700px); margin: auto; }
.landing-entry .registration-form h2 { font-size: 1.08rem; line-height: 1.25; }
.landing-entry .entry-eyebrow, .landing-entry .entry-intro { display: none; }
.landing-entry .entry-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 10px; }
.landing-entry .field { margin: 0; gap: 4px; }
.landing-entry .field-label { font-size: .67rem; font-weight: 600; }
.landing-entry input { min-height: 48px; height: 48px; padding: 10px 12px; }
.landing-entry .entry-fields .button { min-height: 48px; padding: 10px 14px; border-radius: 12px; gap: 7px; font-size: .78rem; }
.landing-entry .entry-fields .button .icon { height: 17px; width: 17px; }
.landing-entry .entry-note { margin-top: 8px; font-size: .65rem; justify-content: flex-start; text-align: left; }
.landing-entry.landing-paused h1 { font-size: 1.3rem; }
.landing-entry.landing-paused .intro { margin: 8px 0 14px; font-size: .8rem; }
.landing-entry[data-compact="true"] .entry-note, .landing-entry[data-compact="true"] .registration-form h2 { display: none; }
.landing-entry[data-compact="true"] .entry-fields { margin-top: 0; }
@media (min-width: 960px) and (min-height: 620px) {
  html.landing-document { scroll-padding-bottom: 24px; }
  .landing-open .onboarding-main { padding-right: 450px; }
  .landing-hero { padding-top: 48px; padding-bottom: 48px; }
  .landing-art { margin-left: 10px; height: 260px; }
  .landing-title { font-size: clamp(3.8rem, 5.6vw, 5rem); }
  .landing-section { padding-top: 54px; padding-bottom: 54px; }
  .landing-boundaries { padding: 36px; }
  .landing-faq { padding-top: 10px; }
  .onboarding-panel.landing-entry { top: 140px; bottom: auto; left: auto; right: max(20px, calc((100vw - 1160px) / 2)); width: 388px; max-height: calc(var(--landing-view-height, 100dvh) - 164px); padding: 32px; border-radius: 24px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 60px #472c3d0b; }
  .landing-entry .registration-form h2 { font-size: 1.9rem; }
  .landing-entry .entry-eyebrow { display: block; font-size: .62rem; }
  .landing-entry .entry-intro { display: block; margin: 14px 0 26px; font-size: .87rem; }
  .landing-entry .entry-fields { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .landing-entry .field-label { font-size: .8rem; }
  .landing-entry input, .landing-entry .entry-fields .button { min-height: 54px; }
  .landing-entry .entry-fields .button { font-size: .9rem; }
  .landing-entry .entry-note { text-align: center; justify-content: center; font-size: .72rem; margin-top: 18px; }
  .landing-open .user-footer { justify-content: flex-start; width: min(calc(100% - 40px), 1160px); margin: auto; padding: 20px 450px 36px 0; }
}
@media (min-width: 600px) and (max-width: 959px), (min-width: 960px) and (max-height: 619px) {
  .landing-story { max-width: 660px; margin: auto; }
  .landing-hero { padding-top: 40px; }
}
@media (max-width: 360px) {
  .landing-open .onboarding-main { width: calc(100% - 32px); }
  .landing-hero { padding-top: 25px; }
  .landing-title { font-size: 2.65rem; }
  .landing-entry .entry-fields .button .icon { display: none; }
  .landing-entry .entry-fields .button { padding: 10px 12px; }
  .landing-art { height: 210px; transform: scale(.9); transform-origin: center top; margin-bottom: -10px; }
}
@media (forced-colors: active) {
  .landing-entry, .landing-boundaries, .landing-art-card { border: 1px solid CanvasText; }
  .landing-boundaries, .landing-boundary p, .landing-boundaries .eyebrow { color: CanvasText; }
}

/* Legal documents: identical readable typography in a modal, owner preview or
   direct server-rendered page. No remote fonts, scripts, tracking or HTML input. */
.legal-prose {max-width: 72ch; overflow-wrap: anywhere; color: var(--ink);}
.legal-prose h2 {font-size: 1.15rem; line-height: 1.4; margin: 2rem 0 .8rem; letter-spacing: -.025em;}
.legal-prose h2:first-child {margin-top: 1rem;}
.legal-prose p {line-height: 1.75; margin: 0 0 1.1rem; white-space: pre-line;}
.legal-prose ul {line-height: 1.75; padding-left: 1.35rem; margin: .7rem 0 1.2rem;}
.legal-prose li + li {margin-top: .35rem;}
.legal-meta {display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; margin: .6rem 0 1.3rem;}
.legal-page-header {max-width: 1120px; margin: auto; padding: 1.4rem max(20px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 16px;}
.legal-page-header .wordmark {color: var(--ink); text-decoration: none;}
.legal-page {max-width: 880px; margin: 1rem auto 0; padding: 0 max(24px, env(safe-area-inset-left)) 3rem;}
.legal-page h1 {font-size: clamp(2.2rem, 6vw, 3.6rem);}
.legal-page .legal-prose {padding: 1rem 0;}
.legal-nav {display: flex; flex-wrap: wrap; gap: 6px 20px; border-block: 1px solid var(--line); padding: .8rem 0; margin: 1.4rem 0;}
.legal-nav a {min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .9rem; text-decoration: none;}
.legal-nav a[aria-current] {color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .3em;}
.legal-page-footer {margin-top: 2rem; padding-bottom: env(safe-area-inset-bottom);}
.legal-page-footer > a {color: var(--ink); font-size: .85rem;}
.legal-owner-summary {margin-bottom: 1rem;}
.legal-owner-summary .disclosure {margin-block: .7rem;}
.legal-owner-summary ul {font-size: .85rem; line-height: 1.8; padding-left: 1.3rem;}
.legal-version {font-size: .75rem; overflow-wrap: anywhere; color: var(--muted);}
.legal-owner-tabs {display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1.4rem;}
.legal-owner-tab {min-height: 46px; padding: .6rem .95rem; border-radius: 10px; border: 0; background: transparent; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer;}
.legal-owner-tab[aria-selected=true] {background: var(--ink); color: white;}
.legal-preview {align-self: flex-start; margin-top: .6rem;}
.legal-editor {min-height: 12rem; line-height: 1.65;}
textarea[name=imprint_text], textarea[name=privacy_text], textarea[name=terms_text] {min-height: 26rem;}
textarea[name=operator_address] {min-height: 7rem;}
.legal-document .legal-page {padding-bottom: max(32px, env(safe-area-inset-bottom));}
@media (max-width: 560px) {
  .legal-page-header {padding-block: 1rem;}
  .legal-page-header .button {padding-inline: 14px; min-height: 44px;}
  .legal-page {margin-top: .6rem;}
  .legal-prose p, .legal-prose li {font-size: .92rem;}
  .legal-owner-tab {padding-inline: .7rem; font-size: .82rem;}
  textarea[name=imprint_text], textarea[name=privacy_text], textarea[name=terms_text] {min-height: 22rem;}
}
@media print {
  .legal-page-header .button, .legal-nav, .legal-page-footer, .skip-link {display: none;}
  .legal-page, .legal-page-header {max-width: none; padding: 0;}
  .legal-prose h2 {break-after: avoid;}
  .legal-prose p {orphans: 3; widows: 3;}
  .legal-prose {max-width: none;}
}

/* Consent: neutral, equal-weight decisions. No cookie wall, no marketing toggles. */
.consent-banner{position:fixed;z-index:160;top:84px;right:20px;width:min(430px,calc(100vw - 32px));background:var(--paper,#faf7f3);color:#302331;border:1px solid #d9ced5;border-radius:16px;padding:22px;box-shadow:0 10px 44px #25102524;max-height:calc(100dvh - 320px);overflow:auto;scrollbar-gutter:stable;}
.consent-banner h2{font-size:21px;line-height:1.2;margin:0 24px 12px 0;}
.consent-banner p{font-size:14px;line-height:1.5;margin:0 0 16px;}
.consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;}
.button.consent-choice{background:#f5eef2;color:#382337;border:1px solid #ac8b9e;box-shadow:none;min-height:46px;padding:10px 8px;font-size:14px;font-weight:650;white-space:normal;line-height:1.25;}
.button.consent-choice:hover{background:#ebdfe6;border-color:#715265;}
.consent-close{position:absolute;right:8px;top:7px;width:36px;height:36px;border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer;}
.consent-close:focus-visible{outline:2px solid #82425e;outline-offset:-4px;}
.consent-links{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;margin-top:12px;}
.consent-links a{text-decoration:underline;color:#624258;}
.consent-settings-link{font-weight:600;font-size:14px;}
.consent-details{font-size:15px;line-height:1.6;}
.consent-service{border:1px solid #e2d6dd;border-radius:10px;padding:16px;margin:14px 0;}
.consent-service h3{font-size:17px;margin:0 0 8px;}
.consent-service p{margin:8px 0 0;overflow-wrap:anywhere;}
.consent-necessary{display:inline-block;background:#f0e7ec;border-radius:4px;padding:2px 8px;font-size:12px;}
.consent-dialog{max-width:600px;}
.map-consent-gate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;height:100%;min-height:300px;padding:28px;text-align:center;background:#f4eef2;}
.map-consent-gate h2{font-size:24px;}.map-consent-gate p{max-width:28ch;}
.turnstile-frame{display:block;width:100%;height:100px;min-width:220px;border:0;margin:18px 0;background:#faf7f3;}
body.turnstile-host{margin:0;padding:10px 0;min-height:0;background:#faf7f3;}
.turnstile-host #challenge{min-height:65px;}
@media(max-width:560px){.consent-banner{top:72px;right:16px;padding:18px;max-height:calc(100dvh - 300px);border-radius:14px;}.consent-banner h2{font-size:20px;}.consent-banner p{font-size:13px;margin-bottom:10px;}.consent-actions{gap:8px;}.button.consent-choice{font-size:13px;}.consent-links{font-size:12px;gap:14px;}}
@media(max-height:600px){.consent-banner{top:12px;max-height:calc(100dvh - 150px);}.consent-banner h2{font-size:18px;}}

/* Per-visit intentions: actual native radio groups, not clickable decorative cards. */
.preference-chooser { display: grid; gap: 18px; min-width: 0; margin: 6px 0 22px; }
.intention-options, .gender-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.intention-options legend, .gender-choice legend { padding: 0 0 12px; font-weight: 650; }
.intention-option, .gender-option { display: block; position: relative; cursor: pointer; }
.intention-option + .intention-option { margin-top: 10px; }
.intention-option > input, .gender-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.intention-content { display: flex; align-items: center; gap: 14px; padding: 18px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); min-height: 94px; }
.intention-content > .icon { color: var(--accent); width: 24px; height: 24px; }
.intention-content > span { flex: 1; min-width: 0; }
.intention-content strong, .intention-content small { display: block; }
.intention-content strong { font-size: .9rem; font-weight: 650; line-height: 1.4; }
.intention-content small { font-size: .76rem; color: var(--muted); line-height: 1.55; margin-top: 4px; }
.intention-content .selection-mark { width: 18px; opacity: 0; }
.intention-option input:checked + .intention-content { border-color: var(--accent); background: var(--rose); box-shadow: inset 0 0 0 1px var(--accent); }
.intention-option input:checked + .intention-content .selection-mark { opacity: 1; }
.intention-option input:focus-visible + .intention-content, .gender-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.romance-fields { display: grid; gap: 22px; padding: 22px 18px; background: #fffaf8; border: 1px solid var(--line); border-radius: 18px; }
.gender-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gender-option span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .85rem; }
.gender-option input:checked + span { border-color: var(--accent); background: var(--rose); color: var(--accent-dark); font-weight: 650; }
.preference-feedback { font-size: .8rem; line-height: 1.6; color: var(--muted); }
.preference-feedback:empty { display: none; }
.romance-notice { display: block; line-height: 1.6; }
.intention-summary { align-items: flex-start; font-size: .8rem; }
.intention-summary > p { flex: 1; }
@media (max-width: 360px) { .intention-content { padding: 15px 12px; gap: 10px; } .romance-fields { padding: 16px 12px; } }

/* Forward-only discovery. Dragging is independent of the photograph hold. */
.profile-card {transition: transform 140ms ease-out, opacity 140ms ease-out; touch-action: pan-y pinch-zoom;}
.profile-card.is-swiping {transition: none; user-select: none;}
.profile-card.is-saving {cursor: progress;}
.profile-card.is-advancing {transform: translateX(calc(var(--exit-direction, -1) * 110px)) rotate(calc(var(--exit-direction, -1) * 5deg)); opacity: 0;}
.deck-actions.forward-only {grid-template-columns: minmax(0, 1fr) 50px;}
.swipe-guidance {text-align: center; color: var(--muted); font-size: .75rem; line-height: 1.5; margin: .4rem 0 .8rem;}
.segmented-control .segment {white-space: nowrap;}
@media (max-width: 360px) {.segmented-control .segment {padding-inline: 9px; font-size: .75rem;}}
@media (prefers-reduced-motion: reduce) {.profile-card {transition: none;}}

/* A quick tap after swiping must activate filters, not browser double-tap zoom. */
.segment, .deck-direction, .bottom-nav-item {touch-action: manipulation;}

/* Anonymous waiting: one retry action, never an accessible pending list. */
.choice-recovery {padding: 1rem; border: 1px solid var(--line, #ddd); margin-block: .75rem; border-radius: 16px;}
.choice-recovery p {margin: 0 0 .75rem; font-size: .9rem;}
.connection-badge {font-size: .7rem; line-height: 1.2; border-radius: 1rem; padding: .15rem .4rem; background: var(--ink, #32202d); color: white;}

/* Guided geolocation recovery: local, accessible and safe-area aware. */
.location-dialog {max-width: 520px;}
.location-dialog .dialog-head {align-items: flex-start;}
.location-dialog .dialog-head h2 {font-size: clamp(1.35rem, 4.8vw, 1.65rem); line-height: 1.2;}
.location-recovery {display: grid; gap: 15px;}
.location-recovery .intro, .location-recovery p {margin: 0;}
.location-recovery-symbol {display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: var(--rose-soft, #f7e7e9); color: var(--plum, #392634);}
.location-recovery-symbol .icon {width: 26px; height: 26px;}
.location-check-status {font-size: .88rem; line-height: 1.45; color: var(--muted, #756b73);}
.location-steps {list-style: decimal; margin: 0; padding-left: 24px; display: grid; gap: 12px; font-size: .9rem; line-height: 1.5;}
.location-steps li::marker {font-weight: 700; color: var(--plum, #392634);}
.location-recovery select {width: 100%; min-width: 0;}
.location-notice {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--rose-soft, #f7e7e9); border-radius: 14px; margin: 8px 0 16px;}
.location-notice p {margin: 0; font-size: .9rem; line-height: 1.45;}
.location-notice .button {flex-shrink: 0;}
.location-notice[hidden], .location-recovery [hidden] {display: none !important;}
@media (max-width: 420px) {
  .location-notice {align-items: stretch; flex-direction: column;}
  .location-notice .button {width: 100%;}
  .location-recovery {gap: 12px;}
  .location-steps {font-size: .86rem;}
}
