/* ============================================
   42_Dreamy_Purple - 梦幻紫论坛模板
   CSS前缀: dv-
   配色: 主色#6A0572 强调#AB83A1 背景#FBF0FF 文字#4A0F55
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
.dv-body {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #FBF0FF;
  color: #4A0F55;
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }
input, textarea, select { font-family: inherit; outline: none; border: none; }

/* 星空背景 */
.dv-stars-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.dv-star {
  position: absolute;
  width: 4px; height: 4px;
  background: #AB83A1;
  border-radius: 50%;
  box-shadow: 0 0 8px #AB83A1;
  animation: dvTwinkle 3s ease-in-out infinite;
}
.dv-s1 { top: 10%; left: 5%; animation-delay: 0s; }
.dv-s2 { top: 20%; left: 90%; animation-delay: 0.5s; }
.dv-s3 { top: 50%; left: 15%; animation-delay: 1s; }
.dv-s4 { top: 70%; left: 85%; animation-delay: 1.5s; }
.dv-s5 { top: 30%; left: 50%; animation-delay: 2s; }
.dv-s6 { top: 80%; left: 40%; animation-delay: 2.5s; }
.dv-s7 { top: 15%; left: 70%; animation-delay: 0.3s; }
.dv-s8 { top: 60%; left: 5%; animation-delay: 1.8s; }
@keyframes dvTwinkle { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 0.8; transform: scale(1.3); } }

/* ===== 顶部导航 ===== */
.dv-header {
  background: linear-gradient(135deg, #6A0572 0%, #4A0F55 100%);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 24px rgba(106, 5, 114, 0.3);
}
.dv-header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 60px; gap: 20px;
  position: relative; z-index: 2;
}
.dv-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dv-logo-icon { filter: drop-shadow(0 0 6px rgba(171, 131, 161, 0.6)); }
.dv-logo-text { font-size: 19px; font-weight: 700; color: #FFFFFF; letter-spacing: 1px; }
.dv-nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
.dv-nav-link {
  color: rgba(255,255,255,0.7); font-size: 13px;
  padding: 6px 10px; border-radius: 16px;
  transition: all 0.3s ease; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.dv-nav-link:hover { background: rgba(171, 131, 161, 0.3); color: #FFF; }
.dv-nav-link.dv-active { background: rgba(171, 131, 161, 0.4); color: #FFF; font-weight: 600; }
.dv-user-area { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dv-icon-btn {
  position: relative; color: #FFF;
  width: 34px; height: 34px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.dv-icon-btn:hover { background: rgba(171, 131, 161, 0.3); }
.dv-badge {
  position: absolute; top: 0; right: 0;
  background: #EF476F; color: #FFF; font-size: 10px;
  min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.dv-avatar { width: 34px; height: 34px; border-radius: 12px; border: 2px solid rgba(171, 131, 161, 0.5); }
.dv-menu-toggle { display: none; color: #FFF; }

/* ===== Banner ===== */
.dv-banner {
  position: relative; max-width: 1280px; margin: 20px auto;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(106, 5, 114, 0.25);
}
.dv-banner-glow {
  position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1;
}
.dv-glow-1 { width: 300px; height: 300px; background: rgba(171, 131, 161, 0.5); top: -100px; left: -50px; }
.dv-glow-2 { width: 250px; height: 250px; background: rgba(106, 5, 114, 0.4); bottom: -80px; right: -50px; }
.dv-banner-img { width: 100%; height: 260px; object-fit: cover; }
.dv-banner-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(74, 15, 85, 0.7) 0%, rgba(106, 5, 114, 0.5) 100%);
  color: #FFF;
}
.dv-banner-star { animation: dvRotate 8s linear infinite; margin-bottom: 8px; }
@keyframes dvRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.dv-banner-title { font-size: 34px; font-weight: 700; text-shadow: 0 0 20px rgba(171, 131, 161, 0.8); }
.dv-banner-subtitle { font-size: 15px; opacity: 0.9; margin-bottom: 16px; }
.dv-banner-search {
  display: flex; gap: 8px; width: 480px; max-width: 80%;
  background: rgba(255, 255, 255, 0.2); border-radius: 28px;
  padding: 4px; backdrop-filter: blur(10px); margin-bottom: 20px;
}
.dv-banner-input {
  flex: 1; background: transparent; color: #FFF;
  padding: 0 16px; font-size: 14px;
}
.dv-banner-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.dv-banner-search-btn {
  background: linear-gradient(135deg, #AB83A1, #6A0572);
  color: #FFF; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dv-banner-stats { display: flex; align-items: center; gap: 20px; }
.dv-bs-item { display: flex; flex-direction: column; align-items: center; }
.dv-bs-num { font-size: 22px; font-weight: 700; text-shadow: 0 0 10px rgba(171, 131, 161, 0.5); }
.dv-bs-label { font-size: 11px; opacity: 0.8; }
.dv-bs-divider { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.25); }

/* ===== 主体 ===== */
.dv-main { padding: 0 24px 40px; position: relative; z-index: 2; }
.dv-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.dv-content { min-width: 0; }

/* 快捷入口 */
.dv-quick-entry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.dv-quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: #FFF; border-radius: 16px; padding: 16px 8px;
  color: #6A0572; font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 12px rgba(106, 5, 114, 0.08);
  transition: all 0.3s ease; border: 1px solid #F3E5F5;
}
.dv-quick-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(106, 5, 114, 0.15); border-color: #AB83A1; }

/* 板块 */
.dv-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dv-section {
  background: #FFF; border-radius: 18px; padding: 18px;
  box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06);
  border: 1px solid #F3E5F5; transition: all 0.3s ease;
}
.dv-section:hover { box-shadow: 0 4px 24px rgba(106, 5, 114, 0.12); transform: translateY(-2px); }
.dv-section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #F3E5F5; }
.dv-section-icon {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, #6A0572, #AB83A1);
  color: #FFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dv-section-title { font-size: 16px; font-weight: 600; flex: 1; }
.dv-section-title a { color: #4A0F55; transition: color 0.2s ease; }
.dv-section-title a:hover { color: #6A0572; }
.dv-section-count { font-size: 11px; color: #AB83A1; background: #F3E5F5; padding: 2px 8px; border-radius: 8px; }
.dv-post-list { display: flex; flex-direction: column; gap: 2px; }
.dv-post-item { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 10px; transition: background 0.2s ease; }
.dv-post-item:hover { background: #FBF0FF; }
.dv-post-tag { font-size: 10px; padding: 1px 5px; border-radius: 4px; color: #FFF; font-weight: 600; flex-shrink: 0; }
.dv-tag-hot { background: #EF476F; }
.dv-tag-new { background: #AB83A1; }
.dv-tag-essence { background: #FFD60A; color: #4A0F55; }
.dv-tag-top { background: #6A0572; }
.dv-post-title { flex: 1; font-size: 13px; color: #4A0F55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.dv-post-title:hover { color: #6A0572; }
.dv-post-meta { font-size: 11px; color: #AB83A1; flex-shrink: 0; }

/* 侧边栏 */
.dv-sidebar { display: flex; flex-direction: column; gap: 16px; }
.dv-widget {
  background: #FFF; border-radius: 18px; padding: 16px;
  box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06);
  border: 1px solid #F3E5F5; position: relative; overflow: hidden;
}
.dv-widget-glow::before {
  content: ""; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(171, 131, 161, 0.15); filter: blur(30px);
}
.dv-widget-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: #4A0F55;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #F3E5F5;
  position: relative; z-index: 1;
}
.dv-online-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }
.dv-online-card { display: flex; flex-direction: column; align-items: center; padding: 10px; background: #FBF0FF; border-radius: 12px; }
.dv-online-num { font-size: 18px; font-weight: 700; color: #6A0572; }
.dv-online-label { font-size: 11px; color: #AB83A1; }
.dv-hot-list { display: flex; flex-direction: column; gap: 6px; }
.dv-hot-item { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; }
.dv-hot-rank { width: 18px; height: 18px; border-radius: 6px; background: #F3E5F5; color: #AB83A1; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.dv-r-1 { background: #EF476F; color: #FFF; }
.dv-r-2 { background: #AB83A1; color: #FFF; }
.dv-r-3 { background: #FFD60A; color: #4A0F55; }
.dv-hot-item a { flex: 1; color: #4A0F55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.dv-hot-item a:hover { color: #6A0572; }
.dv-hot-count { font-size: 11px; color: #AB83A1; flex-shrink: 0; }
.dv-user-list { display: flex; flex-direction: column; gap: 10px; }
.dv-user-item { display: flex; align-items: center; gap: 10px; }
.dv-user-avatar { width: 36px; height: 36px; border-radius: 12px; border: 2px solid #F3E5F5; }
.dv-user-info { display: flex; flex-direction: column; }
.dv-user-name { font-size: 13px; font-weight: 600; color: #4A0F55; }
.dv-user-score { font-size: 11px; color: #AB83A1; }

/* 面包屑 */
.dv-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #AB83A1; margin-bottom: 16px; padding: 8px 0; }
.dv-breadcrumb a { color: #6A0572; transition: color 0.2s ease; }
.dv-breadcrumb a:hover { color: #AB83A1; }
.dv-breadcrumb-current { color: #4A0F55; font-weight: 600; }

/* 板块信息 */
.dv-board-card { background: #FFF; border-radius: 18px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; position: relative; overflow: hidden; }
.dv-board-glow { position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(171, 131, 161, 0.1); filter: blur(40px); }
.dv-board-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; position: relative; z-index: 1; }
.dv-board-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #6A0572, #AB83A1); display: flex; align-items: center; justify-content: center; color: #FFF; flex-shrink: 0; }
.dv-board-text { flex: 1; }
.dv-board-title { font-size: 20px; font-weight: 700; color: #4A0F55; margin-bottom: 2px; }
.dv-board-desc { font-size: 13px; color: #AB83A1; }
.dv-new-post-btn { display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; padding: 10px 20px; border-radius: 14px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; flex-shrink: 0; }
.dv-new-post-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(106, 5, 114, 0.3); }
.dv-board-stats { display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid #F3E5F5; position: relative; z-index: 1; }
.dv-board-stat { display: flex; flex-direction: column; }
.dv-bs-num { font-size: 18px; font-weight: 700; color: #6A0572; }
.dv-bs-label { font-size: 11px; color: #AB83A1; }

/* 筛选 */
.dv-filter { display: flex; align-items: center; justify-content: space-between; background: #FFF; border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(106, 5, 114, 0.05); border: 1px solid #F3E5F5; flex-wrap: wrap; gap: 10px; }
.dv-filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.dv-filter-tab { padding: 5px 12px; border-radius: 12px; font-size: 12px; color: #AB83A1; transition: all 0.2s ease; }
.dv-filter-tab:hover { background: #FBF0FF; }
.dv-filter-active { background: #6A0572; color: #FFF; }
.dv-sort-select { border: 1px solid #F3E5F5; border-radius: 10px; padding: 4px 10px; font-size: 12px; color: #4A0F55; background: #FBF0FF; }

/* 帖子列表 */
.dv-thread-list { background: #FFF; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; margin-bottom: 16px; }
.dv-thread-head { display: grid; grid-template-columns: 1fr 130px 110px 130px; padding: 10px 18px; background: #FBF0FF; font-size: 11px; font-weight: 600; color: #AB83A1; }
.dv-thread-row { display: grid; grid-template-columns: 1fr 130px 110px 130px; padding: 12px 18px; border-bottom: 1px solid #F3E5F5; align-items: center; transition: background 0.2s ease; color: inherit; }
.dv-thread-row:hover { background: #FBF0FF; }
.dv-thread-row:last-child { border-bottom: none; }
.dv-thread-topic { display: flex; align-items: center; gap: 5px; min-width: 0; }
.dv-thread-tag { font-size: 10px; padding: 1px 4px; border-radius: 4px; color: #FFF; font-weight: 600; flex-shrink: 0; }
.dv-thread-title { font-size: 13px; color: #4A0F55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-thread-row:hover .dv-thread-title { color: #6A0572; }
.dv-thread-author { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dv-thread-avatar { width: 22px; height: 22px; border-radius: 8px; flex-shrink: 0; }
.dv-thread-author span { font-size: 12px; color: #AB83A1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-thread-stat { display: flex; flex-direction: column; font-size: 12px; }
.dv-stat-reply { color: #6A0572; font-weight: 600; }
.dv-stat-view { color: #AB83A1; }
.dv-thread-last { display: flex; flex-direction: column; font-size: 11px; }
.dv-last-time { color: #AB83A1; }
.dv-last-author { color: #AB83A1; opacity: 0.7; }

/* 分页 */
.dv-pagination { display: flex; justify-content: center; gap: 5px; padding: 20px 0; flex-wrap: wrap; }
.dv-page-btn { min-width: 34px; height: 34px; border-radius: 10px; background: #FFF; border: 1px solid #F3E5F5; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #4A0F55; transition: all 0.2s ease; padding: 0 8px; }
.dv-page-btn:hover { background: #FBF0FF; border-color: #AB83A1; }
.dv-page-active { background: #6A0572; color: #FFF; border-color: #6A0572; }
.dv-page-disabled { opacity: 0.4; cursor: not-allowed; }
.dv-page-ellipsis { display: flex; align-items: center; color: #AB83A1; }

/* 详情 */
.dv-detail-title-bar { background: #FFF; border-radius: 18px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; }
.dv-detail-title { font-size: 20px; font-weight: 700; color: #4A0F55; margin-bottom: 10px; }
.dv-detail-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dv-detail-tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; color: #FFF; font-weight: 600; }
.dv-meta-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #AB83A1; }
.dv-post-main { background: #FFF; border-radius: 18px; padding: 22px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; }
.dv-post-author-bar { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #F3E5F5; margin-bottom: 16px; }
.dv-post-avatar { width: 50px; height: 50px; border-radius: 14px; border: 3px solid #F3E5F5; }
.dv-post-author-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dv-post-username { font-size: 15px; font-weight: 600; color: #4A0F55; }
.dv-post-badge { font-size: 10px; padding: 1px 6px; border-radius: 6px; width: fit-content; color: #FFF; }
.dv-badge-gold { background: linear-gradient(135deg, #FFD60A, #FF9F1C); color: #4A0F55; }
.dv-badge-silver { background: #AB83A1; }
.dv-badge-bronze { background: #D4A5C8; color: #4A0F55; }
.dv-post-floor { font-size: 12px; color: #AB83A1; font-weight: 600; }
.dv-post-time { font-size: 12px; color: #AB83A1; }
.dv-post-content { font-size: 14px; line-height: 1.8; color: #4A0F55; }
.dv-post-content p { margin-bottom: 12px; }
.dv-post-image { border-radius: 14px; margin: 14px 0; max-height: 280px; width: auto; }
.dv-post-actions { display: flex; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #F3E5F5; }
.dv-action-btn { display: flex; align-items: center; gap: 5px; background: #FBF0FF; border: 1px solid #F3E5F5; color: #6A0572; padding: 7px 14px; border-radius: 12px; font-size: 12px; transition: all 0.2s ease; }
.dv-action-btn:hover { background: #F3E5F5; }
.dv-action-sm { padding: 4px 10px; font-size: 11px; }

/* 回复 */
.dv-replies { background: #FFF; border-radius: 18px; padding: 18px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; }
.dv-replies-title { font-size: 15px; font-weight: 600; color: #4A0F55; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #F3E5F5; }
.dv-replies-count { color: #AB83A1; font-size: 13px; }
.dv-reply-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F3E5F5; }
.dv-reply-item:last-child { border-bottom: none; }
.dv-reply-avatar { width: 38px; height: 38px; border-radius: 12px; border: 2px solid #F3E5F5; flex-shrink: 0; }
.dv-reply-body { flex: 1; min-width: 0; }
.dv-reply-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.dv-reply-name { font-size: 13px; font-weight: 600; color: #4A0F55; }
.dv-reply-badge { font-size: 9px; padding: 1px 5px; border-radius: 4px; color: #FFF; }
.dv-reply-floor { font-size: 11px; color: #AB83A1; }
.dv-reply-time { font-size: 11px; color: #AB83A1; margin-left: auto; }
.dv-reply-text { font-size: 13px; color: #4A0F55; line-height: 1.7; margin-bottom: 6px; }
.dv-reply-image { border-radius: 10px; max-height: 180px; margin-bottom: 6px; }
.dv-reply-actions { display: flex; gap: 6px; }

/* 回复框 */
.dv-reply-form { background: #FFF; border-radius: 18px; padding: 18px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; }
.dv-reply-form-title { font-size: 15px; font-weight: 600; color: #4A0F55; margin-bottom: 10px; }
.dv-reply-textarea { width: 100%; min-height: 110px; border: 2px solid #F3E5F5; border-radius: 14px; padding: 12px; font-size: 13px; color: #4A0F55; resize: vertical; transition: border-color 0.2s ease; background: #FBF0FF; }
.dv-reply-textarea:focus { border-color: #AB83A1; }
.dv-reply-form-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.dv-reply-tools { display: flex; gap: 6px; }
.dv-tool-btn { width: 34px; height: 34px; border-radius: 10px; background: #FBF0FF; border: 1px solid #F3E5F5; color: #AB83A1; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.dv-tool-btn:hover { background: #F3E5F5; }
.dv-submit-reply { background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; padding: 10px 24px; border-radius: 14px; font-size: 13px; font-weight: 600; transition: transform 0.2s ease; }
.dv-submit-reply:hover { transform: translateY(-2px); }

/* 楼主卡片 */
.dv-user-card { display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; z-index: 1; }
.dv-user-card-avatar { width: 60px; height: 60px; border-radius: 18px; border: 3px solid #F3E5F5; }
.dv-user-card-name { font-size: 15px; font-weight: 600; color: #4A0F55; }
.dv-user-card-badge { font-size: 10px; padding: 2px 8px; border-radius: 6px; color: #4A0F55; background: linear-gradient(135deg, #FFD60A, #FF9F1C); }
.dv-user-card-stats { display: flex; gap: 16px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #F3E5F5; width: 100%; justify-content: center; }
.dv-user-card-stats div { display: flex; flex-direction: column; align-items: center; }
.dv-user-card-stats span { font-size: 14px; font-weight: 700; color: #6A0572; }
.dv-user-card-stats label { font-size: 10px; color: #AB83A1; }

/* 公告 */
.dv-notice { padding: 12px; background: #FBF0FF; border-radius: 12px; font-size: 13px; color: #6A0572; line-height: 1.6; border-left: 3px solid #AB83A1; }

/* 搜索 */
.dv-search-hero { background: #FFF; border-radius: 20px; padding: 32px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; text-align: center; position: relative; overflow: hidden; }
.dv-search-glow { position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 300px; height: 150px; border-radius: 50%; background: rgba(171, 131, 161, 0.15); filter: blur(50px); }
.dv-search-hero-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 24px; font-weight: 700; color: #4A0F55; margin-bottom: 20px; position: relative; z-index: 1; }
.dv-search-box-large { display: flex; gap: 8px; max-width: 680px; margin: 0 auto 14px; position: relative; z-index: 1; }
.dv-search-input-large { flex: 1; height: 46px; border: 2px solid #F3E5F5; border-radius: 14px; padding: 0 18px; font-size: 14px; color: #4A0F55; transition: border-color 0.2s ease; }
.dv-search-input-large:focus { border-color: #AB83A1; }
.dv-search-btn-large { display: flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; padding: 0 24px; border-radius: 14px; font-size: 14px; font-weight: 600; transition: transform 0.2s ease; }
.dv-search-btn-large:hover { transform: translateY(-2px); }
.dv-search-info { font-size: 13px; color: #AB83A1; position: relative; z-index: 1; }
.dv-search-kw { color: #6A0572; font-weight: 600; }
.dv-search-cnt { color: #EF476F; font-weight: 700; }
.dv-search-results { display: flex; flex-direction: column; gap: 10px; }
.dv-search-result { background: #FFF; border-radius: 14px; padding: 16px 18px; box-shadow: 0 2px 8px rgba(106, 5, 114, 0.05); border: 1px solid #F3E5F5; transition: all 0.2s ease; }
.dv-search-result:hover { box-shadow: 0 4px 16px rgba(106, 5, 114, 0.1); transform: translateY(-1px); }
.dv-sr-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dv-sr-tag { font-size: 10px; padding: 2px 8px; border-radius: 6px; background: #F3E5F5; color: #6A0572; font-weight: 600; flex-shrink: 0; }
.dv-sr-title { font-size: 14px; font-weight: 600; color: #4A0F55; transition: color 0.2s ease; }
.dv-sr-title:hover { color: #6A0572; }
.dv-sr-title em { color: #EF476F; font-style: normal; font-weight: 700; }
.dv-sr-summary { font-size: 12px; color: #AB83A1; line-height: 1.6; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dv-sr-summary em { color: #EF476F; font-style: normal; font-weight: 600; }
.dv-sr-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.dv-sr-meta span { display: flex; align-items: center; gap: 3px; font-size: 11px; color: #AB83A1; }
.dv-hot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-hot-tag { padding: 5px 12px; border-radius: 12px; background: #FBF0FF; border: 1px solid #F3E5F5; font-size: 12px; color: #6A0572; transition: all 0.2s ease; }
.dv-hot-tag:hover { background: #F3E5F5; border-color: #AB83A1; }
.dv-ht-1 { background: #EF476F; color: #FFF; border-color: #EF476F; }
.dv-ht-2 { background: #AB83A1; color: #FFF; border-color: #AB83A1; }
.dv-ht-3 { background: #FFD60A; color: #4A0F55; border-color: #FFD60A; }

/* 页脚 */
.dv-footer { background: linear-gradient(180deg, #4A0F55 0%, #6A0572 100%); color: #E1BEE7; margin-top: 40px; position: relative; z-index: 2; }
.dv-footer-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 40px; padding: 36px 24px 20px; align-items: flex-start; }
.dv-footer-brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: #FFF; flex-shrink: 0; }
.dv-footer-links-wrap { display: flex; gap: 60px; flex: 1; justify-content: flex-end; }
.dv-footer-col { display: flex; flex-direction: column; gap: 8px; }
.dv-footer-col h4 { font-size: 14px; color: #FFF; margin-bottom: 4px; }
.dv-footer-col a { font-size: 12px; color: #AB83A1; transition: color 0.2s ease; }
.dv-footer-col a:hover { color: #E1BEE7; }
.dv-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 14px 24px; text-align: center; font-size: 12px; color: #AB83A1; }

/* 响应式 */
@media (max-width: 1024px) {
  .dv-container { grid-template-columns: 1fr; }
  .dv-nav { display: none; }
  .dv-nav.dv-nav-open { display: flex; position: absolute; top: 60px; left: 0; right: 0; background: #4A0F55; flex-direction: column; padding: 10px; gap: 2px; max-height: 400px; overflow-y: auto; }
  .dv-menu-toggle { display: flex; }
  .dv-sections { grid-template-columns: 1fr; }
  .dv-quick-entry { grid-template-columns: repeat(2, 1fr); }
  .dv-thread-head, .dv-thread-row { grid-template-columns: 1fr 100px 80px; }
  .dv-thread-last, .dv-th-last { display: none; }
  .dv-footer-inner { flex-direction: column; }
  .dv-footer-links-wrap { justify-content: flex-start; gap: 30px; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .dv-header-inner { height: 52px; padding: 0 12px; gap: 8px; }
  .dv-logo-text { font-size: 16px; }
  .dv-banner { margin: 12px; border-radius: 16px; }
  .dv-banner-img { height: 180px; }
  .dv-banner-title { font-size: 24px; }
  .dv-banner-search { width: 90%; }
  .dv-banner-stats { gap: 12px; }
  .dv-bs-num { font-size: 16px; }
  .dv-main { padding: 0 12px 24px; }
  .dv-section, .dv-board-card, .dv-post-main, .dv-replies, .dv-reply-form, .dv-detail-title-bar, .dv-search-hero { padding: 14px; border-radius: 14px; }
  .dv-board-head { flex-direction: column; align-items: flex-start; }
  .dv-thread-head { display: none; }
  .dv-thread-row { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .dv-post-actions { flex-wrap: wrap; }
  .dv-search-box-large { flex-direction: column; }
  .dv-search-btn-large { height: 46px; justify-content: center; }
  .dv-detail-title { font-size: 17px; }
  .dv-filter { flex-direction: column; align-items: flex-start; }
}

/* ===== CMS功能样式 ===== */

/* 新发帖按钮 */
.dv-new-post-btn { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; padding: 10px 24px; border-radius: 14px; font-size: 14px; font-weight: 600; transition: transform 0.2s ease; border: none; cursor: pointer; }
.dv-new-post-btn:hover { transform: translateY(-2px); }

/* 最佳回答 */
.dv-best-answer { background: linear-gradient(135deg, rgba(255,214,10,0.08), rgba(255,159,28,0.05)); border: 1px solid rgba(255,214,10,0.3); border-radius: 14px; padding: 16px; margin-bottom: 12px; }

/* CMS分页 */
.jv-pagination { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; padding: 24px 0; justify-content: center; }
.jv-page-info { font-size: 13px; color: #AB83A1; margin-right: 12px; }
.jv-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; font-size: 14px; font-weight: 500; cursor: pointer; background: #FFF; border: 1px solid #F3E5F5; border-radius: 12px; color: #4A0F55; transition: all 0.2s ease; text-decoration: none; }
.jv-pagination a:hover { color: #6A0572; border-color: #AB83A1; background: #FBF0FF; }
.jv-pagination a.active { color: #FFF; border-color: #6A0572; background: #6A0572; font-weight: 700; }
.jv-pagination a.disabled { color: #D4A5C8; border-color: transparent; cursor: not-allowed; pointer-events: none; opacity: 0.5; }
.jv-page-dots { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; color: #AB83A1; font-size: 14px; }

/* 评论区 */
.comment-section { margin-top: 0; }
.comment-form-area { margin-bottom: 20px; }
.comment-login-notice { background: #FBF0FF; border: 1px solid #F3E5F5; border-radius: 14px; padding: 20px; }
.comment-list { display: flex; flex-direction: column; }
.comment-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #F3E5F5; }
.comment-item:last-child { border-bottom: none; }
.comment-avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 14px; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.comment-author { font-size: 14px; font-weight: 600; color: #4A0F55; }
.comment-reply-to { font-size: 12px; color: #AB83A1; }
.comment-reply-to::before { content: '\2192'; margin-right: 3px; }
.comment-time { font-size: 12px; color: #AB83A1; margin-left: auto; }
.comment-content { font-size: 14px; color: #4A0F55; line-height: 1.7; word-break: break-word; }
.comment-content img { max-width: 100%; border-radius: 10px; margin: 8px 0; }
.comment-actions { margin-top: 8px; }
.comment-reply-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: none; background: transparent; color: #AB83A1; font-size: 12px; cursor: pointer; transition: color 0.2s ease; }
.comment-reply-btn:hover { color: #6A0572; }
.comment-reply-form { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.comment-reply-input { width: 100%; border: 2px solid #F3E5F5; border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.5; resize: vertical; min-height: 60px; font-family: inherit; background: #FBF0FF; color: #4A0F55; transition: border-color 0.2s ease; }
.comment-reply-input:focus { border-color: #AB83A1; }
.comment-reply-submit { align-self: flex-end; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border: none; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 12px; transition: transform 0.2s ease; }
.comment-reply-submit:hover { transform: translateY(-1px); }
.comment-reply-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-replies { margin-left: 54px; padding-left: 16px; border-left: 2px solid #F3E5F5; display: flex; flex-direction: column; }
.comment-reply-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #F3E5F5; }
.comment-reply-item:last-child { border-bottom: none; }
.comment-reply-item .comment-avatar { width: 32px; height: 32px; font-size: 13px; border-radius: 10px; }
.comment-reply-item .comment-author { font-size: 13px; }
.comment-reply-item .comment-content { font-size: 13px; }
.comment-empty { text-align: center; padding: 32px 16px; color: #AB83A1; font-size: 14px; }
.comment-empty p { margin: 0; }
.comment-load-more { display: flex; justify-content: center; padding: 16px 0; }
.comment-load-more-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 28px; border: 1px solid #F3E5F5; background: #FFF; color: #6A0572; font-size: 13px; font-weight: 500; cursor: pointer; border-radius: 12px; transition: all 0.2s ease; }
.comment-load-more-btn:hover { background: #FBF0FF; border-color: #AB83A1; }

/* 认证页面 */
.dv-auth-wrap { display: flex; justify-content: center; padding: 60px 0; position: relative; z-index: 2; }
.dv-auth-box { width: 100%; max-width: 440px; background: #FFF; border-radius: 24px; padding: 40px; box-shadow: 0 4px 24px rgba(106, 5, 114, 0.1); border: 1px solid #F3E5F5; }
.dv-auth-header { text-align: center; margin-bottom: 36px; }
.dv-auth-header h1 { font-size: 28px; font-weight: 700; color: #4A0F55; margin-bottom: 8px; }
.dv-auth-header p { font-size: 14px; color: #AB83A1; }
.dv-auth-form { display: flex; flex-direction: column; gap: 20px; }
.dv-auth-group { display: flex; flex-direction: column; gap: 8px; }
.dv-auth-group label { font-size: 13px; color: #AB83A1; font-weight: 500; }
.dv-auth-group input { width: 100%; height: 48px; padding: 0 16px; font-size: 15px; color: #4A0F55; background: #FBF0FF; border: 2px solid #F3E5F5; border-radius: 14px; transition: border-color 0.2s ease; }
.dv-auth-group input:focus { border-color: #AB83A1; }
.dv-auth-submit { width: 100%; height: 48px; font-size: 15px; font-weight: 600; justify-content: center; margin-top: 8px; }
.dv-auth-footer { text-align: center; margin-top: 28px; font-size: 14px; color: #AB83A1; }
.dv-auth-footer a { color: #6A0572; font-weight: 600; margin-left: 6px; }
.dv-auth-footer a:hover { text-decoration: underline; }

/* 用户中心 */
.dv-user-center { max-width: 960px; margin: 20px auto; padding: 0 24px; position: relative; z-index: 2; }
.dv-uc-header { background: #FFF; border-radius: 20px; padding: 28px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; display: flex; align-items: center; gap: 20px; }
.dv-uc-avatar { width: 72px; height: 72px; border-radius: 20px; border: 3px solid #F3E5F5; }
.dv-uc-info { flex: 1; }
.dv-uc-name { font-size: 20px; font-weight: 700; color: #4A0F55; margin-bottom: 4px; }
.dv-uc-email { font-size: 13px; color: #AB83A1; }
.dv-uc-stats { display: flex; gap: 24px; margin-top: 8px; }
.dv-uc-stat { display: flex; flex-direction: column; }
.dv-uc-stat strong { font-size: 18px; font-weight: 700; color: #6A0572; }
.dv-uc-stat span { font-size: 11px; color: #AB83A1; }
.dv-uc-card { background: #FFF; border-radius: 18px; padding: 22px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); border: 1px solid #F3E5F5; }
.dv-uc-card h3 { font-size: 16px; font-weight: 600; color: #4A0F55; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #F3E5F5; }
.dv-uc-list { display: flex; flex-direction: column; gap: 10px; }
.dv-uc-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #F3E5F5; }
.dv-uc-list-item:last-child { border-bottom: none; }
.dv-uc-list-item a { font-size: 14px; color: #4A0F55; }
.dv-uc-list-item a:hover { color: #6A0572; }
.dv-uc-list-item span { font-size: 12px; color: #AB83A1; }

/* Q&A适配 */
.qa-wide-hero { background: #FFF; border: 1px solid #F3E5F5; border-radius: 20px; padding: 32px; margin: 16px 0; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); position: relative; overflow: hidden; }
.qa-wide-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #6A0572, #AB83A1); }
.qa-wide-hero-inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }
.qa-wide-hero-tips { display: flex; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.qa-wide-hero-tips span { font-size: 13px; color: #AB83A1; display: flex; align-items: center; gap: 6px; }
.qa-wide-hero-tips span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #AB83A1; flex-shrink: 0; }
.qa-wide-hero-textarea { width: 100%; min-height: 100px; padding: 16px 20px; border: 2px solid #F3E5F5; border-radius: 14px; font-size: 15px; font-family: inherit; resize: vertical; outline: none; transition: border-color 0.2s ease; background: #FBF0FF; color: #4A0F55; line-height: 1.7; box-sizing: border-box; }
.qa-wide-hero-textarea::placeholder { color: #D4A5C8; }
.qa-wide-hero-textarea:focus { border-color: #AB83A1; }
.qa-wide-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.qa-wide-cat-scroll { flex: 1; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.qa-wide-cat-btn { flex-shrink: 0; padding: 7px 16px; border: 1px solid #F3E5F5; border-radius: 12px; font-size: 13px; color: #AB83A1; background: #FBF0FF; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; text-decoration: none; }
.qa-wide-cat-btn:hover { border-color: #AB83A1; color: #6A0572; }
.qa-wide-cat-btn.active { background: rgba(106, 5, 114, 0.1); border-color: #6A0572; color: #6A0572; font-weight: 600; }
.qa-wide-hero-submit { flex-shrink: 0; height: 44px; padding: 0 32px; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; border: none; border-radius: 14px; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 0.2s ease; }
.qa-wide-hero-submit:hover { transform: translateY(-2px); }
.qa-wide-cat-nav { background: #FFF; border: 1px solid #F3E5F5; border-radius: 14px; padding: 0 8px; margin-bottom: 16px; }
.qa-wide-cat-nav-inner { display: flex; gap: 4px; padding: 8px 4px; overflow-x: auto; }
.qa-wide-cat-nav-item { flex-shrink: 0; padding: 8px 18px; border-radius: 10px; font-size: 13px; color: #AB83A1; background: transparent; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; text-decoration: none; }
.qa-wide-cat-nav-item:hover { background: #FBF0FF; color: #6A0572; }
.qa-wide-cat-nav-item.active { background: rgba(106, 5, 114, 0.1); color: #6A0572; font-weight: 600; }
.qa-wide-content { background: #FFF; border: 1px solid #F3E5F5; border-radius: 18px; padding: 28px; margin-bottom: 16px; box-shadow: 0 2px 16px rgba(106, 5, 114, 0.06); }
.qa-wide-list-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #F3E5F5; flex-wrap: wrap; }
.qa-wide-list-title { font-size: 20px; font-weight: 700; color: #4A0F55; margin: 0; }
.qa-wide-search-box { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.qa-wide-search-input { width: 240px; height: 40px; padding: 0 14px; border: 2px solid #F3E5F5; border-right: none; border-radius: 12px 0 0 12px; font-size: 14px; outline: none; transition: border-color 0.2s ease; box-sizing: border-box; background: #FBF0FF; color: #4A0F55; }
.qa-wide-search-input::placeholder { color: #D4A5C8; }
.qa-wide-search-input:focus { border-color: #AB83A1; }
.qa-wide-search-btn { height: 40px; padding: 0 20px; border: none; background: linear-gradient(135deg, #6A0572, #AB83A1); color: #FFF; font-size: 14px; cursor: pointer; border-radius: 0 12px 12px 0; font-weight: 600; }
.qa-wide-card-list { display: flex; flex-direction: column; gap: 14px; }
.qa-wide-card { display: flex; align-items: stretch; gap: 0; background: #FBF0FF; border: 1px solid #F3E5F5; border-radius: 14px; padding: 20px; transition: all 0.2s ease; position: relative; }
.qa-wide-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: #6A0572; opacity: 0; transition: opacity 0.3s ease; border-radius: 14px 0 0 14px; }
.qa-wide-card:hover { border-color: #AB83A1; box-shadow: 0 4px 16px rgba(106, 5, 114, 0.1); }
.qa-wide-card:hover::before { opacity: 1; }
.qa-wide-card-main { flex: 1; min-width: 0; }
.qa-wide-card-title { font-size: 17px; font-weight: 600; color: #4A0F55; margin: 0 0 8px; line-height: 1.5; }
.qa-wide-card-title a { color: #4A0F55; text-decoration: none; transition: color 0.2s ease; }
.qa-wide-card-title a:hover { color: #6A0572; }
.qa-wide-card-bounty { display: inline-block; padding: 2px 8px; background: rgba(255, 159, 28, 0.15); color: #FF9F1C; border: 1px solid rgba(255, 159, 28, 0.3); border-radius: 8px; font-size: 11px; font-weight: 600; margin-left: 8px; vertical-align: middle; }
.qa-wide-card-desc { font-size: 14px; color: #AB83A1; line-height: 1.7; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.qa-wide-card-footer { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #AB83A1; flex-wrap: wrap; }
.qa-wide-card-author { display: flex; align-items: center; gap: 6px; color: #AB83A1; font-weight: 500; }
.qa-wide-card-avatar { width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(135deg, #6A0572, #AB83A1); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qa-wide-card-dot { color: #D4A5C8; }
.qa-wide-card-answers { color: #6A0572; font-weight: 500; }
.qa-wide-card-answers strong { color: #6A0572; }
.qa-wide-card-side { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 80px; padding-left: 20px; border-left: 1px solid #F3E5F5; margin-left: 16px; }
.qa-wide-card-reward { font-size: 22px; font-weight: 700; color: #FF9F1C; line-height: 1; }
.qa-wide-card-reward-label { font-size: 11px; color: #AB83A1; margin-top: 4px; }
.qa-wide-card-waiting { margin-top: 8px; padding: 2px 8px; background: rgba(239, 71, 111, 0.1); color: #EF476F; border: 1px solid rgba(239, 71, 111, 0.2); border-radius: 8px; font-size: 10px; font-weight: 500; }
.qa-wide-pagination { margin-top: 24px; padding-top: 20px; border-top: 1px solid #F3E5F5; }
.qa-wide-pagination .jv-pagination a:hover { border-color: #AB83A1; color: #6A0572; }
.qa-wide-pagination .jv-pagination a.active { background: #6A0572; border-color: #6A0572; color: #FFF; }
