:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color-scheme:light;--bg:#fcf5f7;--surface:#fff;--text:#382b33;--muted:#7c6671;--accent:#b83261;--soft:#f9e7ee;--border:#eddee4;--hero:#f5dbe5;--hero-ink:#672641;--note:#f0f1e8;--shadow:0 14px 40px #62263a08}
:root[data-theme=lavender]{--bg:#f7f5ff;--text:#332d4b;--muted:#716789;--accent:#7251bf;--soft:#eee7ff;--border:#e6def2;--hero:#e6ddfa;--hero-ink:#4a347a;--note:#efedf6}
:root[data-theme=mint]{--bg:#f1f8f5;--text:#283e36;--muted:#60786b;--accent:#24755a;--soft:#e0f1e9;--border:#d8e8df;--hero:#d4eade;--hero-ink:#235b45;--note:#eff0e4}
:root[data-theme=night]{color-scheme:dark;--bg:#191923;--surface:#232330;--text:#f4eaf0;--muted:#b7a8b9;--accent:#f3a3bf;--soft:#382938;--border:#3a3342;--hero:#372837;--hero-ink:#f7d1e1;--note:#2c3032;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.6}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{transition:background .2s,transform .2s}button:hover{transform:translateY(-1px)}button:disabled{opacity:.6;cursor:wait;transform:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}a{color:var(--accent)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.22}h1{font-size:clamp(1.8rem,2.6vw,2.55rem);font-weight:650;letter-spacing:-.04em;margin-bottom:12px}h2{font-size:1.45rem;letter-spacing:-.025em}h3{font-size:1.12rem;font-weight:650}p{margin-bottom:0}.muted{color:var(--muted)}.app-shell{max-width:1680px;margin:auto;display:grid;grid-template-columns:244px 1fr;min-height:100vh}.sidebar{background:var(--surface);border-right:1px solid var(--border);padding:42px 24px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.brand{text-decoration:none;font-size:2rem;font-weight:750;letter-spacing:-1.5px;color:var(--text);display:flex;align-items:center;gap:9px}.brand-icon{display:inline-grid;place-items:center;background:var(--accent);color:var(--surface);height:42px;width:42px;border-radius:15px;font-size:2.25rem;font-family:Arial}.brand-dot{color:var(--accent);margin-left:-9px}.brand-caption{font-size:.875rem;color:var(--muted);margin:13px 0 40px}.navigation{display:grid;gap:8px}.nav-item{border:0;background:none;text-align:left;padding:13px 16px;border-radius:14px;display:flex;align-items:center;gap:15px;color:var(--muted);font-size:.95rem;font-weight:550;min-height:50px}.nav-item>span:first-child{font-size:1.65rem;line-height:1}.nav-item.active{color:var(--accent);background:var(--soft)}.sidebar-bottom{margin-top:auto;padding:65px 6px 0}.tiny-label{font-size:.75rem;font-weight:650;letter-spacing:.12em;color:var(--muted)}.sidebar-bottom p{font-size:.875rem;color:var(--muted);margin:15px 0}.handwritten{font-family:Georgia,serif;font-style:italic;font-size:1.12rem;color:var(--accent)}.sidebar-bottom button{margin-top:35px;font-size:.85rem}.text-button{border:0;background:none;padding:5px 0;color:var(--accent);font-size:.875rem;min-height:40px}.workspace{min-width:0}.topbar{height:94px;display:flex;justify-content:space-between;align-items:center;padding:0 48px;border-bottom:1px solid var(--border)}.breadcrumb{font-size:.875rem;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:16px}.age-label{font-size:.8rem;color:var(--muted)}.round-button,.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--border);background:var(--surface);font-size:1.4rem}.avatar{background:var(--soft);color:var(--accent);border:0}.mobile-brand{display:none}main{padding:38px 48px 0;max-width:1280px;margin:auto}.eyebrow{color:var(--accent);font-size:.75rem;letter-spacing:.16em;font-weight:650;margin-bottom:12px}.page-heading{margin-bottom:28px}.page-heading>.muted,.page-heading>div>.muted{font-size:.95rem}.wave{font-size:1.9rem;color:var(--accent);vertical-align:middle;margin-left:5px}.home-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--hero);color:var(--hero-ink);border-radius:26px;padding:34px 36px}.hero-kicker{font-size:.75rem;font-weight:650;letter-spacing:.15em;display:flex;align-items:center;gap:10px}.hero-kicker>span{font-size:1.6rem}.hero h2{font-size:clamp(2.75rem,4.3vw,4.8rem);line-height:1.04;font-weight:500;letter-spacing:-.065em;margin:23px 0 23px}.hero h2 em{font-family:Georgia,serif;font-weight:400}.hero p{font-size:.95rem;line-height:1.7;max-width:330px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:25px;border-radius:14px;padding:14px 22px;border:0;font-size:.94rem;font-weight:600;min-height:50px;text-decoration:none}.primary{background:var(--accent);color:var(--surface)}[data-theme=night] .primary{color:#291c27}.secondary{background:var(--surface);color:var(--accent);border:1px solid var(--border)}.hero>.primary{margin-top:27px;position:relative;z-index:1}.hero-foot{display:flex;align-items:center;gap:8px;font-size:.75rem;margin-top:25px}.hero-foot>span{font-size:1.3rem}.hero-decoration{position:absolute;font:20rem Georgia,serif;line-height:1;right:-40px;bottom:40px;opacity:.09;transform:rotate(-16deg);z-index:-1}.home-right{display:grid;grid-template-rows:1fr auto;gap:20px}.mood-card{padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow)}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:23px}.icon-tile{background:var(--soft);color:var(--accent);border-radius:12px;display:grid;place-items:center;width:40px;height:40px;font-size:1.3rem}.mood-card h3{font-size:1.65rem;letter-spacing:-.025em;margin-bottom:10px}.mood-card p{font-size:.875rem}.theme-swatches{display:flex;gap:14px;margin:24px 0 18px}.swatch{width:42px;height:42px;border-radius:50%;border:4px solid var(--surface);outline:1px solid var(--border);font-size:1rem;color:white}.swatch[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:3px}.berry{background:#b83261}.lavender{background:#7251bf}.mint{background:#24755a}.night{background:#343344}.mood-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.8rem;color:var(--muted);border-top:1px solid var(--border);padding-top:8px}.note-card{background:var(--note);border-radius:22px;padding:25px;display:flex;align-items:flex-start;gap:15px}.note-icon{font-size:1.7rem;color:var(--accent);line-height:1.3}.note-card h3{font-size:1rem;margin-bottom:8px}.note-card p{font-size:.875rem;color:var(--muted)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 20px}.section-heading h2{margin:0;font-size:1.3rem}.section-heading>span{font-size:.8rem}.comfort-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.comfort-grid article{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:23px}.comfort-icon{width:36px;height:36px;display:grid;place-items:center;color:var(--accent);background:var(--soft);border-radius:11px;font-size:1.35rem;margin-bottom:18px}.comfort-grid h3{font-size:.98rem;margin-bottom:9px}.comfort-grid p{color:var(--muted);font-size:.875rem;line-height:1.65}.entry-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;padding:24px;border:1px dashed var(--border);border-radius:20px}.entry-banner strong{font-size:.94rem}.entry-banner p{font-size:.875rem;color:var(--muted);margin-top:4px}.entry-banner button{flex-shrink:0}footer{text-align:center;font-size:.8rem;color:var(--muted);padding:28px 0}footer span{margin:0 5px;color:var(--accent)}[hidden]{display:none!important}.page{animation:appear .25s ease}.settings-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:30px;max-width:850px}.settings-card>h2{margin-bottom:10px}.theme-options{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:26px 0}.theme-option{text-align:left;border:1px solid var(--border);background:var(--bg);border-radius:17px;padding:16px;display:flex;align-items:center;gap:16px;min-height:90px}.theme-option[aria-pressed=true]{outline:2px solid var(--accent)}.theme-option .preview{width:48px;height:48px;border-radius:14px;flex-shrink:0}.theme-option small{display:block;color:var(--muted);font-size:.875rem}.setting-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding:22px 0;gap:22px}.setting-row p{font-size:.875rem;margin-top:4px}.setting-row input{appearance:none;min-width:48px;height:28px;border-radius:20px;background:var(--border);position:relative;cursor:pointer}.setting-row input:before{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:var(--surface);top:4px;left:4px}.setting-row input:checked{background:var(--accent)}.setting-row input:checked:before{left:24px}.empty-state{background:var(--surface);border:1px solid var(--border);padding:55px 30px;border-radius:24px;text-align:center;max-width:640px;margin:15px auto}.empty-state .empty-icon{font-size:4rem;line-height:1.4;color:var(--accent);display:block;margin-bottom:15px}.empty-state p{color:var(--muted);max-width:400px;margin:0 auto 25px}.empty-state h2{font-size:1.7rem}.discovery-area{max-width:680px;margin:auto}.profile-card{background:var(--surface);border:1px solid var(--border);border-radius:26px;overflow:hidden}.profile-photo{height:390px;background:var(--soft);position:relative;display:grid;place-items:center;color:var(--accent);font-size:5rem}.profile-photo img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.profile-details{padding:27px}.profile-details h2{margin-bottom:10px;font-size:1.7rem}.profile-location{color:var(--muted);font-size:.9rem;margin-bottom:15px}.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere}.tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.tag{font-size:.8rem;padding:6px 11px;border-radius:20px;background:var(--soft);color:var(--accent)}.verified{font-size:.8rem;display:inline-block;vertical-align:middle;border:1px solid var(--border);border-radius:15px;padding:5px 9px;color:var(--accent);margin-left:8px}.swipe-actions{display:flex;justify-content:center;gap:14px;padding:22px}.swipe-actions button{flex:1}.hint{text-align:center;font-size:.875rem;color:var(--muted);margin-top:14px}.matches-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.matches-grid .empty-state{grid-column:1/-1;width:100%}.matches-grid .profile-photo{height:230px}.profile-wrapper{max-width:680px;margin:auto}.profile-wrapper>.secondary{display:flex;margin-top:20px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 22px;background:var(--text);color:var(--bg);border-radius:15px;max-width:calc(100% - 32px);width:max-content;z-index:10;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:28px;padding:45px;text-align:center;max-width:calc(100% - 32px)}dialog::backdrop{background:#21162980;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:12px;top:12px}.match-heart{font-size:6rem;line-height:1.3;color:var(--accent)}dialog h2{font-family:Georgia,serif;font-size:2.7rem;margin:12px 0}dialog p{color:var(--muted);margin-bottom:24px}.skip-link{position:fixed;top:-100px;left:20px;z-index:20;background:var(--surface);padding:10px}.skip-link:focus{top:10px}body.airy p{line-height:1.9}body.airy .profile-details,body.airy .comfort-grid article{padding:32px}body.calm *,body.calm *:before{animation:none!important;transition:none!important}body.calm button:hover{transform:none}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}@media(min-width:1450px){.hero{padding:42px}.hero h2{margin-top:30px}}@media(max-width:1180px){.app-shell{grid-template-columns:205px 1fr}.sidebar{padding:30px 18px}.topbar{padding:0 30px}main{padding:30px 30px 0}.home-grid{gap:18px;grid-template-columns:1.2fr 1fr}.hero{padding:28px}.hero h2{font-size:3.4rem}.mood-card{padding:23px}.section-heading>span{display:none}.comfort-grid{gap:12px}.comfort-grid article{padding:18px}.tiny-label{font-size:.75rem;letter-spacing:.06em}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:fixed;bottom:0;top:auto;width:100%;z-index:5;border-right:0;border-top:1px solid var(--border);padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:var(--surface)}.sidebar>.brand,.brand-caption,.sidebar-bottom{display:none}.navigation{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}.nav-item{flex-direction:column;gap:4px;padding:7px 3px;font-size:.75rem;justify-content:center}.nav-item>span:first-child{font-size:1.5rem}.topbar{height:76px;padding:0 24px}.breadcrumb{display:none}.mobile-brand{display:block;font-size:1.45rem;letter-spacing:-.04em;font-weight:700}.top-actions{gap:12px}main{padding:28px 24px 90px}.hero h2{font-size:3.7rem}.page-heading{margin-bottom:23px}#toast{bottom:100px}.matches-grid{gap:16px}}
@media(max-width:590px){main{padding:26px 18px 94px}.topbar{padding:0 18px}.home-grid{grid-template-columns:1fr}.hero{padding:29px;border-radius:24px}.hero h2{font-size:3.8rem}.hero p{font-size:.95rem}.hero-decoration{right:0;bottom:20px}.home-right{gap:16px}.mood-card h3 br{display:none}.mood-card h3{font-size:1.4rem}.section-title{margin-bottom:15px}.mood-card{padding:24px}.theme-swatches{margin:22px 0}.note-card{padding:22px}.section-heading{margin-top:28px}.comfort-grid{grid-template-columns:1fr;gap:12px}.comfort-grid article{padding:21px 21px 21px 78px;position:relative}.comfort-icon{position:absolute;top:22px;left:22px}.comfort-grid h3{font-size:1rem}.entry-banner{flex-direction:column;align-items:stretch;padding:22px}.entry-banner button{width:100%}.theme-options{grid-template-columns:1fr}.settings-card{padding:23px}.page-heading h1{font-size:1.9rem;line-height:1.2}.wave{display:none}.matches-grid{grid-template-columns:1fr}.profile-photo{height:350px}.profile-details{padding:22px}.swipe-actions{padding:16px}.swipe-actions button{padding:14px 12px;gap:8px}.empty-state{padding:40px 22px}.desktop-break{display:none}.eyebrow{font-size:.75rem;letter-spacing:.1em}.hero-foot{font-size:.8rem}.hero-kicker{font-size:.75rem;letter-spacing:.1em}}

main:focus{outline:none}#report-dialog{max-width:min(540px,calc(100% - 32px));padding:54px 28px 28px}#report-form{text-align:left}#report-form label{display:block;font-size:.9rem;margin-bottom:8px}#report-text{font:inherit;width:100%;resize:vertical;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);padding:14px;margin-bottom:18px}#report-text:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#report-form button{width:100%}

/* Compact discovery layout. */
@media(max-width:850px){
body:has(#page-discover:not([hidden])) .topbar{height:44px;padding:0 12px}
body:has(#page-discover:not([hidden])) .mobile-brand{font-size:1rem}
body:has(#page-discover:not([hidden])) .top-actions{gap:6px}
body:has(#page-discover:not([hidden])) .age-label{font-size:.75rem}
body:has(#page-discover:not([hidden])) .topbar button{width:40px;height:40px;font-size:1.1rem;background:transparent}
body:has(#page-discover:not([hidden])) main{padding:8px 8px 128px}
#page-discover>.page-heading{display:none}
#page-discover .profile-card{border-radius:16px}
#page-discover .profile-photo{height:clamp(170px,38dvh,280px)}
#page-discover .profile-details{padding:12px 14px 10px}
#page-discover .profile-details h2{font-size:1.25rem;margin:0 0 4px;line-height:1.3}
#page-discover .verified{font-size:.75rem;padding:2px 6px;margin-left:6px;border:0}
#page-discover .profile-location{font-size:.875rem;margin:0 0 8px}
#page-discover .profile-bio{font-size:1rem;line-height:1.4;white-space:pre-wrap}
#page-discover .tags{gap:5px;margin:9px 0 0}
#page-discover .tag{font-size:.8rem;line-height:1.4;padding:4px 8px}
#page-discover .swipe-actions{position:fixed;left:0;right:0;bottom:calc(58px + env(safe-area-inset-bottom));padding:8px 10px;gap:10px;z-index:6;background:var(--bg);border-top:1px solid var(--border)}
#page-discover .swipe-actions button{min-height:46px;padding:10px 14px;border-radius:12px;font-size:.95rem}
#page-discover .hint{font-size:.75rem;line-height:1.3;margin:5px 0}
#page-discover>.discovery-area>.text-button{display:block;font-size:.8rem;min-height:32px;margin:2px auto;padding:2px 8px}
body:has(#page-discover:not([hidden])) .sidebar{height:calc(58px + env(safe-area-inset-bottom));padding:3px 6px calc(3px + env(safe-area-inset-bottom))}
body:has(#page-discover:not([hidden])) .nav-item{min-height:50px;padding:3px 1px;gap:1px;font-size:.75rem}
body:has(#page-discover:not([hidden])) .nav-item>span:first-child{font-size:1.25rem}
}

#discovery{overflow-x:clip}
.swipe-card{position:relative;touch-action:pan-y;transition:transform .18s ease}
.swipe-card.dragging{transition:none}
.swipe-card .profile-photo{user-select:none;-webkit-user-select:none}
.swipe-card img{-webkit-user-drag:none}
.swipe-feedback{position:absolute;top:14px;left:14px;z-index:2;background:var(--surface);color:var(--accent);border:2px solid var(--accent);border-radius:12px;padding:7px 12px;font-weight:700;font-size:1rem;pointer-events:none}
.swipe-feedback:empty{display:none}
body.airy #page-discover .profile-details{padding:12px 14px 10px}
@media(prefers-reduced-motion:reduce){.swipe-card{transition:none}}
