/* In-app notifications (notifications.js): the bell and its panel. */
.notify-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:#a1a1a6;cursor:pointer;transition:background-color 140ms ease,color 140ms ease}
.notify-bell:hover,.notify-bell[aria-expanded="true"]{background:rgba(255,255,255,.07);color:#f5f5f4}
.notify-bell:focus-visible{outline:2px solid #2d80fa;outline-offset:2px}
.notify-bell-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.notify-bell.has-unread{color:#f5f5f4}
.notify-badge{position:absolute;top:3px;right:2px;min-width:17px;height:17px;padding:0 4px;border:2px solid #121212;border-radius:999px;background:#2d80fa;color:#fff;font-size:10px;font-weight:650;line-height:13px;text-align:center;font-variant-numeric:tabular-nums;box-sizing:border-box}

/* Desktop: at the top right of the sidebar, level with the logo. */
.sidebar{position:relative}
.sidebar > .notify-bell-sidebar{position:absolute;top:30px;right:12px;z-index:5}
.notify-bell-topbar,.notify-bell-floating{display:none}
.studio-shell.studio-editor-active .sidebar > .notify-bell-sidebar{display:none}

/* Phones: in the top bar (the sidebar is hidden), or floating where a page has no top bar. */
@media (max-width:767px){
  header.topbar > .notify-bell-topbar,.studio-shell header.topbar > .notify-bell-topbar{display:inline-flex!important;margin-left:auto}
  .notify-bell-floating{display:inline-flex;position:fixed;top:calc(10px + env(safe-area-inset-top,0px));right:12px;z-index:30;background:rgba(18,18,18,.86);backdrop-filter:blur(14px)}
  .plaza-content .plaza-head{padding-right:44px}
}

.notify-panel{position:fixed;z-index:320;display:flex;flex-direction:column;width:min(380px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 96px));padding:0;border:1px solid #3c3c3c;border-radius:14px;background:#1d1d1f;color:#f5f5f4;box-shadow:0 18px 48px rgba(0,0,0,.55);overflow:hidden;outline:none}
.notify-panel[popover]{inset:auto;margin:0;height:auto}
.notify-panel[popover]:not(:popover-open),.notify-panel[hidden]{display:none}
.notify-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px;border-bottom:1px solid rgba(255,255,255,.08)}
.notify-head h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.01em}
.notify-mark-all{padding:4px 2px;border:0;background:transparent;color:#6aa5ff;font-size:12.5px;cursor:pointer}
.notify-mark-all:hover:not(:disabled){color:#9cc2ff;text-decoration:underline}
.notify-mark-all:disabled{color:#6e6e73;cursor:default}
.notify-list{overflow-y:auto;padding:6px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}
.notify-item{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) 10px;align-items:start;gap:12px;padding:10px 10px 10px 10px;border-radius:10px;color:inherit;text-decoration:none}
.notify-item:hover,.notify-item:focus-visible{background:rgba(255,255,255,.06);outline:none}
.notify-item:focus-visible{box-shadow:inset 0 0 0 2px #2d80fa}
.notify-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#2c2c2e;color:#d1d1d6;font-size:14px;font-weight:600;overflow:hidden}
.notify-avatar-image{width:100%;height:100%;object-fit:cover}
.notify-avatar svg{width:16px;height:16px;fill:currentColor}
.notify-avatar-plays{background:rgba(45,128,250,.16);color:#6aa5ff}
.notify-avatar-version{background:rgba(191,90,242,.16);color:#d29bff}
.notify-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.notify-text{font-size:13.5px;line-height:1.4;color:#d1d1d6;overflow-wrap:anywhere}
.notify-item.is-unread .notify-text{color:#f5f5f4}
.notify-time{font-size:12px;color:#8e8e93}
.notify-dot{width:8px;height:8px;margin-top:6px;border-radius:50%;background:#2d80fa}
.notify-more{display:block;width:calc(100% - 12px);margin:4px 6px 6px;padding:9px 12px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:transparent;color:#d1d1d6;font-size:13px;cursor:pointer}
.notify-more:hover:not(:disabled){background:rgba(255,255,255,.06)}
.notify-status,.notify-empty{padding:28px 22px 30px;text-align:center;color:#a1a1a6;font-size:13px;line-height:1.5}
.notify-status p,.notify-empty p{margin:0}
.notify-empty-title{margin-bottom:6px!important;color:#f5f5f4;font-size:14px;font-weight:600}
.notify-status .notify-more{width:auto;margin:12px auto 0;display:inline-block}
@media (prefers-reduced-motion:reduce){.notify-bell{transition:none}}
