/* Reused from dy_streamer_web/src/styles/main.css: notification bell and panel.
 * Keep the Web SaaS layout and scope its design tokens to this component. */
.notify-wrap {
  --primary:#4a90b8; --surface:#fff; --surface-hover:#fafbfc;
  --border:rgba(0,0,0,.08); --border-light:rgba(0,0,0,.05);
  --text:#1d1d1f; --muted:#5f5f66; --radius-sm:10px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;
}
.notify-wrap .shell-button { height: 34px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 14px; color: var(--muted); background: var(--surface); font-weight: 600; transition: .16s ease; }
.notify-wrap .shell-button:hover { color: var(--text); border-color: rgba(0, 0, 0, .16); background: var(--surface-hover); }
.notify-wrap { position: relative; }
.notify-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; padding: 0; }
.notify-bell.active { color: var(--primary); border-color: var(--primary); }
.notify-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--surface, #fff); }
.notify-panel { position: absolute; top: 44px; right: 0; z-index: 40; width: 380px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; max-height: min(520px, calc(100vh - 80px)); border: 1px solid var(--border); border-radius: var(--radius-md, 12px); background: var(--surface, #fff); box-shadow: 0 16px 40px rgba(15, 23, 42, .16); overflow: hidden; }
.notify-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
.notify-link { border: 0; background: none; color: var(--primary); font: inherit; font-size: 13px; cursor: pointer; }
.notify-link:disabled { color: var(--muted); cursor: default; }
.notify-list { overflow-y: auto; }
.notify-item { display: flex; gap: 10px; width: 100%; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--border-light); background: none; text-align: left; font: inherit; cursor: pointer; }
.notify-item:hover { background: var(--surface-hover); }
.notify-dot { flex: 0 0 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: transparent; }
.notify-item.unread .notify-dot { background: #e5484d; }
.notify-text { display: grid; gap: 3px; min-width: 0; }
.notify-text strong { font-size: 14px; color: var(--text); }
.notify-item:not(.unread) .notify-text strong { font-weight: 500; color: var(--muted); }
.notify-text span { color: var(--muted); font-size: 13px; line-height: 1.5; word-break: break-all; }
.notify-text small { color: var(--muted); font-size: 12px; opacity: .8; }
.notify-empty { padding: 40px 16px; color: var(--muted); text-align: center; font-size: 13px; }
.notify-more { border: 0; border-top: 1px solid var(--border-light); padding: 10px; background: none; color: var(--primary); font: inherit; font-size: 13px; cursor: pointer; }
.notify-badge[hidden], .notify-more[hidden] { display:none; }
.notify-wrap .notify-bell { padding:0; }
.notify-list { min-height:0; overscroll-behavior:contain; }
.notify-item { border-radius:0; }
.notify-bell:focus-visible, .notify-panel button:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
#userBtn { max-width:min(50vw,440px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
