/* A short, readable profile flow, with comfortable targets on phones. */
#account-dialog{width:min(620px,calc(100vw - 24px))}
#account-dialog>.modal-content{padding:36px 28px 28px}
#account-dialog h2{font-size:clamp(29px,7vw,38px);line-height:1.15;margin:8px 32px 12px 0}
#profile-form-intro{font-size:14px;line-height:1.7;color:#e0c7e5;margin-bottom:22px}
.profile-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 10px}
.profile-steps button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #93649c;background:#2a1236;color:#dfc5e5;border-radius:12px;min-height:50px;padding:10px 7px;font-size:12px;cursor:pointer}
.profile-steps button b{display:grid;place-items:center;border-radius:50%;width:23px;height:23px;font-size:11px;border:1px solid #95609e;flex-shrink:0}
.profile-steps button[aria-current="step"]{border-color:#f7aacb;color:#fff3f7;background:#693552}
.profile-steps button[aria-current="step"] b{background:#f7aacb;color:#2b1233;border-color:#f7aacb}
.profile-steps button.is-complete{color:#f6dfef;border-color:#bd8baa}
#profile-step-status{font-size:12px;color:#d0b0d6;margin:0 0 24px}
.profile-step-heading{font-size:25px;line-height:1.25;margin:0 0 8px;outline:none}
.profile-step-copy{font-size:13px;line-height:1.7;color:#d9bfdf;margin:0 0 23px}
#account-form .form-grid{gap:20px 14px;margin-bottom:0}
#account-form .form-grid label,#account-form .form-age>span,.headline-label{font-size:13px;line-height:1.5;color:#f3e2f6}
#account-form .form-grid input,#account-form .form-grid select,#profile-headline{font-family:inherit;font-size:16px;line-height:1.5;min-height:49px;background:#281132;color:#fff2f6;border:1px solid #a577ae;border-radius:11px;padding:12px;box-sizing:border-box;width:100%;min-width:0;margin-top:8px}
#account-form .profile-field-wide{grid-column:1/-1}
#account-form .field-hint{display:block;font-size:12px;line-height:1.6;font-weight:400;color:#cfb2d7;margin-top:7px}
#account-form .form-age>div{max-width:310px}
#account-form fieldset{padding:0;border:0;margin:25px 0 0;min-width:0}
#account-form legend{padding:0;margin-bottom:9px;font-size:16px;font-weight:500;color:#fff0f7}
#account-form .interest-picker{gap:8px;margin-top:14px}
#account-form .interest-option span{font-size:12px;min-height:44px;display:inline-flex;align-items:center;line-height:1.4;padding:10px 13px;box-sizing:border-box}
#account-form .interest-option input{left:auto;top:auto}
#account-form .helper{font-size:12px;line-height:1.7;color:#d9bfdf}
.headline-label{display:block;font-weight:500}
.headline-label>span{font-weight:400;color:#ceadd7;font-size:12px}
#profile-headline{display:block;resize:vertical;min-height:116px;max-height:240px}
#profile-headline::placeholder{color:#bba0c6}
.headline-meta{display:flex;gap:14px;justify-content:space-between;margin:7px 0 17px}
.headline-meta p{margin:0;max-width:340px}
#headline-count{font-size:12px;color:#d6b5dd;white-space:nowrap;padding-top:2px}
.headline-examples>p{font-size:12px;color:#cfb2d7;margin:0 0 8px}
.headline-examples>div{display:flex;gap:7px;flex-wrap:wrap}
.headline-examples button{font:inherit;font-size:12px;border:1px solid #ad80b1;border-radius:100px;min-height:44px;padding:9px 14px;background:#4a2355;color:#ffe8f6;cursor:pointer}
.profile-preview{margin:24px 0 0;padding:19px;border:1px solid #98649c;background:linear-gradient(140deg,#50275c,#2c173b);border-radius:17px;overflow-wrap:anywhere}
.profile-preview>p:first-child{font-size:10px;letter-spacing:1.3px;color:#e4bbd1;margin:0 0 16px}
.profile-preview-person{display:flex;align-items:center;gap:13px}
.profile-preview-person>span{background:linear-gradient(135deg,#c478aa,#634786);color:#fff2f7;width:43px;height:43px;display:grid;place-items:center;border-radius:50%;font-size:22px;flex-shrink:0}
#profile-preview-name{font-size:17px;color:#fff1f6;font-weight:500}
#profile-preview-city{margin:3px 0 0;font-size:12px;color:#dcc5e5}
#profile-preview-headline{font-size:15px;line-height:1.65;color:#ffedf6;margin:15px 0 0}
#profile-preview-headline.is-placeholder{color:#c4a3ce;font-style:italic}
#account-form .consent-line{margin:23px 0 10px;gap:12px;cursor:pointer}
#account-form .consent-line input{width:20px;height:20px;margin-top:3px;flex-shrink:0}
#account-form .consent-line span{font-size:12px;line-height:1.75;color:#e0c7e5}
#account-form .text-button{font-size:12px;min-height:44px}
.profile-form-footer{margin-top:18px;padding-top:16px;border-top:1px solid #805087}
#account-error{font-size:13px;line-height:1.6;margin:0 0 12px;color:#ffc2cf}
#account-error:empty{display:none}
.profile-form-actions{display:flex;align-items:center;gap:10px}
.profile-form-actions .button{min-height:50px;font-size:14px;justify-content:center}
#account-submit{flex:1}
#profile-back{padding-inline:20px}
#account-management>hr{margin:28px 0;border-color:#88548b}
#account-summary h3{font-size:24px;margin:0 0 9px}
#account-summary p{font-size:14px;line-height:1.7;color:#e0c7e5}
.profile-record-options{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.profile-record-options .button{flex:1;min-height:48px;font-size:13px;justify-content:center;white-space:nowrap}
#account-summary>.text-button{margin-top:8px;min-height:44px;font-size:12px}
.profile-settings{border-top:1px solid #88548b;margin-top:24px;padding-top:8px}
.profile-settings>summary{font-size:14px;color:#f1d7ed;padding:17px 0;min-height:48px;box-sizing:border-box;cursor:pointer}
.profile-settings .account-actions{margin-top:20px}
.member-headline{font-size:14px;line-height:1.6;color:#ead5ee;overflow-wrap:anywhere;margin:10px 0 15px}
.swipe-headline{font-size:14px;line-height:1.5;color:#fff1f6;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:100%}
.detail-headline{font-size:18px;line-height:1.6;color:#f7e4ef;margin:18px 0 24px;overflow-wrap:anywhere}
#profile-photo-editor{display:block;padding:23px 0;border-top:1px solid #88548b;margin-top:22px}
.photo-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.photo-gallery-heading h3{font-size:21px;margin:0}
#profile-photo-count{color:#e5c6e8;font-size:12px;white-space:nowrap}
#profile-photo-editor>.helper,.profile-optional-intro>.helper{font-size:13px;line-height:1.7;color:#dec6e4}
.own-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}
.own-photo{border:1px solid #a16aab;background:#281132;border-radius:14px;overflow:hidden;min-width:0}
.own-photo>img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;display:block}
.own-photo-actions{padding:8px;display:flex;align-items:stretch;flex-direction:column;gap:4px}
.own-photo-actions button,.main-photo-badge{min-height:40px;display:flex;justify-content:center;align-items:center;border-radius:8px;font-family:inherit;font-size:11px;padding:7px;line-height:1.4;text-align:center;box-sizing:border-box}
.own-photo-actions button{color:#ffe8f4;border:1px solid #9b6da5;background:#4b245a;cursor:pointer}
.own-photo-actions button[data-delete-photo]{border-color:transparent;background:transparent;color:#ecc4d9}
.main-photo-badge{background:#f2a5c8;color:#34143c;font-weight:600}
.own-photo-actions button:disabled{opacity:.5;cursor:wait}
.empty-photo-gallery{grid-column:1/-1;border:1px dashed #bd8bc5;border-radius:16px;text-align:center;padding:23px 17px}
.empty-photo-gallery>span{font-size:32px;color:#f1aed1}
.empty-photo-gallery>p{font-size:15px;color:#ffe9f7;margin:8px 0}
.empty-photo-gallery>.helper{font-size:12px;color:#d9bfdf}
#profile-photo-editor .photo-actions{display:flex;gap:10px}
#choose-profile-photo{min-height:49px;font-size:14px;justify-content:center;width:100%}
#profile-photo-status{min-height:22px;margin:12px 0 0}
.profile-optional-intro{border-top:1px solid #88548b;margin-top:0;padding-top:5px}
.profile-optional-intro>summary{font-size:14px;color:#f1d7ed;padding:17px 0;min-height:49px;box-sizing:border-box;cursor:pointer}
.profile-optional-intro .profile-record-options{margin-bottom:20px}
.detail-photo-gallery{padding:0;position:relative;background:#24102f}
.detail-photo-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#df9ec5 #3e214d}
.detail-photo-track>figure{flex:0 0 100%;scroll-snap-align:start;margin:0;min-width:0}
.detail-photo-track img{display:block;width:100%;height:auto;aspect-ratio:4/5;max-height:65svh;object-fit:cover}
.detail-photo-track figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 19px;color:#dec4e5;font-size:12px}
.detail-photo-track .text-button{min-height:44px;font-size:11px}
.gallery-hint{font-size:12px;text-align:center;color:#dcc0e2;padding:0 12px 14px;margin:0}
.media-format-bar{flex-wrap:wrap}
.media-format-bar>.media-segment{max-width:100%;box-sizing:border-box}
@media(max-width:500px){
 #account-dialog>.modal-content{padding:34px 19px 23px}
 .profile-steps{gap:5px}
 .profile-steps button{font-size:11px;gap:5px;padding-inline:5px}
 .profile-steps button b{width:20px;height:20px}
 #account-form .form-grid{grid-template-columns:minmax(0,1fr);gap:19px}
 .profile-step-heading{font-size:23px}
 .profile-preview{padding:16px}
 #profile-back{padding-inline:16px}
 .profile-record-options .button{flex-basis:100%}
 .swipe-headline{font-size:13px;margin-bottom:10px}
 .own-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .own-photo-actions button,.main-photo-badge{min-height:44px;font-size:12px}
}
