/* ============================================================
   IM P4：通知中心（商家悬浮铃铛 / 用户通知页共用）
   ============================================================ */
.ntf-bell { position: fixed; right: 24px; bottom: 30px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold-2, #c8a96a); background: rgba(23, 20, 15, .92); color: var(--gold-2, #c8a96a); font-size: 19px; cursor: pointer; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
.ntf-bell:hover { transform: translateY(-2px); }
.ntf-dot { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: #e0654f; color: #fff; font-size: 10px; line-height: 18px; padding: 0 4px; }
.ntf-panel { position: fixed; right: 24px; bottom: 90px; width: 360px; max-height: 62vh; background: var(--bg-2, #17140f); border: 1px solid var(--line, #2a2520); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); display: none; flex-direction: column; z-index: 91; overflow: hidden; }
.ntf-panel.show { display: flex; }
.ntf-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line-soft, #241f19); font-size: 13px; }
.ntf-head-actions { display: flex; gap: 6px; }
.ntf-list { overflow-y: auto; padding: 8px; }
.ntf-item { padding: 10px 12px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.ntf-item:hover { background: rgba(200, 169, 106, .06); border-color: var(--line-soft, #241f19); }
.ntf-item.unread { background: rgba(200, 169, 106, .08); }
.ntf-item.unread b::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e0654f; margin-right: 6px; vertical-align: middle; }
.ntf-item-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.ntf-item-head em { font-style: normal; font-size: 10.5px; color: var(--text-3, #8c8478); white-space: nowrap; }
.ntf-item-body { font-size: 11.5px; color: var(--text-2, #b6ad9d); margin-top: 4px; line-height: 1.6; }
.ntf-item-order { font-size: 10.5px; color: var(--text-3, #8c8478); margin-top: 3px; font-family: Consolas, monospace; }
.ntf-empty { text-align: center; padding: 40px 0; font-size: 12px; color: var(--text-3, #8c8478); }

/* 用户端 */
.ntf-tabs { display: flex; gap: 8px; padding: 10px 2px; }
.ntf-tab { border: 1px solid var(--line, #e2dbcd); background: transparent; color: var(--text-2, #7a7163); border-radius: 14px; padding: 5px 16px; font-size: 12px; }
.ntf-tab.active { border-color: var(--gold-2, #b08d4f); color: var(--gold-2, #b08d4f); background: rgba(176, 141, 79, .08); }
.ntf-user-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ntf-card { display: flex; gap: 12px; padding: 14px !important; align-items: flex-start; }
.ntf-card.unread { border-left: 3px solid var(--gold-2, #b08d4f); }
.ntf-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(176, 141, 79, .1); display: flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto; }
.ntf-main { flex: 1; min-width: 0; }
.ntf-title-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.ntf-title-row em { font-style: normal; font-size: 10.5px; color: var(--text-3, #8c8478); white-space: nowrap; }
.ntf-content { font-size: 12px; color: var(--text-2, #7a7163); margin-top: 5px; line-height: 1.65; }
.ntf-order { font-size: 10.5px; color: var(--text-3, #8c8478); margin-top: 4px; font-family: Consolas, monospace; }
