/* Ember Live newsroom styles (lane news-ui). Own file; site.css belongs to lane marketing.
 * Light is the product default (Han UI directive 2026-11-06): warm near-white ground, ink text,
 * ember used only as a scarcity accent, quiet 1px hairlines, flat surfaces, no glass or glow, no
 * shadow. The dark newsroom is opt-in through the shared theme switch (theme.js sets data-theme on
 * <html>: light|dark|auto); the site layout pins light, so an OS dark preference alone never repaints it.
 * Palette: ~/ember-desktop/apps/desktop/design/tokens.json palette.light, copied verbatim; no other
 * colour is used in this file. Layout: 1440 desktop (12-col grid, 68ch article measure) and 390 phone. */
:root {
  color-scheme: light;
  /* ground */
  --nw-bg: #F7F5F2;      /* canvas */
  --nw-s1: #FFFFFF;      /* surface1 */
  --nw-s2: #F1ECE7;      /* surface2 */
  --nw-s3: #E7DED6;      /* surface3 */
  /* lines */
  --nw-line: #D6CBC2;    /* border */
  --nw-line-2: #8F7B6D;  /* borderStrong */
  /* ink */
  --nw-text: #1C1714;    /* text */
  --nw-text-2: #514942;  /* textMuted */
  --nw-text-3: #6A5F56;  /* textSubtle (L6 v1: 5.29 on surface-2) */
  /* accent */
  --nw-ember: #BC3E0D;     /* brand */
  --nw-ember-hi: #8E2D00;  /* ember TEXT and pressed fill (L6 v1.1: 6.9:1) */
  --nw-fill-hi: #D64221;   /* primary hover FILL only, never text (3.75 as text) */
  --nw-focus: #D64221;     /* focus */
  --nw-ink: #FFFFFF;       /* brandInk */
  --nw-stream: #075985;    /* info */
  --nw-success: #176B3A;   /* success */
  --nw-warning: #765000;   /* warning */
  --nw-danger: #B42318;    /* danger */
  --nw-signal: #177E43;    /* signal */
  --nw-soft-brand: #FCE6DB;
  --nw-soft-success: #E3F5E9;
  --nw-soft-danger: #FDE7E5;
  --nw-sans: -apple-system, "SF Pro Text", "Segoe UI", system-ui, "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --nw-serif: "Source Serif 4", Georgia, "Noto Sans SC Variable", "Songti SC", serif;
  --nw-r: 8px;        /* controls */
  --nw-r-card: 12px;  /* cards */
  --nw-dur: 180ms; --nw-ease: cubic-bezier(.2,.8,.2,1);
  /* Page gutter: the same edge as the site header (.site-container: 24px, 16px at <=760px). */
  --nw-gutter: 24px;
}
/* The dark newsroom, preserved value for value. Only an explicit data-theme opts in (L6 11-06): dark,
 * or auto plus an OS dark preference. Light above is the default. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --nw-bg: #0B1114; --nw-s1: #111A1E; --nw-s2: #172329; --nw-s3: #203039;
  --nw-line: rgba(255,255,255,.08); --nw-line-2: rgba(255,255,255,.14);
  --nw-text: #F5F2EC; --nw-text-2: rgba(238,243,241,.72); --nw-text-3: rgba(238,243,241,.58);
  --nw-ember: #E28A5C; --nw-ember-hi: #FFC09A; --nw-fill-hi: #FFC09A; --nw-focus: #FFC09A; --nw-ink: #0B1114;
  --nw-stream: #83D8D2; --nw-danger: #F0596B;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --nw-bg: #0B1114; --nw-s1: #111A1E; --nw-s2: #172329; --nw-s3: #203039;
    --nw-line: rgba(255,255,255,.08); --nw-line-2: rgba(255,255,255,.14);
    --nw-text: #F5F2EC; --nw-text-2: rgba(238,243,241,.72); --nw-text-3: rgba(238,243,241,.58);
    --nw-ember: #E28A5C; --nw-ember-hi: #FFC09A; --nw-fill-hi: #FFC09A; --nw-focus: #FFC09A; --nw-ink: #0B1114;
    --nw-stream: #83D8D2; --nw-danger: #F0596B;
  }
}
.nw-btn { font: 600 15px/1 var(--nw-sans); color: var(--nw-ink); background: var(--nw-ember); border: 1px solid var(--nw-ember);
  border-radius: var(--nw-r); padding: 12px 20px; min-height: 44px; cursor: pointer; transition: background var(--nw-dur) var(--nw-ease), border-color var(--nw-dur) var(--nw-ease); }
.nw-btn:hover { background: var(--nw-fill-hi); border-color: var(--nw-fill-hi); }
.nw-btn:active { background: var(--nw-ember-hi); border-color: var(--nw-ember-hi); }
.nw-btn-quiet { background: transparent; color: var(--nw-text); border-color: var(--nw-line-2); }
.nw-btn-quiet:hover { background: var(--nw-s2); border-color: var(--nw-text-3); }
/* The newsroom paints the Ember canvas on the document itself, so no light strip of the marketing
 * sheet shows around a short page. site.css (lane marketing) owns body; this rule only matches when
 * a .nw-page exists, i.e. on the newsroom routes. */
body:has(.nw-page) { background: var(--nw-bg); }
.nw-page { color: var(--nw-text); background: var(--nw-bg); font: 16px/1.5 var(--nw-sans); }
/* The site shell's "Skip animation" pill: news.css loads only on news routes, which have no reveal motion. */
.site-motion { display: none; }
/* Heading ink is SET, never inherited. site.css carries `h1,h2,h3,h4{color:var(--s-ink)}` — an element
 * selector that beats inheritance, so every newsroom <h1>/<h2> rendered #17120E: wrong against the Ember
 * palette in light, and #17120E on the #0B1114 dark ground was 1.2:1. One rule covers all of them; the
 * key-points label re-states its own quieter ink below (a two-class selector outranks the :is above). */
.nw-page :is(h1, h2, h3, h4) { color: var(--nw-text); }
.nw-page .nw-keypoints-title { color: var(--nw-text-2); }
.nw-page a { color: inherit; }
.nw-page *, .nw-page *::before, .nw-page *::after { box-sizing: border-box; }
.nw-page :focus-visible { outline: 2px solid var(--nw-focus); outline-offset: 2px; border-radius: 4px; }
/* Long-word safety (lane l3-news-mobile, widths 360/390/820): one rule for the whole newsroom instead
 * of a per-element list. A 50-character German compound, a long publisher name or an unbroken hanzi run
 * in a headline, dek or outlet line used to widen the document by 455px at 390. `anywhere` also lets
 * the box SHRINK below the word, which `break-word` does not, so it is the only value that holds at
 * 360 as well as 390. Declared here on the page, never on a single block, so a new block cannot miss it. */
.nw-page { overflow-wrap: anywhere; }
/* Screen-reader-only text (the live status line, the "Latest" heading) must be 1px, not a stray
 * 52px-wide run inside a 390px column. The shared .sr-only lives in web/styles.css, which the news
 * routes do not load. */
.nw-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nw-tabs { max-width: calc(1180px + 2 * var(--nw-gutter)); margin: 0 auto; padding: 0 var(--nw-gutter); display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--nw-line); }
.nw-tabs::-webkit-scrollbar { display: none; }
/* Reader search: one flat field on its own row above the channel strip (the strip scrolls sideways and
 * would clip it). Full-width through 760px, capped at 360px from 761px so it never eats the whole bar. */
.nw-searchbar { max-width: calc(1180px + 2 * var(--nw-gutter)); margin: 0 auto; padding: 16px var(--nw-gutter) 0; }
.nw-search-form { display: flex; align-items: center; gap: 8px; max-width: 360px; }
.nw-search-input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 10px 12px; font: 400 16px/1.4 var(--nw-sans);
  color: var(--nw-text); background: var(--nw-s1); border: 1px solid var(--nw-line-2); border-radius: var(--nw-r); }
.nw-search-input::placeholder { color: var(--nw-text-3); }
.nw-page .nw-search-input:focus-visible { outline: 2px solid var(--nw-focus); outline-offset: 1px; }
.nw-search-clear { flex: none; min-height: 44px; min-width: 44px; padding: 0 12px; font: 600 14px/1 var(--nw-sans);
  color: var(--nw-text-2); background: transparent; border: 1px solid var(--nw-line-2); border-radius: var(--nw-r); cursor: pointer; }
.nw-search-clear:hover { color: var(--nw-text); border-color: var(--nw-text-2); }
.nw-search-clear[hidden] { display: none; }
.nw-search-head { margin-bottom: 8px; }
/* Your topics: a preference row under search. Flat, quiet, and the picked beat is the only thing
 * that carries the brand colour, so the strip reads as a control and not as a second nav bar. */
.nw-topics { max-width: calc(1180px + 2 * var(--nw-gutter)); margin: 0 auto; padding: 12px var(--nw-gutter) 0; }
.nw-topics-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.nw-topics-title { margin: 0; font: 600 13px/1.4 var(--nw-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--nw-text-3); }
.nw-topics-count { margin: 0; font-size: 13px; color: var(--nw-text-3); }
.nw-topics-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-topic { min-height: 44px; padding: 0 14px; font: 600 14px/1 var(--nw-sans); color: var(--nw-text-2);
  background: var(--nw-s1); border: 1px solid var(--nw-line-2); border-radius: 999px; cursor: pointer; }
.nw-topic:hover { color: var(--nw-text); border-color: var(--nw-text-2); }
.nw-topic.is-on { color: var(--nw-ink); background: var(--nw-ember); border-color: var(--nw-ember); }
.nw-topic.is-on:hover { background: var(--nw-ember-hi); border-color: var(--nw-ember-hi); }
.nw-page .nw-topic:focus-visible { outline: 2px solid var(--nw-focus); outline-offset: 2px; }
.nw-topics-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--nw-text-3); max-width: 62ch; }
.nw-topics-clear { margin-top: 8px; }
.nw-search-count { margin: 0 0 24px; font-size: 15px; color: var(--nw-text-2); overflow-wrap: anywhere; }
.nw-tab { flex: none; padding: 12px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--nw-text-3);
  border-bottom: 1px solid transparent; white-space: nowrap; }
/* The strip scrolls sideways, and overflow-x:auto clips vertically too, so an outside ring lost its top edge.
 * Tabs draw the ring inside their own box; the 12px padding keeps it clear of the label. */
.nw-page .nw-tab:focus-visible { outline-offset: -2px; }
.nw-tab:hover { color: var(--nw-text); }
.nw-tab[aria-current] { color: var(--nw-text); border-bottom-color: var(--nw-ember); }

/* Page frame */
.nw-main { width: 100%; max-width: calc(1180px + 2 * var(--nw-gutter)); margin: 0 auto; padding: 36px var(--nw-gutter) 88px; outline: none; }
.nw-page-title { max-width: 22ch; font: 700 clamp(28px, 4vw, 40px)/1.15 var(--nw-serif); letter-spacing: -.03em; margin: 8px 0 28px; }
.nw-updated { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; color: var(--nw-text-3); font-size: 14px; }
.nw-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--nw-stream); flex: none; }

/* Since your last visit: a flat surface box above the lead, one 44px row per unread story. */
.nw-since { margin: 0 0 32px; padding: 16px 20px 8px; background: var(--nw-s1); border: 1px solid var(--nw-line); border-radius: var(--nw-r-card); }
.nw-since-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 8px; }
.nw-since-text { min-width: 0; }
.nw-page .nw-since-title { margin: 0 0 4px; font: 700 12px/1.4 var(--nw-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--nw-text-2); }
.nw-page:lang(zh-CN) .nw-since-title { letter-spacing: .02em; text-transform: none; font-size: 13px; }
.nw-since-count { margin: 0; font-size: 15px; color: var(--nw-text); }
.nw-since-list { list-style: none; margin: 0; padding: 0; }
.nw-since-item + .nw-since-item { border-top: 1px solid var(--nw-line); }
.nw-since-link { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 10px 0; text-decoration: none; }
.nw-since-link:hover .nw-since-headline { text-decoration: underline; text-decoration-color: var(--nw-ember); text-underline-offset: 3px; }
.nw-since-headline { font: 600 16px/1.35 var(--nw-serif); color: var(--nw-text); overflow-wrap: anywhere; }
.nw-page:lang(zh-CN) .nw-since-headline { font-family: "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--nw-sans); }
.nw-since-meta { font-size: 13px; color: var(--nw-text-3); }
.nw-since-none { margin: 0 0 24px; font-size: 14px; color: var(--nw-text-3); }

/* Digest card: last day / 7 days, one line per story, copy for Messenger or send by Mail */
.nw-digest { margin: 0 0 40px; padding: 16px 20px; background: var(--nw-s1); border: 1px solid var(--nw-line); border-radius: var(--nw-r-card); }
.nw-digest-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.nw-page .nw-digest-title { margin: 0; font: 700 12px/1.4 var(--nw-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--nw-text-2); }
.nw-page:lang(zh-CN) .nw-digest-title { letter-spacing: .02em; text-transform: none; font-size: 13px; }
.nw-digest-ranges { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-digest-range { padding: 8px 14px; font-size: 14px; }
.nw-digest-range { gap: 8px; }
.nw-digest-range[aria-pressed="true"] { background: var(--nw-s2); border-color: var(--nw-ember); }
.nw-digest-range[aria-pressed="true"]::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid var(--nw-ember-hi); border-width: 0 0 2px 2px; transform: rotate(-45deg); flex: none; }
.nw-digest-count { margin: 8px 0 4px; font-size: 15px; color: var(--nw-text); }
.nw-digest-list { list-style: none; margin: 0; padding: 0; }
.nw-digest-item + .nw-digest-item { border-top: 1px solid var(--nw-line); }
.nw-digest-link { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 10px 0; text-decoration: none; }
.nw-digest-link:hover .nw-digest-headline { text-decoration: underline; text-decoration-color: var(--nw-ember); text-underline-offset: 3px; }
.nw-digest-headline { font: 600 16px/1.35 var(--nw-serif); color: var(--nw-text); overflow-wrap: anywhere; }
.nw-page:lang(zh-CN) .nw-digest-headline { font-family: "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--nw-sans); }
.nw-digest-line { font-size: 14px; line-height: 1.45; color: var(--nw-text-2); overflow-wrap: anywhere; }
.nw-digest-meta { font-size: 13px; color: var(--nw-text-3); }
.nw-digest-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-top: 12px; border-top: 1px solid var(--nw-line); }
.nw-digest-actions[hidden], .nw-digest-list[hidden] { display: none; }
.nw-digest-actions .nw-btn { padding: 10px 16px; font-size: 14px; text-decoration: none; }

/* Cards */
.nw-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-width: 0; }
.nw-card:hover .nw-card-title { text-decoration: underline; text-decoration-color: var(--nw-ember); text-underline-offset: 3px; }
.nw-card-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nw-card-title { margin: 0; font: 600 19px/1.3 var(--nw-serif); letter-spacing: -.015em; overflow-wrap: anywhere; }
.nw-card-dek { margin: 0; color: var(--nw-text-2); font-size: 16px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-coming { margin: 8px 0 0; font: 600 13px/1.4 var(--nw-sans); letter-spacing: .01em; color: var(--nw-text-3); }
.nw-card-lead { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding-bottom: 40px;
  border-bottom: 1px solid var(--nw-line); margin-bottom: 40px; }
.nw-card-lead .nw-card-title { font: 700 clamp(28px, 3.4vw, 44px)/1.12 var(--nw-serif); letter-spacing: -.03em; }
.nw-card-lead .nw-card-dek { font-size: 18px; line-height: 1.5; -webkit-line-clamp: 4; }
.nw-card-compact { padding: 16px 0; border-top: 1px solid var(--nw-line); }
.nw-card-compact .nw-card-title { font-size: 17px; }
/* Chinese headlines use Noto Sans SC (TYPOGRAPHY.md); Latin headlines use Source Serif 4. */
.nw-page:lang(zh-CN) .nw-card-title, .nw-page:lang(zh-CN) .nw-page-title { font-family: "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--nw-sans); letter-spacing: 0; line-height: 1.35; }

/* Media: fixed aspect ratio so images never shift layout; designed no-image state */
.nw-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--nw-r-card); overflow: hidden; background: var(--nw-s2);
  border: 1px solid var(--nw-line); }
.nw-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* No-image state: a quiet 1px page mark on the warm surface, not a tint or a gradient. */
.nw-media-none { background: var(--nw-s2); }
.nw-media-none::before { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 28px; margin: -14px 0 0 -11px;
  border: 1px solid var(--nw-line-2); border-radius: 3px; }
.nw-media-none::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; margin: -1px 0 0 -5px;
  background: var(--nw-line-2); }
.nw-media-lead { aspect-ratio: 3 / 2; order: 2; }
.nw-card-lead .nw-card-body { order: 1; gap: 14px; }

/* Meta line */
.nw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--nw-text-3); }
.nw-chan { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nw-ember-hi); }
:lang(zh) .nw-chan, .nw-chan:lang(zh-CN) { letter-spacing: .02em; text-transform: none; }
.nw-official { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--nw-text-2); padding: 2px 8px;
  border: 1px solid var(--nw-line); border-radius: 999px; }
.nw-time::before { content: '·'; margin-right: 8px; }

/* Grids and sections */
.nw-grid { display: grid; gap: 32px 24px; }
.nw-grid-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-grid-compact { grid-template-columns: 1fr; gap: 0; }
.nw-latest { margin-top: 8px; }
.nw-latest .nw-section-title { margin: 0 0 16px; }
.nw-section { margin-top: 56px; }
.nw-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--nw-line); }
.nw-section-title { margin: 0; font: 700 22px/1.3 var(--nw-sans); letter-spacing: -.02em; }
.nw-section-head { flex-wrap: wrap; row-gap: 8px; }
.nw-section-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
/* Follow: one label, state in aria-pressed. Pressed = flat surface-2, ember border and a drawn check (no glyph). */
.nw-follow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px; }
.nw-follow[aria-pressed="true"] { background: var(--nw-s2); border-color: var(--nw-ember); }
.nw-follow[aria-pressed="true"]::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid var(--nw-ember-hi);
  border-width: 0 0 2px 2px; transform: rotate(-45deg); flex: none; }
.nw-page-title + .nw-follow { margin: -12px 0 24px; }
.nw-more { font-size: 14px; color: var(--nw-text-2); text-decoration: none; }
.nw-more:hover { color: var(--nw-text); text-decoration: underline; }
.nw-grid-feed { margin-top: 8px; }
/* Outlet comparison (article page): one flat card, a hairline between rows, the outlet name small above
   its own quoted headline. No gradients, no shadow (L6 v1.3); the left rule matches the sources card. */
.nw-outlets { margin-top: 40px; padding: 24px; background: var(--nw-s1); border: 1px solid var(--nw-line);
  border-radius: var(--nw-r-card); }
.nw-outlets-title { margin: 0; font: 700 20px/1.3 var(--nw-sans); letter-spacing: -.01em; }
.nw-outlets-note, .nw-outlets-count { margin: 8px 0 0; color: var(--nw-text-2); font: 400 15px/1.6 var(--nw-sans); }
.nw-outlets-count { color: var(--nw-text-3); }
.nw-outlet-list { list-style: none; margin: 18px 0 0; padding: 0; }
.nw-outlet { padding: 16px 0; border-top: 1px solid var(--nw-line); }
.nw-outlet:first-child { padding-top: 4px; border-top: 0; }
.nw-outlet-pub { margin: 0 0 6px; color: var(--nw-ember-hi); font: 600 12px/1.4 var(--nw-sans);
  letter-spacing: .06em; text-transform: uppercase; }
.nw-outlet-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--nw-text);
  font: 600 17px/1.35 var(--nw-sans); text-decoration: none; }
.nw-outlet-link:hover { color: var(--nw-ember-hi); text-decoration: underline; text-underline-offset: 3px; }
.nw-outlet-line { margin: 4px 0 0; color: var(--nw-text-2); font: 400 16px/1.6 var(--nw-sans); }
/* Opposite sides: the outlets' distinctive wording. Flat surfaces only (L6 v1.3) and deliberately
   NOT a second card stacked under the outlet card - it is a continuation of it, so it carries the
   same background and rides on a hairline, with the words as inline tokens rather than a table.
   Each token is Ember-lined and square: a comparison of phrasing, not a verdict or a score. */
.nw-angles { margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--nw-line-2); }
.nw-angles-title { margin: 0; font: 700 16px/1.4 var(--nw-sans); letter-spacing: .01em; }
.nw-angles-note { margin: 6px 0 0; color: var(--nw-text-2); font: 400 15px/1.6 var(--nw-sans); }
.nw-angle-list { list-style: none; margin: 14px 0 0; padding: 0; }
.nw-angle { padding: 12px 0 0; border-top: 1px solid var(--nw-line-2); }
.nw-angle:first-child { padding-top: 0; border-top: 0; }
.nw-angle-pub { margin: 0; color: var(--nw-text); font: 600 15px/1.4 var(--nw-sans); }
.nw-angle-terms { margin: 8px 0 0; }
.nw-angle-label { display: block; color: var(--nw-text-3); font: 400 13px/1.5 var(--nw-sans); }
.nw-angle-words { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.nw-angle-word { margin: 0; padding: 2px 8px; color: var(--nw-ember-hi); font: 400 14px/1.6 var(--nw-sans);
  background: var(--nw-s1); border: 1px solid var(--nw-line-2); border-radius: 4px; overflow-wrap: anywhere; }
/* Archive: one h1, a dek, then one section per calendar month. Flat surfaces only (L6 v1.3): the
   month head is a hairline under the title, the cards are the same grid card as a channel page. */
.nw-archive-head { margin-bottom: 8px; }
.nw-front-archive { margin: 28px 0 0; }
.nw-archive-dek { margin: 8px 0 0; color: var(--nw-text-2); font: 400 17px/1.6 var(--nw-sans); max-width: 62ch; }
.nw-month-list { list-style: none; margin: 0; padding: 0; }
.nw-month { margin-top: 40px; }
.nw-month-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 16px; padding-bottom: 10px; margin-bottom: 20px; border-bottom: 1px solid var(--nw-line); }
.nw-month-title { margin: 0; font: 700 22px/1.3 var(--nw-sans); letter-spacing: -.02em; }
.nw-month-count { color: var(--nw-text-3); font: 500 14px/1.4 var(--nw-sans); }
.nw-feed-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; min-height: 80px; }
.nw-end { margin: 0; color: var(--nw-text-3); font-size: 14px; }

/* Article: 68ch measure (<=72ch), real heading hierarchy */
.nw-article { max-width: 640px; margin: 0 auto; }
.nw-article:lang(zh-CN) { font-family: "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--nw-sans); }
.nw-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--nw-text-2); font-size: 14px; text-decoration: none; }
/* Back chevron drawn from two 1px borders, never from a text glyph. */
.nw-back::before { content: ''; width: 7px; height: 7px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); }
.nw-back:hover { color: var(--nw-text); }
.nw-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nw-ember-hi); }
.nw-article:lang(zh-CN) .nw-kicker { letter-spacing: .02em; text-transform: none; }
.nw-article-title { max-width: 34ch; margin: 0 0 14px; font: 600 clamp(28px, 3vw, 38px)/1.2 var(--nw-serif); letter-spacing: -.03em; overflow-wrap: anywhere; }
.nw-article-dek { max-width: 62ch; margin: 0 0 24px; font: 400 18px/1.5 var(--nw-sans); color: var(--nw-text-2); }
.nw-byline { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.nw-stamps { margin: 6px 0 28px; font-size: 14px; color: var(--nw-text-3); }
.nw-figure { margin: 0 0 32px; }
.nw-media-hero { aspect-ratio: 3 / 2; }
.nw-credit { margin-top: 8px; font-size: 13px; color: var(--nw-text-3); }
.nw-media-hero img { object-fit: cover; }
.nw-body { max-width: 68ch; font: 400 17px/1.55 var(--nw-sans); color: var(--nw-text); }
.nw-body p { margin: 0 0 1.15em; overflow-wrap: anywhere; }
.nw-article:lang(zh-CN) .nw-article-title { max-width: 22em; font: 600 26px/1.35 var(--nw-sans); }
.nw-article:lang(zh-CN) .nw-body { max-width: 36em; font-size: 17px; line-height: 1.8; }
.nw-dateline { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .86em; margin-right: .6em; color: var(--nw-text); }
.nw-article:lang(zh-CN) .nw-dateline { letter-spacing: 0; text-transform: none; }
.nw-h2 { margin: 1.6em 0 .5em; font: 700 clamp(22px, 2.6vw, 26px)/1.3 var(--nw-sans); letter-spacing: -.02em; }
.nw-list { margin: 0 0 1.2em; padding-left: 1.4em; display: grid; gap: .45em; }
.nw-quote { margin: 1.6em 0; padding: 2px 0 2px 20px; border-left: 1px solid var(--nw-ember); color: var(--nw-text-2); }
.nw-quote p { margin: 0; font-style: italic; }
.nw-article:lang(zh-CN) .nw-quote p { font-style: normal; }
.nw-quote-cite { margin-top: 6px; font-size: 14px; color: var(--nw-text-3); font-style: normal; }
.nw-quote-cite::before { content: '\2014\00a0'; }
.nw-pull { margin: 1.8em 0; padding: 20px 0; border-block: 1px solid var(--nw-line); font: 600 clamp(20px, 2.4vw, 24px)/1.4 var(--nw-sans); letter-spacing: -.01em; color: var(--nw-text); }
.nw-keypoints { max-width: 68ch; margin: 0 0 32px; padding: 18px 20px; background: var(--nw-soft-brand); border: 1px solid var(--nw-line); border-radius: var(--nw-r-card); }
.nw-keypoints-title { margin: 0 0 10px; font: 700 12px/1.4 var(--nw-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--nw-text-2); }
.nw-article:lang(zh-CN) .nw-keypoints-title { letter-spacing: .02em; text-transform: none; font-size: 13px; }
.nw-keypoints-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }

/* Sources */
.nw-sources { margin: 48px 0 0; padding: 24px; background: var(--nw-s1); border: 1px solid var(--nw-line); border-radius: var(--nw-r-card); }
.nw-sources-title { margin: 0 0 10px; font: 700 16px/1.4 var(--nw-sans); letter-spacing: .01em; }
.nw-attribution { margin: 0 0 16px; color: var(--nw-text-2); font-size: 15px; line-height: 1.5; }
.nw-source-list { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.nw-source { font-size: 16px; line-height: 1.5; padding-left: 4px; }
.nw-source-link { color: var(--nw-stream); text-underline-offset: 3px; overflow-wrap: anywhere; }
.nw-source-pub { display: block; font-size: 14px; color: var(--nw-text-3); }
/* Story timeline ("How this story developed"): the s1 card of Sources, one left rule, Ember dots drawn
 * in CSS (flat: no gradient, no shadow, no glass). The current story is a filled dot and plain text,
 * not a link; the other stories are links with a 44px target set in JS. */
.nw-thread { margin: 40px 0 0; padding: 24px; background: var(--nw-s1); border: 1px solid var(--nw-line); border-radius: var(--nw-r-card); }
.nw-thread-title { margin: 0 0 16px; font: 700 16px/1.4 var(--nw-sans); letter-spacing: .01em; }
.nw-thread-list { position: relative; margin: 0; padding: 0 0 0 22px; list-style: none; border-left: 2px solid var(--nw-line-2); }
.nw-thread-item { position: relative; margin: 0 0 18px; font-size: 16px; line-height: 1.45; }
.nw-thread-item:last-child { margin-bottom: 0; }
.nw-thread-item::before { content: ''; position: absolute; left: -28px; top: 8px; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; background: var(--nw-s1); border: 2px solid var(--nw-line-2); }
.nw-thread-now::before { background: var(--nw-ember); border-color: var(--nw-ember); }
.nw-thread-time { display: block; font-size: 13px; line-height: 1.4; color: var(--nw-text-3); }
.nw-thread-link { color: var(--nw-ember-hi); text-underline-offset: 3px; overflow-wrap: anywhere; }
/* WCAG 2.2 SC 2.5.8: the entry link is a 44px target. It is a block, not the client's inline-flex
 * hit() box, so a headline that wraps stays left-aligned under its own date instead of centred. */
.nw-thread-item a.nw-thread-link { display: inline-block; min-height: 44px; min-width: 44px; padding: 6px 0; }
.nw-thread-now .nw-thread-link { color: var(--nw-text); font-weight: 600; }
.nw-thread-now-label { display: block; font-size: 13px; color: var(--nw-text-3); }
.nw-share { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--nw-line); }
.nw-share-label { font-size: 14px; color: var(--nw-text-3); }
.nw-share-status { font-size: 14px; color: var(--nw-stream); }
/* Saved stories: one toggle in the share row (pressed carries a drawn tick, like Follow, so the state is
 * not told by colour alone), and a list page built from the device's own snapshot. Flat throughout:
 * the pressed fill is --nw-s2, the only marks are a hairline between rows and the Ember underline. */
.nw-save { flex: none; display: inline-flex; align-items: center; justify-content: center; }
.nw-save[aria-pressed="true"] { background: var(--nw-s2); border-color: var(--nw-ember); }
.nw-save[aria-pressed="true"]::before { content: ""; width: 9px; height: 5px; margin: 0 8px 0 0; border: solid var(--nw-ember-hi);
  border-width: 0 0 2px 2px; transform: rotate(-45deg); flex: none; }
/* The hit box lives on the inline style (JS hit()) so every control matches; its padding and the
 * min-width in the phone rule are the only two overrides, and they are not the target height. */
.nw-share .nw-save { padding: 12px 14px; }
.nw-saved-remove.nw-btn, .nw-saved-clear.nw-btn { padding: 12px 14px; }
.nw-share { flex-wrap: wrap; }
.nw-saved-note { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--nw-text-3); }
.nw-saved-note-link, .nw-saved-front { color: var(--nw-ember-hi); text-underline-offset: 3px; }
.nw-front-saved { margin: 12px 0 0; font-size: 14px; }
.nw-saved-count { margin: 4px 0 0; font-size: 14px; color: var(--nw-text-3); }
.nw-saved-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--nw-line); }
.nw-saved-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; padding: 8px 0; border-bottom: 1px solid var(--nw-line); }
/* The link takes the row's free width (a short headline is a 41px box if it shrinks to its text, and a
 * 41px target fails SC 2.5.8); the remove control keeps its own width on the right. */
.nw-saved-link { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; min-width: 44px; padding: 8px 0; text-decoration: none; }
.nw-saved-link:hover .nw-saved-headline { text-decoration: underline; text-decoration-color: var(--nw-ember); text-underline-offset: 3px; }
.nw-saved-headline { font: 600 17px/1.35 var(--nw-serif); color: var(--nw-text); overflow-wrap: anywhere; }
.nw-page:lang(zh-CN) .nw-saved-headline { font-family: "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--nw-sans); }
.nw-saved-meta { font-size: 13px; color: var(--nw-text-3); }
.nw-saved-remove { flex: none; font-size: 14px; }
.nw-saved-foot { margin: 28px 0 0; }
.nw-saved-clear { font-size: 14px; }
.nw-saved-clear[data-armed="1"] { border-color: var(--nw-danger); color: var(--nw-danger); }

/* States: empty / offline / error / not found / skeleton */
.nw-state { max-width: 480px; margin: 80px auto; text-align: center; padding: 36px 24px; border: 1px solid var(--nw-line); border-radius: var(--nw-r-card); }
.nw-state-title { margin: 0 0 10px; font: 700 22px/1.3 var(--nw-sans); letter-spacing: -.02em; }
.nw-state-body { margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: var(--nw-text-2); }
.nw-state-body:last-child { margin-bottom: 0; }
.nw-state-error { border-color: var(--nw-danger); }
.nw-feed-foot .nw-state { margin: 0 auto; }
.nw-skel-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-bottom: 24px; }
.nw-skel-lead { grid-template-columns: 1fr; }
.nw-skel-lead .nw-skel-media { aspect-ratio: 21 / 9; }
.nw-skel-inline { width: 100%; }
/* Loading placeholders: flat warm blocks that breathe; no gradient sweep. */
.nw-skel-media, .nw-skel-line { background: var(--nw-s2); border-radius: 6px; }
.nw-skel-media { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.nw-skel-line { height: 14px; margin-bottom: 8px; }
.nw-skel-w60 { width: 60%; }

.nw-foot-note { max-width: calc(640px + 2 * var(--nw-gutter)); margin: 0 auto 8px; padding: 0 var(--nw-gutter); text-align: center; color: var(--nw-text-3); font-size: 14px; line-height: 1.5; }
/* The RSS link in the shell footer is a real destination: a 44px target like every other link in the
   newsroom (SC 2.5.8), not the 16px text line it renders as by default. The negative block margin keeps
   the taller box from pushing the footer apart. */
.nw-foot-note a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: -12px 0; color: var(--nw-text-2); }
.nw-noscript { padding: 24px; text-align: center; color: var(--nw-text-2); }

/* Tablet and phone. Tablet portrait (760-1024, e.g. 820): the h1 was still the desktop clamp and the
 * lead dek kept its 18px, which together are wider than the 772px content box. One step down keeps the
 * hierarchy and fits the column; the phone blocks below still override it. */
@media (max-width: 1024px) {
  .nw-page-title { font-size: clamp(24px, 4.4vw, 32px); }
  .nw-card-lead .nw-card-title { font-size: clamp(24px, 3.6vw, 34px); }
  .nw-card-lead .nw-card-dek { font-size: 17px; -webkit-line-clamp: 6; }
  .nw-grid-card, .nw-skel-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-card-lead { grid-template-columns: 1fr; gap: 24px; }
  .nw-media-lead { order: 0; aspect-ratio: 16 / 9; }
  .nw-card-lead .nw-card-body { order: 0; }
  .nw-skel-lead { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nw-gutter: 16px; }
}
@media (max-width: 640px) {
  .nw-tab { padding: 14px 12px; }
  .nw-searchbar { padding-top: 12px; }
  .nw-search-form { max-width: none; }
  .nw-main { padding: 24px var(--nw-gutter) 64px; }
  .nw-grid-card, .nw-skel-wrap { grid-template-columns: 1fr; }
  .nw-card-title { font-size: 18px; }
  .nw-section { margin-top: 40px; }
  .nw-month { margin-top: 32px; }
  .nw-outlets { padding: 18px 16px; }
  .nw-angles { margin-top: 16px; padding-top: 16px; }
  .nw-body { font-size: 17px; }
  .nw-sources { padding: 20px 16px; }
  .nw-thread { margin-top: 32px; padding: 20px 16px; }
  .nw-since { padding: 14px 16px 6px; }
  .nw-digest { padding: 14px 16px; }
  /* A phone row stacks: the remove control under its story, left-aligned with the headline, so a long
     headline keeps the full column and the control stays a 44px target. */
  .nw-saved-item { flex-direction: column; gap: 2px; padding: 4px 0; }
  .nw-saved-link { flex: none; width: 100%; }
  .nw-saved-remove { align-self: flex-start; margin-left: -12px; }
  .nw-state { margin: 48px auto; }
}
@media (prefers-reduced-motion: reduce) {
  .nw-skel-media, .nw-skel-line { animation: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ===========================================================================================
 * Reader: the single-story page (lane news-phone-reader, 2026-11-06).
 *
 * Everything below is scoped to the article and lives in this ONE block so lane news-light can
 * merge without touching it. It reads the --nw-* vars only; no new colour literal is declared
 * here (a hard-coded hex in a new rule fails the L6 review bar, DESIGN_SYSTEM.md §5).
 *
 * Type follows DESIGN_SYSTEM v1.3 §2 and the Apple-newsroom measure:
 *   body  17px/1.6 on phones -> 18px/1.65 on desktop, measure 33em (~65-70 Latin characters)
 *   ZH    18px/1.75, PingFang SC / Noto Sans SC, no letter-spacing
 *   h1    24/600 on phones -> 32/700 only when it is the page hero (>= 1024px)
 *   meta  13 in --nw-text-3; byline 13/500 in --nw-text-2 ("Written by Ember", Han 11-07)
 *   targets 44px on touch for the back link and the share button
 * Hero: full-bleed on phones (past the page gutter), the AI disclosure sits directly under it.
 * No drop cap, no decoration, no gradient: the reader is the text.
 * =========================================================================================== */
.nw-article { max-width: 37em; }
.nw-back { min-height: 44px; font-size: 15px; color: var(--nw-text-2); }
.nw-kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--nw-ember-hi); }
.nw-article-title { max-width: 26em; margin: 0 0 12px; font: 600 24px/1.22 var(--nw-serif); letter-spacing: -.02em; }
.nw-article-dek { max-width: 62ch; margin: 0 0 20px; font: 400 17px/1.5 var(--nw-sans); color: var(--nw-text-2); }
.nw-byline { font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--nw-text-2); }
.nw-stamps { margin: 4px 0 24px; font-size: 13px; color: var(--nw-text-3); }
.nw-figure { margin: 0 0 28px; }
.nw-media-hero { aspect-ratio: 3 / 2; border-radius: 0; }
.nw-credit { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--nw-text-3); }
.nw-body { max-width: 33em; font: 400 17px/1.6 var(--nw-sans); }
.nw-body p { margin: 0 0 1.1em; }
.nw-h2 { font: 600 20px/1.3 var(--nw-sans); letter-spacing: -.01em; }
.nw-pull { font: 600 20px/1.4 var(--nw-sans); }
.nw-share { gap: 12px; }
.nw-share .nw-btn { min-height: 44px; }
.nw-source-link { color: var(--nw-ember-hi); }
/* Reading progress: one solid 2px rule in the Ember accent across the top of the viewport, article only.
 * Reused from lane news-reader ba4043c7f; the old 3px gradient is replaced by a flat fill (L6 §5). */
.nw-progress { position: fixed; inset: 0 0 auto 0; height: 2px; width: 0; background: var(--nw-ember); z-index: 200; }

/* ZH: the same sizes, a taller line, and no letter-spacing (Songti/Noto already track naturally). */
.nw-article:lang(zh-CN) .nw-article-title { max-width: 22em; font: 600 24px/1.35 var(--nw-sans); letter-spacing: 0; }
.nw-article:lang(zh-CN) .nw-kicker { letter-spacing: 0; }
.nw-article:lang(zh-CN) .nw-body { max-width: 38em; font-size: 18px; line-height: 1.75; letter-spacing: 0; }

/* Phones: bleed the hero to the screen edge, keep the caption in the page gutter. Tablets and
 * desktop keep the hero inside the reading column, aligned with the text. */
@media (max-width: 760px) {
  .nw-article { max-width: none; }
  .nw-figure { margin-inline: calc(-1 * var(--nw-gutter)); }
  .nw-media-hero { border-radius: 0; border-inline: 0; }
  .nw-credit { margin-inline: var(--nw-gutter); }
}
/* Desktop: the h1 carries the page, so it earns the one 32/700 in the screen. */
@media (min-width: 1024px) {
  .nw-article, .nw-body, .nw-article:lang(zh-CN) .nw-body { max-width: 36em; }
  .nw-article-title { font: 700 32px/1.2 var(--nw-serif); }
  .nw-body { font-size: 18px; line-height: 1.65; }
  .nw-article:lang(zh-CN) .nw-article-title { font: 700 32px/1.3 var(--nw-sans); }
  .nw-article:lang(zh-CN) .nw-body { font-size: 18px; line-height: 1.75; }
}
/* =========================== end Reader =========================== */
