@layer mmx-profile,mmx-admin-console,mmx-2026,mmx-modern,mmx-legacy;
@layer mmx-profile{
 :root{--pf-bg:#191b22;--pf-field:#111319;--pf-text:#f1f2f6;--pf-muted:#a4a9b9;--pf-line:#333744;--pf-accent:#93a6ff;--pf-button:#d1d9ff;--pf-button-text:#252e59;--pf-wash:#232838}
 html[data-theme=light],html[data-mmx-theme=light]{--pf-bg:#fff;--pf-field:#f8f9fc;--pf-text:#2c3447;--pf-muted:#747e92;--pf-line:#e3e7f0;--pf-accent:#425de4;--pf-button:#425de4;--pf-button-text:#fff;--pf-wash:#f1f4ff}
 .mmx-profile-name.has-profile-color,.msgname.has-profile-color{color:var(--mmx-profile-name-color)!important}
 #mmxComments .mmx-white-identity-wrap{position:relative!important;width:40px!important;min-width:0!important;}
 #mmxComments .mmx-white-own-avatar{cursor:pointer!important;}
 #mmxComments .mmx-white-own-avatar:after{display:none!important;}
 #mmxComments .mmx-persona-selector{position:absolute!important;right:-5px!important;top:25px!important;}
 #mmxComments .mmx-persona-toggle{display:grid!important;place-items:center!important;cursor:pointer!important;list-style:none!important;width:20px!important;height:20px!important;border:2px solid var(--pf-bg)!important;border-radius:50%!important;background:var(--pf-wash)!important;color:var(--pf-text)!important;}
 #mmxComments .mmx-persona-toggle svg{width:13px!important;height:13px!important;}
 #mmxComments .mmx-persona-selector .mmx-identity-menu{left:-29px!important;}
 html body .mmx-profile-menu{display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;min-width:0!important;min-height:64px!important;padding:12px!important;border:1px solid var(--pf-line)!important;border-radius:13px!important;background:var(--pf-bg)!important;color:var(--pf-text)!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;text-transform:none!important;letter-spacing:normal!important;}
 html body .mmx-profile-menu:hover{background:var(--pf-wash)!important;border-color:var(--pf-accent)!important}
 html body .mmx-profile-menu-avatar{display:grid!important;place-items:center!important;width:35px!important;height:35px!important;flex:0 0 35px!important;overflow:hidden!important;border-radius:50%!important;background:var(--pf-wash)!important;color:var(--pf-accent)!important;font-size:13px!important;font-weight:700!important;}
 html body .mmx-profile-menu-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important;}
 html body .mmx-profile-menu-copy{min-width:0!important;flex:1!important;display:block!important;}
 html body .mmx-profile-menu-copy strong{display:block!important;font-size:12px!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.5!important;}
 html body .mmx-profile-menu-copy small{display:block!important;color:var(--pf-muted)!important;font-size:10px!important;line-height:1.6!important;margin-top:2px!important;font-weight:400!important;}
 html body .mmx-profile-menu>svg{width:14px!important;height:14px!important;flex:none!important;color:var(--pf-muted)!important;}
 html body .mmx-member-logout{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin-top:10px!important;padding:6px 10px!important;min-height:28px!important;color:var(--pf-muted)!important;font-size:11px!important;}
 html body .mmx-member-logout svg{width:15px!important;height:15px!important;}
 html body .mmx-profile-dialog{box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;width:min(480px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;border:1px solid var(--pf-line)!important;border-radius:18px!important;background:var(--pf-bg)!important;color:var(--pf-text)!important;box-shadow:0 30px 100px #0005!important;font:13px/1.5 Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;text-align:left!important;scrollbar-width:thin!important;overscroll-behavior:contain!important;}
 .mmx-profile-dialog:not([open]){display:none!important}
 .mmx-profile-dialog::backdrop{background:#0a0e1980;backdrop-filter:blur(5px)}
 html body .mmx-profile-dialog *{box-sizing:border-box!important;letter-spacing:normal!important;text-shadow:none!important;}
 html body .mmx-profile-dialog form{padding:0!important;margin:0!important;background:transparent!important;display:block!important;width:100%!important;}
 html body .mmx-profile-dialog .pf-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;padding:23px 26px 20px!important;border-bottom:1px solid var(--pf-line)!important;background:var(--pf-bg)!important;}
 html body .mmx-profile-dialog .pf-kicker{display:block!important;color:var(--pf-accent)!important;font-size:9px!important;font-weight:650!important;letter-spacing:.12em!important;margin-bottom:7px!important;}
 html body .mmx-profile-dialog h2{margin:0!important;font-size:21px!important;font-weight:650!important;line-height:1.3!important;color:var(--pf-text)!important;letter-spacing:-.5px!important;}
 html body .mmx-profile-dialog button{appearance:none!important;font:600 12px/1.4 Inter,system-ui,sans-serif!important;text-transform:none!important;box-shadow:none!important;cursor:pointer!important;min-height:36px!important;width:auto!important;padding:8px 12px!important;border:1px solid var(--pf-line)!important;border-radius:8px!important;background:var(--pf-field)!important;color:var(--pf-text)!important;transition:background .15s!important;}
 html body .mmx-profile-dialog button:hover{background:var(--pf-wash)!important;border-color:var(--pf-accent)!important;}
 html body .mmx-profile-dialog button:disabled,html body .mmx-profile-dialog input:disabled{opacity:.55!important;cursor:wait!important;}
 html body .mmx-profile-dialog button.pf-close{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;min-height:31px!important;border:0!important;background:transparent!important;border-radius:50%!important;padding:0!important;font-size:23px!important;font-weight:400!important;color:var(--pf-muted)!important;}
 html body .mmx-profile-dialog .pf-body{padding:24px 26px!important;}
 html body .mmx-profile-dialog .pf-photo-row{display:flex!important;gap:22px!important;align-items:center!important;padding:0!important;margin:0 0 25px!important;background:none!important;border:0!important;}
 html body .mmx-profile-dialog .pf-photo{display:grid!important;place-items:center!important;width:100px!important;height:100px!important;flex:0 0 100px!important;overflow:hidden!important;border:3px solid var(--pf-line)!important;border-radius:50%!important;background:var(--pf-wash)!important;color:var(--pf-accent)!important;font-size:35px!important;font-weight:650!important;}
 html body .mmx-profile-dialog .pf-photo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
 html body .mmx-profile-dialog .pf-photo-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;min-width:0!important;}
 html body .mmx-profile-dialog .pf-photo-actions p{margin:0!important;color:var(--pf-muted)!important;font-size:10px!important;line-height:1.7!important;}
 html body .mmx-profile-dialog .pf-text{padding:0!important;border:0!important;background:none!important;color:var(--pf-accent)!important;font-size:11px!important;font-weight:450!important;min-height:22px!important;}
 html body .mmx-profile-dialog .pf-label{display:block!important;color:var(--pf-text)!important;font-size:12px!important;font-weight:550!important;line-height:1.5!important;margin:0 0 8px!important;padding:0!important;}
 html body .mmx-profile-dialog input:not([type=hidden]):not([type=file]):not([type=color]){appearance:none!important;display:block!important;width:100%!important;min-height:43px!important;border:1px solid var(--pf-line)!important;border-radius:9px!important;padding:11px 12px!important;background:var(--pf-field)!important;color:var(--pf-text)!important;font:13px/1.5 Inter,system-ui,sans-serif!important;box-shadow:none!important;text-align:left!important;}
 html body .mmx-profile-dialog input:focus{border-color:var(--pf-accent)!important;outline:2px solid var(--pf-wash)!important;outline-offset:1px!important;}
 html body .mmx-profile-dialog .pf-help{margin:7px 0 23px!important;color:var(--pf-muted)!important;font-size:10px!important;}
 html body .mmx-profile-dialog .pf-color-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin-bottom:10px!important;}
 html body .mmx-profile-dialog .pf-color-head .pf-label{margin-bottom:0!important;}
 html body .mmx-profile-dialog .pf-swatches{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
 html body .mmx-profile-dialog .pf-swatches button{display:block!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;border-radius:50%!important;padding:0!important;background:var(--swatch)!important;border:4px solid var(--pf-bg)!important;outline:1px solid transparent!important;}
 html body .mmx-profile-dialog .pf-swatches button[aria-pressed=true]{outline:2px solid var(--swatch)!important;}
 html body .mmx-profile-dialog .pf-custom-color{display:flex!important;align-items:center!important;gap:9px!important;margin-top:15px!important;color:var(--pf-muted)!important;font-size:11px!important;}
 html body .mmx-profile-dialog input[type=color]{appearance:auto!important;display:block!important;width:30px!important;height:25px!important;padding:0!important;border:1px solid var(--pf-line)!important;border-radius:5px!important;background:var(--pf-field)!important;cursor:pointer!important;}
 html body .mmx-profile-dialog .pf-preview{margin-top:23px!important;padding-top:19px!important;border-top:1px solid var(--pf-line)!important;background:none!important;}
 html body .mmx-profile-dialog .pf-preview-label{display:block!important;margin-bottom:12px!important;font-size:9px!important;letter-spacing:.1em!important;color:var(--pf-muted)!important;}
 html body .mmx-profile-dialog .pf-preview-person{display:flex!important;align-items:center!important;gap:11px!important;}
 html body .mmx-profile-dialog .pf-preview-avatar{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important;overflow:hidden!important;border-radius:50%!important;background:var(--pf-wash)!important;color:var(--pf-accent)!important;font-size:13px!important;font-weight:650!important;}
 html body .mmx-profile-dialog .pf-preview-avatar img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;}
 html body .mmx-profile-dialog .pf-preview-person strong{display:block!important;color:var(--pf-text)!important;font-size:13px!important;font-weight:650!important;}
 html body .mmx-profile-dialog .pf-preview-person strong.has-profile-color{color:var(--mmx-profile-name-color)!important;}
 html body .mmx-profile-dialog .pf-preview-person small{display:block!important;color:var(--pf-muted)!important;font-size:10px!important;margin-top:2px!important;}
 html body .mmx-profile-dialog .pf-status{margin:16px 0 0!important;padding:9px 11px!important;border-radius:7px!important;background:var(--pf-wash)!important;color:var(--pf-accent)!important;font-size:11px!important;line-height:1.7!important;}
 html body .mmx-profile-dialog .pf-status.is-error{background:#c84b5a14!important;color:#e98290!important;}
 html body .mmx-profile-dialog .pf-footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;padding:17px 26px!important;border-top:1px solid var(--pf-line)!important;background:var(--pf-bg)!important;}
 html body .mmx-profile-dialog .pf-primary{background:var(--pf-button)!important;border-color:var(--pf-button)!important;color:var(--pf-button-text)!important;}
 html body .mmx-profile-dialog :is(button,a,input):focus-visible{outline:2px solid var(--pf-accent)!important;outline-offset:3px!important;}
 @media(max-width:420px){html body .mmx-profile-dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:15px!important;}html body .mmx-profile-dialog :is(.pf-head,.pf-body){padding:20px!important;}html body .mmx-profile-dialog .pf-footer{padding:15px 20px!important;}html body .mmx-profile-dialog h2{font-size:19px!important;}html body .mmx-profile-dialog .pf-photo{width:82px!important;height:82px!important;flex-basis:82px!important;}html body .mmx-profile-dialog .pf-photo-row{gap:17px!important;}html body .mmx-profile-dialog .pf-swatches{gap:8px!important;}html body .mmx-profile-dialog .pf-swatches button{width:27px!important;min-width:27px!important;height:27px!important;min-height:27px!important;}}
 @media(prefers-reduced-motion:reduce){html body .mmx-profile-dialog button{transition:none!important;}}
}
