/* V435 — unified, readable notification bell for all roles/preview states. */
.navbar #ucp-bell-open{
  box-sizing:border-box!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(148,163,184,.28)!important;border-radius:12px!important;
  background:rgba(250,250,249,.97)!important;color:#273449!important;
  box-shadow:0 2px 8px rgba(15,23,42,.07)!important;
  font-family:system-ui,sans-serif!important;font-size:20px!important;
  text-shadow:none!important;opacity:1!important;cursor:pointer!important;
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  padding:0!important;line-height:1!important;
}
.navbar #ucp-bell-open .ucp-unified-bell-icon{display:grid!important;place-items:center!important;font-size:20px!important;line-height:1!important;filter:none!important;transform:none!important;}
.navbar #ucp-bell-open i[hidden]{display:none!important}
html:not([data-theme="light"]) .navbar #ucp-bell-open{
  background:rgba(28,35,53,.96)!important;color:#f7e5c7!important;
  border-color:rgba(148,163,184,.38)!important;
}
.navbar #ucp-bell-open:focus-visible{outline:3px solid #ed8a2d!important;outline-offset:2px!important}
/* Shared avatar aperture calibration from full-resolution transparent frame alpha.
   Decorative spikes belong to the TOP image layer; the photo fills the hole below. */
[data-avatar-frame]{--avatar-core-ratio:66%}
[data-avatar-frame="blood"]{--avatar-core-ratio:69%}
[data-avatar-frame="cosmos"]{--avatar-core-ratio:62%}
[data-avatar-frame="ghost"]{--avatar-core-ratio:67%}
[data-avatar-frame="gold"]{--avatar-core-ratio:65%}
[data-avatar-frame="halloween"][data-avatar-frame-variant="basic"]{--avatar-core-ratio:74%}
[data-avatar-frame="halloween"][data-avatar-frame-variant="special"]{--avatar-core-ratio:61%}
[data-avatar-frame="developer"][data-avatar-frame-variant="red"]{--avatar-core-ratio:65%}
[data-avatar-frame="developer"][data-avatar-frame-variant="blue"]{--avatar-core-ratio:53%}
/* Unframed avatars preserve their normal geometry. */
/* Apply one ratio to navigation, profile, frame picker and store; preserve shell dimensions. */
.navbar .nav-account-avatar-shell[data-avatar-frame]:not([data-avatar-frame="none"]) > .avatar-frame-core,
.avatar-frame-shell[data-avatar-frame]:not([data-avatar-frame="none"]) > .avatar-frame-core{
  width:var(--avatar-core-ratio)!important;height:var(--avatar-core-ratio)!important;
  aspect-ratio:1!important;max-width:none!important;max-height:none!important;
  overflow:hidden!important;border-radius:50%!important;flex-shrink:0!important;
}
.oct15-avatar-shell[data-avatar-frame]:not([data-avatar-frame="none"]) > .oct15-avatar-core{
  width:var(--avatar-core-ratio)!important;height:var(--avatar-core-ratio)!important;
  border-radius:50%!important;overflow:hidden!important;
}
/* Legacy hero has a fixed inset: synchronize it with the same aperture token. */
body[data-oct30-preview="1"] :is(.profile-hero,.parent-profile-hero) .oct15-avatar-shell[data-avatar-frame]:not([data-avatar-frame="none"]) > .oct15-avatar-core{
  inset:calc((100% - var(--avatar-core-ratio))/2)!important;width:auto!important;height:auto!important;
}
[data-avatar-frame] > :is(.avatar-frame-core,.oct15-avatar-core) img,
[data-avatar-frame] > :is(.avatar-frame-core,.oct15-avatar-core) .oct15-avatar-photo{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;border-radius:50%!important;
}
/* Decorative overlays remain at full size and always above photos. */
[data-avatar-frame] > :is(.avatar-frame-layer,.oct15-frame-overlay){z-index:4!important;pointer-events:none!important}

/* Aurora 30-Oct frame editor and developer profile also use aperture tokens. */
body[data-oct30-preview="1"] .ui-avatar-shell[data-avatar-frame]:not([data-avatar-frame="none"]) > .ui-avatar-core{
  position:absolute!important;
  inset:calc((100% - var(--avatar-core-ratio))/2)!important;
  width:auto!important;height:auto!important;
  border-radius:50%!important;overflow:hidden!important;
}
body[data-oct30-preview="1"] .ui-avatar-shell[data-avatar-frame]:not([data-avatar-frame="none"]) > .ui-avatar-core > img{
  position:static!important;width:100%!important;height:100%!important;
  max-width:none!important;object-fit:cover!important;transform:none!important;
}
