dialog.mg-profile-share[open]{
 color:#f9e6c8;background:radial-gradient(ellipse at 50% 0,#552341,#2a1327 80%);
 border:1px solid #d99b63;border-radius:16px;box-shadow:0 14px 75px #100411cc;
 overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:10px 14px;
 max-inline-size:min(420px,calc(100dvw - 22px));inline-size:100%;
 max-block-size:calc(100dvh - 16px);font:600 14px system-ui,sans-serif;
}
.mg-profile-share::backdrop{background:#150916c9}
.mg-profile-share header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 7px}
.mg-profile-share h3{font:700 22px Georgia,serif;margin:0;color:#ffdfa1}
.mg-profile-share canvas{display:block;max-width:100%;width:auto;height:min(59dvh,550px);aspect-ratio:2/3;object-fit:contain;margin:0 auto;border-radius:10px}
.mg-profile-share-actions{display:flex;justify-content:center;align-items:center;gap:7px;margin:9px 0 0}
.mg-profile-share button{font:inherit;color:#ffe9bd;border-radius:8px;border:1px solid #b78157;background:#44233b;padding:6px 11px;cursor:pointer}
.mg-profile-share button:focus-visible{outline:2px solid #ffde9a;outline-offset:2px}
.mg-profile-share button:disabled{cursor:default;opacity:.62}
.mg-profile-share button[hidden]{display:none!important}
.mg-profile-share p{font-size:11px;margin:7px 0 1px;text-align:center;color:#eed0bd}
@media(max-height:440px) and (orientation:landscape){.mg-profile-share canvas{height:52dvh}}
@media(prefers-reduced-motion:no-preference){
 .mg-profile-share canvas{animation:mg-profile-share-reveal .34s ease-out both}
 @keyframes mg-profile-share-reveal{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
}
