:root {
  --night: #15120e; --night-2: #1f1a15; --line-d: #3a3128; --text-d: #f1e9da; --muted-d: #b3a68f;
  --paper: #f5ead2; --paper-2: #e9dcc0; --ink: #221d17; --ink-2: #4e4438; --muted: #857a6a; --rule: #d9c9a8; --flame: #c0662a; --amber: #e39a3b;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 17px/1.7 var(--sans); }
a { color: inherit; }
button { font: 600 15px/1 var(--sans); cursor: pointer; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.num { font-variant-numeric: tabular-nums; }
.fatal { padding: 40px; color: #a33; }

/* ---------- 深色测评台 ---------- */
.deck { background: var(--night); color: var(--text-d); border-bottom: 1px solid var(--line-d); }
.topbar { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); background: rgba(12, 16, 23, .85); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 64px; transition: height .25s var(--ease); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand b { font: 700 21px "Kaiti SC", "STKaiti", "KaiTi", var(--serif); color: #fff; letter-spacing: .06em; }
.brand span { font-size: 13px; color: var(--muted-d); letter-spacing: .08em; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; min-width: 0; }
.nav a { font-size: 14px; color: var(--muted-d); text-decoration: none; padding: 6px 10px; border-radius: 6px; white-space: nowrap; transition: color 160ms var(--ease), background 160ms var(--ease); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.top-social { display: flex; align-items: center; gap: 8px; flex: none; }
.ts-x, .ts-gh { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; font: 600 13px/1.2 var(--sans); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.ts-x .ico, .ts-gh .ico { flex: none; }
.ts-x { background: var(--flame); color: #fff; border: 1px solid var(--flame); }
.ts-x:hover { background: #b87333; border-color: #b87333; color: #fff; transform: translateY(-1px); }
.ts-gh { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.ts-gh:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; transform: translateY(-1px); }
@supports (animation-timeline: scroll()) {
  .topbar .wrap { animation: shrink linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  @keyframes shrink { to { height: 52px; } }
}

.intro { padding-top: 40px; padding-bottom: 24px; }
.intro .kicker { margin: 0; font-size: 13px; letter-spacing: .08em; color: var(--flame); font-weight: 600; }
.intro h1 { font: 700 44px/1.25 var(--serif); margin: 8px 0 12px; color: #fff; letter-spacing: .01em; }
.intro p { margin: 0; color: #b9c2d6; font-size: 18px; max-width: 900px; }
.intro-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; }
.intro .stamp { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-d); font-variant-numeric: tabular-nums; }
.intro .stamp i { width: 6px; height: 6px; border-radius: 2px; background: var(--flame); }
.intro-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.intro-social .is-note { font-size: 13px; color: var(--muted-d); }
.foot-social-eval { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foot-social-eval .ts-gh { background: #fff; color: var(--ink); border-color: var(--rule); }
.foot-social-eval .ts-gh:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }

/* 题目横栏：大图卡片，图是测评画面截图；当前题目全彩高亮，其余压暗，悬停时亮起并缓慢放大 */
.tasks { display: grid; grid-template-columns: repeat(var(--n), minmax(280px, 1fr)); gap: 16px; padding: 8px 0 4px; }
.task { position: relative; overflow: hidden; height: 260px; border-radius: 12px; border: 1px solid var(--line-d); padding: 0; text-align: left; color: #fff; background: #000; isolation: isolate;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease); }
.task .img { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; filter: saturate(.55) brightness(.62); transform: scale(1.02); transition: filter .5s var(--ease), transform 1.2s var(--ease); }
.task::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 18, .88) 0%, rgba(5, 8, 18, .45) 45%, transparent 75%), linear-gradient(0deg, rgba(5, 8, 18, .75), transparent 55%); }
/* 动态高光片段（J）：卡片背景是一段静音视频，盖在背景图（poster 兜底）上；可见/悬停时由 hub.js 决定播不播 */
.task .img .hl-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.task:hover .img { filter: saturate(.85) brightness(.8); transform: scale(1.05); }
.task[aria-selected="true"] { border-color: var(--flame); box-shadow: 0 0 0 1px var(--flame), 0 12px 28px rgba(0, 0, 0, .45); transform: translateY(-1px); }
.task[aria-selected="true"] .img { filter: none; }
.task .body { position: absolute; left: 24px; bottom: 20px; right: 24px; display: flex; flex-direction: column; gap: 6px; }
.task .idx { font: 600 13px var(--mono); letter-spacing: .08em; color: rgba(255, 255, 255, .72); display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.task .idx em { font-style: normal; font-family: var(--sans); letter-spacing: .02em; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--flame); color: #fff; opacity: 0; transform: translateX(-4px); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.task[aria-selected="true"] .idx em { opacity: 1; transform: none; }
.task b { font: 700 36px/1.15 var(--serif); letter-spacing: .01em; text-shadow: 0 2px 16px rgba(0, 0, 0, .65); }
/* 四道题并排时卡片变窄：标题按宽度收敛，题目和标签各限两行/一行，避免内容顶出卡片被裁掉 */
.tasks.n4 .task { height: 340px; }
.tasks.n4 .task .body { gap: 6px; }
.tasks.n4 .task b { font-size: 28px; }
.tasks.n4 .task b small { margin-left: 8px; font-size: 14px; }
.tasks.n4 .task .q { -webkit-line-clamp: 3; }
.tasks.n4 .task .tags { max-height: 24px; }
.tasks.n4 .task .lead { flex-wrap: wrap; row-gap: 2px; font-variant-numeric: tabular-nums; }
.tasks.n4 .task .lead i { margin: 0 2px; }
.tasks.n3 .task b { font-size: 32px; }
.task b small { font: 500 15px var(--sans); margin-left: 10px; color: rgba(255, 255, 255, .75); letter-spacing: 0; }
.task .q { font: 400 14px/1.55 var(--sans); color: rgba(255, 255, 255, .84); max-width: 460px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.task .lead { font: 500 13px var(--sans); color: rgba(255, 255, 255, .9); display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.task .lead i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }
.controls { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 16px; padding-bottom: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .label { font-size: 13px; color: var(--muted-d); margin-right: 4px; }
.chip { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .03); color: var(--text-d); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color 160ms var(--ease), background 160ms var(--ease), opacity 160ms var(--ease); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip small { color: var(--muted-d); font-weight: 400; font-family: var(--mono); font-size: 12px; }
.chip[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 26%, transparent); color: #fff; }
.chip:disabled { opacity: .35; cursor: not-allowed; }

/* 通栏舞台 */
.stage { position: relative; width: 100%; height: min(56.25vw, calc(100vh - 150px)); min-height: 360px; background: #05060a; view-transition-name: stage; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage .loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted-d); pointer-events: none; }
.stage .full { position: absolute; right: 16px; top: 16px; z-index: 3; border: 1px solid rgba(255, 255, 255, .24); background: rgba(12, 16, 23, .72); color: #fff; padding: 8px 12px; border-radius: 6px; }
.stage:fullscreen { height: 100vh; }
.grid4 { position: absolute; inset: 0; display: grid; gap: 6px; padding: 6px; }
.grid4.n1 { grid-template-columns: 1fr; } .grid4.n2 { grid-template-columns: 1fr 1fr; } .grid4.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
/* 三个的时候第一块占左边整列，右侧上下各一块，避免右下角留空 */
.grid4.n3 { grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; }
.grid4.n3 > :first-child { grid-row: 1 / span 2; }
.tile { position: relative; overflow: hidden; border-radius: 6px; background: #141824; box-shadow: inset 0 3px 0 var(--c); }
.tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transition: filter .8s; }
.tile .cap { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 13px; padding: 4px 10px; border-radius: 6px; background: rgba(12, 16, 23, .78); border: 1px solid var(--c); color: #fff; font-variant-numeric: tabular-nums; }
.tile iframe { top: 3px; height: calc(100% - 3px); }
.tile .cap em { font-style: normal; }
.tile.out iframe { filter: saturate(.2) brightness(.6); }
.tile .badge { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-7deg) scale(.6); opacity: 0; font: 700 38px var(--serif); padding: 8px 20px; border: 3px solid #ff6a3d; color: #ff6a3d; border-radius: 8px; background: rgba(12, 16, 23, .82); transition: transform .45s var(--ease), opacity .3s; white-space: nowrap; }
.tile.out .badge, .tile.win .badge { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1); }
.tile.win .badge { color: #ffd166; border-color: #ffd166; }

.under { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 16px 0; }
.under select { font: 15px var(--sans); padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line-d); background: var(--night-2); color: var(--text-d); max-width: 100%; }
.under .btn { border: 1px solid #e8ecf4; background: transparent; color: #e8ecf4; padding: 8px 16px; border-radius: 6px; }
.under .btn.primary { background: #e8ecf4; color: var(--night); }
.under .btn:disabled { opacity: .4; cursor: default; }
.under .say { color: #c9d1e3; font-size: 15px; flex: 1 1 380px; }
.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; padding: 0 0 24px; font-size: 15px; }
.verdicts > div { display: flex; gap: 8px; align-items: baseline; }
.verdicts .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.verdicts b { white-space: nowrap; }
.verdicts .why { display: block; color: var(--muted-d); font-size: 13px; line-height: 1.5; }

::view-transition-old(stage), ::view-transition-new(stage) { animation-duration: .4s; animation-timing-function: var(--ease); }
::view-transition-old(board) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(board) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 浅色区 ---------- */
section { margin-top: 64px; }
h2 { font: 700 30px/1.3 var(--serif); margin: 0 0 8px; }
.lead { color: var(--ink-2); margin: 0 0 20px; max-width: 820px; }
.board { view-transition-name: board; }
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.board-head a.more { text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--flame); padding-bottom: 2px; white-space: nowrap; }
.bars { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 44px 220px 1fr 150px; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--rule); position: relative; overflow: hidden; cursor: pointer; transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease); }
.bar:hover { transform: translateY(-1px); border-color: #c2b9aa; box-shadow: 0 6px 20px rgba(20, 30, 50, .06); }
.bar.sel { border-color: var(--c); box-shadow: inset 4px 0 0 var(--c); }
.bar .r { font: 700 20px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.bar .who b { display: block; font-size: 16px; }
.bar .who small { color: var(--muted); font-size: 13px; }
.bar .track { height: 10px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.bar .track i { display: block; height: 100%; background: var(--c); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.bars.in .track i { transform: scaleX(var(--v)); }
.bar .val { text-align: right; font-variant-numeric: tabular-nums; }
.bar .val b { font: 700 22px var(--serif); font-variant-numeric: tabular-nums; }
.bar .val small { display: block; color: var(--muted); font-size: 13px; }
.bar.ref { background: repeating-linear-gradient(135deg, #fff 0 10px, #f8f5f0 10px 20px); cursor: default; }
.bar.ref:hover { transform: none; box-shadow: none; }

/* 这道题考什么：左边能力（对应栏目的速度 / 广度 / 深度 / 高度），右边难点 */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about h3 { font: 700 20px var(--serif); margin: 0 0 12px; }
.skills, .hard { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 20px 24px; }
.skill { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.skill:first-of-type { border-top: 0; padding-top: 0; }
.skill b { display: block; font-size: 17px; }
.skill p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.dim { align-self: start; text-align: center; font: 700 15px var(--serif); padding: 6px 0; border-radius: 6px; color: #fff; }
.d-深度 { background: #2a5f9e; } .d-广度 { background: #1f8a8a; } .d-高度 { background: #b8436e; } .d-速度 { background: #c98a1a; }
.hard ol { margin: 0; padding: 0; list-style: none; counter-reset: k; }
.hard li { counter-increment: k; position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.hard li:first-child { border-top: 0; padding-top: 0; }
.hard li::before { content: counter(k, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 700 18px var(--mono); color: var(--flame); font-variant-numeric: tabular-nums; }
.hard li:first-child::before { top: 0; }
.hard li b { color: var(--ink); }
.task .tags { display: flex; gap: 6px; flex-wrap: wrap; max-height: 46px; overflow: hidden; }
.task .tags i { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .9); background: rgba(12, 16, 23, .45); }

.table-wrap { overflow-x: auto; }
table.mx { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 620px; font-size: 15px; font-variant-numeric: tabular-nums; }
table.mx th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); padding: 8px 12px; }
table.mx td { border-bottom: 1px solid var(--rule); padding: 12px; }
table.mx td.m { display: flex; align-items: center; gap: 10px; }
table.mx td.m .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
table.mx td.m small { color: var(--muted); display: block; font-size: 13px; }
table.mx td.s { cursor: pointer; border-radius: 6px; transition: background 160ms var(--ease); }
table.mx td.s:hover { background: #fff; }
table.mx td.s b { font: 700 20px var(--serif); font-variant-numeric: tabular-nums; }
table.mx td.s small { display: block; color: var(--muted); font-size: 13px; }
table.mx td.none { color: #c3bdb2; }

.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method div { border-top: 2px solid var(--ink); padding-top: 12px; color: var(--ink-2); font-size: 15px; }
.method b { display: block; color: var(--ink); font: 700 18px var(--serif); margin-bottom: 4px; }
footer { margin: 72px 0 40px; padding-top: 16px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }

/* 滚动进入时浮现（浏览器支持 scroll-driven animations 时启用，不支持就直接显示） */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* 某题数据载入失败：这张卡保留标题和重试按钮，其余题目与导航照常 */
.task.failed { cursor: default; }
.task .retry-row { display: flex; gap: 8px; align-items: center; }
.task .retry { border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 15, 29, .65); color: #fff; padding: 7px 14px; border-radius: 8px; }
.task .retry:hover { background: var(--flame); border-color: var(--flame); }
.task.loading { opacity: .7; }
.stage-fail { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; color: var(--text-d); padding: 24px; }
.stage-fail b { font: 900 22px var(--serif); }
.stage-fail p { margin: 0; color: var(--muted-d); max-width: 460px; }
.stage-fail .btn { border: 1px solid #e8ecf4; background: #e8ecf4; color: var(--night); padding: 10px 16px; border-radius: 8px; }

/* ---------- 响应式 ---------- */
/* 901–1280px：四张题目卡并排放不下（4 × 280 + 间距 > 内容宽），改两列，避免整页横向溢出 */
@media (min-width: 901px) and (max-width: 1280px) {
  .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tasks.n4 .task { height: 300px; }
}
/* 窄屏：品牌只留名字，导航横向滚动，不挤压换行 */
@media (max-width: 640px) {
  .topbar .wrap { gap: 10px; }
  .brand b { font-size: 17px; }
  .brand span { display: none; }
  .nav { overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 8px 9px; font-size: 13px; }
  .intro h1 { font-size: 27px; }
  .intro .stamp { font-size: 12px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .intro h1 { font-size: 32px; }
  .tasks { grid-template-columns: 1fr; } .task { height: 190px; } .task b { font-size: 30px; }
  .bar { grid-template-columns: 32px 1fr 110px; } .bar .track { display: none; }
  .about, .method { grid-template-columns: 1fr; }
  .nav a.hide-s { display: none; }
}
/* 作品卡片 */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.work { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease); }
.work:hover { transform: translateY(-1px); border-color: #c2b9aa; box-shadow: 0 8px 24px rgba(29, 34, 48, .08); }
.work img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.work div { padding: 16px; }
.work b { display: block; font-size: 18px; }
.work small { color: var(--muted); font-size: 13px; }
.work p { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* 过山车 / 天坛舞台：成片与截图并排 */
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #05060a; }
.tile.shot { cursor: zoom-in; }
.tile.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #05060a; }
.tile.shot img[hidden] { display: none; }
@media (max-width: 900px) { .grid4.n3, .grid4.n4 { grid-template-columns: 1fr; grid-template-rows: repeat(auto-fit, 1fr); } }

/* 过山车 / 天坛：成片和截图都是 16:9，舞台不再占满一屏高，否则上下大片黑边 */
.stage.media { height: min(52vw, 620px); }
.stage.media.fit-shot { height: min(38vw, 460px); }
@media (max-width: 900px) { .stage.media, .stage.media.fit-shot { height: auto; aspect-ratio: 16 / 10; } }

/* ---------- 服务端静态正文（2026-10-29）：无 JS 的爬虫与 AI 检索读到的是这一段 ----------
   build.js 把它写在 <main id="app"> 之前；hub.js 把测评台渲染成功之后移除 #static-body。
   四道题的卡片是真实 <a>，不依赖 JS 也能点到；样式与 /method/、/about/ 的正文同一套配色。 */
.site-crumbs { max-width: 1280px; margin: 0 auto; padding: 12px 32px; font-size: 13px; line-height: 1.6; color: var(--muted); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.site-crumbs a { color: var(--ink-2); text-decoration: none; }
.site-crumbs a:hover { color: var(--flame); text-decoration: underline; }
.site-crumbs .sep { color: var(--rule); }
.site-crumbs .crumb-social { display: inline-flex; align-items: center; gap: 8px; }
.site-crumbs .crumb-social a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 6px; font: 600 12.5px/1.2 var(--sans); text-decoration: none !important; }
.site-crumbs .crumb-social a.cs-x { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.site-crumbs .crumb-social a.cs-x:hover { background: var(--flame); border-color: var(--flame); color: #fff; }
.site-crumbs .crumb-social a.cs-gh { background: #fff; color: var(--ink); border: 1px solid var(--rule); }
.site-crumbs .crumb-social a.cs-gh:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.static-body { max-width: 1200px; margin: 0 auto; padding: 12px 32px 48px; }
.static-body h1 { font: 700 38px/1.3 var(--serif); margin: 12px 0 8px; letter-spacing: .01em; }
.static-body .sub { margin: 0 0 6px; font-size: 19px; color: var(--ink-2); }
.static-body .meta { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.static-body .define { margin: 0 0 18px; padding: 14px 18px; border-left: 3px solid var(--flame); background: var(--paper-2); border-radius: 0 10px 10px 0; font-size: 17px; max-width: 900px; }
.static-body h2 { font: 700 24px/1.35 var(--serif); margin: 30px 0 10px; }
.static-body h3 { font: 700 17px/1.5 var(--sans); margin: 20px 0 4px; }
.static-body p, .static-body ul { max-width: 900px; font-size: 16px; line-height: 1.75; }
.static-body ul { padding-left: 22px; }
.static-body li { margin: 4px 0; }
.static-cards { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; max-width: none; }
.static-cards li { margin: 0; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); }
.static-cards a { display: block; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
.static-cards a:hover { color: var(--flame); }
.static-cards a span { margin-left: 6px; font-weight: 400; font-size: 13px; color: var(--muted); }
.static-cards p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.static-back { margin-top: 22px; font-size: 15px; }
.static-back a { color: var(--ink-2); }
@media (max-width: 640px) {
  .site-crumbs { padding: 16px 18px 0; }
  .static-body { padding: 8px 18px 34px; }
  .static-body h1 { font-size: 28px; }
  .static-body h2 { font-size: 21px; margin-top: 24px; }
  .static-body .sub { font-size: 17px; }
}
