/* Sarana: responsive unified profile setup */
.ml-sibling-row[hidden]{display:none!important}
.ml-sibling-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ml-sibling-heading h4{margin:0;font-size:1rem;color:#742d4e}
.ml-sibling-row{border:1px solid #ead4dc;border-radius:14px;padding:16px;margin:12px 0;background:linear-gradient(150deg,#fffdfa,#fff3f8);box-shadow:0 5px 15px #6a2e3e13}
.ml-sibling-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.ml-sibling-actions button{background:linear-gradient(145deg,#fff,#fff0f5);border-color:#ba7595}
.ml-horoscope-upload{margin:12px 18px 20px;padding:20px;border-radius:18px;background:linear-gradient(120deg,#fff7ee,#fff3f7);border:1px solid #e1c59c;box-shadow:inset 0 2px #fff,0 10px 24px #9b6c5a1b}
.ml-horoscope-upload h3{margin:0 0 6px;color:#74334e}
.ml-horoscope-upload input[type=file]{display:block;width:100%;margin-top:8px}
.ml-horoscope-upload .button{margin-top:12px}
.ml-combined-progress{border-radius:20px;border:1px solid #d9bb90;background:linear-gradient(128deg,#fffaf0,#fff4f8 70%,#fff);box-shadow:0 10px 29px #68284416}
.ml-progress-title{display:flex;justify-content:space-between;gap:12px;align-items:center}
.ml-progress-title h2{margin:0}.ml-progress-title strong{font-size:1.5rem;color:#8d2350}
.ml-progress-checklist{list-style:none;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ml-progress-checklist li{display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:12px;padding:10px 12px;background:#fff;border:1px solid #f0dbe1}
.ml-progress-checklist a{font-size:.92rem;color:#5a2b40;text-decoration:none}
.ml-progress-checklist li span{white-space:nowrap;font-size:.79rem;color:#925c47}
.ml-progress-checklist li .is-done{color:#187453;font-weight:750}
@media(max-width:650px){.ml-progress-checklist{grid-template-columns:1fr}.ml-sibling-row{padding:12px}.ml-horoscope-upload{margin:10px 12px 16px;padding:14px}}

#ml-profile-height{scroll-margin-top:100px}
#ml-partner-expectations,#horoscope,#identity-verification{scroll-margin-top:95px}
#ml-profile-height select{border:1px solid #bd8f67;box-shadow:inset 0 1px #fff}
#ml-siblings-section [hidden]{display:none!important}
.ml-horoscope-upload .outline{margin:.2rem .3rem .2rem 0}
/* Simplified profile editor */

main:has(#ml-flow-form){max-width:880px!important;width:calc(100% - 32px)}
#profile-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:start}
#profile-details>label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0!important;width:auto!important;grid-column:auto!important}
#profile-details>label[hidden]{display:none!important}
#profile-details input,#profile-details select,#profile-details .ml-select{width:100%;min-width:0;box-sizing:border-box}
#profile-details>label#profile-about{grid-column:1/-1!important}
#profile-about textarea{width:100%;min-height:200px;resize:vertical;box-sizing:border-box}
.ml-editor-status{font-size:14px;margin:12px 0 18px}.ml-guide{padding:16px!important;margin:16px 0!important}.ml-guide h2{font-size:18px!important}.ml-guide h3{font-size:14px!important;margin:12px 0 8px!important}
.ml-language-menu{position:relative;display:inline-block}.ml-language-menu>summary{cursor:pointer;list-style:none;padding:10px 14px;border:1px solid #d9c1ca;border-radius:12px;color:#752d49;font-weight:600;background:#fffaf6}.ml-language-options{position:absolute;right:0;top:100%;z-index:1000;min-width:150px;padding:8px;background:white;border:1px solid #e4d6dc;border-radius:12px;box-shadow:0 6px 24px #0002}.ml-language-options button{display:block;width:100%;margin:4px 0}
.ml-edit-toolbar .ml-profile-top-logout{margin:0!important;float:none!important}.ml-edit-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 14px}
@media(max-width:600px){#profile-details{grid-template-columns:minmax(0,1fr);gap:16px}main:has(#ml-flow-form){width:calc(100% - 24px)}#profile-about textarea{min-height:200px}}

.ml-guide-items{flex-wrap:wrap!important;overflow:visible!important}.ml-guide-items a{white-space:normal!important}

#ml-profile-height>span[aria-hidden="true"]{display:none}

/* Consistent section icons and categorized interests. */
#ml-ordered-steps>details>summary{display:flex;align-items:center;gap:12px}
#ml-ordered-steps>details>summary>.ml-detail-symbol{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#f8e7f0;color:#922e5e;font-size:22px}
#ml-ordered-steps>details>summary>strong{flex:1;min-width:0}
.ml-interest-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 28px}
.ml-interest-categories a{display:flex;align-items:center;gap:10px;border:1px solid #e6ced8;border-radius:14px;padding:16px;background:#fffaf7;color:#752d49;text-decoration:none;font-weight:700}
.ml-interest-categories a[aria-current=page]{background:#752d49;color:white;border-color:#752d49}
.ml-interest-status{display:inline-block;background:#f8edf2;color:#752d49;border-radius:20px;padding:5px 12px;font-size:.85rem}
@media(max-width:600px){.ml-interest-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-interest-categories a{padding:12px;font-size:.9rem}}

/* Owner-only profile preview, using the saved ten-section profile. */
.mlpv{max-width:1140px}.mlpv-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.mlpv-top h1{margin:8px 0 12px;font-size:clamp(28px,4vw,44px)}.mlpv-note{color:#72636b;font-size:.9rem;margin:0 0 24px}.mlpv-hero{display:grid;grid-template-columns:210px 1fr;gap:32px;padding:32px;border:1px solid #ead5df;border-radius:26px;background:linear-gradient(120deg,#f5e3db,#f8eaf1 55%,#fffaf0);margin-bottom:24px}.mlpv-portrait{aspect-ratio:4/5;border:5px solid white;border-radius:22px;overflow:hidden;box-shadow:0 8px 24px #752d4915}.mlpv-portrait img,.mlpv-portrait svg{width:100%;height:100%;object-fit:cover}.mlpv-identity{align-self:center;min-width:0}.mlpv-identity h2{font-size:clamp(30px,4vw,48px);margin:10px 0;color:#752d49;overflow-wrap:anywhere}.mlpv-location{color:#68545f}.mlpv-tags,.mlpv-review{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.mlpv-tags>span{padding:7px 12px;border-radius:20px;background:#fff9;color:#752d49;font-size:.9rem}.mlpv-review{align-items:center;font-size:.85rem}.mlpv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.mlpv-card{padding:24px;border:1px solid #ead8df;border-radius:20px;background:#fffdfa;min-width:0;box-shadow:0 6px 25px #752d4905}.mlpv-card header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.mlpv-card h2{font-size:1.2rem;margin:0;color:#752d49}.mlpv-card header a{font-size:.85rem;white-space:nowrap}.mlpv-card dl{margin:0}.mlpv-card dl>div{display:grid;grid-template-columns:45% 1fr;gap:14px;padding:10px 0;border-bottom:1px solid #f0e6ea}.mlpv-card dl>div:last-child{border:0}.mlpv-card dt{color:#84707b;font-size:.9rem}.mlpv-card dd{margin:0;color:#382c32;font-weight:600;overflow-wrap:anywhere}.mlpv-intro p{white-space:normal;line-height:1.8;overflow-wrap:anywhere}.mlpv-album{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mlpv-album img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}@media(max-width:640px){.mlpv-top{align-items:flex-start}.mlpv-top .outline{padding:10px}.mlpv-hero{grid-template-columns:100px 1fr;padding:18px;gap:16px;border-radius:20px}.mlpv-portrait{border-width:3px;border-radius:14px}.mlpv-identity h2{font-size:26px}.mlpv-identity .eyebrow{font-size:10px}.mlpv-tags{margin-top:10px}.mlpv-tags>span{font-size:11px;padding:5px 8px}.mlpv-grid{grid-template-columns:1fr}.mlpv-card{padding:18px}.mlpv-album{grid-template-columns:repeat(2,minmax(0,1fr))}.mlpv-location{font-size:12px}}

/* Compact spacing, with explicit heading sizes overriding the shared theme. */
body main.section{padding-top:28px;padding-bottom:32px}
body main.mlpv{max-width:1100px}
body .mlpv .mlpv-top h1{font-size:30px;line-height:1.2;margin:4px 0 8px;letter-spacing:normal;text-transform:none}
body .mlpv .mlpv-note{margin:0 0 16px;font-size:13px;line-height:1.5}
body .mlpv .mlpv-hero{grid-template-columns:150px 1fr;padding:20px;gap:24px;margin-bottom:16px;border-radius:20px}
body .mlpv .mlpv-identity h2{font-size:34px;line-height:1.2;margin:6px 0 8px;letter-spacing:normal}
body .mlpv .mlpv-identity .eyebrow{letter-spacing:.06em;text-transform:none}
body .mlpv .mlpv-location{margin:8px 0}
body .mlpv .mlpv-tags,body .mlpv .mlpv-review{margin-top:10px}
body .mlpv .mlpv-grid{gap:14px;margin:14px 0;align-items:start}
body .mlpv .mlpv-card{padding:18px;border-radius:16px}
body .mlpv .mlpv-card header{margin-bottom:10px}
body .mlpv .mlpv-card h2{font-size:19px;line-height:1.3;margin:0;letter-spacing:normal;text-transform:none}
body .mlpv .mlpv-card dl>div{padding:7px 0;gap:10px}
body .mlpv .mlpv-card p{margin:8px 0;line-height:1.6}
.mlpv-badges{margin:8px 0}.mlpv-accessibility{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;background:#f5edf9;color:#6d367b;border:1px solid #dfcce8;font-size:13px;font-weight:600}
body #ml-ordered-steps>details{margin-bottom:12px}body #ml-ordered-steps>details>summary{padding:14px 18px}
@media(max-width:640px){body main.section{padding-top:18px;padding-bottom:24px}body .mlpv .mlpv-hero{grid-template-columns:90px 1fr;padding:14px;gap:14px}body .mlpv .mlpv-identity h2{font-size:25px}body .mlpv .mlpv-top h1{font-size:25px}body .mlpv .mlpv-card{padding:15px}body .mlpv .mlpv-card h2{font-size:18px}body .mlpv .mlpv-grid{gap:12px}}

.ml-name-membership-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px}.ml-name-membership-row>h1,.ml-name-membership-row>h2{margin-bottom:0!important}.ml-name-membership{display:inline-flex;flex-direction:column;gap:4px;padding:8px 12px;border:1px solid #dfc694;border-radius:12px;background:#fff8e9;color:#752d49;text-decoration:none;line-height:1.3;flex-shrink:0}.ml-name-membership strong{font-family:inherit;font-size:13px;font-weight:700;letter-spacing:normal}.ml-name-membership small{display:flex;gap:6px;font-size:11px;color:#776752;letter-spacing:normal}.ml-name-membership:hover{background:#fbedcf}@media(max-width:600px){.ml-name-membership-row{gap:8px}.ml-name-membership{padding:6px 9px}.ml-name-membership strong{font-size:12px}}

/* Four-photo album and a tighter, warmer profile introduction. */
body .mlpv .mlpv-hero{grid-template-columns:120px 1fr;padding:16px;gap:20px;margin-bottom:12px;background:linear-gradient(115deg,#eee2d5 0%,#f1ede5 55%,#e7efeb 100%);border-color:#ded8cb;border-radius:18px}
body .mlpv .mlpv-identity>.eyebrow{display:block;font-size:14px;font-weight:700;line-height:1.35;letter-spacing:.025em;color:#806442;margin-bottom:5px;text-transform:none}
body .mlpv .mlpv-identity h2{font-weight:700;font-size:32px;margin:2px 0 5px;line-height:1.15}
body .mlpv .mlpv-portrait{border-width:4px;border-radius:16px;box-shadow:0 5px 15px #665c4912}
body .mlpv .mlpv-location{margin:6px 0;font-size:14px}
body .mlpv .mlpv-tags,body .mlpv .mlpv-review{margin-top:8px;gap:6px}
body .mlpv .mlpv-tags>span{padding:5px 10px;font-size:13px}
body .mlpv .mlpv-grid{margin:12px 0;gap:12px}
body .mlpv .mlpv-album,#gallery-manager .ml-gallery-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media(max-width:700px){body .mlpv .mlpv-album,#gallery-manager .ml-gallery-editor{grid-template-columns:repeat(2,minmax(0,1fr))}body .mlpv .mlpv-hero{grid-template-columns:90px 1fr;padding:12px;gap:12px}body .mlpv .mlpv-identity h2{font-size:25px}body .mlpv .mlpv-identity>.eyebrow{font-size:13px}body .mlpv .mlpv-location{font-size:12px}}

/* Compact identity verification marker beside the member name. */
body .verified-account-badge.ml-verified-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;min-width:20px;padding:0;margin:0 0 0 6px;border:0;background:transparent;box-shadow:none;vertical-align:middle;line-height:1;letter-spacing:normal}
body .ml-verified-icon .verified-account-check{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#1877df;color:#fff;font:700 13px/1 Arial,sans-serif}
