.me-profile-name{flex:1}.me-profile-name h2{display:flex;align-items:center;gap:8px}.me-icon{padding:8px!important;min-width:36px!important;min-height:36px!important;background:transparent!important;border:0!important;box-shadow:none!important}.me-icon svg{width:18px;height:18px}.me-profile-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:340px}.me-profile-actions small{flex-basis:100%;text-align:right;font-size:12px;color:var(--muted)}.me-status{padding:4px 10px!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:12px!important;display:inline-flex;gap:6px;align-items:center}.me-status i{width:8px;height:8px;border-radius:50%;background:#9a8f9e}.me-status i.is-online{background:#32966b;box-shadow:0 0 0 3px #32966b15}.me-about{position:relative;min-height:220px;padding-right:200px!important}.me-about>p{white-space:pre-wrap;line-height:1.8}.me-about dl{display:flex;flex-wrap:wrap;gap:24px}.me-about dt{font-size:12px;color:var(--muted)}.me-about dd{margin:6px 0}.me-doll-preview{position:absolute;right:25px;top:20px;display:grid;justify-items:center}.me-doll-preview .mi-doll{width:120px;height:140px}.me-logout{display:flex;justify-content:center;margin:40px 0 0}.me-logout button{background:transparent!important;box-shadow:none!important;color:var(--muted)!important;border-color:transparent!important}#me-profile label,#me-rename label{display:block;margin:18px 0}.me-dialog-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.me-vibe{display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;letter-spacing:.1em;padding:8px 10px;color:inherit;text-decoration:none}.ms-head-action[data-ms=ranking]{display:inline-flex;gap:5px;font-size:12px;white-space:nowrap}.top.me-shared-header{height:var(--mh-header-height);min-height:var(--mh-header-height);padding-inline:4%;background:#fbf8f2e8;border-bottom:1px solid var(--line)}.me-shared-header .logo{width:140px;height:34px}.me-shared-header .logo img{width:100%;height:100%;object-fit:contain}.me-shared-header nav{display:none}.me-shared-header .top-right{margin-left:auto;gap:8px}.me-shared-header .top-right button{font-size:12px;min-height:34px;padding:4px 12px}.ms-shop-tabs{flex-wrap:wrap}.ms-discover-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.me-verification-card{padding:20px}.mi-hub:has(>.mi-verify-card:only-child){display:block}@media(max-width:700px){.me-profile-actions{max-width:none;justify-content:flex-start;width:100%}.me-profile-actions small{text-align:left}.me-about{padding-right:22px!important}.me-doll-preview{position:static;margin-top:20px}.ms-discover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.me-vibe{padding:6px;font-size:10px}.ms-head-action[data-ms=ranking]{font-size:10px;gap:3px}.me-shared-header .top-right{gap:2px}.me-shared-header .logo{width:110px}}@media(max-width:400px){.top .logo{width:95px!important}.ms-head-action[data-ms=ranking] svg{display:none}}
.mf-mirror{transform:scaleX(-1)}.mf-directions i{position:absolute;width:38px;height:38px;border:1px solid #fff7;border-radius:50%;display:grid;place-items:center;background:#30253966;color:#fff6;font-style:normal;font-size:24px}.mf-directions [data-direction=left]{left:12px;top:45%}.mf-directions [data-direction=right]{right:12px;top:45%}.mf-directions [data-direction=up]{left:calc(50% - 19px);top:12px}.mf-directions [data-direction=down]{left:calc(50% - 19px);bottom:45px}.mf-directions i.active{background:#b54680;color:white;box-shadow:0 0 20px #ef91cb88}.mf-directions i.matched,.mi-face-guide.matched{border-color:#58d8a5;box-shadow:0 0 20px #58d8a577}.mf-directions i.matched{background:#247e5d}
.mw-panel{margin:20px 0}.mw-panel .ms-row{justify-content:space-between}.mw-statement{padding:18px;background:#fff7;border-radius:18px;margin-bottom:20px}.mw-statement pre{white-space:pre-wrap;font:inherit;font-size:14px;line-height:1.7}#mw-bank label,#mw-request label,#mw-sign label{display:block;margin:15px 0}#mw-bank .ms-check,#mw-sign .ms-check{display:flex}
.me-landing-actions{display:flex;align-items:center;gap:8px}.me-landing-actions .ms-head-action{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;box-shadow:none;color:inherit;padding:4px 7px;border-radius:100px}.me-landing-actions svg{width:20px;height:20px}.me-landing-actions .ms-head-shop{border:1px solid #d5c1cf;background:linear-gradient(145deg,#fff8fc,#f4dce9);box-shadow:inset 0 1px #fff;padding:4px 12px}.me-landing-actions [data-dest=account]{background:#eee4f1;border-radius:50%;width:34px;height:34px}@media(max-width:600px){.me-landing-actions{gap:0}.me-landing-actions button span{font-size:10px}.me-landing-actions .ms-head-action{padding:4px}.me-landing-actions svg{width:16px;height:16px}.me-shared-header .logo{width:95px}}

/* Compact, centered dialogs: never enter as a descending sheet. */
#ms-modal{max-width:calc(100vw - 40px);width:min(880px,calc(100vw - 40px));max-height:calc(100dvh - 40px);margin:auto;animation:none;overscroll-behavior:contain}
#ms-modal:has(#mpv-settings){width:min(1040px,calc(100vw - 40px))}
#mpv-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#mpv-settings>p,#mpv-settings>button{grid-column:1/-1;margin:0}
#mpv-settings>.mpv-rule{display:flex;flex-direction:column;gap:8px;margin:0;padding:12px 14px;border-radius:18px;min-width:0}
#mpv-settings .mpv-rule label{margin:0;font-size:12px}
#mpv-settings .mpv-rule input,#mpv-settings .mpv-rule select{padding:9px 12px;height:40px;font-size:13px}
#mpv-settings>.ms-fine{font-size:11px;line-height:1.6}
#mpv-settings>[role=status]:empty{display:none}
.mp-compose-trigger{display:flex!important;align-items:center;gap:12px;width:100%;padding:10px 14px!important;border-radius:999px!important;text-align:left;background:#fff9!important;color:var(--muted)!important;border:1px solid #bca5b633!important;box-shadow:inset 0 1px 0 #fff!important;margin:0 0 16px}
.mp-compose-trigger>span:not(.ms-avatar){flex:1;font-size:13px}.mp-compose-trigger>b{font-size:12px;color:var(--ink)}
.mp-compose-trigger .ms-avatar{width:32px;height:32px}
#ms-modal:has(#ms-post){width:min(720px,calc(100vw - 32px))}
#ms-modal .mp-composer{padding:0;border:0;background:none;box-shadow:none}
#ms-modal .mp-composer h2{display:none}
#ms-modal .mp-composer textarea{min-height:150px;max-height:30dvh;background:transparent;border:0;padding:12px 0;resize:vertical}
#ms-modal .mp-composer .ms-fine{font-size:11px}
.ms-page:has(.mt-stream){max-width:640px;transform:none;margin-inline:auto}
.mt-stream{max-width:600px;margin:auto}
.mt-stream .mt-post{padding:12px 8px;margin:0;border:0;border-bottom:1px solid #80677920;border-radius:0;background:transparent;box-shadow:none}
.mt-stream .mt-post-content{margin-left:42px}.mt-stream .ms-post-text{font-size:13px;line-height:1.6}
.mt-stream .ms-post-media{max-width:440px}.mt-stream .ms-post-media img{max-height:420px;object-fit:cover}
.mt-stream .ms-safety-note{font-size:10px;padding:6px 10px;margin:5px 0}
.mc-collapse-bottom{width:100%;border:0!important;border-top:1px solid #80677920!important;border-radius:0 0 22px 22px!important;min-height:32px!important;padding:5px!important;font-size:11px!important;background:#fff6!important;color:var(--muted)!important;box-shadow:none!important;flex-shrink:0}
#ms-dock,#ms-dock.is-open{right:10px;bottom:10px}
@media(max-width:700px){#mpv-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#ms-modal:has(#mpv-settings){padding:16px}#mpv-settings>.mpv-rule{padding:8px}#mpv-settings .mpv-rule input,#mpv-settings .mpv-rule select{font-size:16px}.ms-page:has(.mt-stream){width:calc(100% - 90px);margin-left:78px}.mt-stream .mt-post-content{margin-left:0}}
