.avatar-view-trigger { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; }
.avatar-view-trigger:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.avatar-viewer { position: fixed; inset: 0; margin: auto; box-sizing: border-box; width: min(90vw, 840px); max-width: 90vw; max-height: 90dvh; padding: 48px 12px 12px; border: 1px solid #545061; border-radius: 18px; background: #101219; color: white; }
.avatar-viewer::backdrop { background: rgba(0, 0, 0, .85); }
.avatar-viewer-image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(90dvh - 72px); margin: 0 auto; object-fit: contain; border-radius: 8px; }
.avatar-viewer-close { position: absolute; top: 5px; left: 8px; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: white; font-size: 28px; cursor: pointer; }
.avatar-viewer-close:focus-visible { outline: 2px solid #d6a8ff; }
