* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #1a1a1a; font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; cursor: pointer; }

/* ===== 顶部导航 ===== */
.top-header { background: #fff; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; gap: 20px; }
.header-left { flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.logo-text { font-size: 18px; font-weight: 700; color: #1a1a1a; }
.header-center { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-info { display: flex; align-items: center; gap: 8px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #e0e7ff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.user-name { font-weight: 600; font-size: 14px; }
.user-badge { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.badge-admin { background: #fef3c7; color: #d97706; }
.badge-license { background: #dcfce7; color: #16a34a; }
.badge-license-warn { background: #fef3c7; color: #d97706; }
.badge-license-trial { background: #f3f4f6; color: #6b7280; }
.login-area { flex: 1; }
.login-btn { color: #2563eb; cursor: pointer; font-weight: 500; }
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-box { position: relative; width: 280px; }
.search-box input { width: 100%; height: 36px; padding: 0 12px 0 36px; border: 1px solid #d9d9d9; border-radius: 8px; font-size: 13px; outline: none; transition: border-color 0.2s; }
.search-box input:focus { border-color: #2563eb; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: 0.5; }
.btn-post { height: 36px; padding: 0 20px; background: #2563eb; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-post:hover { background: #1d4ed8; }

/* ===== 页面主体 ===== */
.page-body { max-width: 1200px; margin: 0 auto; padding: 20px; }
.container { display: flex; gap: 20px; align-items: flex-start; }

/* ===== 左侧边栏 ===== */
.sidebar { width: 260px; flex-shrink: 0; }
.side-section { margin-bottom: 16px; }
.side-heading { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: #1a1a1a; padding-left: 4px; }
.category-list { display: flex; flex-direction: column; gap: 8px; }
.category-item { background: #fff; border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; display: flex; align-items: center; gap: 12px; }
.category-item:hover { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37,99,235,0.1); transform: translateX(2px); }
.category-item.active { border-color: #2563eb; background: #eff6ff; }
.cat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cat-info { flex: 1; min-width: 0; }
.cat-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cat-desc { font-size: 12px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-count { font-size: 12px; color: #aaa; flex-shrink: 0; }

/* 侧边广告 */
.side-ad { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 10px; border: 1px solid #e8e8e8; }
.side-ad-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.side-ad-desc { font-size: 12px; color: #888; margin-bottom: 10px; line-height: 1.5; }
.side-ad-link { font-size: 12px; color: #2563eb; text-align: right; display: block; cursor: pointer; }
.side-ad-link:hover { text-decoration: underline; }
.side-ad-placeholder { background: #fafbfc; border: 1px dashed #d4d9e2; }
.side-ad-placeholder .side-ad-title { color: #9aa4b2; font-weight: 600; }
.side-ad-placeholder .side-ad-desc { color: #b6bec9; margin-bottom: 0; }
.side-ad-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.side-ad-small { margin-bottom: 0; padding: 12px; }
.side-ad-small .side-ad-title { font-size: 13px; }
.side-ad-small .side-ad-desc { font-size: 11px; margin-bottom: 6px; }
.side-ad-small .side-ad-link { font-size: 11px; }

/* ===== 主内容区 ===== */
.main-content { flex: 1; min-width: 0; }

/* 横幅公告 */
.banner-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.banner-item { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); border-radius: 10px; padding: 18px 24px; color: #fff; display: flex; align-items: center; justify-content: space-between; }
.banner-text h3 { font-size: 16px; margin-bottom: 4px; }
.banner-text p { font-size: 13px; opacity: 0.85; }
.banner-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 6px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; flex-shrink: 0; transition: background 0.2s; }
.banner-btn:hover { background: rgba(255,255,255,0.3); }

/* 大广告位 */
.ad-banner-large { display: block; background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-radius: 10px; padding: 20px 24px; margin-bottom: 16px; border: 1px solid #fcd34d; text-decoration: none; transition: all 0.2s; }
.ad-banner-large:hover { box-shadow: 0 4px 12px rgba(251,191,36,0.3); transform: translateY(-1px); }
.ad-banner-large .ad-banner-title { font-size: 16px; font-weight: 700; color: #92400e; margin-bottom: 4px; }
.ad-banner-large .ad-banner-desc { font-size: 13px; color: #b45309; }
.ad-banner-placeholder { background: #f9fafb; border: 2px dashed #d1d5db; }
.ad-banner-placeholder .ad-banner-title { color: #9ca3af; }
.ad-banner-placeholder .ad-banner-desc { color: #d1d5db; }

/* 帖子列表 */
.thread-section { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e8e8e8; }
.thread-header { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.thread-header-title { font-size: 15px; font-weight: 700; }
.thread-list { list-style: none; }
.thread-item { padding: 14px 20px; border-bottom: 1px solid #f5f5f5; transition: background 0.15s; cursor: pointer; }
.thread-item:hover { background: #fafbfc; }
.thread-item:last-child { border-bottom: none; }
.thread-item.pinned { background: #fffbeb; }
.thread-item.pinned:hover { background: #fef3c7; }
.thread-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.thread-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; flex-shrink: 0; }
.tag-pinned { background: #fef3c7; color: #d97706; }
.tag-essence { background: #fef3c7; color: #d97706; }
.tag-category { background: #e0e7ff; color: #4f46e5; }
.thread-title { font-size: 15px; font-weight: 600; color: #1a1a1a; flex: 1; min-width: 0; }
.thread-title:hover { color: #2563eb; }
.thread-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #999; flex-wrap: wrap; }
.thread-meta-item { display: flex; align-items: center; gap: 4px; }
.thread-author { color: #666; }
.thread-from { color: #2563eb; }

/* 空状态 */
.empty-state { padding: 60px 20px; text-align: center; color: #aaa; }
.empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-text { font-size: 14px; }

/* ===== 帖子详情 ===== */
.post-detail { background: #fff; border-radius: 10px; padding: 24px; border: 1px solid #e8e8e8; margin-bottom: 16px; }
.post-detail-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.post-detail-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #888; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.post-detail-content { font-size: 14px; line-height: 1.8; color: #333; white-space: pre-wrap; word-break: break-word; }
.reply-section { background: #fff; border-radius: 10px; padding: 20px; border: 1px solid #e8e8e8; }
.reply-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.reply-item { padding: 14px 0; border-bottom: 1px solid #f5f5f5; }
.reply-item:last-child { border-bottom: none; }
.reply-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #888; margin-bottom: 8px; }
.reply-author { font-weight: 600; color: #333; }
.reply-content { font-size: 14px; line-height: 1.7; color: #333; white-space: pre-wrap; }
.reply-form { margin-top: 20px; }
.reply-form textarea { width: 100%; min-height: 80px; padding: 12px; border: 1px solid #d9d9d9; border-radius: 8px; font-size: 14px; resize: vertical; outline: none; font-family: inherit; }
.reply-form textarea:focus { border-color: #2563eb; }
.reply-form button { margin-top: 10px; }

/* ===== 通用按钮 ===== */
.btn-primary { background: #2563eb; color: #fff; border: none; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: #1d4ed8; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #333; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 8px; font-size: 14px; outline: none; transition: border-color 0.2s; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #2563eb; }

/* ===== 弹窗 ===== */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-content { background: #fff; border-radius: 12px; width: 420px; max-width: 90vw; max-height: 90vh; overflow-y: auto; }
.modal-lg { width: 600px; }
.modal-header { padding: 18px 24px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 17px; font-weight: 700; }
.close { font-size: 24px; cursor: pointer; color: #aaa; line-height: 1; }
.close:hover { color: #333; }
.modal-body { padding: 24px; }
.modal-tip { font-size: 12px; color: #999; margin-top: 12px; text-align: center; }

/* ===== Toast ===== */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.8); color: #fff; padding: 10px 24px; border-radius: 8px; font-size: 14px; z-index: 2000; }

/* ===== 底部 ===== */
.footer { background: #fff; border-top: 1px solid #e8e8e8; padding: 20px; text-align: center; margin-top: 40px; }
.footer-inner p { font-size: 12px; color: #999; margin: 2px 0; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 20px; }
.page-btn { min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid #d9d9d9; background: #fff; border-radius: 6px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.page-btn:hover { border-color: #2563eb; color: #2563eb; }
.page-btn.active { background: #2563eb; color: #fff; border-color: #2563eb; }

/* ===== 用户中心 ===== */
.uc-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: #fff; border-radius: 10px; padding: 6px; border: 1px solid #e8e8e8; }
.uc-tab { flex: 1; text-align: center; padding: 12px 16px; font-size: 14px; font-weight: 500; color: #666; cursor: pointer; border-radius: 8px; transition: all 0.2s; }
.uc-tab:hover { background: #f5f6f8; }
.uc-tab.active { background: #2563eb; color: #fff; font-weight: 600; }
.uc-content { min-height: 300px; }
.uc-profile-card { background: #fff; border-radius: 10px; padding: 24px; border: 1px solid #e8e8e8; display: flex; gap: 32px; }
.uc-avatar-wrap { text-align: center; flex-shrink: 0; }
.uc-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; cursor: pointer; }
.uc-avatar-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; cursor: pointer; border: 2px solid #e8e8e8; }
.uc-form { flex: 1; }
.uc-feedback-card { background: #fff; border-radius: 10px; padding: 24px; border: 1px solid #e8e8e8; }


/* ===== 帖子头像和签名 ===== */
.thread-item-with-avatar { display: flex; gap: 14px; align-items: flex-start; }
.thread-item-avatar { flex-shrink: 0; padding-top: 2px; }
.thread-item-body { flex: 1; min-width: 0; }
.post-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.post-avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid #e8e8e8; }
.post-avatar-unauth { background: #f3f4f6; color: #9ca3af; font-size: 18px; }
.post-signature { font-size: 12px; color: #888; }
.post-signature-empty { color: #ccc; }
.post-signature-unauth { color: #ef4444; font-weight: 600; }

/* 帖子详情作者区 */
.post-detail-author { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.post-detail-author .post-avatar, .post-detail-author .post-avatar-img { width: 48px; height: 48px; font-size: 20px; }
.post-detail-author-info { flex: 1; }
.post-detail-author-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.post-detail-author-meta { font-size: 12px; color: #999; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 回复头像区 */
.reply-item-with-avatar { display: flex; gap: 12px; align-items: flex-start; }
.reply-item-avatar { flex-shrink: 0; }
.reply-item-body { flex: 1; min-width: 0; }
.reply-item-with-avatar .post-avatar, .reply-item-with-avatar .post-avatar-img { width: 36px; height: 36px; font-size: 14px; }

/* ===== 经典论坛帖子风格 ===== */
.forum-post-detail-title {
  font-size: 20px;
  font-weight: 700;
  padding: 14px 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #2563eb;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.forum-post-row {
  display: flex;
  border: 1px solid #e5e7eb;
  border-top: none;
  background: #fff;
}
.forum-reply-row {
  margin-top: 12px;
  border: 1px solid #e5e7eb;
}
.forum-user-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: #f8f9fa;
  border-right: 1px solid #e5e7eb;
  padding: 16px 12px;
  text-align: center;
}
.forum-user-level {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 10px;
}
.forum-user-avatar-wrap {
  margin-bottom: 8px;
}
.forum-avatar {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.forum-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #ddd;
}
.forum-avatar-unauth {
  background: #f3f4f6;
  color: #9ca3af;
}
.forum-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  word-break: break-all;
}
.forum-user-stats {
  text-align: left;
  font-size: 12px;
  color: #6b7280;
}
.forum-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.forum-stat-label {
  color: #9ca3af;
}
.forum-stat-value {
  color: #374151;
  font-weight: 500;
}
.forum-user-unauth-tag {
  margin-top: 8px;
  display: inline-block;
  padding: 2px 8px;
  background: #fef2f2;
  color: #ef4444;
  font-size: 11px;
  border-radius: 3px;
  font-weight: 600;
}
.forum-post-content-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
}
.forum-post-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e5e7eb;
  margin-bottom: 12px;
  font-size: 13px;
}
.forum-post-username {
  font-weight: 600;
  color: #2563eb;
  font-size: 14px;
}
.forum-post-time {
  color: #9ca3af;
}
.forum-post-views {
  color: #9ca3af;
}
.forum-post-floor {
  margin-left: auto;
  color: #2563eb;
  font-weight: 600;
}
.forum-post-body {
  font-size: 14px;
  line-height: 1.8;
  color: #374151;
  flex: 1;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 60px;
}

/* 帖子正文里的外链（2026-10-06 新增，配合 renderContent 的 linkify） */
.forum-post-body .post-link {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
  word-break: break-all;
}
.forum-post-body .post-link:hover {
  color: #1d4ed8;
  background: #eff6ff;
}

/* 帖子正文里的配图（2026-10-10 新增，配合 renderContent 的图片渲染） */
.forum-post-body .post-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  cursor: zoom-in;
  background: #fff;
}
/* 点击看大图 */
.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.img-lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 10px 48px rgba(0, 0, 0, 0.55);
}
.forum-signature {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px dashed #d1d5db;
}
.forum-signature-label {
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.forum-signature-text {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}
.forum-signature-empty {
  color: #d1d5db;
  font-style: italic;
}
.forum-signature-unauth {
  color: #ef4444;
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
  .forum-post-row { flex-direction: column; }
  .forum-user-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e5e7eb; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; text-align: left; }
  .forum-user-stats { display: flex; gap: 16px; }
  .forum-stat-row { flex-direction: column; }
}
/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .container { flex-direction: column; }
  .sidebar { width: 100%; }
  .category-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-box { width: 160px; }
  .header-inner { padding: 0 12px; gap: 10px; }
  .logo-text { display: none; }
  .user-badge { display: none !important; }
  .page-body { padding: 12px; }
  .banner-item { padding: 14px 16px; }
  .banner-text h3 { font-size: 14px; }
  .thread-item { padding: 12px 16px; }
  .uc-profile-card { flex-direction: column; gap: 16px; }
  .uc-tabs { flex-wrap: wrap; }
  .uc-tab { padding: 10px 8px; font-size: 13px; }
}
@media (max-width: 600px) {
  .category-list { grid-template-columns: 1fr; }
  .search-box { display: none; }
  .user-name { display: none; }
}

/* ===== 通知铃铛和面板 ===== */
.header-bell {
  position: relative;
  cursor: pointer;
  font-size: 18px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
}
.header-bell:hover { opacity: 0.8; }
.bell-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.notification-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 320px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
}
.notification-panel-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notification-read-all {
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
  font-weight: normal;
}
.notification-read-all:hover { text-decoration: underline; }
.notification-list { padding: 0; }
.notification-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}
.notification-item:hover { background: #f9fafb; }
.notification-unread { background: #eff6ff; }
.notification-icon { font-size: 18px; flex-shrink: 0; }
.notification-content { flex: 1; min-width: 0; }
.notification-text { font-size: 13px; color: #374151; line-height: 1.5; }
.notification-time { font-size: 11px; color: #9ca3af; margin-top: 4px; }
.notification-empty { padding: 30px; text-align: center; color: #9ca3af; font-size: 13px; }

/* ===== 用户中心消息列表 ===== */
.uc-msg-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
}
.uc-msg-unread { background: #eff6ff; border-color: #bfdbfe; }
.uc-msg-icon { font-size: 20px; flex-shrink: 0; }
.uc-msg-body { flex: 1; }
.uc-msg-text { font-size: 14px; color: #374151; line-height: 1.6; }
.uc-msg-time { font-size: 12px; color: #9ca3af; margin-top: 6px; }

/* ===== 用户中心反馈记录 ===== */
.uc-feedback-history { margin-top: 24px; }
.uc-section-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #1f2937; }
.uc-feedback-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
}
.uc-feedback-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.uc-feedback-type { font-size: 12px; color: #6b7280; }
.uc-feedback-title { font-weight: 600; font-size: 14px; color: #1f2937; flex: 1; }
.uc-feedback-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-replied { background: #d1fae5; color: #065f46; }
.uc-feedback-content { font-size: 13px; color: #4b5563; line-height: 1.6; margin-bottom: 6px; }
.uc-feedback-time { font-size: 12px; color: #9ca3af; }
.uc-feedback-reply {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
  border-radius: 0 6px 6px 0;
}
.uc-feedback-reply-label { font-size: 12px; font-weight: 600; color: #16a34a; margin-bottom: 4px; }
.uc-feedback-reply-content { font-size: 13px; color: #374151; line-height: 1.6; }
.uc-feedback-reply-time { font-size: 11px; color: #9ca3af; margin-top: 4px; }