/* 格物（science.qianlong.wiki）样式：深色主题，照书单站 / 影单站的那一套改的。
   CSP 是 default-src 'self'：页面里不能有 style="" 属性，所有样式都写在这里（周期表格子的位置也用类名 r1..r10 / c1..c18）。 */
:root {
  --bg: #0d1117;
  --bg2: #141a22;
  --bg3: #1c2430;
  --line: #263040;
  --text: #e6ecf3;
  --text2: #b3bfcc;
  --muted: #7d8a9a;
  --accent: #5ec8e8;
  --accent2: #9fe3f7;
  --link: #9ccaff;
  --warm: #f2b544;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.65 var(--font); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 24px; padding-bottom: 24px; min-height: 60vh; }
i { font-style: italic; }

/* ---------- 顶栏 ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13, 17, 23, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hbar { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: .12em; flex-shrink: 0; }
.brand img { border-radius: 7px; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 9px; border-radius: 6px; color: var(--text2); white-space: nowrap; font-size: 14.5px; }
.nav a:hover { background: var(--bg3); color: var(--text); }
.nav a.on { color: var(--accent); background: rgba(94, 200, 232, .1); }
.hsearch { margin-left: auto; }
.hsearch input { width: 220px; height: 36px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); padding: 0 16px; font: inherit; font-size: 14px; outline: none; }
.hsearch input:focus { border-color: var(--accent); }
@media (max-width: 980px) {
  .hbar { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 8px 6px; }
  .brand { font-size: 17px; }
  .nav { flex: 1; }
  .nav a { padding: 6px 6px; font-size: 14px; }
  .hsearch { order: 3; width: 100%; margin: 0; }
  .hsearch input { width: 100%; }
}

/* ---------- 首页大图 ---------- */
.hero { position: relative; margin: -24px -16px 8px; padding: 72px 16px 56px; overflow: hidden; }
.wall { position: absolute; inset: -40px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; opacity: .2; transform: rotate(-5deg) scale(1.12); filter: grayscale(.4); }
.wall img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(13, 17, 23, .5), rgba(13, 17, 23, .97) 72%); }
.hero-in { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 48px; letter-spacing: .3em; padding-left: .3em; }
.hero p { color: var(--text2); margin: 12px 0 28px; font-size: 16px; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.quick a { padding: 5px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(20, 26, 34, .8); font-size: 14px; color: var(--text2); }
.quick a:hover { border-color: var(--accent); color: var(--accent2); }
.bigsearch { display: flex; max-width: 620px; border: 1px solid var(--line); border-radius: 26px; background: var(--bg2); overflow: hidden; margin: 0 auto 18px; }
.bigsearch:focus-within { border-color: var(--accent); }
.bigsearch input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--text); padding: 0 20px; font: inherit; font-size: 16px; outline: none; }
.bigsearch button { border: 0; background: var(--accent); color: #062431; font: inherit; font-weight: 700; padding: 0 24px; cursor: pointer; }
.bigsearch button:hover { background: var(--accent2); }
@media (max-width: 600px) { .hero h1 { font-size: 36px; } .hero { padding-top: 48px; } }

/* ---------- 区块、标题 ---------- */
.sec { margin: 34px 0; }
.sech { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sech h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.sech h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--accent); }
.more { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.phead { margin: 6px 0 22px; }
.phead h1 { font-size: 30px; margin-bottom: 8px; }
.phead p { color: var(--text2); max-width: 900px; margin: 6px 0; }
.phead p a, .about a, .prose a, .overview a, .facts a, .src a, .credit a, .hint a { color: var(--link); }
.crumb { color: var(--muted); font-size: 13.5px; margin: 0 0 6px; }
.crumb a { color: var(--text2); }
.crumb a:hover { color: var(--accent2); }
.hint { color: var(--muted); font-size: 13.5px; }
.loading { color: var(--muted); padding: 30px 0; text-align: center; }

/* ---------- 卡片 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 14px; }
.rail { position: relative; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 140px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.card { display: block; min-width: 0; }
.poster { position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--bg3); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .poster img { transform: scale(1.04); }
.noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 30px; font-weight: 700; color: #3b4a5c;
  background: linear-gradient(135deg, #1a2330, #121820); letter-spacing: .05em; }
.ct { margin-top: 8px; font-weight: 600; font-size: 14.5px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cm { color: var(--muted); font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); font-size: 14px; color: var(--text2); }
.chip span { color: var(--muted); font-size: 12px; }
.chip:hover { border-color: var(--accent); color: var(--accent2); }
.fchips { margin-bottom: 14px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 12px; background: var(--bg3); font-size: 13px; color: var(--text2); }

/* ---------- 列表行 ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.rnum { width: 34px; flex-shrink: 0; color: var(--muted); font-size: 14px; text-align: right; padding-top: 4px; }
.rposter { width: 54px; flex-shrink: 0; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--bg3); }
.rposter img { width: 100%; height: 100%; object-fit: cover; }
.rposter .noimg { font-size: 16px; }
.rbody { flex: 1; min-width: 0; }
.rtitle { font-size: 16px; font-weight: 600; }
.rorig { color: var(--muted); font-weight: 400; font-size: 13.5px; margin-left: 8px; }
.rmeta { color: var(--text2); font-size: 13.5px; margin-top: 2px; }
.rov { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.rk { display: inline-block; padding: 2px 9px; margin: 0 6px 6px 0; border-radius: 12px; background: rgba(242, 181, 68, .12); color: var(--warm); font-size: 13px; }
.rk:hover { background: rgba(242, 181, 68, .22); color: #ffd27a; }
.rankline { margin: 10px 0; }

/* ---------- 筛选栏 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.filters select, .filters input[type="search"] { height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); padding: 0 10px; font: inherit; font-size: 14px; max-width: 100%; }
.filters input[type="search"] { width: 240px; }
.filters input[type="search"]:focus, .filters select:focus { border-color: var(--accent); outline: none; }
.filters label { color: var(--text2); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.fcount { color: var(--muted); font-size: 14px; margin-left: auto; }
.btn { height: 36px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--accent); background: rgba(94, 200, 232, .12); color: var(--accent2); font: inherit; font-size: 14px; cursor: pointer; }
.btn:hover { background: rgba(94, 200, 232, .24); }
.loadmore { text-align: center; margin: 22px 0; }
.loadmore button { height: 40px; padding: 0 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg2); color: var(--text2); font: inherit; cursor: pointer; }
.loadmore button:hover { border-color: var(--accent); color: var(--accent2); }
.loadmore button[hidden], .loadmore[hidden] { display: none; }
@media (max-width: 600px) { .filters input[type="search"] { width: 100%; } .filters select { flex: 1 1 40%; } .fcount { margin-left: 0; } }

/* ---------- 详情页 ---------- */
.dhead { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 22px; }
.dposter { width: 250px; flex-shrink: 0; }
.dposter img { width: 100%; height: auto; border-radius: 10px; background: var(--bg3); }
.dtitle { flex: 1; min-width: 0; }
.dtitle h1 { font-size: 30px; }
.dy { color: var(--muted); font-size: 17px; font-weight: 400; margin-left: 12px; }
.dorig { color: var(--text2); margin: 4px 0 0; }
.tagline { color: var(--accent2); margin: 10px 0 0; }
.overview { color: var(--text); margin: 14px 0 0; max-width: 820px; }
.overview p { margin: 0 0 10px; }
.src { color: var(--muted); font-size: 12.5px; margin: 4px 0 0; }
.credit { color: var(--muted); font-size: 11.5px; margin: 6px 0 0; line-height: 1.45; word-break: break-word; }
.extlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.extlinks a { padding: 4px 12px; border-radius: 6px; background: var(--bg3); color: var(--text2); font-size: 13.5px; }
.extlinks a:hover { color: var(--accent2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 18px 0; padding: 18px 20px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0; }
.pager a { color: var(--link); }
@media (max-width: 720px) {
  .dhead { flex-direction: column; gap: 16px; }
  .dposter { width: 180px; }
  .dtitle h1 { font-size: 25px; }
  .facts { grid-template-columns: 1fr; gap: 2px; padding: 14px; }
  .facts dd { margin-bottom: 8px; }
}

/* ---------- 周期表 ---------- */
.pwrap { overflow-x: auto; padding-bottom: 6px; }
.ptable { display: grid; grid-template-columns: repeat(18, minmax(42px, 1fr)); grid-template-rows: repeat(7, auto) 12px auto auto; gap: 3px; min-width: 800px; }
.el { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / 1.08; border-radius: 5px;
  background: var(--bg3); color: #f3f6f9; padding: 2px; line-height: 1.1; min-width: 0; border: 1px solid transparent; }
a.el:hover { border-color: #fff; color: #fff; transform: scale(1.06); z-index: 2; }
.el b { font-size: 17px; }
.el .ez { position: absolute; top: 2px; left: 4px; font-size: 9.5px; opacity: .8; }
.el .en { font-size: 11px; margin-top: 1px; }
.el .em { font-size: 8.5px; opacity: .7; }
.el.dim { opacity: .18; }
.el.hit { border-color: #fff; }
.elbl { background: transparent; color: var(--muted); font-size: 12px; }
.r1 { grid-row: 1; } .r2 { grid-row: 2; } .r3 { grid-row: 3; } .r4 { grid-row: 4; } .r5 { grid-row: 5; }
.r6 { grid-row: 6; } .r7 { grid-row: 7; } .r9 { grid-row: 9; } .r10 { grid-row: 10; }
.c1 { grid-column: 1; } .c2 { grid-column: 2; } .c3 { grid-column: 3; } .c4 { grid-column: 4; } .c5 { grid-column: 5; } .c6 { grid-column: 6; }
.c7 { grid-column: 7; } .c8 { grid-column: 8; } .c9 { grid-column: 9; } .c10 { grid-column: 10; } .c11 { grid-column: 11; } .c12 { grid-column: 12; }
.c13 { grid-column: 13; } .c14 { grid-column: 14; } .c15 { grid-column: 15; } .c16 { grid-column: 16; } .c17 { grid-column: 17; } .c18 { grid-column: 18; }
.c19 { grid-column: 19; }
/* 分类配色 */
.mode-k .k-alkali, .lgi.k-alkali i, .elbig.k-alkali { background: #b8483a; }
.mode-k .k-alkaline, .lgi.k-alkaline i, .elbig.k-alkaline { background: #c27c2c; }
.mode-k .k-transition, .lgi.k-transition i, .elbig.k-transition { background: #8a6d3b; }
.mode-k .k-post, .lgi.k-post i, .elbig.k-post { background: #4f7a6a; }
.mode-k .k-metalloid, .lgi.k-metalloid i, .elbig.k-metalloid { background: #3f7f86; }
.mode-k .k-nonmetal, .lgi.k-nonmetal i, .elbig.k-nonmetal { background: #3c8a4e; }
.mode-k .k-halogen, .lgi.k-halogen i, .elbig.k-halogen { background: #2f7aa6; }
.mode-k .k-noble, .lgi.k-noble i, .elbig.k-noble { background: #6a55a8; }
.mode-k .k-lanthanide, .lgi.k-lanthanide i, .elbig.k-lanthanide { background: #9c4f86; }
.mode-k .k-actinide, .lgi.k-actinide i, .elbig.k-actinide { background: #a24b5f; }
.mode-s .s-solid, .lgi.s-solid i { background: #5b6878; }
.mode-s .s-liquid, .lgi.s-liquid i { background: #2f7aa6; }
.mode-s .s-gas, .lgi.s-gas i { background: #3c8a4e; }
.mode-s .s-unknown, .lgi.s-unknown i { background: #2a3340; }
.mode-b .b-s, .lgi.b-s i { background: #b8483a; }
.mode-b .b-p, .lgi.b-p i { background: #3c8a4e; }
.mode-b .b-d, .lgi.b-d i { background: #2f7aa6; }
.mode-b .b-f, .lgi.b-f i { background: #9c4f86; }
.mode-y .y-ancient, .lgi.y-ancient i { background: #8a6d3b; }
.mode-y .y-e18, .lgi.y-e18 i { background: #c27c2c; }
.mode-y .y-e19, .lgi.y-e19 i { background: #3c8a4e; }
.mode-y .y-e20a, .lgi.y-e20a i { background: #2f7aa6; }
.mode-y .y-e20b, .lgi.y-e20b i { background: #6a55a8; }
.elbig { width: 150px; height: 160px; flex-shrink: 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; background: var(--bg3); }
.elbig b { font-size: 54px; line-height: 1; }
.elbig .ez { position: absolute; top: 8px; left: 12px; font-size: 16px; }
.elbig .em { font-size: 13px; opacity: .8; }
.legend { display: none; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; color: var(--text2); }
.mode-k .lg-k, .mode-s .lg-s, .mode-b .lg-b, .mode-y .lg-y { display: flex; }
.lgi { display: inline-flex; align-items: center; gap: 6px; }
.lgi i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.pmini { display: block; }
.pmini .ptable { pointer-events: none; }
.pmini .el .en, .pmini .el .em { display: none; }
.pmini .el b { font-size: 13px; }
.ptools { margin-top: -8px; }
.elrow { display: flex; flex-wrap: wrap; gap: 6px; }
.elrow .el { width: 64px; }
.eltime { columns: 3 260px; list-style: none; margin: 0; padding: 0; }
.eltime li { break-inside: avoid; display: flex; gap: 10px; padding: 4px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.ey { width: 82px; flex-shrink: 0; color: var(--muted); }
.ew { color: var(--muted); font-size: 12.5px; margin-left: auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
@media (max-width: 720px) { .elbig { width: 120px; height: 128px; } .elbig b { font-size: 42px; } }

/* ---------- 奖项 ---------- */
.awg { font-size: 15px; color: var(--muted); margin: 24px 0 10px; font-weight: 600; }
.awgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.awcard { display: block; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg2); }
.awcard b { display: block; font-size: 16px; }
.awcard span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.awcard:hover { border-color: var(--accent); }
.awlist { list-style: none; margin: 0; padding: 0; }
.awrow { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.awy { width: 74px; flex-shrink: 0; font-weight: 700; color: var(--warm); font-size: 17px; padding-top: 6px; }
.awp { display: flex; flex-wrap: wrap; gap: 10px 18px; flex: 1; min-width: 0; }
.awpc { display: flex; gap: 10px; align-items: center; min-width: 200px; }
.awpc img, .awpc .noimg { width: 42px; height: 56px; border-radius: 5px; object-fit: cover; flex-shrink: 0; font-size: 13px; }
.awpc b { display: block; font-weight: 600; }
.awpc small { display: block; color: var(--muted); font-size: 12.5px; }
@media (max-width: 600px) { .awrow { flex-direction: column; gap: 6px; } .awpc { min-width: 0; width: 100%; } }

/* ---------- 时间线 ---------- */
.tdec { font-size: 17px; margin: 26px 0 8px; color: var(--accent2); }
.tlist { list-style: none; margin: 0; padding: 0; }
.tlist li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.ty { width: 90px; flex-shrink: 0; color: var(--muted); }
.tw { color: var(--muted); font-size: 13px; margin-left: auto; text-align: right; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlist a:hover, .eltime a:hover { color: var(--accent2); }
.clist { columns: 3 220px; padding-left: 18px; }
.clist li { padding: 2px 0; }
.morecred { margin: 14px 0; }
.morecred summary { cursor: pointer; color: var(--link); }

/* ---------- 生物 ---------- */
.kids { columns: 3 240px; list-style: none; padding: 0; margin: 14px 0 0; }
.kids li { break-inside: avoid; padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kids i { color: var(--text2); font-size: 13px; }
.kids small { color: var(--muted); font-size: 12px; }
.kids.big li a:hover { color: var(--accent2); }
.tree, .tree ul { list-style: none; padding-left: 18px; margin: 4px 0; border-left: 1px solid var(--line); }
.tree { border: 0; padding-left: 0; }
.tree li { padding: 3px 0; }
.tree small { color: var(--muted); font-size: 12px; }
.tree a:hover { color: var(--accent2); }

/* ---------- 常数表 ---------- */
.tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ctable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.ctable th, .ctable td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ctable th { background: var(--bg2); color: var(--text2); font-weight: 600; white-space: nowrap; }
.ctable td b { display: block; }
.ctable td small { color: var(--muted); font-size: 12.5px; }
.ctable tr[hidden] { display: none; }
.cval { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.csym { font-family: "Cambria Math", "Times New Roman", serif; font-style: italic; white-space: nowrap; font-size: 15px; }
.cnote { color: var(--muted); font-size: 12.5px; margin-top: 3px; max-width: 420px; }

/* ---------- 搜索 ---------- */
.sresult { margin-top: 10px; }
.sgroup { margin: 18px 0; }
.sgroup h3 { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.slist { list-style: none; margin: 0; padding: 0; }
.sitem a { display: flex; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 8px; }
.sitem a:hover { background: var(--bg2); }
.sitem img, .sitem .ph { width: 40px; height: 52px; border-radius: 5px; object-fit: cover; background: var(--bg3); flex-shrink: 0; }
.st { font-weight: 600; }
.so { color: var(--muted); font-size: 13px; margin-left: 6px; }
.sm { color: var(--muted); font-size: 13px; }
.sk { display: inline-block; font-size: 12px; padding: 1px 7px; border-radius: 9px; background: var(--bg3); color: var(--text2); margin-right: 6px; }

/* ---------- 今天学一个 ---------- */
.pickcard { display: flex; gap: 24px; padding: 22px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); align-items: flex-start; min-height: 140px; }
.pickcard .pimg { width: 180px; flex-shrink: 0; }
.pickcard .pimg img { width: 100%; height: auto; border-radius: 10px; }
.pickbody { flex: 1; min-width: 0; }
.pickbody h2 { font-size: 24px; }
.pickbody h2 a:hover { color: var(--accent2); }
.pickbody .sk { margin-bottom: 8px; }
.pickbody p { color: var(--text2); margin: 8px 0 0; }
.pickcard.small .pimg { width: 120px; }
.pickcard.small h2 { font-size: 20px; }
@media (max-width: 600px) { .pickcard { flex-direction: column; } .pickcard .pimg { width: 140px; } }

/* ---------- 关于 / 页脚 ---------- */
.about { max-width: 860px; }
.about h2 { font-size: 19px; margin: 26px 0 8px; }
.about li { margin: 4px 0; }
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 36px; color: var(--muted); font-size: 13px; }
.site-footer a { color: var(--text2); }
.site-footer a:hover { color: var(--accent2); }
.attr p { margin: 6px 0; max-width: 1000px; }
.fnav { margin-top: 14px; }
.dtitle h1, .rtitle, .ct, .st, .facts dd, .overview { overflow-wrap: anywhere; }
