/* PressRoom design system v3
   Crisp white + ink with one vivid brand red, a colour accent per section (--kc), sans display type
   (Inter Tight) and a serif reading face (Newsreader) for story text only.
   Breakpoints: phone < 640 · tablet 640–1023 · laptop ≥ 1024 · wide ≥ 1280 */
:root {
  --paper: #ffffff;
  --soft: #f5f5f7;
  --surface: #ffffff;
  --ink: #0b0b0d;
  --ink-2: #3c3c43;
  --muted: #6e6e73;
  --rule: #e6e6eb;
  --rule-strong: #0b0b0d;
  --red: #e10600;
  --red-ink: #b30500;
  --red-soft: #fdeceb;
  --chip: #f2f2f5;
  --night: #0b0b0d;
  --night-2: #161618;
  --night-ink: #f5f5f7;
  --night-muted: #a1a1a6;
  --night-rule: #2c2c2e;
  --good: #1f8a4c;
  --up: #12a150;
  --down: #e10600;
  --img: linear-gradient(135deg, #ececf0, #dedee4);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.08);
  --shadow-up: 0 -1px 0 var(--rule), 0 -8px 24px rgba(0,0,0,.06);
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1260px;
  --gutter: 16px;
  --radius: 14px;
  --radius-lg: 20px;
  --tabbar-h: 64px;
  --hdr-h: 56px;
  --fs-prose: 19px;
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 24px; --fs-prose: 20px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --fs-prose: 21px; --tabbar-h: 0px; } }
:root[data-ts="1"] { --fs-prose: 17px; }
:root[data-ts="3"] { --fs-prose: 23px; }
:root[data-ts="4"] { --fs-prose: 26px; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0b0d; --soft: #141416; --surface: #161618; --ink: #f5f5f7; --ink-2: #d1d1d6; --muted: #98989d;
    --rule: #2a2a2d; --rule-strong: #f5f5f7; --red: #ff3b30; --red-ink: #ff6961; --red-soft: #2b1312; --chip: #1f1f22;
    --night: #000; --night-2: #111113; --img: linear-gradient(135deg, #222226, #1a1a1d); --up: #30d158; --down: #ff453a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.5); --shadow-up: 0 -1px 0 var(--rule), 0 -8px 24px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b0b0d; --soft: #141416; --surface: #161618; --ink: #f5f5f7; --ink-2: #d1d1d6; --muted: #98989d;
  --rule: #2a2a2d; --rule-strong: #f5f5f7; --red: #ff3b30; --red-ink: #ff6961; --red-soft: #2b1312; --chip: #1f1f22;
  --night: #000; --night-2: #111113; --img: linear-gradient(135deg, #222226, #1a1a1d); --up: #30d158; --down: #ff453a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.5); --shadow-up: 0 -1px 0 var(--rule), 0 -8px 24px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
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(--red); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- atoms */
.logo { font-family: var(--sans); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.055em; color: var(--ink); white-space: nowrap; }
.logo b { color: var(--red); font-weight: 800; }
.logo--xl { font-size: 60px; letter-spacing: -.06em; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--kc, var(--red)); line-height: 1.2; }
a.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.kicker--pill { background: var(--kc, var(--red)); color: #fff; padding: 5px 9px; border-radius: 6px; align-self: flex-start; letter-spacing: .08em; }
.kicker--sponsored { background: #ffd60a; color: #1a1400; padding: 3px 7px; border-radius: 5px; letter-spacing: .06em; }
.meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }
.meta a { text-decoration: underline; text-underline-offset: 2px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(225,6,0,.5); animation: pulse 2s infinite; flex: none; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,6,0,.55); } 70% { box-shadow: 0 0 0 8px rgba(225,6,0,0); } 100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; letter-spacing: -.01em; transition: transform .15s, background .15s, color .15s; border: 0; cursor: pointer; }
.btn:hover { background: var(--red); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 600; color: var(--ink-2); border: 1px solid transparent; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--kc, var(--red)); }
.pill:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.pill small { color: var(--muted); font-weight: 500; }
.pill[aria-current="page"], .pill.is-active { background: var(--ink); color: var(--paper); }
.pill[aria-current="page"] small, .pill.is-active small { color: var(--paper); opacity: .7; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; min-height: 40px; }
.more-link:hover { color: var(--kc, var(--red)); }
.more-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.more-link:hover .icon { transform: translateX(3px); }
.title-link { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s cubic-bezier(.2,.7,.2,1); }
a:hover .title-link, .title-link:hover { background-size: 100% 2px; }

/* ---------------------------------------------------------------- top bar: live clock + markets */
.topbar { background: var(--night); color: var(--night-ink); font-size: 12.5px; position: relative; z-index: 51; }
.topbar__in { display: flex; align-items: center; gap: 14px; height: 36px; }
.topbar__clock { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.topbar__clock .live-dot { background: #ff3b30; }
.topbar__clock .ck-d { color: var(--night-muted); font-weight: 500; }
.ticker { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--night-rule); height: 20px; }
.ticker__label { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.ticker__label .st { padding: 2px 6px; border-radius: 4px; background: #2c2c2e; color: #fff; letter-spacing: .06em; }
.ticker__label .st.is-open { background: rgba(48,209,88,.18); color: #30d158; }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker__track { display: inline-flex; white-space: nowrap; will-change: transform; animation: tick var(--dur, 60s) linear infinite; }
.ticker__track > span { display: inline-flex; gap: 26px; padding-right: 26px; }
.ticker__view:hover .ticker__track, .ticker__view:focus-within .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk { display: inline-flex; gap: 7px; align-items: baseline; font-variant-numeric: tabular-nums; }
.tk__k { font-weight: 700; color: #fff; letter-spacing: .02em; }
.tk__p { color: #e5e5ea; }
.tk__c { font-weight: 600; }
.tk__c.up { color: #30d158; }
.tk__c.down { color: #ff453a; }
.topbar__links { flex: none; display: none; align-items: center; gap: 16px; font-weight: 600; color: var(--night-muted); }
.topbar__links a:hover { color: #fff; }
.topbar .theme-toggle { width: 30px; height: 30px; color: var(--night-muted); }
.topbar .theme-toggle:hover { background: #2c2c2e; color: #fff; }
.topbar .theme-toggle .icon { width: 16px; height: 16px; }
@media (max-width: 639px) { .topbar__clock .ck-d, .topbar__clock .ck-z { display: none; } .topbar__in { gap: 10px; height: 34px; } .ticker { padding-left: 10px; } }
@media (min-width: 1024px) { .topbar__links { display: flex; } }

/* ---------------------------------------------------------------- masthead (home & sections, desktop) */
.masthead { display: none; }
@media (min-width: 1024px) {
  .masthead { display: block; background: var(--paper); }
  .masthead__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 26px; padding-bottom: 20px; }
  .masthead__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .masthead__tag { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
  .masthead__side { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 600; }
  .masthead__side a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
  .masthead__side a:hover { color: var(--red); }
  .masthead__side .icon { width: 15px; height: 15px; }
  .masthead__ed { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
  .masthead__side--end { align-items: flex-end; }
  .masthead__search { display: flex; align-items: center; gap: 8px; height: 42px; width: 280px; padding: 0 16px; border-radius: 999px; background: var(--chip); color: var(--muted); border: 1px solid transparent; transition: border-color .15s, background .15s; }
  .masthead__search:focus-within { border-color: var(--ink); background: var(--surface); }
  .masthead__search .icon { width: 18px; height: 18px; }
  .masthead__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 14.5px var(--sans); color: var(--ink); outline: none; }
}

/* ---------------------------------------------------------------- sticky header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--rule); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo end" "chips chips"; align-items: center; column-gap: 8px; }
.hdr__bar .hdr__menu { grid-area: menu; display: none; }
.hdr__logo { grid-area: logo; justify-self: start; display: inline-flex; align-items: center; height: var(--hdr-h); font-size: 27px; }
.hdr__end { grid-area: end; display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.hdr__saved { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); transition: background .15s, color .15s; position: relative; }
.icon-btn:hover { background: var(--chip); color: var(--ink); }
.icon-btn .badge { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); transition: color .15s, background .15s; }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.chips { grid-area: chips; position: relative; min-width: 0; margin: 0 calc(var(--gutter) * -1); }
.chips__list { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 0 var(--gutter) 8px; scroll-snap-type: x proximity; }
.chips__list::-webkit-scrollbar { display: none; }
.chips__list a { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; scroll-snap-align: start; transition: background .15s, color .15s; letter-spacing: -.01em; }
.chips__list a:hover { background: var(--chip); color: var(--ink); }
.chips__list a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.chips::after { content: ""; position: absolute; right: 0; top: 0; bottom: 8px; width: 44px; background: linear-gradient(90deg, transparent, var(--paper)); pointer-events: none; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
@media (min-width: 1024px) {
  .hdr.is-hidden { transform: none; }
  .hdr__bar { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "menu logo chips end"; height: 58px; column-gap: 6px; }
  .hdr__bar .hdr__menu { display: inline-grid; margin-left: -10px; }
  .hdr__logo { font-size: 24px; height: auto; margin-right: 10px; transition: opacity .25s, max-width .3s; max-width: 200px; overflow: hidden; }
  .has-masthead .hdr:not(.is-compact) .hdr__logo { opacity: 0; max-width: 0; margin: 0; pointer-events: none; }
  .hdr__saved { display: inline-grid; }
  .chips { margin: 0; }
  .chips__list { padding: 0; justify-content: center; }
  .chips__list a { min-height: 34px; padding: 0 11px; font-size: 14px; }
  .chips__list a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--kc, var(--red)); border-radius: 0; }
  .chips__list a:hover { background: transparent; color: var(--kc, var(--red)); }
  .chips::after { display: none; }
}

/* ---------------------------------------------------------------- bottom tab bar & story action bar (phones/tablets) */
.tabbar, .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: var(--shadow-up); padding-bottom: env(safe-area-inset-bottom, 0px); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.tabbar__list { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0 auto; padding: 0; max-width: 640px; height: 64px; }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; font-size: 11px; font-weight: 650; color: var(--muted); position: relative; width: 100%; }
.tabbar .icon { width: 23px; height: 23px; }
.tabbar [aria-current="page"] { color: var(--ink); }
.tabbar [aria-current="page"] .icon { stroke-width: 2.3; }
.tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 32%; right: 32%; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
.actionbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 64px; padding-inline: 10px; }
.actionbar.is-hidden, .tabbar.is-hidden { transform: translateY(110%); }
.actionbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 56px; height: 52px; border-radius: 12px; font-size: 10.5px; font-weight: 650; color: var(--ink-2); }
.actionbar__btn .icon { width: 22px; height: 22px; }
.actionbar__btn[aria-pressed="true"] { color: var(--red); }
.actionbar__btn[aria-pressed="true"] .icon { fill: currentColor; }
.actionbar__share { flex: 1; max-width: 190px; height: 46px; flex-direction: row; gap: 8px; border-radius: 999px; background: #25d366; color: #0b2e17; font-size: 15px; font-weight: 700; }
.actionbar__share .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) { .tabbar, .actionbar { display: none; } }

/* ---------------------------------------------------------------- sheets (menu, text size) */
.sheet { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; background: var(--paper); border-radius: 22px 22px 0 0; padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { width: 40px; height: 5px; border-radius: 3px; background: var(--rule); margin: 6px auto 14px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.sheet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sheet__grid a { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 14px; background: var(--soft); font-weight: 650; font-size: 15px; transition: background .15s; }
.sheet__grid a i { width: 10px; height: 10px; border-radius: 3px; background: var(--kc, var(--red)); flex: none; }
.sheet__grid a:hover { background: var(--chip); }
.sheet__links { display: grid; gap: 2px; }
.sheet__links a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 1px solid var(--rule); font-size: 16px; font-weight: 500; }
.sheet__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-bottom: 1px solid var(--rule); font-weight: 650; }
.seg { display: inline-flex; background: var(--chip); border-radius: 999px; padding: 3px; }
.seg button { min-width: 48px; height: 38px; padding: 0 12px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.seg button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.sheet .social { display: flex; gap: 6px; margin-top: 16px; }
.sheet form { display: flex; gap: 8px; border-radius: 999px; padding: 4px 4px 4px 16px; align-items: center; background: var(--soft); }
.sheet form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; padding: 10px 0; }
.sheet form button { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
@media (min-width: 1024px) {
  .sheet__panel { left: 0; right: auto; top: 0; bottom: 0; width: 400px; max-height: none; border-radius: 0; transform: translateX(-100%); }
  .sheet#sheet-textsize .sheet__panel { left: auto; right: 0; transform: translateX(100%); }
  .sheet.is-open .sheet__panel { transform: none; }
  .sheet__grip { display: none; }
}
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); transition: color .15s, background .15s; }
.social a:hover { color: var(--ink); background: var(--chip); }
.social .icon { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600; z-index: 90; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { text-decoration: underline; margin-left: 8px; font-weight: 800; }

/* ---------------------------------------------------------------- media & cards */
.media { position: relative; overflow: hidden; background: var(--img); aspect-ratio: 16 / 9; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
@media (hover: hover) { a:hover > .media img, .card:hover .media img { transform: scale(1.035); } }
.media--none { display: grid; place-items: center; }
.media--none span { font-family: var(--sans); font-size: 22px; font-weight: 800; color: var(--muted); letter-spacing: -.05em; }
.media--none span b { color: var(--red); font-weight: 800; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__title { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.022em; text-wrap: pretty; color: var(--ink); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole card is the tap target */
.card .kicker, .card .meta a, .card .save-btn { position: relative; z-index: 2; }
.card__dek { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.card--lead .card__title { font-size: clamp(26px, 6.4vw, 42px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
.card--lead .card__dek { font-size: 17px; -webkit-line-clamp: 3; }
.card--sm .card__title { font-size: 17px; line-height: 1.24; }
/* row: headline left (scan line), thumbnail right */
.card--row { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: start; }
.card--row .media { aspect-ratio: 1; border-radius: 12px; order: 2; }
.card--row .card__title { font-size: 16.5px; line-height: 1.26; font-weight: 650; }
.card--row .card__body { order: 1; }
@media (min-width: 640px) { .card--row { grid-template-columns: minmax(0, 1fr) 128px; } .card--row .media { aspect-ratio: 4 / 3; } }

/* hero: headline over the photo */
.card--hero .hero-link { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: #111; color: #fff; isolation: isolate; }
.card--hero .media { aspect-ratio: 4 / 3.3; border-radius: 0; }
.card--hero .media img { opacity: .97; }
.hero__ov { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 96px 18px 18px; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.25) 75%, rgba(0,0,0,0) 100%); }
.card--hero .card__title { color: #fff; font-size: clamp(25px, 6.6vw, 46px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.card--hero .card__dek { display: none; color: rgba(255,255,255,.85); font-size: 16.5px; -webkit-line-clamp: 2; }
.card--hero .meta { color: rgba(255,255,255,.72); }
.card--hero .hero-link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 639px) { .card--hero { margin: 0 calc(var(--gutter) * -1); } .card--hero .hero-link { border-radius: 0; } }
.card--hero .card__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .card--hero .media { aspect-ratio: 4 / 3; } .hero__ov { padding: 120px 26px 24px; } .card--hero .card__title { font-size: clamp(26px, 3.6vw, 34px); } .card--hero .card__dek { display: -webkit-box; font-size: 15.5px; } }
@media (min-width: 1024px) { .card--hero .media { aspect-ratio: 16 / 11; } .card--hero .card__title { font-size: clamp(30px, 2.7vw, 38px); -webkit-line-clamp: 3; } .hero__ov { padding: 140px 30px 26px; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 32px 0 4px; }
.section__head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.section__head::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 4px; background: var(--kc, var(--red)); border-radius: 0 0 2px 2px; }
.section__title { margin: 0; font-family: var(--sans); font-size: 25px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.section__sub { margin: -8px 0 14px; color: var(--muted); font-size: 14px; }
.rail-more { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 16px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 15px; color: var(--ink); }
.rail-more:hover { background: var(--chip); color: var(--kc, var(--red)); }
.rail-more .icon { width: 16px; height: 16px; }
@media (min-width: 1024px) { .section { padding-top: 48px; } .section__title { font-size: 30px; } .rail-more { display: none; } }

/* ---------------------------------------------------------------- home: top package */
.front { padding-top: 12px; }
.top { display: grid; gap: 22px; }
.top__side { display: grid; gap: 16px; }
.top__rail { display: none; }
.top__side .card .card__dek { display: none; }
@media (max-width: 639px) {
  .top__side .card { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: start; padding-top: 16px; border-top: 1px solid var(--rule); }
  .top__side .card:first-child { border-top: 0; padding-top: 0; }
  .top__side .card .media { aspect-ratio: 1; border-radius: 12px; order: 2; }
  .top__side .card .card__body { order: 1; }
  .top__side .card .card__title { font-size: 17px; line-height: 1.25; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .top { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
}
@media (min-width: 1024px) {
  .front { padding-top: 28px; }
  .top { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
  .top__side { gap: 26px; }
  .top__side .card + .card { padding-top: 24px; border-top: 1px solid var(--rule); }
  .top__side .card .card__title { font-size: 20px; }
  .top__side .card .card__dek { display: -webkit-box; }
  .top__rail { display: flex; flex-direction: column; gap: 24px; }
}
.panel { padding: 18px; border-radius: var(--radius-lg); background: var(--soft); }
.panel .more-link { margin-top: 4px; }
.panel-title { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; color: var(--ink); }

/* latest timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline time { font-size: 12px; font-weight: 700; color: var(--red); line-height: 1.55; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.timeline a { font-weight: 650; font-size: 15px; line-height: 1.3; letter-spacing: -.012em; }
.timeline a::after { content: ""; position: absolute; inset: 0; }
.timeline a:hover { color: var(--red); }
.justin-home { display: block; }
.justin-home .section__title .live-dot { width: 9px; height: 9px; }
@media (min-width: 1024px) { .justin-home { display: none; } }

/* briefing */
.brief { background: var(--night); color: var(--night-ink); border-radius: var(--radius-lg); padding: 22px 20px 8px; }
.brief__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.brief__head .kicker { color: #ff453a; }
.brief__head h2 { margin: 4px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.brief__head > span { font-size: 12.5px; color: var(--night-muted); font-weight: 600; white-space: nowrap; }
.brief ol { list-style: none; counter-reset: b; margin: 0; padding: 0; }
.brief li { counter-increment: b; position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 15px 0; border-top: 1px solid var(--night-rule); }
.brief li:first-child { border-top: 0; }
.brief li::before { content: counter(b); font-size: 26px; font-weight: 800; line-height: 1; color: #ff453a; letter-spacing: -.04em; }
.brief a { font-weight: 700; font-size: 17px; line-height: 1.26; letter-spacing: -.018em; display: block; }
.brief a::after { content: ""; position: absolute; inset: 0; }
.brief a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brief p { margin: 5px 0 0; font-size: 14px; color: var(--night-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brief li.is-read a { color: var(--night-muted); }
.brief li.is-read::before { color: #48484a; }
.brief__done { display: flex; align-items: center; gap: 10px; padding: 14px 0 16px; border-top: 1px solid var(--night-rule); font-weight: 650; font-size: 14.5px; color: #30d158; }
.brief__done .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) { .brief { padding: 28px 32px 10px; } .brief ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; } .brief li { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--night-rule); padding: 8px 0 20px 18px; } .brief li:first-child { border-left: 0; padding-left: 0; } .brief__head h2 { font-size: 28px; } }

/* carousel (phones) → grid (tablet+) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 26px; } }
@media (min-width: 1024px) { .rail--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }

.grid-cards { display: grid; gap: 22px; }
.grid-cards > .card--row { padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
@media (max-width: 639px) { .grid-cards > .card--md .card__dek { display: none; } }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 26px; } .grid-cards > .card--row { padding: 0; border: 0; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; } }

/* section block: picture story + headlines */
.block { display: grid; gap: 18px; }
.block__list { display: grid; gap: 16px; align-content: start; }
.block__list .card--row { padding-top: 16px; border-top: 1px solid var(--rule); }
.block__list .card--row:first-child { padding-top: 0; border-top: 0; }
.block > .card--md .card__title { font-size: 22px; letter-spacing: -.028em; line-height: 1.15; }
@media (min-width: 640px) { .block { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; } }
@media (min-width: 1024px) { .block > .card--md .card__title { font-size: 27px; font-weight: 800; } }

/* ranked */
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; display: grid; gap: 0 36px; }
.ranked li { counter-increment: rank; position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--rule); }
.ranked li:first-child { border-top: 0; }
.ranked li::before { content: counter(rank); font-size: 36px; font-weight: 800; line-height: .9; color: var(--rule); letter-spacing: -.06em; -webkit-text-stroke: 1.5px var(--kc, var(--red)); color: transparent; }
.ranked a.ranked__t { font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; display: block; margin: 4px 0 6px; }
.ranked a.ranked__t::after { content: ""; position: absolute; inset: 0; }
.ranked a.ranked__t:hover { color: var(--red); }
.ranked .kicker { position: relative; z-index: 2; }
@media (min-width: 640px) { .ranked { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ranked li:nth-child(2) { border-top: 0; } }
@media (min-width: 1024px) { .ranked { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ranked li:nth-child(3) { border-top: 0; } .ranked li::before { font-size: 44px; } }

/* personal rails (filled by app.js) */
.personal:empty { display: none; }
.continue { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; }
.continue::-webkit-scrollbar { display: none; }
.continue a { position: relative; scroll-snap-align: start; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 10px 14px; border-radius: 16px; background: var(--soft); }
.continue img, .continue .ph { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--img); }
.continue strong { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.continue small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.continue .bar { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--chip); overflow: hidden; }
.continue .bar i { display: block; height: 100%; background: var(--red); }
@media (min-width: 640px) { .continue { grid-auto-columns: 340px; } }

/* spotlight band */
.band { background: var(--night); color: var(--night-ink); margin-top: 48px; padding: 8px 0 44px; }
.band .section__head { border-top-color: var(--night-rule); }
.band .section__title, .band .card__title { color: var(--night-ink); }
.band .more-link, .band .meta { color: var(--night-muted); }
.band .more-link:hover { color: #fff; }
.band .card__dek { color: var(--night-muted); }
.band .kicker { filter: brightness(1.35) saturate(1.1); }
.band .media { background: #1c1c1e; }
.band .rail-more { background: var(--night-2); color: var(--night-ink); }

/* follow / newsletter */
.follow { margin: 48px 0 0; background: linear-gradient(135deg, var(--soft), var(--chip)); border-radius: 24px; padding: 26px 22px; display: grid; gap: 22px; position: relative; overflow: hidden; }
.follow h2 { margin: 6px 0 8px; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.follow p { margin: 0; color: var(--ink-2); font-size: 16px; }
.follow__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.follow__links a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 14px; border-radius: 14px; background: var(--surface); font-weight: 700; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; }
.follow__links a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.follow__links small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
@media (min-width: 1024px) { .follow { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 48px; } }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.nl-form input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.nl-form input:focus { border-color: var(--red); }
.nl-card { margin-top: 32px; padding: 26px; border-radius: 20px; background: var(--night); color: var(--night-ink); }
.nl-card h2 { margin: 6px 0; font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.nl-card p { margin: 0; color: var(--night-muted); }
.nl-card .kicker { color: #ff453a; }
.nl-card .nl-form input, .nl-footer input { background: #1c1c1e; border-color: #2c2c2e; color: #fff; }
.nl-card .btn, .nl-footer .btn { background: var(--red); color: #fff; }
.nl-footer { margin: 18px 0 0; }
.nl-footer h4 { margin: 0 0 4px; }
.form-status { margin: 8px 0 0; font-size: 13.5px; width: 100%; }
.form-status.is-ok { color: var(--good); }
.form-status.is-err { color: var(--red); }
.pills--topics .pill { background: var(--soft); }

/* ---------------------------------------------------------------- advertising (filled by assets/ads.js) */
.ad-slot { display: none; }
.ad-slot.is-filled { display: flex; flex-direction: column; align-items: center; margin: 32px auto 8px; width: 100%; }
@media (max-width: 1023px) { .ad-slot--desk.is-filled { display: none; } }
@media (min-width: 1024px) { .ad-slot--mob.is-filled { display: none; } }
.ad-top .ad-slot.is-filled { margin: 18px auto 4px; }
.ad-label { display: block; margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ad-box { position: relative; display: block; max-width: 100%; line-height: 0; }
.ad-box img { margin: 0 auto; border-radius: 6px; max-width: 100%; height: auto; }
.ad-box iframe { border: 0; max-width: 100%; }
.ad-slot--billboard .ad-box { width: 970px; } .ad-slot--leaderboard .ad-box { width: 728px; }
.ad-slot--mpu .ad-box, .ad-slot--incontent .ad-box { width: 300px; } .ad-slot--halfpage .ad-box { width: 300px; }
.top__rail .ad-slot.is-filled, .article-aside .ad-slot.is-filled { margin: 0; }
.prose .ad-slot.is-filled { margin: 1.8em auto; font-family: var(--sans); padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.grid-cards > .ad-slot.is-filled { margin: 0; align-items: stretch; }
/* house ads: shown in empty slots so advertisers can see the inventory */
.ad-house { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; width: 100%; padding: 22px 24px; border-radius: 14px; background: radial-gradient(120% 140% at 100% 0%, #3a0a08 0%, #0b0b0d 55%); color: #f5f5f7; text-align: left; line-height: 1.3; overflow: hidden; position: relative; }
.ad-house::after { content: "PR"; position: absolute; right: -8px; bottom: -34px; font: 800 140px/1 var(--sans); letter-spacing: -.08em; color: rgba(255,255,255,.04); pointer-events: none; }
.ad-house small { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff453a; }
.ad-house strong { font-size: 19px; font-weight: 800; letter-spacing: -.025em; max-width: 520px; }
.ad-house span { font-size: 13.5px; color: #a1a1a6; max-width: 520px; }
.ad-house em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #0b0b0d; font-size: 13px; font-weight: 800; margin-top: 4px; }
.ad-house:hover em { background: #ff3b30; color: #fff; }
.ad-house--billboard { min-height: 160px; } .ad-house--leaderboard { min-height: 90px; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 22px; }
.ad-house--leaderboard span, .ad-house--leaderboard small { display: none; } .ad-house--leaderboard strong { font-size: 17px; }
.ad-house--mpu, .ad-house--incontent { width: 300px; height: 250px; } .ad-house--halfpage { width: 300px; height: 600px; justify-content: flex-end; }
.ad-house--halfpage strong { font-size: 26px; }
@media (min-width: 1024px) { .ad-house--billboard { min-height: 110px; padding: 20px 32px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 28px; align-items: center; } .ad-house--billboard strong { font-size: 24px; } .ad-house--billboard small { grid-row: 1 / 3; writing-mode: vertical-rl; transform: rotate(180deg); } .ad-house--billboard span { grid-column: 2; } .ad-house--billboard em { grid-column: 3; grid-row: 1 / 3; } }
@media (max-width: 639px) { .ad-house--billboard { min-height: 120px; padding: 16px 18px; } .ad-house--billboard strong { font-size: 17px; } .ad-house--billboard span { display: none; } .ad-house--leaderboard { min-height: 60px; } .ad-house--leaderboard strong { font-size: 14.5px; } }
/* native / sponsored card */
.ad-native { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; padding: 12px; border-radius: 18px; background: color-mix(in srgb, #ffd60a 10%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #ffd60a 45%, var(--rule)); line-height: 1.4; }
.ad-native .media { border-radius: 12px; }
.ad-native .kicker { color: #8a6d00; }
:root[data-theme="dark"] .ad-native .kicker { color: #ffd60a; }
.ad-native h3 { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -.02em; line-height: 1.22; }
.ad-native p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.ad-native .ad-cta { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ad-native a::after { content: ""; position: absolute; inset: 0; }
/* sticky anchor */
.ad-anchor { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); z-index: 54; display: flex; justify-content: center; padding: 6px 0; background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: var(--shadow-up); transition: transform .3s; }
.ad-anchor .ad-box img { max-height: 50px; width: auto; }
.ad-anchor__x { position: absolute; top: -26px; right: 8px; width: 28px; height: 26px; border-radius: 8px 8px 0 0; background: var(--surface); box-shadow: 0 -2px 6px rgba(0,0,0,.08); display: grid; place-items: center; font-size: 16px; color: var(--muted); }
@media (min-width: 1024px) { .ad-anchor { bottom: 0; } .ad-anchor .ad-box img { max-height: 90px; } }
/* site skin (wallpaper) */
@media (min-width: 1360px) {
  body.has-skin { background-position: center 36px; background-repeat: no-repeat; background-attachment: fixed; }
  body.has-skin .masthead, body.has-skin .hdr, body.has-skin .ad-top, body.has-skin #main, body.has-skin .footer { max-width: var(--wrap); margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
  body.has-skin #main, body.has-skin .ad-top, body.has-skin .masthead { background: var(--paper); }
  body.has-skin #main { padding-bottom: 32px; }
  .ad-skin-link { position: fixed; inset: 0; z-index: 0; display: block; }
}
/* welcome screen */
.ad-inter { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadein .25s; }
@keyframes fadein { from { opacity: 0; } }
.ad-inter__box { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.ad-inter__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #e5e5ea; font-size: 13px; }
.ad-inter__bar .logo { color: #fff; font-size: 20px; }
.ad-inter__bar button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0b0b0d; font-weight: 800; font-size: 13.5px; }
.ad-inter .ad-box img { max-height: 76vh; width: auto; border-radius: 10px; }

/* ---------------------------------------------------------------- archive pages */
.page-head { position: relative; padding: 26px 0 20px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.page-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 4px; background: var(--kc, var(--red)); border-radius: 2px 2px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; font-weight: 500; }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--red); }
.page-title { margin: 0; font-family: var(--sans); font-weight: 800; font-size: clamp(36px, 9vw, 72px); letter-spacing: -.05em; line-height: .98; }
.page-sub { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; max-width: 680px; }
.page-head .pills { margin-top: 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.page-head .pills::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .page-head { padding: 44px 0 28px; margin-bottom: 36px; } .page-head .pills { flex-wrap: wrap; } }
.archive-lead { display: grid; gap: 16px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.archive-lead .card__title { font-size: clamp(25px, 5vw, 42px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.archive-lead .card__dek { font-size: 17px; -webkit-line-clamp: 3; }
@media (min-width: 1024px) { .archive-lead { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: center; } }
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 32px 0 8px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--soft); }
.pager a:hover { background: var(--chip); }
.pager .is-current { background: var(--ink); color: var(--paper); }
.pager .gap { background: none; min-width: 20px; color: var(--muted); }
.loadmore { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.loadmore .btn { min-width: 240px; }
.loadmore small { color: var(--muted); font-size: 13px; }
.js .pager.is-enhanced { display: none; }

/* ---------------------------------------------------------------- article */
.article-head { max-width: 820px; margin: 0 auto; padding: 18px 0 18px; }
.headline { margin: 8px 0 0; font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 7.6vw, 58px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.standfirst { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(19px, 4.6vw, 23px); line-height: 1.42; color: var(--ink-2); font-variation-settings: "opsz" 24; text-wrap: pretty; }
.byline { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.byline__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; letter-spacing: -.05em; flex: none; }
a.avatar { color: var(--paper); }
.avatar b { color: var(--red); }
.avatar--lg { width: 76px; height: 76px; font-size: 27px; }
.byline__name { font-weight: 750; font-size: 15px; }
.byline__name a:hover { color: var(--red); }
.share { display: none; gap: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--ink-2); transition: color .15s, background .15s; position: relative; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); }
.share .icon { width: 17px; height: 17px; }
@media (min-width: 1024px) { .share { display: flex; } .article-head { padding-top: 40px; } }
.hero { max-width: 1100px; margin: 0 auto; }
.hero .media { aspect-ratio: auto; border-radius: var(--radius-lg); }
.hero img { width: 100%; max-height: 660px; object-fit: cover; }
.hero figcaption { font-size: 12.5px; color: var(--muted); padding: 8px var(--gutter) 0; }
@media (max-width: 639px) { .hero.wrap { padding: 0; } .hero .media { border-radius: 0; } }
@media (min-width: 640px) { .hero figcaption { padding-inline: 2px; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 26px; max-width: 700px; margin: 0 auto; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 680px) 300px; justify-content: center; max-width: none; gap: 72px; padding-top: 40px; } }
.article-aside { display: none; }
@media (min-width: 1024px) { .article-aside { display: flex; flex-direction: column; gap: 32px; } }
.aside-sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 24px; }
.aside-box .panel-title { border-top: 1px solid var(--rule); padding-top: 14px; position: relative; }
.aside-box .panel-title::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 3px; background: var(--red); }
.aside-box .card--row { grid-template-columns: minmax(0, 1fr) 76px; }
.aside-box .card--row .media { aspect-ratio: 1; }
.aside-box .card--row .card__title { font-size: 14.5px; }
.aside-box .stack { display: grid; gap: 14px; }
.aside-box .stack > .card + .card { padding-top: 14px; border-top: 1px solid var(--rule); }
.aside-box .ranked { grid-template-columns: 1fr; }
.aside-box .ranked li { border-top: 1px solid var(--rule) !important; }
.aside-box .ranked li:first-child { border-top: 0 !important; }
.aside-box .ranked a.ranked__t { font-size: 15px; }
.aside-box .ranked li::before { font-size: 30px; }

.takeaways { margin: 0 0 30px; padding: 20px 22px; background: var(--soft); border-radius: 18px; position: relative; }
.takeaways::before { content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 4px; background: var(--red); border-radius: 0 0 3px 3px; }
.takeaways h2, .faq h2, .sources h2 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-family: var(--sans); }
.takeaways ul { margin: 0; padding-left: 1.1em; display: grid; gap: 9px; font-size: 16.5px; line-height: 1.45; font-weight: 500; }
.takeaways li::marker { color: var(--red); }

.prose { font-family: var(--serif); font-size: var(--fs-prose); line-height: 1.68; color: var(--ink); font-variation-settings: "opsz" 16; overflow-wrap: anywhere; }
.prose > * { margin: 0 0 1.1em; }
.prose > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 3.7em; line-height: .84; font-weight: 600; margin: .05em .08em 0 0; color: var(--red); font-variation-settings: "opsz" 72; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; line-height: 1.18; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 1.3em; }
.prose h3 { font-size: 1.12em; font-weight: 750; }
.prose h4 { font-size: 1em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--red); }
.prose strong { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .35em 0; padding-left: .15em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 4px solid var(--red); font-size: 1.12em; font-style: italic; line-height: 1.5; color: var(--ink-2); }
.prose blockquote p { margin: 0 0 .5em; }
.prose blockquote cite { display: block; font-size: .72em; font-style: normal; font-family: var(--sans); color: var(--muted); margin-top: 8px; }
.prose hr, .prose .wp-block-separator { border: 0; height: auto; margin: 2em 0; text-align: center; background: none; }
.prose hr::before, .prose .wp-block-separator::before { content: "\2022\2002\2022\2002\2022"; color: var(--muted); letter-spacing: .3em; font-size: 14px; }
.prose figure { margin: 1.6em 0; }
.prose figure img, .prose > p img { border-radius: 12px; margin: 0 auto; }
.prose figcaption, .prose .wp-element-caption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.prose .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th, .prose thead td { font-weight: 750; border-bottom: 2px solid var(--rule-strong); }
.prose .wp-block-media-text { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .prose .wp-block-media-text { grid-template-columns: 1fr 1fr; gap: 24px; } .prose .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; } }
.prose .wp-block-media-text__media { margin: 0; }
.prose .wp-block-embed__wrapper, .prose .embed-16x9 { position: relative; aspect-ratio: 16 / 9; }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; }
.prose .wp-block-embed__wrapper iframe, .prose .embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose .wp-block-embed-twitter .wp-block-embed__wrapper { aspect-ratio: auto; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.prose .wp-block-gallery figure { margin: 0; }
.prose pre, .prose code { font-family: ui-monospace, Consolas, monospace; font-size: .8em; }
.prose pre { background: var(--soft); padding: 16px; border-radius: 10px; overflow-x: auto; }
.prose .has-text-align-center { text-align: center; }
.prose .wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.prose .wp-block-column { flex: 1 1 240px; }
.inline-rel { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; margin: 1.6em 0 !important; padding: 12px; border-radius: 16px; background: var(--soft); font-family: var(--sans); }
.inline-rel img, .inline-rel .ph { width: 92px; height: 69px; object-fit: cover; border-radius: 10px; background: var(--img); }
.inline-rel small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.inline-rel a { font-weight: 700; font-size: 16px; line-height: 1.26; letter-spacing: -.015em; text-decoration: none !important; color: var(--ink) !important; }
.inline-rel a::after { content: ""; position: absolute; inset: 0; }

.sponsor-note { margin: 0 0 14px; padding: 10px 14px; background: color-mix(in srgb, #ffd60a 16%, var(--surface)); border-left: 3px solid #ffd60a; font-size: 13.5px; color: var(--ink-2); border-radius: 0 10px 10px 0; }
.sponsor-note a { text-decoration: underline; }
.correction { margin: 28px 0 0; padding: 16px 18px; background: var(--soft); border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; font-size: 14.5px; }
.correction strong { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.correction p { margin: 6px 0 8px; font-family: var(--serif); font-size: 17px; }
.correction a { font-size: 13px; color: var(--muted); text-decoration: underline; }
.faq { margin-top: 38px; border-top: 1px solid var(--rule); padding-top: 16px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17.5px; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 24px; line-height: 1; flex: none; font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.sources { margin-top: 32px; }
.sources ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; font-size: 14.5px; }
.sources a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sources a:hover { text-decoration-color: var(--red); }
.sources small { color: var(--muted); margin-left: 6px; }

/* end of article */
.endblock { margin-top: 44px; }
.upnext { position: relative; display: grid; gap: 12px; padding: 14px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.upnext__label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.upnext .card__title { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.upnext .media { aspect-ratio: 16 / 9; }
@media (min-width: 640px) { .upnext { grid-template-columns: 230px minmax(0, 1fr); align-items: center; padding: 16px; } .upnext__label { grid-column: 1 / -1; } }
.related-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; } }
.related { padding-top: 8px; }
.related .section__head { margin-top: 36px; }
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-right: 6px; width: 100%; }
.tag { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; background: var(--soft); border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.tag:hover { background: var(--ink); color: var(--paper); }
.trustbox { margin-top: 32px; display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: var(--soft); }
.trustbox__who { display: flex; gap: 14px; align-items: flex-start; }
.trustbox__who strong { display: block; font-size: 15.5px; }
.trustbox__who small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin: 2px 0 6px; }
.trustbox__who span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.trustbox ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; font-size: 14px; }
.trustbox li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.trustbox li .icon { width: 18px; height: 18px; color: var(--good); margin-top: 1px; }
.trustbox a { text-decoration: underline; text-underline-offset: 2px; }
.share-end { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.share-end .btn { min-height: 48px; }
.btn--wa { background: #25d366; color: #0b2e17; }
.btn--wa:hover { background: #1fb556; color: #04170a; }

/* ---------------------------------------------------------------- search & saved */
.search-hero { padding: 20px 0 8px; }
.search-box { display: flex; align-items: center; gap: 10px; border-radius: 18px; padding: 4px 6px 4px 16px; background: var(--soft); border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.search-box:focus-within { border-color: var(--ink); background: var(--surface); }
.search-box .icon { width: 22px; height: 22px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 22px; font-weight: 650; letter-spacing: -.03em; outline: none; padding: 12px 0; }
.search-box input::placeholder { color: var(--muted); opacity: .7; }
@media (min-width: 1024px) { .search-hero { padding-top: 48px; } .search-box input { font-size: 34px; } }
.search-status { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.search-filters { margin: 14px 0 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.search-filters::-webkit-scrollbar { display: none; }
.search-filters button.pill { cursor: pointer; }
.search-empty { margin-top: 18px; display: grid; gap: 22px; }
.search-empty h3 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.results { list-style: none; margin: 16px 0 0; padding: 0; }
.results li { border-top: 1px solid var(--rule); padding: 18px 0; }
.result { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: start; }
.result h3 { margin: 4px 0 6px; font-weight: 750; font-size: 18.5px; line-height: 1.22; letter-spacing: -.022em; }
.result p { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result mark { background: var(--red-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
.result .media { aspect-ratio: 1; border-radius: 12px; }
.result:hover h3 { color: var(--red); }
@media (min-width: 640px) { .result { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; } .result .media { aspect-ratio: 16 / 9; } .result h3 { font-size: 22px; } }
.load-more { display: flex; justify-content: center; margin-top: 24px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.empty-state { text-align: center; padding: 48px 16px; max-width: 460px; margin: 0 auto; }
.empty-state .icon { width: 44px; height: 44px; color: var(--muted); margin: 0 auto 14px; }
.empty-state h2 { font-size: 28px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.035em; }
.empty-state p { color: var(--ink-2); margin: 0 0 20px; }
.save-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); }
.save-btn:hover { background: var(--chip); color: var(--ink); }
.save-btn[aria-pressed="true"] { color: var(--red); }
.save-btn[aria-pressed="true"] .icon { fill: currentColor; }
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.saved-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- static & misc pages */
.static { max-width: 760px; margin: 0 auto; padding-bottom: 32px; }
.static .prose > p:first-of-type::first-letter { all: unset; }
.lede { font-family: var(--serif); font-size: 1.12em; color: var(--ink-2); }
.contact-grid { display: grid; gap: 14px; margin: 8px 0 32px; font-family: var(--sans); }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card { border-radius: 18px; padding: 20px; background: var(--soft); }
.contact-card h3 { margin: 0 0 6px; font-size: 17px; font-family: var(--sans); font-weight: 750; letter-spacing: -.02em; }
.contact-card p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.contact-card a { font-weight: 700; color: var(--red); text-decoration: none; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.stat-row { display: grid; gap: 12px; margin: 8px 0 32px; font-family: var(--sans); }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-row > div { border-radius: 18px; padding: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.stat-row strong { font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: var(--red); }
.stat-row span { font-size: 13px; color: var(--muted); }
.prose .btn { color: var(--paper); text-decoration: none; font-family: var(--sans); }
.prose .btn:hover { color: #fff; }
.tip-form { display: grid; gap: 14px; margin: 8px 0 36px; padding: 20px; border-radius: 18px; background: var(--soft); font-family: var(--sans); font-size: 15px; }
.tip-form label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; }
.tip-form small { font-weight: 400; color: var(--muted); }
.tip-form input, .tip-form textarea { min-height: 48px; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); color: var(--ink); font: 16px/1.5 var(--sans); outline: none; }
.tip-form input:focus, .tip-form textarea:focus { border-color: var(--ink); }
.tip-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.author-head { display: flex; gap: 16px; align-items: center; margin-top: 16px; max-width: 720px; }
.author-head p { margin: 0; font-family: var(--serif); font-size: 17.5px; color: var(--ink-2); line-height: 1.5; }
.notfound { text-align: center; padding: 64px 0 40px; }
.notfound .big { font-size: clamp(100px, 28vw, 220px); line-height: .9; font-weight: 800; letter-spacing: -.07em; color: var(--red); }
.install { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 16px; border-radius: 18px; background: var(--soft); }
.install p { margin: 0; flex: 1; font-size: 14px; color: var(--ink-2); }
.install strong { display: block; color: var(--ink); font-size: 15px; }
.formats { display: grid; gap: 10px; margin: 8px 0 28px; font-family: var(--sans); padding: 0; list-style: none; }
.formats li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.formats strong { font-size: 15.5px; letter-spacing: -.015em; }
.formats span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 640px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* RSS feeds page */
.feeds-how { display: grid; gap: 10px; margin-bottom: 26px; }
.feeds-how div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-size: 14.5px; color: var(--ink-2); }
.feeds-how b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 13px; }
.feeds-how code, .feeds code { font: 13px ui-monospace, Consolas, monospace; }
@media (min-width: 900px) { .feeds-how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feeds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feeds li { display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--rule); background: var(--surface); }
.feeds li > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.feeds strong { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.feeds strong i { width: 10px; height: 10px; border-radius: 3px; background: var(--kc, var(--red)); }
.feeds small { color: var(--muted); font-size: 13px; }
.feeds code { display: block; padding: 10px 12px; border-radius: 10px; background: var(--soft); color: var(--ink-2); overflow-wrap: anywhere; }
.feeds__act { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 1024px) { .feeds li { grid-template-columns: 260px minmax(0, 1fr) auto; align-items: center; } .feeds li > div:first-child { flex-direction: column; gap: 2px; } }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: 64px; background: var(--night); color: var(--night-ink); padding: 44px 0 26px; }
.footer__brand { display: grid; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--night-rule); }
.footer .logo { color: var(--night-ink); font-size: 38px; }
.footer .logo b { color: #ff3b30; }
.footer__brand p { margin: 0; color: var(--night-muted); font-size: 15px; line-height: 1.55; max-width: 440px; }
.footer .social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .social a { color: var(--night-ink); background: var(--night-2); }
.footer .social a:hover { color: #fff; background: #ff3b30; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 28px 0; border-bottom: 1px solid var(--night-rule); }
.footer h4 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer li a { display: flex; align-items: center; min-height: 38px; font-size: 15px; font-weight: 500; color: var(--night-ink); opacity: .88; }
.footer li a:hover { opacity: 1; color: #ff453a; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; font-size: 13px; color: var(--night-muted); }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom a:hover { color: #fff; }
@media (min-width: 1024px) {
  .footer { margin-top: 88px; padding-top: 60px; }
  .footer .wrap { display: grid; grid-template-columns: 1.1fr 2fr; column-gap: 64px; }
  .footer__brand { border: 0; padding: 0; align-content: start; }
  .footer .logo { font-size: 46px; }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 0; border: 0; }
  .footer__bottom { grid-column: 1 / -1; margin-top: 40px; border-top: 1px solid var(--night-rule); }
}

/* breaking banner (admin-controlled, expires automatically) */
.breaking { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter); background: var(--red); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.breaking__label { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: rgba(0,0,0,.2); }
.breaking .live-dot { background: #fff; }
.breaking > span:nth-child(2) { flex: 1; min-width: 0; }
.breaking .icon { width: 18px; height: 18px; flex: none; }
@media (min-width: 1024px) { .breaking { justify-content: center; } .breaking > span:nth-child(2) { flex: 0 1 auto; } }

/* ---------------------------------------------------------------- motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__view { overflow-x: auto; scrollbar-width: none; }
}
@media print {
  .topbar, .masthead, .hdr, .tabbar, .actionbar, .footer, .article-aside, .share, .endblock, .progress, .sheet, .ad-slot, .ad-anchor, .ad-inter, .nl-card, .toast { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}

/* accessibility: section colours are tuned for white; in dark mode labels are lightened to keep 4.5:1 contrast */
:root[data-theme="dark"] .kicker:not(.kicker--pill):not(.kicker--sponsored), .band .kicker:not(.kicker--pill), .brief .kicker { color: color-mix(in srgb, var(--kc, #ff3b30) 52%, #fff); filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker:not(.kicker--pill):not(.kicker--sponsored) { color: color-mix(in srgb, var(--kc, #ff3b30) 52%, #fff); } }
/* topic hubs */
.pills__label { width: 100%; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.topics__az { position: sticky; top: 58px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 0; margin-bottom: 18px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.topics__az a { min-width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; font-weight: 800; font-size: 14px; background: var(--soft); }
.topics__az a:hover { background: var(--ink); color: var(--paper); }
.topics { columns: 1; column-gap: 32px; }
@media (min-width: 640px) { .topics { columns: 2; } }
@media (min-width: 1024px) { .topics { columns: 4; } }
.topics__group { break-inside: avoid; margin-bottom: 22px; scroll-margin-top: 130px; }
.topics__group h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--red); }
.topics__group ul { list-style: none; margin: 0; padding: 0; }
.topics__group li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 600; }
.topics__group li a:hover { color: var(--red); }
.topics__group small { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
/* live coverage */
.live-badge { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 2px; padding: 5px 10px 5px 9px; border-radius: 6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-badge .live-dot, .kicker--live .live-dot, .lb-state.is-on .live-dot { background: #fff; }
.kicker--live { background: var(--red); color: #fff !important; padding: 4px 8px 4px 7px; border-radius: 5px; gap: 6px; }
.hero__k { display: flex; gap: 6px; align-items: center; }
.liveblog { margin: 0 0 32px; border-radius: 20px; background: var(--soft); padding: 6px 18px 10px; }
.lb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); font-weight: 600; font-family: var(--sans); }
.lb-state { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 6px; background: var(--chip); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lb-state.is-on { background: var(--red); color: #fff; }
.lb-new { position: sticky; top: 70px; z-index: 4; display: flex; justify-content: center; padding: 10px 0 0; }
.lb-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.lb-item:last-child { border-bottom: 0; }
.lb-item.is-pinned { background: color-mix(in srgb, var(--red) 6%, transparent); margin: 0 -18px; padding: 18px; border-radius: 14px; }
.lb-time { position: relative; padding-left: 14px; }
.lb-time::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.lb-time time { display: block; font-weight: 800; font-size: 15px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lb-time small { font-size: 12px; color: var(--muted); }
.lb-body h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.lb-body p { margin: 0 0 .7em; font-family: var(--serif); font-size: calc(var(--fs-prose) - 1px); line-height: 1.6; }
.lb-body a { text-decoration: underline; text-decoration-color: var(--red); overflow-wrap: anywhere; }
.lb-by { font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 639px) { .lb-item { grid-template-columns: 1fr; gap: 6px; } .lb-time { display: flex; gap: 8px; align-items: baseline; } }