/* One ADM: the pearl front door extends into Dating and Somewhere to Date. */
:root{color-scheme:light;--ink:#fcfbff;--surface:#fff;--surface2:#eef0ff;--line:#dcdceb;--border:#dcdceb;--white:#0b1237;--muted:#62637c;--purple:#6043cb;--blue:#2459db;--coral:#c72f78;--accent:#5135c1;--accent-soft:#eeedff;--grad:linear-gradient(110deg,#1750e8,#7135e2)}
body,body.is-member{color:#0b1237;background:radial-gradient(ellipse at 5% 15%,#edf6ff 0,transparent 55%),radial-gradient(ellipse at 100% 70%,#f9f0ff 0,transparent 60%),#fcfbff}
body[data-area="places"]{--accent:#ac256e;--accent-soft:#fff0f5;--grad:linear-gradient(110deg,#d63271,#b7219b);background:radial-gradient(ellipse at 95% 10%,#ffedf4 0,transparent 52%),radial-gradient(ellipse at 0% 75%,#eff5ff 0,transparent 60%),#fcfbff}
body:not([data-area="home"]) .serif{font-family:'DM Sans',sans-serif;font-weight:800;letter-spacing:-.04em;line-height:1.13}
body:not([data-area="home"]) h1{font-weight:900;letter-spacing:-.045em}
.topbar{background:#fcfbfff5;border-bottom:1px solid #e4e2ef;box-shadow:0 2px 18px #30376b05}
.topbar .brand-logo{width:88px;height:49px;max-width:none;object-fit:contain}
.header-home{gap:15px;flex-wrap:nowrap;min-width:0}
.home-return{display:inline-flex;align-items:center;min-height:44px;color:#5e5c77;font-weight:600}
.home-return:hover{color:var(--accent)}
.area-caption{display:inline-block;color:var(--accent);background:var(--accent-soft);border:1px solid var(--line);border-radius:30px;padding:5px 10px;letter-spacing:0;font-weight:700;font-size:11px;white-space:nowrap}
.area-caption:empty{display:none}
nav button{color:var(--muted)}
nav button.active,nav button:hover,#nav.signed-in button.active{color:var(--accent);background:var(--accent-soft);box-shadow:none}
#nav .likes-badge{border-color:#fff}
.eyebrow{color:var(--accent)}
.button,.button.secondary,.icon-button{background:#fff;color:#182047;border-color:#d2d3e3;box-shadow:0 2px 6px #333d6605}
.button.primary{color:#fff;background:var(--grad);box-shadow:0 5px 16px #6944cf20}
.button:hover,.decision:hover{filter:brightness(.98)}
.button.danger{color:#ab2142;border-color:#e3aaba;background:#fff4f6}
.link-button,.back-link,.welcome-how,.founder-signature,.identity-panel a,.install-guide a,.notification-setup a{color:var(--accent)}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.panel,.card,.sidebox,.empty,.match-row,.like-card,.spot-card,.campaign-card,.welcome-step-grid article,.settings-group,.hub-link,.profile-section,.profile-form>.profile-section,.interests-picker,.conversation{background:#fff;border-color:var(--line);box-shadow:0 6px 22px #3a39720a}
.empty{background:linear-gradient(145deg,#fff,var(--accent-soft))}
.hub-link:hover,.explore-city-result:hover,.explore-city-result:focus-visible{background:var(--accent-soft);border-color:#aca1d9}
.hub-icon,.empty-icon,.notification-icon{background:var(--accent-soft);color:var(--accent);border-color:#d8cfee}
.field label,.age-range legend,.profile-prompts label{color:#24284c}
.field input,.field select,.field textarea,.compose input,.chat-tools select,.spot-location-tools select,.report-dialog select,.report-dialog textarea,.delete-account-dialog input,#move-dialog textarea{background:#fff;color:#172044;border-color:#c7c9dc;accent-color:var(--accent)}
input::placeholder,textarea::placeholder{color:#73748b;opacity:1}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.field input:disabled,.field select:disabled{background:#f1f1f7;color:#65667e;-webkit-text-fill-color:#65667e}
.age-range{background:#f8f8ff;border-color:var(--line)}
.note,.notification-setup,.install-guide,.notification-panel,.date-ready-setting,.move-note,.founding-offer,.pass-summary,.pass-card,.profile-overview{background:linear-gradient(120deg,#f0f2ff,#faf0ff);color:#242348;border-color:#d6cdec;box-shadow:0 5px 18px #51458009}
.note strong,.notification-setup strong,.founding-offer strong,.prompt-summary strong,.shared-interests,.match-reason strong,.interest-groups legend,.extra-symbol,.pass-card .extra-symbol{color:var(--accent)}
.install-guide p,.founding-offer span,.pass-summary p,.match-reason p,.interest-count{color:var(--muted)}
.error{color:#a62143;background:#fff0f3;border-color:#e5a4b5}
.chip,.candidate-details .chip,.interest-option span{color:#4f4f6d;background:#f8f7ff;border-color:#d2cde1}
.shared-chip,.interest-option input:checked+span{background:#ebe6ff;color:#49339f;border-color:#aaa0d1}
.interest-option input:focus-visible+span{outline-color:var(--accent)}
.interest-groups fieldset,.compatibility-details,.decision-bar,.chat-profile,.chat-extras,.help-links a,.delete-option{border-color:var(--line)}
.interests-picker summary:after,.profile-section-arrow,.like-profile-details>summary,.compatibility-details,.chat-profile,.chat-extras>summary,.help-links a:hover{color:var(--accent)}
.profile-shortcuts a,.editor-tabs button,.explore-city-result,.location-pill{background:#fff;border-color:var(--line);color:#444761}
.editor-tabs button.active{background:var(--accent-soft);color:var(--accent);border-color:#aea1df}
.step-number{background:#e8e4f7}
.save-bar{background:#fbfafff5;border-color:#d9d1e9;box-shadow:0 -4px 20px #38305e0c}
.delete-option summary{color:#a8274b}
.swipe-balance{color:var(--accent)}
.swipe-balance>summary{border-color:#c9bfe5;background:#f7f4ff}
.swipe-balance>div{background:#fff;border-color:#d8cdeb;box-shadow:0 10px 30px #39306018}
.discover-card{border-color:#ddd9ea;box-shadow:0 9px 30px #3b3b7010;background:#fff}
.candidate-visual{background:#e8e7f5}
/* Photo overlays deliberately retain white type and a dark scrim. */
.candidate-caption,.candidate-caption h2,.candidate-caption p{color:#fff}
.photo-controls,.photo-controls .button{color:#fff}
.photo-controls{background:#181728d9;border-color:#ffffff66}
.photo-controls .button{background:transparent;box-shadow:none}
.decision-bar{background:#fff}
.decision{background:#f7f7fc;color:#3f415d;border-color:#d4d4e5}
.decision.like{color:#fff;background:var(--grad)}
.decision.move{background:#f2edff;color:#6540b1;border-color:#cbbbe9}
.discovery-preference-note{background:#f0edff;color:#534378}
.discovery-companion .hub-link{background:#f5f3ff}
.profile-photo.placeholder{background:linear-gradient(145deg,#e8edff,#eee3ff,#ffdfe9);color:#7160a1}
.likes-teaser{background:#f0ebff;border-color:#d2c3ea;color:#352751}
.likes-teaser small{color:#686078}.likes-teaser .likes-heart{color:#c22c78}
.date-ready-badge{color:#963060;background:#fff0f7;border-color:#e6b6cc}
.verified-badge{color:#176078;background:#e9f8ff;border-color:#94c9de}
.candidate-caption .verified-badge{color:#d8f6ff;background:#19485a}
.candidate-caption .date-ready-badge{color:#fff0f8;background:#783357;border-color:#e6b6cc}
.match-row>.ui-icon{color:var(--accent)}
.compose{background:#f6f5fc}.messages{background:radial-gradient(ellipse at 15% 10%,#eeeaff80,transparent 65%),#fcfbff}
.bubble{background:#eeedf6;color:#252342}.bubble.mine{background:#6543ba;color:#fff}
.bubble.nudge{background:#f6e9ff;color:#62318d;border-color:#d8b3ef}.bubble.nudge.mine{background:#7043a9;color:#fff}
.chat-notification-reminder{background:#fff;border-color:#d8ccea;box-shadow:0 6px 25px #4434631a}
.notification-reminder-open{color:#252044}.notification-reminder-open span span,.reminder-dismiss{color:#69607c}.reminder-bell{color:white}
#match-dialog,#move-dialog,.report-dialog,.discovery-widen-dialog,.trust-dialog{background:#fff;color:#172044;border-color:#d1c7e5;box-shadow:0 20px 70px #28203d40}
.spot-search{background:#fff;border-color:#dcd5e2;box-shadow:0 3px 12px #70365c08}
.spot-search input{color:#182047}.spot-search .button{background:var(--accent-soft);color:var(--accent);border-color:#e5c4d7}
.spot-filters button{background:#fff;color:#5a5269;border-color:#dfd6e2}
.spot-filters button.active{background:var(--grad);color:#fff;border-color:transparent;box-shadow:0 4px 13px #bd317721}
.spot-card{border-color:#e6dce5;box-shadow:0 7px 24px #5532460b}
.spot-card-copy h2{font-size:25px;letter-spacing:-.035em;line-height:1.2}
.spot-card-copy p{color:#716077}.spot-card-copy small{color:#737082}
.illustration-label,.venue-photo-credit{color:#6f6678;background:#f7f1f7}
.venue-photo-credit a{color:#9b2867}.venue-photo-credit span{color:#6f6678}
.spot-distance{color:#a02568!important}
.spot-art,.spot-art.venue-photo{background:#eee9f1}
.spot-save{background:#fffffff0;color:#5c4b67;border-color:#fff;box-shadow:0 2px 10px #35234422}
.spot-save.saved{background:#ffeaf3;color:#b5236c;border-color:#e6adca}
.spot-star{background:#fffffff0;color:#725b38;border-color:#fff;box-shadow:0 2px 10px #35234422}
.spot-star.starred{background:#fff3d1;color:#8e5900;border-color:#e7c775}
.spot-pagination [aria-current="page"]{background:var(--grad);border-color:transparent;color:#fff}
.free-badge,.listing-label{background:var(--accent-soft);color:var(--accent)}
.places-assurance{color:#746076}.idea-grid .ui-icon{color:var(--accent)}
.dating-welcome-photo{display:block;width:100%;height:450px;object-fit:cover;border-radius:28px}
.date-inspiration{border:1px solid #e3deed;box-shadow:0 12px 36px #65529216}
.welcome-step-grid article>span{color:var(--accent)}
body>footer{color:var(--muted)}
@media(max-width:800px){
 .topbar{background:#fcfbfff7}.topbar .brand-logo{width:75px;height:43px}.header-home{gap:10px}.home-return{font-size:12px}.area-caption{font-size:10px;padding:4px 8px}
 .topbar #nav.signed-in{background:#fcfbfff5;border-top:1px solid #dedbe9;box-shadow:0 -4px 22px #4940690b}
 .topbar #nav.signed-in button{color:#777188}.topbar #nav.signed-in button.active{color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 2px 0 var(--accent)}
 .topbar #nav.places-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dating-welcome-photo{height:280px}.welcome h1{font-size:clamp(34px,9vw,48px)}
 .spots-shell h1{font-size:clamp(30px,8.2vw,40px)}.spot-card-copy h2{font-size:25px}
}
@media(max-width:360px){.header-home{gap:7px}.topbar .brand-logo{width:65px}.home-return{font-size:11px}.area-caption{font-size:9px;padding:4px 6px}}

/* Full matched profiles are an overlay, so chat drafts and scroll are retained. */
.match-profile-avatar{border:0;background:transparent;padding:0;border-radius:50%;flex:none;display:block}
.match-profile-link{display:block;border:0;padding:6px 0;min-height:32px;background:transparent;color:var(--accent);font-size:13px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px}
.matched-profile-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:24px;background:#fff;color:#0b1237;overflow:auto;box-shadow:0 20px 70px #24203e44;overscroll-behavior:contain}
.matched-profile-dialog::backdrop{background:#17152c88;backdrop-filter:blur(5px)}
.matched-profile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:2;padding:10px 16px;background:#fcfbfff5;border-bottom:1px solid var(--line)}
.matched-profile-photo{position:relative;background:#f1eff9}.matched-profile-photo>img{display:block;width:100%;height:min(52dvh,500px);object-fit:contain}.matched-photo-empty{padding:80px 20px;text-align:center;color:var(--muted)}
.matched-photo-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:8px 12px;color:#302a51;background:#f4f1fa}.matched-photo-controls .icon-button{font-size:26px}
.matched-profile-copy{padding:22px}.matched-profile-copy h2{font-size:30px;font-weight:800;letter-spacing:-.03em;margin-bottom:8px}.matched-profile-copy h3{font-size:18px}.matched-bio{white-space:pre-wrap;overflow-wrap:anywhere}.matched-profile-error{padding:25px;line-height:1.6}
@media(max-width:800px){.chat-heading .match-profile-link{font-size:12px;padding:2px 0;min-height:28px}.matched-profile-copy{padding:18px}}

/* Focused conversations: shared desktop, mobile web and native webview layout. */
body.is-member[data-view="chat"]{overflow:hidden}
body.is-member[data-view="chat"] .topbar{display:none}
body.is-member[data-view="chat"] main,
body.is-member[data-view="chat"].chat-keyboard main{position:fixed;top:var(--chat-viewport-top,0px);left:0;right:0;width:100%;max-width:none;height:var(--chat-viewport-height,100dvh);min-height:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overflow:hidden}
body.is-member[data-view="chat"] .chat-page{height:100%;max-width:840px;display:flex;flex-direction:column;min-height:0;background:#fcfbff}
body.is-member[data-view="chat"] .chat-heading{flex:none;gap:10px;padding:10px 16px;margin:0;border-bottom:1px solid var(--line);background:#fff}
.chat-person{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--white);padding:0;text-align:left;min-width:0;flex:1}
.chat-person>span{min-width:0}.chat-person strong{display:block;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-person small{display:block;font-size:12px;color:var(--muted)}
body.is-member[data-view="chat"] .chat-heading .avatar{height:40px;width:40px}
body.is-member[data-view="chat"] .chat-menu{margin:0}.chat-menu summary::-webkit-details-marker{display:none}
body.is-member[data-view="chat"] .chat-menu summary{font-size:26px;min-width:44px;justify-content:center}
body.is-member[data-view="chat"] .chat-page>.help{padding:6px 16px;margin:0;font-size:12px}
body.is-member[data-view="chat"] .conversation{flex:1;min-height:0;height:auto;max-height:none;border:0;border-radius:0;background:#fcfbff}
body.is-member[data-view="chat"] .messages{padding:18px 16px;gap:10px;min-height:0;background:linear-gradient(145deg,#f3f8ff80,#faf4ff80)}
body.is-member[data-view="chat"] .bubble{max-width:84%;border:0;box-shadow:none;line-height:1.45;border-radius:18px;padding:10px 14px;background:#eeeaf6;color:#27213e;flex-shrink:0}
body.is-member[data-view="chat"] .bubble.mine{background:#7953bb;color:#fff}
body.is-member[data-view="chat"] .bubble:has(.chat-photo){padding:4px;background:transparent}
body.is-member[data-view="chat"] .chat-photo{max-width:min(220px,58vw);max-height:230px;border-radius:14px;cursor:zoom-in}
body.is-member[data-view="chat"] .compose{padding:10px 12px;gap:8px;background:#fff;border-top:1px solid var(--line);flex:none}
body.is-member[data-view="chat"] .compose input{border-radius:24px;background:#f6f4fa;color:#27213e;min-height:46px;padding:10px 14px}
body.is-member[data-view="chat"] .compose .chat-add{flex:0 0 44px;width:44px;height:44px;border:0;background:#f1ecfb;color:var(--accent);font-size:27px;border-radius:50%;padding:0}
body.is-member[data-view="chat"] .compose .button{border-radius:24px;min-height:44px;box-shadow:none}
.chat-actions{flex:none;background:#fff;border-top:1px solid var(--line);max-height:30dvh;overflow:auto}.chat-actions[hidden]{display:none}.chat-actions .chat-tools{border:0;padding:12px;display:flex;flex-wrap:wrap;gap:8px}
.chat-empty{margin:auto 0;text-align:center}.chat-empty .chat-starters{justify-content:center}.chat-empty .chat-starters button{font-size:14px;max-width:100%;border-radius:16px}.chat-empty .chat-starters .help{display:none}
#chat-date-strip{flex:none;border-bottom:1px solid var(--line);background:#f2edfc}#chat-date-strip[hidden]{display:none}#chat-date-strip button{width:100%;display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 18px;border:0;background:transparent;text-align:left;color:#51398d}#chat-date-strip button>span:nth-child(2){flex:1;min-width:0}#chat-date-strip strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}#chat-date-strip small{display:block;font-size:12px}
.chat-photo-dialog{width:min(900px,calc(100% - 24px));max-height:92dvh;padding:48px 10px 10px;border:0;border-radius:18px;background:#151222;overflow:auto}.chat-photo-dialog::backdrop{background:#100d20dd}.chat-photo-dialog>.icon-button{position:absolute;top:4px;right:8px;background:#fff;color:#2b2240;font-size:28px}.chat-photo-dialog>img{display:block;width:100%;height:auto;max-height:calc(85dvh - 48px);object-fit:contain}
@media(min-width:801px){body.is-member[data-view="chat"] .chat-page{border-left:1px solid var(--line);border-right:1px solid var(--line)}}

/* Discover keeps attention on the person; search preferences live in Filters. */
body[data-view="discover"] .page-heading{align-items:center;margin-bottom:8px}
body[data-view="discover"] .page-heading h1{font-size:clamp(28px,5vw,38px);margin:0}
body[data-view="discover"] .page-heading .sub:empty{display:none}
body[data-view="discover"] .discovery-toolbar{margin-bottom:14px;gap:8px;justify-content:space-between}
body[data-view="discover"] .location-pill{border:0;background:transparent;box-shadow:none;padding:4px 0;min-height:40px;color:var(--muted);font-size:14px}
body[data-view="discover"] #second-look{min-height:40px;padding:6px 12px;font-size:13px;background:transparent}
body[data-view="discover"] .photo-controls{top:12px;right:12px;padding:0 3px;gap:2px;font-size:12px;border:0;background:#181728b8}
body[data-view="discover"] .photo-controls .button{width:40px;min-width:40px;height:44px;min-height:44px;font-size:23px}
body[data-view="discover"] .decision-bar{gap:8px;padding:12px}
body[data-view="discover"] .candidate-details{padding-top:16px}
@media(max-width:800px){body[data-view="discover"] main{padding-top:14px}body[data-view="discover"] .candidate-visual .profile-photo{height:clamp(280px,42dvh,410px)}}

/* The entire chat row opens its conversation; profile remains a separate action. */
.chat-list .match-row{position:relative;isolation:isolate;cursor:pointer}
.chat-list .match-open{position:absolute;inset:0;z-index:1;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;padding:0;cursor:pointer}
.chat-list .match-open:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.chat-list .match-text button{position:relative;z-index:2}

/* Normal chat entry uses a calm placeholder, never the retry/error screen. */
.chat-loading{justify-content:center;padding:24px;gap:22px}.chat-loading>.help{text-align:center}.chat-loading-placeholders{display:flex;flex-direction:column;gap:16px;width:100%;opacity:.6}.chat-loading-placeholders span{display:block;height:42px;width:55%;border-radius:18px;background:#eeeaf6}.chat-loading-placeholders span:nth-child(2){align-self:flex-end;width:65%;background:#e4dcf5}.chat-loading-placeholders span:nth-child(3){width:40%}

/* Venue browsing puts search and places ahead of occasional controls. */
.spots-shell .places-heading{margin-bottom:14px;align-items:center}.spots-shell .places-heading h1{font-size:clamp(27px,5vw,34px);line-height:1.15;margin:0;letter-spacing:-.035em}
.spot-art.category-illustration{aspect-ratio:3/2;background:#f1e8ef}
.spot-art.category-illustration img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover;margin:0;border-radius:0}
.share-search-note:empty{display:none}.share-search-note{margin:-4px 0 12px;font-size:12px}
.venue-signin-note{padding:16px;margin:0 0 20px;border:1px solid #e1d6eb;border-radius:16px;background:#f8f3fb;color:#45304f}
.venue-signin-note p{font-size:14px;margin:7px 0}.venue-signin-note .link-button{font-size:14px;padding:5px 0}
@media(max-width:650px){.spots-shell .places-heading{flex-wrap:wrap}.spots-shell .places-heading .heading-actions{margin-left:auto}.spots-shell .places-heading .button{font-size:13px;min-height:42px}.venue-signin-note{padding:14px}}
.spots-shell .spot-search{border-radius:18px;padding:6px 10px;gap:6px;min-height:52px}.spots-shell .spot-search input{font-size:16px;padding:8px 2px}.spots-shell .spot-search .button{min-height:40px;border-radius:13px;padding:8px 12px}
.spot-search-options{margin:4px 0 0}.spot-search-options>summary{display:flex;align-items:center;gap:7px;min-height:44px;width:fit-content;cursor:pointer;color:var(--accent);font-size:13px;font-weight:700;list-style:none}.spot-search-options>summary::-webkit-details-marker{display:none}.spot-search-options>summary:after{content:'⌄';margin-left:4px}.spot-search-options[open]>summary:after{content:'⌃'}.spot-search-options>summary svg{width:16px;height:16px}.spot-search-options[open]{padding-bottom:12px;border-bottom:1px solid var(--line)}
.spot-search-options .spot-location-tools{margin:4px 0 8px}.spot-search-options .help{font-size:12px}.spots-shell #spot-location-status:empty{display:none}.spots-shell #spot-location-status{font-size:12px;margin:2px 0 10px}
.spots-shell .spot-filters{margin:6px 0 10px;gap:7px;padding:0 0 3px}.spots-shell .spot-filters button{min-height:42px;padding:8px 14px;font-size:14px}.spots-shell .spot-results-count{font-size:13px;margin:8px 0 12px}.saved-place-tools{margin:0 0 14px;display:flex;gap:8px;flex-wrap:wrap}.saved-place-tools>.help{flex-basis:100%;margin-bottom:4px}

/* A quiet, readable inbox with private unread markers. */
.chat-list .match-row{padding:16px;gap:13px}
.chat-list .match-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.chat-list .match-title strong{min-width:0;font-size:18px}
.chat-list .match-meta{display:flex;align-items:center;gap:8px;flex:none;color:var(--muted);font-size:12px;white-space:nowrap}
.chat-list .unread-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.chat-list .match-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:5px 0;font-size:14px}
.chat-list .has-unread .match-preview{color:var(--text,#171735);font-weight:600}
.chat-list .member-badges:empty{display:none}
.chat-list .match-profile-link{font-size:13px;min-height:36px}

/* You: focused profile header and familiar grouped settings rows. */
.you-home,.you-settings{max-width:640px;margin:0 auto}
body[data-view="profile"] .page-heading,body[data-view="settings"] .page-heading{max-width:640px;margin:0 auto 20px}
body[data-view="profile"] .page-heading h1,body[data-view="settings"] .page-heading h1{font-size:32px}
.you-profile{display:flex;gap:20px;align-items:center;padding:8px 4px 26px}
.you-profile .avatar{width:80px;height:80px;font-size:32px}
.you-profile-copy{min-width:0}.you-profile h2{font-size:25px;margin:0 0 3px;overflow-wrap:anywhere}
.you-profile .sub{font-size:14px;margin:0;overflow-wrap:anywhere}.you-profile .member-badges:empty{display:none}
.you-profile .link-button{padding:8px 0;min-height:44px;font-weight:600;text-decoration:none}
.you-group{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;margin-bottom:18px}
.you-row{width:100%;display:flex;align-items:center;gap:13px;min-height:62px;padding:14px 17px;text-align:left;background:transparent;border:0;color:inherit;text-decoration:none}
.you-group>.you-row+.you-row,.you-group>details+.you-row{border-top:1px solid var(--line)}
.you-row-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#f2edff;color:var(--accent)}
.you-row-icon .ui-icon{width:19px;height:19px}.you-row-copy{flex:1;min-width:0}.you-row-copy strong{display:block;font-size:16px;font-weight:600;overflow-wrap:anywhere}.you-row-copy small{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.you-chevron{color:var(--muted);font-size:25px;font-weight:400}.you-row:hover{background:#f8f6fc}.you-row:focus-visible,.you-date-ready summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.you-date-ready summary{list-style:none;display:flex;align-items:center;gap:13px;padding:14px 17px;min-height:62px;cursor:pointer}.you-date-ready summary::-webkit-details-marker{display:none}.you-status{font-size:13px;color:var(--muted)}
.you-date-ready>div{padding:0 17px 17px}.you-date-ready label{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;min-height:44px}.you-date-ready input{width:24px;height:24px;accent-color:var(--accent)}
.you-paused{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:14px;padding:8px 14px;background:#f2edff;margin-bottom:18px;font-size:14px}
.you-settings{display:grid;gap:16px}.you-settings .settings-group{margin:0;padding:20px}.you-settings h2{font-size:20px}.you-settings #identity-panel{margin:0;border:0}.you-settings .you-row{padding-left:0;padding-right:0}
@media(max-width:420px){.you-profile{gap:16px}.you-profile .avatar{width:70px;height:70px}.you-row,.you-date-ready summary{padding:13px 14px}.you-row-copy strong{font-size:15px}}

/* Discovery preferences: essentials first, detail on demand. */
#profile-preferences .preference-options{margin:0;border:1px solid var(--line);border-radius:15px;background:#fcfbff;overflow:hidden}
#profile-preferences .preference-options>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:15px;cursor:pointer;min-height:64px}
#profile-preferences .preference-options>summary::-webkit-details-marker{display:none}
#profile-preferences .preference-options>summary strong{display:block;font-size:15px;color:var(--text,#171735)}
#profile-preferences .preference-options>summary small{display:block;font-size:13px;color:var(--muted);margin-top:3px}
#profile-preferences .preference-options>summary>span:last-child{color:var(--accent)}
#profile-preferences .preference-options[open]>summary{border-bottom:1px solid var(--line)}
#profile-preferences .preference-options>div{padding:16px;display:grid;gap:15px}
#profile-preferences .preference-options .field{margin:0}
#profile-preferences .preference-options label:has(input[type="checkbox"]){display:flex;align-items:flex-start;gap:10px;font-weight:500}
#profile-preferences .preference-options input[type="checkbox"]{flex:none;min-height:0;width:20px;height:20px;margin:2px 0;accent-color:var(--accent)}
#profile-preferences .preference-options>summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#profile-preferences .preference-explore{margin:0;border:1px solid var(--line);border-radius:15px;overflow:hidden}
#profile-preferences .preference-explore .you-row{min-height:58px}

/* Clear, consistent return control for subsection screens. */
.back-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:9px 14px;margin-bottom:18px;border:1px solid #d9cff1;border-radius:13px;background:#f0ebfc;color:var(--accent);font-size:14px;font-weight:650;text-decoration:none}
.back-link .ui-icon{width:18px;height:18px;flex:none}
.back-link:hover{background:#e7def9;border-color:#b6a2df}
.back-link:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

/* A venue becomes a date invitation, through an explicit match choice. */
.venue-actions .venue-suggest{flex-basis:100%;min-height:48px}
.venue-match-dialog .plan-heading h2{font-size:24px;line-height:1.2;margin:0}
.venue-picker-place{padding:12px 14px;background:#f3effc;border-radius:12px;font-weight:600}
.venue-match-list{display:grid;gap:8px;max-height:45dvh;overflow-y:auto;margin:15px 0}
.venue-match-choice{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--line);background:#fff;color:inherit;border-radius:14px;padding:12px;min-height:72px}
.venue-match-choice .avatar{width:46px;height:46px}.venue-match-choice strong{flex:1;overflow-wrap:anywhere}.venue-match-choice>span:last-child{color:var(--accent);font-size:24px}
.venue-match-choice:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#plan-venue-options{border:1px solid var(--line);border-radius:13px;padding:12px;margin:12px 0}
#plan-venue-options>summary{color:var(--accent);font-weight:600;cursor:pointer;min-height:30px}
#plan-venue-options[open]>summary{margin-bottom:12px}
