﻿/* ============================================================
   星辰论文检测 · UI v3 — 专业级重设计
   设计目标：高质感学术工具风格，参考 PaperPass 大首屏布局
   作者：UI Designer | 2026-06-19
   ============================================================ */

/* ── 设计 Token ── */
:root {
  --bg:            #f0f4f9;
  --panel:         #ffffff;
  --panel-soft:    #f8fafc;
  --text:          #0f1829;
  --muted:         #64748b;
  --line:          #e2e8f0;
  --line-strong:   #cbd5e1;

  /* 品牌色：深海蓝 */
  --brand:         #1a56db;
  --brand-dark:    #1447c0;
  --brand-deeper:  #0f3499;
  --brand-soft:    #eff4ff;
  --brand-glow:    rgba(26, 86, 219, 0.18);

  /* 绿色（安全/通过） */
  --green:         #059669;
  --green-dark:    #047857;
  --green-soft:    #ecfdf5;

  /* 红/橙（风险/AIGC） */
  --red:           #dc2626;
  --red-soft:      #fef2f2;
  --coral:         #f05a28;
  --coral-soft:    #fff3ef;
  --amber:         #d97706;
  --amber-soft:    #fffbeb;

  /* 阴影系 */
  --shadow-xs:     0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:     0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -1px rgba(15,23,42,.06);
  --shadow-md:     0 10px 24px -4px rgba(15,23,42,.10), 0 4px 8px -2px rgba(15,23,42,.06);
  --shadow-lg:     0 20px 48px -8px rgba(15,23,42,.14), 0 8px 16px -4px rgba(15,23,42,.08);
  --shadow:        var(--shadow-sm);

  /* 圆角 */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;
}

/* ── 全局基础 ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ================================================================
   顶部导航栏 — 深色品牌风格
   ================================================================ */
.sidebar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 clamp(20px, 3vw, 48px);
  background: #0e1726;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

/* 品牌 Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 7px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1a56db, #0f3499);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.15);
}

.brand-mark span {
  display: block;
  border-radius: 2px;
}

.brand-mark span:nth-child(1) { background: #60a5fa; }
.brand-mark span:nth-child(2) { background: #34d399; }
.brand-mark span:nth-child(3) { background: #fbbf24; }

.brand strong {
  display: block;
  color: #f0f6ff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand small {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 1px;
}

/* 导航列表 */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  padding: 0 24px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 68px;
  padding: 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #94a3b8;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}

.nav-item:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,.04);
  border-bottom-color: rgba(255,255,255,.2);
}

.nav-item.active {
  color: #93c5fd;
  border-bottom-color: #3b82f6;
  background: rgba(59,130,246,.08);
}

.nav-item[data-view="submit"]::after,
.nav-item[data-view="aigc"]::after {
  content: "免费";
  position: absolute;
  top: 10px;
  right: 4px;
  border-radius: 4px 4px 4px 0;
  padding: 1px 5px;
  color: #fff;
  background: linear-gradient(135deg, #f05a28, #dc2626);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 1px 4px rgba(220,38,38,.4);
}

.nav-icon { opacity: .7; }
.nav-item.active .nav-icon,
.nav-item:hover .nav-icon { opacity: 1; }

/* 右侧操作区 */
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.metric-pill {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background .15s;
}

.metric-pill:hover { background: rgba(255,255,255,.12); }

.metric-pill span {
  color: #64748b;
  font-size: 11px;
}

.metric-pill strong {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  color: #94a3b8;
  background: rgba(255,255,255,.07);
  cursor: pointer;
  transition: background .15s, color .15s;
}

.icon-btn:hover {
  background: rgba(255,255,255,.14);
  color: #e2e8f0;
}

/* sidebar-status 隐藏 */
.sidebar-status { display: none; }

/* topbar 隐藏 */
.topbar { display: none; }

/* ================================================================
   主体内容区
   ================================================================ */
.main {
  min-height: calc(100vh - 68px);
  max-width: none;
  margin: 0;
  padding: 0 0 64px;
}

/* ================================================================
   首页 Hero — 大首屏深色品牌区
   ================================================================ */
.home-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr min(440px, 34%);
  gap: 60px;
  align-items: center;
  padding: 72px clamp(28px, 5vw, 80px) 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 500px at 15% 110%, rgba(59,130,246,.15) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 85% -20%, rgba(16,185,129,.12) 0%, transparent 55%),
    linear-gradient(150deg, #0e1726 0%, #131f35 45%, #0e192f 100%);
}

/* 背景装饰线条 */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

/* 光晕装饰 */
.home-hero::after {
  content: "";
  position: absolute;
  right: min(340px, 28%);
  bottom: 0;
  width: 2px;
  height: 70%;
  background: linear-gradient(to top, transparent, rgba(59,130,246,.5), transparent);
  pointer-events: none;
}

/* Hero 文案区 */
.hero-copy,
.hero-account {
  position: relative;
  z-index: 2;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 5px 14px 5px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(59,130,246,.35);
  background: rgba(59,130,246,.12);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
}

.hero-brand::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 6px #3b82f6;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #3b82f6; }
  50% { box-shadow: 0 0 12px #3b82f6, 0 0 20px rgba(59,130,246,.4); }
}

.hero-copy h2 {
  margin: 0;
  color: #f0f6ff;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-copy h2 em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: clamp(36px, 4vw, 56px);
  background: linear-gradient(90deg, #34d399 0%, #60a5fa 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy > strong {
  display: block;
  margin: 16px 0 20px;
  color: #fbbf24;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
}

.hero-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--r-full);
  padding: 0 18px 0 14px;
  color: #fde68a;
  background: rgba(251,191,36,.1);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.hero-help::before {
  content: "★";
  font-size: 13px;
  color: #fbbf24;
}

.hero-help:hover { background: rgba(251,191,36,.18); }

/* 服务入口工具栏 */
.hero-tools {
  margin-top: 28px;
  border-radius: var(--r-xl);
  padding: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
  max-width: 860px;
}

.hero-tool-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 58px;
  padding: 0 20px;
}

.hero-tool-row + .hero-tool-row {
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-tool-row b {
  min-width: 100px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}

.hero-tool-row button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  padding: 0 14px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  margin-left: 10px;
  white-space: nowrap;
}

.hero-tool-row button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.hero-tool-row button:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* 首页右侧账户卡片 */
.hero-account {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: grid;
  align-content: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-avatar {
  width: 68px;
  height: 68px;
  justify-self: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56db, #059669);
  box-shadow: 0 0 0 4px rgba(59,130,246,.25), 0 8px 24px rgba(26,86,219,.3);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.hero-avatar::before {
  content: "用";
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.hero-account > span:not(.corner-check) {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.hero-account strong {
  color: #e2e8f0;
  font-size: 22px;
  font-weight: 700;
}

.hero-account em {
  font-style: normal;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, #34d399, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-account .primary-btn {
  width: 100%;
  height: 48px;
  border-radius: var(--r-full);
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
  box-shadow: 0 4px 16px rgba(26,86,219,.4);
  border: 0;
}

.hero-account .primary-btn:hover {
  background: linear-gradient(135deg, #1447c0 0%, #1a56db 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,.5);
}

.hero-account .secondary-btn {
  width: 100%;
  height: 44px;
  border-radius: var(--r-full);
  font-size: 14px;
  border: 1px solid rgba(52,211,153,.4);
  color: #34d399;
  background: rgba(52,211,153,.08);
}

.hero-account .secondary-btn:hover {
  background: rgba(52,211,153,.15);
}

/* ================================================================
   首页页面堆叠区 (home-page-stack)
   ================================================================ */
.home-page-stack {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
  display: grid;
  gap: 64px;
}

/* 服务入口矩阵 */
.home-service-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

.home-service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.home-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line);
  transition: background .2s;
}

.home-service-card.primary::before { background: linear-gradient(90deg, #1a56db, #059669); }
.home-service-card[data-scroll-submit]:last-of-type::before,
.home-service-card:nth-child(2)::before { background: linear-gradient(90deg, #7c3aed, #1a56db); }
.home-service-card[data-view="rewrite"]::before { background: linear-gradient(90deg, #059669, #0d9488); }
.home-service-card[data-view="rewrite"] > span { background: var(--green-soft); color: var(--green-dark); }
.home-service-card[data-view="aigc"]::before { background: linear-gradient(90deg, #dc2626, #f05a28); }

.home-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.home-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.home-card-icon.check { background: #eff4ff; }
.home-card-icon.check::after { content: "🔍"; }
.home-card-icon.ai { background: #f5f0ff; }
.home-card-icon.ai::after { content: "🤖"; }
.home-card-icon.rewrite { background: #ecfdf5; }
.home-card-icon.rewrite::after { content: "✍️"; }
.home-card-icon.reduce { background: #fff1f2; }
.home-card-icon.reduce::after { content: "⚡"; }

.home-service-card strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.home-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-service-card > span {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.home-service-card[data-view="aigc"] > span {
  background: var(--red-soft);
  color: var(--red);
}


/* 能力升级网格 */
.home-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-upgrade-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s;
}

.home-upgrade-grid article:hover {
  box-shadow: var(--shadow-md);
}

.home-upgrade-grid i {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.home-upgrade-grid strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-upgrade-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* Section 标题公共样式 */
.home-floor-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.home-floor-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-floor-head span {
  color: var(--muted);
  font-size: 14px;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--brand);
  flex-shrink: 0;
}

/* 报告演示 Band */
.home-demo-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.home-demo-band::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%);
  pointer-events: none;
}

.home-section-copy h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0;
}

.home-section-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 480px;
}

.home-button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-primary-action {
  height: 44px;
  border: 0;
  border-radius: var(--r-full);
  padding: 0 24px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 4px 12px rgba(26,86,219,.3);
}

.home-primary-action:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26,86,219,.4);
}

.home-secondary-action {
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  padding: 0 20px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.home-secondary-action:hover {
  background: var(--panel-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* 报告演示 Mock */
.home-report-mock {
  width: 280px;
  flex-shrink: 0;
  background: #0e1726;
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: 0 24px 48px rgba(14,23,38,.3), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
  z-index: 1;
}

.mock-report-head {
  text-align: center;
  margin-bottom: 20px;
}

.mock-report-head span {
  color: #64748b;
  font-size: 12px;
}

.mock-report-head strong {
  display: block;
  color: #34d399;
  font-size: 36px;
  font-weight: 800;
  margin: 4px 0;
}

.mock-report-head em {
  font-style: normal;
  color: #f87171;
  font-size: 16px;
  font-weight: 700;
}

.mock-report-body {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.mock-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  position: relative;
}

.mock-ring.green {
  background: conic-gradient(#34d399 0 75deg, #1e293b 75deg 360deg);
  color: #34d399;
  box-shadow: inset 0 0 0 16px #0e1726;
}

.mock-ring.red {
  background: conic-gradient(#f87171 0 130deg, #1e293b 130deg 360deg);
  color: #f87171;
  box-shadow: inset 0 0 0 16px #0e1726;
}

.mock-lines {
  display: grid;
  gap: 6px;
}

.mock-lines span {
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
}

.mock-lines span:nth-child(1) { width: 64px; background: #34d399; opacity: .6; }
.mock-lines span:nth-child(2) { width: 48px; }
.mock-lines span:nth-child(3) { width: 56px; background: #f87171; opacity: .5; }
.mock-lines span:nth-child(4) { width: 40px; }

.mock-report-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mock-report-tabs b {
  flex: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  height: 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.mock-report-tabs b:first-child {
  background: rgba(59,130,246,.2);
  border-color: rgba(59,130,246,.4);
  color: #93c5fd;
}

/* AI工具矩阵 */
.home-tool-floor {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 40px 36px;
}

.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-tool-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px;
  background: var(--panel-soft);
  cursor: pointer;
  transition: all .15s;
  text-align: left;
}

.home-tool-grid button:hover {
  background: var(--brand-soft);
  border-color: #bdd0ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.home-tool-grid button b {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.home-tool-grid button span {
  color: var(--muted);
  font-size: 12px;
}

/* 降重/降AIGC 服务分割区 */
.home-service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-service-split article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: all .2s;
}

.home-service-split article:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.split-visual {
  width: 120px;
  height: 120px;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-size: 48px;
}


.rewrite-visual {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}
.rewrite-visual::after { content: "✍️"; }

.aigc-visual {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}
.aigc-visual::after { content: "⚡"; }

.home-service-split article > div h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0 10px;
}

.home-service-split article > div p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.home-service-split article button {
  height: 38px;
  border: 0;
  border-radius: var(--r-full);
  padding: 0 20px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}

.home-service-split article:last-child button {
  background: linear-gradient(135deg, #dc2626, #f05a28);
}

.home-service-split article button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,.35);
}

/* 多终端 Band */
.home-terminal-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #0e1726, #131f35);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  overflow: hidden;
  position: relative;
}

.home-terminal-band .home-section-copy h2,
.home-terminal-band .home-section-copy p,
.home-terminal-band .home-section-copy .home-kicker {
  color: #e2e8f0;
}

.home-terminal-band .home-section-copy .home-kicker {
  color: #93c5fd;
}

.home-terminal-band .home-section-copy .home-kicker::before {
  background: #60a5fa;
}

.home-terminal-band .home-section-copy > p {
  color: #94a3b8;
}

.device-stack {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  position: relative;
}

.device {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.device.desktop {
  width: 160px;
  height: 110px;
  border-radius: var(--r-md);
}

.device.phone {
  width: 72px;
  height: 120px;
  border-radius: 14px;
}

.device span {
  position: absolute;
  display: block;
  border-radius: 2px;
  background: rgba(255,255,255,.06);
}

.device.desktop span:nth-child(1) {
  top: 12px;
  left: 12px;
  right: 12px;
  height: 28px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(59,130,246,.4), rgba(16,185,129,.3));
}

.device.desktop span:nth-child(2) {
  bottom: 10px;
  left: 12px;
  width: 60px;
  height: 6px;
}

.device.desktop span:nth-child(3) {
  bottom: 10px;
  left: 80px;
  right: 12px;
  height: 6px;
  background: rgba(255,255,255,.12);
}

.device.phone span:nth-child(1) {
  top: 10px;
  left: 8px;
  right: 8px;
  height: 50px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(16,185,129,.25));
}

.device.phone span:nth-child(2) {
  bottom: 10px;
  left: 8px;
  right: 8px;
  height: 6px;
}

.home-capability-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.home-capability-list span {
  padding: 5px 14px;
  border: 1px solid rgba(59,130,246,.3);
  border-radius: var(--r-full);
  background: rgba(59,130,246,.12);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
}

/* 扩展服务 */
.home-extra-floor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-extra-floor article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  cursor: pointer;
  transition: all .15s;
  box-shadow: var(--shadow-xs);
}

.home-extra-floor article:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.home-extra-floor article strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-extra-floor article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 知识专栏 */
.home-knowledge-floor .knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.knowledge-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-xs);
}

.knowledge-grid strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.knowledge-grid button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  padding: 10px 0;
  color: var(--muted);
  background: transparent;
  font-size: 13.5px;
  cursor: pointer;
  transition: color .15s;
  border-bottom: 1px solid var(--line);
}

.knowledge-grid button:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.knowledge-grid button:hover {
  color: var(--brand);
}

/* ================================================================
   提交检测页
   ================================================================ */
#view-submit .site-announcement,
#view-submit .workspace-grid,
#view-submit .submit-info-grid,
#view-submit .aigc-notice-panel {
  width: min(1200px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

#view-submit {
  padding-top: 24px;
  padding-bottom: 48px;
}

.site-announcement {
  margin-bottom: 20px;
}

.announcement-hot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  border-radius: var(--r-lg);
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(37,99,235,.25);
}

.announcement-hot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147,197,253,.35);
  animation: pulse-dot 1.5s infinite;
}

.announcement-hot .help-dot {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.announcement-hot .help-dot:hover {
  background: rgba(255,255,255,.25);
}

.site-announcement > p {
  margin: 10px 0 0;
  border: 1px solid #a7f3d0;
  border-radius: var(--r-md);
  padding: 12px 20px;
  color: #065f46;
  background: #ecfdf5;
  font-size: 14px;
  line-height: 1.7;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

/* Panel */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.panel-head {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.panel-head h2 {
  font-size: 17px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Tab */
.paper-type-tabs {
  display: flex;
  align-items: center;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.paper-type-tab {
  flex: 1;
  height: 48px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.paper-type-tab.active {
  color: var(--brand);
  background: #fff;
  border-bottom-color: var(--brand);
}

/* 标准检测卡片 */
.detect-form { padding: 20px; }

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

.version-cards.single {
  grid-template-columns: 1fr;
}

.version-card {
  position: relative;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  overflow: hidden;
}

.version-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(59,130,246,.1);
  transform: translateY(-1px);
}

.version-card.selected {
  border-color: var(--brand);
  background: linear-gradient(135deg, #eff6ff, #f5f9ff);
  box-shadow: 0 0 0 4px rgba(26,86,219,.1), 0 4px 16px rgba(26,86,219,.08);
}

.corner-check {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, transparent 0 50%, var(--brand) 51% 100%);
  border-radius: 0 var(--r-lg) 0 0;
}

.corner-check::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 11px;
  width: 13px;
  height: 8px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

.version-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
}

.version-card h3 small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.version-line {
  height: 1px;
  background: var(--line);
  margin-bottom: 14px;
}

.version-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.version-card p em {
  font-style: normal;
  color: var(--green-dark);
  font-weight: 600;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.price-row strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.price-row span {
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
}
.price-row span:first-of-type {
  background: #fee2e2;
  color: #dc2626;
}
.price-row span:last-child {
  background: #dbeafe;
  color: #1d4ed8;
}

.submit-help-links {
  display: flex;
  gap: 24px;
  margin: 12px 0 20px;
}

.submit-help-links button {
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(26,86,219,.3);
  text-underline-offset: 2px;
}

/* 信息弹出层 */
.info-popover {
  position: absolute;
  z-index: 20;
  left: 200px;
  top: 210px;
  width: 440px;
  max-width: calc(100% - 40px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-lg);
  padding: 20px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.explain-popover { left: 290px; }

.compare-table > div {
  display: grid;
  grid-template-columns: 1fr 88px 88px;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.compare-table > div:nth-child(even) { background: var(--panel-soft); }

.compare-table .compare-head {
  background: #f1f5f9;
  min-height: 40px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.compare-table span,
.compare-table strong {
  font-size: 13px;
  color: var(--text);
  text-align: center;
}

.compare-table span { text-align: left; color: var(--muted); }

.ok-mark { color: var(--green-dark) !important; font-size: 18px !important; }

.soft-callout {
  margin-top: 12px;
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: var(--green-soft);
  border: 1px solid #a7f3d0;
}

.soft-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 13px;
}

.soft-callout p {
  margin: 0;
  color: #065f46;
  font-size: 13px;
  line-height: 1.6;
}

.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 10px;
  padding: 12px;
  background: var(--panel-soft);
  border-radius: var(--r-md);
}

.model-cloud span {
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

/* 表单 */
.detect-form { padding: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 16px; }

.field { display: grid; gap: 8px; }

.field span, .check-row span {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 14px;
  color: var(--text);
  background: var(--panel-soft);
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}

.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.7;
}

/* 上传区 */
.upload-zone {
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 16px 0;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--panel-soft), #fff);
  transition: all .2s;
}

.upload-zone:hover {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand-soft), #f5f9ff);
  box-shadow: 0 0 0 4px rgba(26,86,219,.06);
}

.upload-zone.drag-over {
  border-color: var(--brand);
  border-style: solid;
  background: var(--brand-soft);
  box-shadow: 0 0 0 6px rgba(26,86,219,.1), 0 8px 24px rgba(26,86,219,.12);
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-visual {
  width: 68px;
  height: 80px;
  flex-shrink: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.file-line {
  display: block;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--line-strong);
}

.file-line.long { width: 100%; background: var(--brand); }
.file-line.short { width: 50%; background: #f59e0b; }

.upload-zone strong { font-size: 15px; font-weight: 600; color: var(--text); }
.upload-zone p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* 分段控制 */
.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel-soft);
}

.segment {
  height: 32px;
  border: 0;
  border-radius: var(--r-sm);
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.segment.active {
  color: var(--brand);
  background: var(--panel);
  box-shadow: var(--shadow-xs);
}

/* 提交栏 */
.submit-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}

.submit-bar > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.submit-bar > div:first-child {
  flex: 1;
}

.submit-bar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.submit-bar strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.submit-bar #costText {
  color: #059669;
  font-size: 16px;
}

/* 按钮 */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 0;
  border-radius: var(--r-md);
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1a56db);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(26,86,219,.3);
}

.primary-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,86,219,.4);
}

.primary-btn.warm {
  background: linear-gradient(135deg, #dc2626, #f05a28);
  box-shadow: 0 2px 8px rgba(220,38,38,.3);
}

.primary-btn.warm:hover {
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0 16px;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.secondary-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ================================================================
   报告中心
   ================================================================ */
#view-reports {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(20px, 3vw, 48px);
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.stat-tile {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-xs);
  transition: all .2s;
  overflow: hidden;
}

.stat-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #7c3aed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.stat-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.stat-tile:hover::before { transform: scaleX(1); }

.stat-tile:nth-child(1)::before { background: linear-gradient(90deg, var(--brand), #6366f1); }
.stat-tile:nth-child(2)::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }

.stat-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f1829, var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-tile:nth-child(1) strong {
  background: linear-gradient(135deg, #0f1829, var(--brand));
  -webkit-background-clip: text; background-clip: text;
}
.stat-tile:nth-child(2) strong {
  background: linear-gradient(135deg, #0f1829, #8b5cf6);
  -webkit-background-clip: text; background-clip: text;
}

.stat-tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

/* 过滤栏 */
.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter {
  height: 34px;
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  padding: 0 18px;
  color: var(--muted);
  background: var(--panel-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  position: relative;
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow-xs);
}

.filter.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 2px 8px var(--brand-glow);
}

/* 报告卡片 */
.report-list {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.report-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  box-shadow: var(--shadow-xs);
  transition: all .2s;
  overflow: hidden;
}

.report-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--brand-glow);
  transform: translateY(-1px);
}

.sample-report-card {
  padding: 24px;
  border-style: dashed;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.sample-report-card:hover {
  transform: none;
}

.sample-report-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.sample-report-top span {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sample-report-top strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.sample-report-top em {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.sample-report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.sample-report-metrics > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.sample-report-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sample-report-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.sample-report-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.sample-report-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.report-overview {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 88px 120px 120px 36px;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 0 20px;
}

.report-field { min-width: 0; }

.report-field span {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.report-field strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-field.compact strong { font-size: 13px; }

.version-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid #bfdbfe;
  border-radius: var(--r-full);
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-full);
  border: 0;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.status-pill.pending {
  background: var(--amber);
}

.badge {
  min-width: 72px;
  border-radius: var(--r-md);
  padding: 8px 10px;
  text-align: center;
  border: 1px solid var(--green-soft);
  background: var(--green-soft);
}

.badge.risk {
  border-color: var(--red-soft);
  background: var(--red-soft);
}

.badge.pending {
  border-color: var(--amber-soft);
  background: var(--amber-soft);
}

.badge span {
  display: block;
  font-size: 11px;
  color: var(--green-dark);
  opacity: .8;
}

.badge.risk span { color: var(--red); }
.badge.pending span { color: var(--amber); }

.badge strong {
  display: block;
  font-size: 15px;
  color: var(--green-dark);
  font-weight: 800;
}

.badge.risk strong { color: var(--red); }
.badge.pending strong { color: var(--amber); }

.trash-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--r-sm);
  color: #94a3b8;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .15s;
}

.trash-btn:hover {
  background: var(--red-soft);
  color: var(--red);
}

.report-ops-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 20px;
  background: linear-gradient(180deg, #f8fafc, #f0f4f9);
}

.report-actions > span {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-actions > div {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px 10px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
}

.report-actions button {
  border: 1.5px solid var(--line);
  height: 32px;
  border-radius: var(--r-sm);
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.report-actions button:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 1px 4px var(--brand-glow);
}

.report-pending-note {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 54px;
  border: 1px dashed #f59e0b;
  border-radius: var(--r-md);
  padding: 10px 14px;
  background: #fffbeb;
  color: #92400e;
}

.report-pending-note strong {
  font-size: 14px;
  font-weight: 800;
}

.report-pending-note span {
  font-size: 13px;
  line-height: 1.55;
}

/* ── 降AIGC 操作按钮 — 转化入口强化 ── */
.report-actions button.action-aigc-hot {
  position: relative;
  border-color: #c084fc;
  color: #6d28d9;
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  font-weight: 700;
  animation: aigc-button-glow 2.5s ease-in-out infinite;
  overflow: visible;
}

.report-actions button.action-aigc-hot:hover {
  border-color: #7c3aed;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 2px 12px rgba(124,58,237,.35);
  transform: translateY(-1px);
}

.report-actions button.action-aigc-hot em {
  position: absolute;
  top: -10px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  height: 18px;
  border-radius: var(--r-full);
  padding: 0 7px;
  background: linear-gradient(135deg, #dc2626, #f05a28);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  box-shadow: 0 2px 6px rgba(220,38,38,.35);
  pointer-events: none;
  white-space: nowrap;
}

@keyframes aigc-button-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,.15); }
  50% { box-shadow: 0 0 0 4px rgba(124,58,237,.08), 0 1px 4px rgba(124,58,237,.2); }
}

.report-recommend {
  margin-top: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.report-recommend > strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

.advice-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.tag {
  border-radius: var(--r-sm);
  padding: 2px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.tag.muted { background: #94a3b8; }
.tag.hot { background: var(--coral); }

.upgrade-btn {
  height: 36px;
  border: 0;
  border-radius: var(--r-full);
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 2px 8px rgba(26,86,219,.25);
}

.upgrade-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,86,219,.35);
}

.advice-bars {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 92px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.advice-bars em {
  height: 8px;
  border-radius: var(--r-full);
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.advice-bars em::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--bar, 50%);
  background: var(--red);
  border-radius: inherit;
}

.advice-bars.soft em::before { background: var(--green); }
.advice-bars strong { color: var(--red); font-weight: 700; white-space: nowrap; }
.advice-bars.soft strong { color: var(--green-dark); }

.more-menu {
  position: absolute;
  right: 0;
  top: 32px;
  z-index: 20;
  min-width: 280px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 8px;
}

.more-menu button {
  width: 100%;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

.more-wrap { position: relative; display: inline-flex; }

/* ================================================================
   报告详情页
   ================================================================ */
#view-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(20px, 3vw, 48px);
}

.detail-panel { padding-bottom: 24px; }

.report-mode-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
  overflow-x: auto;
}

.report-tab {
  position: relative;
  height: 48px;
  flex-shrink: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.report-tab:hover { color: var(--text); }

.report-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.report-tab.hot {
  color: var(--coral);
}

.report-tab.hot::before {
  content: "HOT";
  position: absolute;
  right: 3px;
  top: 5px;
  background: var(--coral);
  color: #fff;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 9px;
  font-weight: 700;
}

.detail-grid {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.score-board {
  display: grid;
  grid-template-columns: 130px 130px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--green) 0 75deg, var(--line) 75deg 360deg);
  box-shadow: 0 4px 16px rgba(5,150,105,.15);
}

.score-ring.risk {
  background: conic-gradient(var(--red) 0 130deg, var(--line) 130deg 360deg);
  box-shadow: 0 4px 16px rgba(220,38,38,.15);
}

.score-ring::after {
  content: "";
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
}

.score-ring span,
.score-ring small {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
}

.score-ring span {
  margin-top: -14px;
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
}

.score-ring.risk span { color: var(--red); }

.score-ring small {
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
}

.score-notes {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.score-notes strong {
  font-size: 15px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.score-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.source-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 90px 80px;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.table-row:first-child { border-top: 0; }

.table-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  background: var(--panel-soft);
}

.segments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 24px 8px;
}

.segment-block {
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--r-md);
  padding: 16px;
  background: var(--panel-soft);
}

.segment-block.aigc-risk { border-left-color: var(--coral); }
.segment-block.simple-summary { border-left-color: var(--brand); }

.segment-block strong { font-size: 14px; font-weight: 700; }

.segment-block p {
  margin: 8px 0;
  line-height: 1.8;
  font-size: 14px;
}

.segment-block span {
  color: var(--muted);
  font-size: 13px;
}

/* ================================================================
   降重/降AIGC 页面
   ================================================================ */
#view-rewrite,
#view-aigc {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(20px, 3vw, 48px);
}

.pp-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}

.service-choice-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-option {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  background: var(--panel-soft);
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  overflow: hidden;
}

.service-option::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-glow), transparent 60%);
  opacity: 0;
  transition: opacity .25s;
}

.service-option:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px var(--brand-glow), 0 0 0 3px var(--brand-glow);
  transform: translateY(-2px);
}

.service-option:hover::after { opacity: 1; }

.service-option.selected {
  border-color: var(--brand);
  background: linear-gradient(135deg, #eff4ff, #eef2ff);
  box-shadow: 0 0 0 3px var(--brand-glow), var(--shadow-sm);
}

.service-option.selected::after {
  opacity: .6;
  background: linear-gradient(135deg, var(--brand-glow), rgba(99,102,241,.06) 60%);
}

.service-option.manual {
  border-style: dashed;
  border-color: #cbd5e1;
}

/* 智能降AIGC — 付费入口高亮 */
#view-aigc .service-option.selected {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15), var(--shadow-sm);
}

#view-aigc .service-option.selected .service-option-head strong {
  color: #6d28d9;
}

#view-aigc .service-option.selected .service-option-head em {
  color: #7c3aed;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-option-head strong {
  font-size: 16px;
  font-weight: 700;
}

.service-option-head em {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--coral);
}

.service-option > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.green-dot, .red-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
}

.green-dot {
  background: var(--green-soft);
  color: var(--green-dark);
}

.green-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.red-dot {
  background: var(--red-soft);
  color: var(--red);
}

.red-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* 论文工具网格 */
.paper-tool-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

.pp-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.pp-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.pp-tab {
  flex: 1;
  height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.pp-tab:hover {
  color: var(--text);
  background: rgba(0,0,0,.02);
}

.pp-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: linear-gradient(180deg, #fff, var(--brand-soft));
  font-weight: 700;
}

.pp-tool-body { padding: 20px; }

.pp-tool-body h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
}

.pp-upload-box {
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  background: linear-gradient(180deg, #f8fafc, #f0f4f9);
  transition: all .25s;
  position: relative;
}

.pp-upload-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-glow), transparent 70%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.pp-upload-box:hover {
  border-color: var(--brand);
  background: linear-gradient(180deg, #eff4ff, #f0f4f9);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.pp-upload-box:hover::before { opacity: 1; }

.inner-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.inner-tab {
  height: 30px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}

.inner-tab.active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.word-upload-btn {
  display: block;
  height: 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0 20px;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 12px;
}

.word-upload-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.pp-upload-box strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.pp-upload-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pp-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.pp-submit-row {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.pp-submit-btn {
  height: 44px;
  border: 0;
  border-radius: var(--r-md);
  padding: 0 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #1d4ed8);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px var(--brand-glow);
  letter-spacing: 0.02em;
}

.pp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,.35);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* 智能降AIGC 提交按钮 — 付费入口强化 */
#view-aigc .pp-submit-btn {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 4px 14px rgba(124,58,237,.3);
}

#view-aigc .pp-submit-btn:hover {
  box-shadow: 0 6px 20px rgba(124,58,237,.4);
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* ================================================================
   智能降AIGC 页面 — 价值主张 Hero 横幅
   ================================================================ */
.aigc-hero-banner {
  position: relative;
  margin-bottom: 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #081426 0%, #0b1f3a 44%, #0d2f3d 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.aigc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 540px 420px at 22% 118%, rgba(37,99,235,.18) 0%, transparent 58%),
    radial-gradient(ellipse 360px 360px at 82% -18%, rgba(52,211,153,.12) 0%, transparent 52%);
  pointer-events: none;
}

.aigc-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 36px 36px;
}

.aigc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 40px 44px;
}

.aigc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 16px;
  border: 1px solid rgba(96,165,250,.32);
  border-radius: var(--r-full);
  color: #dbeafe;
  background: rgba(96,165,250,.10);
  font-size: 13px;
  font-weight: 600;
}

.aigc-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52,211,153,.75);
  animation: pulse-dot 2s infinite;
}

.aigc-hero-copy h2 {
  margin: 0 0 14px;
  color: #f0f6ff;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.aigc-hero-copy h2 em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: clamp(22px, 2.8vw, 32px);
  background: linear-gradient(90deg, #60a5fa 0%, #22d3ee 45%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aigc-hero-copy > p {
  margin: 0 0 24px;
  color: #a5b4c7;
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 520px;
}

.aigc-hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.aigc-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
}

.aigc-hero-stat strong {
  color: #e2e8f0;
  font-size: 22px;
  font-weight: 800;
}

.aigc-hero-stat strong span {
  font-size: 14px;
  font-weight: 500;
  color: #a5b4c7;
}

.aigc-hero-stat > span {
  color: #7c8ba0;
  font-size: 12px;
  font-weight: 500;
}

/* ── 对比卡片 ── */
.aigc-hero-visual {
  flex-shrink: 0;
}

.aigc-contrast-cards {
  display: flex;
  align-items: center;
  gap: 16px;
}

.aigc-before-card,
.aigc-after-card {
  width: 164px;
  padding: 20px 18px;
  border-radius: var(--r-lg);
  text-align: center;
  transition: transform .2s;
}

.aigc-before-card {
  background: rgba(15,24,41,.50);
  border: 1px solid rgba(239,68,68,.34);
}

.aigc-after-card {
  background: rgba(15,24,41,.50);
  border: 1px solid rgba(52,211,153,.34);
}

.aigc-contrast-cards:hover .aigc-before-card { transform: translateX(-4px); }
.aigc-contrast-cards:hover .aigc-after-card { transform: translateX(4px); }

.aigc-before-card span,
.aigc-after-card span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.aigc-before-card strong {
  display: block;
  color: #f87171;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.aigc-after-card strong {
  display: block;
  color: #34d399;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.aigc-arrow {
  color: #60a5fa;
  font-size: 24px;
  font-weight: 700;
}

.aigc-risk-bar {
  height: 6px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
}

.aigc-risk-bar.high {
  background: linear-gradient(90deg, #ef4444 45%, #1e293b 45%);
}

.aigc-risk-bar.low {
  background: linear-gradient(90deg, #34d399 14%, #1e293b 14%);
}

.aigc-before-card small {
  display: block;
  color: #f87171;
  font-size: 11px;
  font-weight: 600;
}

.aigc-after-card small {
  display: block;
  color: #34d399;
  font-size: 11px;
  font-weight: 600;
}


/* ── 响应式调整 ── */
@media (max-width: 900px) {
  .aigc-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 28px;
  }
  .aigc-hero-visual {
    display: flex;
    justify-content: center;
  }
  .aigc-contrast-cards {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .aigc-hero-inner {
    padding: 24px 20px;
  }
  .aigc-hero-copy h2 {
    font-size: 24px;
  }
  .aigc-hero-stats {
    flex-direction: column;
    gap: 10px;
  }
  .aigc-contrast-cards {
    flex-direction: column;
    align-items: center;
  }
  .aigc-arrow {
    transform: rotate(90deg);
  }
}

.pp-result-head {
  padding: 18px 20px;
  border-bottom: 2px solid var(--line);
  background: linear-gradient(180deg, var(--panel-soft), #fff);
}

.pp-result-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.pp-result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pp-result-table th {
  padding: 12px 16px;
  background: linear-gradient(180deg, #f8fafc, var(--panel-soft));
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--line);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pp-result-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.pp-result-table tbody tr:hover td {
  background: var(--brand-soft);
}

.pp-result-table .empty-row {
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
  font-size: 13px;
}

.empty-row {
  text-align: center;
  color: var(--muted);
  padding: 24px !important;
}

/* ================================================================
   活动引流页 — 重设计 v2（AIGC Growth 任务页）
   基于 Ardot Minimalism/Swiss 设计系统 + 项目品牌色
   ================================================================ */
#view-activity {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px clamp(20px, 3vw, 48px) 48px;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* ══ Hero 横幅 · 活动感设计 ══ */
.activity-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 30%, #1a56db 70%, #7c3aed 100%);
  border-radius: 20px;
  padding: 36px 36px 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(15,23,42,.25);
  overflow: hidden;
  position: relative;
}
.activity-hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.activity-hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}

.activity-hero-copy {
  position: relative; z-index: 1;
}
.activity-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 20px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: #fbbf24; font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: 16px;
  border: 1px solid rgba(251,191,36,.3);
}
.activity-hero-copy h2 {
  margin: 0 0 12px; font-size: 28px; font-weight: 800;
  color: #fff; line-height: 1.3; letter-spacing: -0.01em;
}
.activity-hero-copy h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.activity-hero-copy > p {
  margin: 0 0 24px; color: rgba(255,255,255,.75);
  font-size: 14.5px; line-height: 1.75; max-width: 680px;
}
.activity-hero-copy > p strong {
  color: #fbbf24; font-weight: 700;
}

/* 步骤流程 */
.activity-steps {
  display: flex; align-items: center; gap: 0;
}
.activity-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-align: center; padding: 0 12px; min-width: 90px;
}
.activity-step .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  color: rgba(255,255,255,.9); font-size: 15px; font-weight: 800;
  margin-bottom: 4px; transition: all .3s;
}
.activity-step.highlight .step-num {
  font-size: 20px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: #fbbf24;
  box-shadow: 0 0 16px rgba(251,191,36,.3);
}
.activity-step strong { color: #fff; font-size: 13px; font-weight: 700; }
.activity-step p { color: rgba(255,255,255,.55); font-size: 11px; margin: 0; }
.step-arrow {
  color: rgba(255,255,255,.25); font-size: 18px; font-weight: 300;
  flex-shrink: 0; padding: 0 2px; margin-top: -20px;
}

/* 奖励卡片 */
.activity-rewards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  position: relative; z-index: 1;
}
.reward-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 14px;
  padding: 16px; text-align: center; transition: all .3s;
}
.reward-card:hover {
  background: rgba(255,255,255,.18); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.reward-card .reward-icon { display: block; font-size: 28px; margin-bottom: 8px; }
.reward-card strong { display: block; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.reward-card p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; }

/* ══ 平台 Tabs · 品牌色 ══ */
.task-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border: 1px solid #e2e8f0; border-radius: 12px;
  overflow: hidden; background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.task-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; height: 46px; border: none;
  border-right: 1px solid #f1f5f9; border-radius: 0;
  padding: 0 16px; color: #64748b; background: transparent;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: all .2s; position: relative;
}
.task-tab:last-child { border-right: none; }
.task-tab .tab-icon { font-size: 16px; }
.task-tab:hover { background: #f8fafc; color: #1e293b; }

.task-tab.xhs.active { background: linear-gradient(135deg, #ff2442, #ff6b81); color: #fff; font-weight: 700; }
.task-tab.dy.active  { background: linear-gradient(135deg, #010101, #fe2c55); color: #fff; font-weight: 700; }
.task-tab.zh.active  { background: linear-gradient(135deg, #0066ff, #3385ff); color: #fff; font-weight: 700; }
.task-tab.wb.active  { background: linear-gradient(135deg, #e6162d, #ff8200); color: #fff; font-weight: 700; }

.task-tab.active::after {
  content: ""; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 3px; background: rgba(255,255,255,.5); border-radius: 3px 3px 0 0;
}

/* ══ 表单 · 步骤式 ══ */
.activity-form {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.form-step-indicator {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 24px 12px; gap: 0;
}
.form-step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: #f1f5f9; border: 2px solid #e2e8f0;
  display: grid; place-items: center; transition: all .3s; flex-shrink: 0;
}
.form-step-dot span { font-size: 13px; font-weight: 700; color: #94a3b8; }
.form-step-dot.active {
  background: #2563eb; border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.form-step-dot.active span { color: #fff; }
.form-step-line { width: 48px; height: 2px; background: #e2e8f0; flex-shrink: 0; }

.activity-form > .field {
  padding: 0 24px 16px; display: block;
}
.activity-form > .field:first-of-type { padding-top: 16px; }
.activity-form .field > span {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 10px;
}
.activity-form .field > span em {
  font-style: normal; font-weight: 400; font-size: 12px;
  color: #94a3b8; margin-left: auto;
}

.textarea-wrap { position: relative; }
.textarea-wrap textarea {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 14px 16px; padding-right: 100px;
  font-size: 13px; font-family: inherit; background: #f8fafc;
  color: #334155; resize: vertical; line-height: 1.7; transition: all .2s;
}
.textarea-wrap textarea:focus {
  outline: none; border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.08); background: #fff;
}
.copy-inline {
  position: absolute; top: 10px; right: 10px;
  padding: 6px 14px; border: 1px solid #2563eb; border-radius: 8px;
  background: #eff6ff; color: #2563eb; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.copy-inline:hover { background: #2563eb; color: #fff; }

.activity-form .form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 16px; padding: 0 24px 16px;
}
.activity-form .form-grid .field { padding: 0; }

.activity-form input[type="url"] {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 12px 14px; font-size: 13px; font-family: inherit;
  background: #f8fafc; color: #334155; transition: all .2s;
}
.activity-form input[type="url"]:focus {
  outline: none; border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.08); background: #fff;
}

.file-upload-wrap { position: relative; }
.file-upload-wrap input[type="file"] {
  width: 100%; padding: 10px 14px; border: 2px dashed #cbd5e1;
  border-radius: 10px; background: #f8fafc; font-size: 12px;
  cursor: pointer; transition: all .2s;
}
.file-upload-wrap input[type="file"]:hover { border-color: #2563eb; background: #eff6ff; }
.file-hint {
  display: block; margin-top: 6px; color: #94a3b8;
  font-size: 11px; font-weight: 400;
}

/* ══ 提交栏 ══ */
.activity-submit {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 24px; border-top: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.activity-submit > div { display: flex; flex-direction: column; gap: 3px; }
.activity-submit > div span {
  font-size: 11px; font-weight: 600; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.activity-submit > div strong { font-size: 14px; font-weight: 700; color: #1e293b; }
.activity-submit > div:last-of-type strong { color: #059669; }
.activity-submit .primary-btn {
  margin-left: auto; padding: 12px 32px; height: 44px;
  font-size: 15px; font-weight: 700; border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 4px 16px rgba(37,99,235,.3); transition: all .25s;
}
.activity-submit .primary-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,.45);
}

/* ── 活动记录面板 ── */
.activity-records { display: grid; gap: 0; padding: 0; }
.activity-record {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 20px; border-bottom: 1px solid #f1f5f9;
  background: #fff; transition: background .15s;
}
.activity-record:first-child { border-radius: 12px 12px 0 0; }
.activity-record:last-child  { border-radius: 0 0 12px 12px; border-bottom: none; }
.activity-record:hover { background: #f8fafc; }
.activity-record strong { display: block; font-size: 14px; font-weight: 700; color: #1e293b; }

/* 记录状态行 */
.activity-record .record-status { display: flex; align-items: center; gap: 6px; }
.record-status .status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.record-status .status-dot.green { background: #10b981; box-shadow: 0 0 4px rgba(16,185,129,.4); }
.record-status .status-dot.amber { background: #f59e0b; box-shadow: 0 0 4px rgba(245,158,11,.4); }
.record-status .status-dot.red   { background: #ef4444; box-shadow: 0 0 4px rgba(239,68,68,.4); }
.activity-record .record-status span { font-size: 12px; font-weight: 500; }
.record-status .status-green { color: #059669; }
.record-status .status-amber { color: #d97706; }
.record-status .status-red   { color: #dc2626; }

/* 策略提示卡 */
.hint-box {
  margin: 20px; padding: 18px 20px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a; border-radius: 12px;
}
.hint-box strong { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #92400e; margin-bottom: 8px; }
.hint-box strong::before { content: "💡"; font-size: 16px; }
.hint-box p { margin: 0; color: #78350f; font-size: 13px; line-height: 1.7; }

/* 面板标题 */
.activity-grid .panel {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.activity-grid .panel .panel-head { padding: 20px 24px; }
.activity-grid .panel .panel-head .eyebrow { font-size: 11px; font-weight: 600; color: #94a3b8; letter-spacing: 0.05em; margin: 0 0 4px; }
.activity-grid .panel .panel-head h2 { font-size: 20px; font-weight: 800; margin: 0; color: #1e293b; }
.activity-grid .panel .panel-head.compact { padding: 16px 20px 12px; }
.activity-grid .panel .panel-head.compact .eyebrow { margin-bottom: 2px; }
.activity-grid .panel .panel-head.compact h2 { font-size: 16px; }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .activity-grid { grid-template-columns: 1fr; }
  .activity-hero { padding: 28px 24px 24px; }
  .activity-hero-copy h2 { font-size: 22px; }
  .activity-steps { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .step-arrow { display: none; }
  .activity-rewards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .reward-card { padding: 12px 8px; }
  .reward-card strong { font-size: 13px; }
  .activity-form .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .task-tab { font-size: 12px; height: 40px; padding: 0 10px; }
  .task-tab .tab-icon { font-size: 14px; }
  .activity-submit { flex-wrap: wrap; gap: 12px; }
  .activity-submit .primary-btn { margin-left: 0; width: 100%; }
  .form-step-line { width: 32px; }
}
@media (max-width: 600px) {
  #view-activity { padding: 20px 16px 32px; }
  .activity-hero-copy h2 { font-size: 18px; }
  .activity-hero { padding: 20px 16px; }
  .activity-rewards { gap: 8px; }
  .reward-card { padding: 10px 6px; }
  .reward-card .reward-icon { font-size: 22px; }
  .reward-card strong { font-size: 11px; }
  .task-tab { padding: 0 6px; font-size: 11px; }
  .task-tab .tab-icon { font-size: 13px; }
  .form-step-line { width: 20px; }
}

/* 活动页新版结构 */
.activity-main-card {
  padding: 20px;
}

.activity-side {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.activity-hero-upgraded {
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr);
  align-items: stretch;
  gap: 22px;
  margin-bottom: 22px;
  padding: 30px;
  background:
    radial-gradient(circle at 88% 16%, rgba(46, 211, 183, .24), transparent 34%),
    radial-gradient(circle at 76% 94%, rgba(37, 99, 235, .28), transparent 32%),
    linear-gradient(135deg, #0b1628 0%, #102846 52%, #0f766e 100%);
  border: 1px solid rgba(148, 163, 184, .2);
  box-shadow: 0 22px 52px rgba(15, 23, 42, .2);
}

.activity-hero-upgraded .activity-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.activity-hero-upgraded .activity-badge {
  width: fit-content;
  background: rgba(15, 118, 110, .22);
  border-color: rgba(45, 212, 191, .34);
  color: #bbf7d0;
}

.activity-hero-upgraded .activity-hero-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.activity-hero-upgraded .activity-hero-copy h2 em {
  background: linear-gradient(135deg, #60a5fa 10%, #2dd4bf 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

.activity-hero-upgraded .activity-hero-copy > p {
  max-width: 600px;
  margin-bottom: 22px;
  color: rgba(226, 232, 240, .86);
}

.activity-hero-upgraded .activity-rewards {
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}

.activity-hero-upgraded .reward-card {
  text-align: left;
  min-height: 88px;
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .18);
}

.activity-hero-upgraded .reward-card strong {
  font-size: 16px;
}

.activity-hero-upgraded .reward-card p {
  color: rgba(226, 232, 240, .68);
}

.activity-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 12px;
}

.activity-section-head span {
  display: inline-block;
  margin-bottom: 3px;
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.activity-section-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.activity-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.invite-flow-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.invite-flow-summary > div {
  position: relative;
  min-height: 108px;
  padding: 18px 18px 18px 54px;
  border: 1px solid #dbe7e3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fdfa);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.invite-flow-summary span {
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}

.invite-flow-summary strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.invite-flow-summary p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.activity-form {
  border-color: #dbe7e3;
}

.activity-form .form-title {
  align-items: center;
  margin: 0;
  padding: 18px 22px 4px;
}

.ghost-btn.compact {
  height: 36px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.ghost-btn.compact:hover {
  border-color: #0f766e;
  color: #0f766e;
  background: #f0fdfa;
}

.invite-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  margin: 14px 22px 4px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
}

.invite-card > div:not(.invite-progress) {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .18);
}

.invite-card span {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.invite-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  color: #0f766e;
}

.invite-progress {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 118, 110, .12);
}

.invite-progress em {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #2563eb);
  transition: width .25s ease;
}

.activity-form .textarea-wrap textarea {
  min-height: 150px;
  padding-right: 16px;
}

.activity-record-panel,
.activity-rule-card {
  overflow: hidden;
}

.activity-rule-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 20px 20px;
  list-style: none;
}

.activity-rule-card li {
  position: relative;
  padding: 12px 12px 12px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

.activity-rule-card li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0f766e;
}

@media (max-width: 1100px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-side {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  }
}

@media (max-width: 760px) {
  .activity-main-card {
    padding: 14px;
  }

  .activity-hero-upgraded {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .activity-hero-upgraded .activity-rewards {
    grid-template-columns: 1fr;
  }

  .invite-flow-summary {
    grid-template-columns: 1fr;
  }

  .activity-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .activity-side {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   提交检测页 辅助面板
   ================================================================ */
.side-faq-card {
  padding: 24px;
  background: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.side-faq-card h2 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.side-faq-card .faq-link,
.side-faq-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  padding: 10px 0;
  color: var(--muted);
  background: transparent;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  line-height: 1.5;
}

.side-faq-card .faq-link::before,
.side-faq-card a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  flex-shrink: 0;
  transition: background .15s;
}

.side-faq-card .faq-link:first-of-type,
.side-faq-card a:first-child {
  color: var(--text);
  font-weight: 600;
}

.side-faq-card .faq-link:first-of-type::before,
.side-faq-card a:first-child::before {
  background: var(--brand);
}

.side-faq-card .faq-link:last-child,
.side-faq-card a:last-child {
  border-bottom: 0;
}

.side-faq-card .faq-link:hover,
.side-faq-card a:hover {
  color: var(--brand);
  padding-left: 4px;
}
.side-faq-card .faq-link:hover::before,
.side-faq-card a:hover::before {
  background: var(--brand);
}

.side-aigc-card {
  padding: 18px 24px;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.side-aigc-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-aigc-card li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #78350f;
}

.side-aigc-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #f59e0b;
  transform: rotate(45deg);
}

.side-aigc-card em {
  color: #dc2626;
  font-style: normal;
  font-weight: 700;
}

/* ── 检测说明面板 ── */
.notice-panel {
  border-radius: var(--r-lg);
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #f59e0b;
}

.side-notice-panel {
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-xs);
}

.notice-panel h2 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.notice-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-panel li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.notice-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #f59e0b;
  transform: rotate(45deg);
}

.notice-panel strong { color: var(--text); font-weight: 700; }
.notice-panel em { color: var(--red); font-style: normal; font-weight: 700; }

.submit-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.submit-faq-panel {
  overflow: hidden;
}

.submit-bottom-faq {
  border-radius: 0;
  padding: 22px 24px;
}

.submit-bottom-faq h2 {
  margin-bottom: 14px;
}

.submit-bottom-faq #faqList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

/* ── AIGC 检测提示 ── */
.aigc-notice-panel {
  max-width: min(1200px, calc(100vw - 40px));
  margin: 24px auto 0;
  border-left-color: #7c3aed;
}
.aigc-notice-panel li::before {
  background: #7c3aed;
}

/* ── 提交页响应式 ── */
@media (max-width: 900px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .side-notice-panel {
    order: 2;
  }
  .submit-bottom-faq #faqList {
    grid-template-columns: 1fr;
  }
  .version-cards {
    grid-template-columns: 1fr;
  }
  .version-card {
    padding: 20px;
  }
  .submit-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .submit-bar > div:first-child {
    flex: auto;
  }
  .submit-bar .primary-btn {
    width: 100%;
    margin-top: 4px;
  }
  .info-popover,
  .explain-popover {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #view-submit {
    padding-top: 16px;
    padding-bottom: 32px;
  }
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .announcement-hot {
    font-size: 13px;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--r-md);
  }
  .detect-form {
    padding: 16px;
  }
  .version-card h3 {
    font-size: 15px;
  }
  .price-row strong {
    font-size: 18px;
  }
  .upload-zone {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .submit-bar strong {
    font-size: 16px;
  }
}

/* ================================================================
   账户/充值 Modal
   ================================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
}

.modal[aria-hidden="true"] { display: none; }

.modal-panel {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 0;
  width: 400px;
  max-width: calc(100vw - 40px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px 16px;
}

.amount-btn {
  height: 52px;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--panel-soft);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}

.amount-btn.active,
.amount-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.qr-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel-soft);
}

.qr-mock span {
  background: var(--line-strong);
  border-radius: 3px;
}

.modal-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 0 20px 20px;
}

/* ================================================================
   FAQ Modal
   ================================================================ */
.faq-modal {
  align-items: flex-start;
  padding: 60px 20px;
}

.faq-dialog {
  display: grid;
  grid-template-columns: 1fr 280px;
  width: min(860px, calc(100vw - 40px));
  max-height: 80vh;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.faq-article {
  padding: 32px 36px;
  overflow-y: auto;
}

.article-crumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.faq-article h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.article-date {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.article-body {
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
}

.article-disclaimer {
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--amber-soft);
  border-radius: var(--r-md);
  color: #92400e;
  font-size: 13px;
  line-height: 1.6;
}

.faq-related {
  background: var(--panel-soft);
  border-left: 1px solid var(--line);
  padding: 24px 20px;
  overflow-y: auto;
}

.faq-related .panel-head {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px;
  min-height: auto;
}

/*    ================================================================
   客服浮窗 · 精致版
   ================================================================ */
.service-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
}

/* ── Toggle 按钮 ── */
.service-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: auto;
  height: 52px;
  border: 0;
  border-radius: 28px;
  padding: 0 20px 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #a855f7 100%);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  writing-mode: horizontal-tb;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,.35), 0 0 0 4px rgba(37,99,235,.08);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  isolate: isolate;
}
.service-tab::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, #2563eb80, #a855f780);
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
}
.service-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,99,235,.45), 0 0 0 6px rgba(37,99,235,.12);
}
.service-tab:hover::before { opacity: 1; }

.service-tab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.service-tab-dot {
  position: absolute;
  top: 2px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.25);
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(52,211,153,.1); }
}

/* ── 客服面板 ── */
.service-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 340px;
  max-height: 520px;
  height: auto;
  margin-right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1);
}
.service-panel.hidden {
  opacity: 0;
  transform: translateY(16px) scale(.96);
  pointer-events: none;
}

/* ── 头部 ── */
.service-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  padding: 16px 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
  color: #fff;
}
.service-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.2);
}
.service-avatar svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,.85);
}
.service-panel header strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
/* 覆盖 styles.css 旧样式 */
.service-panel header > div > span,
.service-panel header > span {
  margin-top: 0;
  font-size: 12px;
}
.service-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.service-status em {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52,211,153,.6);
  flex-shrink: 0;
}
.service-status span {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}
.service-actions {
  display: flex;
  gap: 4px;
}
.service-actions button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s;
}
.service-actions button svg {
  width: 16px;
  height: 16px;
}
.service-actions button:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ── 聊天历史区 ── */
.service-history {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  max-height: 280px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}
#loadHistory {
  display: block;
  width: 100%;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  color: #64748b;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all .2s;
  flex-shrink: 0;
}
#loadHistory:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* ── 消息气泡 ── */
.service-messages {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
}
.service-empty {
  margin: 24px 8px;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}

/* 共用消息样式 */
.service-message {
  max-width: 82%;
  display: grid;
  gap: 4px;
  animation: msgSlideIn .3s ease-out;
}
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-message span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-message time {
  color: #cbd5e1;
  font-size: 11px;
  padding: 0 4px;
}
.service-message p {
  margin: 0;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.6;
  position: relative;
}

/* 客服消息（左侧） */
.service-message.service {
  justify-self: start;
}
.service-message.service span,
.service-message.service time {
  text-align: left;
}
.service-message.service p {
  color: #1e293b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}

/* 用户消息（右侧） */
.service-message.user {
  justify-self: end;
}
.service-message.user span,
.service-message.user time {
  text-align: right;
}
.service-message.user p {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}

/* ── 快捷回复 ── */
.quick-replies {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  background: #fafbfc;
}
.quick-replies button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 14px;
  background: #fff;
  color: #475569;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.quick-replies button:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(37,99,235,.1);
  transform: translateY(-1px);
}
.quick-replies button:active {
  transform: translateY(0);
}

/* ── 输入区 ── */
.service-panel footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
}
#serviceInput {
  flex: 1;
  height: 40px;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 0 16px;
  font-size: 13.5px;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: all .25s;
}
#serviceInput::placeholder { color: #94a3b8; }
#serviceInput:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
#serviceSend {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(37,99,235,.3);
}
#serviceSend svg {
  width: 18px;
  height: 18px;
  margin-left: 1px;
}
#serviceSend:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 20px rgba(37,99,235,.45);
}
#serviceSend:active {
  transform: scale(.95);
}

#serviceSend {
  height: 36px;
  width: auto !important;
  border: 0 !important;
  border-radius: var(--r-md) !important;
  padding: 0 14px !important;
  background: var(--brand) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

/* ================================================================
   Toast 提示
   ================================================================ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 12px 22px;
  background: #0e1726;
  color: #e2e8f0;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
}

.toast.visible { opacity: 1; }

/* ================================================================
   空状态 / 通用工具类
   ================================================================ */
.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  color: var(--muted);
  text-align: center;
  background: var(--panel-soft);
}

.action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hidden { display: none !important; }

.account-entry-btn {
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 999px;
  background: #fff;
  color: #0f1829;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s, color .15s, transform .15s;
}

.account-entry-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

/* ================================================================
   账户页
   ================================================================ */
#view-account {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(20px, 3vw, 48px);
}

.account-hero-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(96,165,250,.18);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(52,211,153,.14), transparent 30%),
    linear-gradient(135deg, #0a1628, #0d1d35 58%, #091426);
  color: #eaf3ff;
  box-shadow: var(--shadow);
}

.account-hero-panel h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.account-hero-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(203,213,225,.84);
}

.account-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.account-hero-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) 1.1fr;
  gap: 20px;
  align-items: start;
}

.auth-panel,
.profile-panel {
  min-height: 100%;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 20px 16px;
}

.auth-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0 12px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

.auth-logged-state {
  margin: 0 20px 20px;
  padding: 18px;
  border: 1px solid #bfdbfe;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
}

.auth-logged-state strong,
.auth-logged-state span {
  display: block;
}

.auth-logged-state strong {
  color: var(--brand);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-logged-state span {
  margin-top: 6px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.auth-logged-state p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-code-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 10px;
  align-items: end;
}

.auth-code-row .secondary-btn {
  height: 44px;
  white-space: nowrap;
}

.wechat-login-box {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}

.wechat-login-btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, #16a34a, #059669);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(5,150,105,.20);
}

.wechat-login-box p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 20px 18px;
  padding: 18px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #0a1628, #0d1d35);
  color: #fff;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), #34d399);
  font-size: 24px;
  font-weight: 900;
}

.profile-card strong,
.profile-card span,
.profile-card em {
  display: block;
}

.profile-card strong {
  font-size: 20px;
  font-weight: 900;
}

.profile-card span {
  margin-top: 4px;
  color: rgba(226,232,240,.82);
}

.profile-card em {
  margin-top: 8px;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(52,211,153,.13);
  color: #86efac;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.wallet-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px;
}

.wallet-board > div {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}

.wallet-board span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.wallet-board strong {
  font-size: 24px;
  font-weight: 800;
}

.profile-actions {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
}

.profile-actions button {
  flex: 1;
}

.account-detail-grid {
  margin-top: 20px;
  grid-template-columns: 1fr 1fr;
}

.account-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px;
}

.account-usage-grid > div {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #fff, var(--panel-soft));
}

.account-usage-grid span,
.account-usage-grid p {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.account-usage-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.account-order-table #accountOrderRows {
  display: contents;
}

.account-order-table .table-row span:last-child {
  font-weight: 800;
  color: var(--green-dark);
}

/* ================================================================
   响应式适配
   ================================================================ */
@media (max-width: 1200px) {
  .home-service-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-service-split {
    grid-template-columns: 1fr;
  }

  .home-extra-floor {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 24px 80px;
  }

  .hero-account {
    display: none;
  }

  .home-upgrade-grid,
  .home-tool-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-demo-band {
    grid-template-columns: 1fr;
  }

  .home-terminal-band {
    grid-template-columns: 1fr;
  }

  .summary-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-grid,
  .paper-tool-grid,
  .service-choice-grid {
    grid-template-columns: 1fr;
  }

  .version-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-list { display: none; }

  .summary-row {
    grid-template-columns: 1fr;
  }

  .home-service-board,
  .home-upgrade-grid,
  .home-tool-grid,
  .knowledge-grid,
  .home-extra-floor {
    grid-template-columns: 1fr;
  }

  .score-board {
    grid-template-columns: 1fr;
  }

  .segments {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   布局4 — 全宽沉浸式滚动 (Immersive Scroll Layout)
   深色/浅色交替 · Z字型功能展示 · 全宽分段
   ============================================================ */

/* ── 背景辅助类 ── */
.hw-section.bg-white { background: #ffffff; }
.hw-section.bg-soft  { background: #f1f5f9; }

/* ── 通用 Section 容器 ── */
.hw-section {
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
}
.hw-section:not(.hw-hero):not(.hw-cta):not(.hw-footer) {
  padding: 80px 24px;
}

/* ── Section 标题头 ── */
.hw-section-hd {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.hw-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand);
  text-transform: uppercase;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: var(--r-full);
  background: var(--brand-soft);
}
.hw-section-hd h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.hw-section-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── 通用按钮 ── */
.hw-btn-primary,
.hw-btn-outline,
.hw-btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.hw-btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 14px var(--brand-glow);
}
.hw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-glow);
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deeper) 100%);
}
.hw-btn-outline {
  background: transparent;
  color: var(--brand);
  padding: 12px 28px;
  border-radius: var(--r-sm);
  border: 2px solid var(--brand);
}
.hw-btn-outline:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}
.hw-btn-outline-light {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  border: 2px solid rgba(255,255,255,.35);
}
.hw-btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
}
.hw-btn-lg {
  font-size: 17px;
  padding: 15px 36px;
}

/* ============================================================
   Section 1: 全宽深色 Hero
   ============================================================ */
.hw-hero {
  position: relative;
  min-height: 620px;
  padding: 80px 24px 100px;
  overflow: hidden;
  background: #0a1628;
  display: flex;
  align-items: center;
}
.hw-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(26,86,219,.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(5,150,105,.15) 0%, transparent 60%),
    linear-gradient(180deg, #0a1628 0%, #0d1d35 50%, #0a1628 100%);
}
.hw-hero-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .6;
}
.hw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero 左侧文案 */
.hw-hero-copy { max-width: 540px; }
.hw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin-bottom: 24px;
}
.hw-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16,185,129,.5);
  animation: hwPulse 2s infinite;
}
@keyframes hwPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.hw-hero-copy h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -1px;
}
.hw-hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hw-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin: 0 0 32px;
}
.hw-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hw-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hw-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hw-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hw-stat-num span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}
.hw-hero-stat > span:last-child {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* Hero 右侧视觉 */
.hw-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hw-hero-ring-wrap {
  position: relative;
  display: flex;
  gap: 24px;
}
.hw-hero-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--brand) 0% 21%, rgba(255,255,255,.08) 21% 100%);
  position: relative;
}
.hw-hero-ring::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #0d1d35;
}
.hw-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hw-ring-inner strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.hw-ring-inner span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.hw-ring-accent {
  background: conic-gradient(#ef4444 0% 36%, rgba(255,255,255,.08) 36% 100%);
}
.hw-hero-service-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hw-hero-service-chips span {
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  transition: all .2s ease;
}
.hw-hero-service-chips span:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   Section 2: 三步流程
   ============================================================ */
.hw-steps { background: #fff; }
.hw-steps-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hw-step-card {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.hw-step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  opacity: .2;
  margin-bottom: 8px;
}
.hw-step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hw-step-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--brand);
  opacity: .25;
}
.hw-step-upload::before {
  content: '📤';
  font-size: 28px;
}
.hw-step-detect::before {
  content: '🔍';
  font-size: 28px;
}
.hw-step-report::before {
  content: '📊';
  font-size: 28px;
}
.hw-step-card strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.hw-step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.hw-step-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--line-strong);
  padding: 0 8px;
}
.hw-steps-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   Section 3 & 4: Z字型功能展示
   ============================================================ */
.hw-z-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hw-z-row-reverse {
  direction: rtl;
}
.hw-z-row-reverse > * { direction: ltr; }
.hw-z-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.hw-z-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
}
.hw-z-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.hw-z-features li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.hw-z-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-z-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Z型服务卡片矩阵 */
.hw-z-cards-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hw-svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 20px;
  cursor: pointer;
  transition: all .3s ease;
  text-align: left;
  border-top: 3px solid var(--brand);
  position: relative;
}
.hw-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.hw-svc-card.hw-svc-rewrite  { border-top-color: var(--green); }
.hw-svc-card.hw-svc-aigc     { border-top-color: var(--coral); }
.hw-svc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hw-svc-check::before { content: '🔍'; }
.hw-svc-check  { background: var(--brand-soft); }
.hw-svc-ai::before { content: '🤖'; }
.hw-svc-ai     { background: var(--brand-soft); }
.hw-svc-write::before { content: '✍️'; }
.hw-svc-write  { background: var(--green-soft); }
.hw-svc-bolt::before { content: '⚡'; }
.hw-svc-bolt   { background: var(--coral-soft); }
.hw-svc-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.hw-svc-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}
.hw-svc-card span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--brand-soft);
}
.hw-svc-card.hw-svc-rewrite span { color: var(--green); background: var(--green-soft); }
.hw-svc-card.hw-svc-aigc span    { color: var(--coral); background: var(--coral-soft); }

/* Z型报告演示 mock */
.hw-z-visual {
  display: flex;
  justify-content: center;
}
.hw-report-mock {
  width: 100%;
  max-width: 400px;
  background: #0f1829;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hw-rm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hw-rm-head span {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.hw-rm-head strong {
  font-size: 28px;
  font-weight: 800;
  color: #34d399;
}
.hw-rm-head em {
  font-size: 13px;
  color: #f87171;
  font-style: normal;
}
.hw-rm-rings {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.hw-rm-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  position: relative;
}
.hw-rm-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #0f1829;
}
.hw-rm-ring { z-index: 1; }
.hw-rm-green { background: conic-gradient(#34d399 0% 21%, rgba(255,255,255,.08) 21% 100%); }
.hw-rm-red   { background: conic-gradient(#f87171 0% 36%, rgba(255,255,255,.08) 36% 100%); }
.hw-rm-ring::after {
  content: attr(class);
  display: none;
}
.hw-rm-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hw-rm-bars span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
}
.hw-rm-bars span:nth-child(1) { width: 90%; background: rgba(52,211,153,.3); }
.hw-rm-bars span:nth-child(2) { width: 65%; background: rgba(248,113,113,.3); }
.hw-rm-bars span:nth-child(3) { width: 80%; background: rgba(255,255,255,.1); }
.hw-rm-bars span:nth-child(4) { width: 45%; background: rgba(255,255,255,.06); }
.hw-rm-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hw-rm-tabs b {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
}

/* ============================================================
   Section 5: AI 工具矩阵
   ============================================================ */
.hw-tools { background: #fff; }
.hw-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.hw-tools-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 24px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .3s ease;
  text-align: left;
  font-family: inherit;
}
.hw-tools-grid button:hover {
  background: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.hw-tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all .3s ease;
}
.hw-tools-grid button:hover .hw-tool-icon {
  background: var(--brand);
  transform: scale(1.05);
}
.hw-ti-rewrite::before { content: '✍️'; }
.hw-ti-aigc::before    { content: '⚡'; }
.hw-ti-format::before  { content: '📐'; }
.hw-ti-ppt::before     { content: '📽️'; }
.hw-ti-gen::before     { content: '🤖'; }
.hw-ti-pdf::before     { content: '📄'; }
.hw-tools-grid button b {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.hw-tools-grid button > span:last-child {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   Section 6: 深色 CTA 横幅
   ============================================================ */
.hw-cta {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
  background: #0a1628;
}
.hw-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(26,86,219,.2) 0%, transparent 70%);
}
.hw-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.hw-cta-inner h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.hw-cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin: 0 0 32px;
  line-height: 1.6;
}
.hw-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Section 7: 页脚
   ============================================================ */
.hw-footer {
  background: #0d1d35;
  padding: 64px 24px 32px;
  color: rgba(255,255,255,.7);
}
.hw-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hw-footer-brand strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.hw-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin: 0 0 8px;
}
.hw-footer-brand small {
  font-size: 13px;
  color: rgba(255,255,255,.3);
}
.hw-footer-col strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.hw-footer-col button {
  display: block;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  padding: 5px 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color .2s ease;
}
.hw-footer-col button:hover {
  color: #fff;
}
.hw-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   响应式 — 平板
   ============================================================ */
@media (max-width: 900px) {
  .hw-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hw-hero-copy h1 { font-size: 36px; }
  .hw-hero-visual { order: -1; }
  .hw-hero-ring-wrap { gap: 16px; }
  .hw-hero-ring { width: 120px; height: 120px; }
  .hw-ring-inner strong { font-size: 24px; }

  .hw-z-row,
  .hw-z-row-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hw-z-row-reverse { direction: ltr; }

  .hw-z-cards-4 { grid-template-columns: 1fr 1fr; }

  .hw-tools-grid { grid-template-columns: 1fr 1fr; }

  .hw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hw-section:not(.hw-hero):not(.hw-cta):not(.hw-footer) {
    padding: 56px 20px;
  }
}

/* ============================================================
   响应式 — 手机
   ============================================================ */
@media (max-width: 600px) {
  .hw-hero { padding: 48px 16px 60px; min-height: auto; }
  .hw-hero-copy h1 { font-size: 28px; }
  .hw-hero-sub { font-size: 15px; }
  .hw-hero-actions { flex-direction: column; }
  .hw-hero-actions button { width: 100%; }
  .hw-hero-stats { gap: 24px; }
  .hw-stat-num { font-size: 28px; }
  .hw-hero-ring { width: 100px; height: 100px; }
  .hw-ring-inner strong { font-size: 20px; }

  .hw-section-hd h2 { font-size: 24px; }
  .hw-section-sub { font-size: 14px; }

  .hw-steps-row { flex-direction: column; gap: 16px; }
  .hw-step-arrow { transform: rotate(90deg); padding: 4px 0; }

  .hw-z-cards-4 { grid-template-columns: 1fr; }
  .hw-z-text h2 { font-size: 24px; }

  .hw-tools-grid { grid-template-columns: 1fr; }

  .hw-cta { padding: 56px 16px; }
  .hw-cta-inner h2 { font-size: 26px; }
  .hw-cta-btns { flex-direction: column; }
  .hw-cta-btns button { width: 100%; }

  .hw-footer { padding: 40px 16px 24px; }
  .hw-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hw-footer-bottom { flex-direction: column; text-align: center; }

  .hw-section:not(.hw-hero):not(.hw-cta):not(.hw-footer) {
    padding: 40px 16px;
  }
}

/* ============================================================
   Codex polish — 修复 WorkBuddy 窄屏首页顺序和首屏占比
   保留新视觉结构，只把首屏信息层级重新收紧。
   ============================================================ */
@media (max-width: 900px) {
  .sidebar {
    min-height: 60px;
    height: 60px;
    padding: 0 16px;
    gap: 12px;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .brand strong {
    font-size: 16px;
  }

  .nav-list {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 0 8px;
  }

  .nav-item {
    height: 60px;
    min-height: 60px;
    padding: 0 11px;
    font-size: 13px;
  }

  .main {
    padding-top: 0;
  }

  .topbar {
    display: none;
  }

  .hw-hero {
    min-height: auto;
    padding: 42px 18px 46px;
    align-items: flex-start;
  }

  .hw-hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hw-hero-copy {
    max-width: none;
    order: 0;
  }

  .hw-hero-visual {
    order: 1;
    width: 100%;
    gap: 18px;
  }

  .hw-hero-badge {
    margin-bottom: 16px;
  }

  .hw-hero-copy h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .hw-hero-sub {
    max-width: 520px;
    margin-bottom: 22px;
  }

  .hw-hero-actions {
    margin-bottom: 26px;
  }

  .hw-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hw-hero-stat {
    min-height: 74px;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 10px;
    background: rgba(255,255,255,.055);
  }

  .hw-hero-ring-wrap {
    width: 100%;
    justify-content: center;
  }

  .hw-hero-service-chips {
    width: 100%;
  }

  .hw-section:not(.hw-hero):not(.hw-cta):not(.hw-footer) {
    padding: 56px 20px;
  }
}

@media (max-width: 600px) {
  .sidebar {
    padding: 0 12px;
  }

  .brand div:last-child {
    display: none;
  }

  .nav-item {
    padding: 0 10px;
  }

  .nav-item .nav-icon {
    display: none;
  }

  .hw-hero {
    padding: 28px 16px 34px;
  }

  .hw-hero-inner {
    gap: 22px;
  }

  .hw-hero-copy h1 {
    font-size: 30px;
  }

  .hw-hero-sub {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .hw-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hw-hero-actions button {
    width: 100%;
    min-height: 50px;
  }

  .hw-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hw-hero-stat {
    min-height: 68px;
    padding: 8px 6px;
  }

  .hw-stat-num {
    font-size: 24px;
  }

  .hw-hero-stat > span:last-child {
    font-size: 11px;
  }

  .hw-hero-ring {
    width: 92px;
    height: 92px;
  }

  .hw-hero-ring::before {
    inset: 10px;
  }

  .hw-ring-inner strong {
    font-size: 20px;
  }

  .hw-hero-service-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hw-hero-service-chips span {
    min-height: 40px;
    padding: 8px 6px;
    text-align: center;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hw-section-hd {
    margin-bottom: 28px;
  }
}

@media (max-width: 760px) {
  #view-account {
    padding: 20px 14px 32px;
  }

  .account-hero-panel {
    display: grid;
    padding: 22px;
    align-items: start;
  }

  .account-hero-panel h2 {
    font-size: 26px;
  }

  .account-hero-tags {
    justify-content: flex-start;
  }

  .account-grid,
  .account-detail-grid,
  .wallet-board,
  .account-usage-grid,
  .auth-tabs,
  .auth-code-row {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    flex-direction: column;
  }
}

/* ============================================================
   Codex theme polish — 首页后续板块统一到首屏深蓝主色调
   ============================================================ */


/* Combined rewrite/AIGC page fixes */
.reduce-service-section {
  margin: 24px 0;
}
.combo-tool-panel {
  display: none;
}
.combo-tool-panel.active {
  display: block;
}
.manual-combo-panel {
  max-width: 860px;
}
.manual-service-copy {
  display: grid;
  gap: 18px;
  padding: 22px;
  color: var(--muted);
  line-height: 1.8;
}
.manual-service-copy p {
  margin: 0;
}
.service-tags .danger-dot {
  color: #ef4444;
  background: #fee2e2;
}
#view-reports .summary-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  #view-reports .summary-row {
    grid-template-columns: 1fr;
  }
}
