/* =================================================================
   FX News.

   Inherits the site's palette from styles.css — no local colour
   variables, so the page can never drift from the landing page.
   Indigo (--accent) carries one meaning here and one only: a machine
   wrote this. Nothing decorative is allowed to use it.
   ================================================================= */

/* Author display rules outrank the UA sheet's [hidden] { display: none }. */
[hidden] { display: none !important; }

/* ── page shell ─────────────────────────────────────────── */
.news-body { background: var(--bg); cursor: auto; }
.news-page {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 64px) 0 120px;
}
.page-body { min-height: 100vh; cursor: auto; }

/* Keep the injected nav legible on a page with no hero image behind it. */
.blog-nav {
  background: rgba(5, 5, 5, 0.82) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: saturate(160%) blur(18px);
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gradient);
}

/* ── loading sweep ──────────────────────────────────────── */
.sync-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 200; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
}
.sync-bar.is-on { opacity: 1; }
.sync-bar span {
  display: block; height: 100%; width: 30%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: sweep 1.1s ease-in-out infinite;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(430%); } }

/* ── hero ───────────────────────────────────────────────── */
.news-hero { max-width: 72ch; }
.news-hero__title {
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--text);
}
.news-hero__title em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.news-hero__lede {
  margin: 22px 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 62ch;
}
.news-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 14px; margin-top: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem; color: var(--text-3);
}
.news-stat { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.news-stat + .news-stat::before {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-3); opacity: 0.5; margin-right: 11px;
}
.news-stat strong { color: var(--text); font-weight: 600; }
.news-stat--live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 9px rgba(34, 197, 94, 0.55);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── controls ───────────────────────────────────────────── */
.news-controls {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 46px 0 0; padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.news-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  flex: 1 1 260px; min-width: 0; padding: 0 13px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.news-search:focus-within {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--glow);
}
.news-search svg { flex-shrink: 0; color: var(--text-3); }
.news-search input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
}
.news-search input::placeholder { color: var(--text-3); }
.news-search input::-webkit-search-cancel-button { display: none; }
.news-search kbd {
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; color: var(--text-3);
  border: 1px solid var(--border); border-radius: 4px; padding: 2px 5px; line-height: 1;
}
.news-search:focus-within kbd { display: none; }
.news-search__clear {
  display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0;
  background: none; border: none; border-radius: 4px; color: var(--text-3); cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.news-search__clear:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.news-sources { display: flex; flex-wrap: wrap; gap: 6px; }
.src-chip {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.78rem; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.src-chip:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-card); }
.src-chip.is-active {
  color: var(--text);
  border-color: transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              var(--gradient) border-box;
  border: 1px solid transparent;
}
.src-chip__n {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--text-3); font-variant-numeric: tabular-nums;
}

/* ── day dividers ───────────────────────────────────────── */
.news-feed { display: flex; flex-direction: column; }
.day-rule {
  display: flex; align-items: center; gap: 14px;
  margin: 38px 0 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
}
.day-rule:first-child { margin-top: 30px; }
.day-rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* ── card ───────────────────────────────────────────────── */
.ncard {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease);
}
.ncard + .ncard { margin-top: 10px; }
.ncard:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.ncard.is-open {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--glow);
}

.ncard__btn {
  display: block; width: 100%; text-align: left;
  padding: 20px 22px;
  background: none; border: none; cursor: pointer; color: inherit; font: inherit;
}
.ncard__meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 11px; line-height: 1;
}
.ncard__source {
  font-family: 'JetBrains Mono', monospace; font-size: 0.66rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2);
  padding: 5px 8px 4px;
  border: 1px solid var(--border); border-radius: 5px;
  white-space: nowrap;
}
.ncard__source[data-kind="centralbank"] {
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.28);
}
.ncard__time {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-3);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ncard__flag {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #22c55e;
}
.ncard__title {
  margin: 0;
  font-size: 1.11rem; font-weight: 550; line-height: 1.36;
  letter-spacing: -0.015em; color: var(--text);
}
.ncard__summary {
  margin: 9px 0 0;
  font-size: 0.9rem; line-height: 1.65; color: var(--text-2); max-width: 76ch;
}

/* Collapsed: the blurb is the hook, clamped to two lines. */
.ncard__gist { display: flex; align-items: stretch; gap: 11px; margin-top: 14px; }
.ncard__gist-mark {
  flex-shrink: 0; width: 2px; border-radius: 1px;
  background: var(--gradient);
  opacity: 0.65;
}
.ncard__gist p {
  margin: 0;
  font-size: 0.88rem; line-height: 1.6; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.ncard.is-open .ncard__gist { display: none; }

.ncard__more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  font-size: 0.8rem; font-weight: 500; color: var(--text-3);
  transition: color 0.22s var(--ease);
}
.ncard__btn:hover .ncard__more { color: #818cf8; }
.ncard__more svg { transition: transform 0.3s var(--ease); }
.ncard.is-open .ncard__more svg { transform: rotate(180deg); }

/* ── the reading surface ────────────────────────────────── */
.ncard__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}
.ncard.is-open .ncard__body { grid-template-rows: 1fr; }
.ncard__body > div { overflow: hidden; }
.ncard__inner { padding: 0 22px 22px; }

.read-head {
  display: flex; align-items: center; gap: 11px;
  margin: 0 0 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--text-3);
}
.read-head::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.read-block + .read-block { margin-top: 24px; }
.read-block p {
  margin: 0 0 9px;
  font-size: 0.93rem; line-height: 1.7; color: var(--text); max-width: 72ch;
}
.read-block p:last-child { margin-bottom: 0; }

/* The AI panel — the one place the brand gradient appears as a surface. */
.read-ai {
  position: relative;
  padding: 17px 19px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.read-ai::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; width: 2px;
  background: var(--gradient);
}
.read-ai .read-head { color: #a5b4fc; }

.watch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.watch-list li {
  display: flex; gap: 11px; align-items: baseline;
  font-size: 0.89rem; line-height: 1.6; color: var(--text-2);
}
.watch-list li::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px; margin-top: 7px; border-radius: 50%;
  background: var(--accent);
}

.pair-rows { display: grid; gap: 8px; }
.pair-row {
  display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: baseline;
  padding: 11px 13px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.pair-row__tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 600;
  color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.pair-row__note { font-size: 0.86rem; line-height: 1.58; color: var(--text-2); }

.ncard__pairs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.pair-chip {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: var(--text-2); padding: 4px 8px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 5px;
  font-variant-numeric: tabular-nums;
}

/* ── ask box ────────────────────────────────────────────── */
.ask { margin-top: 24px; }
.ask__form { display: flex; gap: 9px; align-items: stretch; }
.ask__input {
  flex: 1; min-width: 0; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: inherit; font-size: 0.9rem;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.ask__input::placeholder { color: var(--text-3); }
.ask__input:focus {
  outline: none; border-color: var(--border-hover); box-shadow: 0 0 0 3px var(--glow);
}
.ask__send {
  padding: 0 20px;
  background: var(--gradient); border: none; border-radius: var(--radius-sm);
  color: #fff; font-family: inherit; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.ask__send:hover:not(:disabled) { transform: translateY(-1px); }
.ask__send:disabled { opacity: 0.4; cursor: not-allowed; }

.ask__suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.ask__chip {
  padding: 6px 11px;
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text-3); font-family: inherit; font-size: 0.76rem; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.ask__chip:hover { color: #818cf8; border-color: var(--border-hover); }

.ask__thread { display: grid; gap: 14px; margin-top: 16px; }
.ask__turn { display: grid; gap: 7px; }
.ask__q {
  font-size: 0.87rem; color: var(--text-2); font-weight: 500;
  padding-left: 13px; border-left: 2px solid var(--border-hover);
}
.ask__a {
  font-size: 0.91rem; line-height: 1.68; color: var(--text);
  padding-left: 13px; border-left: 2px solid var(--accent);
}
.ask__a--error { color: var(--text-3); border-left-color: var(--border-hover); }

/* ── source link ────────────────────────────────────────── */
.read-source {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--border);
}
.read-source__note {
  font-size: 0.78rem; color: var(--text-3); flex: 1 1 220px; line-height: 1.55;
}
.read-source__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-2); text-decoration: none; white-space: nowrap;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.read-source__link:hover {
  color: var(--text); border-color: var(--border-hover); background: var(--bg-alt);
}
.read-source__link svg { transition: transform 0.24s var(--ease); }
.read-source__link:hover svg { transform: translate(2px, -2px); }

mark {
  background: rgba(99, 102, 241, 0.28);
  color: inherit; border-radius: 3px; padding: 0 2px;
}

/* ── empty / skeleton ───────────────────────────────────── */
.news-empty {
  padding: 76px 20px; text-align: center; color: var(--text-3);
  font-size: 0.9rem; line-height: 1.7;
}
.news-empty a { color: #818cf8; }
.news-empty code {
  font-family: 'JetBrains Mono', monospace; font-size: 0.85em;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px;
}

.skel {
  display: block;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 25%, rgba(255, 255, 255, 0.075) 37%, rgba(255, 255, 255, 0.035) 63%);
  background-size: 400% 100%;
  border-radius: 4px;
  animation: shimmer 1.6s ease infinite;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes shimmer { from { background-position: 100% 50%; } to { background-position: 0 50%; } }
.news-stat--load { width: 220px; height: 11px; }
.ncard--load { padding: 20px 22px; }
.ncard--load .skel + .skel { margin-top: 11px; }
.ncard--load .skel:nth-child(1) { width: 22%; height: 10px; }
.ncard--load .skel:nth-child(2) { width: 78%; height: 16px; }
.ncard--load .skel:nth-child(3) { width: 58%; height: 11px; }

.read-loading {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.85rem; color: var(--text-3); padding: 8px 0;
}
.read-loading::before {
  content: ''; width: 12px; height: 12px; flex-shrink: 0;
  border: 1.5px solid var(--border-hover); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Offered under every failed breakdown. Quiet on purpose — it sits under an
   apology, so it should read as an option rather than as an alarm. */
.dive-retry {
  margin-top: 12px; padding: 7px 14px;
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text-2); font-family: inherit; font-size: 0.79rem; cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dive-retry:hover { color: #818cf8; border-color: var(--border-hover); }
.dive-retry:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── pagination ─────────────────────────────────────────── */
.pager {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pager__step, .pager__num {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 36px; height: 36px; padding: 0 12px;
  justify-content: center;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2); font-family: inherit; font-size: 0.8rem;
  cursor: pointer; white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}
.pager__num { font-family: 'JetBrains Mono', monospace; padding: 0 6px; }

.pager__step:hover:not(:disabled),
.pager__num:hover:not(.is-current) { color: var(--text); border-color: var(--border-hover); }

.pager__step:disabled { opacity: 0.32; cursor: not-allowed; }

/* The current page is the one thing in this control worth colouring. */
.pager__num.is-current {
  color: #fff; border-color: transparent;
  background: var(--gradient);
  cursor: default;
}

.pager__nums { display: flex; align-items: center; gap: 6px; }
.pager__gap { color: var(--text-3); padding: 0 2px; user-select: none; }

.pager__step:focus-visible, .pager__num:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Pushed onto its own line so the buttons stay centred on the row above. */
.pager__count {
  flex-basis: 100%; margin: 4px 0 0; text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; color: var(--text-3);
}

/* ── explainer + FAQ ────────────────────────────────────── */
/* The page's static, indexable content. Set below the feed because the feed is
   what people came for, but typeset as real prose rather than as boilerplate —
   it is the only writing here that is ours. */
.news-explainer, .news-faq { margin-top: 72px; }

.news-explainer__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600; letter-spacing: -0.5px; margin: 0 0 16px;
}

.news-explainer__lede {
  max-width: 68ch; margin: 0 0 32px;
  font-size: 0.95rem; line-height: 1.75; color: var(--text-2);
}

.explainer-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.explainer-card {
  padding: 22px 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}
.explainer-card h3 {
  font-size: 0.94rem; font-weight: 600; margin: 0 0 10px; color: var(--text);
}
.explainer-card p {
  margin: 0; font-size: 0.87rem; line-height: 1.72; color: var(--text-2);
}
.explainer-card em { color: var(--text); font-style: italic; }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.22s var(--ease);
}
.faq-item[open], .faq-item:hover { border-color: var(--border-hover); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* The heading has to live inside <summary> to be the clickable label, but a
   block-level h3 there breaks the flex row — hence the display override. */
.faq-item summary h3 {
  display: inline; margin: 0;
  font-size: 0.92rem; font-weight: 500; color: var(--text);
}
.faq-item summary::after {
  content: ''; flex-shrink: 0; width: 9px; height: 9px;
  border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(225deg) translateY(-2px); border-color: #818cf8;
}
.faq-item > p {
  margin: 0; padding: 0 20px 18px; max-width: 72ch;
  font-size: 0.87rem; line-height: 1.75; color: var(--text-2);
}
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ── footnote ───────────────────────────────────────────── */
.news-note { margin-top: 62px; padding-top: 24px; border-top: 1px solid var(--border); }
.news-note p {
  margin: 0; max-width: 78ch;
  font-size: 0.79rem; line-height: 1.72; color: var(--text-3);
}
.news-noscript {
  margin-top: 30px; padding: 22px;
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-2);
}
.news-noscript ul { margin: 12px 0 0; padding-left: 18px; line-height: 1.9; }
.news-noscript a { color: #818cf8; }

/* ── toast ──────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 30px;
  transform: translate(-50%, 16px);
  padding: 12px 20px;
  background: var(--bg-card-hover); border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.86rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  z-index: 300;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .news-page { padding-top: calc(var(--nav-h) + 36px); }
  .ncard__btn { padding: 17px 16px; }
  .ncard__inner { padding: 0 16px 18px; }
  .ncard__meta { flex-wrap: wrap; }
  .ncard__flag { margin-left: 0; }
  .ask__form { flex-direction: column; }
  .ask__send { padding: 12px 20px; }
  .pair-row { grid-template-columns: 1fr; gap: 5px; }
  /* Arrows only — the words "Prev" and "Next" wrap the control onto three rows
     on a narrow screen and the arrows already say it. The buttons keep their
     aria-labels, so this is a visual change only.
     Targets go up to 42px: 36 is comfortable with a mouse and fiddly with a
     thumb, and these sit close together. */
  .pager { gap: 6px; }
  .pager__step { padding: 0 12px; font-size: 0; gap: 0; }
  .pager__step svg { width: 16px; height: 16px; }
  .pager__step, .pager__num { height: 42px; min-width: 42px; }
  .pager__num { padding: 0 4px; }
  /* On a 360px screen six numbers plus both arrows overflow the row. Let the
     numbers wrap among themselves rather than pushing Next onto a line of its
     own — the arrows stay either side of the block whatever the page count. */
  .pager__nums { flex-wrap: wrap; justify-content: center; }
  .news-explainer, .news-faq { margin-top: 52px; }
  .explainer-card { padding: 18px 18px; }
  .faq-item summary { padding: 14px 16px; }
  .faq-item > p { padding: 0 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sync-bar span, .news-stat--live .dot, .skel, .read-loading::before { animation: none; }
  .ncard, .ncard__body, .ncard__more svg, .ask__send,
  .read-source__link, .read-source__link svg, .toast { transition: none; }
  .ask__send:hover:not(:disabled) { transform: none; }
  .faq-item, .faq-item summary::after, .pager__step, .pager__num { transition: none; }
}
