/* 详情页专用样式（配合 main.css） */
.crumb { font-size: 12.5px; color: var(--ink2); margin-top: 26px; }
.crumb a { color: var(--ink2); }
.crumb a:hover { color: var(--accent); }

.d-hero { display: flex; gap: 26px; align-items: flex-start; margin-top: 20px; }
.d-icon { width: 96px; height: 96px; border-radius: 22px; flex: none; box-shadow: var(--shadow); }
.mono-hero {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #5e5ce6, #0071e3);
  color: #fff; font-size: 40px; font-weight: 750;
}
.d-hero h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.d-artist { margin-top: 6px; font-size: 13.5px; color: var(--ink2); }
.d-desc { margin-top: 10px; font-size: 16px; max-width: 40em; }
.d-cta { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.d-updated { font-size: 12px; color: var(--ink2); }

.d-body { margin-top: clamp(30px, 5vw, 48px); max-width: 760px; }
.d-body h2 {
  font-size: 21px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.d-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.d-body h3 { font-size: 16.5px; font-weight: 650; margin: 22px 0 8px; }
.d-body p { margin: 10px 0; font-size: 15.5px; line-height: 1.75; }
.d-body ul { margin: 10px 0 14px 22px; }
.d-body li { margin: 7px 0; font-size: 15px; line-height: 1.65; }
.d-body strong { font-weight: 650; }

.d-related { margin-top: clamp(40px, 6vw, 60px); max-width: 760px; }
@media (max-width: 640px) {
  .d-hero { flex-direction: column; }
  .d-icon { width: 76px; height: 76px; }
}

/* 长文目录（site.js 注入；≥1180px 才显示，挂在正文右侧空白处） */
.toc { position: sticky; top: 76px; float: right; width: 220px; margin: 0 -250px 20px 0; font-size: 12.5px; line-height: 1.4; }
.toc-t { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; }
.toc a { display: block; padding: 5px 0 5px 10px; color: var(--ink2); border-left: 2px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 1179px) { .toc { display: none; } }
.d-body { scroll-margin-top: 70px; }
.d-body h2 { scroll-margin-top: 70px; }

/* 「X vs Y」对比页 */
.vs-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 26px; padding: 24px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.vs-face { display: flex; align-items: center; gap: 16px; min-width: 0; }
.vs-face.right { flex-direction: row-reverse; text-align: right; }
.vs-face img, .vs-face .mono { width: 72px; height: 72px; border-radius: 18px; flex: none; box-shadow: var(--shadow); font-size: 28px; }
.vs-face b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.vs-face span { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 3px; }
.vs-badge { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; flex: none; }
.vs-h1 { margin-top: 28px; font-size: clamp(26px, 4vw, 40px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.vs-q { margin-top: 14px; font-size: clamp(16px, 2.2vw, 20px); font-weight: 650; line-height: 1.5; letter-spacing: -0.005em; max-width: 42em; }
.vs-facts { margin-top: 26px; width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.vs-facts th, .vs-facts td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.vs-facts tr:last-child td { border-bottom: none; }
.vs-facts th { font-size: 14px; font-weight: 700; background: color-mix(in srgb, var(--line) 35%, transparent); }
.vs-facts th:first-child, .vs-facts td:first-child { width: 96px; color: var(--ink2); font-weight: 500; font-size: 13px; white-space: nowrap; }
.vs-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.vs-col { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.vs-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.vs-col ul { list-style: none; margin: 0; padding: 0; }
.vs-col li { position: relative; padding-left: 28px; margin: 8px 0; font-size: 14.5px; line-height: 1.6; }
.vs-col li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #30d158; font-weight: 800; }
.vs-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.vs-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.vs-card h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.vs-card h4 .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; flex: none; }
.vs-card.bad h4 .dot { background: #ff9f0a; }
.vs-card ul { margin: 0; padding-left: 18px; }
.vs-card li { font-size: 13.5px; line-height: 1.55; margin: 6px 0; }
.vs-card li strong { font-weight: 650; }
.vs-body { margin-top: 40px; }
.vs-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.vs-updated { margin-top: 14px; font-size: 12px; color: var(--ink2); }
@media (max-width: 960px) { .vs-grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .vs-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px; }
  .vs-face, .vs-face.right { flex-direction: column; text-align: center; gap: 10px; }
  .vs-picks, .vs-grid4 { grid-template-columns: 1fr; }
  .vs-facts th:first-child, .vs-facts td:first-child { width: 64px; padding: 10px 8px; }
  .vs-facts th, .vs-facts td { padding: 10px 10px; font-size: 13.5px; }
}

/* 对比总览 /vs/ */
.vs-list { margin-top: 30px; }
.vs-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.vs-item img { width: 44px; height: 44px; border-radius: 11px; flex: none; box-shadow: var(--shadow); }
.vs-item div { flex: 1; min-width: 0; }
.vs-item b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.vs-item span { display: block; margin-top: 3px; font-size: 13px; color: var(--ink2); line-height: 1.5; }
.vs-item .arr { color: var(--ink3); flex: none; }
.vs-item:hover b { color: var(--accent); }
