/* SIGNALS · 荧光覆印：沿用选定原型的配色、刊头、封面和阅读布局。 */
:root {
  color-scheme: light;
  --paper: #f2eff7;
  --ink: #201935;
  --muted: #5c526d;
  --violet: #322477;
  --lilac: #dfd5ff;
  --amber: #ffd25a;
  --rule: #c0b6d1;
  --sans: 'Helvetica Neue', 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', system-ui, sans-serif;
  --display: 'Arial Black', 'Helvetica Neue', 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: .1em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }

.shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }

.skip { position: absolute; top: .5rem; left: .5rem; z-index: 10; padding: .65rem 1rem; background: var(--amber); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .875rem; font-weight: 800; text-decoration: none; }
.brand-mark { flex: none; width: 37px; height: 32px; display: grid; align-content: center; justify-items: center; gap: 3px; padding-inline: 6px; border-radius: 10px 10px 10px 2px; background: var(--ink); }
.brand-mark i { display: block; width: 17px; height: 3px; border-radius: 2px; background: var(--amber); transform: skewX(-32deg); }
.brand-mark i:first-child { margin-left: 6px; }
.brand-mark i:last-child { margin-right: 6px; }
.site-nav { display: flex; align-items: center; gap: clamp(5px, 1.5vw, 20px); white-space: nowrap; }
.site-nav a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 8px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 4vw, 56px); margin: 38px 0 34px; }
.masthead-word {
  flex: 0 0 auto;
  margin: -.05em 0 0 -.055em;
  font: 900 clamp(2.65rem, 7.4vw, 6rem)/.96 var(--display);
  letter-spacing: -.07em;
}
.issue-info { min-width: 0; max-width: 30rem; padding-left: clamp(16px, 3vw, 34px); border-left: 1px solid var(--rule); }
.issue-date { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.issue-date time, .article-bar time, .archive time { font: 700 .875rem/1.3 var(--mono); }
.issue-date span, .edition-badge { display: inline-block; padding: .15rem .5rem; border: 1px solid var(--rule); border-radius: 20px; color: var(--muted); font-size: .72rem; }
.issue-info p { color: var(--muted); }
.issue-info .masthead-lead { font-size: clamp(.95rem, 1.3vw, 1.14rem); line-height: 1.65; font-weight: 650; overflow-wrap: anywhere; }
.brand-subtitle { margin-left: 7px; color: var(--muted); font-weight: 600; }

.cover { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); border-radius: 32px 32px 32px 8px; background: var(--amber); }
.cover-story { padding: clamp(26px, 4.5vw, 62px); }
.cover-kicker, .article-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 800; }
.cover-kicker::before, .article-kicker::before { content: ''; width: .63rem; height: .63rem; border-radius: 50%; background: currentColor; }
.cover h2 {
  margin-top: 14px;
  font-size: clamp(1.375rem, 2.85vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -.028em;
  overflow-wrap: anywhere;
}
.issue-cover h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.053em;
  overflow-wrap: anywhere;
}
.cover h2 a { text-decoration: none; }
.cover h2 a:hover { text-decoration: underline; text-decoration-thickness: .06em; }
.cover-story .cover-deck { max-width: 36em; margin-top: 19px; font-size: clamp(1rem, 1.45vw, 1.13rem); }
.issue-cover .issue-date { margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li { overflow-wrap: anywhere; display: inline-block; padding: 2px 9px; border: 1px solid currentColor; border-radius: 12px; font-size: .72rem; line-height: 1.5; }
.cover-link { display: inline-flex; align-items: center; gap: 20px; min-height: 46px; width: fit-content; margin-top: 22px; padding: 0 1rem; border-radius: 12px 12px 12px 4px; background: var(--ink); color: var(--amber); font-size: .9rem; font-weight: 750; text-decoration: none; }
.cover-link:hover { background: var(--violet); }
.cover-link:focus-visible { outline-color: var(--ink); }

.cover-art {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  margin: 10px 10px 10px 0;
  padding: clamp(21px, 3.6vw, 47px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px 24px 24px 6px;
  background: var(--violet);
  color: #f7f3ff;
}
.cover-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background-image: radial-gradient(circle, rgba(223, 213, 255, .24) 1px, transparent 1.2px);
  background-size: 13px 13px;
}
.cover-art figcaption { position: relative; width: fit-content; padding: 5px 10px; background: var(--lilac); color: var(--violet); border-radius: 8px 8px 8px 2px; font-size: .83rem; font-weight: 800; }
.track-visual { align-self: center; padding-block: 15px; }
.track-names { display: grid; grid-template-columns: 26% 39% 35%; gap: 0; color: var(--lilac); font-size: clamp(.67rem, 1.1vw, .8rem); font-weight: 700; }
.track-names span:last-child { text-align: right; }
.track-canvas { position: relative; height: clamp(125px, 16vw, 215px); margin: 7px 0 0; border-block: 1px solid rgba(223, 213, 255, .45); }
.trace { position: absolute; inset-inline-start: 10px; border: 4px solid currentColor; border-left: 0; }
.trace span { position: absolute; left: -8px; top: -8px; width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; background: var(--violet); }
.trace-a { top: 23%; width: 31%; height: 27%; border-bottom: 0; border-radius: 0 19px 0 0; color: var(--lilac); }
.trace-b { top: 50%; width: 82%; height: 0; border-width: 4px 0 0; color: var(--amber); transform: translateY(-2px); }
.trace-c { bottom: 23%; width: 54%; height: 27%; border-top: 0; border-radius: 0 0 19px 0; color: #ffa9d0; }
.trace-c span { top: auto; bottom: -8px; }
.trace-end {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: clamp(44px, 6vw, 84px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: var(--amber);
  color: var(--ink);
  border-radius: 29% 29% 29% 8%;
  font-size: clamp(1.55rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}
.issue-metrics { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; color: #f5edff; }
.issue-metrics > div { display: flex; align-items: baseline; gap: 5px; }
.issue-metrics dt { font-size: .8rem; }
.issue-metrics dd { margin: 0; color: var(--amber); font: 750 .95rem var(--mono); }

.edition-list, .archive { margin-top: 46px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
.section-header h2, .column-title { font-size: clamp(1.65rem, 3.2vw, 2.35rem); line-height: 1.14; letter-spacing: -.05em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--violet); font-size: .88rem; font-weight: 750; }
.story-section { margin-top: 28px; }
.column-title { margin-bottom: 12px; font-size: clamp(1.18rem, 2vw, 1.55rem); }
.story-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.story { min-width: 0; padding: clamp(15px, 2vw, 23px) clamp(18px, 2.6vw, 30px); border-radius: 16px 16px 16px 4px; background: #e9e0f6; }
.story-section:nth-of-type(3n + 2) .story { background: var(--lilac); }
.story-section:nth-of-type(3n) .story { background: #f4e1f0; }
.story-title { font-size: clamp(1.05rem, 1.8vw, 1.4rem); line-height: 1.32; letter-spacing: -.018em; overflow-wrap: anywhere; }
.story-title a { text-decoration: none; }
.story-title a:hover { text-decoration: underline; }
.digest { margin-top: 8px; color: #443956; font-size: .94rem; overflow-wrap: anywhere; }
.story .tags { margin-top: 10px; }
.story-brief { padding-block: 12px; }
.story-brief .story-title { font-size: 1.03rem; }
.story-brief .digest { margin-top: 4px; }
.archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.archive-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; height: 100%; padding: 13px 16px; border: 1px solid var(--rule); border-radius: 12px 12px 12px 4px; text-decoration: none; }
.archive-row:hover { background: #e9e0f6; }
.archive-id { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: .82rem; }
.archive-id span, .archive-lead, .archive-count { color: var(--muted); font-size: .82rem; }
.archive-lead { grid-column: 1; overflow-wrap: anywhere; }
.archive-count { grid-column: 2; grid-row: 1; white-space: nowrap; }
.empty-state { padding: 25px; border-radius: 16px 16px 16px 4px; background: var(--lilac); }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 1rem; margin-top: 42px; padding-block: 15px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .82rem; }
.footer strong { color: var(--ink); }
.footer a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

.article-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9rem; font-weight: 750; }
.article-bar > span { text-align: right; }
.issue-pagination { flex-wrap: wrap; }
.article-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 29%); gap: clamp(24px, 6vw, 78px); padding: clamp(26px, 5.2vw, 74px); border-radius: 32px 32px 32px 8px; background: var(--violet); color: #f7f3ff; }
.article-kicker { color: var(--amber); }
.article-heading h1 {
  margin-top: 20px;
  font-size: clamp(1.45rem, 2.65vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -.028em;
  overflow-wrap: anywhere;
}
.article-heading p { margin-top: 20px; color: #eee6ff; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.article-heading .tags { color: #eee6ff; }
.reader-value { align-self: end; padding: clamp(18px, 2.4vw, 30px); border-radius: 18px 18px 18px 5px; background: var(--amber); color: var(--ink); }
.reader-value h2 { font-size: clamp(1.14rem, 2vw, 1.45rem); line-height: 1.25; font-weight: 850; }
.reader-value p { overflow-wrap: anywhere; margin-top: 10px; font-size: .94rem; }
.reader-value a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; font-size: .875rem; font-weight: 750; }
.article-layout { display: grid; grid-template-columns: minmax(155px, 19%) minmax(0, 680px); justify-content: start; gap: clamp(20px, 7vw, 112px); margin: 45px clamp(0px, 4vw, 56px) 0; align-items: start; }
.contents { position: sticky; top: 20px; padding: 15px 0 12px; border-top: 3px solid var(--violet); border-bottom: 1px solid var(--rule); }
.issue-layout { grid-template-columns: minmax(155px, 19%) minmax(0, 1fr); }
.issue-layout > .issue-stories:only-child { grid-column: 1 / -1; }
.issue-stories .story-section:first-child { margin-top: 0; }
.toc-count { padding-left: 12px; color: var(--muted); font: .75rem var(--mono); }
.issue-notes { margin-top: 24px; color: var(--muted); font-size: .85rem; }
.contents h2 { font-size: .92rem; }
.contents ul, .sources ul { margin: 6px 0 0; padding: 0; list-style: none; }
.contents a { display: flex; align-items: center; min-height: 36px; color: var(--violet); font-size: .875rem; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.article-body section { margin-bottom: 34px; padding-top: 14px; border-top: 1px solid var(--rule); }
.article-body section:first-child { border-top-color: var(--ink); }
.article-body section:target { border-top: 3px solid var(--violet); }
.article-body h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.25; letter-spacing: -.045em; }
.article-body p, .reading-points { color: #3c334c; font-size: 1.06rem; line-height: 1.85; }
.article-body p + p { margin-top: 12px; }
.reading-points { margin: 0; padding-left: 1.65em; }
.reading-points li { padding-left: .25em; margin: 8px 0; }
.reading-points li::marker { font: 700 .85em var(--mono); color: var(--violet); }
.article-body .reading-note { margin-top: 16px; padding: 12px 15px; border-left: 3px solid var(--violet); background: #e9e0f6; font-size: .86rem; }
.sources li + li { margin-top: 7px; }
.sources .source-title { overflow-wrap: anywhere; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px 10px 10px 3px; background: var(--lilac); color: var(--violet); font-weight: 750; text-decoration: none; }
.sources .source-title:hover { text-decoration: underline; }
.sources small { display: block; font-size: .8rem; font-weight: 500; }
.discussion-link { display: inline-block; margin: 6px 10px 0 0; color: var(--violet); font-size: .84rem; }
.source-reading { margin: 12px 0; overflow-wrap: anywhere; }
.article-body { min-width: 0; overflow-wrap: anywhere; }
.end-back { margin-top: -13px; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 56px); }
  .cover-story { padding: clamp(20px, 3.7vw, 44px); }
}

@media (max-width: 740px) {
  .shell { width: calc(100% - 32px); }
  .topbar { min-height: 58px; }
  .masthead { display: block; margin: 24px 0 20px; }
  .issue-info { min-width: 0; margin-top: 17px; padding: 0; border: none; }
  .issue-date { margin-bottom: 6px; }
  .cover { grid-template-columns: 1fr; border-radius: 24px 24px 24px 6px; }
  .cover-story { padding: 24px; }
  .cover h2 { margin-top: 13px; }
  .cover-story .cover-deck { margin-top: 14px; }
  .cover-art { min-height: 232px; margin: 0 8px 8px; padding: 15px; border-radius: 18px 18px 18px 4px; }
  .edition-list, .archive { margin-top: 32px; }
  .archive-grid { grid-template-columns: 1fr; }
  .story { padding: 19px; }
  .article-hero { grid-template-columns: 1fr; gap: 19px; padding: 24px; border-radius: 24px 24px 24px 6px; }
  .article-heading h1 { margin-top: 14px; }
  .article-heading p { margin-top: 14px; }
  .article-layout, .issue-layout { grid-template-columns: 1fr; gap: 20px; margin: 25px 2px 0; }
  .contents { position: static; padding: 10px 0 7px; }
  .contents ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .contents a { min-height: 44px; }
  .reader-value { padding: 16px; }
  .article-body p, .reading-points { font-size: 1rem; }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 24px); }
  .brand { gap: 7px; }
  .brand-subtitle { display: none; }
  .cover-story, .article-hero { padding: 19px; }
  .site-nav { gap: 2px; }
}
