/* Local editorial refinement, sharing the site's existing palette and fonts. */
/* The --fs-* scale stays as index.html defines it: clamp() values that the
   pre-redesign site used. Do not shrink it here. */
:root {
  --hairline: color-mix(in srgb, var(--line) 65%, transparent);
}
body { isolation: isolate; }
body::before { z-index: -1; opacity: .022; }
h1, h2, h3 { letter-spacing: 0; }
p { text-wrap: pretty; }
.nav { gap: 24px; }
.nav-links { gap: 22px; }
.nav-links a { white-space: nowrap; }
.nav-links a::after { height: 1px; }
.nav-links a[aria-current="true"]::after { box-shadow: none; }
.menu-button, .button { min-height: 44px; }
.menu-button { width: 44px; }
.button { box-shadow: none; }
.band { padding-block: 88px; }
.hero { padding-top: calc(var(--header) + 48px); padding-bottom: 36px; }
.hero .kicker { margin-bottom: 14px; }
.hero h1 { font-size: 60px; line-height: 1.16; }
.hero-heading { gap: 12px; }
.hero-edition { margin-bottom: 0; }
/* 按要求加粗：尺寸、宽度、间距仍与改版前一致，只有字重是刻意加的。
   自托管字体有真 SemiBold，600 命中真字形而非伪粗体。 */
.hero-lead { font-weight: 600; }
.hero .actions { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.hero .text-link-download { white-space: nowrap; }
.hero-evidence { margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.hero-evidence strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hero-evidence span { color: var(--muted); font-size: 14px; }
.hero-visual { max-width: 1100px; margin-inline: auto; }
.product-frame { max-width: 1100px; margin-inline: auto; border: 1px solid var(--forest); box-shadow: 0 12px 30px rgba(32, 40, 34, .08); }
.product-frame .shot { display: block; width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.product-frame img { width: 100%; height: auto; }
.hero-caption { align-items: center; padding-top: 12px; font-size: 13px; }
.hero-caption strong { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); }
.hero-caption a { padding-block: 6px; border-bottom: 1px solid var(--line-dark); white-space: nowrap; }
.hero .forum-hero-prompt { margin-top: 26px; padding-top: 18px; gap: 12px; }
.forum-hero-prompt-copy { margin: 0; }
.forum-hero-prompt-copy strong { font-size: 15px; }
.forum-hero-prompt-copy span { font-size: 13px; }
.release-strip { margin-top: 24px; }
.release-strip strong { font-size: 15px; }
.trace-step { min-height: 260px; }
.result-feature .shot { max-height: 820px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-dark) var(--wash); }
.theme-showcase .shot { box-shadow: none; }
.theme-caption { grid-template-columns: 1fr; gap: 6px; }
.theme-caption p { line-height: 1.8; }
.principles blockquote { font-size: 32px; }
.beta-form { box-shadow: 0 8px 24px rgba(32, 40, 34, .06); }

/* Publication: a compact common masthead, then three distinct reading rhythms. */
.news-page { padding-top: calc(var(--header) + 30px); }
.edition-switch { gap: 28px; margin-bottom: 30px; border-color: var(--line); }
.edition-tab { flex: none; font-size: 15px; min-height: 44px; white-space: nowrap; }
.edition-tab::after { height: 1px; }
.news-page-intro { max-width: 930px; margin-bottom: 22px; }
.news-page-intro .kicker { margin-bottom: 12px; }
.news-page-intro h1 { max-width: none; margin-bottom: 10px; font-size: 40px; line-height: 1.35; text-wrap: initial; }
.news-headline-main .keep-word, .keep-word { display: inline-block; white-space: nowrap; }
.news-page-intro h1 .keep-word { color: var(--ink); }
.news-page-intro .news-intro-line { margin-bottom: 10px; color: var(--ink-soft); font-family: var(--serif); font-size: 22px; }
.news-intro-description { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.news-source-note { margin-top: 18px; padding-top: 12px; border-color: var(--hairline); gap: 6px 20px; font-size: 12px; }
.news-toolbar, .forum-toolbar { border-color: var(--line); }
.news-layout, .forum-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 52px; margin-top: 30px; }
.news-rail, .news-stream, .forum-rail, .forum-list { border-top-color: var(--line-dark); }
.news-rail-head strong, .forum-rail-head strong { font-size: 18px; }
.news-rail-list li, .forum-rail-list li { border-color: var(--hairline); }
.news-rail-list button, .forum-rail-list button { padding-block: 11px; }
.news-day { grid-template-columns: 122px minmax(0, 1fr); gap: 24px; }
.news-date strong { font-size: 20px; }
.news-day-items { border-color: var(--line); }
.news-entry { padding-block: 20px 26px; border-color: var(--hairline); }
.news-entry h2 { margin-top: 12px; font-size: 24px; line-height: 1.5; text-wrap: pretty; }
.news-entry-lead, .news-entry-impact { font-size: 14px; line-height: 1.8; }
.news-entry-impact { grid-template-columns: 104px minmax(0, 1fr); border-color: var(--hairline); }
.news-entry-impact dt { color: var(--ink-soft); font-weight: 500; }
.news-entry-action { margin-top: 10px; }
.news-entry-action dt { color: var(--accent-dark); font-weight: 600; }
.news-entry-status, .forum-thread-status { background: transparent; border-color: var(--line); color: var(--muted); font-size: 12px; }
.news-entry-status[data-status], .forum-thread-status[data-status] { background: transparent; border-color: var(--line); color: var(--muted); }
.news-note, .forum-note { line-height: 1.85; }
.daily-panel { width: min(100%, 860px); }
.daily-kicker, .daily-article { width: min(100%, 650px); max-width: 650px; margin-left: auto; margin-right: 44px; }
.daily-kicker { margin-bottom: 16px; }
.daily-article { border-top-color: var(--line-dark); }
.daily-article-meta { padding-top: 16px; gap: 8px 14px; font-size: 12px; }
.daily-article h2 { margin: 22px 0 16px; font-size: 38px; line-height: 1.35; }
.daily-dek { max-width: 100%; margin-bottom: 28px; font-size: 17px; line-height: 1.9; }
.daily-body { max-width: 100%; padding-top: 26px; border-color: var(--hairline); }
.daily-body p { margin-bottom: 24px; font-size: 17px; line-height: 1.95; }
.daily-divider { margin-block: 36px; border-color: var(--line); }
.daily-quote { margin-block: 32px; padding-left: 22px; border-left-width: 1px; font-size: 22px; }
.daily-question, .daily-archive { border-color: var(--hairline); }
.daily-archive-item { padding-block: 15px; border-color: var(--hairline); }
.daily-archive-title { font-family: var(--serif); font-size: 16px; }
.daily-archive-head { margin-bottom: 18px; }
.film-caption, .film-foot, .film-list-item { border-color: var(--line); }
.film-list [data-film-list] { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.film-list-item { grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding-block: 18px; border-top: 1px solid var(--line); border-bottom: 0; }
.film-list-item + .film-list-item { border-top: 1px solid var(--line); }
.film-list-poster { display: block; width: 112px; height: 72px; object-fit: cover; border-radius: 3px; }
.film-list-copy { display: grid; min-width: 0; gap: 5px; }
.film-list-copy small { color: var(--muted); font-size: 12px; }
.film-list-item .film-list-copy strong { font-size: 18px; }
.film-list-item.is-current .film-list-copy strong { color: var(--accent-dark); }
.film-list-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.film-heading { scroll-margin-top: calc(var(--header) + 24px); }

/* Discussion titles take priority over the supporting index. */
.forum-page { padding-top: calc(var(--header) + 40px); }
.forum-page-intro { max-width: 970px; margin-bottom: 28px; }
.forum-page-intro h1 { max-width: 970px; font-size: 42px; line-height: 1.35; margin-bottom: 14px; }
.forum-page-intro h1 span { color: var(--ink-soft); }
.forum-page-intro p:last-child { font-size: 16px; line-height: 1.8; }
.forum-presence { display: none; }
.forum-thread { gap: 24px; padding-block: 23px; border-color: var(--hairline); }
.forum-thread-open { font-size: 23px; line-height: 1.5; text-wrap: pretty; }
.forum-thread-excerpt { font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.forum-thread-tag { color: var(--ink-soft); font-weight: 500; }
.forum-thread-foot { gap: 8px 12px; }
.forum-thread-foot > span:nth-child(2) { display: none; }
.forum-thread-side { min-width: 48px; }
.forum-thread-side strong { font-size: 18px; }
.forum-thread-side span::before { content: none; }
.forum-thread-meta { gap: 8px 12px; }
.form-field input, .form-field textarea, .form-field select { font-size: 16px; }
[data-dialog] .screenshot-zoom { right: max(64px, calc(3vw + 50px)); }
[data-dialog].is-zoomed [data-dialog-image] { width: auto; max-width: none; }

@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-home, .nav-download { display: none; }
  .menu-button { display: grid; }
  .nav-links { position: absolute; top: var(--header); right: 24px; left: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 12px 20px; background: var(--paper); border: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { justify-self: start; padding: 12px 4px; }
  .nav-links a::after { bottom: 7px; left: 4px; right: 4px; }
  .hero-copy { grid-template-columns: 1fr; gap: 22px; }
  .hero-side { max-width: 650px; }
}
@media (max-width: 960px) {
  .news-layout, .forum-layout { grid-template-columns: 1fr; gap: 32px; }
  .news-stream, .forum-feed { order: -1; }
  .news-day { grid-template-columns: 1fr; gap: 0; }
  .news-rail-list, .forum-rail-list { display: none; }
  .news-rail-head, .forum-rail-head { display: none; }
  .news-note, .forum-note { margin-top: 0; border-top: 0; }
}
@media (max-width: 820px) {
  html { scrollbar-gutter: auto; }
  .container, .nav { width: calc(100% - 40px); }
  .nav { gap: 12px; }
  .nav-links { left: 20px; right: 20px; }
  .band { padding-block: 58px; }
  .section-intro { margin-bottom: 30px; }
  .hero { padding-top: calc(var(--header) + 30px); padding-bottom: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-copy { gap: 18px; margin-bottom: 26px; }
  .hero .actions { column-gap: 18px; row-gap: 8px; }
  .hero .actions .button { padding-inline: 16px; font-size: 13px; }
  .hero .text-link-download { font-size: 13px; }
  .hero-evidence { gap: 4px; flex-direction: column; }
  .hero-evidence strong { font-size: 20px; }
  .hero-evidence span { font-size: 13px; }
  .hero-caption { grid-template-columns: 1fr auto; gap: 16px; font-size: 12px; }
  .hero-caption strong { font-size: 12px; line-height: 1.8; }
  .hero .forum-hero-prompt { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-top: 22px; padding-top: 16px; }
  .forum-hero-prompt-mark { display: none; }
  .forum-hero-prompt-copy span { white-space: normal; overflow: visible; font-size: 12px; }
  .forum-hero-prompt-link { grid-column: auto; font-size: 12px; }
  .release-strip { gap: 14px 20px; margin-top: 22px; padding-top: 16px; }
  .manifesto-grid { gap: 24px; }
  .trace-step { min-height: 230px; }
  .result-feature .shot { max-height: 560px; }
  .principles blockquote { font-size: 26px; }
  .news-page, .forum-page { padding-top: calc(var(--header) + 24px); }
  .edition-switch { justify-content: space-between; gap: 14px; margin-bottom: 24px; }
  .edition-tab { font-size: 14px; }
  .news-page-intro h1 { font-size: 28px; line-height: 1.4; }
  .news-page-intro .news-intro-line { font-size: 18px; }
  .news-intro-description { font-size: 14px; }
  .news-source-note { margin-top: 14px; padding-top: 10px; gap: 5px; }
  .news-source-note > strong { display: none; }
  .news-layout { margin-top: 18px; }
  .news-date { padding-block: 12px 6px; }
  .news-date strong { font-size: 20px; }
  .news-entry { padding-top: 16px; }
  .news-entry::before { top: 24px; }
  .news-entry h2 { font-size: 21px; line-height: 1.5; }
  .news-entry-impact { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
  .daily-panel { width: 100%; }
  .daily-article, .daily-kicker { width: min(100%, 650px); margin-inline: auto; }
  .daily-kicker { font-size: 12px; margin-bottom: 12px; }
  .daily-article-meta { gap: 5px 10px; line-height: 1.7; }
  .daily-article h2 { font-size: 30px; margin-block: 20px 14px; }
  .daily-dek { font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
  .daily-body { padding-top: 22px; }
  .daily-body p { font-size: 17px; line-height: 1.95; margin-bottom: 22px; }
  .daily-quote { padding-left: 16px; font-size: 20px; }
  .daily-archive-item { padding-block: 14px; }
  .film-caption { grid-template-columns: 1fr; gap: 5px; }
  .film-list [data-film-list] { grid-template-columns: 1fr; }
  .film-list-item { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding-block: 16px; }
  .film-list-poster { width: 96px; height: 64px; }
  .film-list-item .film-list-copy strong { font-size: 17px; }
  .forum-page-intro { margin-bottom: 22px; }
  .forum-page-intro .kicker { margin-bottom: 12px; }
  .forum-page-intro h1 { font-size: 30px; line-height: 1.4; }
  .forum-page-intro p:last-child { font-size: 14px; }
  .forum-toolbar { gap: 8px; }
  .forum-actions { flex-direction: row; gap: 16px; align-items: center; }
  .forum-search { min-width: 0; }
  .forum-compose { width: auto; min-width: 98px; }
  .forum-layout { margin-top: 24px; }
  .forum-thread { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .forum-thread-side { display: flex; flex-direction: column; gap: 5px; min-width: 36px; justify-content: center; align-items: flex-end; font-size: 11px; }
  .forum-thread-side strong { font-size: 17px; }
  .forum-thread-open { font-size: 21px; line-height: 1.5; }
  .forum-thread-meta { font-size: 12px; }
  .forum-person { flex-basis: 100%; }
  .forum-thread-excerpt { font-size: 14px; -webkit-line-clamp: 2; margin-bottom: 12px; }
  .forum-thread-foot { font-size: 12px; }
  .forum-thread-foot .forum-read { margin-left: auto; }
  .forum-dialog-inner { padding: 42px 24px 28px; }
  .forum-dialog-actions { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .container, .nav { width: calc(100% - 32px); }
  .brand { gap: 8px; font-size: 14px; }
  .brand-name { gap: 6px; }
  .hero h1 { font-size: 30px; }
  .hero-heading { gap: 8px; }
  .hero .text-link-download { font-size: 12px; }
  .hero .actions { gap: 12px; }
  .hero .actions .button { padding-inline: 12px; }
  .edition-tab { font-size: 13px; }
  .edition-switch { gap: 12px; }
  .news-page-intro h1 { font-size: 26px; }
  .news-tabs, .forum-tabs { gap: 14px; }
  .news-entry-impact { grid-template-columns: 1fr; gap: 2px; }
  .forum-thread { grid-template-columns: 1fr; }
  .forum-thread-side { flex-direction: row; justify-content: flex-start; align-items: baseline; }
  .film-list-item { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; }
  .film-list-poster { width: 80px; height: 54px; }
}
