/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2B6CB0;
  --primary-light: #EBF5FF;
  --primary-dark: #1A4971;
  --accent: #E53E3E;
  --success: #38A169;
  --warning: #D69E2E;
  --orange: #e84b2c;
  --orange-dark: #cf3f23;
  --blue: #183787;
  --bg: #F7F9FC;
  --card-bg: #FFF;
  --text: #1A202C;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --border: #E2E8F0;
  --shadow: 0 2px 8px rgb(0 0 0 / 0.06);
  --shadow-hover: 0 4px 16px rgb(0 0 0 / 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.2s ease;
  --max: 1240px;
}

/* 内容核验状态：后台也直接显示待复核条目，便于编辑后同步发布。 */
.audit-badge{display:inline-flex;align-items:center;width:max-content;margin-top:5px;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.4}
.audit-badge.pending{background:#fff1ed;color:#c43f24;border:1px solid #ffd1c6}
.audit-badge.verified{background:#edf8f3;color:#187a55;border:1px solid #c8eadc}
.audit-note{margin:10px 0 2px;padding:9px 11px;border-left:3px solid #e84b2c;border-radius:4px;background:#fff7f4;color:#8b4436;font-size:12px;line-height:1.6}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

/* ========== 顶部导航 ========== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / .9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgb(24 55 135 / .08);
  box-shadow: 0 2px 10px rgb(24 55 135 / .04);
  padding: 0 24px;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: #e84b2c;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 30px; width: auto; display: block; }

/* 新官网顶栏：中部菜单 + 右侧双按钮 */
.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
  height: 64px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 15px;
  color: #3b3b3b;
  text-decoration: none;
  font-weight: 500;
  transition: color .18s ease;
}
.nav-item:hover { color: #e84b2c; }
.nav-item.active { color: #e84b2c; font-weight: 600; }

.nav-item.active::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: #e84b2c;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-login {
  background: var(--blue); color: #fff; padding: 9px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .18s ease;
}
.btn-login:hover { background: #2549a0; }

.btn-trial {
  background: #e84b2c; color: #fff; padding: 9px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .18s ease;
}
.btn-trial:hover { background: #cf3f23; }

/* 导航右侧：分段控件 + 外链按钮 */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 胶囊分段控件：浅灰底，内含白卡片（active） */
.nav-segmented {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #f0f2f5;
  border-radius: 10px;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 7px;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  text-decoration: none;
  line-height: 1;
}

.nav-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgb(0 0 0 / 0.04);
}

.nav-tab.active {
  background: var(--card-bg);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 1px 3px rgb(0 0 0 / 0.04);
}

.nav-tab-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 客户浏览版外链按钮：与内部标签视觉区分（外边框 + 外链箭头） */
.nav-link-out {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 9px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}

.nav-link-out:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link-out svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.75;
}

.nav-link-out:hover svg { opacity: 1; }

/* ========== 主容器 ========== */
.main-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
}

.section { display: none; }
.section.active { display: block; }

/* ========== 页面标题 ========== */
.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ========== OTA 区域分类 ========== */
.region-label {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

/* ========== OTA 卡片网格 ========== */
.ota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.ota-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}

.ota-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.ota-card-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.ota-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #f7f8fa;
  border: 1px solid #eef0f3;
}

.ota-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* logo 加载失败时的文字兜底：永远有可见标识，不留白 */
.ota-logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text, #333);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  padding: 2px 4px;
  word-break: break-all;
}

.detail-title-logo .ota-logo-text {
  font-size: 10px;
  padding: 0;
}

.detail-title-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
  background: #f7f8fa;
  border-radius: 4px;
  overflow: hidden;
}

.detail-title-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ota-card-title {
  flex: 1;
}

.ota-name {
  font-size: 17px;
  font-weight: 700;
}

.ota-name-en {
  font-size: 13px;
  color: var(--text-light);
}

.ota-card-body {
  padding: 16px 20px;
}

.ota-summary {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.ota-key-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.rule-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
}

.ota-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.update-btn {
  background: var(--success);
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.update-btn:hover { opacity: 0.9; }
.update-btn:disabled { background: var(--text-light); cursor: not-allowed; }

.official-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.official-link:hover { text-decoration: underline; }

/* ========== OTA 展开详情 ========== */
.ota-detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
  z-index: 200;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
}

.ota-detail-overlay.show { display: flex; }

.ota-detail-modal {
  background: var(--card-bg);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
}

.modal-close {
  float: right;
  cursor: pointer;
  font-size: 24px;
  color: var(--text-light);
  border: none;
  background: none;
  line-height: 1;
}

.modal-close:hover { color: var(--text); }

.detail-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.detail-subtitle {
  color: var(--text-light);
  margin-bottom: 20px;
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary-light);
}

.detail-rules-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.detail-rules-table th, .detail-rules-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.detail-rules-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  width: 30%;
}

.detail-content-item {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.detail-content-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.detail-content-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.version-history {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.version-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.version-item:last-child { border-bottom: none; }

/* ========== 文章智库 ========== */
.article-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 240px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

.search-box:focus { border-color: var(--primary); }

.category-filter {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
  cursor: pointer;
  outline: none;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.article-item:hover { box-shadow: var(--shadow-hover); }

.article-item-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 官网版会启用图文封面；其他入口保持原有列表布局。 */
.article-cover { display: none; }

.article-number {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.article-info { flex: 1; }

.article-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.article-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.article-category {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.article-tag {
  background: var(--bg);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.article-summary {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.article-expand-icon {
  color: var(--text-light);
  font-size: 20px;
  transition: var(--transition);
}

.article-item.expanded .article-expand-icon { transform: rotate(180deg); }

.article-item-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
}

.article-item.expanded .article-item-body { display: block; }

.article-content {
  padding: 16px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  outline: none;
  min-height: 60px;
}

.article-content:focus {
  background: #FFFEF0;
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 0 0 2px var(--warning);
}

.article-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--primary-dark);
}

.article-content h2:first-child { margin-top: 0; }

.article-content p { margin-bottom: 12px; }

.article-content strong { color: var(--primary-dark); }

.article-content a { color: var(--primary); }

.article-citations {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f8f9fa;
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
}

.article-citations h4 {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 8px;
  font-weight: 600;
}

.article-citations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-citations li {
  margin-bottom: 6px;
  font-size: 13px;
}
.article-citations li:last-child { margin-bottom: 0; }

.article-citations a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
}
.article-citations a:hover { text-decoration: underline; }

.article-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.version-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.version-tab {
  padding: 8px 18px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.version-tab:hover {
  color: var(--primary);
}

.version-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.action-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.action-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

.action-btn.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.action-btn.primary:hover { background: var(--primary-dark); }

.action-btn.success {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.action-btn.success:hover { opacity: 0.9; }

.edit-status {
  font-size: 12px;
  color: var(--text-light);
  margin-left: auto;
  align-self: center;
}

.edit-status.saved { color: var(--success); }
.edit-status.modified { color: var(--warning); }

/* ========== 提示框 ========== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--success); }
.toast.warning { background: var(--warning); }

/* ========== 统计卡片 ========== */
.stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .nav-container { flex-direction: column; height: auto; padding: 12px 0; gap: 10px; }
  .nav-tabs { width: 100%; justify-content: center; flex-wrap: wrap; }
  .nav-segmented { width: 100%; max-width: 360px; justify-content: stretch; }
  .nav-tab { flex: 1; justify-content: center; padding: 8px; }
  .nav-link-out { width: 100%; max-width: 360px; justify-content: center; }
  .ota-grid { grid-template-columns: 1fr; }
  .main-container { padding: 16px; }
  .page-title { font-size: 22px; }
  .article-poster { margin: 0; }
  .poster-actions { flex-direction: column; align-items: stretch; }
  .poster-actions .action-btn { justify-content: center; }
  .poster-hint { text-align: center; }
}

/* ========== 导航徽章与链接 ========== */
.nav-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.nav-badge.admin { background: #FDECEC; color: var(--accent); }
.nav-badge.public { background: #E6F6EC; color: var(--success); }

.nav-link { text-decoration: none; }

/* ========== OTA 搜索工具栏 ========== */
.ota-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ota-toolbar .search-box { flex: 1; min-width: 280px; }

.ota-search-hint {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

.ota-updated {
  font-size: 12px;
  color: var(--text-light);
}

/* ========== 发布状态 ========== */
.publish-status {
  font-size: 12px;
  color: var(--text-light);
  align-self: center;
}

.publish-status.published {
  color: var(--success);
  font-weight: 600;
}

/* ========== 浏览量 ========== */
.article-views {
  font-size: 11px;
  color: var(--text-light);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
}

.article-views-large {
  font-size: 13px;
  color: var(--text-secondary);
  align-self: center;
}

/* ========== 客户反馈（后台版） ========== */
.feedback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}

.feedback-modal { max-width: 720px; }

.feedback-list { display: flex; flex-direction: column; gap: 12px; }

.feedback-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--bg);
}

.feedback-item.handled { opacity: 0.55; }

.feedback-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.feedback-item-head strong { font-size: 14px; }

.feedback-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.feedback-type.type-error { background: #FDECEC; color: var(--accent); }
.feedback-type.type-suggest { background: var(--primary-light); color: var(--primary); }
.feedback-type.type-other { background: #FDF6E3; color: var(--warning); }

.feedback-time { font-size: 12px; color: var(--text-light); }

.feedback-item-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.feedback-contact { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ========== 建议反馈表单（客户版） ========== */
.feedback-form {
  margin-top: 14px;
  padding: 16px;
  background: #FBFCFE;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.feedback-form-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.feedback-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.feedback-type-option {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.feedback-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  margin-bottom: 8px;
}

.feedback-textarea:focus { border-color: var(--primary); }

.feedback-contact {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  margin-bottom: 10px;
}

.feedback-contact:focus { border-color: var(--primary); }

.feedback-form-actions { display: flex; justify-content: flex-end; }

/* ========== 长图版（客户版） ========== */
.poster-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.poster-hint { font-size: 12px; color: var(--text-light); }

.article-poster {
  max-width: 750px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1A4971 0%, #2B6CB0 100%);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: inherit;
}

.poster-header {
  padding: 40px 40px 28px;
  color: white;
  text-align: center;
}

.poster-brand {
  font-size: 13px;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.poster-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.poster-meta {
  font-size: 13px;
  opacity: 0.75;
}

.poster-summary {
  background: rgb(255 255 255 / 0.95);
  margin: 0 24px;
  padding: 18px 22px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-bottom: 2px solid rgb(43 108 176 / 0.2);
}

.poster-body {
  background: white;
  margin: 0 24px;
  padding: 22px 26px 10px;
}

.poster-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 18px 0 12px;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
}

.poster-body > .poster-section-title:first-child { margin-top: 0; }

.poster-p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 14px;
  text-align: justify;
}

.poster-citations {
  background: white;
  margin: 0 24px;
  padding: 4px 26px 18px;
}

.poster-citations-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.poster-citation-item {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 4px;
  word-break: break-all;
}

.poster-footer {
  background: white;
  margin: 0 24px 24px;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ========== 小红书风格长图与缩放 ========== */
.xhs-stage {
  width: 100%;
  overflow: auto;
  padding: 24px;
  border-radius: 14px;
  background: #f2f3f7;
  text-align: center;
}

.xhs-poster {
  --poster-zoom: 1;

  position: relative;
  width: 720px;
  min-height: 960px;
  margin: 0 auto;
  padding: 52px 54px 42px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgb(255 255 255 / .75) 0 80px, transparent 81px),
    linear-gradient(150deg, #fff8f1 0%, #fff 44%, #fff0ea 100%);
  box-shadow: 0 24px 64px rgb(53 35 29 / .16);
  color: #292525;
  text-align: left;
  transform: scale(var(--poster-zoom));
  transform-origin: top center;
  transition: transform .2s ease;
}

.xhs-poster::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  bottom: -120px;
  border: 46px solid rgb(232 75 44 / .1);
  border-radius: 50%;
}

.xhs-topline { display: flex; justify-content: space-between; align-items: center; color: #8c837f; font-size: 13px; letter-spacing: 2px; }
.xhs-topline b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #292525; color: #fff; font-size: 15px; letter-spacing: 0; }
.xhs-sticker { display: inline-block; margin-top: 46px; padding: 7px 14px; border-radius: 6px; background: #e84b2c; color: #fff; font-size: 14px; font-weight: 700; transform: rotate(-2deg); }
.xhs-poster h2 { max-width: 590px; margin: 22px 0 18px; color: #242020; font-size: 42px; line-height: 1.28; letter-spacing: -1px; }
.xhs-lead { padding-bottom: 24px; border-bottom: 2px solid #292525; color: #6f6763; font-size: 18px; line-height: 1.75; }
.xhs-points { display: grid; gap: 14px; margin-top: 26px; }
.xhs-point { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid rgb(41 37 37 / .08); border-radius: 12px; background: rgb(255 255 255 / .78); }
.xhs-point b { color: #e84b2c; font-size: 20px; line-height: 1.45; }
.xhs-point span { color: #4e4845; font-size: 16px; line-height: 1.65; }
.xhs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.xhs-tags span { padding: 5px 10px; border-radius: 99px; background: #fff0ea; color: #d94428; font-size: 13px; }
.xhs-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgb(41 37 37 / .12); }
.xhs-foot strong { color: #183787; font-size: 15px; }
.xhs-foot span { color: #948b86; font-size: 12px; }

.poster-zoom-controls {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 14px auto 0;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgb(255 255 255 / .94);
  box-shadow: 0 8px 24px rgb(0 0 0 / .1);
}
.poster-zoom-controls button { min-width: 38px; height: 34px; padding: 0 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text-secondary); cursor: pointer; }
.poster-zoom-controls button:hover { border-color: var(--primary); color: var(--primary); }
.poster-zoom-controls span { min-width: 52px; color: var(--text-secondary); font-size: 12px; text-align: center; }

@media (max-width: 768px) {
  .xhs-stage { padding: 14px; }
  .xhs-poster { width: 620px; min-height: 826px; padding: 42px; }
  .xhs-poster h2 { font-size: 36px; }
}

/* ===== 华客统一页脚（对齐华客新官网） ===== */
.huake-footer {
  background: #0b0e15;
  color: #aab0bd;
  margin-top: 40px;
  padding: 48px 24px 28px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand { min-width: 0; }
.footer-logo { height: 26px; width: auto; margin-bottom: 12px; display: block; }
.footer-slogan { font-size: 13px; color: #8b93a3; line-height: 1.6; }
.footer-qr-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.footer-qr-row .qr-item { display: flex; flex-direction: column; align-items: center; }
.footer-qr-row .qr-img { width: 84px; height: 84px; background: #fff; padding: 6px; border-radius: 8px; object-fit: contain; }
.footer-qr-row .qr-label { margin-top: 6px; font-size: 11px; color: #8b93a3; }
.footer-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 14px; }

.footer-col a {
  display: block;
  font-size: 13px;
  color: #aab0bd;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: #e84b2c; }

.footer-bottom {
  max-width: 1240px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #717a8e;
}
.footer-bottom .footer-icp { color: #717a8e; }
.footer-bottom .back-top { color: #aab0bd; text-decoration: none; }
.footer-bottom .back-top:hover { color: #e84b2c; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-qr-row .qr-img { width: 72px; height: 72px; }
}
