body.auth-page{background:#fff}.auth-page .sidebar,.auth-page .topbar,.auth-page .preview-strip,.auth-page .app-footer{display:none}.auth-page .main-shell{margin:0}.auth-page #content{max-width:none;padding:0;min-height:100vh}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-main{display:flex;flex-direction:column;min-width:0}.auth-header{padding:30px 44px;display:flex;justify-content:space-between;align-items:center;gap:16px}.auth-header .quiet{font-size:12px;color:var(--muted)}.auth-header b{color:var(--ink);font-weight:600}.auth-card{width:100%;max-width:500px;padding:30px 42px;margin:auto;min-height:530px}.auth-language{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:12px;color:var(--muted)}.auth-language select{min-width:0;max-width:190px;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbf8;color:var(--ink)}.auth-card>.eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:26px}.auth-title{display:flex;align-items:center;gap:14px;margin-bottom:24px}.auth-title h1{font-size:34px;letter-spacing:-1.1px;margin:0}.auth-back{width:34px;height:34px;flex-shrink:0;background:white;border:1px solid var(--line);border-radius:10px;font-size:19px;color:var(--ink)}.signup-progress{display:flex;gap:6px;margin-bottom:14px}.signup-progress span{height:3px;flex:1;border-radius:5px;background:#edf0e8}.signup-progress span.filled{background:var(--coral)}.auth-step{font-size:9px;letter-spacing:1.3px;color:var(--muted);margin-bottom:28px}.auth-card h2{font-size:22px;font-weight:550;margin-bottom:9px;letter-spacing:-.5px;line-height:1.4}.auth-description{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:25px}#auth-form{display:grid;gap:17px}#auth-form>label{display:grid;gap:8px;font-size:12px;font-weight:500}#auth-form input:not([type=checkbox]),#auth-form select{width:100%;min-width:0;background:#fafbf8;border:1px solid var(--line);border-radius:12px;padding:14px;color:var(--ink);height:50px}#auth-form input::placeholder{color:#959d95}.auth-next{width:100%;min-height:50px;justify-content:space-between}.auth-hint{font-size:11px;color:var(--muted);line-height:1.8;margin:18px 0 0}#auth-form .auth-hint{margin:0}.birthday-fields{display:grid;grid-template-columns:.8fr 1.3fr 1fr;gap:10px}.birthday-fields label{display:grid;gap:8px;font-size:12px}.birthday-fields select{padding-left:10px!important}.gender-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.gender-choices button{min-width:0;display:flex;flex-direction:column;align-items:start;gap:17px;text-align:left;border:1px solid var(--line);background:#fafbf7;border-radius:19px;padding:24px 20px;color:var(--ink);transition:background .15s,border-color .15s}.gender-choices button:hover{background:#edf2e7;border-color:#9da995}.gender-choices button:nth-child(2):hover{background:#f8e7df;border-color:var(--coral)}.gender-choices .gender-icon{font-size:31px;font-weight:400;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--green)}.gender-choices button:nth-child(2) .gender-icon{background:#f3ded3}.gender-choices strong{font-size:15px;font-weight:550;line-height:1.4;overflow-wrap:anywhere}.gender-choices small{font-size:11px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.password-field{position:relative}.password-field input{padding-right:50px!important}.password-field button{position:absolute;right:5px;top:5px;height:40px;color:var(--muted)}#auth-form label.auth-consent{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.8;font-weight:400}.auth-consent input{margin:3px 0 0;width:17px;height:17px;flex-shrink:0;accent-color:var(--ink)}.auth-consent a{text-decoration:underline;text-underline-offset:2px}.auth-error{font-size:12px;line-height:1.6;color:#a74330;margin:0;overflow-wrap:anywhere}.auth-error:empty{display:none}.auth-telegram{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:11px;color:var(--muted);line-height:1.8}.auth-telegram a:hover{text-decoration:underline}.auth-footer{padding:25px 44px;display:flex;flex-wrap:wrap;gap:16px;font-size:10px;line-height:1.8;color:var(--muted)}.auth-footer>span{margin-left:auto}.auth-story{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:70px 65px;background:#e4eadb;min-height:100vh}.auth-story>.eyebrow{font-size:10px;letter-spacing:1.8px;color:#6d7b68;margin-bottom:30px}.auth-story h2{position:relative;z-index:1;font-size:clamp(42px,4.5vw,72px);font-weight:500;letter-spacing:-2.5px;line-height:1.12;margin:0}.auth-story h2 em{font-family:Georgia,serif;color:#a9624e;font-weight:400}.auth-story>p:not(.eyebrow){font-size:14px;color:#6b7968;line-height:1.9;margin:22px 0 32px}.auth-story-caption{font-size:9px;letter-spacing:1.4px;color:#78836f}.auth-orbits{position:relative;height:245px;margin:20px 0 0}.orbit-one,.orbit-two{position:absolute;display:grid;place-items:center;height:175px;width:175px;border-radius:50%;font-family:Georgia,serif;font-size:75px}.orbit-one{left:10px;top:20px;background:#fcfcf4;border:1px solid #ced8c2;transform:rotate(-15deg);color:#8a9d7d}.orbit-two{left:145px;top:45px;background:#e89b82;color:#fcf8ef;transform:rotate(15deg)}.hello-note{position:absolute;left:60px;top:185px;font-size:15px;padding:13px 22px;border-radius:30px;background:#f7f7ef;transform:rotate(-6deg)}.auth-story:after{content:'';position:absolute;width:450px;height:450px;border-radius:50%;border:1px solid #cbd5bf;right:-270px;top:90px}.chat-log{height:310px;overflow:auto;margin:20px 0;display:flex;flex-direction:column;gap:12px}.chat-bubble{background:#edf1e7;padding:12px 16px;border-radius:16px;max-width:90%;align-self:flex-start;overflow-wrap:anywhere}.chat-bubble.mine{background:#f4ded3;align-self:flex-end}.chat-bubble p{white-space:pre-wrap;margin:0;font-size:14px}.chat-bubble small{display:block;margin-top:6px;font-size:9px;color:var(--muted)}#chat-form{display:grid;gap:10px}#chat-form textarea{border:1px solid var(--line);border-radius:12px;padding:12px;resize:vertical;width:100%;color:var(--ink)}
@media(min-width:1600px){.auth-card{max-width:540px}.auth-story{padding-left:100px}}@media(max-width:1000px){.auth-header{padding:25px}.auth-card{padding:30px;min-height:500px}.auth-story{padding:45px 35px}.auth-story h2{font-size:48px}.auth-footer{padding:25px;gap:12px}.auth-footer>span{margin-left:0}}@media(max-width:720px){.auth-layout{display:flex;flex-direction:column;min-height:100svh}.auth-main{min-height:100svh}.auth-story{display:none}.auth-card{max-width:480px;padding:24px;min-height:0;margin:auto}.auth-card h1{font-size:30px}.auth-header{padding:24px}.auth-header .quiet{padding:5px;font-size:11px}.auth-header .brand{font-size:23px}.auth-card>.eyebrow{margin-bottom:22px}.auth-footer{font-size:9px;padding:24px;justify-content:center}.auth-title{margin-bottom:22px}.gender-choices button{padding:22px 18px}.auth-page #toast{bottom:24px}.birthday-fields{gap:8px}.chat-log{height:260px}}

.view-profile{position:absolute;top:62px;left:16px;border:0;border-radius:20px;background:rgba(255,255,255,.94);color:#223b32;padding:10px 15px;cursor:pointer;font-weight:600;z-index:2}
.person-dialog{width:min(960px,calc(100vw - 32px));max-width:960px;padding:32px}.person-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(260px,1.2fr);gap:32px}.person-layout .profile-card{aspect-ratio:3/4;width:100%}.person-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.person-details h3{margin:24px 0 10px}.person-details h2{margin-top:8px}.person-details dl{margin:0}.person-details dl>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e7ece8}.person-details dt{color:#67756d}.person-details dd{margin:0;text-align:right}.person-bio{white-space:pre-wrap;overflow-wrap:anywhere}.person-details .chip{overflow-wrap:anywhere;max-width:100%}#upload-photo{display:grid;gap:20px}#upload-photo label{display:grid;gap:12px}
@media(max-width:650px){.person-dialog{padding:24px 18px}.person-layout{grid-template-columns:1fr;gap:18px}.person-actions .button{flex:1;white-space:normal}.person-details dl>div{flex-wrap:wrap}.person-dialog .dialog-close{z-index:4}}

.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 0}.gallery-thumbs button{padding:0;flex:0 0 58px;height:70px;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#ecf0e6}.gallery-thumbs button.active{border-color:var(--coral)}.gallery-thumbs img{width:100%;height:100%;object-fit:cover}

@media(min-width:651px){.person-layout .profile-card{height:min(45dvh,440px);aspect-ratio:auto}.person-details{max-height:calc(100dvh - 160px);overflow-y:auto;padding-right:8px}}

@media(max-width:720px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid .view-profile{font-size:11px;padding:8px 10px;top:60px}}
