/* 通知气泡样式（与站点蓝调一致） */
.nf-stack {
  position: fixed;
  right: 18px;
  top: 74px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 330px;
  pointer-events: none;
}
.nf-bubble {
  pointer-events: auto;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(12, 22, 42, .96);
  border: 1px solid rgba(41, 151, 255, .34);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5),
              0 0 0 1px rgba(41, 151, 255, .08) inset;
  animation: nfIn .28s cubic-bezier(.22, 1, .36, 1);
  cursor: default;
}
@keyframes nfIn {
  from { opacity: 0; transform: translateX(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.nf-bubble.is-new {
  border-color: rgba(96, 165, 250, .6);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5),
              0 0 18px rgba(41, 151, 255, .28);
}
.nf-bubble > i {
  flex-shrink: 0;
  color: #60a5fa;
  font-size: 15px;
  margin-top: 1px;
}
.nf-body { min-width: 0; flex: 1; }
.nf-body b {
  display: block;
  font-size: 12.8px;
  font-weight: 600;
  color: #eaf2ff;
  line-height: 1.4;
  word-break: break-word;
}
.nf-body span {
  display: block;
  margin-top: 2px;
  font-size: 11.8px;
  color: rgba(200, 222, 255, .72);
  line-height: 1.5;
  word-break: break-word;
}
.nf-body em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 10.5px;
  color: rgba(200, 222, 255, .4);
}
.nf-x {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, .07);
  color: rgba(220, 235, 255, .7);
  font-size: 13px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.nf-x:hover { background: rgba(255, 255, 255, .16); color: #fff; }

@media (max-width: 640px) {
  .nf-stack { left: 12px; right: 12px; top: 60px; max-width: none; }
}
