/* ============================================================
   诸葛观察 v22 — 回归深蓝 + 暖金主题（v10 风格）
   商务 · 正式 · 深蓝渐变 + 暖金点缀
   ============================================================ */

:root {
  /* 深蓝主色（原 v10 风格） */
  --brand-primary: #1a1a2e;       /* 深蓝主色 */
  --brand-primary-light: #2a2a4a;  /* 略浅深蓝 */
  --brand-accent: #c8a951;         /* 暖金点缀 */
  --brand-accent-light: #e8d48b;   /* 浅金 */
  --brand-accent-dark: #a68a3e;    /* 深金 */

  /* 兼容别名：旧代码仍引用 brand-dark/brand-red/brand-gold 等 */
  --brand-dark: #1a1a2e;
  --brand-mid: #2a2a4a;
  --brand-light: #3a3a5e;
  --brand-red: #c8a951;            /* 把旧 red 别名映射到金色，保持其它变量正常 */
  --brand-red-deep: #a68a3e;
  --brand-red-light: #e8d48b;
  --brand-red-bg: #f7f3e8;
  --brand-purple: #4a2c5e;

  --gold: #c8a951;
  --gold-light: #e8d48b;
  --gold-dark: #a68a3e;
  --gold-bg: #fef9ed;
  --gold-border: #e8d48b;

  --success: #059669;
  --success-light: #d1fae5;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --error: #dc2626;
  --error-light: #fee2e2;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* iOS 安全区域 */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

/* ===== 顶部状态栏（v22：回归深蓝品牌色） ===== */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  padding: calc(8px + var(--safe-top)) 16px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 16px rgba(26, 26, 46, 0.35);
  border-bottom: 2px solid var(--brand-accent);
}

.app-header-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(200, 169, 81, 0.4);
}

.app-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-header-text {
  flex: 1;
  min-width: 0;
}

.app-header-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.app-header-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.app-header-badge {
  width: 44px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--brand-accent);
  box-shadow: 0 0 12px rgba(200, 169, 81, 0.25);
}

.app-header-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

/* ===== 桌面端顶部 Tab 导航 ===== */
.desktop-tabs {
  display: none;
}

/* ===== 主内容区 ===== */
.main {
  padding-top: calc(60px + var(--safe-top));
  padding-bottom: 80px;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ===== 页面头部 ===== */
.page-header {
  margin-bottom: 20px;
  padding: 20px 0 8px;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.page-desc {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== Tab 内容 ===== */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 内容网格 ===== */
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== 面板（卡片） ===== */
.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
}

.panel-count {
  font-size: 11px;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 3px 10px;
  border-radius: 12px;
}

/* ===== 上传区 ===== */
.panel-upload { padding: 0; }

.upload-zone {
  display: block;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  margin: 16px;
  text-decoration: none;
  color: inherit;
}

.upload-zone:active,
.upload-zone:hover {
  border-color: var(--brand-accent);
  background: rgba(200, 169, 81, 0.08);
}

.upload-zone.drag-over {
  border-color: var(--brand-accent);
  background: rgba(200, 169, 81, 0.12);
  transform: scale(1.01);
}

.upload-graphic {
  color: var(--gray-400);
  margin-bottom: 12px;
  pointer-events: none;
}

.upload-graphic svg {
  pointer-events: none;
}

.upload-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
  pointer-events: none;
}

.upload-hint {
  font-size: 13px;
  color: var(--gray-400);
  pointer-events: none;
}

/* 微信文件选择按钮 */
.wechat-upload {
  padding: 0 16px 12px;
}

.btn-wechat {
  background: #fff;
  color: #07c160;
  border: 1px solid #07c160;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 14px;
}

.btn-wechat:active {
  background: rgba(7, 193, 96, 0.06);
}

.wechat-icon {
  font-size: 18px;
}

/* 文件信息 */
.upload-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin: 0 16px 12px;
}

.file-icon { font-size: 24px; }
.file-info { flex: 1; min-width: 0; }
.file-name { font-weight: 500; color: var(--gray-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 12px; color: var(--gray-400); }

.btn-icon {
  width: 32px; height: 32px;
  border: none; background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.btn-icon:active { background: var(--gray-200); color: var(--error); }

/* 上传操作 */
.upload-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

/* 补充文件列表 */
.extra-files {
  padding: 0 16px 8px;
}

.extra-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  font-size: 13px;
}

.extra-file-icon { font-size: 16px; }
.extra-file-name { flex: 1; color: var(--gray-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.extra-file-size { font-size: 11px; color: var(--gray-400); flex-shrink: 0; }

/* 补充信息输入框 */
.extra-info {
  padding: 0 16px 12px;
}

.extra-info-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.extra-info-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--gray-50);
  resize: vertical;
  transition: border-color var(--transition);
  line-height: 1.5;
}

.extra-info-input:focus {
  outline: none;
  border-color: var(--brand-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 32, 47, 0.12);
}

.extra-info-input::placeholder {
  color: var(--gray-400);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.35);
}

.btn-primary:active {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #3a3a5e 100%);
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.5;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.btn-ghost:active { background: var(--gray-100); }

.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ===== 进度条 ===== */
.progress-wrap {
  padding: 0 16px 16px;
}

.progress-track {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-light));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
}

.progress-pct { font-weight: 600; color: var(--brand-accent-dark); }
.progress-msg { color: var(--gray-500); }

/* ===== 研判结果 ===== */
.panel-result { padding: 0; }

.result-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #fff;
  border-bottom: 2px solid var(--brand-accent);
}

.result-badge {
  display: inline-block;
  background: rgba(200, 169, 81, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 10px;
}

.result-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.result-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-chip {
  background: rgba(255,255,255,0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.result-body {
  padding: 16px;
}

.result-field {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.result-field:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.result-field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent-dark);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.result-field-value {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.8;
  white-space: pre-wrap;
}

.result-actions {
  padding: 0 16px 16px;
  display: flex;
  gap: 10px;
}

/* ===== 表单 ===== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px 20px;
}

.form-group { display: flex; flex-direction: column; gap: 4px; }

.form-group > label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

.form-group .unit {
  font-weight: 400;
  color: var(--gray-400);
  font-size: 11px;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-800);
  background: #fff;
  transition: all var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.15);
}

.form-group input::placeholder { color: var(--gray-400); }

.form-group-tags { padding: 0 20px 16px; }
.form-group-tags > label { margin-bottom: 8px; display: block; font-size: 13px; font-weight: 500; color: var(--gray-600); }

/* 标签选择 */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.tag:active { background: rgba(200, 169, 81, 0.15); border-color: var(--brand-accent); }
.tag.selected {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  border-color: var(--brand-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.3);
}

/* Checkbox */
.form-group-checkbox { padding: 0 20px 16px; }
.form-group-checkbox > label { margin-bottom: 8px; display: block; font-size: 13px; font-weight: 500; color: var(--gray-600); }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* ===== 政策计算器分组表单 ===== */
.form-fieldset {
  margin: 0 16px 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.form-fieldset .form-grid {
  padding: 0;
  margin: 0;
  background: transparent;
}

.form-fieldset-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--brand-accent);
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-primary);
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(200,169,81,0.15);
}

/* 资质勾选卡（打钩效果强化） */
.checkbox-item input[type="checkbox"]:checked {
  accent-color: var(--brand-accent);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-700);
  border: 1px solid transparent;
  transition: all var(--transition);
  min-height: 44px;
}

.checkbox-item:active {
  background: var(--gray-100);
  border-color: var(--brand-accent);
}

.checkbox-item:has(input:checked) {
  background: rgba(200, 169, 81, 0.10);
  border-color: var(--brand-accent);
  color: var(--brand-accent-dark);
  font-weight: 500;
}

.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--brand-accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== 载体结果 ===== */
.carrier-list { padding: 0 16px 16px; }

.carrier-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.carrier-card:active {
  transform: scale(0.98);
  border-color: var(--brand-primary);
}

.carrier-card-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.carrier-card-img {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-200);
}

.carrier-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carrier-card-header-text {
  flex: 1;
  min-width: 0;
}

.carrier-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
  line-height: 1.4;
}

.carrier-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.carrier-score-bar {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.carrier-score-bar-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

.carrier-card-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.carrier-info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gray-700);
}

.carrier-info-item strong { color: var(--gray-900); }

.carrier-features {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carrier-score-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.score-chip {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--gray-200);
  color: var(--gray-700);
}

/* ===== 政策结果 ===== */
.policy-list { padding: 0 16px 16px; }

.policy-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 10px;
  border-left: 3px solid var(--brand-accent);
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.policy-card:active {
  transform: scale(0.99);
  background: var(--gray-50);
  border-left-color: var(--brand-accent-dark);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.policy-category {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(200, 169, 81, 0.18);
  color: var(--brand-accent-dark);
  font-weight: 500;
}

.policy-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  flex: 1;
  min-width: 0;
}

.policy-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}

.policy-amount-reward {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dark));
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(200, 169, 81, 0.3);
}

.policy-content {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.policy-card.expanded .policy-content {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

.policy-conditions {
  font-size: 13px;
  color: var(--gray-600);
  background: var(--gray-50);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
  margin-bottom: 8px;
}

.policy-extra {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--gray-200);
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

.policy-card.expanded .policy-extra {
  display: block;
}

.policy-extra-item {
  margin-bottom: 6px;
}

.policy-extra-item strong {
  color: var(--brand-accent-dark);
  display: inline-block;
  min-width: 5em;
}

.policy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 6px 0;
  color: var(--brand-accent-dark);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.policy-toggle-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.policy-card.expanded .policy-toggle-icon {
  transform: rotate(180deg);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: calc(60px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  max-width: 90%;
  text-align: center;
  word-break: break-word;
}

.toast.error { background: var(--error); color: #fff; }
.toast.success { background: var(--success); color: #fff; }
.toast.info { background: var(--brand-primary); color: #fff; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--gray-400);
}

.empty-icon { font-size: 36px; margin-bottom: 10px; opacity: 0.5; }

.empty-hint {
  text-align: center;
  padding: 24px;
  color: var(--gray-400);
  font-size: 14px;
}

/* ===== 模态弹窗（载体详情） ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: #fff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  animation: slideUp 0.3s ease;
  padding-bottom: calc(16px + var(--safe-bottom));
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 24px;
  color: var(--gray-400);
  cursor: pointer;
  z-index: 10;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
}

.modal-close:active { background: var(--gray-100); color: var(--gray-700); }

.modal-image-area {
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--gray-100);
}

.modal-image-area img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.modal-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  color: var(--gray-400);
  font-size: 14px;
}

.modal-info-area {
  padding: 16px 20px 0;
}

.modal-carrier-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 4px 0;
}

.modal-carrier-score {
  font-size: 14px;
  color: var(--brand-accent-dark);
  margin-bottom: 16px;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mi-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mi-value {
  font-size: 13px;
  color: var(--gray-800);
  font-weight: 500;
}

.modal-info-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.modal-info-section strong {
  font-size: 13px;
  color: var(--gray-700);
  display: block;
  margin-bottom: 2px;
}

.modal-info-section p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== 底部 Tab Bar ===== */
.tab-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  display: flex;
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  cursor: pointer;
  color: var(--gray-400);
  transition: color var(--transition);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.tab-item .tab-icon {
  font-size: 22px;
  line-height: 1;
}

.tab-item .tab-label {
  font-size: 10px;
  font-weight: 500;
}

.tab-item.active {
  color: var(--brand-primary);
}

.tab-item.active .tab-label {
  font-weight: 700;
}

/* 底部蓝色指示条 */
.tab-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 0 0 2px 2px;
}

/* ===== 桌面端适配 ===== */
@media (min-width: 769px) {
  .main {
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }

  /* 桌面端：显示顶部 Tab 导航 */
  .desktop-tabs {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 199;
    background: #fff;
    border-bottom: 2px solid var(--gray-200);
    padding: 0 32px;
    max-width: 800px;
    margin: 0 auto;
  }

  .desktop-tab-item {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    user-select: none;
    white-space: nowrap;
  }

  .desktop-tab-item:hover {
    color: var(--brand-primary);
    background: rgba(26, 26, 46, 0.06);
  }

  .desktop-tab-item.active {
    color: var(--brand-primary);
    font-weight: 700;
    border-bottom-color: var(--brand-accent);
  }

  /* 桌面端：隐藏底部 Tab Bar */
  .tab-bar {
    display: none;
  }

  /* 桌面端：app-header 不再是 fixed，让桌面端滚动更自然 */
  .app-header {
    position: relative;
    padding: 12px 24px;
  }

  .form-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .checkbox-grid { grid-template-columns: repeat(3, 1fr); }

  .modal-container {
    border-radius: 12px;
    width: 90%;
    max-width: 640px;
    max-height: 85vh;
    margin: auto;
    align-self: center;
  }
  .modal-overlay { align-items: center; }
  .modal-image-area { border-radius: 12px 12px 0 0; }

  @keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}

/* ===== 研判报告样式 v14.5 ===== */
/* 主标题 */
.judgment-title-line {
  text-align: center;
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', 'FangSong', '仿宋', serif;
  font-size: clamp(20px, 5vw, 22pt);
  font-weight: 700;
  margin: 4px 0;
  line-height: 1.4;
}
.judgment-title-last { margin-bottom: 20px; }

/* 一级标题：一、基本情况 / 二、初步研判结论 / 三、具体研判分析 */
.judgment-h1 {
  font-family: 'Noto Sans SC', 'SimHei', 'STHeiti', '黑体', sans-serif;
  font-size: clamp(17px, 4.4vw, 16pt);
  font-weight: 700;
  margin: 18px 0 8px;
  line-height: 1.4;
}

/* 二级标题：具体研判各段标题（楷体） */
.judgment-h2 {
  font-family: 'Noto Serif SC', 'KaiTi', 'STKaiti', '楷体', serif;
  font-size: clamp(16px, 4.1vw, 16pt);
  font-weight: 700;
  margin: 14px 0 6px;
  line-height: 1.4;
}

/* 正文段落 */
.judgment-body {
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', 'FangSong', '仿宋', serif;
  font-size: clamp(15px, 3.9vw, 16pt);
  margin: 6px 0;
  text-indent: 2em;
  line-height: 1.8;
  color: var(--gray-800);
}

/* 基本情况字段 */
.judgment-basic-item {
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', 'FangSong', '仿宋', serif;
  font-size: clamp(15px, 3.9vw, 16pt);
  margin: 6px 0;
  text-indent: 2em;
  line-height: 1.8;
  color: var(--gray-800);
}

/* 推荐意见（加粗） */
.judgment-recommendation {
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', 'FangSong', '仿宋', serif;
  font-size: clamp(15px, 3.9vw, 16pt);
  margin: 12px 0;
  text-indent: 2em;
  line-height: 1.8;
  font-weight: 700;
  color: var(--brand-accent-dark);
}

/* 落款 */
.judgment-footer {
  margin-top: 30px;
  text-align: right;
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', 'FangSong', '仿宋', serif;
  font-size: clamp(15px, 3.9vw, 16pt);
  line-height: 1.8;
  color: var(--gray-800);
}

/* ===== 移动端研判报告适配 ===== */
@media (max-width: 768px) {
  .judgment-title-line {
    font-size: clamp(18px, 5.5vw, 22px);
    margin: 2px 0;
  }
  .judgment-h1 {
    font-size: clamp(16px, 4.6vw, 19px);
    margin: 14px 0 6px;
  }
  .judgment-h2 {
    font-size: clamp(15px, 4.4vw, 18px);
    margin: 12px 0 4px;
  }
  .judgment-body,
  .judgment-basic-item,
  .judgment-recommendation,
  .judgment-footer {
    font-size: clamp(14px, 4.2vw, 17px);
    line-height: 1.85;
    margin: 8px 0;
  }

  /* 政策勾选框移动端单列，更大 */
  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .checkbox-item {
    padding: 14px 16px;
    font-size: 15px;
    min-height: 48px;
  }

  /* 载体卡片移动端加大 */
  .carrier-card {
    padding: 14px;
  }
  .carrier-card-title { font-size: 16px; }
  .carrier-info-item { font-size: 14px; }
  .carrier-features { font-size: 14px; }
  .score-chip { font-size: 12px; padding: 4px 8px; }

  /* 政策卡片移动端加大 */
  .policy-card {
    padding: 14px;
  }
  .policy-name { font-size: 16px; }
  .policy-amount { font-size: 15px; }
  .policy-content { font-size: 14px; -webkit-line-clamp: 3; }
  .policy-conditions { font-size: 13px; padding: 10px 12px; }
  .policy-extra { font-size: 13px; }
  .policy-extra-item strong { display: block; margin-bottom: 2px; }

  /* 表单移动端单列、加大 */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-group input,
  .form-group select {
    padding: 12px 14px;
    font-size: 16px;  /* 16px+ 避免iOS自动放大 */
  }
  .form-group > label { font-size: 14px; }
  .form-group-tags > label,
  .form-group-checkbox > label { font-size: 14px; }

  /* 标签加大 */
  .tag {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* 页面头部 */
  .page-header h1 { font-size: 24px; }
  .page-desc { font-size: 15px; }

  /* 上传区 */
  .upload-zone { padding: 32px 16px; }
  .upload-title { font-size: 16px; }
  .upload-hint { font-size: 14px; }
  .btn-lg { font-size: 16px; padding: 14px 24px; }

  /* 结果头部 */
  .result-header h2 { font-size: 20px; }
  .meta-chip { font-size: 12px; }
}

/* ===== 极小屏适配（320-375px） ===== */
@media (max-width: 375px) {
  .judgment-title-line { font-size: clamp(17px, 6vw, 20px); }
  .judgment-h1 { font-size: clamp(15px, 5vw, 17px); }
  .judgment-h2 { font-size: clamp(14px, 4.6vw, 16px); }
  .judgment-body,
  .judgment-basic-item,
  .judgment-recommendation,
  .judgment-footer { font-size: clamp(13px, 4.6vw, 15px); }

  .checkbox-item { padding: 12px 14px; font-size: 14px; }
  .policy-name { font-size: 15px; }
}

/* ============================================================
   v22 — 启动页 Splash（深蓝主色 + 金色点缀 + 真实logo图）
   ============================================================ */

.splash-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.splash-screen.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

/* 启动页背景光晕 */
.splash-screen::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 81, 0.18) 0%, transparent 60%);
  border-radius: 50%;
  animation: splashGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes splashGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* 启动页装饰线条（金色网格） */
.splash-screen::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(90deg, transparent 49.5%, rgba(200, 169, 81, 0.06) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(200, 169, 81, 0.06) 50%, transparent 50.5%);
  background-size: 80px 80px;
  pointer-events: none;
  animation: gridSlide 20s linear infinite;
  opacity: 0.5;
}

@keyframes gridSlide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

.splash-logo {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(200, 169, 81, 0.35);
  position: relative;
  z-index: 2;
  animation: splashLogoIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  overflow: hidden;
  border: 2px solid rgba(200, 169, 81, 0.5);
}

.splash-logo img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

@keyframes splashLogoIn {
  0% { opacity: 0; transform: scale(0.3) rotate(-180deg); }
  60% { transform: scale(1.1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.splash-content {
  text-align: center;
  z-index: 2;
  animation: splashFadeIn 0.8s 0.5s ease both;
}

@keyframes splashFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.splash-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 6px;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.splash-subtitle {
  font-size: 14px;
  color: rgba(232, 212, 139, 0.95);
  letter-spacing: 8px;
  font-weight: 300;
  margin-bottom: 6px;
}

.splash-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 2px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 169, 81, 0.25);
  display: inline-block;
}

.splash-loader {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: splashFadeIn 0.6s 0.7s ease both;
}

.splash-loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.splash-loader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand-accent-light), transparent);
  animation: splashLoad 1.5s ease-in-out infinite;
}

@keyframes splashLoad {
  0% { left: -40%; }
  100% { left: 100%; }
}

.splash-loader-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}

.splash-brand {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 3px;
  z-index: 2;
}

.splash-version {
  position: absolute;
  top: calc(16px + var(--safe-top));
  right: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  z-index: 2;
}

/* 启动页不显示时移除 DOM */
.splash-screen.hide + .splash-screen {
  display: none;
}

/* ============================================================
   v21 — 微信文件选择器增强
   ============================================================ */

.wechat-upload-options {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 12px;
}

.wechat-upload-options.show {
  display: flex;
}

.wechat-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.wechat-option:active {
  background: var(--gray-50);
  border-color: var(--brand-red);
}

.wechat-option-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.wechat-option-text {
  flex: 1;
}

.wechat-option-arrow {
  color: var(--gray-400);
  font-size: 14px;
}

/* ============================================================
   行业研究周报 (v23)
   ============================================================ */
.weekly-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .weekly-wrap { grid-template-columns: 1fr; }
}

/* 期数列表 */
.weekly-list-panel { position: sticky; top: 16px; }
.weekly-list { padding: 8px; max-height: 70vh; overflow-y: auto; }
.weekly-list-item {
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  margin-bottom: 8px;
  transition: all var(--transition);
  background: #fff;
}
.weekly-list-item:hover { border-color: var(--brand-accent); box-shadow: 0 2px 10px rgba(200,169,81,0.15); }
.weekly-list-item.active {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(26,26,46,0.03), rgba(200,169,81,0.06));
  box-shadow: 0 2px 12px rgba(26,26,46,0.1);
}
.wli-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wli-industry {
  background: var(--brand-primary); color: var(--brand-accent);
  font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 10px;
}
.wli-date { font-size: 11px; color: var(--gray-400); }
.wli-title { font-size: 14px; font-weight: 600; color: var(--gray-800); line-height: 1.4; }
.wli-sub { font-size: 12px; color: var(--gray-500); margin-top: 4px; line-height: 1.4; }

/* 周报详情 */
.weekly-detail-panel { padding: 0; overflow: hidden; }
.weekly-detail { padding: 24px 28px; }
@media (max-width: 768px) { .weekly-detail { padding: 18px 16px; } }

/* 全屏详情模式（隐藏左侧列表） */
.weekly-wrap.detail-mode .weekly-list-panel { display: none; }
.weekly-wrap.detail-mode .weekly-detail-panel {
  grid-column: 1 / -1;
  max-width: 100%;
}
@media (max-width: 900px) {
  .weekly-wrap.detail-mode .weekly-list-panel { display: none; }
  .weekly-wrap.detail-mode .weekly-detail-panel { width: 100%; }
}

.wr-back-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 1px solid var(--gray-300);
  border-radius: 8px; padding: 6px 14px;
  font-size: 13px; color: var(--gray-600); cursor: pointer;
  margin-bottom: 12px; transition: all var(--transition);
}
.wr-back-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

.wr-cover {
  border-bottom: 3px solid var(--brand-accent);
  padding-bottom: 16px; margin-bottom: 18px;
}
.wr-brand { font-size: 12px; letter-spacing: 3px; color: var(--brand-primary); font-weight: 700; }
.wr-title {
  font-family: 'Noto Sans SC','SimHei',sans-serif;
  font-size: clamp(20px, 5vw, 26px); font-weight: 700;
  color: var(--brand-primary); margin: 8px 0 6px;
}
.wr-meta { font-size: 12px; color: var(--gray-500); }
.wr-badge {
  display: inline-block; margin-top: 8px;
  background: var(--brand-primary); color: var(--brand-accent);
  font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 6px;
}

.wr-actions { display: flex; gap: 10px; margin: 16px 0 8px; flex-wrap: wrap; }

.wr-h2 {
  font-family: 'Noto Sans SC','SimHei',sans-serif;
  font-size: 17px; font-weight: 700; color: var(--brand-primary);
  margin: 26px 0 10px; padding-left: 12px;
  border-left: 4px solid var(--brand-accent);
}
.wr-body {
  font-family: 'Noto Serif SC','SimSun',serif;
  font-size: clamp(14px, 3.8vw, 15px);
  line-height: 1.9; color: var(--gray-800);
  text-indent: 2em; margin: 6px 0;
}

/* 研报卡片 */
.wr-card {
  background: var(--gold-bg);
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--brand-accent);
  border-radius: 10px; padding: 14px 18px; margin: 10px 0 14px;
}
.wr-card-title { font-weight: 700; font-size: 15px; color: var(--brand-primary); }
.wr-card-meta { font-size: 12px; color: var(--gold-dark); margin: 5px 0 8px; }
.wr-points { margin: 6px 0 0; padding-left: 20px; }
.wr-points li { margin: 7px 0; line-height: 1.7; font-size: 14px; color: var(--gray-800); }
.wr-points li strong { color: var(--brand-primary); }

/* 投融资 */
.wr-fin-list { display: flex; flex-direction: column; gap: 10px; }
.wr-fin-item {
  border: 1px solid var(--gray-200); border-radius: 10px; padding: 12px 16px;
  transition: box-shadow var(--transition);
}
.wr-fin-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.wr-fin-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.wr-fin-company { font-size: 15px; font-weight: 700; color: var(--brand-primary); }
.wr-fin-round {
  background: rgba(200,169,81,0.15); color: var(--gold-dark);
  font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 10px;
}
.wr-fin-kv { font-size: 13px; color: var(--gray-700); margin: 3px 0; }
.wr-fin-kv span { display: inline-block; width: 52px; color: var(--gray-400); }
.wr-fin-desc { font-size: 13px; color: var(--gray-600); margin-top: 6px; line-height: 1.6; padding-top: 6px; border-top: 1px dashed var(--gray-200); }

/* 推荐 */
.wr-reco {
  border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 16px 18px; margin: 12px 0;
  background: linear-gradient(135deg, #fff, rgba(200,169,81,0.03));
}
.wr-reco-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.wr-reco-no {
  background: var(--brand-accent); color: var(--brand-primary);
  font-weight: 700; width: 22px; height: 22px; line-height: 22px;
  text-align: center; border-radius: 50%; font-size: 13px; flex-shrink: 0;
}
.wr-reco-track { font-weight: 700; color: var(--brand-primary); font-size: 14px; }
.wr-reco-stage {
  margin-left: auto; background: rgba(26,26,46,0.06); color: var(--brand-primary);
  font-size: 12px; padding: 3px 10px; border-radius: 10px;
}
.wr-reco-company { font-size: 17px; font-weight: 700; color: var(--gold-dark); margin: 8px 0; }
.wr-reco-kv { display: flex; font-size: 13px; margin: 6px 0; line-height: 1.6; }
.wr-reco-kv .k { flex: 0 0 96px; color: var(--gray-400); }
.wr-reco-kv .v { flex: 1; color: var(--gray-700); }

.wr-next {
  margin-top: 20px; padding: 10px 16px;
  background: var(--gray-50); border-radius: 8px;
  font-size: 13px; color: var(--gray-600);
}
.wr-footer {
  text-align: center; font-size: 11px; color: var(--gray-400);
  margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--gray-200);
}

/* 5-tab 底部栏适配（字号略缩小） */
.tab-bar-5 .tab-label { font-size: 10px; }
.tab-bar-5 .tab-icon { font-size: 18px; }
@media (max-width: 360px) {
  .tab-bar-5 .tab-label { font-size: 9px; }
  .tab-bar-5 .tab-item { padding: 8px 2px; }
}
