/* Isolated notification surfaces; original themes, SVGs and layout are untouched. */
.notification, .stats-notification { position: relative; }
[data-notifications-open] { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
[data-notifications-open] svg { width:17px; height:17px; }
.profile-screen > .nb-notify-profile { position:absolute; top:16px; right:16px; z-index:3; }
[data-stats-delta][hidden] { display:none!important; }
/* Preserve chart values and surrounding themes; distinguish coincident series. */
.stats-lines .stats-line-ai { stroke:#9ea4aa; stroke-width:4; }
.stats-lines .stats-line-user { stroke:#39ff88; filter:drop-shadow(0 0 4px rgba(57,255,136,.65)); }
.stats-legend .legend-user { background:#39ff88; }
.stats-chart-end-user { color:#39ff88; border-color:rgba(57,255,136,.35); }
.nb-notify-badge { position:absolute; right:-5px; top:-5px; min-width:17px; padding:2px 4px; border-radius:12px; background:#39ff88; color:#041309; font:700 10px Arial,sans-serif; }
.nb-notify-backdrop { position:fixed; inset:0; z-index:1000001; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,.8); backdrop-filter:blur(10px); }
.nb-notify-backdrop[hidden] { display:none; }
.nb-notify-box { --nb-color:#39ff88; --nb-rgb:57,255,136; color:#fff; width:min(100%,440px); max-height:85vh; overflow:auto; padding:20px; border:1px solid var(--nb-color); border-radius:22px; background:linear-gradient(140deg,#0c1713,#050807); box-shadow:0 0 22px rgba(var(--nb-rgb),.25); font-family:inherit; }
.nb-notify-box[data-sport="basketball"] { --nb-color:#ff8a1f; --nb-rgb:255,138,31; }
.nb-notify-box[data-sport="esports"] { --nb-color:#b15cff; --nb-rgb:177,92,255; }
.nb-notify-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }
.nb-notify-head h2 { font-size:19px; margin:0; }
.nb-notify-box button { font:inherit; cursor:pointer; }
.nb-notify-close { border:0; background:transparent; color:#ddd; font-size:26px!important; padding:4px 8px; }
.nb-notify-item { width:100%; display:block; text-align:left; color:#fff; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:13px; margin:10px 0; }
.nb-notify-item[data-read="false"] { border-left:3px solid var(--nb-color); }
.nb-notify-item strong, .nb-notify-item small { display:block; }
.nb-notify-item small, .nb-notify-meta { color:#a8b2ac; font-size:11px; line-height:1.6; }
.nb-notify-body { white-space:pre-line; overflow-wrap:anywhere; line-height:1.55; font-size:14px; }
.nb-notify-actions { display:flex; gap:10px; margin-top:18px; }
.nb-notify-actions button { flex:1; padding:12px; border-radius:12px; font-weight:800; border:1px solid rgba(255,255,255,.18); }
.nb-notify-yes { background:var(--nb-color); color:#061009; box-shadow:0 0 12px rgba(var(--nb-rgb),.25); }
.nb-notify-no { background:#151a18; color:#e4e8e5; }
.nb-notify-actions button:disabled { opacity:.45; cursor:default; }
.nb-notify-status { margin-top:12px; color:#bfc9c2; font-size:12px; line-height:1.5; }
