:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --sheet: #fdfcf7;
  --ink: #172d34;
  --muted: #4a5d5d;
  --green: #245f50;
  --line: #cdd6cc;
  --sans: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Noto Serif CJK SC", "Songti SC", "SimSun", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 var(--sans); overflow-wrap: anywhere; }
main { min-height: 64vh; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 2px solid #936011; outline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
h1, .section-header h2, .archive-entry h2 { font-family: var(--serif); }
h1 { text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
.frame { width: min(calc(100% - 2rem), 72rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: 1rem; transform: translateY(-180%); padding: .5rem; background: var(--sheet); z-index: 2; }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.masthead, .site-footer .frame { display: flex; align-items: center; justify-content: space-between; gap: .35rem 1rem; flex-wrap: wrap; }
.masthead { min-height: 4.2rem; padding-block: .6rem; }
.brand { color: var(--ink); font-family: var(--serif); font-size: clamp(1rem, 2.4vw, 1.35rem); font-weight: 800; text-decoration: none; }
.masthead nav { display: flex; gap: .85rem; }
.masthead nav a { color: var(--muted); padding-block: .4rem; text-decoration: none; white-space: nowrap; }
.masthead nav a[aria-current], .masthead nav a:hover { color: var(--green); text-decoration: underline; }
.site-footer { margin-top: 3.5rem; padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }

.cover {
  display: grid;
  border-radius: .25rem;
  margin-top: clamp(1.35rem, 3vw, 2.3rem);
  background: #173037;
  color: #f9f7ee;
  overflow: hidden;
}
.cover-main, .cover-contents { padding: clamp(1.25rem, 4.5vw, 3.65rem); min-width: 0; }
.cover a { color: #f9f7ee; }
.cover :focus-visible { outline-color: #f2cc7c; }
.kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; font-weight: 700; color: var(--green); }
.kicker span { font-weight: 500; }
time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.date-sep { padding-inline: .12em; }
.cover .kicker { color: #c1ddd0; }
.cover h1 { margin: 1.1rem 0 1.05rem; font-size: clamp(2.55rem, 7vw, 5.5rem); letter-spacing: .015em; line-height: 1.17; max-width: 9.4em; }
.cover-verdict { max-width: 34em; color: #e2ebe6; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.85; }
.cover-links { display: flex; gap: .6rem 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1.65rem; }
.cover-links a { font-weight: 700; }
.cover-links .primary { display: inline-flex; align-items: center; gap: .75rem; padding: .68rem 1rem; border-radius: .2rem; background: #d8e8d6; color: #173037; text-decoration: none; }
.cover-links .primary:hover { background: #edf2df; }
.cover-contents { border-top: 1px solid #55736f; background: #1e3b3e; }
.cover-contents h2 { font-size: 1rem; color: #c1ddd0; margin-bottom: .8rem; letter-spacing: .08em; }
.cover-contents ul { list-style: none; padding: 0; }
.cover-contents li { border-top: 1px solid #55736f; }
.cover-contents a { display: block; padding: .65rem 0; text-decoration: none; }
.cover-contents a:hover { text-decoration: underline; }

.home-actions { margin-top: clamp(2rem, 5vw, 4rem); }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.section-header h2 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); }
.action-cards { display: grid; gap: .8rem; padding: 0; list-style: none; counter-reset: cards; }
.action-cards li { counter-increment: cards; padding: 1.15rem; border: 1px solid var(--line); border-top: 3px solid #659184; background: var(--sheet); }
.action-cards li::before { content: "0" counter(cards); display: block; margin-bottom: .75rem; color: var(--green); font: 700 1rem/1 var(--sans); }
.action-cards h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.action-cards p { color: var(--muted); }

.issue-heading, .archive-heading { margin-top: clamp(1.7rem, 5vw, 3.8rem); padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.issue-heading h1, .archive-heading h1 { margin: .45rem 0 .85rem; font-size: clamp(2.15rem, 6vw, 4.4rem); }
.issue-meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; color: var(--muted); }
.verdict { max-width: 56rem; margin-top: 1.45rem; border-left: 3px solid #659184; padding: .2rem 0 .25rem .95rem; }
.verdict h2 { font-size: 1rem; color: var(--green); margin-bottom: .3rem; }
.verdict p { font-size: clamp(1.05rem, 2vw, 1.2rem); }
.reading-layout { display: grid; gap: 1.4rem; margin-top: 1.45rem; }
.toc { min-width: 0; padding: 1rem; align-self: start; background: #e9eee6; border: 1px solid var(--line); }
.toc h2 { font-size: 1rem; margin-bottom: .55rem; }
.toc ul { padding: 0; list-style: none; }
.toc a { display: block; padding: .26rem 0; }
.reading-column { display: grid; gap: .85rem; min-width: 0; }
.article-card, .standalone, .pdf-panel { background: var(--sheet); border: 1px solid var(--line); border-radius: .2rem; }
.article-card:target, .standalone:target, .pdf-panel:target { border-color: var(--green); }
.article-card summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7rem; }
.article-card summary::-webkit-details-marker { display: none; }
.article-card summary::after { content: "+"; color: var(--green); display: grid; place-items: center; font-size: 1.3rem; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: #e7eee5; }
.article-card[open] summary::after { content: "−"; }
.article-card summary:hover { background: #edf2e9; }
.article-card h2, .standalone h2, .pdf-panel h2 { font-size: clamp(1.15rem, 2.75vw, 1.52rem); }
.article-card summary, .standalone, .pdf-panel { padding: clamp(.9rem, 3vw, 1.55rem); }
.article-card .prose { padding: 0 clamp(.9rem, 3vw, 1.55rem) clamp(1rem, 3vw, 1.55rem); }
.prose { max-width: 49rem; font-size: 1.0625rem; line-height: 1.85; }
.prose > * + * { margin-top: .9rem; }
.prose strong { color: #1e5449; }
.story-date, .sources, .pdf-panel p { color: var(--muted); }
.prose .sources { border-top: 1px solid var(--line); padding-top: .7rem; }
.prose figure { max-width: 30rem; margin: 1.15rem 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: .45rem; color: var(--muted); }
.article-card.actions { border-top: 3px solid #659184; }
ol.actions { padding-left: 1.55rem; }
ol.actions li { padding-left: .22rem; margin-bottom: .65rem; }
ol.actions li::marker { color: var(--green); font-weight: 700; }
.standalone h2, .pdf-panel h2 { margin-bottom: .65rem; }
.english p:last-child { border-top: 1px solid var(--line); padding-top: .8rem; }
.pdf-panel > div { margin-top: .6rem; }
.pdf-panel > div + div { border-top: 1px solid var(--line); padding-top: .65rem; }
.pdf-panel a { font-weight: 700; }
.issue-back { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .5rem; }

.archive-list { list-style: none; padding: 0; margin-top: 1.1rem; }
.archive-entry { display: grid; gap: .65rem; align-items: center; padding: clamp(1rem, 3.5vw, 1.75rem); background: var(--sheet); border: 1px solid var(--line); border-left: 3px solid #659184; }
.archive-entry h2 { font-size: clamp(1.35rem, 3.45vw, 2rem); margin-bottom: .15rem; }
.archive-entry h2 a { color: var(--ink); }
.archive-entry p { color: var(--muted); }
.archive-date { display: flex; flex-wrap: wrap; gap: .25rem .55rem; }
.archive-date time, .archive-link { font-weight: 700; }

@media (min-width: 48rem) {
  .frame { width: min(calc(100% - 4rem), 72rem); }
  .masthead nav { gap: 1.4rem; }
  .cover { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
  .cover-contents { align-content: center; border-top: 0; border-left: 1px solid #55736f; padding-inline: clamp(1.2rem, 3vw, 2.5rem); }
  .action-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .action-cards li { padding: 1.4rem; }
  .reading-layout { grid-template-columns: minmax(12.5rem, 1fr) minmax(0, 3fr); }
  .toc { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; }
  .archive-entry { grid-template-columns: minmax(7.5rem, 1fr) minmax(0, 3fr) auto; }
}

.preview-banner {
  background: #245f50;
  color: #f9f7ee;
  font: 700 0.92rem/1.4 var(--sans);
  letter-spacing: .04em;
  text-align: center;
  padding: .55rem 1rem;
}
