/* pages-v131.css —— 课外一格公开页面（常见问题、关于、Day 1、提示词、上手疑难、专业项目、结营海报）
 * 和网站主页 refined-v130.css 用同一套色板：暖白方格纸、白卡片细线、墨色主按钮、绿色表示完成，蓝色只用于链接。
 * 只用系统字体，不依赖任何外部资源。
 */
:root {
  --paper: #faf7f0;
  --paper-2: #f3eee3;
  --card: #ffffff;
  --ink: #1c1e21;
  --ink-2: #474c54;
  --ink-3: #757b84;
  --line: #e6dfd0;
  --grid: rgba(28, 30, 33, 0.045);
  --accent: #0e8a5f;
  --accent-strong: #0a6d4a;
  --accent-soft: #e2f3eb;
  --hl: #ffe27a;
  --hl-soft: #fff4c2;
  --warn: #9a4d07;
  --warn-soft: #fff1df;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 10px 30px -18px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --link: #0f4fa8;
  color-scheme: light;
}



* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #1764cc; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; letter-spacing: 0.01em; }
h1 { font-size: clamp(30px, 7vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 4.6vw, 34px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li + li { margin-top: 0.3em; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.center { text-align: center; }
.hl { background: linear-gradient(transparent 58%, var(--hl) 58%); padding: 0 0.1em; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .site-header { background: var(--paper); }
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; flex: none; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 6px; color: var(--paper); }
.nav .btn:hover { color: var(--paper); background: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 38px; color: var(--ink); cursor: pointer; padding: 0; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 60px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- 按钮与小部件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { color: var(--paper); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--paper-2); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--ink-2); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-strong); margin-bottom: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-strong); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.note { border-left: 4px solid var(--hl); background: var(--hl-soft); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); }
.note-warn { border-left-color: var(--warn); background: var(--warn-soft); }

/* ---------- 版块 ---------- */
.section { padding: 64px 0; }
.section-alt { background: color-mix(in srgb, var(--paper-2) 70%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@supports not (background: color-mix(in srgb, red 50%, transparent)) { .section-alt { background: var(--paper-2); } }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--ink-2); font-size: 17px; }
.num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; display: block; margin-bottom: 6px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* ---------- 首屏 ---------- */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 0.75fr; } }
.hero h1 { margin-bottom: 18px; font-size: clamp(28px, 5.2vw, 44px); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 36em; margin-bottom: 24px; }
.hero .btn-row { margin-bottom: 20px; }

.notebook {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 18px 18px 14px; position: relative;
}
.notebook-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; margin-bottom: 10px; }
.notebook-title span:last-child { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.days li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--line); margin: 0; font-size: 15px; }
.days li b { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.days li i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.days li.done { border-style: solid; background: var(--accent-soft); }
.days li.done i { color: var(--accent-strong); font-weight: 700; }

/* ---------- 对比条 ---------- */
.compare { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .card h3 { display: flex; align-items: center; gap: 8px; }

/* ---------- 测评 ---------- */
.quiz { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label, .field > legend { font-weight: 700; font-size: 16px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
select, input[type="text"] {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
}
select:focus, input[type="text"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-size: 15px; color: var(--ink-2);
  transition: border-color 0.12s, background 0.12s;
}
.option input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-error { color: var(--warn); font-weight: 700; min-height: 1.5em; margin: 0; }

.result { display: none; margin-top: 8px; }
.result.show { display: block; animation: rise 0.35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.score { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.score-num { font-size: 64px; line-height: 1; font-weight: 850; font-family: var(--font); letter-spacing: -0.02em; }
.score-num small { font-size: 20px; color: var(--ink-3); font-weight: 600; }
.meter { height: 12px; border-radius: 999px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--line); margin: 6px 0 16px; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #f0b429); border-radius: 999px; width: 0; transition: width 0.8s ease; }
.idea-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.idea-list li { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.idea-list li strong { display: block; }

/* ---------- 7 天挑战 ---------- */
.day-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: d; }
.day-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative; }
.day-card .d { font-family: var(--mono); font-weight: 800; font-size: 13px; color: var(--accent-strong); }
.day-card h3 { font-size: 17px; margin: 4px 0 6px; }
.day-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.day-card .out { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }

/* ---------- 工具地图 ---------- */
.tool-row { display: grid; gap: 4px 16px; grid-template-columns: 1fr; padding: 14px 0; border-bottom: 1px dashed var(--line); }
@media (min-width: 760px) { .tool-row { grid-template-columns: 200px 1fr; } }
.tool-row:last-child { border-bottom: 0; }
.tool-row dt { font-weight: 800; }
.tool-row dd { margin: 0; color: var(--ink-2); }
details.more { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 0 16px; }
details.more summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
details.more[open] summary { border-bottom: 1px dashed var(--line); margin-bottom: 12px; }

/* ---------- 价格 ---------- */
.price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 12px; }
.price b { font-size: 46px; line-height: 1; font-weight: 850; }
.price span { color: var(--ink-3); }
.check { list-style: none; padding: 0; margin: 0 0 18px; }
.check li { position: relative; padding-left: 28px; margin: 0 0 8px; }
.check li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.cross li::before { content: "×"; border: 0; transform: none; width: auto; height: auto; top: 0; left: 6px; color: var(--warn); font-weight: 800; }
.price-card { border: 2px solid var(--ink); }
.ribbon { position: absolute; top: -12px; right: 16px; background: var(--hl); color: #1c1e21; font-size: 13px; font-weight: 800; padding: 2px 10px; border-radius: 6px; }
.card.rel { position: relative; }

/* ---------- 常见问题 ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 22px; font-weight: 500; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- 正文页 ---------- */
.page-hero { padding: 48px 0 24px; }
.page-hero p { font-size: 18px; color: var(--ink-2); max-width: 40em; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a { color: var(--ink-3); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.card > :first-child, .prose .card > h3:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose th, .prose td { min-width: 5em; }
.prose th:first-child, .prose td:first-child { min-width: 7em; }
.copy-box { position: relative; margin: 0 0 1.2em; }
.copy-box pre { white-space: pre-wrap; word-break: break-word; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; padding-right: 72px; margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.75; color: var(--ink); }
.copy-box .btn { position: absolute; top: 10px; right: 10px; }
.project { margin-bottom: 18px; }
.project dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin: 12px 0 0; font-size: 15px; }
.project dt { color: var(--ink-3); }
.project dd { margin: 0; }
.resume-line { margin-top: 12px; padding: 10px 12px; background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.major-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); list-style: none; padding: 0; }
.major-list li { margin: 0; }
.major-list a { display: block; height: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); }
.major-list a:hover { border-color: var(--accent); }
.major-list small { display: block; color: var(--ink-3); margin-top: 4px; }

/* ---------- 顶栏编号与本页导航 ---------- */
.nav .n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.nav a[aria-current="page"] .n { color: var(--accent-strong); }
.section-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.section-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.section-nav .wrap::-webkit-scrollbar { display: none; }
.section-nav a { flex: none; white-space: nowrap; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.section-nav a:hover { border-color: var(--accent); color: var(--ink); }
.sub-block { margin-top: 56px; }
.sub-title { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-strong); margin: 0 0 6px; }

/* ---------- 工具分层与专业预判 ---------- */
.layer { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 6px; white-space: nowrap; line-height: 1.6; }
.layer-1 { background: #e8eefc; color: #2f4fa2; }
.layer-2 { background: #fdf0d9; color: #8a5a00; }
.layer-3 { background: var(--accent-soft); color: var(--accent-strong); }
.layer-4 { background: #f6e6f3; color: #8b2f7a; }

.layer-table { margin: 0; }
.nowrap { white-space: nowrap; }
.tool-row .tools { display: block; color: var(--ink); font-weight: 600; margin-top: 2px; }
.scene-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.scene-list li { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); display: grid; gap: 4px; }
.scene-list li strong { font-size: 16px; }
.scene-list .layer { justify-self: start; }
.scene h3 { margin-top: 10px; }
.score-empty { color: var(--ink-3); margin: 6px 0 10px; }
.xiaoge { border: 1px dashed var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.xiaoge ul { margin: 6px 0 0; padding-left: 1.2em; }
.xiaoge li { margin: 0 0 4px; }

/* ---------- 7 天卡片 ---------- */
.day-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 8px 0 0; font-size: 14px; }
.day-card dt { color: var(--ink-3); white-space: nowrap; }
.day-card dd { margin: 0; color: var(--ink-2); }
.day-card .day-note { margin-top: 8px; font-size: 13px; color: var(--accent-strong); }
.remember .card h3 { font-size: 17px; }

/* ---------- 购买信息与交付物预览 ---------- */
.buy-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--line); font-size: 15px; }
.buy-facts dt { color: var(--ink-3); }
.buy-facts dd { margin: 0; font-weight: 600; }
.deliver-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.deliver { display: flex; flex-direction: column; gap: 8px; }
.deliver h3 { font-size: 17px; margin: 0; }
.deliver p { margin: 0; font-size: 14px; color: var(--ink-2); }
.sheet { margin-top: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 10px 12px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; padding: 3px 4px; border-bottom: 1px dashed var(--line); font-weight: 500; vertical-align: top; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet th { color: var(--ink-3); font-weight: 700; }
.sheet .ln { display: block; }
.sheet .ok { color: var(--accent-strong); font-weight: 800; }

.swipe-hint { display: none; }
@media (max-width: 640px) {
  .deliver-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 0 -2px; -webkit-overflow-scrolling: touch; }
  .deliver { scroll-snap-align: start; }
  .swipe-hint { display: block; margin: -4px 0 12px; font-size: 14px; color: var(--ink-3); }
  .grid-4.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-4.compact .card { padding: 14px; }
  .grid-4.compact .card h3 { font-size: 16px; }
  .grid-4.compact .card p { font-size: 14px; line-height: 1.65; }
}

/* ---------- 个人进度 ---------- */
.prog-count { font-size: 18px; color: var(--ink-3); }
.prog-count b { font-size: 44px; color: var(--ink); line-height: 1; }
.prog-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.prog-item { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.prog-item.done { background: var(--accent-soft); }
.prog-item h3 { font-size: 17px; margin: 0 0 4px; display: flex; gap: 8px; align-items: baseline; }
.prog-item h3 .d { font-family: var(--mono); font-size: 13px; color: var(--accent-strong); }
.prog-item p { margin: 0 0 4px; font-size: 15px; }
.prog-check { position: relative; display: block; width: 30px; height: 30px; cursor: pointer; margin-top: 2px; }
.prog-check input { position: absolute; inset: 0; opacity: 0; width: 30px; height: 30px; margin: 0; cursor: pointer; }
.prog-check .box { display: block; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--ink-3); background: var(--card); }
.prog-check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.prog-check input:checked + .box::after { content: ""; position: absolute; left: 11px; top: 6px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.prog-check input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.prog-note { display: block; }
.prog-note input[type="text"] { margin-top: 8px; min-height: 42px; font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; background: var(--paper); font-size: 14px; color: var(--ink-3); }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent-strong); text-decoration: underline; }
.footer-legal { text-align: center; border-top: 1px dashed var(--line); padding-top: 18px; line-height: 2; }
.footer-legal a { color: var(--ink-3); }


@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .btn, .poster-modal-v131 { display: none !important; }
  body { background: #fff; }
}

/* ---------- v131 增补 ---------- */
.site-footer a[data-site-email] { color: var(--link); }
.works-grid-v131 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0 0 1em; }
.work-card-v131 { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 14px 16px; }
.work-card-v131 img { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 10px; }
.work-card-v131 h3 { font-size: 16px; margin: 0 0 4px; }
.work-card-v131 p { margin: 0; font-size: 14px; color: var(--ink-2); }
.work-card-v131 small { display: block; margin-top: 6px; color: var(--ink-3); }
