
:root {
  color-scheme: dark;
  --bg: #140c06; --card: rgba(255, 236, 205, 0.06); --line: rgba(246, 225, 202, 0.16);
  --text: #f6e1ca; --dim: #b79a78; --gold: #f3d58a; --amber: #f2a43a;
  --serif: "Newsreader", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Figtree", -apple-system, "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
}
html[lang="zh-CN"] { --serif: "Newsreader", "Noto Serif SC", "Songti SC", "SimSun", serif; }
html[lang="zh-CN"] body { font-family: "Figtree", -apple-system, "PingFang SC", "Noto Sans SC", system-ui, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
body { font-size: 17px; line-height: 1.85; -webkit-text-size-adjust: 100%; }
.wrap {
  max-width: 680px; margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));
}
a { color: var(--gold); text-underline-offset: 3px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.brand { font-family: var(--serif); font-size: 19px; letter-spacing: 0.05em; text-decoration: none; white-space: nowrap; }
.langs { display: flex; gap: 4px; flex-wrap: wrap; font-size: 13px; }
.langs a { color: var(--dim); padding: 4px 8px; border-radius: 12px; text-decoration: none; }
.langs a[aria-current="page"] { color: var(--gold); background: rgba(243, 213, 138, 0.1); }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.35; }
h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 36px 0 8px; color: var(--gold); }
.meta { color: var(--dim); font-size: 14px; margin: 0 0 24px; }
.banner { background: rgba(242, 164, 58, 0.14); border: 1px solid var(--amber); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.note { color: var(--dim); font-size: 14px; }
table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; white-space: nowrap; }
th { color: var(--gold); font-weight: 500; }
.sources { padding-left: 1.2em; font-size: 15px; }
.sources li { margin-bottom: 8px; }
details { color: var(--dim); font-size: 14px; margin-top: 4px; }
.disclaimer { color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 16px; }
figure { margin: 28px 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
figcaption { color: var(--dim); font-size: 14px; line-height: 1.6; margin-top: 8px; text-align: center; }
.cta { margin-top: 28px; }
.author { margin-top: 36px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; color: var(--dim); }
.author strong a { color: var(--gold); }
.related ul { padding-left: 1.2em; }
.list { list-style: none; padding: 0; }
.list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.list a { font-family: var(--serif); font-size: 19px; }
.list p { margin: 4px 0 0; color: var(--dim); font-size: 15px; }
