:root { --ink:#171717; --muted:#6d6a64; --paper:#f5f3ee; --white:#fff; --line:#dedbd3; --accent:#de5b3e; --green:#35695a; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
a { color: inherit; }
.seo-header { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100% - 1040px)/2)); border-bottom: 1px solid var(--line); }
.seo-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; text-decoration: none; }
.seo-brand img { width: 36px; height: 36px; }
.seo-nav { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.seo-header-actions { display: flex; align-items: center; gap: 14px; }
.seo-main { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.breadcrumbs { color: var(--muted); font-size: 12px; margin-bottom: 28px; }
.breadcrumbs a { text-decoration: none; }
.seo-tag { display: inline-flex; margin-bottom: 16px; padding: 6px 9px; border-radius: 4px; color: #9e3f2b; background: #f8e8e2; font-size: 11px; font-weight: 800; }
h1 { max-width: 800px; margin: 0; font: 600 clamp(34px, 6vw, 58px)/1.14 Georgia, "Noto Serif SC", serif; letter-spacing: 0; }
.seo-lead { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.seo-actions { display: flex; gap: 10px; margin: 28px 0 38px; }
.seo-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border-radius: 6px; background: var(--ink); color: white; font-weight: 800; text-decoration: none; }
.source-box { margin-bottom: 28px; padding: 13px 15px; display: flex; justify-content: space-between; gap: 16px; border: 1px solid #cfe0d9; border-radius: 6px; background: #f1f7f4; color: var(--green); font-size: 12px; text-decoration: none; }
.seo-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.seo-panel { min-width: 0; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: white; }
.seo-panel h2 { margin: 0; padding: 14px 17px; border-bottom: 1px solid var(--line); background: #faf9f6; font-size: 14px; }
.prompt-text, .example-text { margin: 0; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
.example-text { background: #f3f1eb; }
.related { margin-top: 42px; }
.related h2 { font-size: 20px; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-list a { min-height: 82px; padding: 15px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 13px; font-weight: 750; line-height: 1.45; text-decoration: none; }
.editorial-guide { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.editorial-guide > div + div { margin-top: 30px; }
.editorial-guide h2, .prose h2 { margin: 0 0 12px; font-size: 20px; }
.editorial-guide p, .editorial-guide li, .prose p, .prose li { color: #4f4c47; font-size: 14px; line-height: 1.75; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: 0; }
.variable-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; }
.variable-guide div { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.58); }
.variable-guide dt { margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.variable-guide dd { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.guide-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.guide-columns ul, .prose ul { margin: 0; padding-left: 20px; }
.editorial-note { margin-top: 30px; padding: 14px 16px; border-left: 3px solid var(--green); background: #edf4f1; }
.info-main { max-width: 820px; }
.prose { margin-top: 40px; }
.prose h2 { margin-top: 34px; }
.prose p, .prose li { font-size: 15px; }
.prose a:not(.seo-button) { color: var(--green); font-weight: 700; }
.ad-placeholder { width: 100%; min-height: 104px; margin: 42px auto 0; border: 1px dashed #cbc7be; background: rgba(255,255,255,.4); display: grid; place-items: center; color: #97928a; font-size: 10px; }
.ad-placeholder span { padding: 3px 6px; border: 1px solid #d7d3ca; background: var(--paper); }
.ad-placeholder + .related { margin-top: 34px; }
.seo-footer { padding: 26px max(24px, calc((100% - 1040px)/2)); border-top: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.seo-footer div { display: flex; align-items: baseline; gap: 9px; }
.seo-footer strong { color: var(--ink); }
.seo-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.seo-footer a { text-decoration: none; }
.seo-footer a:hover { color: var(--ink); }
.directory-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.directory-list a { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: white; text-decoration: none; }
.directory-list strong { display: block; margin-bottom: 5px; }
.directory-list span { color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .seo-header { height: 58px; padding: 0 14px; }
  .seo-main { width: calc(100% - 28px); padding: 30px 0 60px; }
  h1 { font-size: 36px; }
  .seo-lead { font-size: 14px; }
  .seo-grid, .related-list, .directory-list, .variable-guide, .guide-columns { grid-template-columns: 1fr; }
  .source-box { flex-direction: column; }
  .seo-footer { padding: 24px 14px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .seo-footer div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .seo-footer nav { gap: 14px; }
  .ad-placeholder { min-height: 100px; margin-top: 32px; }
}
