/* ============================================================
   觅我 MBTI · 共享样式系统
   视觉基调：indigo 紫蓝渐变（仿原站）+ 原创组件细节
   ============================================================ */
:root {
  --primary: #6366f1;
  --primary-2: #667eea;
  --primary-3: #764ba2;
  --grad-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 100%);
  --ink: #1e293b;
  --ink-2: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --gold: #fbbf24;
  --gold-2: #fcd34d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
  --shadow-hover: 0 18px 40px rgba(102, 126, 234, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad-main);
  display: grid; place-items: center; color: #fff; font-size: 17px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.logo span b { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta {
  padding: 8px 20px; border-radius: 999px; background: var(--grad-main); color: #fff !important;
  font-weight: 600; font-size: 14px; box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(102, 126, 234, 0.45); }

/* 移动端导航 */
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 4px; background: #fff; padding: 14px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(30,41,59,0.1);
    display: none; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-main);
  color: #fff; text-align: center;
  padding: 84px 20px 110px;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08);
}
.hero::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.hero::after { width: 320px; height: 320px; bottom: -140px; left: -100px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 18px; border-radius: 999px; font-size: 13px; letter-spacing: 0.5px;
  backdrop-filter: blur(4px); margin-bottom: 26px;
}
.hero h1 { font-size: 46px; font-weight: 800; letter-spacing: 1px; line-height: 1.3; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p { font-size: 17px; color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 999px; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-lg { padding: 16px 44px; font-size: 17px; }
.btn-white { background: #fff; color: var(--primary-3); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.btn-white:hover { transform: translateY(-3px); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.24); }
.btn-grad { background: var(--grad-main); color: #fff; box-shadow: 0 10px 26px rgba(102, 126, 234, 0.4); }
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(102, 126, 234, 0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--grad-soft); }

/* ---------- 统计条 ---------- */
.stats { margin-top: -56px; position: relative; z-index: 5; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: #fff; border-radius: 18px; padding: 30px 20px;
  box-shadow: 0 20px 50px rgba(30, 41, 59, 0.12);
}
.stat-item { text-align: center; }
.stat-item b { display: block; font-size: 30px; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.stat-item span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-size: 32px; } }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary); background: var(--grad-soft); padding: 6px 16px; border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ---------- 卖点卡片 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--grad-main);
  display: grid; place-items: center; color: #fff; font-size: 24px; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  background: var(--grad-main); border-radius: 20px; padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: #fff; box-shadow: 0 22px 50px rgba(102, 126, 234, 0.35);
  position: relative; overflow: hidden;
}
.cta-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.cta-banner h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cta-banner p { color: rgba(255, 255, 255, 0.88); }

/* ---------- 16型人格网格 ---------- */
.type-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.type-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.25s, box-shadow 0.25s;
  display: block; position: relative;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.type-code {
  display: inline-block; font-size: 21px; font-weight: 800; letter-spacing: 2px;
  color: #fff; padding: 6px 14px; border-radius: 10px; margin-bottom: 12px;
}
.type-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.type-card p { font-size: 13.5px; color: var(--muted); }
.type-more { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 12px; display: inline-block; }
@media (max-width: 960px) { .type-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .type-cards { grid-template-columns: 1fr; } }

/* 人格分类标题 */
.cat-title { display: flex; align-items: center; gap: 12px; margin: 46px 0 20px; }
.cat-title:first-of-type { margin-top: 0; }
.cat-title .dot { width: 10px; height: 10px; border-radius: 50%; }
.cat-title h3 { font-size: 20px; font-weight: 800; }
.cat-title span { font-size: 13.5px; color: var(--muted); }

/* ---------- 视频/知识卡片 ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.media-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.media-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--grad-soft); display: grid; place-items: center; overflow: hidden; }
.media-thumb .em { font-size: 44px; }
.media-thumb .dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.65); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.media-play {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: grid; place-items: center; color: var(--primary-3); font-size: 17px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18); transition: transform 0.2s;
}
.media-card:hover .media-play { transform: scale(1.12); }
.media-info { padding: 16px 18px 18px; }
.media-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.media-info p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media-meta { font-size: 12px; color: #94a3b8; margin-top: 10px; display: flex; gap: 14px; }
@media (max-width: 960px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- 文章卡片 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.article-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.article-body h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.article-body p { font-size: 13px; color: var(--muted); flex: 1; }
.article-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: #94a3b8; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-main); color: #fff; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.tag-pill { font-size: 11.5px; padding: 2px 10px; border-radius: 999px; background: var(--grad-soft); color: var(--primary); font-weight: 600; }
@media (max-width: 960px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- 原创：热度榜 ---------- */
.rank-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.rank-item { display: grid; grid-template-columns: 58px 64px 1fr 44px; align-items: center; gap: 12px; margin-bottom: 13px; }
.rank-no { font-weight: 800; font-size: 17px; color: var(--muted); }
.rank-item:first-child .rank-no { color: var(--gold); font-size: 20px; }
.rank-code { font-weight: 800; letter-spacing: 1px; font-size: 14px; }
.rank-bar { height: 12px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad-main); }
.rank-pct { font-size: 13px; color: var(--muted); font-weight: 600; text-align: right; }
.rank-tip { background: var(--grad-soft); border: 1px solid #ddd6fe; border-radius: var(--radius); padding: 24px; }
.rank-tip h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.rank-tip p { font-size: 13.5px; color: var(--ink-2); }
.rank-tip p b { color: var(--primary-3); }
@media (max-width: 900px) { .rank-wrap { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.site-footer { background: #0f172a; color: #94a3b8; padding: 56px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 13.5px; padding: 4px 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { font-size: 13.5px; margin-top: 12px; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; text-align: center; font-size: 12.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 测试页 ---------- */
.test-wrap { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.test-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 40px 44px; }
.test-progress-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.test-progress-info b { color: var(--primary); font-size: 15px; }
.test-bar { height: 8px; background: #eef2f7; border-radius: 999px; overflow: hidden; margin-bottom: 34px; }
.test-bar i { display: block; height: 100%; background: var(--grad-main); border-radius: 999px; transition: width 0.35s ease; }
.test-question h2 { font-size: 21px; font-weight: 700; line-height: 1.6; margin-bottom: 30px; min-height: 66px; }
.test-options { display: grid; gap: 12px; }
.test-option {
  display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 12px;
  border: 1.5px solid var(--line); cursor: pointer; font-size: 15px; transition: all 0.2s; background: #fff;
}
.test-option:hover { border-color: var(--primary); background: var(--grad-soft); }
.test-option .opt-no {
  width: 26px; height: 26px; border-radius: 50%; background: #eef2f7; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; color: var(--muted); flex-shrink: 0; transition: all 0.2s;
}
.test-option.sel { border-color: var(--primary); background: var(--grad-soft); }
.test-option.sel .opt-no { background: var(--grad-main); color: #fff; }
.test-option.dim { opacity: 0.45; pointer-events: none; }
.test-nav { display: flex; justify-content: space-between; margin-top: 34px; }
.test-nav button {
  padding: 11px 30px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.btn-prev { background: #f1f5f9; color: var(--ink-2); }
.btn-prev:hover { background: #e2e8f0; }
.btn-next { background: var(--grad-main); color: #fff; box-shadow: 0 8px 18px rgba(102, 126, 234, 0.35); }
.btn-next:hover { transform: translateY(-2px); }
.btn-next:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.test-dim-label { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* 测试入口卡（首页） */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; transition: all 0.25s; }
.entry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.entry-num { font-size: 34px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entry-card h4 { font-size: 16px; font-weight: 700; margin: 6px 0 4px; }
.entry-card p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.entry-tag { display: inline-block; font-size: 12px; background: var(--grad-soft); color: var(--primary); padding: 3px 12px; border-radius: 999px; font-weight: 600; }
.entry-foot { font-size: 12.5px; color: #94a3b8; margin-top: 14px; }
@media (max-width: 860px) { .entry-grid { grid-template-columns: 1fr; } }

/* ---------- 结果页 ---------- */
.result-wrap { max-width: 900px; margin: 0 auto; padding: 56px 20px 90px; }
.result-hero { background: var(--grad-main); border-radius: 22px; color: #fff; text-align: center; padding: 52px 30px; box-shadow: 0 24px 54px rgba(102, 126, 234, 0.38); }
.result-hero .tag { font-size: 13px; letter-spacing: 3px; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.result-code { font-size: 74px; font-weight: 900; letter-spacing: 8px; line-height: 1.1; text-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.result-name { font-size: 24px; font-weight: 800; margin: 10px 0 8px; }
.result-desc { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto; font-size: 15px; }
.result-dim-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.dim-chip { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 5px 14px; font-size: 13px; }
.dim-chip b { color: var(--gold-2); }

.result-panel { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 36px 40px; margin-top: 26px; }
.result-panel h3 { font-size: 19px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.result-panel h3::before { content: ""; width: 6px; height: 20px; border-radius: 3px; background: var(--grad-main); }

/* 维度条 */
.dim-bars { display: grid; gap: 18px; }
.dim-bar-item { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 14px; }
.dim-bar-item .l { text-align: right; font-weight: 800; font-size: 15px; }
.dim-bar-item .r { font-weight: 800; font-size: 15px; color: var(--primary-3); }
.dim-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, #c7d2fe, #ede9fe); position: relative; }
.dim-track i { position: absolute; top: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-main); box-shadow: 0 4px 10px rgba(102,126,234,0.5); transform: translateX(-50%); transition: left 0.8s ease; }
.dim-pct { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 6px; }

/* 雷达图容器 */
.radar-wrap { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.radar-svg { width: 300px; height: 300px; flex-shrink: 0; margin: 0 auto; }
.radar-legend { flex: 1; min-width: 220px; display: grid; gap: 10px; }
.radar-legend .li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.radar-legend .sw { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.radar-legend .li b { margin-left: auto; color: var(--ink); }

/* 报告分区 */
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.report-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fcfdff; }
.report-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.report-card ul { display: grid; gap: 8px; }
.report-card li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.report-card li::before { content: "◆"; position: absolute; left: 0; top: 1px; font-size: 9px; color: var(--primary); }
.report-card.warn li::before { color: #f59e0b; }
@media (max-width: 760px) { .report-grid { grid-template-columns: 1fr; } }

/* 匹配度 */
.match-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.match-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; }
.match-card .mc-code { font-weight: 800; letter-spacing: 1px; color: var(--primary-3); }
.match-card .mc-pct { font-size: 26px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 4px 0 2px; }
.match-card .mc-tag { font-size: 12.5px; color: var(--muted); }
.match-card.hot { border-color: var(--primary); background: var(--grad-soft); }
@media (max-width: 760px) { .match-cards { grid-template-columns: 1fr; } }

/* 分享卡片 */
.share-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.share-head { background: var(--grad-main); color: #fff; text-align: center; padding: 28px 20px; }
.share-head .sc-code { font-size: 52px; font-weight: 900; letter-spacing: 6px; }
.share-head p { font-size: 14px; color: rgba(255,255,255,0.9); }
.share-body { padding: 22px; display: grid; gap: 12px; }
.share-body .row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.share-body .row:last-child { border: none; }
.share-body .row b { color: var(--primary-3); }
.result-actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- 人格详情页 ---------- */
.detail-wrap { max-width: 860px; margin: 0 auto; padding: 50px 20px 90px; }
.detail-hero { background: var(--grad-main); border-radius: 22px; color: #fff; padding: 44px 40px; display: flex; gap: 30px; align-items: center; flex-wrap: wrap; box-shadow: 0 22px 50px rgba(102,126,234,0.35); }
.detail-hero .big { font-size: 74px; font-weight: 900; letter-spacing: 6px; line-height: 1; }
.detail-hero h1 { font-size: 26px; font-weight: 800; margin: 8px 0 4px; }
.detail-hero p { color: rgba(255,255,255,0.9); font-size: 14.5px; max-width: 520px; }
.detail-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 34px 38px; margin-top: 26px; }
.detail-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.detail-card h2::before { content: ""; width: 6px; height: 20px; border-radius: 3px; background: var(--grad-main); }
.detail-card p, .detail-card li { font-size: 14.5px; color: var(--ink-2); }
.detail-card ul { display: grid; gap: 10px; margin-top: 6px; }
.detail-card ul li { padding-left: 20px; position: relative; }
.detail-card ul li::before { content: "◆"; position: absolute; left: 0; font-size: 10px; color: var(--primary); }
.letters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.letter-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; background: #fcfdff; }
.letter-box b { font-size: 30px; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.letter-box h5 { font-size: 14.5px; font-weight: 700; margin: 4px 0 2px; }
.letter-box p { font-size: 12.5px; color: var(--muted); }
.celeb-list { display: flex; gap: 14px; flex-wrap: wrap; }
.celeb { background: var(--grad-soft); border: 1px solid #ddd6fe; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--primary-3); }
.detail-cta { text-align: center; margin-top: 34px; }
.dual-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .dual-col, .letters-grid { grid-template-columns: 1fr 1fr; } .detail-hero .big { font-size: 56px; } }

/* ---------- 其它 ---------- */
.page-hero-sm { background: var(--grad-main); color: #fff; text-align: center; padding: 56px 20px; }
.page-hero-sm h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-hero-sm p { color: rgba(255,255,255,0.88); font-size: 15px; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; padding: 12px 26px; border-radius: 999px; font-size: 14px;
  opacity: 0; transition: all 0.35s ease; z-index: 200; box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
