/* AI PLAY CLUB · Claude 候选样式
   视觉沿用 Kimi V2.1：纸色网格、钴蓝海报、荧光绿主动作、橙色贴纸、实验编号。
   本文件一份到底，不再叠加覆盖层。章节顺序：变量 → 基础 → 页头页脚 → 通用组件 → 首页 → 列表 → 详情 → 工具 → 表单 → 俱乐部 → 响应式 */

/* ---------- 变量 ---------- */
:root {
  --paper: #f3f1e8;
  --paper-light: #fbfaf5;
  --white: #fffef9;
  --ink: #11120f;
  --ink-2: #3c3f37;
  --muted: #5f6358;
  --line: #c9cabd;
  --line-soft: #dddcd0;
  --blue: #1452ff;
  --blue-dark: #0c39b8;
  --blue-tint: #e6edff;
  --lime: #d9ff57;
  --lime-tint: #f0ffc2;
  --orange: #ff6b47;
  --orange-tint: #ffe4db;
  --orange-ink: #a8361a;
  --red-tint: #ffd9d9;
  --red-ink: #a3161a;
  --yellow: #f1e9a9;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --shell: 1240px;
  --radius: 4px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(17,18,15,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,15,.035) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p, h1, h2, h3, h4, li, dd, td, th { overflow-wrap: break-word; }
/* 中文标题按词组换行：优先在标点和空格处断开，长句在 <wbr> 处断开，再放不下才拆字，避免“模 / 型”这类断词 */
h1, h2, h3, .poster h2 { word-break: keep-all; overflow-wrap: anywhere; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: 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; }
.nw { white-space: nowrap; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.skip-link { position: fixed; z-index: 300; top: 8px; left: 8px; padding: 10px 14px; background: var(--lime); border: 2px solid var(--ink); font-weight: 800; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- 原型提示条 ---------- */
.prototype-bar { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 32px; padding: 6px 16px; background: var(--ink); color: #e8e9e1; font-size: 12px; line-height: 1.5; text-align: center; }
.prototype-bar b { color: var(--lime); font: 800 11px/1 var(--mono); letter-spacing: .08em; }

/* ---------- 页头 ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper-light); border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand > span { font-size: 23px; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.brand > b { display: inline-block; padding: 5px 7px 4px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--blue); color: #fff; font: 900 11px/1 var(--mono); letter-spacing: .06em; transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav > a, .nav-club > summary { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.site-nav > a:hover, .nav-club > summary:hover { color: var(--blue); }
.site-nav > a[aria-current], .nav-club.is-current > summary { color: var(--blue); }
.site-nav > a[aria-current]::after, .nav-club.is-current > summary::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--blue); }
.nav-club { position: relative; }
.nav-club > summary { list-style: none; }
.nav-club > summary::-webkit-details-marker { display: none; }
.nav-club > summary .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-club[open] > summary .caret { transform: translateY(1px) rotate(-135deg); }
.club-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; padding: 8px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.club-menu p { padding: 8px 10px 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.club-menu a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 10px; border-radius: 3px; }
.club-menu a:hover, .club-menu a:focus-visible { background: var(--lime-tint); }
.club-menu a[aria-current] { background: var(--lime); }
.club-menu a b { font-size: 15px; }
.club-menu a small { grid-column: 1; color: var(--muted); font-size: 13px; line-height: 1.5; }
.club-menu a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; font-weight: 800; }
.header-cta { flex: none; }

/* ---------- 按钮与链接 ---------- */
.btn { color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 12px 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: 4px 4px 0 var(--ink); font-size: 15px; font-weight: 800; line-height: 1.3; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn-lime { background: var(--lime); }
.btn-lime:hover { background: #e6ff8f; }
.btn-dark { background: var(--ink); color: var(--white); }
button.text-link { padding: 0; border: 0; border-bottom: 2px solid var(--ink); background: none; cursor: pointer; }
.btn-dark:hover { background: var(--blue); }
.btn-sm { min-height: 42px; padding: 9px 14px; font-size: 14px; box-shadow: var(--shadow-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 800; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.text-link.small { min-height: 0; padding-bottom: 2px; font-size: 14px; }
.arrow { font-weight: 800; }

/* ---------- 标签 ---------- */
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--blue); font-size: 14px; font-weight: 800; line-height: 1.4; }
.kicker .mono { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.kicker::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.exp-id { font: 800 12px/1.3 var(--mono); letter-spacing: .06em; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 9px; border: 1.5px solid var(--ink); border-radius: 3px; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-done { background: var(--lime); }
.pill-run { background: var(--white); color: var(--blue-dark); border-color: var(--blue); }
.pill-wait { background: var(--white); color: var(--orange-ink); border-color: var(--orange); }
.pill-plain { background: var(--white); }
.pill-plain::before, .pill-demo::before { display: none; }
.pill-demo { min-height: 22px; padding: 2px 6px; border: 1px dashed var(--muted); color: var(--muted); font-size: 12px; font-weight: 700; }
.type-tag { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-light); color: var(--ink-2); font-size: 13px; line-height: 1.4; }

/* ---------- 区块标题 ---------- */
.section { padding-block: 72px; }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -.03em; }
.section-head p { max-width: 44em; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 32px; border-top: 2px solid var(--ink); background: var(--paper-light); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-block: 40px 44px; }
.footer-inner p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 26em; }
.footer-col h2 { margin-bottom: 10px; font-size: 13px; color: var(--muted); font-weight: 700; }
.footer-col a { display: block; padding: 4px 0; font-size: 15px; font-weight: 700; }
.footer-col a:hover { color: var(--blue); }

/* ---------- 手机底栏 ---------- */
.dock { display: none; }

/* ---------- 首页：首屏 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 520px); gap: 64px; align-items: center; padding-block: 64px 72px; }
.hero-copy h1 { margin: 20px 0 22px; font-size: clamp(46px, 5.3vw, 76px); line-height: 1.12; letter-spacing: -.045em; font-weight: 900; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 30em; color: var(--ink-2); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.hero-index { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero-index a { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 700; color: var(--ink); }
.hero-index a b { font: 800 20px/1 var(--mono); }
.hero-index a:hover { color: var(--blue); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; }
.eyebrow::before { content: ""; width: 32px; height: 4px; background: var(--blue); }

/* 钴蓝海报 */
.poster-wrap { position: relative; padding: 30px 12px 14px 4px; }
.poster-caption { position: absolute; top: 0; left: 8px; font: 800 12px/1.5 var(--mono); letter-spacing: .06em; }
.poster { position: relative; display: block; border: 2px solid var(--ink); border-radius: var(--radius); background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px; color: #fff; box-shadow: 10px 10px 0 var(--ink); transform: rotate(1.2deg); }
.poster-body { padding: 26px 28px 22px; }
.poster-top { display: flex; align-items: center; gap: 12px; padding-right: 64px; font: 800 12px/1.4 var(--mono); letter-spacing: .06em; }
.poster-top .pill { margin-left: auto; font-family: var(--sans); letter-spacing: 0; }
.poster h2 { margin: 18px 0 18px; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.42; letter-spacing: -.02em; }
.poster-note { margin-top: 14px; color: #d6e0ff; font-size: 13px; line-height: 1.6; }
.poster-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; border-top: 2px solid var(--ink); background: var(--lime); color: var(--ink); font-size: 15px; font-weight: 800; }
.poster:hover .poster-link { background: #e8ff94; }
.sticker { position: absolute; top: 6px; right: -4px; z-index: 2; display: grid; place-items: center; width: 80px; height: 80px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); box-shadow: var(--shadow-sm); color: var(--ink); font: 900 13px/1.15 var(--mono); text-align: center; transform: rotate(10deg); }

/* 海报里的计分条 */
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; }
.bar-row > span:first-child { font-weight: 800; }
.bar-cells { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.bar-cells i { height: 14px; border: 1.5px solid rgba(255,255,255,.85); }
.bar-cells i.on { background: var(--lime); border-color: var(--lime); }
.bar-row b { font: 800 15px/1 var(--mono); }
.bar-row small { margin-left: 4px; color: #d6e0ff; font-size: 12px; font-family: var(--sans); font-weight: 600; }
.bar-row.is-null .bar-cells { display: block; color: #d6e0ff; font-size: 13px; line-height: 1.4; }
.bar-row.is-merge { margin-top: 4px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.5); }

/* 三类内容黑带 */
.band { border-block: 2px solid var(--ink); background: var(--ink); color: var(--white); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.band-grid a { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 28px 32px 28px; border-left: 1px solid #45473f; }
.band-grid a:first-child { padding-left: 0; border-left: 0; }
.band-grid a:last-child { padding-right: 0; }
.band-grid .mono { grid-column: 1 / -1; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.band-grid h2 { font-size: 22px; line-height: 1.35; }
.band-grid h2 small { margin-left: 8px; color: #a9ab9f; font: 700 13px/1 var(--mono); }
.band-grid p { grid-column: 1; color: #c9cbc0; font-size: 14px; line-height: 1.7; }
.band-grid .arrow { grid-column: 2; grid-row: 2 / span 2; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid #6c6e64; border-radius: 50%; transition: background .15s, color .15s; }
.band-grid a:hover .arrow { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.band-grid a:hover h2 { color: var(--lime); }

/* 首页最新结果预览 */
.preview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.panel { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 20px; border-bottom: 1.5px solid var(--ink); }
.panel-head h3 { font-size: 17px; line-height: 1.4; }
.panel-head .pill-demo { margin-left: auto; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1.5px solid var(--ink); background: var(--paper-light); font-size: 14px; color: var(--muted); }
.obs-list { display: grid; gap: 14px; }
.obs { position: relative; padding: 18px 20px 18px 56px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.obs > span { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 800 12px/1 var(--mono); }
.obs h3 { font-size: 17px; line-height: 1.5; }
.obs p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.obs .cite { display: inline-block; margin-top: 8px; padding: 0; border: 0; border-bottom: 1.5px solid var(--blue); background: none; color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.4; }

/* 详情页里的观察横排三列 */
.obs-list.is-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sub-head { margin: 32px 0 10px; font-size: 18px; line-height: 1.4; }
.cta-band.is-spaced { margin-top: 24px; }

/* ---------- 对照矩阵（首页预览与详情共用） ---------- */
.matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix th, .matrix td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.matrix thead th { padding-block: 12px; border-bottom: 1.5px solid var(--ink); background: var(--paper-light); font-size: 14px; font-weight: 800; }
.matrix thead th .badge { margin-right: 6px; vertical-align: -2px; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix .col-point { width: 34%; }
.matrix tbody th { font-weight: 400; }
.point-no { display: inline-block; min-width: 26px; margin-right: 6px; color: var(--blue); font: 800 12px/1.6 var(--mono); }
.point-name { font-size: 15px; font-weight: 800; line-height: 1.5; }
.point-quote { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.point-quote q { quotes: "「" "」"; }
.point-answer { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.matrix tr.is-control .point-name::after { content: "对照句"; margin-left: 8px; padding: 1px 6px; border: 1px dashed var(--muted); border-radius: 3px; color: var(--muted); font-size: 12px; font-weight: 700; vertical-align: 1px; }
.matrix tr.has-split > th { box-shadow: inset 4px 0 0 var(--orange); }
.matrix tr.is-flash > * { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { background: var(--lime-tint); } 100% { background: transparent; } }

/* 结果格 */
.res:not(td) { display: grid; gap: 4px; }
.res .res-tag + p { margin-top: 4px; }
.res-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 26px; padding: 2px 8px 2px 4px; border-radius: 3px; font-size: 14px; font-weight: 800; line-height: 1.3; }
.res-tag i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font: 800 11px/1 var(--mono); font-style: normal; }
.res-hit .res-tag { background: var(--lime-tint); color: #2c4000; }
.res-hit .res-tag i { background: #3d5a00; color: var(--lime); }
.res-miss .res-tag { background: var(--orange-tint); color: var(--orange-ink); }
.res-miss .res-tag i { background: var(--orange-ink); color: #fff; }
.res-false .res-tag { background: var(--red-tint); color: var(--red-ink); }
.res-false .res-tag i { background: var(--red-ink); color: #fff; }
.res-ok .res-tag { background: #ecebe2; color: var(--ink-2); }
.res-ok .res-tag i { background: var(--ink-2); color: #fff; }
.res-none .res-tag { background: repeating-linear-gradient(135deg, #ecebe2 0 6px, #f6f5ee 6px 12px); color: var(--muted); }
.res-none .res-tag i { background: var(--muted); color: #fff; }
.res p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; font: 800 12px/1 var(--mono); }
.badge-a { background: var(--blue); color: #fff; }
.badge-b { background: var(--ink); color: var(--lime); }
.badge-c { background: var(--orange); color: var(--ink); }
.badge-m { background: var(--white); border-style: dashed; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.legend .res-tag { min-height: 22px; font-size: 12px; }

/* ---------- 列表页 ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-block: 48px 28px; }
.page-hero h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.25; letter-spacing: -.03em; }
.page-hero p { max-width: 36em; margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.page-hero .hero-side { max-width: 320px; padding-left: 20px; border-left: 3px solid var(--blue); color: var(--muted); font-size: 14px; line-height: 1.7; }
.page-hero .hero-side b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; }

.filters { display: grid; gap: 12px; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; transform: translateY(-50%); }
.search input { width: 100%; min-height: 48px; padding: 10px 14px 10px 42px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper-light); font-size: 16px; }
.search input:focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #fff; }
.filter-group { display: flex; align-items: center; gap: 12px; }
.filter-group > span { flex: none; width: 4.5em; color: var(--muted); font-size: 14px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 38px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--paper-light); font-size: 14px; font-weight: 700; line-height: 1.3; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chips button .n { margin-left: 4px; font: 700 12px/1 var(--mono); opacity: .7; }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 18px 0 16px; color: var(--muted); font-size: 14px; }
.result-line b { color: var(--ink); }
.clear-btn { min-height: 36px; padding: 4px 0; border: 0; border-bottom: 1.5px solid currentColor; background: none; color: var(--blue); font-size: 14px; font-weight: 800; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; border: 1.5px dashed var(--ink); border-radius: var(--radius); background: var(--paper-light); text-align: center; }
.empty .big { font: 800 40px/1 var(--mono); color: var(--blue); }
.empty h2 { font-size: 20px; }
.empty p { color: var(--muted); font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 20px 18px; }
.card-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-top .pill { margin-left: auto; }
.card h3 { font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.card-sum { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.card-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.card-strip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 8px 2px 3px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-light); font-size: 13px; font-weight: 700; }
.card-strip .badge { width: 21px; height: 21px; font-size: 12px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; line-height: 1.5; }
.card-link { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; border-top: 1.5px solid var(--ink); background: var(--lime); font-size: 15px; font-weight: 800; }
.card.has-detail { box-shadow: var(--shadow); }
.card.has-detail:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.card.has-detail:hover h3 { color: var(--blue); }
.card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-note { display: flex; align-items: center; gap: 8px; padding: 11px 20px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 13px; }
.card.is-blue { background: var(--blue); color: #fff; }
.card.is-blue .card-sum, .card.is-blue .card-meta { color: #dbe4ff; }
.card.is-blue .type-tag { color: #dbe4ff; }
.card.is-blue .card-meta { border-color: rgba(255,255,255,.3); }
.card.is-blue .card-strip > span { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

.note-rows { border-top: 2px solid var(--ink); }
.note-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.note-row h3 { font-size: 17px; line-height: 1.55; }
.note-row p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.note-row .exp-id { color: var(--muted); }
.note-row a.row-link:hover h3 { color: var(--blue); }
.note-row .row-link { display: block; }
.note-row .tail { display: flex; align-items: center; gap: 12px; }

/* ---------- 实验详情 ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line); }
.crumb a:hover { color: var(--blue); }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; padding-block: 20px 40px; }
.detail-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-hero h1 { margin: 16px 0 16px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; letter-spacing: -.03em; }
.detail-lede { max-width: 38em; color: var(--ink-2); font-size: 17px; line-height: 1.85; }
.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border-top: 2px solid var(--ink); }
.meta-grid > div { padding: 12px 16px 0 0; }
.meta-grid dt { color: var(--muted); font-size: 13px; line-height: 1.5; }
.meta-grid dd { word-break: keep-all; overflow-wrap: anywhere; margin-top: 2px; font-size: 15px; font-weight: 700; line-height: 1.55; }
.summary-card { padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius); background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; color: #fff; box-shadow: var(--shadow); }
.summary-card .label { color: var(--lime); font-size: 14px; font-weight: 800; }
.summary-card .big { word-break: keep-all; overflow-wrap: anywhere; margin: 10px 0 16px; font-size: 21px; font-weight: 800; line-height: 1.55; }
.summary-card dl { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.35); font-size: 14px; line-height: 1.6; }
.summary-card dl div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; }
.summary-card dt { color: #c8d5ff; }
.summary-card .actions { display: grid; gap: 12px; margin-top: 20px; }
.summary-card .btn { width: 100%; justify-content: space-between; }
.summary-card .text-link { justify-self: start; border-color: #fff; color: #fff; }
.summary-card .text-link:hover { color: var(--lime); border-color: var(--lime); }

.section-nav { position: sticky; top: 0; z-index: 40; border-block: 2px solid var(--ink); background: var(--paper-light); }
.section-nav ol { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.section-nav ol::-webkit-scrollbar { display: none; }
.section-nav a { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; white-space: nowrap; font-size: 15px; font-weight: 700; border-bottom: 3px solid transparent; }
.section-nav a span { color: var(--muted); font: 700 12px/1 var(--mono); }
.section-nav a:hover { color: var(--blue); }
.section-nav a[aria-current="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.section-nav a[aria-current="true"] span { color: var(--blue); }

.dsec { padding-block: 56px 8px; }
.dsec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.dsec-head h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.02em; }
.dsec-head p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 40em; }

.scoreboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.score { display: grid; gap: 6px; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.score-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.score-head small { color: var(--muted); font-size: 12px; font-weight: 600; }
.score .score-num { font: 800 34px/1.1 var(--mono); letter-spacing: -.02em; }
.score .score-num small { margin-left: 6px; font: 700 14px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.score .score-num.is-text { font: 800 20px/1.4 var(--sans); letter-spacing: 0; }
.score-cells { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.score-cells i { height: 8px; background: var(--line-soft); }
.score-cells i.on { background: #3d5a00; }
.score p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.score.is-merge { border-style: dashed; background: var(--paper-light); }
.score.is-fail { background: repeating-linear-gradient(135deg, #f7f6ef 0 8px, #fffef9 8px 16px); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 3px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.seg button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 2px; background: none; font-size: 14px; font-weight: 800; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.toggles > span { margin-right: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 10px 4px 6px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--paper-light); font-size: 14px; font-weight: 700; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle:has(input:checked) { border-color: var(--ink); background: var(--white); }
.toggle:has(input:not(:checked)) { opacity: .55; }
.toggle:has(input:not(:checked)) .badge { filter: grayscale(1); }
.toggle:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.toolbar .count { margin-left: auto; color: var(--muted); font-size: 14px; }
.matrix-wrap { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.panel .matrix-wrap { border: 0; border-radius: 0; }
.matrix-caption { padding: 12px 16px; border-top: 1.5px solid var(--ink); background: var(--paper-light); }
.matrix .col-hidden { display: none; }

.raw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.raw { border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.raw-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); background: var(--paper-light); font-size: 15px; font-weight: 800; }
.raw-head small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.raw ol { padding: 6px 0; counter-reset: ln; }
.raw li { position: relative; padding: 9px 16px 9px 44px; border-bottom: 1px dashed var(--line-soft); font-size: 14px; line-height: 1.7; }
.raw li:last-child { border-bottom: 0; }
.raw li::before { counter-increment: ln; content: counter(ln); position: absolute; left: 16px; top: 10px; color: var(--muted); font: 700 12px/1.6 var(--mono); }
.raw li mark { padding: 0 2px; border-radius: 2px; background: var(--red-tint); color: var(--red-ink); }
.raw .raw-para { padding: 14px 16px; font-size: 14px; line-height: 1.85; }
.raw .raw-para mark { padding: 0 2px; background: var(--orange-tint); color: var(--orange-ink); }
.raw .raw-para mark.bad { background: var(--red-tint); color: var(--red-ink); }
.raw-foot { padding: 10px 16px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; line-height: 1.6; }

.two-col.is-top { align-items: start; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.box { padding: 22px 24px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.box h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.4; }
.box.is-yes { border-top: 5px solid #3d5a00; }
.box.is-no { border-top: 5px solid var(--orange); }
.ticks li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; line-height: 1.7; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 6px; color: #3d5a00; font-weight: 800; }
.ticks.is-no li::before { content: "×"; color: var(--orange-ink); font-size: 18px; top: 3px; }

.material { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.material-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 20px; border-bottom: 1.5px solid var(--ink); background: var(--paper-light); }
.material-head h3 { font-size: 16px; }
.material-head .copy-btn { margin-left: auto; }
.material ol.lines { padding: 8px 0; }
.material ol.lines li { display: grid; grid-template-columns: 44px 1fr; padding: 8px 20px 8px 0; font-size: 16px; line-height: 1.75; }
.material ol.lines li > span { padding-left: 20px; color: var(--muted); font: 700 13px/1.75 var(--mono); }
.material pre { margin: 0; padding: 18px 20px; white-space: pre-wrap; font: 15px/1.85 var(--sans); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); font-size: 14px; font-weight: 800; }
.copy-btn:hover { background: var(--lime); }
.copy-btn.is-done { background: var(--lime); }

.settings { width: 100%; border-collapse: collapse; border: 2px solid var(--ink); background: var(--white); }
.settings th, .settings td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.6; }
.settings thead th { border-bottom: 1.5px solid var(--ink); background: var(--paper-light); font-size: 14px; }
.settings tbody th { width: 9em; color: var(--muted); font-weight: 700; }
.settings .todo { color: var(--muted); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.steps li { padding: 20px 22px; border-left: 1.5px solid var(--ink); }
.steps li:first-child { border-left: 0; }
.steps li > span { color: var(--blue); font: 800 13px/1 var(--mono); }
.steps h3 { margin: 10px 0 6px; font-size: 17px; line-height: 1.45; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 28px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--lime); box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; }
.cta-band p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

.versions li { display: grid; grid-template-columns: 90px 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.versions li b { font-family: var(--mono); }
.versions li span { color: var(--muted); }

/* ---------- 工具 ---------- */
.tool-io { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--paper-light); font-size: 13px; line-height: 1.5; }
.tool-io b { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.tool-io .arrow { color: var(--blue); }
.fact-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.fact-list > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.7; }
.fact-list dd { font-size: 15px; line-height: 1.75; }
.checker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.checker-in, .checker-out { display: flex; flex-direction: column; min-width: 0; }
.checker-in { border-right: 1.5px solid var(--ink); }
.checker-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 58px; padding: 10px 16px; border-bottom: 1.5px solid var(--ink); background: var(--paper-light); }
.checker-bar h3 { font-size: 15px; }
.checker-bar.is-mid { border-top: 1.5px solid var(--ink); border-bottom: 0; }
.checker-bar .spacer { flex: 1; }
.checker textarea { flex: 1; min-height: 260px; width: 100%; padding: 16px; border: 0; resize: vertical; background: var(--white); font-size: 16px; line-height: 1.85; }
.checker textarea:focus { outline: 3px solid var(--blue); outline-offset: -3px; }
.checker-opts { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.checker-opts label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; }
.checker-opts input { width: 18px; height: 18px; accent-color: var(--blue); }
.issue-summary { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.issue-list { flex: 1; max-height: 360px; overflow: auto; }
.issue-list li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 11px 16px; border-bottom: 1px dashed var(--line-soft); font-size: 14px; line-height: 1.6; }
.issue-list li > span { color: var(--muted); font: 700 12px/1.6 var(--mono); }
.issue-list mark { padding: 0 3px; border-radius: 2px; background: var(--red-tint); color: var(--red-ink); font-family: var(--mono); white-space: pre; }
.issue-list .fix { color: #2c4000; background: var(--lime-tint); padding: 0 3px; border-radius: 2px; font-family: var(--mono); white-space: pre; }
.issue-list .empty-line { display: block; padding: 28px 16px; color: var(--muted); text-align: center; }
.fixed-out { font-family: var(--sans); margin: 0; padding: 14px 16px; border-top: 1.5px solid var(--ink); background: var(--paper-light); white-space: pre-wrap; font-size: 15px; line-height: 1.85; }

/* ---------- 表单 ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; padding-bottom: 24px; }
.form-card { padding: 26px 28px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.form-card + .form-card { margin-top: 20px; }
.form-card > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 20px; line-height: 1.4; }
.form-card > h2 span { color: var(--blue); font: 800 13px/1 var(--mono); }
.form-card > p { margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.field { display: grid; align-content: start; gap: 6px; margin-top: 18px; }
.field > .pc-opts { justify-self: start; }
.field:first-of-type { margin-top: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.field-row .field { margin-top: 0; }
.field > label, .field > .label { font-size: 15px; font-weight: 800; line-height: 1.5; }
.field .req { margin-left: 4px; color: var(--orange-ink); font-size: 13px; }
.field .opt { margin-left: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.field .help { color: var(--muted); font-size: 13px; line-height: 1.6; }
.field input[type="text"], .field input[type="url"], .field input[type="date"], .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper-light); font-size: 16px; line-height: 1.6; }
.field textarea { min-height: 112px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #fff; }
.field .error { display: none; color: var(--red-ink); font-size: 13px; font-weight: 700; }
.field.is-invalid :is(input, select, textarea) { border-color: var(--red-ink); background: #fff6f6; }
.field.is-invalid .error { display: block; }
.point-check { display: grid; gap: 8px; }
.point-check .pc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-light); }
.point-check .pc-row b { font-size: 14px; line-height: 1.5; }
.point-check .pc-row small { display: block; color: var(--muted); font-size: 13px; }
.pc-opts { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.pc-opts label { position: relative; }
.pc-opts input { position: absolute; opacity: 0; }
.pc-opts span { display: block; min-width: 52px; padding: 6px 10px; border-left: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; }
.pc-opts label:first-child span { border-left: 0; }
.pc-opts input:checked + span { background: var(--ink); color: var(--white); }
.pc-opts input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: -3px; }
.check-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-light); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.check-row b { display: block; font-size: 14px; line-height: 1.5; }
.check-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.point-check.is-invalid .pc-row.is-empty { border-color: var(--red-ink); background: #fff6f6; }
.point-check .error { display: none; color: var(--red-ink); font-size: 13px; font-weight: 700; }
.point-check.is-invalid .error { display: block; }
.point-check.is-off .pc-opts { opacity: .4; pointer-events: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.form-hint { color: var(--muted); font-size: 13px; line-height: 1.6; }
.preview-side { position: sticky; top: 20px; display: grid; gap: 16px; }
.preview-card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.preview-card .ph { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; }
.preview-card .ph .pill { margin-left: auto; background: var(--white); color: var(--ink); }
.preview-card .pb { padding: 16px; }
.preview-card .pb h3 { font-size: 17px; line-height: 1.5; }
.preview-card .pb .card-top + h3 { margin-top: 10px; }
.preview-card .pb .card-sum, .preview-card .pb .card-strip { margin-top: 10px; }
.preview-card .pb .card-meta { margin-top: 12px; }
.preview-card .pb dl { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; line-height: 1.6; }
.preview-card .pb dl div { display: grid; grid-template-columns: 5em 1fr; gap: 8px; }
.preview-card .pb dt { color: var(--muted); }
.preview-card .pb .placeholder { color: #9a9c91; }
.preview-row { margin-top: 14px; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.preview-row .pr-head { padding: 8px 12px; border-bottom: 1px solid var(--ink); background: var(--paper-light); font-size: 13px; font-weight: 800; }
.preview-row ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.preview-row li { padding: 8px 10px; background: var(--white); font-size: 13px; line-height: 1.5; }
.preview-row li b { display: block; font-size: 12px; color: var(--muted); }
.preview-status { padding: 12px 16px; border-top: 1.5px solid var(--ink); background: var(--paper-light); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.preview-status.is-ready { background: var(--lime-tint); }
.notice { padding: 14px 16px; border: 1.5px dashed var(--ink); border-radius: var(--radius); background: var(--paper-light); font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.notice b { color: var(--ink); }

/* ---------- 俱乐部页 ---------- */
.club-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: stretch; padding-block: 36px 40px; }
.club-poster { padding: 30px; border: 2px solid var(--ink); border-radius: var(--radius); background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; color: #fff; box-shadow: var(--shadow); }
.club-poster .exp-id { color: #dbe4ff; }
.club-poster h1 { margin: 14px 0 14px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.3; }
.club-poster p { color: #dbe4ff; font-size: 16px; line-height: 1.8; max-width: 32em; }
.club-poster .btn { margin-top: 22px; }
.club-side { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.club-side h2 { font-size: 18px; line-height: 1.45; }
.club-side .bars .bar-cells i { border-color: var(--ink); }
.club-side .bars .bar-cells i.on { background: var(--blue); border-color: var(--blue); }
.club-side .bar-row small { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.timeline li { padding: 18px 20px; border-left: 1.5px solid var(--ink); }
.timeline li:first-child { border-left: 0; }
.timeline li span { font: 800 12px/1 var(--mono); color: var(--muted); }
.timeline li.done span { color: #3d5a00; }
.timeline li.now { background: var(--lime-tint); box-shadow: inset 0 4px 0 var(--blue); }
.timeline li.now span { color: var(--blue); }
.timeline h3 { margin: 10px 0 4px; font-size: 17px; }
.timeline p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.member-card .avatar { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); font: 800 15px/1 var(--mono); }
.member-card .card-top { gap: 14px; }
.member-card .who b { display: block; font-size: 17px; line-height: 1.4; }
.member-card .who span { color: var(--muted); font-size: 13px; }
.mark-btn { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 44px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); font-size: 14px; font-weight: 800; }
.mark-btn[aria-pressed="true"] { background: var(--lime); }
.me-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-block: 40px 24px; }
.me-head .avatar { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); box-shadow: var(--shadow-sm); font: 800 18px/1 var(--mono); }
.me-head h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.3; }
.me-head p { color: var(--muted); font-size: 15px; }
.me-head .btn { margin-left: auto; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.stat-row > div { padding: 16px 20px; border-left: 1.5px solid var(--ink); }
.stat-row > div:first-child { border-left: 0; }
.stat-note { margin-top: 10px; }
.stat-row b { display: block; font: 800 30px/1.1 var(--mono); }
.stat-row span { color: var(--muted); font-size: 14px; }
.todo-list { border-top: 2px solid var(--ink); }
.todo-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.todo-list h3 { font-size: 16px; line-height: 1.5; }
.todo-list p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.todo-list .pill { justify-self: start; }

/* ---------- 提示 ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; max-width: min(92vw, 460px); padding: 12px 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--lime); font-size: 14px; font-weight: 700; line-height: 1.5; transform: translateX(-50%); }

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); gap: 40px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .scoreboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 40px), var(--shell)); }
  .site-nav { display: none; }
  .header-inner { min-height: 64px; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 48px; }
  .poster-wrap { max-width: 560px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-grid a, .band-grid a:first-child, .band-grid a:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid #45473f; }
  .band-grid a:first-child { border-top: 0; }
  .preview-grid { grid-template-columns: 1fr; }
  .obs-list.is-row { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raw-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0; border-top: 1.5px solid var(--ink); }
  .steps li:first-child { border-top: 0; }
  .checker { grid-template-columns: 1fr; }
  .checker-in { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .form-layout { grid-template-columns: 1fr; }
  .preview-side { position: static; }
  .club-hero { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li:nth-child(3) { border-left: 0; }
  .timeline li:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }

  /* 手机底栏 */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 2px solid var(--ink); background: var(--paper-light); }
  .dock > a, .dock > details > summary { display: grid; place-items: center; align-content: center; gap: 2px; min-height: 62px; font-size: 13px; font-weight: 800; color: var(--ink-2); list-style: none; cursor: pointer; }
  .dock > details > summary::-webkit-details-marker { display: none; }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .dock > a[aria-current], .dock > details.is-current > summary { color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
  .dock > details[open] > summary { color: var(--blue); background: var(--lime-tint); }
  .dock .club-menu { position: fixed; top: auto; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); width: auto; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 32px); }
  .prototype-bar { gap: 8px; font-size: 12px; }
  .prototype-bar b { display: none; }
  .brand > span { font-size: 21px; }
  .header-inner { min-height: 58px; }
  .header-cta.btn-sm { min-height: 38px; padding: 6px 12px; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); }
  .section { padding-block: 48px; }
  .section-head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 20px; }
  .section-head h2 { font-size: 25px; }

  .hero { padding-block: 26px 36px; gap: 22px; }
  .eyebrow { font-size: 13px; }
  .hero-copy h1 { margin: 14px 0 14px; font-size: 40px; line-height: 1.16; }
  .hero-lede { font-size: 16px; line-height: 1.8; }
  .hero-actions { margin-top: 20px; gap: 12px 20px; }
  .hero-index { display: none; }
  .poster-wrap { padding: 26px 6px 8px 0; }
  .poster { transform: rotate(.6deg); box-shadow: 6px 6px 0 var(--ink); }
  .poster-body { padding: 20px 18px 18px; }
  .poster h2 { margin: 14px 0 14px; font-size: 21px; }
  .poster-link { padding: 14px 18px; }
  .sticker { width: 64px; height: 64px; font-size: 11px; right: -2px; top: 4px; }
  .bar-row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; font-size: 13px; }
  .bar-row small { display: none; }

  .page-hero { grid-template-columns: 1fr; padding-block: 28px 18px; gap: 14px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 15px; }
  .page-hero .hero-side { display: none; }
  .filters { padding: 12px; gap: 10px; }
  .filter-group { display: grid; gap: 6px; }
  .filter-group > span { width: auto; font-size: 13px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; min-height: 40px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-body { padding: 18px 16px 16px; }
  .card h3 { font-size: 18px; }
  .card-link, .card-note { padding-inline: 16px; }
  .note-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .note-row .tail { justify-content: space-between; }

  .crumb { padding-top: 16px; font-size: 13px; }
  .detail-hero { padding-block: 12px 28px; gap: 22px; }
  .detail-hero h1 { font-size: 27px; line-height: 1.36; }
  .detail-lede { font-size: 16px; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .meta-grid > div { padding-right: 10px; }
  .summary-card { padding: 20px 18px; box-shadow: 4px 4px 0 var(--ink); }
  .summary-card .big { font-size: 18px; }
  .section-nav a { min-height: 46px; padding: 0 12px; font-size: 14px; }
  .dsec { padding-block: 40px 4px; }
  .dsec-head { flex-direction: column; align-items: start; gap: 8px; }
  .dsec-head h2 { font-size: 24px; }
  .scoreboard { gap: 10px; }
  .score { padding: 12px 12px; }
  .score-num { font-size: 26px; }
  .score .score-num.is-text { font-size: 16px; }
  .score p { font-size: 12px; }
  .toolbar { gap: 10px; }
  .toolbar .count { margin-left: 0; width: 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1; }

  /* 手机矩阵：每个核对点一张卡，下排模型横向并列 */
  .matrix-wrap { border: 0; background: transparent; overflow: visible; }
  .matrix, .matrix tbody, .matrix tr { display: block; width: 100%; }
  .matrix thead { display: none; }
  .matrix tbody { display: grid; gap: 12px; }
  .matrix tr { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); overflow: hidden; }
  .matrix tbody th { grid-column: 1 / -1; padding: 12px 14px; border-bottom: 1px solid var(--ink); background: var(--paper-light); }
  .matrix tr.has-split > th { box-shadow: inset 4px 0 0 var(--orange); }
  .matrix td { display: block; padding: 10px 10px 12px; border-bottom: 0; border-left: 1px solid var(--line-soft); }
  .matrix td:nth-child(2) { border-left: 0; }
  .matrix td.col-hidden { display: none; }
  .matrix td::before { content: attr(data-model); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
  .matrix .res-tag { font-size: 13px; padding-right: 6px; }
  .matrix .res p { font-size: 12px; line-height: 1.55; }
  .matrix-caption { margin-top: 12px; padding: 0; border: 0; background: none; }
  .panel .matrix-wrap { padding: 12px; }
  .panel .matrix tr { box-shadow: none; }

  .material ol.lines li { grid-template-columns: 34px 1fr; padding-right: 14px; font-size: 15px; }
  .material ol.lines li > span { padding-left: 12px; }
  .material-head { padding: 12px 14px; }
  .material pre { padding: 14px; font-size: 14px; }
  .settings th, .settings td { padding: 10px 12px; font-size: 14px; }
  .settings tbody th { width: 6.5em; }
  .settings.is-stack, .settings.is-stack tbody, .settings.is-stack tr, .settings.is-stack th, .settings.is-stack td { display: block; width: 100%; }
  .settings.is-stack thead { display: none; }
  .settings.is-stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  .settings.is-stack tr:last-child { border-bottom: 0; }
  .settings.is-stack th, .settings.is-stack td { padding: 2px 0; border: 0; }
  .settings.is-stack td::before { content: attr(data-label) "："; color: var(--muted); font-size: 13px; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 22px 18px; box-shadow: 4px 4px 0 var(--ink); }
  .cta-band .btn { justify-content: space-between; }
  .versions li { grid-template-columns: 60px 1fr; gap: 4px 12px; }
  .versions li span:last-child { grid-column: 1 / -1; }

  .fact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .checker { box-shadow: 4px 4px 0 var(--ink); }
  .checker textarea { min-height: 200px; font-size: 15px; }

  .form-card { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .point-check .pc-row { grid-template-columns: 1fr; }
  .pc-opts { justify-self: start; }
  .preview-row ul { grid-template-columns: 1fr; }

  .club-poster { padding: 22px 18px; box-shadow: 4px 4px 0 var(--ink); }
  .club-poster h1 { font-size: 27px; }
  .club-poster p { font-size: 15px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-left: 0 !important; border-top: 1.5px solid var(--ink); }
  .timeline li:first-child { border-top: 0; }
  .me-head { padding-block: 28px 18px; gap: 14px; }
  .me-head .btn { margin-left: 0; width: 100%; justify-content: space-between; }
  .stat-row > div { padding: 12px; }
  .stat-row b { font-size: 24px; }
  .stat-row span { font-size: 13px; }
  .todo-list li { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-block: 28px 32px; gap: 20px; }
}

/* ======================================================================
   补回的 Kimi 原版板块（2026-10-26 第二轮：先做加法）
   ====================================================================== */

/* 首页：宣言＋怎么一起研究（深色段） */
.how { border-block: 2px solid var(--ink); background: var(--ink); color: var(--white); }
.how-manifesto { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #45473f; }
.how-manifesto > div { padding: 26px 28px 24px; border-left: 1px solid #45473f; }
.how-manifesto > div:first-child { padding-left: 0; border-left: 0; }
.how-manifesto span { color: var(--lime); font: 800 12px/1.5 var(--mono); letter-spacing: .1em; }
.how-manifesto h3 { margin: 6px 0 6px; font-size: 20px; }
.how-manifesto p { color: #c9cbc0; font-size: 14px; line-height: 1.7; }
.how-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 40px; padding-block: 44px 48px; }
.how-body .kicker { color: var(--lime); }
.how-body h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; }
.how-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #45473f; }
.how-steps li { padding: 20px 24px 20px 0; border-bottom: 1px solid #45473f; }
.how-steps li:nth-child(odd) { border-right: 1px solid #45473f; }
.how-steps li:nth-child(even) { padding-left: 24px; }
.how-steps span { color: var(--lime); font: 800 13px/1 var(--mono); }
.how-steps h3 { margin: 8px 0 6px; font-size: 18px; line-height: 1.45; }
.how-steps p { color: #c9cbc0; font-size: 14px; line-height: 1.7; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.hero-note::before { content: "↳"; color: var(--blue); font-size: 18px; }
.note-row.is-open { background: var(--paper-light); }
.note-row.is-open .exp-id { color: var(--blue); font-size: 18px; }
.cta-band .cta-sub { margin-top: 10px; font-size: 14px; }

/* 实验详情：比较什么、实验约定、参与方式、进展 */
.compare-what { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--blue); color: #fff; }
.compare-what > div { padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.35); }
.compare-what > div:first-child { border-left: 0; }
.compare-what b { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid #fff; border-radius: 50%; font: 800 12px/1 var(--mono); }
.compare-what h3 { margin: 10px 0 4px; font-size: 17px; }
.compare-what p { color: #dbe4ff; font-size: 14px; line-height: 1.7; }
.rules-box { margin-top: 20px; padding: 18px 22px; border: 1.5px dashed var(--ink); border-radius: var(--radius); background: var(--paper-light); }
.rules-box h3 { margin-bottom: 8px; font-size: 17px; }
.rules-box ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.rules-box li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.75; }
.rules-box li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--orange); }
.role-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.role-cards button { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); text-align: left; }
.role-cards button:hover { background: var(--lime-tint); }
.role-cards b { font-size: 15px; }
.role-cards small { grid-column: 1; color: var(--muted); font-size: 13px; line-height: 1.5; }
.role-cards span { grid-column: 2; grid-row: 1 / span 2; font-weight: 800; }
.role-state { margin-top: 10px; color: var(--muted); font-size: 14px; }
.role-state b { color: var(--ink); }
.progress-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.progress-grid .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.progress-grid .timeline li:nth-child(3) { border-left: 0; }
.progress-grid .timeline li:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
.open-q { padding: 20px 22px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--yellow); }
.open-q h3 { margin-bottom: 8px; font-size: 17px; }
.open-q li { position: relative; padding: 6px 0 6px 22px; border-bottom: 1px dashed rgba(17,18,15,.25); font-size: 15px; line-height: 1.65; }
.open-q li:last-child { border-bottom: 0; }
.open-q li::before { content: "?"; position: absolute; left: 0; top: 6px; color: var(--blue); font: 800 15px/1.65 var(--mono); }

/* 对话框 */
.club-dialog { width: min(92vw, 520px); padding: 0; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.club-dialog::backdrop { background: rgba(17,18,15,.45); }
.club-dialog form { position: relative; padding: 26px 26px 22px; }
.club-dialog h2 { margin: 4px 0 6px; font-size: 22px; }
.club-dialog .dialog-lede { color: var(--muted); font-size: 14px; line-height: 1.7; }
.dialog-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; }
.join-roles { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; border: 0; }
.join-roles label { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 3px; cursor: pointer; }
.join-roles label:has(input:checked) { border-color: var(--ink); background: var(--lime-tint); }
.join-roles input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.join-roles b { display: block; font-size: 15px; }
.join-roles small { color: var(--muted); font-size: 13px; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }

/* 挑战页：集体结果墙 */
.wall-card .card-top .pill { margin-left: auto; }
.wall-card dl { display: grid; gap: 8px; }
.wall-card dt { color: var(--blue); font-size: 13px; font-weight: 800; }
.wall-card dd { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.wall-card h3 { font-size: 18px; }

/* 结论详情：主栏＋侧栏 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.split-aside { position: sticky; top: 20px; display: grid; gap: 16px; padding-top: 56px; }
.reasons li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reasons li:first-child { border-top: 2px solid var(--ink); }
.reasons li > span { color: var(--blue); font: 800 15px/1.6 var(--mono); }
.reasons h3 { font-size: 17px; line-height: 1.5; }
.reasons p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.ev-glance { padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--yellow); }
.ev-glance h3 { font-size: 16px; margin-bottom: 12px; }
.ev-glance .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.ev-glance .nums b { display: block; font: 800 28px/1.1 var(--mono); }
.ev-glance .nums span { color: var(--ink-2); font-size: 12px; }
.ev-glance p { margin-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.side-box { padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.side-box h3 { margin-bottom: 10px; font-size: 16px; }
.side-box blockquote { margin: 0; padding-left: 12px; border-left: 3px solid var(--blue); font-size: 14px; line-height: 1.8; }
.side-box blockquote span { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-right: 6px; }
.side-box ul li { position: relative; padding: 4px 0 4px 16px; font-size: 14px; line-height: 1.7; }
.side-box ul li::before { content: "•"; position: absolute; left: 2px; color: var(--blue); font-weight: 800; }
.side-box p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 我的：筛选、贡献记录 */
.me-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.me-layout .chips { margin-bottom: 14px; }
.stat-row.has-week { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); }
.stat-row .week { background: var(--blue); color: #fff; }
.stat-row .week span { color: #dbe4ff; }
.stat-row .week p { font-size: 15px; font-weight: 800; line-height: 1.5; }
.contrib-log { padding: 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--yellow); }
.contrib-log h2 { margin-bottom: 10px; font-size: 18px; }
.contrib-log li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(17,18,15,.2); }
.contrib-log li > span { color: var(--blue); font: 800 12px/1.7 var(--mono); }
.contrib-log b { display: block; font-size: 15px; }
.contrib-log small { color: var(--ink-2); font-size: 13px; }

/* 表单：贡献类型、角色多选 */
.type-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type-cards label { position: relative; display: grid; gap: 4px; padding: 14px 14px 14px 44px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--paper-light); cursor: pointer; }
.type-cards input { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.type-cards label:has(input:checked) { border-color: var(--ink); background: var(--lime-tint); box-shadow: var(--shadow-sm); }
.type-cards label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.type-cards b { font-size: 15px; }
.type-cards small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.type-cards.is-check input { border-radius: 2px; }
.type-note { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.field.is-optional-now > label .req { display: none; }

@media (max-width: 900px) {
  .how-manifesto { grid-template-columns: 1fr; }
  .how-manifesto > div, .how-manifesto > div:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid #45473f; }
  .how-manifesto > div:first-child { border-top: 0; }
  .how-body { grid-template-columns: 1fr; gap: 20px; padding-block: 32px 36px; }
  .compare-what { grid-template-columns: 1fr; }
  .compare-what > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .compare-what > div:first-child { border-top: 0; }
  .role-cards { grid-template-columns: 1fr; }
  .progress-grid { grid-template-columns: 1fr; }
  .split, .me-layout { grid-template-columns: 1fr; }
  .split-aside { position: static; padding-top: 24px; }
  .stat-row.has-week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-row.has-week .week { grid-column: 1 / -1; border-left: 0; border-top: 1.5px solid var(--ink); }
}
@media (max-width: 640px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li, .how-steps li:nth-child(even) { padding: 16px 0; border-right: 0 !important; }
  .rules-box ul { grid-template-columns: 1fr; }
  .progress-grid .timeline { grid-template-columns: 1fr; }
  .progress-grid .timeline li { border-left: 0 !important; border-top: 1.5px solid var(--ink); }
  .progress-grid .timeline li:first-child { border-top: 0; }
  .type-cards { grid-template-columns: 1fr; }
  .club-dialog form { padding: 22px 18px 18px; }
}

.todo-list .tail { display: inline-flex; align-items: center; gap: 10px; }
.me-layout.section { padding-block: 40px 24px; }

.settings.is-stack tbody th { width: 11em; white-space: nowrap; }
@media (max-width: 640px) { .settings.is-stack tbody th { width: 100%; white-space: normal; } }
