/* 世誉通全球简报 · milk-white paper, ink-dark editorial type */

:root {
  --paper: #f7f3eb;
  --paper-hi: #fcfaf5;
  --paper-lo: #efe9dd;
  --ink: #1a1815;
  --ink-2: #35312b;
  --ink-3: #6b655b;
  --ink-4: #9b9488;
  --rule: #e4ddd0;
  --rule-2: #d0c7b6;
  --seal: #b4372a;
  --economics: #966a1d;
  --science: #2d4c87;
  --health: #2a7161;
  --tech: #6a478b;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --page: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ticker-h: 50px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ticker-h) + 16px); }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(140% 90% at 50% -10%, var(--paper-hi) 0%, var(--paper) 52%, var(--paper-lo) 100%);
  background-attachment: fixed;
  color: var(--ink-2);
  font: 400 16px/1.8 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(180, 55, 42, .16); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* paper grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── release ticker ─────────────────────────────────────────── */

.ticker {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 243, 235, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid var(--rule);
}
.ticker.is-flash { animation: ticker-flash 1.6s var(--ease); }
@keyframes ticker-flash { from { background-color: rgba(180, 55, 42, .14); } }

.ticker__row {
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
}
.ticker__desk {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
  padding: 2px 11px 2px 9px;
  border: 1px solid rgba(180, 55, 42, .35);
  border-radius: 999px;
  color: var(--seal);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2em;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--seal); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(180, 55, 42, .45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(180, 55, 42, 0); }
}
.ticker__label, .ticker__tail { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); letter-spacing: .04em; }
.ticker__label { flex: none; max-width: 60%; }
.ticker__clock {
  flex: none;
  padding: 1px 8px;
  border: 1px solid var(--rule-2);
  border-radius: 5px;
  background: var(--paper-hi);
  box-shadow: 0 1px 0 rgba(26, 24, 21, .05);
  color: var(--ink);
  font: 500 15px/1.5 var(--mono);
  font-variant-numeric: tabular-nums;
}
.ticker__phase {
  flex: none;
  padding: 0 10px;
  border: 1px dashed var(--rule-2);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: .06em;
}
.ticker__right { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 18px; color: var(--ink-3); font-size: 13px; }

.pile { display: inline-flex; align-items: center; gap: 7px; }
.pile__stack {
  width: 22px;
  height: 32px;
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
  padding: 1px 2px 2px;
}
.pile__stack i {
  flex: none;
  width: 18px;
  height: 2.4px;
  border-radius: 1px;
  background: var(--ink-4);
  transform: translateX(var(--dx, 0)) rotate(var(--rot, 0deg));
}
.pile__stack i:last-child { background: var(--seal); }
.pile__stack i.is-leaving { animation: sheet-out .7s var(--ease) forwards; }
@keyframes sheet-out { to { transform: translate(18px, -18px) rotate(26deg); opacity: 0; } }
.pile b { color: var(--ink); font: 500 14px var(--mono); }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress i {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(180, 55, 42, .12), var(--seal));
}
.progress i::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 0 0 3px rgba(180, 55, 42, .14), 0 0 10px rgba(180, 55, 42, .55);
}
.progress.is-sweeping i { width: 28%; animation: sweep 1.8s ease-in-out infinite; }
.progress.is-sweeping i::after { display: none; }
@keyframes sweep { from { left: -28%; } to { left: 100%; } }

/* ── masthead ───────────────────────────────────────────────── */

.masthead { padding-top: 28px; text-align: center; }
.masthead__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-2);
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: .08em;
}
.masthead__brand { position: relative; display: inline-flex; margin: 34px 0 2px; }
.masthead h1 {
  margin: 0 -.08em 0 0;
  color: var(--ink);
  font-size: clamp(34px, 7.2vw, 86px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .08em;
  white-space: nowrap;
}
.masthead__verse {
  position: absolute;
  right: 100%;
  top: 6px;
  margin-right: 40px;
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .35em;
}
.masthead__verse span { display: block; }
.masthead__verse span + span { margin-block-start: 6px; }
.seal {
  position: absolute;
  left: 100%;
  top: 9%;
  margin-left: 16px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 6px;
  background: var(--seal);
  box-shadow: inset 0 0 0 3px var(--seal), inset 0 0 0 4.5px rgba(251, 243, 234, .8);
  color: #fbf3ea;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .04em;
  writing-mode: vertical-rl;
  transform: rotate(-8deg);
  opacity: .94;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.masthead__motto { margin: 8px 0 0; padding-left: .6em; color: var(--ink-2); font-size: 16px; font-weight: 500; letter-spacing: .6em; }
.masthead__sub { margin: 4px 0 24px; color: var(--ink-3); font-size: 13px; letter-spacing: .14em; }
.masthead__rule { height: 5px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }

/* ── sections ───────────────────────────────────────────────── */

.sections {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  gap: clamp(20px, 4vw, 46px);
  padding-top: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.sections::-webkit-scrollbar { display: none; }
.sections button {
  position: relative;
  flex: none;
  padding: 4px 0 4px .24em;
  color: var(--ink-3);
  font-size: 16px;
  letter-spacing: .24em;
  transition: color .25s;
}
.sections button:hover { color: var(--ink); }
.sections button[data-section="economics"] { --c: var(--economics); }
.sections button[data-section="science"] { --c: var(--science); }
.sections button[data-section="health"] { --c: var(--health); }
.sections button[data-section="tech"] { --c: var(--tech); }
.sections button:not([data-section="all"])::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  background: var(--c);
  transform: translateY(-2px) rotate(45deg);
}
.sections button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--c, var(--ink));
  transform: scaleX(0);
  transition: transform .45s var(--ease);
}
.sections button.is-active { color: var(--ink); font-weight: 700; }
.sections button.is-active::after { transform: scaleX(1); }
.sections sup { margin-left: 1px; color: var(--ink-4); font: 400 10px var(--mono); letter-spacing: 0; }

.m-status { display: none; }

/* ── layout ─────────────────────────────────────────────────── */

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 64px; align-items: start; }
.feed { min-width: 0; padding-bottom: 40px; }
.feed__end { height: 1px; }
.rail {
  position: sticky;
  top: calc(var(--ticker-h) + 4px);
  max-height: calc(100vh - var(--ticker-h) - 4px);
  padding: 28px 2px 24px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-2) transparent;
}

/* ── cards ──────────────────────────────────────────────────── */

.card-shell { display: grid; grid-template-rows: 1fr; margin-inline: -20px; transition: grid-template-rows .9s var(--ease); }
.card-shell.is-collapsed { grid-template-rows: 0fr; }
.card-clip { min-height: 0; overflow: hidden; padding-inline: 20px; }

.card {
  --c: var(--ink-3);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 30px;
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--rule);
}
.card[data-section="economics"] { --c: var(--economics); }
.card[data-section="science"] { --c: var(--science); }
.card[data-section="health"] { --c: var(--health); }
.card[data-section="tech"] { --c: var(--tech); }
.card__body { min-width: 0; }

.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-bottom: 8px; color: var(--ink-3); font-size: 13px; }
.card__section { color: var(--c); font-weight: 700; letter-spacing: .18em; }
.card__section::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--c);
  transform: translateY(-2px) rotate(45deg);
}
.card__source { color: var(--ink-2); }
.card__time { color: var(--ink-4); font: 400 12px var(--mono); }
.card__flag { padding: 0 6px; border: 1px solid rgba(180, 55, 42, .45); border-radius: 3px; color: var(--seal); font-size: 11.5px; line-height: 1.6; letter-spacing: .14em; }
.card__read { color: var(--ink-4); font-size: 12px; letter-spacing: .06em; }

.card__title { margin: 0 0 10px; color: var(--ink); font-size: 23px; font-weight: 700; line-height: 1.5; letter-spacing: .015em; text-wrap: pretty; }
.card--major .card__title { font-size: 28px; line-height: 1.42; }
.card__title a {
  background: linear-gradient(var(--c), var(--c)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.card__title a:hover { background-size: 100% 1.5px; }

.card__summary { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.95; text-align: justify; }
.card__note { margin: 14px 0 0; padding: 1px 0 1px 14px; border-left: 2px solid var(--c); color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.card__note b { margin-right: 8px; color: var(--c); font-weight: 700; letter-spacing: .12em; }
.card__points { display: grid; gap: 3px; margin: 14px 0 0; padding: 0; list-style: none; }
.card__points li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.card__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .8em;
  width: 5px;
  height: 5px;
  background: var(--c);
  opacity: .75;
  transform: rotate(45deg);
}

.card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; margin-top: 16px; font-size: 13px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink-3); }
.card__tags span::before { content: "#"; margin-right: 2px; color: var(--ink-4); }
.card__link { color: var(--c); font-weight: 600; letter-spacing: .1em; }
.card__link span { display: inline-block; transition: transform .3s var(--ease); }
.card__link:hover span { transform: translate(2px, -2px); }

.card__figure { width: 184px; margin: 4px 0 0; }
.card__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  background: var(--paper-lo);
  box-shadow: 0 0 0 1px rgba(26, 24, 21, .07), 0 12px 26px -16px rgba(26, 24, 21, .4);
  filter: saturate(.8) sepia(.12) contrast(1.03);
  transition: filter .5s;
}
.card:hover .card__figure img { filter: none; }

/* a story arriving from the release desk */
.card.is-fresh::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  border-left: 2px solid var(--seal);
  background: linear-gradient(90deg, rgba(180, 55, 42, .085), rgba(180, 55, 42, 0) 75%);
  pointer-events: none;
  animation: fresh-fade 12s ease-out forwards;
}
@keyframes fresh-fade { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
.card.is-fresh .card__time { color: var(--seal); }
.card.is-fresh :is(.card__meta, .card__summary, .card__note, .card__points, .card__foot, .card__figure) { animation: rise .9s var(--ease) both; }
.card.is-fresh .card__figure { animation-delay: .3s; }
.card.is-fresh .card__summary { animation-delay: .75s; }
.card.is-fresh .card__note { animation-delay: .9s; }
.card.is-fresh .card__points { animation-delay: 1.05s; }
.card.is-fresh .card__foot { animation-delay: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } }
.card.is-typing .ch { opacity: 0; animation: ink .5s ease-out forwards; animation-delay: calc(var(--i) * 32ms + 200ms); }
@keyframes ink { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }

.new-pill { position: sticky; top: calc(var(--ticker-h) + 12px); z-index: 30; height: 0; display: flex; justify-content: center; }
.new-pill button {
  margin-top: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 10px 26px -10px rgba(26, 24, 21, .55);
  color: var(--paper-hi);
  font-size: 13px;
  letter-spacing: .12em;
  animation: drop .5s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

.empty { padding: 96px 0 120px; text-align: center; }
.empty__glyph {
  color: transparent;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--rule-2);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .4; } }
.empty__title { margin: 22px 0 6px; color: var(--ink); font-size: 18px; letter-spacing: .3em; }
.empty__sub { margin: 0; color: var(--ink-3); font-size: 14px; letter-spacing: .1em; }

/* ── rail ───────────────────────────────────────────────────── */

.panel { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.panel h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .32em; }
.panel h2::before { content: ""; width: 3px; height: 14px; background: var(--seal); }
.panel h2 small { margin-left: auto; color: var(--ink-4); font: 400 11px var(--mono); letter-spacing: 0; }

.log {
  max-height: 400px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}
.log li {
  --k: var(--ink-3);
  display: grid;
  grid-template-columns: 38px 20px 1fr;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}
.log li.is-new { animation: log-in .7s var(--ease); }
@keyframes log-in { from { opacity: 0; transform: translateY(-6px); } }
.log time { color: var(--ink-4); font: 400 11px/1.95 var(--mono); }
.log i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--k);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}
.log li[data-kind="publish"] i { border-color: var(--seal); background: var(--seal); color: #fbf3ea; }
.log li[data-kind="write"], .log li[data-kind="read"] { --k: var(--health); }
.log li[data-kind="edit"], .log li[data-kind="plan"] { --k: var(--science); }
.log li[data-kind="reject"] { --k: var(--economics); }
.log li[data-kind="error"] { --k: var(--seal); }

.stat-big { display: flex; align-items: baseline; gap: 8px; color: var(--ink-3); font-size: 13px; letter-spacing: .1em; }
.stat-big b { color: var(--ink); font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 9px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13px; }
.bar__track { height: 5px; overflow: hidden; border-radius: 3px; background: var(--rule); }
.bar__track i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--c); transition: width .9s var(--ease); }
.bar b { color: var(--ink-3); font: 500 12px var(--mono); text-align: right; }
.guard { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--ink-3); font-size: 13px; }
.guard::before { content: "⊘"; color: var(--seal); font-size: 14px; }

.panel--sources summary { cursor: pointer; list-style: none; }
.panel--sources summary::-webkit-details-marker { display: none; }
.panel--sources summary h2 { margin: 0; }
.panel--sources summary h2::after { content: "▾"; color: var(--ink-4); font-size: 12px; transition: transform .3s; }
.panel--sources details[open] summary h2::after { transform: rotate(180deg); }
.sources { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; }
.sources li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); line-height: 1.95; }
.sources li i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--health); }
.sources li.is-unknown i { background: var(--rule-2); }
.sources li.is-down { color: var(--ink-4); }
.sources li.is-down i { background: var(--seal); }
.sources .sources__group { margin-top: 10px; color: var(--c); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.sources .sources__group:first-child { margin-top: 0; }

/* ── footer ─────────────────────────────────────────────────── */

.colophon { margin-top: 48px; padding-top: 22px; padding-bottom: 56px; border-top: 2px solid var(--ink); color: var(--ink-3); font-size: 13px; letter-spacing: .06em; text-align: center; }
.colophon p { margin: 0 0 4px; }
.colophon__mark { margin-right: 10px; color: var(--ink); font-weight: 900; letter-spacing: .2em; }
.colophon__fine { color: var(--ink-4); font: 400 11px/2 var(--mono); letter-spacing: 0; }

/* ── responsive ─────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .m-status {
    display: block;
    padding-block: 10px;
    overflow: hidden;
    border-bottom: 1px solid var(--rule);
    color: var(--ink-3);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .m-status::before { content: "编辑部 · "; color: var(--seal); font-weight: 700; }
}

@media (max-width: 720px) {
  :root { --ticker-h: 46px; }
  .ticker__row { gap: 8px; font-size: 13px; }
  .ticker__desk { gap: 0; margin-right: 0; padding: 6px; font-size: 0; }
  .ticker__label { max-width: 46%; }
  .ticker__clock { font-size: 14px; padding: 0 6px; }
  .ticker__phase, .ticker__next, .pile__unit { display: none; }
  .masthead { padding-top: 18px; }
  .masthead__meta { justify-content: center; font-size: 12px; }
  .masthead__issue, .masthead__verse { display: none; }
  .masthead__brand { margin-top: 24px; }
  .seal { width: 34px; height: 34px; margin-left: 6px; font-size: 12px; }
  .masthead__motto { font-size: 14px; letter-spacing: .4em; }
  .sections { gap: 14px; }
  .sections button { padding-left: .12em; font-size: 15px; letter-spacing: .12em; }
  .sections button:not([data-section="all"])::before { margin-right: 6px; }
  .card { grid-template-columns: minmax(0, 1fr); padding: 24px 0 22px; }
  .card__figure { order: -1; width: 100%; margin: 0 0 16px; }
  .card__figure img { aspect-ratio: 16 / 9; }
  .card__title { font-size: 20px; }
  .card--major .card__title { font-size: 22px; }
  .card__summary { font-size: 16px; line-height: 1.9; }
}

/* reduced motion: drop movement (unfolding, typing, sliding), keep gentle fades */
@media (prefers-reduced-motion: reduce) {
  .card-shell { transition: none; }
  .card.is-typing .ch { opacity: 1; animation: none; }
  .card.is-fresh :is(.card__meta, .card__summary, .card__note, .card__points, .card__foot, .card__figure) {
    animation: fade .6s ease-out both;
  }
  .pulse, .empty__glyph { animation: none; }
  .progress.is-sweeping i { animation-duration: 4s; }
  .pile__stack i.is-leaving { animation: fade-out .4s forwards; }
  .new-pill button, .log li.is-new { animation: fade .4s both; }
  .sections button::after, .card__title a, .card__link span { transition: none; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
