/* AIGenLab edition page — the titanium editorial layout (docs/blueprint/design-drafts/portal/titanium-site).
   Standalone: article pages link only this file, the approval preview inlines it, so what you approve is what ships. */

:root {
  --bg: #e9e5dd;
  --mast: #e2ded5;
  --paper: #fcfaf7;
  --ink: #24211f;
  --body: #2c2926;
  --muted: #5d5852;
  --faint: #8a847b;
  --line: #d8d2c8;
  --line-soft: #e6e1d8;
  --head: #efe9e0;
  --brand: #a12e1c;
  --brand-soft: #f4e6e0;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ol, ul, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, select { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 9; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.shell { width: min(100% - 64px, 1400px); margin-inline: auto; }

/* mast */
.header { background: var(--mast); border-bottom: 1px solid var(--line); }
.masthead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 3vw, 44px); min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.05em; }
.wordmark .mark { margin-right: 9px; }
.wordmark > span:last-child { color: var(--brand); }
.wordmark .mark { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 3px; background: var(--brand); color: #fff; }
.wordmark .mark svg { width: 17px; height: 17px; }
.primary { display: flex; align-items: stretch; gap: clamp(10px, 2.1vw, 30px); }
.primary a { display: inline-flex; align-items: center; min-height: 64px; border-bottom: 2px solid transparent; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.primary a:hover, .primary .nav-leading { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.header-controls { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.primary { grid-column: 2; grid-row: 1; justify-content: flex-end; }
.search { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 4px 0 12px; border: 1px solid #c9c2b7; border-radius: 2px; background: #fdfcfa; }
.search input { width: min(30vw, 240px); border: 0; background: transparent; color: var(--ink); font-size: 12.5px; }
.search input::placeholder { color: var(--faint); }
.search button { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted); }
.picker { position: relative; }
.picker > summary { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px; border: 1px solid #c9c2b7; border-radius: 2px; background: #fdfcfa; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.picker > summary svg { width: 14px; height: 14px; }
.picker-menu { position: absolute; z-index: 8; top: calc(100% + 4px); right: 0; min-width: 132px; padding: 4px; border: 1px solid var(--line); background: var(--paper); list-style: none; }
.picker-menu a { display: flex; align-items: center; min-height: 34px; padding: 0 10px; color: var(--ink); font-size: 13px; }
.picker-menu a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }

/* breadcrumb + shell */
.reading-main { padding-block: 18px 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--faint); font-size: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.reading-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: clamp(20px, 3vw, 40px); }
/* The reading column is capped, not the paragraphs: text, tables, figures and rules
   share one width. Measured on 1440/1920: at most 48 Chinese characters or 105
   English characters per line, under the 52/110 readability ceiling. */
@media (min-width: 1364px) { .reading-shell { grid-template-columns: minmax(0, 960px) 300px; justify-content: center; } }

/* article card */
.reading-article { min-width: 0; padding: clamp(22px, 3.4vw, 54px); border: 1px solid var(--line); background: var(--paper); }
.kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kicker-cat { display: inline-block; padding: 4px 8px; border: 1px solid #cbb6ae; color: var(--brand); font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.reading-kicker { display: inline-block; padding: 5px 7px 4px; border-radius: 2px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reading-heading h1 { margin: .52em 0 .45em; font-size: clamp(27px, 3.3vw, 43px); font-weight: 800; line-height: 1.17; letter-spacing: -.022em; }
:lang(zh-CN) .reading-heading h1 { line-height: 1.3; letter-spacing: -.012em; }
.reading-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--faint); font-size: 12px; }
.reading-byline > span + span::before { content: '·'; margin-right: 10px; color: #c2bcb1; }
.reading-byline span:first-child { color: var(--muted); font-weight: 600; }

/* prose */
.reading-prose { margin-top: clamp(22px, 3vw, 34px); color: var(--body); font-size: 16px; line-height: 1.85; }
:lang(zh-CN) .reading-prose { font-size: 16.5px; line-height: 1.85; }
.reading-prose > section:not(#guide):not(.reading-verdict):not(.release-glance):not(.release-inventory):not(.station-views-box):not(.reading-related) { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line-soft); scroll-margin-top: 12px; }
.reading-prose > section:not(#guide):not(.reading-verdict):not(.release-glance):not(.release-inventory):not(.station-views-box):not(.reading-related):first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.reading-prose > section:not(#guide):not(.reading-verdict):not(.release-glance):not(.release-inventory):not(.station-views-box):not(.reading-related) > h2 { margin-top: 0; margin-bottom: .62em; color: var(--ink); font-size: 21px; font-weight: 800; line-height: 1.38; letter-spacing: -.008em; }
:lang(zh-CN) .reading-prose > section:not(#guide):not(.reading-verdict):not(.release-glance):not(.release-inventory):not(.station-views-box):not(.reading-related) > h2 { font-size: 21.5px; }
.reading-prose p + p { margin-top: .8em; }
.lead-in { color: var(--ink); font-weight: 800; }
.reading-time { margin-inline-start: auto; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand); background: var(--paper); font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.reading-byline > .reading-time::before { content: none; margin: 0; }
.reading-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: .18em; }
.reading-prose strong { font-weight: 700; }
.reading-prose ul, .reading-prose ol { margin: .7em 0; padding-inline-start: 1.25em; }
.reading-prose li + li { margin-top: .3em; }
.reading-prose code { padding: 1px 4px; border-radius: 2px; background: #f1ece4; font-family: var(--mono); font-size: .88em; }

/* Guide and background are a quiet setup layer; numbered parts are the article itself. */
#guide { margin-top: 20px; padding: 14px 18px; border-left: 3px solid #d5c7b8; border-radius: 2px; background: #faf7f2; }
#guide h2 { margin: 0 0 6px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
#guide p { color: var(--muted); font-size: 15px; line-height: 1.85; }
:lang(zh-CN) #guide p { font-size: 15.5px; }
.reading-standfirst { margin-top: 16px; padding: 2px 0 2px 13px; border-left: 2px solid var(--brand); color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.reading-standfirst b { display: block; margin-bottom: 3px; color: var(--brand); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
#guide p + p { margin-top: .7em; color: var(--muted); font-size: 15px; }

#background { margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-left: 3px solid #c7b9a7; border-radius: 3px; background: #f6f3ed; }
#background > h2 { margin: 0 0 10px; color: var(--ink); font-size: 18px; font-weight: 750; line-height: 1.45; }
:lang(zh-CN) #background > h2 { font-size: 18.5px; }
#background p { color: var(--muted); font-size: 15px; line-height: 1.85; }
:lang(zh-CN) #background p { font-size: 15.5px; }
/* Full-width cards own their line length; the 68ch reading measure must not leave a gutter. */
#background p, #background ul, #background ol, #background dl,
#guide p,
.reading-verdict > p,
.release-inventory > p,
.station-views-box p { max-width: none; }
#background .story-figure { background: #fff; }
.reading-prose { counter-reset: article-part; }
.reading-prose > section[id^="part-"] { counter-increment: article-part; }
.reading-prose > section[id^="part-"] > h2::before { display: inline-block; margin-right: 10px; padding: 1px 6px; border: 1px solid #e2cfc3; border-radius: 2px; background: #fbf4ee; color: var(--brand); content: counter(article-part, decimal-leading-zero); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; }
#background + section[id^="part-"] { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--line); }
#conclusion { margin-top: 32px; padding-top: 26px; border-top: 2px solid var(--line); background: transparent; }
#conclusion > h2 { color: var(--ink); font-size: 21px; font-weight: 800; }
:lang(zh-CN) #conclusion > h2 { font-size: 21.5px; }

/* Feature verdict and update glance: decision-first cards above the reading flow. */
.reading-verdict { margin-top: 18px; padding: 19px 21px 17px; border: 1px solid #ddc9bb; border-top: 4px solid var(--brand); border-radius: 3px; background: #f6eee5; }
.reading-verdict header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.reading-verdict h2 { margin: 0; color: var(--brand); font-size: 20px; font-weight: 800; }
.reading-verdict header > span { color: var(--muted); font-size: 11px; }
.reading-verdict > p { max-width: none; margin-top: 10px; color: var(--ink); font-size: 15.5px; font-weight: 550; line-height: 1.82; }
.reading-verdict nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; }
.reading-verdict nav a { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-size: 12px; font-weight: 750; }
.reading-verdict nav svg { width: 12px; height: 12px; }
.release-glance { display: grid; grid-template-columns: .8fr 1.7fr .9fr; gap: 0; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 3px; background: #fbf8f3; }
.glance-cell { min-width: 0; padding: 14px 16px; }
.glance-cell + .glance-cell { border-left: 1px solid var(--line); }
.glance-cell > span { display: block; margin-bottom: 6px; color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.glance-version strong { font-size: 15px; line-height: 1.5; }
.glance-summary p { font-size: 13.5px; line-height: 1.7; }
.glance-links a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 3px 0; color: var(--brand); font-size: 12px; font-weight: 700; }
.glance-links a + a { margin-top: 3px; }
.glance-links svg { width: 11px; height: 11px; flex: 0 0 auto; }
@media (min-width: 780px) {
  .release-groups.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .release-groups.is-grid .release-group { min-width: 0; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--paper); }
  .release-groups.is-grid .release-group + .release-group { margin-top: 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
}
.story-table .col-focus { background: #f6e8de !important; box-shadow: inset 2px 0 0 var(--brand); }
@media (max-width: 640px) {
  .release-glance { grid-template-columns: 1fr; }
  .glance-cell + .glance-cell { border-top: 1px solid var(--line); border-left: 0; }
  .reading-verdict { padding: 16px 15px 15px; }
}

/* update inventory — every change is visible; nothing is folded away */
.release-inventory { padding: 22px clamp(16px, 2.4vw, 26px) 20px; border: 1px solid var(--line); background: #fbf8f3; }
.reading-prose .release-inventory { margin-top: 30px; }
.release-inventory h2 { display: flex; align-items: baseline; gap: 10px; margin-bottom: .5em; font-size: 21px; font-weight: 800; line-height: 1.38; }
:lang(zh-CN) .release-inventory h2 { font-size: 21.5px; }
.release-inventory > p { color: var(--muted); font-size: 13.5px; }
.release-groups { margin: 18px 0 0; }
.release-group + .release-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.release-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.release-group-head h3 { font-size: 14px; font-weight: 750; letter-spacing: .01em; }

.release-group ul { margin: 8px 0 0; list-style: none; }
.release-group li { position: relative; padding-left: 13px; color: var(--body); font-size: 13.5px; line-height: 1.75; }
.release-group li + li { margin-top: 5px; }
.release-group li::before { content: ''; position: absolute; top: .74em; left: 0; width: 5px; height: 1px; background: var(--brand); opacity: .55; }
.release-source { margin-top: 16px; font-size: 12.5px; }
.reading-mobile-toc { display: none; margin-top: 18px; border: 1px solid var(--line-soft); background: #fbf8f3; }
.reading-mobile-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 12px; font-size: 12.5px; font-weight: 650; }
.reading-mobile-toc ol { padding: 0 12px 10px; list-style: none; font-size: 13px; }
.reading-mobile-toc li + li { border-top: 1px solid var(--line-soft); }
.reading-mobile-toc a { display: block; padding: 7px 0; color: var(--muted); }

/* tables: the wrapper owns scrolling, the table owns its grid and borders */
.story-table { width: 100%; margin: 18px 0 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--paper); }
.story-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 13px; line-height: 1.62; }
.story-table thead th { padding: 9px 12px; border: 1px solid var(--line); background: var(--head); color: var(--ink); font-weight: 700; text-align: start; }
.story-table tbody th, .story-table tbody td { padding: 10px 12px; border: 1px solid var(--line-soft); vertical-align: top; text-align: start; }
.story-table tbody th { width: 22%; background: #f8f5f0; font-weight: 650; }
.story-table tbody tr:nth-child(even) td { background: #fcfaf6; }

/* FAQ cards stay usable without JavaScript */
.reading-faq { max-width: none; }
.faq-list { display: grid; gap: 9px; max-width: 78ch; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 3px; background: var(--paper); }
.faq-item summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 13px 14px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; line-height: 1.55; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { color: var(--brand); font-family: var(--mono); font-size: 12px; font-weight: 800; }
.faq-item summary svg { width: 13px; height: 13px; margin-top: 3px; transition: transform .18s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { margin: 0 14px 14px 36px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Independent editorial judgement is a focal point, not another source footnote. */
.station-views-box { margin: 30px 0 0; padding: 18px 20px 20px; border-left: 5px solid var(--brand); background: #f5eee5; }
.station-views-box header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.station-views-box h2 { margin: 0; color: var(--brand); font-size: 16px; font-weight: 800; }
.station-view-status { padding: 2px 7px; border: 1px solid #d8c4b6; border-radius: 999px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.station-view-list { display: grid; gap: 12px; }
.station-view-list article + article { padding-top: 12px; border-top: 1px solid #e0d2c5; }
.station-view-claim { max-width: 68ch; font-size: 15px; font-weight: 650; line-height: 1.8; }
.station-view-basis { max-width: 68ch; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.station-view-list small { display: block; margin-top: 5px; color: var(--brand); font-size: 10.5px; }

/* figures */
.story-figure { margin: 20px 0 8px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.story-figure .figure-heading { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.story-figure svg { display: block; width: 100%; height: auto; }
.story-figure figcaption { margin-top: 8px; color: var(--faint); font-size: 11.5px; }
.preview-figure-missing { padding: 26px; border: 1px dashed var(--line); color: var(--faint); font-size: 13px; }

/* references + station views */
.reading-references { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.reading-references h2 { margin-bottom: .6em; font-size: 15px; font-weight: 750; }
.reading-references .story-sources > ul { margin: 0; list-style: none; }
.reading-references li { padding: 8px 0; border-top: 1px solid var(--line-soft); line-height: 1.7; }
.reading-references li:first-child { border-top: 0; }
.reading-references small { display: block; margin-top: 2px; color: var(--faint); font-size: 11.5px; }
.detail-disclaimer { margin-top: 14px; color: var(--faint); font-size: 11.5px; }

/* side card */
.reading-rail { position: sticky; top: 18px; padding: 16px 18px 14px; border: 1px solid var(--line); border-top: 2px solid var(--brand); background: var(--paper); }
.reading-rail nav > p { margin-bottom: 8px; color: var(--brand); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reading-rail nav > p::before { content: '■'; margin-right: 6px; font-size: 8px; vertical-align: 1px; }
.reading-rail ol { list-style: none; }
.reading-rail li + li { border-top: 1px solid var(--line-soft); }
.reading-rail a { display: block; padding: 7px 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.reading-rail a:hover { color: var(--brand); }
.reading-next { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.reading-rail .reading-next h2 { color: var(--brand); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reading-rail .reading-next h2::before { content: '■'; margin-right: 6px; font-size: 8px; vertical-align: 1px; }
.reading-rail .reading-next a { font-weight: 650; }
.reading-next h2 { margin-bottom: .5em; font-size: 16px; font-weight: 750; }
.reading-next ul { list-style: none; }
.reading-next li + li { border-top: 1px solid var(--line-soft); }
.reading-next a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 13.5px; font-weight: 650; }
.reading-next svg { width: 13px; height: 13px; }
.edition-related-links { margin-top: 18px; padding: 12px 14px; border-left: 2px solid var(--brand); background: #fbf8f3; font-size: 13.5px; }
.edition-related-links > b { display: block; margin-bottom: 4px; color: var(--brand); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.edition-related-links ul { margin: 0; padding-inline-start: 18px; }
.edition-related-links li + li { margin-top: 4px; }
.edition-related-links a { font-weight: 650; }

/* mobile toc */
.reading-mobile-toc { display: none; margin-top: 18px; border: 1px solid var(--line-soft); background: #fbf8f3; }
.reading-mobile-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 12px; font-size: 12.5px; font-weight: 650; }
.reading-mobile-toc ol { padding: 0 12px 10px; list-style: none; font-size: 13px; }
.reading-mobile-toc li + li { border-top: 1px solid var(--line-soft); }
.reading-mobile-toc a { display: block; padding: 7px 0; color: var(--muted); }

/* footer */
.footer { margin-top: auto; padding: 26px 0 34px; border-top: 1px solid var(--line); background: var(--mast); color: var(--muted); }
.footer-content { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 20px 24px; font-size: 12px; }
@media (max-width: 900px) { .footer-content { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand b { color: var(--ink); font-size: 14px; letter-spacing: -.03em; }
.footer-brand p { margin-top: 4px; }
.footer h2 { margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 700; }
.footer nav a { display: block; padding: 3px 0; color: var(--muted); }
.footer nav a:hover { color: var(--brand); }
.footer-note { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #cfc9bf; color: var(--faint); font-size: 11.5px; }

/* preview banner (approval only) */
.preview-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 7px 16px; background: #2b2926; color: #f4f1ec; font-size: 12px; }
.preview-banner strong { color: #ffd9cb; font-weight: 750; }
.preview-banner a { color: #f4f1ec; text-decoration: underline; }
.preview-banner code { font-family: var(--mono); opacity: .75; }

@media (min-width: 901px) and (max-width: 1060px) {
  .reading-article { width: 100%; max-width: 930px; margin-inline: auto; }
}
@media (max-width: 1060px) {
  .reading-shell { grid-template-columns: minmax(0, 1fr); }
  .reading-rail { position: static; order: 2; padding: 14px 18px; border: 1px solid var(--line); border-top: 2px solid var(--brand); background: var(--paper); }
  .reading-rail ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 18px; }
  .reading-mobile-toc { display: block; }
}
@media (max-width: 900px) {
  .shell { width: min(100% - 28px, 1400px); }
  .masthead { grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 10px; padding: 10px 0 0; min-height: 0; }
  .wordmark { font-size: 18px; }
  .wordmark .mark { width: 24px; height: 24px; margin-right: 7px; }
  .wordmark .mark svg { width: 15px; height: 15px; }
  .header-controls { grid-column: 2; grid-row: 1; gap: 6px; }
  .header-controls .search { flex: 1; min-width: 0; height: 34px; padding-left: 9px; }
  .search input { width: 100%; min-width: 0; font-size: 11.5px; }
  .search input::placeholder { color: var(--faint); font-size: 12px; }
  .picker > summary { height: 34px; padding: 0 8px; }
  .primary { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
  .primary a { min-height: 38px; padding: 0 2px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
  .primary a:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .primary a.nav-leading { border-bottom: 1px solid var(--line-soft); }
  .reading-main { padding-block: 10px 36px; }
  .breadcrumb { margin-bottom: 10px; }
  .reading-article { padding: 18px 15px 22px; }
  .reading-heading h1 { margin-top: .5em; font-size: 22px; line-height: 1.34; }
  :lang(zh-CN) .reading-heading h1 { font-size: 23px; }
  .reading-byline { gap: 4px 8px; font-size: 11.5px; }
  .reading-byline > span + span::before { content: none; margin: 0; }
  #guide p { font-size: 15.5px; line-height: 1.9; }
  :lang(zh-CN) #guide p { font-size: 16px; }
  .reading-prose { font-size: 16px; line-height: 1.82; margin-top: 18px; }
  :lang(zh-CN) .reading-prose { font-size: 16.5px; line-height: 1.82; }
  .reading-prose > section:not(#guide):not(.reading-verdict):not(.release-glance):not(.release-inventory):not(.station-views-box):not(.reading-related) > h2 { margin-top: 0; font-size: 19px; }
  :lang(zh-CN) .reading-prose > section:not(#guide):not(.reading-verdict):not(.release-glance):not(.release-inventory):not(.station-views-box):not(.reading-related) > h2 { font-size: 19.5px; }
  .reading-time { width: auto; margin-inline-start: 0; }
  #guide { padding: 12px 14px; }
  #background { margin-top: 18px; padding: 16px 15px; }
  .station-views-box { padding: 15px 14px 16px; }
  .faq-item summary { padding: 12px 11px; gap: 8px; }
  .faq-answer { margin-inline: 30px 11px; }
  .release-inventory { padding: 16px 13px; }
  .release-group li { font-size: 13px; }
  .story-table table { font-size: 12px; }
  .story-table thead th, .story-table tbody th, .story-table tbody td { padding: 8px 8px; }
  .footer-content { grid-template-columns: 1fr; gap: 16px; }
  .footer { padding: 20px 0 26px; }
}

@media print {
  .header, .footer, .reading-rail, .preview-banner, .reading-mobile-toc { display: none; }
  .reading-article { border: 0; padding: 0; }
}
.section-eyebrow,.reading-phase{display:inline-block;margin:0 7px 5px 0;padding:2px 8px;border:1px solid #d9cec0;border-radius:2px;background:#fffdf9;color:var(--brand);font-size:10.5px;font-weight:800;letter-spacing:.08em;line-height:1.4;vertical-align:2px}

/* The HTML fallback table is primary; the same-source compare card stays one click away. */
.compare-figure-toggle { margin: 12px 0 6px; border: 1px solid var(--line); border-radius: 3px; background: #fbf8f3; }
.compare-figure-toggle > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; color: var(--brand); font-size: 12px; font-weight: 750; }
.compare-figure-toggle > summary::-webkit-details-marker { display: none; }
.compare-toggle-mark { display: inline-block; font-size: 15px; line-height: 1; transition: transform .18s ease; }
.compare-figure-toggle[open] .compare-toggle-mark { transform: rotate(180deg); }
.compare-figure-toggle .story-figure { margin: 0; border: 0; border-top: 1px solid var(--line); }

/* automatic related reading: titles only, never article summaries */
.reading-related { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.reading-related > h2 { margin-bottom: 10px; color: var(--ink); font-size: 17px; font-weight: 750; }
.reading-related ul { list-style: none; }
.reading-related li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.reading-related li:first-child { border-top: 0; }
.reading-related a { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 650; line-height: 1.5; }
.reading-related time { color: var(--faint); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.reading-badge { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 520px) {
  .reading-related li { grid-template-columns: auto minmax(0, 1fr); gap: 4px 9px; }
  .reading-related time { grid-column: 2; }
}
