/* ==========================================================================
   Newsroom — front end
   Scoped to .nr-root so it never fights the active theme.
   Spacing is deliberately tight: 10–15px vertical rhythm, compact leading,
   and a card-based mobile layout that reads like an app rather than a page.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

.nr-root {
  --nr-brand: #0a2472;
  --nr-hot: #c0392b;

  --nr-bg: #fbfaf7;
  --nr-surface: #ffffff;
  --nr-ink: #14161a;
  --nr-ink-2: #5b6169;
  --nr-line: #e4e2dd;
  --nr-soft: #f2f0eb;

  --nr-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --nr-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --nr-r: 12px;
  --nr-gap: 14px;
  --nr-pad: 12px;

  font-family: var(--nr-text);
  color: var(--nr-ink);
  background: var(--nr-bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nr-root.nr-dark {
  --nr-bg: #0c0d0f;
  --nr-surface: #16181c;
  --nr-ink: #edeef0;
  --nr-ink-2: #9aa0a8;
  --nr-line: #24272c;
  --nr-soft: #1b1e22;
}

/* ---------- reset within scope ---------- */
.nr-root *, .nr-root *::before, .nr-root *::after { box-sizing: border-box; }
.nr-root h1, .nr-root h2, .nr-root h3, .nr-root h4,
.nr-root p, .nr-root ul, .nr-root ol, .nr-root figure { margin: 0; padding: 0; }
.nr-root ul, .nr-root ol { list-style: none; }
.nr-root img { max-width: 100%; display: block; }
.nr-root a { color: inherit; text-decoration: none; }
.nr-root button { font: inherit; color: inherit; }

.nr-root h1, .nr-root h2, .nr-root h3, .nr-root .nr-display {
  font-family: var(--nr-display);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.015em;
}

.nr-root :focus-visible {
  outline: 2px solid var(--nr-brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- shell ---------- */
.nr-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--nr-pad) 16px;
}
.nr-shell-narrow { max-width: 720px; }
.nr-shell-tight { max-width: 400px; }

.nr-pagehead { padding: 4px 0 12px; }
.nr-pagehead-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.nr-pagehead-row > :last-child { margin-left: auto; }
.nr-pagetitle { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.nr-pagesub { color: var(--nr-ink-2); font-size: .92rem; margin-top: 4px; }

.nr-kicker {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nr-brand);
  margin-bottom: 4px;
}
.nr-dot { color: var(--nr-ink-2); opacity: .6; margin: 0 2px; }
.nr-tiny { font-size: .78rem; color: var(--nr-ink-2); }
.nr-mt { margin-top: 12px; }

/* ---------- breaking ticker ---------- */
.nr-ticker {
  display: flex;
  align-items: center;
  background: var(--nr-hot);
  color: #fff;
}
.nr-ticker-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 7px 16px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nr-ticker-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #fff;
  animation: nr-pulse 1.6s infinite;
}
.nr-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.nr-ticker-track {
  display: inline-flex;
  gap: 34px;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 500;
  animation: nr-slide 48s linear infinite;
}
.nr-ticker:hover .nr-ticker-track,
.nr-ticker:focus-within .nr-ticker-track { animation-play-state: paused; }
@keyframes nr-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- reading progress ---------- */
.nr-progress {
  position: sticky; top: 0; z-index: 60;
  height: 2px; background: transparent;
}
.nr-progress-bar {
  display: block; height: 100%; width: 0;
  background: var(--nr-brand);
  transition: width .1s linear;
}

/* ---------- cards ---------- */
.nr-grid { display: grid; gap: var(--nr-gap); }
.nr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nr-grid-4 { grid-template-columns: repeat(4, 1fr); }

.nr-card { min-width: 0; }
.nr-card-link { display: block; }
.nr-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--nr-r);
  overflow: hidden;
  background: var(--nr-soft);
}
.nr-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.nr-card-link:hover .nr-card-media img { transform: scale(1.04); }
.nr-card-noimg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--nr-ink-2);
}
.nr-card-text { padding-top: 8px; }
.nr-card-title {
  font-size: 1.02rem;
  line-height: 1.22;
  transition: color .15s;
}
.nr-card-link:hover .nr-card-title { color: var(--nr-brand); }
.nr-card-stand {
  color: var(--nr-ink-2);
  font-size: .9rem;
  margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nr-card-meta {
  font-size: .74rem;
  color: var(--nr-ink-2);
  margin-top: 6px;
  display: flex; flex-wrap: wrap; gap: 2px;
}

.nr-card-lead .nr-card-media { aspect-ratio: 16 / 9; }
.nr-card-lead .nr-card-title { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin-top: 2px; }
.nr-card-lead .nr-card-text { padding-top: 10px; }

/* ---------- home layout ---------- */
.nr-top {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 26px;
  padding: 12px 0 4px;
}
.nr-picks { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }

.nr-rail { border-left: 1px solid var(--nr-line); padding-left: 20px; }
.nr-rail-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--nr-ink-2);
  padding-bottom: 8px; border-bottom: 1px solid var(--nr-line);
  font-family: var(--nr-text);
}
.nr-ranked li {
  display: flex; gap: 10px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--nr-line);
}
.nr-ranked li:last-child { border-bottom: 0; }
.nr-rank {
  font-family: var(--nr-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--nr-line); flex: none; width: 20px;
}
.nr-ranked a { font-size: .88rem; font-weight: 500; line-height: 1.3; }
.nr-ranked a:hover { color: var(--nr-brand); }
.nr-rail-cta {
  display: block; margin-top: 14px; padding: 10px 12px;
  border-radius: var(--nr-r); background: var(--nr-soft);
  font-size: .82rem; font-weight: 600;
}

/* ---------- section strips ---------- */
.nr-strip { padding: 14px 0 4px; }
.nr-strip-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 9px; margin-bottom: 12px;
  border-bottom: 2px solid var(--nr-ink);
}
.nr-strip-title { font-size: 1.22rem; }
.nr-strip-more {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; color: var(--nr-brand);
  padding: 6px 14px;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  transition: background .15s, border-color .15s, transform .1s;
}
.nr-strip-more:hover { background: var(--nr-wash); border-color: var(--nr-brand); }
.nr-strip-more:active { transform: translateY(1px); }

.nr-lead-slot { padding-bottom: 14px; }
.nr-loadwrap { display: flex; justify-content: center; padding: 16px 0 4px; }

/* ---------- article ---------- */
.nr-article { padding-top: 10px; }
.nr-crumbs { font-size: .74rem; color: var(--nr-ink-2); margin-bottom: 8px; }
.nr-crumbs a:hover { color: var(--nr-brand); }

.nr-headline { font-size: clamp(1.75rem, 5.2vw, 2.85rem); margin-top: 2px; }
.nr-standfirst {
  font-size: 1.05rem; color: var(--nr-ink-2);
  margin-top: 8px; line-height: 1.5;
}

.nr-byline {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; margin-top: 8px;
  border-top: 1px solid var(--nr-line);
  border-bottom: 1px solid var(--nr-line);
}
.nr-byline img { border-radius: 999px; }
.nr-byline-name { font-weight: 600; font-size: .88rem; }
.nr-byline-meta { font-size: .74rem; color: var(--nr-ink-2); margin-top: 1px; }
.nr-verified { color: var(--nr-brand); font-size: .8em; margin-left: 3px; }
.nr-savebtn {
  margin-left: auto; border: 1px solid var(--nr-line); background: transparent;
  border-radius: 999px; padding: 6px 14px; font-size: .74rem; font-weight: 600;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.nr-savebtn:hover { background: var(--nr-soft); }
.nr-savebtn.is-on { background: var(--nr-brand); color: #fff; border-color: var(--nr-brand); }

.nr-share { display: flex; gap: 6px; padding: 12px 0; flex-wrap: wrap; }
.nr-share-btn {
  border: 1px solid var(--nr-line); background: transparent; cursor: pointer;
  border-radius: 999px; padding: 6px 13px; font-size: .74rem; font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.nr-share-btn:hover { background: var(--nr-soft); }
.nr-share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.nr-share-x:hover { background: #000; border-color: #000; color: #fff; }
.nr-share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }

.nr-hero { margin: 12px 0; }
.nr-hero img { border-radius: var(--nr-r); width: 100%; }
.nr-hero figcaption { font-size: .74rem; color: var(--nr-ink-2); margin-top: 6px; }

.nr-points {
  background: var(--nr-soft);
  border-left: 3px solid var(--nr-brand);
  border-radius: 0 var(--nr-r) var(--nr-r) 0;
  padding: 12px 14px;
  margin: 4px 0 18px;
}
.nr-points-title {
  font-family: var(--nr-text);
  font-size: .64rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--nr-ink-2); margin-bottom: 7px;
}
.nr-points li {
  position: relative; padding-left: 15px;
  font-size: .9rem; line-height: 1.42; margin-bottom: 5px;
}
.nr-points li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 999px; background: var(--nr-brand);
}
.nr-points li:last-child { margin-bottom: 0; }

.nr-body { font-size: 1.06rem; line-height: 1.62; }
.nr-body p { margin-bottom: 15px; }
.nr-body h2 { font-size: 1.42rem; margin: 24px 0 9px; }
.nr-body h3 { font-size: 1.18rem; margin: 18px 0 7px; }
.nr-body a { color: var(--nr-brand); text-decoration: underline; text-underline-offset: 2px; }
.nr-body ul, .nr-body ol { margin: 0 0 15px 20px; }
.nr-body li { list-style: disc; margin-bottom: 5px; }
.nr-body ol li { list-style: decimal; }
.nr-body blockquote {
  border-left: 3px solid var(--nr-hot);
  padding-left: 14px; margin: 18px 0;
  font-family: var(--nr-display); font-size: 1.22rem; line-height: 1.35;
}
.nr-body img { border-radius: var(--nr-r); margin: 15px 0; }
.nr-body figure { margin: 15px 0; }

.nr-correction, .nr-sources {
  background: var(--nr-soft); border-radius: var(--nr-r);
  padding: 12px 14px; margin-top: 18px; font-size: .86rem;
}
.nr-correction strong { display: block; margin-bottom: 4px; }
.nr-sources a { color: var(--nr-brand); word-break: break-all; }

.nr-mapwrap { margin-top: 16px; }
.nr-map { width: 100%; height: 260px; border: 0; border-radius: var(--nr-r); }

.nr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.nr-tags a {
  font-size: .72rem; padding: 4px 11px; border-radius: 999px;
  background: var(--nr-soft); color: var(--nr-ink-2);
}

.nr-authorbox {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; margin-top: 20px;
  background: var(--nr-soft); border-radius: var(--nr-r);
}
.nr-authorbox img { border-radius: 999px; flex: none; }
.nr-authorbox-name { font-weight: 600; font-size: .95rem; }
.nr-authorbox p { font-size: .85rem; color: var(--nr-ink-2); margin: 3px 0 6px; }
.nr-authorbox a { font-size: .8rem; font-weight: 600; color: var(--nr-brand); }

.nr-related { margin-top: 26px; padding-top: 16px; border-top: 2px solid var(--nr-ink); }
.nr-comments { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--nr-line); }

.nr-next {
  position: fixed; bottom: 12px; right: 12px; z-index: 50;
  max-width: 300px; padding: 10px 13px;
  background: var(--nr-surface); border: 1px solid var(--nr-line);
  border-radius: var(--nr-r); box-shadow: 0 8px 26px rgba(0,0,0,.13);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.9,.3,1);
}
.nr-next.is-in { transform: none; }
.nr-next-label {
  display: block; font-size: .6rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--nr-brand);
}
.nr-next-title { display: block; font-size: .86rem; font-weight: 600; line-height: 1.28; margin-top: 3px; }

/* ---------- dashboard ---------- */
.nr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.nr-stat {
  background: var(--nr-surface); border: 1px solid var(--nr-line);
  border-radius: var(--nr-r); padding: 12px;
}
.nr-stat-num { display: block; font-family: var(--nr-display); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.nr-stat-lab {
  display: block; font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--nr-ink-2); margin-top: 5px;
}

.nr-list { display: flex; flex-direction: column; gap: 8px; }
.nr-listrow {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--nr-surface); border: 1px solid var(--nr-line);
  border-radius: var(--nr-r); padding: 12px;
}
.nr-listrow-main { flex: 1; min-width: 0; }
.nr-listrow h3 { font-size: 1rem; line-height: 1.25; margin-top: 5px; }
.nr-listrow-note { font-size: .8rem; color: var(--nr-hot); margin-top: 5px; }
.nr-listrow-meta { font-size: .74rem; color: var(--nr-ink-2); margin-top: 5px; }
.nr-listrow-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nr-mini {
  border: 0; background: none; cursor: pointer;
  font-size: .76rem; font-weight: 600; color: var(--nr-brand);
  text-decoration: underline; text-underline-offset: 2px; padding: 0;
}
.nr-mini-danger { color: var(--nr-hot); }

.nr-status {
  display: inline-block; font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--nr-soft);
}
.nr-status-publish { background: #dcfce7; color: #14532d; }
.nr-status-pending { background: #fef3c7; color: #78350f; }
.nr-status-draft   { background: var(--nr-soft); color: var(--nr-ink-2); }
.nr-dark .nr-status-publish { background: rgba(20,83,45,.4); color: #86efac; }
.nr-dark .nr-status-pending { background: rgba(120,53,15,.4); color: #fcd34d; }

/* ---------- forms ---------- */
.nr-form, .nr-writer { display: flex; flex-direction: column; }
.nr-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--nr-ink-2);
  margin: 14px 0 5px;
}
.nr-input {
  width: 100%; font-family: inherit; font-size: .95rem; color: inherit;
  background: var(--nr-surface); border: 1px solid var(--nr-line);
  border-radius: 9px; padding: 9px 11px;
  transition: border-color .15s, box-shadow .15s;
}
.nr-input:focus {
  outline: none; border-color: var(--nr-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nr-brand) 15%, transparent);
}
.nr-textarea { resize: vertical; line-height: 1.5; }
.nr-input-big { font-family: var(--nr-display); font-size: 1.35rem; font-weight: 600; padding: 11px; }
.nr-point { margin-bottom: 6px; }
.nr-hint { font-size: .72rem; color: var(--nr-ink-2); margin-top: 4px; }
.nr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nr-row2 .nr-label { margin-top: 14px; }

.nr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--nr-brand); background: var(--nr-brand); color: #fff;
  border-radius: 999px; cursor: pointer;
  padding: 9px 20px; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; transition: opacity .15s, transform .06s;
}
.nr-btn:hover { opacity: .9; }
.nr-btn:active { transform: translateY(1px); }
.nr-btn[disabled] { opacity: .5; cursor: not-allowed; }
.nr-btn-quiet { background: transparent; color: inherit; border-color: var(--nr-line); }
.nr-btn-quiet:hover { background: var(--nr-soft); opacity: 1; }

.nr-actions { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.nr-autosave { font-size: .72rem; color: var(--nr-ink-2); }

.nr-cover { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.nr-cover img { height: 76px; width: auto; border-radius: 8px; }
.nr-filebtn {
  border: 1px dashed var(--nr-line); border-radius: 9px;
  padding: 9px 14px; font-size: .82rem; cursor: pointer;
  transition: background .15s;
}
.nr-filebtn:hover { background: var(--nr-soft); }

.nr-editorbox {
  border: 1px solid var(--nr-line); border-radius: 9px;
  background: var(--nr-surface); overflow: hidden;
}
.nr-toolbar {
  display: flex; align-items: center; gap: 2px; padding: 5px;
  border-bottom: 1px solid var(--nr-line); background: var(--nr-soft);
}
.nr-toolbar-spacer { flex: 1; }
.nr-tool {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 9px; border-radius: 6px; font-size: .85rem;
  transition: background .12s;
}
.nr-tool:hover { background: var(--nr-surface); }
.nr-wordcount { font-size: .72rem; color: var(--nr-ink-2); padding-right: 6px; }
.nr-editor { padding: 14px; min-height: 320px; outline: none; font-size: 1rem; line-height: 1.6; }
.nr-editor:empty::before { content: attr(data-placeholder); color: var(--nr-ink-2); }
.nr-editor p { margin-bottom: 13px; }
.nr-editor h2 { font-size: 1.3rem; margin: 18px 0 8px; }
.nr-editor blockquote { border-left: 3px solid var(--nr-hot); padding-left: 12px; margin: 14px 0; font-style: italic; }
.nr-editor img { border-radius: 8px; margin: 12px 0; }
.nr-editor ul, .nr-editor ol { margin: 0 0 13px 20px; }
.nr-editor li { list-style: disc; }

/* ---------- publish readiness ---------- */
.nr-score {
  margin-top: 16px; padding: 12px 14px;
  background: var(--nr-surface); border: 1px solid var(--nr-line);
  border-radius: var(--nr-r);
}
.nr-score-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--nr-ink-2);
}
.nr-score-head strong { font-size: 1.05rem; color: var(--nr-ink); letter-spacing: 0; }
.nr-score-bar { height: 4px; border-radius: 999px; background: var(--nr-soft); margin: 8px 0 10px; overflow: hidden; }
.nr-score-bar span { display: block; height: 100%; width: 0; background: var(--nr-brand); transition: width .3s; }
.nr-score-list li {
  font-size: .8rem; padding: 3px 0 3px 19px; position: relative;
  color: var(--nr-ink-2);
}
.nr-score-list li::before {
  content: '○'; position: absolute; left: 0; color: var(--nr-ink-2);
}
.nr-score-list li.is-done { color: var(--nr-ink); }
.nr-score-list li.is-done::before { content: '●'; color: var(--nr-brand); }

/* ---------- states ---------- */
.nr-empty, .nr-gate {
  text-align: center; padding: 40px 16px;
  border: 1px dashed var(--nr-line); border-radius: var(--nr-r);
}
.nr-empty h2, .nr-gate h2 { font-size: 1.3rem; margin-bottom: 6px; }
.nr-empty p, .nr-gate p { color: var(--nr-ink-2); font-size: .9rem; margin-bottom: 14px; }

.nr-note {
  padding: 10px 13px; border-radius: 9px; font-size: .86rem;
  background: var(--nr-soft); margin-bottom: 12px;
}
.nr-note-good { border-left: 3px solid #16a34a; }
.nr-note-bad { border-left: 3px solid var(--nr-hot); }

.nr-searchform { display: flex; gap: 8px; margin-bottom: 16px; }
.nr-searchform input { flex: 1; }

.nr-profilehead { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--nr-line); }
.nr-profilehead img { border-radius: 999px; }
.nr-profilename { font-family: var(--nr-display); font-size: 1.25rem; font-weight: 600; }

/* WordPress login form, restyled */
.nr-root #nr-loginform p { margin-bottom: 10px; }
.nr-root #nr-loginform label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nr-ink-2); margin-bottom: 5px; }
.nr-root #nr-loginform input[type=text],
.nr-root #nr-loginform input[type=password] {
  width: 100%; font-size: .95rem; padding: 9px 11px;
  border: 1px solid var(--nr-line); border-radius: 9px;
  background: var(--nr-surface); color: inherit;
}
.nr-root #nr-loginform input[type=submit] {
  width: 100%; border: 0; background: var(--nr-brand); color: #fff;
  border-radius: 999px; padding: 10px; font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; cursor: pointer;
}

/* ---------- toasts ---------- */
.nr-toasts {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 6px;
  width: min(400px, calc(100vw - 24px));
}
.nr-toast {
  padding: 10px 14px; border-radius: 10px; font-size: .86rem; font-weight: 500;
  background: var(--nr-ink); color: var(--nr-bg);
  box-shadow: 0 8px 26px rgba(0,0,0,.2);
  animation: nr-pop .22s cubic-bezier(.2,.9,.3,1);
}
@keyframes nr-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Mobile — tighter, card-based, app-like
   ========================================================================== */

@media (max-width: 1000px) {
  .nr-top { grid-template-columns: 1fr; gap: 18px; }
  .nr-rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--nr-line); padding-top: 12px; }
  .nr-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nr-picks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nr-root {
    --nr-pad: 10px;
    --nr-gap: 10px;
    --nr-r: 10px;
    line-height: 1.4;
  }

  .nr-shell { padding: 10px 12px; }
  .nr-pagehead { padding: 2px 0 10px; }

  .nr-grid-3, .nr-grid-4, .nr-picks { grid-template-columns: 1fr; }

  /* Cards become compact list rows — thumbnail left, headline right. */
  .nr-grid .nr-card-link {
    display: grid;
    grid-template-columns: 106px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--nr-line);
  }
  .nr-grid .nr-card-media { aspect-ratio: 1 / 1; }
  .nr-grid .nr-card-text { padding-top: 0; }
  .nr-grid .nr-card-title { font-size: .95rem; line-height: 1.28; }
  .nr-grid .nr-card-stand { display: none; }
  .nr-grid .nr-card-meta { margin-top: 4px; font-size: .7rem; }

  /* The lead story keeps its full-bleed treatment. */
  .nr-card-lead .nr-card-link { display: block; padding: 0; border-bottom: 0; }
  .nr-card-lead .nr-card-media { aspect-ratio: 4 / 3; }
  .nr-card-lead .nr-card-title { font-size: 1.4rem; }
  .nr-card-lead .nr-card-stand { display: -webkit-box; }

  .nr-strip { padding: 10px 0 0; }
  .nr-strip-head { padding-bottom: 7px; margin-bottom: 6px; }
  .nr-strip-title { font-size: 1.05rem; }

  .nr-headline { font-size: 1.65rem; }
  .nr-standfirst { font-size: .96rem; }
  .nr-body { font-size: 1.02rem; line-height: 1.55; }
  .nr-body p { margin-bottom: 13px; }
  .nr-body h2 { font-size: 1.24rem; margin: 20px 0 8px; }
  .nr-body blockquote { font-size: 1.1rem; }

  .nr-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nr-row2 { grid-template-columns: 1fr; gap: 0; }

  .nr-listrow { flex-direction: column; gap: 8px; }
  .nr-listrow-actions { width: 100%; }

  .nr-share { gap: 5px; }
  .nr-share-btn { padding: 7px 12px; font-size: .72rem; flex: 1; text-align: center; }

  .nr-next { left: 12px; right: 12px; max-width: none; bottom: 10px; }

  .nr-editor { min-height: 260px; padding: 12px; }
  .nr-toolbar { overflow-x: auto; }

  .nr-authorbox { padding: 12px; }
  .nr-map { height: 200px; }
}

@media (max-width: 380px) {
  .nr-grid .nr-card-link { grid-template-columns: 88px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .nr-root *, .nr-root *::before, .nr-root *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .nr-share, .nr-next, .nr-savebtn, .nr-ticker, .nr-related, .nr-progress { display: none !important; }
}
