@font-face {
  font-family: Inter;
  src: url('./fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* One editorial system: 8px rhythm, 4px optical adjustments, no card shadows. */
:root {
  color-scheme: light;
  --page: #f8f8f5;
  --sidebar: #f2f3ef;
  --surface: #fdfdfb;
  --hover: #eeefea;
  --text: #292e2b;
  --secondary: #59625b;
  --muted: #717a72;
  --line: #dce0d7;
  --line-soft: #e7e9e2;
  --accent: #526e59;
  --accent-subtle: #e5ebe3;
  --on-accent: #fff;
  --font: Inter, 'Noto Sans SC', 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --radius: 4px;
  --sidebar-width: 216px;
  --page-gutter: 56px;
  --duration: 180ms;
  --display: clamp(40px, 4vw, 64px);
  --heading: 22px;
  --body: 16px;
  --caption: 13px;
  --metadata: 12px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #0b0b0d;
  --sidebar: #111113;
  --surface: #171719;
  --hover: #232326;
  --text: #f5f5f7;
  --secondary: #b5b5bb;
  --muted: #929298;
  --line: #333337;
  --line-soft: #27272b;
  --accent: #d4d7de;
  --accent-subtle: #292a2e;
  --on-accent: #111113;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { isolation: isolate; margin: 0; font: var(--body)/1.7 var(--font); color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-subtle); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; opacity: .4; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
a, button { transition: color var(--duration), background-color var(--duration), border-color var(--duration); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: var(--radius); }
svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; flex-shrink: 0; stroke-width: 1.5; }
h1, h2, h3, p, figure { margin: 0; }
button svg { pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--surface); padding: 12px 20px; }
.skip:focus { top: 12px; }

/* Quiet navigation: the selected item is a typographic state, not a pill. */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 36px 24px 24px; background: var(--sidebar); display: flex; flex-direction: column; z-index: 10; overflow-y: auto; }
.brand { display: flex; align-items: flex-start; gap: 11px; font-size: 20px; font-weight: 560; letter-spacing: -.8px; padding: 0 8px; }
.brand-mark { color: var(--accent); font-size: 27px; font-weight: 400; line-height: 1.25; }
.brand-sub { display: block; font-size: 11px; font-weight: 400; letter-spacing: .4px; color: var(--muted); margin-top: 4px; }
.nav-label { font-size: 11px; letter-spacing: 1px; color: var(--muted); margin: 56px 12px 16px; }
nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; font-size: 13px; color: var(--secondary); position: relative; border-radius: var(--radius); }
.nav-item svg { width: 16px; height: 16px; color: var(--muted); }
.nav-item:hover { color: var(--text); background: var(--hover); }
.nav-item.active { color: var(--text); font-weight: 550; }
.nav-item.active::before { content: ''; width: 2px; height: 16px; position: absolute; left: -2px; top: 12px; background: var(--accent); }
.nav-item.active svg { color: var(--accent); }
.nav-count { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 400; }
.nav-divider { height: 16px; }
.sidebar-note { margin: 40px 12px 32px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.sidebar-bottom { margin-top: auto; padding-top: var(--space-5); }
.blog-link { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 12px; color: var(--secondary); }
.blog-link:hover { color: var(--accent); }
.profile { display: flex; align-items: center; gap: 10px; margin-top: var(--space-5); padding: 20px 8px 0; border-top: 1px solid var(--line-soft); font-size: 12px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; color: var(--secondary); }
.profile small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.shell { position: relative; z-index: 1; margin-left: var(--sidebar-width); }
.topbar { height: 88px; padding: 0 var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.breadcrumb { display: flex; align-items: center; gap: var(--space-4); font-size: 12px; color: var(--muted); }
.breadcrumb strong { color: var(--secondary); font-weight: 450; }
.separator { opacity: .45; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .edition { margin-right: 16px; }
.edition { font-size: 11px; color: var(--muted); }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; color: var(--secondary); border-radius: var(--radius); }
.icon-button:hover { background: var(--hover); color: var(--text); }
main { max-width: 1480px; margin: 0 auto; padding: 16px var(--page-gutter) 80px; min-height: calc(100vh - 180px); }
main:focus { outline: none; }

/* Editorial cover: a large reading promise and a small, original star atlas. */
.editorial-hero { padding-top: 20px; margin-bottom: 56px; }
.hero-edition { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); font-size: 12px; color: var(--secondary); font-variant-numeric: tabular-nums; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.hero-edition > span:first-child { display: flex; align-items: center; gap: var(--space-2); }
.status-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-right: 2px; }
.edition-separator { color: var(--muted); margin: 0 8px; }
.hero-weekday { color: var(--muted); margin-left: 8px; }
.edition-volume { color: var(--muted); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) 288px; align-items: center; gap: 32px; padding: 48px 0 8px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 450; letter-spacing: .6px; margin-bottom: var(--space-5); }
h1 { font-size: var(--display); line-height: 1.32; letter-spacing: -2px; font-weight: 500; text-wrap: balance; }
.hero-copy h1 span { color: var(--secondary); }
.hero-description { color: var(--secondary); font-size: 15px; line-height: 1.9; margin-top: 28px; }
.reading-map { align-self: center; width: 100%; max-width: 288px; }
.reading-map img { display: block; width: 100%; height: auto; }
.reading-map figcaption { text-align: center; color: var(--muted); font-size: 11px; margin-top: 12px; letter-spacing: 1px; }

/* An index, not a wall of cards. The first entry is given editorial priority. */
.dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 216px; gap: 56px; align-items: start; }
.content-column { min-width: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); min-height: 40px; margin-bottom: 12px; }
.section-title { display: flex; align-items: baseline; gap: 12px; font-size: 16px; font-weight: 550; letter-spacing: -.3px; }
.count { font: 12px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.search { display: flex; align-items: center; gap: var(--space-2); width: 204px; padding: 8px 0 8px 12px; color: var(--muted); border-bottom: 1px solid transparent; }
.search:focus-within { border-color: var(--accent); }
.search svg { width: 16px; height: 16px; }
.search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; font-size: 12px; line-height: 24px; }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-5); border-bottom: 1px solid var(--line); min-height: 44px; }
.tab { padding: 8px 0 12px; font-size: 13px; color: var(--muted); position: relative; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--accent); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: 32px 0; border-bottom: 1px solid var(--line-soft); }
.card:focus-visible { outline-offset: 8px; }
.card-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; font-size: var(--metadata); line-height: 1.5; }
.entry-index { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 11px; }
.channel-badge { color: var(--secondary); font-size: 12px; font-weight: 450; }
.card-date { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.card h3 { font-size: var(--heading); line-height: 1.55; font-weight: 550; letter-spacing: -.5px; overflow-wrap: anywhere; transition: color var(--duration); text-wrap: pretty; }
.card:hover h3 { color: var(--accent); }
.card-summary { margin-top: 16px; color: var(--secondary); font-size: 15px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: auto; padding-top: var(--space-5); font-size: 11px; color: var(--muted); }
.card-footer span:last-child { color: var(--secondary); }
.card:hover .card-footer span:last-child { color: var(--accent); }
.card-footer svg { width: 14px; height: 14px; margin-left: 6px; }
.lead-entry { grid-column: 1/-1; padding: 32px 0 36px; }
.lead-entry .card-header { margin-bottom: 20px; }
.lead-entry .card-copy { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; }
.lead-entry h3 { font-size: 28px; line-height: 1.55; font-weight: 500; }
.lead-entry .card-summary { margin: 0; font-size: 15px; -webkit-line-clamp: 4; }
.lead-entry .card-footer { padding-top: var(--space-5); }

/* The supporting rail is intentionally quieter than the reading column. */
.right-column { padding-top: 12px; }
.panel { margin-bottom: 40px; }
.panel h2 { margin-bottom: var(--space-5); font-size: 12px; font-weight: 500; color: var(--secondary); }
.calendar-heading { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 20px; }
.calendar-controls { display: flex; gap: 4px; }
.calendar-controls button { display: grid; place-items: center; width: 24px; height: 28px; color: var(--secondary); border-radius: var(--radius); }
.calendar-controls button:hover:not(:disabled) { background: var(--hover); }
.calendar-controls svg { width: 13px; height: 13px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.weekday { color: var(--muted); font-size: 11px; padding-bottom: 8px; }
.day { position: relative; width: 100%; height: 28px; padding: 0; font-size: 11px; border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.day[data-has='true']::after { content: ''; position: absolute; bottom: 2px; left: calc(50% - 1px); width: 2px; height: 2px; border-radius: 50%; background: var(--accent); }
.day.selected { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.day.selected::after { background: var(--on-accent); }
.day:hover:not(:disabled):not(.selected) { background: var(--hover); }
.calendar-legend { display: flex; align-items: center; gap: var(--space-2); margin-top: 20px; font-size: 10px; color: var(--muted); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.date-select { width: 100%; height: 40px; padding: 8px 0; margin-top: 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--page); font-size: 12px; }
.archive-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--secondary); font-size: 12px; margin-top: 20px; }
.archive-link:hover { color: var(--accent); }
.archive-link svg { width: 14px; height: 14px; }
.collection-panel { border-top: 1px solid var(--line-soft); padding-top: 28px; }
.collection-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-5); }
.collection-numbers strong { display: block; font-size: 28px; line-height: 1.3; font-weight: 400; letter-spacing: -1px; color: var(--secondary); font-variant-numeric: tabular-nums; }
.collection-numbers span { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; }
.about-copy { font-size: 12px; line-height: 1.9; color: var(--secondary); }
.sync-info { margin-top: 20px; font-size: 11px; line-height: 1.9; color: var(--muted); }

/* Reading typography: a stable measure and generous vertical rhythm. */
.back-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 13px; color: var(--secondary); margin: 24px 0 48px; }
.back-link svg { width: 15px; height: 15px; }
.back-link:hover { color: var(--accent); }
.reader-layout { display: grid; grid-template-columns: minmax(0, 720px) 200px; gap: 72px; justify-content: center; }
.reader { min-width: 0; }
.reader > .channel-badge { color: var(--accent); letter-spacing: .5px; }
.reader h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.5; font-weight: 500; margin: 24px 0; letter-spacing: -1px; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-5); font-size: 12px; color: var(--muted); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.prose { padding-top: 16px; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.prose h2 { font-size: 26px; font-weight: 550; line-height: 1.6; margin: 48px 0 20px; letter-spacing: -.6px; scroll-margin-top: 32px; }
.prose h3 { font-size: 20px; font-weight: 550; line-height: 1.7; margin: 32px 0 16px; }
.prose p, .prose ul, .prose ol { margin: 24px 0; }
.prose li { margin: 10px 0; }
.prose ul, .prose ol { padding-left: 26px; }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); color: var(--secondary); font-size: 16px; }
.prose pre { overflow: auto; padding: 24px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); font-size: 13px; line-height: 1.7; }
.prose code { background: var(--hover); font-size: .85em; padding: 2px 4px; border-radius: 2px; }
.prose pre code { padding: 0; background: transparent; }
.prose table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; font-size: 14px; line-height: 1.7; margin: 32px 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 12px 16px; min-width: 100px; text-align: left; }
.prose th { background: var(--surface); font-weight: 550; }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.reader-side { position: sticky; top: 40px; align-self: start; padding-top: 12px; }
.reader-side .panel { padding: 0; }
.reader-side .panel + .panel { border-top: 1px solid var(--line-soft); padding-top: var(--space-5); }
.toc a { display: block; color: var(--secondary); font-size: 12px; line-height: 1.8; margin: 16px 0; }
.toc a:hover { color: var(--accent); }
.source-note { margin-top: 48px; padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.9; overflow-wrap: anywhere; }

.page-heading { margin: 40px 0 56px; }
.page-heading h1 { font-size: 42px; line-height: 1.5; }
.subtitle { color: var(--secondary); margin-top: var(--space-5); font-size: 16px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.archive-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: 24px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; font-variant-numeric: tabular-nums; }
.archive-row strong { font-weight: 450; }
.archive-row span { color: var(--muted); font-size: 12px; }
.archive-row svg { width: 14px; height: 14px; margin-left: 12px; }
.archive-row:hover { color: var(--accent); }
.empty { grid-column: 1/-1; text-align: center; padding: 80px 24px; color: var(--secondary); }
.empty h1, .empty h2 { font-size: 24px; font-weight: 500; line-height: 1.6; color: var(--text); letter-spacing: -.5px; }
.empty p { font-size: 14px; margin: 16px 0 24px; }
.text-button { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; font-size: 14px; }
.loading { padding: 80px 24px; text-align: center; color: var(--secondary); }
footer { max-width: calc(1480px - var(--page-gutter) * 2); margin: 0 var(--page-gutter); padding: 24px 0 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-5); color: var(--muted); font-size: 11px; }
.footer-dot { margin: 0 8px; }
.noscript { margin: 80px; }

@media (min-width: 1720px) {
  :root { --page-gutter: 80px; --sidebar-width: 232px; }
  .hero-body { padding: 56px 0 24px; }
  .dashboard { gap: 72px; grid-template-columns: minmax(0,1fr) 232px; }
  .cards { column-gap: 48px; }
}
@media (max-width: 1280px) {
  :root { --page-gutter: 40px; --sidebar-width: 192px; }
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .dashboard { gap: 32px; grid-template-columns: minmax(0,1fr) 200px; }
  .hero-body { grid-template-columns: minmax(0,1fr) 240px; }
  .hero-edition { font-size: 11px; }
  .cards { column-gap: 28px; }
  .card h3 { font-size: 20px; }
  .lead-entry h3 { font-size: 25px; }
  .lead-entry .card-copy { gap: var(--space-5); }
  .tabs { gap: 20px; }
  .reader-layout { gap: 40px; grid-template-columns: minmax(0,1fr) 176px; }
}
@media (max-width: 1120px) {
  .dashboard { grid-template-columns: minmax(0,1fr); }
  .right-column { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 40px; border-top: 1px solid var(--line); margin-top: var(--space-5); }
  .right-column .panel { margin-bottom: 0; }
  .collection-panel { border: 0; padding-top: 0; }
  .calendar-panel { max-width: 320px; }
  .edition-volume { display: none; }
  .hero-body { grid-template-columns: minmax(0,1fr) 208px; gap: var(--space-5); }
  .hero-weekday { display: none; }
  .reading-map figcaption { font-size: 10px; letter-spacing: .5px; }
  .hero-copy h1 { font-size: 44px; }
  .reader-layout { grid-template-columns: minmax(0,720px); }
  .reader-side { position: static; margin-top: var(--space-5); }
  .toc { display: none; }
  .reader-side .panel + .panel { border: 0; padding: 0; }
  .reader-side .archive-link { max-width: 360px; }
  .archive-grid { column-gap: 32px; }
}
@media (max-width: 800px) {
  :root { --sidebar-width: 176px; --page-gutter: 32px; }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .brand { gap: var(--space-2); font-size: 18px; }
  .brand-sub { font-size: 10px; letter-spacing: 0; }
  .nav-item { font-size: 12px; gap: 10px; }
  .header-actions .edition { display: none; }
  .hero-body { grid-template-columns: minmax(0,1fr) 144px; gap: var(--space-2); }
  .hero-copy h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-description { font-size: 14px; }
  .reading-map figcaption { display: none; }
  .eyebrow { font-size: 11px; }
  .cards { grid-template-columns: minmax(0,1fr); }
  .card h3, .lead-entry h3 { font-size: 23px; }
  .lead-entry .card-copy { display: block; }
  .lead-entry .card-summary { margin-top: 16px; }
  .search { width: 180px; }
  .tabs { gap: 20px; }
  .right-column { gap: 32px; }
  .collection-numbers { grid-template-columns: 1fr; gap: var(--space-5); }
  .archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --page-gutter: 24px; --display: 40px; }
  .sidebar { position: relative; width: 100%; padding: 24px 24px 0; background: var(--page); overflow: visible; }
  .brand { padding: 0; width: fit-content; gap: 10px; font-size: 20px; }
  .brand-mark { font-size: 27px; }
  .brand-sub { font-size: 10px; letter-spacing: .5px; }
  .nav-label, .sidebar-note, .sidebar-bottom, .nav-divider, .nav-count { display: none; }
  nav { display: flex; gap: var(--space-5); overflow-x: auto; padding: 24px 24px 0; margin: 0 -24px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
  .nav-item { flex-shrink: 0; padding: 8px 0 14px; min-height: 44px; border-radius: 0; font-size: 13px; }
  .nav-item svg { display: none; }
  .nav-item.active::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; }
  .nav-item:hover { background: transparent; }
  .shell { margin: 0; }
  .topbar { height: 0; padding: 0; }
  .breadcrumb { display: none; }
  .header-actions { position: absolute; top: 24px; right: 18px; z-index: 11; }
  .icon-button { width: 40px; height: 40px; }
  main { padding-top: var(--space-6); padding-bottom: 56px; }
  .editorial-hero { padding-top: 0; margin-bottom: 40px; }
  .hero-edition { font-size: 11px; gap: 12px; padding-bottom: 0; border: 0; }
  .hero-edition > span:first-child { gap: 6px; }
  .edition-separator { margin: 0 4px; }
  .hero-body { position: relative; display: block; padding: 36px 0 32px; border-bottom: 1px solid var(--line); }
  .hero-copy { position: relative; z-index: 1; }
  .hero-copy .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .hero-copy h1 { font-size: 39px; line-height: 1.4; letter-spacing: -1.5px; }
  .hero-description { font-size: 14px; margin-top: var(--space-5); padding-right: 0; }
  .reading-map { position: absolute; width: 92px; right: -12px; bottom: 28px; opacity: .7; }
  .reading-map img { width: 100%; }
  .toolbar { gap: var(--space-4); margin-bottom: 12px; }
  .section-title { font-size: 16px; gap: var(--space-2); }
  .search { width: 168px; padding-left: 0; }
  .search input { font-size: 12px; }
  .tabs { gap: 23px; min-height: 44px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tab { flex-shrink: 0; font-size: 13px; padding-bottom: 14px; }
  .cards { display: block; }
  .card, .lead-entry { padding: 28px 0 32px; }
  .card-header, .lead-entry .card-header { margin-bottom: 16px; }
  .card h3, .lead-entry h3 { font-size: 23px; line-height: 1.55; font-weight: 550; }
  .card-summary, .lead-entry .card-summary { font-size: 15px; line-height: 1.85; margin-top: 16px; -webkit-line-clamp: 3; }
  .card-footer, .lead-entry .card-footer { padding-top: 20px; font-size: 12px; }
  .card-date, .entry-index, .channel-badge { font-size: 12px; }
  .right-column { display: block; padding-top: 36px; margin-top: var(--space-5); border-top: 0; }
  .calendar-panel { max-width: none; }
  .calendar-panel h2 { font-size: 14px; }
  .calendar-heading { font-size: 14px; }
  .day { font-size: 12px; height: 36px; }
  .weekday { font-size: 12px; }
  .calendar-legend { font-size: 11px; }
  .right-column .collection-panel { border-top: 1px solid var(--line); padding-top: var(--space-6); margin-top: 40px; }
  .collection-numbers { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .collection-numbers strong { font-size: 32px; }
  .collection-numbers span, .about-copy, .sync-info { font-size: 12px; }
  .back-link { margin: 0 0 32px; }
  .reader h1 { font-size: 30px; line-height: 1.55; letter-spacing: -.8px; margin-top: 20px; }
  .article-meta { font-size: 11px; gap: var(--space-4); padding-bottom: 24px; }
  .prose { font-size: 16px; line-height: 1.95; }
  .prose h2 { font-size: 23px; margin-top: 40px; }
  .prose h3 { font-size: 19px; }
  .prose blockquote { padding-left: 20px; font-size: 15px; }
  .prose td, .prose th { padding: 12px; }
  .reader-side .archive-link { max-width: none; }
  .page-heading { margin-top: 16px; margin-bottom: 32px; }
  .page-heading h1 { font-size: 32px; }
  .subtitle { font-size: 15px; margin-top: 20px; }
  .archive-row { gap: var(--space-4); }
  footer { display: block; font-size: 11px; padding: 24px 0; }
  footer > span { display: block; line-height: 2; }
}
@media (max-width: 360px) {
  :root { --page-gutter: 20px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-description { padding-right: 0; }
  .reading-map { display: none; }
  .toolbar { flex-wrap: wrap; gap: var(--space-2); }
  .search { width: 100%; }
  .card h3, .lead-entry h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}

/* A viewport-wide, original fluid sky; content remains on an independent layer. */
#sky-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-open-space { min-height: 240px; }
.header-actions #sky-toggle { color: var(--muted); }
.header-actions #sky-toggle:hover { color: var(--text); }
#sky-toggle:disabled { cursor: default; opacity: .45; }
@media (max-width: 800px) { .hero-open-space { min-height: 160px; } }
@media (max-width: 640px) { .hero-open-space { display: none; } .header-actions { gap: 0; right: 16px; } }

@media (max-width: 640px) { .shell { position: static; } main, footer { position: relative; z-index: 1; } }
