/* ============================================================
   站内消息中心 · notify.css
   头像下拉 + 右下角悬浮信息框，沿用站内淡青渐变
   ============================================================ */
.auth-account { position: relative; display: inline-flex; align-items: center; }
.auth-msg-dot {
  position: absolute; top: -3px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1; color: #fff;
  background: linear-gradient(135deg, #B91C1C 0%, #EF4444 100%);
  box-shadow: 0 3px 8px rgba(185, 28, 28, .30);
  pointer-events: none;
}
.auth-msg-dot[hidden] { display: none !important; }

.info-pop {
  width: 360px; max-width: calc(100vw - 28px);
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(158deg, #FFFFFF 0%, #F3FBF7 100%);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 22px 55px rgba(13, 63, 56, .18), 0 4px 12px rgba(13, 63, 56, .07);
  color: #0F172A; font-size: 13px;
  animation: infoPopIn .18s ease-out;
}
.info-pop[hidden] { display: none !important; }
@keyframes infoPopIn {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.info-pop--avatar { position: fixed; z-index: 1300; }
.info-pop--dock { position: absolute; right: 0; bottom: 62px; z-index: 1200; }

.info-pop__hd {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px 10px;
}
.info-pop__hd b { font-size: 14px; font-weight: 700; color: #0F172A; }
.info-pop__total {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0C645C 0%, #1F9D90 100%);
}
.info-pop__total.is-zero { display: none; }
.info-pop__mark {
  margin-left: auto; border: 0; background: none; padding: 3px 2px; cursor: pointer;
  font-size: 11.5px; color: #0F766E;
}
.info-pop__mark:hover { color: #0B4F49; text-decoration: underline; }
.info-pop__mark[disabled] { color: #B6CBC5; cursor: default; text-decoration: none; }

.info-tabs {
  display: flex; gap: 6px; padding: 0 14px 10px;
}
.info-tab {
  flex: 1; height: 31px; border-radius: 9px; cursor: pointer;
  border: 1px solid rgba(15, 118, 110, .12); background: rgba(255,255,255,.76);
  color: #5B7470; font-size: 12px; font-weight: 650;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.info-tab.is-on {
  color: #fff; border-color: rgba(255,255,255,.34);
  background: linear-gradient(135deg, rgba(12,100,92,.96) 0%, rgba(31,157,144,.92) 60%, rgba(88,203,182,.9) 100%);
  box-shadow: 0 6px 14px rgba(15,118,110,.20);
}
.info-tab .info-tab__n {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; background: #E8F5F1; color: #0F766E;
}
.info-tab.is-on .info-tab__n { background: rgba(255,255,255,.22); color: #fff; }
.info-tab .info-tab__n[hidden] { display: none; }

.info-list { max-height: 306px; overflow: auto; padding: 0 8px 8px; }
.info-list::-webkit-scrollbar { width: 5px; }
.info-list::-webkit-scrollbar-thumb { background: rgba(15,118,110,.18); border-radius: 5px; }
.info-empty { padding: 34px 14px 30px; text-align: center; color: #8AA3A0; }
.info-empty i { display: block; font-size: 24px; color: #9FD3C7; margin-bottom: 8px; }
.info-empty p { margin: 0; font-size: 12px; line-height: 1.7; }

.info-item {
  width: 100%; display: flex; align-items: flex-start; gap: 10px; text-align: left;
  padding: 9px 8px; margin-bottom: 2px; border: 1px solid transparent; border-radius: 11px;
  background: transparent; cursor: pointer; transition: .15s;
}
.info-item:hover { background: rgba(15,118,110,.05); border-color: rgba(15,118,110,.08); }
.info-item.is-unread { background: linear-gradient(120deg, rgba(236,253,245,.95) 0%, rgba(238,249,252,.9) 100%); }
.info-item__ico {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: #0F766E;
  background: linear-gradient(135deg, #E7F8F2 0%, #DDF3F4 100%);
  border: 1px solid rgba(15,118,110,.10);
}
.info-item__ico--activity { color: #B45309; background: linear-gradient(135deg, #FFF7E6 0%, #FDF1D6 100%); border-color: rgba(180,83,9,.12); }
.info-item__ico--auction { color: #0E7490; background: linear-gradient(135deg, #E8F8FB 0%, #DEF2F8 100%); border-color: rgba(14,116,144,.12); }
.info-item__ico--study { color: #0c645c; background: linear-gradient(135deg, #E9F9F5 0%, #DEF3EE 100%); border-color: rgba(12,100,92,.12); }
.info-item__av {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, #0C645C 0%, #1F9D90 55%, #59CBB5 100%);
  box-shadow: 0 4px 10px rgba(15,118,110,.16);
}
.info-item__main { min-width: 0; flex: 1; }
.info-item__title { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #0F172A; }
.info-item__title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-item__dot { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #EF4444; }
.info-item__sub {
  margin-top: 3px; font-size: 11px; line-height: 1.55; color: #7A9390;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.info-item__time { flex: 0 0 auto; font-size: 10px; color: #A9BEB8; margin-top: 2px; }
.info-item__unread {
  flex: 0 0 auto; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0C645C 0%, #1F9D90 100%);
  margin-left: 4px;
}
.info-item__name { display: flex; align-items: center; min-width: 0; }
.info-item__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.info-pop__ft {
  border-top: 1px solid rgba(15,118,110,.09); padding: 9px 14px;
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.55);
}
.info-pop__ft a { font-size: 11.5px; color: #0F766E; text-decoration: none; }
.info-pop__ft a:hover { text-decoration: underline; }
.info-pop__ft .info-pop__logout { margin-left: auto; color: #94A3B8; cursor: pointer; }

/* ---------------- 右下角悬浮 ---------------- */
.notify-dock { position: fixed; right: 22px; bottom: 110px; z-index: 1150; }
.notify-fab {
  position: relative; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 19px;
  background: linear-gradient(135deg, #0C645C 0%, #1F9D90 58%, #4FC3AD 100%);
  box-shadow: 0 14px 28px rgba(15,118,110,.32), inset 0 1px 0 rgba(255,255,255,.3);
  transition: .2s;
}
.notify-fab:hover { transform: translateY(-2px); filter: brightness(1.04); }
.notify-fab__badge {
  position: absolute; top: -4px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #B91C1C 0%, #EF4444 100%);
  box-shadow: 0 4px 10px rgba(185,28,28,.30);
}
.notify-fab__badge[hidden] { display: none !important; }
.notify-fab.is-quiet { opacity: .82; filter: saturate(.8); }

/* 新消息轻提示 */
.notify-toast {
  position: fixed; right: 22px; bottom: 172px; z-index: 1250;
  width: 296px; max-width: calc(100vw - 28px);
  display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  padding: 11px 13px; border-radius: 13px;
  background: linear-gradient(155deg, #FFFFFF 0%, #F1FAF6 100%);
  border: 1px solid rgba(15,118,110,.14);
  box-shadow: 0 16px 36px rgba(13,63,56,.16);
  animation: infoPopIn .2s ease-out;
}
.notify-toast[hidden] { display: none !important; }
.notify-toast__ico {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px;
  background: linear-gradient(135deg, #0C645C 0%, #1F9D90 100%);
}
.notify-toast__main { min-width: 0; }
.notify-toast__t { margin: 0; font-size: 12px; font-weight: 700; color: #0F172A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notify-toast__s { margin: 2px 0 0; font-size: 10.5px; color: #8AA3A0; }

@media (max-width: 991px) {
  .info-pop--avatar { display: none !important; }
}
@media (max-width: 767px) {
  .chat-page .notify-dock, .chat-page .notify-toast { display: none !important; }
  .notify-dock { right: 14px; bottom: 86px; }
  .notify-fab { width: 48px; height: 48px; font-size: 17px; }
  .info-pop--dock { width: calc(100vw - 28px); bottom: 58px; }
  .notify-toast { right: 14px; bottom: 144px; width: calc(100vw - 28px); }
  .info-list { max-height: 260px; }
}

/* 好友申请通知 */
.info-item__ico--friend { color: #0C645C; background: linear-gradient(135deg, #E9F7F3 0%, #DDF2ED 100%); border-color: rgba(12,100,92,.14); }

/* 导航统一未读角标 */
.nav-bell {
  position: relative; width: 34px; height: 34px; margin-right: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid #E3F0EC; background: #fff;
  color: #46655F; font-size: 14px; cursor: pointer; padding: 0; flex: none;
  transition: border-color .18s ease, background .18s ease;
}
.nav-bell:hover { border-color: #9FD9CD; background: #F5FAF8; color: #0C645C; }
.nav-bell.is-on { border-color: #BFE6DB; }
.nav-bell b {
  position: absolute; top: -4px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: linear-gradient(135deg,#B91C1C,#EF4444); color: #fff;
  font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: 0;
  box-shadow: 0 3px 8px rgba(185,28,28,.28);
}
.nav-bell b[hidden] { display: none !important; }
@media (max-width: 767px) { .nav-bell { display: none !important; } }
