/* Secondary pages: reading-friendly paper theme. Homepage (body.home-layout-d) does not load this. */
body.theme-d {
  --bg: #f7f4ee; --ink: #1b1815; --muted: #5f574f; --line: #e3dcd1; --accent: #c4532f; --card: #fffdf9; --code: #f0ebe3;
  background: #f7f4ee; color: #1b1815; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
body.theme-d .site-header { border-bottom: 1px solid var(--line); }
body.theme-d .brand { color: #1b1815; }
body.theme-d .brand::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .45rem; background: linear-gradient(135deg, #f08a5d, #c4532f); vertical-align: .08em; }
body.theme-d .site-header nav a { color: #4a423b; text-decoration: none; padding: .1rem .2rem; border-radius: 6px; transition: color .2s, background .2s; }
body.theme-d .site-header nav a:hover { color: #c4532f; background: rgba(196,83,47,.07); }
body.theme-d .site-header nav a[aria-current="page"] { color: #c4532f; font-weight: 700; box-shadow: inset 0 -2px 0 #e9774a; border-radius: 0; }
body.theme-d .site-footer { color: #8a8076; }
body.theme-d .kicker, body.theme-d .kicker a { color: #8a8076; }
body.theme-d h1 { color: #1b1815; letter-spacing: -.01em; }
body.theme-d h1::after { content: ""; display: block; width: 3rem; height: 3px; margin-top: .45rem; border-radius: 3px; background: linear-gradient(90deg, #e9774a, #f2b48f); }
body.theme-d h2, body.theme-d h3 { color: #1f1b17; }
body.theme-d a { color: #b84c2a; }
body.theme-d p, body.theme-d li { color: #26211d; }
body.theme-d ::selection { background: rgba(233,119,74,.22); }
@media (max-width: 560px) { body.theme-d .site-header nav a { padding: .1rem 0; } body.theme-d { font-size: 16px; } }
/* Cards: subtle border + soft shadow, lift on hover */
body.theme-d .t-glow { box-shadow: 0 1px 2px rgba(60,40,25,.04), 0 6px 18px -12px rgba(60,40,25,.18); transition: border-color .2s, box-shadow .2s, transform .2s, opacity .45s ease var(--d, 0ms); }
body.theme-d .t-glow:hover { border-color: rgba(196,83,47,.35); box-shadow: 0 2px 4px rgba(60,40,25,.05), 0 14px 28px -16px rgba(196,83,47,.35); transform: translateY(-2px); }
body.theme-d .t-rev { opacity: 0; transform: translateY(10px); }
body.theme-d .t-rev.is-in { opacity: 1; transform: none; }
body.theme-d .t-rev.is-in:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { body.theme-d .t-rev { opacity: 1; transform: none; } body.theme-d .t-glow, body.theme-d .t-glow:hover { transition: none; transform: none; } }
/* Active tabs / chips: orange accent */
body.theme-d .cat-tab.is-active, body.theme-d .guide-vendor-chip.is-active, body.theme-d .wf-chip.is-active, body.theme-d .intel-cat.is-active,
body.theme-d .rs-vendor-tab[aria-selected="true"], body.theme-d .rs-filter[aria-pressed="true"] { background: #c4532f !important; color: #fff !important; border-color: #c4532f !important; box-shadow: 0 4px 12px -6px rgba(196,83,47,.6); }
body.theme-d .cat-tab.is-active *, body.theme-d .intel-cat.is-active span:last-child { color: rgba(255,255,255,.88) !important; }
body.theme-d .guide-vendor-chip.is-active .guide-chip-count { color: #fff; background: rgba(0,0,0,.18); }
/* 换用价值 pills: higher contrast */
body.theme-d .guide-verdict-now { background: #dcefd6; color: #1f5a1d; box-shadow: inset 0 0 0 1px #a9d29f; }
body.theme-d .guide-verdict-partial { background: #fbe8c8; color: #7a4a07; box-shadow: inset 0 0 0 1px #ecc27e; }
body.theme-d .guide-verdict-no { background: #ebe7e2; color: #4d4640; box-shadow: inset 0 0 0 1px #d3ccc4; }
body.theme-d.ask-page h1::after { display: none; }
