/* MGR_PROFILE_INLINE_V1 - scoped to the profile form */
#mgrSono #profileModal.mgr-profile-inline{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;color:#edf3ff;}
#mgrSono #profileModal.mgr-profile-inline>.modal-head,#mgrSono #profileModal #profileDebugBox{display:none!important}
#mgrSono #profileModal .form-stack{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:22px!important;align-items:start}
#mgrSono #profileModal .mgr-profile-group{padding:26px;border:1px solid #344665;border-radius:18px;background:linear-gradient(135deg,#142039,#101727);min-width:0;box-shadow:0 12px 30px #0002}
#mgrSono #profileModal .mgr-profile-group:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
#mgrSono #profileModal .mgr-profile-group h2{font:700 21px/1.3 system-ui;color:#e8f5ff;margin:0 0 8px}
#mgrSono #profileModal .mgr-profile-group>p{font:14px/1.6 system-ui;color:#aebed6;margin:0 0 22px}
#mgrSono #profileModal .mgr-profile-group:last-child>h2,#mgrSono #profileModal .mgr-profile-group:last-child>p,#mgrSono #profileModal #discordLinkBox{grid-column:1/-1}
#mgrSono #profileModal label{display:block;margin:16px 0 0;font:600 14px/1.5 system-ui;color:#dce8fa}
#mgrSono #profileModal input:not([type=radio]):not([type=checkbox]),#mgrSono #profileModal textarea,#mgrSono #profileModal select{display:block;box-sizing:border-box;width:100%;min-height:46px;margin:8px 0 0;padding:12px 14px;border:1px solid #435676;border-radius:10px;background:#0a1425;color:#f3f7ff;font:15px/1.5 system-ui}
#mgrSono #profileModal textarea{min-height:112px;resize:vertical}
#mgrSono #profileModal input[type=color]{width:90px!important;padding:5px!important}
#mgrSono #profileModal input[type=radio],#mgrSono #profileModal input[type=checkbox]{accent-color:#77d6ed;width:19px!important;height:19px;flex-shrink:0}
#mgrSono #profileModal #profileAvatarPreview{width:132px!important;height:132px!important;border:3px solid #76d8e8!important;display:block;margin:20px auto}
#mgrSono #profileModal :is(input,select,textarea,button,a):focus-visible{outline:2px solid #77e6f7;outline-offset:3px}
#mgrSono #profileModal .modal-actions{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin:24px 0 90px!important;padding:22px;border:1px solid #344665;border-radius:16px;background:#142039}
#mgrSono #profileModal #mgrProfileNotice{margin:0;color:#bdd6e7;font:14px/1.6 system-ui}
#mgrSono #profileModal #saveProfile{min-height:48px;padding:12px 24px;border:1px solid #89d9eb;border-radius:12px;background:linear-gradient(110deg,#17647a,#6950a9);color:white;font:700 15px system-ui;cursor:pointer}
#mgrSono #profileModal #discordLinkBox{padding:18px;border:1px solid #405173;border-radius:12px;margin-top:12px}
@media(max-width:760px){#mgrSono #profileModal .form-stack,#mgrSono #profileModal .mgr-profile-group:last-child{grid-template-columns:1fr}#mgrSono #profileModal .mgr-profile-group{padding:18px}#mgrSono #profileModal #saveProfile{width:100%}}

/* MGR_PROFILE_STYLE_V2 */
#mgrSono:has(#profileModal.mgr-profile-inline) #sonoBody{max-width:1380px!important;margin:0 auto!important}
#mgrSono:has(#profileModal.mgr-profile-inline) .sono-heading{margin-bottom:26px!important;border-color:#365272!important;box-shadow:0 18px 50px #0003!important}
#mgrSono:has(#profileModal.mgr-profile-inline) .sono-heading h1{letter-spacing:-1.7px!important;text-shadow:0 0 35px #62dfff26!important}
#mgrSono #profileModal.mgr-profile-inline .form-stack{display:grid!important;grid-template-columns:minmax(0,1fr) 370px!important;gap:24px!important;align-items:stretch!important}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group{position:relative!important;box-sizing:border-box!important;padding:30px!important;border:1px solid #354967!important;border-radius:24px!important;background:radial-gradient(ellipse at 0 0,#16475b35,transparent 65%),linear-gradient(145deg,#142239,#0b1426)!important;box-shadow:0 20px 45px #0003,inset 0 1px #ffffff09!important;min-width:0!important}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:before{content:'';position:absolute;top:0;left:30px;right:30px;height:2px;background:linear-gradient(90deg,#54d9ec,#a88aff,transparent);border-radius:2px}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group h2{font:750 22px/1.4 system-ui,sans-serif!important;letter-spacing:-.5px!important;color:#ecf6ff!important;margin:0!important}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group>p{font:14px/1.6 system-ui,sans-serif!important;color:#a9bed7!important;margin:6px 0 12px!important}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px 20px!important;align-content:start!important}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:first-child>h2,#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:first-child>p,#mgrSono #profileModal.mgr-profile-inline label:has(#profileBio){grid-column:1/-1!important}
#mgrSono #profileModal.mgr-profile-inline label{box-sizing:border-box!important;min-width:0!important;display:block!important;padding:0!important;margin:8px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#c9dbed!important;font:600 13px/1.6 system-ui,sans-serif!important;letter-spacing:.1px!important}
#mgrSono #profileModal.mgr-profile-inline input:not([type=checkbox]):not([type=radio]),#mgrSono #profileModal.mgr-profile-inline select,#mgrSono #profileModal.mgr-profile-inline textarea{box-sizing:border-box!important;width:100%!important;min-height:48px!important;margin-top:8px!important;padding:12px 15px!important;border:1px solid #354d6a!important;border-radius:12px!important;background:#081426!important;color:#f0f6ff!important;box-shadow:inset 0 2px 6px #0002!important;font:400 15px/1.6 system-ui,sans-serif!important;transition:border-color .18s,box-shadow .18s!important}
#mgrSono #profileModal.mgr-profile-inline :is(input,textarea,select):hover{border-color:#5c7898!important}
#mgrSono #profileModal.mgr-profile-inline :is(input,textarea,select):focus{border-color:#68dcec!important;outline:2px solid #68dcec44!important;outline-offset:2px!important;box-shadow:0 0 20px #42c7e412!important}
#mgrSono #profileModal.mgr-profile-inline textarea{min-height:160px!important;resize:vertical!important}
#mgrSono #profileModal.mgr-profile-inline input[type=color]{width:100%!important;height:48px!important;padding:7px!important;cursor:pointer}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:nth-child(2){background:radial-gradient(circle at 50% 35%,#7350ae30,transparent 55%),linear-gradient(155deg,#172139,#101629)!important}
#mgrSono #profileModal.mgr-profile-inline #profileAvatarPreview{display:block!important;width:160px!important;height:160px!important;margin:26px auto!important;border-radius:28px!important;border:3px solid #8ee4f0!important;outline:8px solid #76cce50b!important;box-shadow:0 0 0 12px #a285ef08,0 15px 45px #0005,0 0 40px #57dcea19!important;object-fit:cover!important}
#mgrSono #profileModal.mgr-profile-inline input[type=file]{padding:8px!important;min-height:46px!important;font-size:11px!important;overflow:hidden!important}
#mgrSono #profileModal.mgr-profile-inline input[type=file]::file-selector-button{padding:9px 12px;margin-right:9px;border:1px solid #6385b0;border-radius:8px;background:#243958;color:#eef8ff;font:600 12px system-ui;cursor:pointer}
#mgrSono #profileModal.mgr-profile-inline label:has(input[type=radio]),#mgrSono #profileModal.mgr-profile-inline label:has(input[type=checkbox]){display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;margin-top:10px!important;border:1px solid #354767!important;border-radius:12px!important;background:#101e33!important;cursor:pointer!important}
#mgrSono #profileModal.mgr-profile-inline label:has(input:checked){border-color:#70ccdf!important;background:linear-gradient(110deg,#164054,#322b52)!important;color:#f1fbff!important;box-shadow:inset 3px 0 #65d8ed!important}
#mgrSono #profileModal.mgr-profile-inline input[type=radio],#mgrSono #profileModal.mgr-profile-inline input[type=checkbox]{margin:0!important;width:17px!important;height:17px!important;min-height:17px!important;accent-color:#72dbea!important}
#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:last-child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px 22px!important}
#mgrSono #profileModal.mgr-profile-inline #discordLinkBox{padding:20px!important;margin-top:10px!important;border:1px solid #5b5789!important;border-radius:16px!important;background:linear-gradient(110deg,#202640,#26203e)!important}
#mgrSono #profileModal.mgr-profile-inline #discordLinkBox :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #8275bb;border-radius:10px;background:#38305c;color:#f5f1ff;font:600 13px system-ui;text-decoration:none}
#mgrSono #profileModal.mgr-profile-inline .modal-actions{padding:20px 24px!important;margin:24px 0 90px!important;border:1px solid #496181!important;border-radius:18px!important;background:linear-gradient(110deg,#142d40,#221e3e)!important;box-shadow:0 15px 35px #0003!important}
#mgrSono #profileModal.mgr-profile-inline #saveProfile{min-height:50px!important;padding:14px 26px!important;border:1px solid #99e2ef!important;border-radius:12px!important;background:linear-gradient(110deg,#176d83,#7450b3)!important;color:white!important;font:700 15px system-ui!important;box-shadow:0 5px 22px #55b9e026!important;transition:filter .18s!important}
#mgrSono #profileModal.mgr-profile-inline #saveProfile:hover{filter:brightness(1.15)}
@media(max-width:1100px){#mgrSono #profileModal.mgr-profile-inline .form-stack{grid-template-columns:minmax(0,1fr)!important}#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:nth-child(2){grid-row:auto!important}}
@media(max-width:600px){#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group{padding:22px 18px!important;border-radius:18px!important}#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:first-child,#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group:last-child{grid-template-columns:minmax(0,1fr)!important}#mgrSono #profileModal.mgr-profile-inline .mgr-profile-group h2{font-size:20px!important}#mgrSono #profileModal.mgr-profile-inline #saveProfile{width:100%!important}#mgrSono #profileModal.mgr-profile-inline #profileAvatarPreview{width:140px!important;height:140px!important}}
