/* ===== 玩法面板（右侧滑入子页效果） ===== */
.points-btn { border: none; background: #f5ecdc; color: #92400e; font-size: 12px; padding: 4px 12px; border-radius: 14px; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.points-btn:active { transform: scale(.95); }
.points-btn.checkin-cta { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.points-btn.checked-in { background: #f0f0f0; color: #bbb; cursor: default; }
.points-modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999; display: flex; align-items: stretch; justify-content: flex-end; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.points-modal-mask.active { opacity: 1; pointer-events: auto; }
.points-modal { background: #fff; width: 100%; max-width: 460px; height: 100%; display: flex; flex-direction: column; overflow: hidden; transform: translateX(104%); transition: transform .3s cubic-bezier(.32,.72,.35,1); box-shadow: -6px 0 24px rgba(0,0,0,.12); }
.points-modal-mask.active .points-modal { transform: translateX(0); }
.points-modal-head { flex-shrink: 0; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; }
.points-modal-title { font-size: 17px; font-weight: 600; color: #333; }
.points-balance { margin-left: auto; color: #b45309; font-weight: 700; font-size: 15px; }
.points-modal-close { margin-left: 10px; border: none; background: none; font-size: 18px; color: #999; cursor: pointer; padding: 2px 8px; }
.checkin-body, .scratch-body, .wheel-body, .shop-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.checkin-body { display: flex; flex-direction: column; justify-content: center; padding: 18px; }
.checkin-options { display: flex; gap: 12px; }
.checkin-option { flex: 1; border: 1px solid #eee; background: #fafbfe; border-radius: 14px; padding: 18px 10px 14px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.checkin-option:hover { border-color: #c9d4f5; box-shadow: 0 4px 14px rgba(102,126,234,.10); }
.checkin-option:active { transform: scale(.96); }
.checkin-option .co-icon { font-size: 28px; color: #667eea; margin-bottom: 6px; }
.checkin-option.luck .co-icon { color: #d97706; }
.co-name { font-weight: 600; font-size: 15px; color: #333; }
.co-desc { font-size: 12px; color: #999; }
.checkin-option.loading { pointer-events: none; opacity: .55; }
.checkin-result { text-align: center; padding: 26px 0 12px; animation: fadeIn .25s ease; }
.cr-icon { font-size: 38px; margin-bottom: 10px; }
.cr-msg { font-size: 16px; color: #333; font-weight: 600; }
.cr-sub { font-size: 12px; color: #999; margin-top: 6px; }

/* ===== 积分乐园 & 刮刮乐（鹿鸣信箱扩展） ===== */
.hub-body { padding: 14px 18px 20px; }
.hub-grid { display: flex; gap: 12px; }
.hub-card { flex: 1; border: 1px solid #eee; background: #fafbfe; border-radius: 14px; padding: 18px 10px 14px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hub-card:hover { border-color: #c9d4f5; box-shadow: 0 4px 14px rgba(102,126,234,.10); }
.hub-card:active { transform: scale(.96); }
.hc-icon { font-size: 28px; color: #667eea; margin-bottom: 6px; }
.hc-name { font-weight: 600; font-size: 15px; color: #333; }
.hc-desc { font-size: 12px; color: #999; }
.hub-log-btn { width: 100%; margin-top: 14px; border: 1px dashed #ddd; background: none; color: #888; font-size: 13px; padding: 10px 0; border-radius: 12px; cursor: pointer; transition: all .18s ease; }
.hub-log-btn:hover { border-color: #c9d4f5; color: #667eea; background: #fafbfe; }
.hub-action-btn { border: none; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 14px; padding: 9px 26px; border-radius: 22px; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.hub-action-btn:active { transform: scale(.95); }
.hub-action-btn:disabled { opacity: .5; cursor: default; }

.scratch-body { padding: 12px 18px 22px; text-align: center; }
.scratch-info { font-size: 13px; color: #888; margin-bottom: 14px; }
.scratch-info b { color: #b45309; }
.scratch-stage { display: flex; justify-content: center; perspective: 900px; }
.scratch-card { position: relative; width: 230px; height: 150px; cursor: pointer; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.4,.1,.2,1); }
.scratch-card.flipped { transform: rotateY(180deg); }
.scratch-card.busy { pointer-events: none; opacity: .8; }
.sc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.sc-back { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; box-shadow: 0 8px 24px rgba(102,126,234,.28); }
.sc-back i { font-size: 34px; }
.sc-hint { font-size: 13px; opacity: .9; }
.sc-front { background: #fff; border: 1px solid #f0e6cf; transform: rotateY(180deg); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.sc-result { font-size: 22px; font-weight: 700; color: #333; padding: 0 14px; line-height: 1.5; }
.sc-result.win { color: #2e7d32; }
.sc-result.jackpot { color: #b8860b; font-size: 26px; }
.sc-sub { font-size: 12px; color: #999; margin-top: 6px; font-weight: 400; }
.scratch-again { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scratch-remain { font-size: 12px; color: #999; }

/* 首页大奖公示横幅 */
.jackpot-bar { max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: 8px; background: #fffaf0; border: 1px solid #f5e3c0; color: #92600a; font-size: 13px; padding: 8px 14px; border-radius: 10px; margin-top: 10px; box-shadow: 0 2px 8px rgba(180,140,60,.08); }
.jackpot-bar i { color: #e6a23c; }
.jackpot-bar .jb-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jackpot-bar button { border: none; background: none; color: #c9a05e; font-size: 15px; cursor: pointer; padding: 0 2px; }

/* ===== 积分中心页（points.php） ===== */
.pc-main { max-width: 600px; margin: 0 auto; padding: 16px 16px 96px; display: flex; flex-direction: column; gap: 12px; }
.pc-balance-card { background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; color: #fff; box-shadow: 0 6px 18px rgba(102,126,234,.25); }
.pc-balance-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.pc-balance-info { flex: 1; min-width: 0; }
.pc-balance-label { font-size: 13px; opacity: .85; }
.pc-balance-num { font-size: 30px; font-weight: 800; line-height: 1.15; }
.pc-balance-tip { font-size: 11px; opacity: .85; text-align: right; flex-shrink: 0; line-height: 1.6; }
.pc-feat-card { background: #fff; border-radius: 16px; padding: 15px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.pc-feat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pc-feat-icon.chk { background: #ede9fe; color: #764ba2; }
.pc-feat-icon.scratch { background: #fdf3e0; color: #b8860b; }
.pc-feat-info { flex: 1; min-width: 0; }
.pc-feat-name { font-size: 15px; font-weight: 600; color: #333; }
.pc-feat-desc { font-size: 12px; color: #999; margin-top: 2px; }
.pc-feat-btn { border: none; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 13px; padding: 8px 18px; border-radius: 18px; cursor: pointer; flex-shrink: 0; transition: transform .15s ease, opacity .15s ease; }
.pc-feat-btn:active { transform: scale(.95); }
.pc-feat-btn.done { background: #f0f0f0; color: #aaa; cursor: default; }
.pc-log-card { background: #fff; border-radius: 16px; padding: 14px 18px 6px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.pc-log-title { font-size: 14px; font-weight: 600; color: #333; padding-bottom: 8px; border-bottom: 1px solid #f5f5f5; margin-bottom: 2px; }
.pc-log-title i { color: #b8860b; margin-right: 6px; }

/* ===== 积分中心 header（覆盖 profile-header 布局） ===== */
.profile-header .header-title { flex: 1; text-align: center; font-size: 17px; }
.pc-menu-btn { border: none; background: none; font-size: 20px; color: #444; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.pc-menu-btn:active { background: rgba(0,0,0,.07); }
.pc-menu-btn a, a.pc-menu-btn { text-decoration: none; }

/* ===== 幸运转盘（points.php 弹层） ===== */
.pc-feat-icon.wheel { background: #e6f0fb; color: #4a7daf; }
.wheel-body { padding: 10px 18px 20px; text-align: center; }
.wheel-info { font-size: 13px; color: #888; margin-bottom: 12px; }
.wheel-info b { color: #b45309; }
.wheel-stage { position: relative; width: 252px; height: 252px; margin: 4px auto 0; }
.wheel-pointer { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); z-index: 6; width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 17px solid #e05252; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.wheel-disc { position: absolute; inset: 10px; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.14), inset 0 0 0 5px #fff; will-change: transform; }
.wheel-disc.spinning { transition: transform 4.1s cubic-bezier(.1,.7,.12,1); }
.wheel-label { position: absolute; top: 50%; left: 50%; width: 52px; margin-left: -26px; margin-top: -10px; font-size: 13px; color: #5a6a8a; text-align: center; line-height: 20px; white-space: nowrap; }
.wheel-result { margin-top: 4px; animation: fadeIn .3s ease; }
.wheel-ctrl { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#wheelBtn:disabled { opacity: .55; cursor: default; }

/* ===== 头像框（鹿鸣信箱扩展，img 直接加环） ===== */
img.frame-gold { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c9a24b, 0 0 10px rgba(201,162,75,.45); }
img.frame-violet { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #8f7de0, 0 0 10px rgba(143,125,224,.4); }

/* ===== 头像框商店（points.php 弹层） ===== */
.pc-feat-icon.frame { background: #ede9fe; color: #7c6cd6; }
.shop-body { padding: 12px 18px 20px; }
.shop-active { font-size: 13px; color: #666; background: #f8f7fc; border: 1px solid #eee; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; line-height: 1.5; }
.shop-active b { color: #7c6cd6; }
.shop-active.err { color: #c62828; background: #fdf0f0; border-color: #f2d5d5; }
.shop-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.shop-row:last-of-type { border-bottom: none; }
.shop-swatch { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: #e8e4f8 center/cover; }
.shop-swatch.sw-gold { background: radial-gradient(circle at 35% 35%, #f3e2b8, #c9a24b 70%); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #c9a24b; }
.shop-swatch.sw-violet { background: radial-gradient(circle at 35% 35%, #d3caf6, #8f7de0 70%); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #8f7de0; }
.shop-info { flex: 1; min-width: 0; }
.shop-name { font-size: 14px; color: #333; font-weight: 500; }
.shop-price { font-size: 12px; color: #b45309; margin-top: 2px; }
.shop-buy { border: none; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 12px; padding: 6px 14px; border-radius: 15px; cursor: pointer; flex-shrink: 0; transition: transform .15s ease, opacity .15s ease; }
.shop-buy:active { transform: scale(.94); }
.shop-buy:disabled { opacity: .5; cursor: default; }

/* ===== 称号（鹿鸣信箱扩展） ===== */
.pc-feat-icon.title { background: #e0f2ec; color: #3d8a6a; }
.user-title-badge { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 9px; background: #eef2f7; color: #5a6a8a; margin-left: 6px; vertical-align: middle; font-weight: 500; }
.sw-title { background: #e0f2ec; color: #3d8a6a; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.shop-input-row { margin: 2px 0 8px; }
.shop-input { width: 100%; box-sizing: border-box; border: 1px solid #e3e6ee; background: #fafbfe; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: #333; outline: none; transition: border-color .15s ease; }
.shop-input:focus { border-color: #9db4ea; }
.shop-note { font-size: 11px; color: #aaa; margin: 0 0 4px; line-height: 1.5; }

/* ===== 积分规则面板（右侧滑出，积分中心页） ===== */
.pc-rules-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1300; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.pc-rules-mask.open { opacity: 1; pointer-events: auto; }
.pc-rules-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(92vw, 460px); background: #fff; z-index: 1301; transform: translateX(104%); transition: transform .3s cubic-bezier(.32,.72,.35,1); display: flex; flex-direction: column; box-shadow: -6px 0 24px rgba(0,0,0,.12); }
.pc-rules-panel.open { transform: translateX(0); }
.rules-head { flex-shrink: 0; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; }
.rules-title { font-size: 17px; font-weight: 600; color: #333; }
.rules-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 18px 24px; font-size: 13px; color: #555; line-height: 1.8; }
.rules-sec { margin-top: 16px; }
.rules-sec h3 { font-size: 14px; color: #333; margin-bottom: 6px; font-weight: 600; }
.rules-sec ul { margin: 0; padding-left: 18px; }
.rules-sec li { margin: 3px 0; }
.rules-sec .p { margin: 4px 0; }
.rules-sec table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.rules-sec td { padding: 5px 4px; border-bottom: 1px solid #f4f4f4; font-size: 12.5px; }
.rules-sec td:last-child { text-align: right; color: #b45309; font-weight: 600; }
.rules-sec .warn { background: #fdf6ea; border: 1px solid #f2e3c2; border-radius: 10px; padding: 10px 12px; color: #8a6d2f; margin-top: 10px; }

/* ===== 周星榜（鹿鸣信箱扩展） ===== */
img.frame-champ { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e8c37a, 0 0 0 7px #7fd4c0, 0 0 12px rgba(127,212,192,.5); }
.pc-rank-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.pc-rank-head { display: flex; align-items: center; margin-bottom: 10px; }
.pc-rank-title { font-size: 15px; font-weight: 600; color: #333; flex: 1; }
.pc-rank-more { border: none; background: #f5f6fa; color: #667eea; font-size: 12px; padding: 5px 12px; border-radius: 14px; cursor: pointer; }
.rank-top3 { display: flex; justify-content: space-around; align-items: flex-end; padding: 4px 0 2px; }
.rank-top-item { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 30%; }
.rank-medal { font-size: 22px; font-weight: 800; line-height: 1; }
.rank-avatar { width: 44px; height: 44px; border-radius: 50%; background: #f0f1f5; }
.rank-top-item:nth-child(1) .rank-avatar { width: 52px; height: 52px; }
.rank-name { font-size: 12px; color: #444; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-gain { font-size: 13px; color: #b45309; font-weight: 700; }
.rank-me { margin-top: 10px; font-size: 12px; color: #888; background: #fafbfe; border-radius: 8px; padding: 7px 10px; }
.rank-me b { color: #b45309; }
.rank-empty { text-align: center; color: #bbb; font-size: 13px; padding: 18px 0; }
.rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f6f6f6; }
.rank-row:last-of-type { border-bottom: none; }
.rank-no { width: 22px; text-align: center; font-size: 13px; color: #999; font-weight: 600; flex-shrink: 0; }
.rank-no.top { color: #c9a24b; }
.rank-avatar-sm { width: 34px; height: 34px; border-radius: 50%; background: #f0f1f5; flex-shrink: 0; }
.rank-uname { flex: 1; font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-gain-sm { color: #b45309; font-weight: 700; font-size: 13px; }

/* ===== 打赏（鹿鸣信箱扩展） ===== */
.tip-post-btn i { color: #e08a3c; }
.tip-amounts { display: flex; gap: 10px; margin: 4px 0 14px; }
.tip-amt { flex: 1; border: 1px solid #e8e8e8; background: #fafbfe; color: #555; font-size: 15px; font-weight: 600; padding: 10px 0; border-radius: 12px; cursor: pointer; transition: all .15s ease; }
.tip-amt.sel { border-color: #e08a3c; background: #fdf3e6; color: #b45309; box-shadow: 0 2px 8px rgba(224,138,60,.15); }
.tip-confirm { width: 100%; }
.tip-confirm:disabled { opacity: .55; cursor: default; }

/* ===== TA 看过你（profile 页） ===== */
.visitor-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; background: #fafbfe; border: 1px solid #eef0f6; border-radius: 12px; padding: 9px 12px; }
.visitor-title { font-size: 13px; font-weight: 600; color: #333; }
.visitor-title i { color: #8f7de0; margin-right: 4px; }
.visitor-desc { font-size: 11px; color: #999; margin-top: 1px; }
.visitor-unlock { flex-shrink: 0; }
.visitor-list { margin-top: 8px; }
.visitor-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #f0f0f0; border-radius: 10px; padding: 8px 12px; margin-bottom: 6px; font-size: 13px; animation: fadeIn .25s ease; }
.vi-name { font-weight: 600; color: #444; min-width: 56px; }
.vi-src { flex: 1; color: #888; font-size: 12px; }
.vi-time { color: #bbb; font-size: 11px; }
.visitor-empty { text-align: center; color: #bbb; font-size: 13px; padding: 14px 0; background: #fafbfe; border-radius: 10px; }

/* ===== 帖子详情页（post.php，Twitter 风格） ===== */
.detail-main { max-width: 600px; margin: 0 auto; padding: 14px 14px 40px; }
.detail-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.detail-head { display: flex; gap: 12px; align-items: flex-start; }
.detail-head .post-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: #f0f1f5; }
.detail-user { min-width: 0; }
.detail-nick { font-size: 15px; font-weight: 700; color: #222; }
.detail-meta { font-size: 12px; color: #999; margin-top: 3px; }
.detail-content { font-size: 16px; line-height: 1.75; color: #222; margin: 14px 2px 6px; word-break: break-word; }
.detail-actions { display: flex; align-items: center; gap: 26px; padding: 12px 4px 2px; margin-top: 8px; border-top: 1px solid #f2f2f2; }
.detail-actions .action-btn { cursor: pointer; color: #777; font-size: 13px; user-select: none; }
.detail-actions .like-btn.liked { color: #ef5350; }
.detail-comments { margin-top: 12px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.dc-head { font-size: 15px; font-weight: 700; color: #333; padding-bottom: 10px; border-bottom: 2px solid #f2f2f2; }
.detail-comments .comment-list { padding: 6px 0 0; }
.detail-comments .comment-list-item { border-bottom: 1px solid #f5f5f5; }
.detail-comments .comment-list-item:last-child { border-bottom: none; }
.detail-comments .comment-input-area { padding: 10px 0 0; }
.detail-empty { text-align: center; color: #999; font-size: 14px; padding: 60px 20px; background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }

/* ===== 用户主页（user.php） ===== */
.user-main { max-width: 600px; margin: 0 auto; padding: 14px 14px 40px; display: flex; flex-direction: column; gap: 12px; }
.up-card { background: #fff; border-radius: 16px; padding: 18px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.up-head { display: flex; gap: 14px; align-items: center; }
.up-avatar { width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; background: #f0f1f5; }
.up-nick { font-size: 18px; font-weight: 700; color: #222; }
.up-stats { font-size: 12px; color: #999; margin-top: 4px; }
.up-note { margin-top: 12px; font-size: 12px; color: #8a8a8a; background: #fafbfe; border-radius: 10px; padding: 7px 12px; }
.up-note i { color: #8f7de0; margin-right: 4px; }
.up-post { background: #fff; border-radius: 14px; padding: 13px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.04); cursor: pointer; transition: transform .15s ease; }
.up-post:active { transform: scale(.995); }
.up-post-text { font-size: 14px; color: #333; line-height: 1.7; word-break: break-word; }
.up-post-thumb { margin-top: 8px; border-radius: 10px; overflow: hidden; background: #f4f4f6; height: 120px; display: flex; align-items: center; justify-content: center; }
.up-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.up-post-meta { display: flex; gap: 14px; align-items: center; font-size: 11px; color: #aaa; margin-top: 8px; }
.up-stat { display: inline-flex; align-items: center; gap: 3px; }
.up-posts { display: flex; flex-direction: column; gap: 10px; }

/* ===== 通知中心 ===== */
.header-bell { position: relative; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.05); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; color: #555; flex-shrink: 0; }
.bell-badge { position: absolute; top: -3px; right: -5px; background: #ef5350; color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; box-sizing: border-box; }
.notif-panel { width: min(92vw, 400px); }
.notif-head-bar { padding: 10px 18px 4px; text-align: right; }
.notif-readall { border: none; background: #f0f2f8; color: #667eea; font-size: 12px; padding: 5px 12px; border-radius: 14px; cursor: pointer; }
.notif-list { flex: 1; overflow-y: auto; padding: 6px 12px 18px; }
.notif-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 8px; border-radius: 10px; cursor: pointer; border-bottom: 1px solid #f6f7fa; }
.notif-item > i { margin-top: 3px; width: 18px; text-align: center; }
.notif-item.unread { background: #f4f6ff; }
.ni-body { min-width: 0; flex: 1; }
.ni-text { font-size: 13px; color: #333; line-height: 1.5; }
.ni-time { font-size: 11px; color: #bbb; margin-top: 2px; }

/* ===== 转帖 / 引用 ===== */
.action-btn.reposted { color: #26a69a; }
.quote-card { background: #f7f8fc; border: 1px solid #eceef5; border-radius: 12px; padding: 9px 12px; margin: 8px 0 4px; cursor: pointer; }
.quote-card.gone { color: #aaa; font-size: 12px; }
.qc-head { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.qc-head img { width: 20px; height: 20px; border-radius: 50%; background: #eee; }
.qc-head span { font-size: 12px; font-weight: 600; color: #555; }
.qc-text { font-size: 13px; color: #666; line-height: 1.6; }
.quote-bar { display: flex; align-items: center; gap: 8px; background: #f4f6ff; border: 1px solid #dfe4fa; border-radius: 10px; padding: 8px 10px; }
.quote-bar img { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.qb-body { flex: 1; min-width: 0; }
.qb-name { font-size: 12px; font-weight: 600; color: #667eea; }
.qb-text { font-size: 12px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-bar > .fa-times { color: #bbb; cursor: pointer; padding: 4px; }
.reposter-item { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #f5f6f9; font-size: 13px; color: #333; }
.reposter-item img { width: 32px; height: 32px; border-radius: 50%; background: #f0f1f5; }
.reposter-item span { flex: 1; }
.reposter-item i { color: #bbb; font-size: 11px; font-style: normal; }

/* ===== 帖子作者操作（编辑/删除菜单） ===== */
.post-owner-op { position: relative; margin-top: 2px; }
.post-owner-op > i { color: #bbb; cursor: pointer; padding: 2px 6px; font-size: 14px; }
.post-menu { position: absolute; right: 0; top: 24px; z-index: 30; background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.14); min-width: 130px; overflow: hidden; display: none; }
.pm-item { padding: 10px 14px; font-size: 13px; cursor: pointer; color: #333; }
.pm-item:active { background: #f5f6fa; }
.pm-disabled { color: #bbb; }
.pm-danger { color: #e05252; }
.edited-mark { margin-left: 6px; font-size: 10px; color: #aaa; border: 1px solid #ddd; border-radius: 7px; padding: 0 5px; }

.up-sec-title { font-size: 14px; font-weight: 700; color: #333; margin: 4px 2px 2px; }
.rp-head { font-size: 14px; font-weight: 700; color: #333; margin: 14px 2px 6px; }
.rp-top { font-size: 12px; color: #26a69a; margin-bottom: 3px; }
.rp-text { font-size: 13px; color: #444; line-height: 1.6; }
.rp-time { font-size: 11px; color: #bbb; margin-top: 5px; }
