/* Self-hosted Google Fonts (latin + latin-ext). Generated from the Google Fonts CSS API. */
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/figtree-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/figtree-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/figtree-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/figtree-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/figtree-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/figtree-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/figtree-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/figtree-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/figtree-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/figtree-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jost-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jost-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/orbitron-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* House ad only (Don't Worry's own type): browsers fetch these only on pages that show the ad. */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlow-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/geist-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* MadCrypto — layout and type measured against 9to5mac.com (Sept 2026) */

:root {
  --c-primary: #14213d;
  --c-secondary: #f7931a;
  --c-tertiary: #fcd09a;
  --c-black: #000;
  --c-black-alt: #2e2d2d;
  --c-black-alt-darker: #121212;
  --c-gray-xlight: #ebebeb;
  --c-gray: #d9d9d9;
  --c-gray-dark: #939598;
  --c-white: #fff;
  --c-white-alt: #f9fafb;

  --bg: var(--c-white);
  --text: var(--c-black);
  --link: #b35400; /* darker Bitcoin orange: #f7931a is too pale to read as text on white */
  --c-accent-ink: #b35400;
  --rule: var(--c-gray);
  --panel: #f5f6f8;
  --pod-bg: #eef1f6;
  --pod-ink: #14213d;
  --header-bg: var(--c-white);
  --grad: linear-gradient(90deg, var(--c-tertiary) 0, var(--c-secondary) 100%);

  --font: proxima-nova, 'Figtree', -apple-system, BlinkMacSystemFont, helvetica, arial, sans-serif;
  --fs-52: 3.25rem; --fs-38: 2.375rem; --fs-32: 2rem; --fs-29: 1.8125rem; --fs-26: 1.625rem;
  --fs-24: 1.5rem; --fs-22: 1.375rem; --fs-20: 1.25rem; --fs-18: 1.125rem; --fs-16: 1rem;
  --fs-14: 0.875rem; --fs-12: 0.75rem;

  --gutter: 16px;
  --maxw: 1248px;
}
@media (min-width: 48em) { :root { --gutter: 32px; } }

html.darkmode--activated {
  --bg: var(--c-black-alt-darker);
  --text: var(--c-white);
  --link: #f7931a; /* Bitcoin orange reads well on black */
  --rule: #3a3a3a;
  --panel: #1e1e1e;
  --pod-bg: #1f2430;
  --pod-ink: #f7931a;
  --header-bg: #1a1a1a;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-18); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); font-weight: 600; text-decoration: none; }
a:hover { color: var(--c-accent-ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p, ul, ol, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--c-primary); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { flex: none; }
.h1 { font-size: var(--fs-26); }
@media (min-width: 48em) { .h1 { font-size: var(--fs-38); } }

@media (max-width: 47.99em) { .hide-sm { display: none !important; } }
@media (min-width: 48em) { .show-sm { display: none !important; } }
@media (min-width: 60em) { .hide-lg { display: none !important; } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; font-family: 'Jost', var(--font); font-weight: 400; font-size: 29px; line-height: 1; letter-spacing: -0.2px; white-space: nowrap; }
.logo__a { color: var(--c-primary); display: inline-flex; align-items: baseline; }
.logo__b { color: var(--c-secondary); }
.logo__mark { width: 1.2em; height: 1.2em; margin-right: 0.28em; flex: none; --bot-head: var(--c-primary); }
.logo__mark .bot-bolt { fill: var(--c-secondary); }
.logo__mark .bot-head { fill: var(--bot-head); }
.logo__mark .bot-eye { fill: var(--c-secondary); }
.logo__mark .bot-ring { fill: none; stroke: var(--c-tertiary); stroke-width: 1.4; }
.logo__mark .bot-brow { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.logo__mark .bot-teeth { fill: #fff; }
.logo__mark .bot-gaps { stroke: var(--bot-head); stroke-width: 1.2; }
/* The navy head disappears on dark backgrounds, so lift it a shade there. */
html.darkmode--activated .logo__mark, .logo--light .logo__mark { --bot-head: #24365e; }
.logo--sm { font-size: 22px; vertical-align: -1px; }
.logo--light .logo__a { color: #fff; }
html.darkmode--activated .logo__a { color: #fff; }

/* ---------- header ---------- */
.header-top { position: sticky; top: 0; z-index: 101; background: var(--header-bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.site-header { display: contents; }
.header-top__inner { display: flex; align-items: center; justify-content: space-between; height: 48px; }
@media (min-width: 48em) { .header-top__inner { height: 66px; } }
.header-left { display: flex; align-items: center; gap: 4px; }
.header-logo { display: flex; margin-left: -8px; padding: 4px 8px; color: inherit; }
.header-tag { margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--rule); font-size: var(--fs-14); line-height: 1.2; color: #5f6368; white-space: nowrap; }
html.darkmode--activated .header-tag { color: var(--c-gray-dark); }
@media (max-width: 47.99em) { .header-tag { display: none; } }
.header-right { display: flex; align-items: center; gap: 12px; margin-right: -4px; }
.hdr-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text); }
.hdr-icon:hover { color: var(--c-secondary); }
@media (max-width: 29.99em) { .header-right { gap: 6px; } }
@media (max-width: 24.99em) { .header-right { gap: 2px; } .header-right .hdr-icon { width: 25px; } .follow-menu__btn { padding: 4px 9px; } }
.search-toggle .icon-close { display: none; }
.search-toggle[aria-expanded="true"] > .icon { display: none; }
.search-toggle[aria-expanded="true"] .icon-close { display: grid; }

.header-search { position: relative; display: none; }
.header-search.is-open { display: block; }
.header-search input {
  width: 260px; font: inherit; font-size: var(--fs-16); color: var(--text); background: var(--bg);
  border: 2px solid; border-image: var(--grad) 1; padding: 6px 10px; outline: 0;
}
.search-results { position: absolute; right: 0; top: calc(100% + 8px); width: 380px; background: var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.15); max-height: 70vh; overflow: auto; }
.search-results a { display: flex; gap: 12px; padding: 12px; color: var(--text); font-size: var(--fs-14); line-height: 1.25; border-bottom: 1px solid var(--rule); }
.search-results a:hover { background: var(--panel); }
.search-results img { width: 80px; height: 40px; object-fit: cover; }
.search-results small { display: block; font-weight: 400; color: var(--c-gray-dark); margin-top: 4px; }
.search-results .empty { padding: 12px; font-size: var(--fs-14); }
.search-results .search-all { display: block; padding: 12px; font-weight: 600; color: var(--link); border-bottom: 0; }
mark { background: #ffe9cc; color: inherit; padding: 0 1px; }
html.darkmode--activated mark { background: #5a1f1f; }
.search-page__form { display: flex; margin-top: 32px; }
.search-page__form input { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-18); color: var(--text); background: transparent; border: 2px solid; border-image: var(--grad) 1; border-right: 0; padding: 10px 14px; outline: 0; }
.search-page__count { margin-top: 20px; font-size: var(--fs-16); color: var(--c-gray-dark); }
.search-page__results { margin-top: 8px; }
.search-page__results > li + li { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 8px; }
.search-page__snippet { font-size: var(--fs-16); line-height: 1.5; margin-top: 8px; }
.search-page__tags { margin-left: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; font-size: var(--fs-12); }
@media (min-width: 48em) { .search-page .feature.sidebar .article__image { flex-basis: 180px; margin-right: 24px; } .search-page .feature.sidebar h3 { font-size: var(--fs-20); } }
@media (max-width: 47.99em) {
  .header-search.is-open { position: absolute; left: 0; right: 0; top: 48px; background: var(--header-bg); padding: 8px var(--gutter) 12px; box-shadow: 0 6px 10px rgba(0,0,0,.08); }
  .header-search input { width: 100%; }
  .search-results { position: static; width: auto; box-shadow: none; }
}


.main-menu-toggle { display: none; width: 30px; height: 30px; position: relative; margin-right: 8px; }
.burger, .burger::before, .burger::after { position: absolute; left: 4px; width: 22px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.burger { top: 14px; }
.burger::before, .burger::after { content: ''; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.main-menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.main-menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.main-menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

.header-bottom { background: var(--c-primary); position: relative; z-index: 99; }
.primary-menu { display: flex; flex-wrap: wrap; margin-left: -11px; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
  display: flex; align-items: center; gap: 8px; padding: 16px 11px; font-size: var(--fs-14); font-weight: 400; line-height: 21px; color: #fff;
  background: linear-gradient(180deg, hsla(0, 0%, 100%, .1) 50%, transparent 0) 100%; background-size: 100% 200%; background-position: bottom; transition: background-position .25s;
}
.primary-menu > li:hover > a { background-position: top; color: #fff; }

/* Below ~1140px the menu no longer fits on one row, so switch to the slide-out menu. */
@media (min-width: 71.25em) and (max-width: 79.99em) {
  .primary-menu { margin-left: -7px; }
  .primary-menu > li > a { padding: 16px 7px; gap: 6px; }
}
@media (max-width: 71.24em) {
  .main-menu-toggle { display: block; }
  .header-left { gap: 0; }
  .header-bottom { display: none; }
  .header-bottom.is-open { display: block; position: fixed; top: 66px; left: 0; right: 0; bottom: 0; overflow: auto; }
  .primary-menu { flex-direction: column; flex-wrap: nowrap; margin: 0 calc(var(--gutter) * -1); }
  .primary-menu > li > a { width: 100%; justify-content: space-between; font-size: var(--fs-18); padding: 16px var(--gutter); border-bottom: 1px solid hsla(0,0%,100%,.12); }
}
@media (max-width: 47.99em) {
  .logo { font-size: 24px; }
  .header-bottom.is-open { top: 48px; }
}

/* ---------- section titles ("Featured", "Latest"…) ---------- */
.attr-title {
  display: flex; align-items: center; position: relative; isolation: isolate;
  font-size: var(--fs-38); line-height: 1.1; font-weight: 700; color: var(--text); margin-top: 2rem;
  font-family: 'Orbitron', var(--font); font-weight: 800;
}
@media (min-width: 48em) { .attr-title { font-size: var(--fs-52); margin-top: 3rem; } }
.attr-title::after { content: ''; flex: 1 1 0%; height: 2px; margin-left: .5rem; background: var(--grad); min-width: 24px; }

/* Top Stories sidebar list */
.top-stories__list { list-style: none; counter-reset: top; margin-top: 1.5rem; }
.top-stories__list li { counter-increment: top; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; padding: 14px 0; border-top: 1px solid var(--rule); }
.top-stories__list li:first-child { border-top: 0; padding-top: 0; }
html.darkmode--activated .top-stories__list li::before { color: #f7931a; }
.top-stories__list li::before { content: counter(top); font-family: 'Orbitron', var(--font); font-weight: 800; font-size: 28px; line-height: 1; color: var(--c-primary); }
.top-stories__list a { font-weight: 600; font-size: var(--fs-16); line-height: 1.35; color: var(--text); }
.top-stories__list a:hover { color: var(--c-primary); }
.top-stories__list time { font-size: var(--fs-12); color: var(--c-gray-dark); margin-top: 4px; }

/* ---------- images: rounded corners ---------- */
.img-border { display: block; position: relative; line-height: 0; margin: 1em 0; }
.img-border img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; }

/* ---------- article meta ---------- */
.article__meta-guides { display: flex; flex-wrap: wrap; column-gap: 20px; font-size: var(--fs-14); font-weight: 600; line-height: 21px; letter-spacing: 1px; text-transform: uppercase; }
.article__meta-guides.center { justify-content: center; }
.article__meta-guides a { color: var(--text); }
.article__meta-guides a:hover { color: var(--c-accent-ink); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--fs-14); line-height: 21px; margin-top: 14px; }
.author__link a, .author-name a { font-weight: 600; }
.meta__post-date { margin-left: 8px; }
.meta__post-date::before { content: '|'; margin-right: 8px; }
.article__title-link { color: var(--text); font-weight: 700; }
.article__title-link:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- homepage featured grid ---------- */
.featured-grid { margin-top: 1.5rem; }
@media (min-width: 60em) {
  .featured-grid { display: grid; grid-template-columns: minmax(0, 711fr) minmax(0, 480fr); column-gap: 53px; margin-top: 48px; }
}
.feature-large .img-border { margin: 0 0 18px; }
.feature-large .article__meta-guides { margin-top: 32px; }
.feature-large h2 { text-align: center; margin-top: 8px; }
.feature-large .post-meta { justify-content: center; }

.featured-head { display: flex; align-items: center; }
.featured-head .attr-title { flex: 1; margin-top: 0; }
.featured-grid .attr-title { margin-top: -9px; margin-bottom: 2rem; }
@media (min-width: 48em) and (max-width: 59.99em) { .featured-grid .attr-title { margin-top: 2rem; } }

.feature.sidebar { display: flex; align-items: flex-start; padding-top: 16px; position: relative; }
.feature.sidebar .article__image { flex: 0 0 140px; margin-right: 16px; line-height: 0; }
.feature.sidebar .article__image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.feature.sidebar h3 { font-size: var(--fs-16); line-height: 1.2; }
.feature.sidebar .post-meta { margin-top: 10px; font-size: var(--fs-12); line-height: 18px; }
.is-clickable-card .article__title-link::after { content: ''; position: absolute; inset: 0; }
.is-clickable-card .post-meta a { position: relative; z-index: 1; }
.featured-items__list > li + li { margin-top: 24px; }
@media (min-width: 60em) { .featured-items__list > li.hide-lg + li { margin-top: 0; } }
@media (min-width: 80em) {
  .featured-grid .feature.sidebar .article__image { flex-basis: 180px; margin-right: 24px; }
  .feature.sidebar .article__image { flex-basis: 140px; margin-right: 24px; }
  .featured-grid .feature.sidebar h3 { font-size: var(--fs-18); }
  .featured-grid .feature.sidebar .post-meta { margin-top: 14px; font-size: var(--fs-14); line-height: 21px; }
}

@media (max-width: 47.99em) {
  .featured-grid--solo { background: none; padding-bottom: 0; }
  .featured-grid--solo .feature-large .img-border { margin: 0 0 18px; }
  .featured-grid--solo .feature-large .article__meta-guides { margin-top: 24px; }
  .featured-grid--solo .featured-grid__widgets .widget .attr-title { margin-top: 48px; margin-bottom: 1.5rem; }
}
.archive-empty { margin-top: 32px; }
.featured-grid__widgets .widget + .widget .attr-title { margin-top: 48px; }

/* mobile: featured becomes a swipeable carousel on a tinted band */
@media (max-width: 47.99em) {
  .featured-grid { background: var(--c-white-alt); padding-top: 16px; padding-bottom: 32px; margin-top: 0; }
  html.darkmode--activated .featured-grid { background: var(--panel); }
  .featured-grid .attr-title { margin: 0 0 12px; }
  .carousel-arrows { display: flex; gap: 12px; position: absolute; right: var(--gutter); margin-top: 84px; color: var(--c-secondary); }
  .featured-head { position: relative; flex-wrap: wrap; }
  .carousel-arrows { position: static; width: 100%; justify-content: flex-end; margin: 0 0 8px; }
  .carousel-arrows button { color: var(--c-tertiary); }
  .carousel-arrows button:not(:disabled) { color: var(--c-secondary); }
  .featured-grid .featured-items__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .featured-grid .featured-items__list::-webkit-scrollbar { display: none; }
  .featured-grid .featured-items__list > li { flex: 0 0 82%; margin: 0; scroll-snap-align: start; }
  .featured-grid .hide-lg { display: block !important; }
  .featured-grid .feature.sidebar { flex-direction: column; padding: 0; }
  .featured-grid .feature.sidebar .article__image { flex: none; width: 100%; margin: 0 0 8px; }
  .featured-grid .feature.sidebar h3 { font-size: var(--fs-18); }
  .featured-grid .feature.sidebar .post-meta { font-size: var(--fs-14); }
}

/* ---------- banner ---------- */
.featured-banner {
  position: relative; isolation: isolate; margin-top: 32px; padding: 32px; min-height: 175px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--banner-img) center 40% / cover no-repeat;
}
.featured-banner::after { content: ''; position: absolute; inset: 0; background: #000; opacity: .55; z-index: -1; }
.featured-banner__title { color: #fff; font-size: var(--fs-22); line-height: 1.2; }
@media (min-width: 48em) { .featured-banner__title { font-size: var(--fs-26); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: var(--fs-16); font-weight: 600; line-height: 24px; letter-spacing: 1px;
  color: #fff; background: var(--c-primary); border: 2px solid var(--c-primary); padding: 12px 24px; cursor: pointer;
}
.btn:hover { background: var(--c-accent-ink); border-color: var(--c-accent-ink); color: #fff; }
.btn--banner { margin-top: 16px; padding: 16px 32px; }
.btn--outline { background: transparent; color: var(--text); border: 2px solid; border-image: var(--grad) 1; }
.btn--outline:hover { background: transparent; color: var(--c-accent-ink); }

/* ---------- river (Latest) ---------- */
.river { margin-top: 0; }
@media (min-width: 60em) {
  .river { display: grid; grid-template-columns: minmax(0, 786fr) minmax(0, 414fr); column-gap: 48px; align-items: start; }
  .sidebar { padding: 0 7px; }
}
.river__posts > .attr-title { margin-top: 48px; }
.article.standard { padding-top: 32px; margin-bottom: 48px; }
.article.standard + .article.standard, .river__more > .article.standard:first-child, .river__more + .load-more { border-top: 1px solid var(--rule); }
.river__more .article.standard + .article.standard { border-top: 1px solid var(--rule); }
.article.standard .article__meta-guides + h2 { margin-top: 16px; }
.article.standard > h2:first-child, .article.standard > .article__meta-guides:first-child { margin-top: 16px; }
.article.standard > .article__meta-guides:first-child + h2 { margin-top: 16px; }
.article.standard .img-border:not(.sm) { margin: 18px 0; }
.article.standard .img-border.sm { float: left; width: calc(45% - 16px); margin: 16px 24px 16px 0; }
@media (max-width: 47.99em) { .article.standard .img-border.sm { float: none; width: auto; margin: 16px 0 24px; } }
.article.standard.has-float .article__meta-guides { margin-top: 16px; }
.article.standard.has-float .h1 { font-size: var(--fs-24); line-height: 1.1; }
.article.standard.has-float .article__excerpt { clear: none; }
.article.standard.has-float::after { content: ''; display: table; clear: both; }

.article__excerpt { margin-top: 0; }
.article__excerpt p, .entry p { margin-top: 18px; }
.article__excerpt > p:first-child { margin-top: 36px; }
.has-float .article__excerpt > p:first-child { margin-top: 16px; }
.article__rest { overflow: hidden; }
.more-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; clear: both;
  padding: 9px 16px 9px 18px; border: 2px solid var(--c-primary); border-radius: 999px;
  font-size: var(--fs-14); font-weight: 600; line-height: 18px; color: var(--c-primary);
  transition: background-color .2s, color .2s;
}
html.darkmode--activated .more-link { border-color: #f7931a; color: #f7931a; }
.more-link .icon { transition: transform .2s; }
.more-link .close { display: none; }
.more-link[aria-expanded="true"] .open { display: none; }
.more-link[aria-expanded="true"] .close { display: inline; }
.more-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.more-link:hover, .more-link:focus-visible { background: var(--c-primary); color: #fff; }
html.darkmode--activated .more-link:hover, html.darkmode--activated .more-link:focus-visible { background: #f7931a; color: #111; }
.more-link.is-loading { opacity: .6; }
.load-more { display: flex; margin: 0 auto 48px; }
.river__more + .load-more { border-top: 2px solid; }
.load-more--auto { visibility: hidden; }

/* ---------- body copy ---------- */
.entry h2 { font-size: var(--fs-24); line-height: 1.1; margin-top: 29px; }
@media (min-width: 48em) { .entry h2 { font-size: var(--fs-29); } }
.article__rest h2 { font-size: var(--fs-24); margin-top: 29px; }
.entry h4 { font-size: var(--fs-22); margin-top: 29px; font-weight: 400; }
.entry ol, .article__rest ol { list-style: decimal; padding-left: 40px; margin-top: 18px; }
.entry ol li::marker { color: var(--c-primary); font-weight: 700; }
.entry ul, .article__rest ul { list-style: disc; padding-left: 40px; margin-top: 18px; }
.entry li, .article__rest li { margin-top: 18px; padding-left: 0; }
.entry li::marker, .article__rest li::marker { color: var(--c-primary); }
blockquote { position: relative; padding: 4px 0 4px 24px; margin-top: 29px; font-size: var(--fs-20); line-height: 1.45; font-style: italic; }
blockquote::before { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--c-tertiary) 0, var(--c-secondary) 100%); }
blockquote p { margin-top: 0 !important; }
blockquote cite { display: block; margin-top: 10px; font-size: var(--fs-14); font-style: normal; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
blockquote cite::before { content: '— '; }

/* ---------- sidebar widgets ---------- */
.sidebar .widget:first-child .attr-title { margin-top: 48px; }
@media (min-width: 60em) { .river--single .sidebar .widget:first-child .attr-title { margin-top: -8px; } }
.sidebar .attr-title { margin-bottom: 2rem; }

.poll { background: var(--c-white-alt); padding: 24px; }
html.darkmode--activated .poll { background: var(--panel); }
.poll__q { font-size: var(--fs-18); line-height: 1.5; margin-bottom: 16px; }
.poll__options li + li { margin-top: 6px; }
.poll__options label { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; column-gap: 12px; font-size: var(--fs-16); font-weight: 600; line-height: 24px; cursor: pointer; }
.poll__options input { position: absolute; opacity: 0; pointer-events: none; }
.poll__radio { width: 20px; height: 20px; border: 1.5px solid var(--text); border-radius: 50%; display: grid; place-items: center; }
.poll__options input:checked + .poll__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); }
.poll__options input:focus-visible + .poll__radio { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.poll__bar, .poll__pct { display: none; }
.poll.is-voted label { grid-template-columns: 1fr auto; cursor: default; }
.poll.is-voted .poll__radio { display: none; }
.poll.is-voted .poll__bar { display: block; grid-column: 1 / -1; height: 6px; background: var(--c-gray-xlight); margin: 4px 0 8px; }
html.darkmode--activated .poll.is-voted .poll__bar { background: #333; }
.poll.is-voted .poll__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s ease; }
.poll.is-voted .poll__pct { display: block; grid-row: 1; grid-column: 2; font-weight: 400; font-size: var(--fs-14); }
.poll__status { font-size: var(--fs-14); color: var(--c-gray-dark); margin-top: 16px; min-height: 21px; }
.poll__status:empty { display: none; }
.poll__footer { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 24px; font-size: var(--fs-16); font-weight: 600; }
.poll__submit { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 600; }
.poll__submit:disabled { color: var(--c-gray-dark); cursor: default; }
.poll__story { display: inline-flex; align-items: center; gap: 6px; }

.newsletter p { font-size: var(--fs-16); line-height: 1.5; }
.newsletter__form { display: flex; margin-top: 16px; }
.newsletter__form input { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-16); color: var(--text); background: transparent; border: 2px solid; border-image: linear-gradient(90deg, var(--c-primary), var(--c-primary)) 1; border-right: 0; padding: 10px 12px; outline: 0; }
.newsletter__form input:focus { border-image: var(--grad) 1; }
.newsletter__form .btn { padding: 10px 18px; font-size: var(--fs-14); }
.newsletter--page { margin: 24px 0; max-width: 32rem; }
.newsletter--inline { margin: 20px 0 24px; padding: 16px 20px; border: 1px solid var(--rule); border-left: 4px solid var(--c-primary); border-radius: 6px; background: var(--panel); }
.newsletter--inline p { margin: 0; }

.pod__list { display: grid; gap: 8px; }
.pod { display: flex; align-items: center; gap: 8px; background: var(--pod-bg); border-radius: 8px; padding: 4px 12px 4px 4px; }
.pod__art { flex: 0 0 56px; height: 56px; border-radius: 4px; background: radial-gradient(circle at 80% 90%, var(--c-tertiary) 0, transparent 38%), linear-gradient(135deg, #450e0e 0, var(--c-primary) 55%, var(--c-secondary) 100%); display: grid; place-items: center; overflow: hidden; }
.pod__art--alt { background: radial-gradient(circle at 20% 15%, #ff9a6a 0, transparent 40%), linear-gradient(135deg, #2b1a3d 0, #5b2c6f 60%, #c85a5a 100%); }
.pod__art span { color: #fff; font: 700 6.5px/1.2 var(--font); letter-spacing: .6px; text-align: center; opacity: .9; }
.pod__art--lg { flex-basis: 88px; height: 88px; }
.pod__art--lg span { font-size: 10px; letter-spacing: 1.5px; }
.pod__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pod__show { font-size: var(--fs-12); line-height: 1.4; color: var(--link); }
.pod__show b { font-weight: 600; }
.pod__title { font-size: var(--fs-14); font-weight: 600; line-height: 1.4; }
.pod__play { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: var(--pod-ink); color: #fff; font-size: var(--fs-14); font-weight: 600; padding: 3px 8px 3px 6px; border-radius: 4px; }
.pod__btn { flex: 0 0 34px; height: 34px; border-radius: 6px; background: var(--pod-ink); color: #fff; display: grid; place-items: center; }
.pod__play:hover, .pod__btn:hover { background: var(--c-accent-ink); }
.pod.is-playing .pod__btn, .pod.is-playing .pod__play { background: var(--c-secondary); }

.featured__from { font-size: var(--fs-18); font-weight: 400; margin: -16px 0 8px; display: flex; align-items: baseline; gap: 6px; }

/* ---------- single article ---------- */
.article-head { margin-top: 32px; }
@media (min-width: 48em) { .article-head { margin-top: 48px; } }
@media (min-width: 60em) { .article-head__inner { width: calc((100% - 48px) * 786 / 1200); } }
.article-head h1 { margin-top: 24px; }
.post-meta--single { margin-top: 14px; }
.editor-card { display: flex; gap: 20px; align-items: flex-start; margin-top: 18px; }
.editor-card img { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; margin: 4px 0 0; filter: grayscale(1); }
.entry .editor-card p:first-child { margin-top: 0; }
@media (max-width: 29.99em) { .editor-card { flex-direction: column; gap: 12px; } }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-top: 18px; }
.team-card { background: var(--panel); border-top: 3px solid var(--c-primary); padding: 22px 16px 18px; text-align: center; scroll-margin-top: 90px; }
.team-card:target { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; display: block; filter: grayscale(1); }
.entry .team-card h3 { margin: 0 0 4px; font-size: var(--fs-18, 1.125rem); line-height: 1.25; }
.entry .team-card p { margin: 0; font-size: var(--fs-14, 0.875rem); line-height: 1.4; }
.team-card__role { font-weight: 600; }
.team-card__place { opacity: 0.72; }
.entry .team-card__email { margin-top: 10px; overflow-wrap: anywhere; }
@media (max-width: 29.99em) { .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .team-card { padding: 18px 10px 14px; } .team-card img { width: 72px; height: 72px; } }
.river--single { margin-top: 24px; }
.featured-image { margin: 0 0 18px !important; }
.scheduled-note { margin-top: 16px; padding: 10px 14px; background: #fff4d6; color: #5c4400; font-size: var(--fs-14); font-weight: 600; }
.updated { color: var(--text); }
.correction { margin-top: 24px; padding: 12px 16px; background: var(--panel); border-left: 3px solid var(--c-secondary); font-size: var(--fs-16); }
.photo-credit { font-size: var(--fs-12); color: #5f6368; margin-top: 20px; line-height: 1.4; }
.photo-credit a { color: inherit; font-weight: 400; text-decoration: underline; }
.entry > p:first-child { margin-top: 18px; }

.post-content > .attr-title { margin-bottom: 2rem; }


.related .feature.sidebar + .feature.sidebar { margin-top: 24px; }
@media (min-width: 48em) { .related .feature.sidebar .article__image { flex-basis: 180px; margin-right: 24px; } .related .feature.sidebar h3 { font-size: var(--fs-18); } }


/* ---------- archives ---------- */
.archive-head { margin-top: 16px; }
.archive-head .attr-title { margin-top: 32px; }
.archive-desc { margin-top: 16px; max-width: 786px; }
.rss-sections li { margin-bottom: 6px; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: #fff; margin-top: 64px; padding: 48px 0 24px; }
.site-footer a { color: #fff; font-weight: 400; }
.site-footer a:hover { color: var(--c-tertiary); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-bottom: 32px; border-bottom: 1px solid #2e2d2d; }
.footer-tag { color: var(--c-gray-dark); font-size: var(--fs-16); }
.footer-cols { display: grid; gap: 32px; padding: 32px 0; }
@media (min-width: 48em) { .footer-cols { grid-template-columns: 1fr 1fr 2fr; } }
.footer-cols h3 { font-size: var(--fs-14); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.footer-cols li { font-size: var(--fs-16); line-height: 2; }
.footer-note { font-size: var(--fs-14); color: var(--c-gray-dark); max-width: 420px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid #2e2d2d; padding-top: 24px; font-size: var(--fs-14); color: var(--c-gray-dark); }
.footer-bottom a { color: var(--c-gray-dark); }

.entry code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--panel); padding: 1px 5px; border-radius: 3px; }
.entry pre { margin-top: 14px; padding: 14px 16px; background: #1a1a1a; color: #f3f3f3; border-radius: 6px; overflow-x: auto; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.entry pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
html.darkmode--activated .entry pre { background: #000; border: 1px solid #333; }

html.darkmode--activated .photo-credit { color: #a8abb0; }

/* ---------- tables in articles (comparison tables) ---------- */
.table-wrap { overflow-x: auto; margin-top: 24px; -webkit-overflow-scrolling: touch; }
.entry table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-14); line-height: 1.4; }
.entry th, .entry td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.entry thead th { background: var(--c-primary); color: #fff; font-weight: 600; position: sticky; top: 0; }
.entry tbody th { font-weight: 700; min-width: 120px; }
.entry tbody th, .entry thead th:first-child { position: sticky; left: 0; z-index: 1; }
.entry tbody th { background: var(--bg, #fff); box-shadow: 1px 0 0 var(--rule); }
html.darkmode--activated .entry tbody th { background: var(--bg, #111); }
.entry thead th:first-child { z-index: 2; }
.table-hint { display: none; font-size: var(--fs-12); color: var(--c-gray-dark); margin-top: 16px; }
@media (max-width: 47.99em) { .table-hint { display: block; } }
.entry tbody tr:nth-child(even) { background: rgba(20, 33, 61, .04); }
html.darkmode--activated .entry tbody tr:nth-child(even) { background: rgba(255, 255, 255, .04); }
.entry td .yes { color: #1e7a3c; font-weight: 700; }
.entry td .no { color: #b3261e; font-weight: 700; }
.entry td .mid { color: #9a6700; font-weight: 700; }
html.darkmode--activated .entry td .yes { color: #6fd08c; }
html.darkmode--activated .entry td .no { color: #ff8a80; }
html.darkmode--activated .entry td .mid { color: #f2c14e; }
.table-note { font-size: var(--fs-12); color: var(--c-gray-dark); margin-top: 8px; }
/* jump-to menu and anchor offsets */
.jump-to { margin-top: 24px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 8px; font-size: var(--fs-14); }
.jump-to strong { margin-right: 6px; }
.jump-to a { margin-right: 14px; white-space: nowrap; }
.entry h2[id], .entry h3[id] { scroll-margin-top: 110px; }
.entry h3 { font-size: var(--fs-20, 1.25rem); line-height: 1.25; margin-top: 28px; }


/* ---------- Embedded X posts (widgets.js is loaded by main.js only when a page has one) ---------- */
.twitter-tweet, .twitter-tweet-rendered { margin-top: 29px !important; }

/* ---------- Embedded YouTube videos (16:9, full column width) ---------- */
.video-embed { position: relative; margin-top: 29px; aspect-ratio: 16 / 9; background: var(--panel); border-radius: 8px; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Follow box at the end of each article */
.follow-box { margin: 36px 0 8px; padding: 16px 20px; border: 1px solid var(--rule); border-left: 4px solid var(--c-primary); border-radius: 6px; background: var(--panel); }
.follow-box p { margin: 0; line-height: 1.7; }
.follow-box a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-primary); text-decoration: none; white-space: nowrap; }
.follow-box a:hover { text-decoration: underline; }
.follow-box .icon { width: 16px; height: 16px; }
.follow-box__or { margin: 0 6px; color: var(--c-muted, inherit); }
.follow-box__item { white-space: nowrap; }

/* RSS page */
.rss-box { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 6px; background: var(--panel); }
.rss-box p { margin: 0; }
.rss-box__label { font-size: 0.85em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.rss-box__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.rss-box__url { flex: 1 1 260px; padding: 10px 12px !important; font-size: 0.9em !important; white-space: nowrap; overflow-x: auto; }
.rss-box__apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }

/* "Updated" label beside a headline after a real update (updateNote in posts.js). */
.upd-tag { display: inline-block; margin-right: .4em; padding: .2em .45em .15em; border-radius: 3px; background: var(--c-primary); color: #fff; font-size: .55em; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; vertical-align: .25em; }
.article.sidebar .upd-tag, .top-stories__list .upd-tag { font-size: .68em; vertical-align: .12em; }
.poll__peek { margin-right: auto; color: var(--link); font-weight: 600; }
.poll__peek:disabled { color: var(--c-gray-dark); cursor: default; }
.poll.is-peek .poll__submit, .poll.is-peek .poll__footer .sep { display: none; }

/* "Latest <section> news" under evergreen guides */
.latest-news { margin-top: 40px; }
.latest-news .attr-title--small { font-size: var(--fs-26); margin-top: 0; }
@media (min-width: 48em) { .latest-news .attr-title--small { font-size: var(--fs-38); } }
.latest-news__more { margin-top: 16px; font-weight: 700; }
.latest-news__more a::after { content: " \2192"; }
.entry figure { margin-top: 24px; }
.entry figure img { width: 100%; height: auto; border-radius: 6px; }
.entry figcaption { font-size: var(--fs-12); color: var(--c-gray-dark); margin-top: 8px; }

/* Privacy page: opt out of anonymous reader statistics */
.stats-optout { border: 1px solid var(--link); color: var(--link); padding: 6px 14px; border-radius: 4px; font-weight: 600; }
.stats-optout:hover { background: var(--link); color: #fff; }

/* Header "Follow" menu: RSS and X in one clear button, on every screen size. */
.follow-menu { position: relative; }
.follow-menu__btn { list-style: none; cursor: pointer; padding: 5px 12px; border: 1.5px solid var(--c-secondary); border-radius: 999px; color: var(--c-secondary); font-size: var(--fs-14); font-weight: 700; line-height: 1.2; user-select: none; }
.follow-menu__btn::-webkit-details-marker { display: none; }
.follow-menu__btn:hover, .follow-menu[open] .follow-menu__btn { background: var(--c-secondary); color: #fff; }
.follow-menu__panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; width: 250px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.follow-menu__title { margin: 4px 8px 6px; font-size: var(--fs-14); font-weight: 700; }
.follow-menu__panel a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: inherit; text-decoration: none; }
.follow-menu__panel a:hover { background: var(--rule); }
.follow-menu__panel a > .icon, .follow-menu__panel a > svg { flex: none; width: 20px; height: 20px; color: var(--c-secondary); }
.follow-menu__panel span { display: flex; flex-direction: column; line-height: 1.25; }
.follow-menu__panel small { color: var(--c-gray-dark, #6b6b6b); font-size: 12.5px; }
/* Story alerts (bell in the header) */
.push-menu { position: relative; }
.push-menu[hidden] { display: none; }
.push-menu__btn { list-style: none; cursor: pointer; position: relative; }
.push-menu__btn::-webkit-details-marker { display: none; }
.push-menu.is-on .push-menu__btn svg path:first-child { fill: currentColor; }
.push-menu.is-on .push-menu__btn { color: var(--c-secondary); }
.push-menu__panel { position: absolute; right: -60px; top: calc(100% + 10px); z-index: 120; width: 280px; padding: 12px; background: var(--bg); color: var(--text); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: var(--fs-14); line-height: 1.4; }
.push-menu__title { margin: 0 0 6px; font-weight: 700; }
.push-menu__lede, .push-menu__ios p, .push-menu__blocked p { margin: 0 0 10px; }
.push-menu__go, .push-menu__off { width: 100%; padding: 8px 12px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.push-menu__go { background: var(--c-secondary); color: #fff; border: 0; }
.push-menu__go:disabled, .push-menu__off:disabled { opacity: .6; cursor: default; }
.push-menu__off { background: none; color: var(--text); border: 1px solid var(--rule); }
.push-menu__status { margin: 8px 0 0; min-height: 1em; font-size: 13px; }
.push-menu__status:empty { display: none; }
@media (max-width: 21.24em) { .push-menu { display: none; } }
@media (max-width: 30em) { .push-menu__panel { position: fixed; left: 16px; right: 16px; width: auto; top: 64px; } }
@media (max-width: 22.49em) { .follow-menu__btn { padding: 4px 9px; } }
@media (max-width: 47.99em) { .sidebar--article #newsletter { display: none; } }

/* Share buttons on articles */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.share--end { margin: 28px 0 8px; padding-top: 16px; border-top: 1px solid rgba(127,127,127,.25); }
.share__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin-right: 2px; }
.share__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(127,127,127,.35); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: #14213d; color: #14213d; }
.share__btn[hidden] { display: none; }
.share__btn .icon { flex: none; }

/* ---------- house ads (build.js houseAd) ----------
   Hidden until main.js tags <html> with the platform and marks the ad it picked with .is-on.
   main.js adds .is-play while an ad is on screen (and .is-paused off it). */
.mr-app { display: none; }
.pf-apple .mr-app.is-on, .pf-win .mr-app.is-on { display: block; }
/* Windows: a QR code to the App Store page under the badge (readers can't install on the PC) */
.mr-app__qr { display: none; align-items: center; gap: 12px; margin-top: 14px; font: 500 11px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.mr-app__qr img { flex: none; width: 90px; height: 90px; padding: 4px; box-sizing: content-box; shape-rendering: crispEdges; border-radius: 8px; background: #fff; }
.mr-app__qr span { max-width: 15em; }
.pf-win .mr-app__qr { display: flex; }
.mr-app__label { margin: 0 0 6px; font-size: var(--fs-12); line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gray-dark); }
.entry .mr-app__label { margin: 0 0 6px; }
.sidebar .mr-app { margin-top: 48px; }
.entry .mr-app { margin: 28px 0 8px; }
/* Desktop articles: the ad tops the sidebar, level with the lead photo */
@media (min-width: 60em) { .river--single .sidebar > .mr-app { margin-top: 0; } }

/* Don't Worry: three 3-second scenes (worried, write it down, let it go) over the app's pastels,
   as in its own banner ads. The still frame (no JS motion, or reduced motion) is scene two. */
.dworry { --ink: #232428; --disp: 'Barlow Condensed', 'Arial Narrow', sans-serif; --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; container-type: inline-size; }
.dworry__link { display: block; overflow: hidden; border-radius: 20px; background: #C3C7F6; color: var(--ink); font-weight: 400; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.dworry__link:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35, 36, 40, .18); }
.dworry__link:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; }
.dworry__stage { position: relative; height: 236px; overflow: hidden; }
.dworry__heads b, .dworry__mascots img, .dworry__screens img { position: absolute; opacity: 0; }
.dworry__heads b { left: 18px; top: 20px; width: 52%; font: 700 46px/.9 var(--disp); text-transform: uppercase; }
.dworry__mascots img { left: 10px; bottom: -4px; width: 46%; max-width: 150px; height: auto; }
.dworry__phone { position: absolute; right: 18px; top: 22px; width: 38%; max-width: 170px; aspect-ratio: 600 / 1304; padding: 5px; border-radius: 26px; background: var(--ink); box-shadow: 0 14px 28px rgba(35, 36, 40, .25); }
.dworry__screens { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 21px; }
.dworry__screens img { inset: 0; width: 100%; height: auto; }
.dworry .dw-s2 { opacity: 1; }
.dworry__copy { display: block; position: relative; padding: 16px 18px 20px; background: rgba(255, 255, 255, .45); }
.dworry__kicker { display: block; font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #3B3E58; }
.dworry__title { display: block; margin-top: 6px; font: 700 30px/.95 var(--disp); text-transform: uppercase; }
.dworry__text { display: block; margin-top: 8px; font-size: var(--fs-16); line-height: 1.4; }
.dworry__badge { display: block; width: 150px; height: auto; margin-top: 14px; }
.dworry__meta { display: block; margin-top: 10px; font: 500 11px/1.2 var(--mono); color: #3B3E58; }
@container (min-width: 520px) {
  .dworry__link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
  .dworry__stage { height: auto; min-height: 260px; }
  .dworry__copy { display: flex; flex-direction: column; justify-content: center; }
}
.dworry.is-play .dworry__link { animation: dw-bg 9s infinite; }
.dworry.is-play .dw-s1 { animation: dw-s1 9s infinite; }
.dworry.is-play .dw-s2 { opacity: 0; animation: dw-s2 9s infinite; }
.dworry.is-play .dw-s3 { animation: dw-s3 9s infinite; }
.dworry.is-play .dworry__m1 { animation: dw-s1 9s infinite, dw-shake .5s ease-in-out infinite; }
.dworry.is-play .dworry__m2 { animation: dw-s2 9s infinite, dw-bob 1.2s ease-in-out infinite; }
.dworry.is-play .dworry__m3 { animation: dw-s3 9s infinite, dw-float 2.4s ease-in-out infinite; }
.dworry.is-play .dworry__badge { animation: dw-pop 9s infinite; }
.dworry.is-paused * { animation-play-state: paused !important; }
@keyframes dw-s1 { 0% { opacity: 0; translate: 0 10px; } 4%, 30% { opacity: 1; translate: 0 0; } 34%, 100% { opacity: 0; translate: 0 -10px; } }
@keyframes dw-s2 { 0%, 33% { opacity: 0; translate: 0 10px; } 37%, 63% { opacity: 1; translate: 0 0; } 67%, 100% { opacity: 0; translate: 0 -10px; } }
@keyframes dw-s3 { 0%, 66% { opacity: 0; translate: 0 10px; } 70%, 96% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -10px; } }
@keyframes dw-bg { 0%, 33% { background: #F6C3B4; } 37%, 63% { background: #C3C7F6; } 70%, 96% { background: #C2E6D6; } 100% { background: #F6C3B4; } }
@keyframes dw-shake { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes dw-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4%); } }
@keyframes dw-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6%) rotate(1deg); } }
@keyframes dw-pop { 0%, 72% { transform: scale(1); } 76% { transform: scale(1.06); } 80%, 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dworry.is-play * { animation: none !important; } .dworry.is-play .dw-s2 { opacity: 1; } .dworry__link { transition: none; } }

/* MadCrypto app: three 3-second scenes (latest, a story alert, a story page) on the app's red, with its
   Orbitron headlines and the red offset frame it puts round photos. The still frame is scene two. */
.mrbot { --red: #8B1A1A; --frame: #D62F2F; --disp: 'Orbitron', var(--font); --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; container-type: inline-size; }
.mrbot__link { display: block; overflow: hidden; border-radius: 20px; background: var(--red); color: #fff; font-weight: 400; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.mrbot__link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35, 36, 40, .22); }
.mrbot__link:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; }
.mrbot__stage { position: relative; height: 236px; overflow: hidden; }
.mrbot__heads b, .mrbot__screens img { position: absolute; opacity: 0; }
.mrbot__heads b { left: 18px; top: 20px; width: 50%; font: 800 25px/1.12 var(--disp); text-transform: uppercase; overflow-wrap: break-word; }
.mrbot__icon { position: absolute; left: 18px; bottom: 20px; width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.mrbot__phone { position: absolute; right: 24px; top: 22px; width: 38%; max-width: 170px; aspect-ratio: 360 / 782; padding: 5px; border-radius: 26px; background: #141414; box-shadow: 7px 7px 0 var(--frame), 0 14px 28px rgba(0, 0, 0, .3); }
.mrbot__screens { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 21px; background: #fff; }
.mrbot__screens img { inset: 0; width: 100%; height: auto; }
.mrbot .mb-s2 { opacity: 1; }
.mrbot__copy { display: block; position: relative; padding: 16px 18px 20px; background: rgba(0, 0, 0, .22); }
.mrbot__kicker { display: block; font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .8); }
.mrbot__title { display: block; margin-top: 6px; font: 800 26px/1 var(--disp); text-transform: uppercase; }
.mrbot__text { display: block; margin-top: 8px; font-size: var(--fs-16); line-height: 1.4; }
.mrbot__badge { display: block; width: 150px; height: auto; margin-top: 14px; }
.mrbot__meta { display: block; margin-top: 10px; font: 500 11px/1.2 var(--mono); color: rgba(255, 255, 255, .8); }
@container (min-width: 520px) {
  .mrbot__link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
  .mrbot__stage { height: auto; min-height: 260px; }
  .mrbot__copy { display: flex; flex-direction: column; justify-content: center; }
}
.mrbot.is-play .mb-s1 { animation: dw-s1 9s infinite; }
.mrbot.is-play .mb-s2 { opacity: 0; animation: dw-s2 9s infinite; }
.mrbot.is-play .mb-s3 { animation: dw-s3 9s infinite; }
.mrbot.is-play .mrbot__icon { animation: mb-ping 9s infinite; }
.mrbot.is-play .mrbot__badge { animation: dw-pop 9s infinite; }
.mrbot.is-paused * { animation-play-state: paused !important; }
/* The icon shakes as the story alert lands (scene two) */
@keyframes mb-ping { 0%, 37% { rotate: 0deg; } 39% { rotate: -8deg; } 41% { rotate: 8deg; } 43% { rotate: -6deg; } 45% { rotate: 4deg; } 47%, 100% { rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .mrbot.is-play * { animation: none !important; } .mrbot.is-play .mb-s2 { opacity: 1; } .mrbot__link { transition: none; } }

/* Word Slip: three 3-second scenes of a round (secret words, friends listening, results) on the game's
   colour blocks (coral, periwinkle, mint), with its condensed headlines and sly mascot. The still
   frame is scene two. */
.wslip { --ink: #1C1C1E; --disp: 'Barlow Condensed', 'Arial Narrow', sans-serif; --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; container-type: inline-size; }
.wslip__link { display: block; overflow: hidden; border-radius: 20px; background: #8583F3; color: var(--ink); font-weight: 400; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.wslip__link:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 28, 30, .2); }
.wslip__link:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; }
.wslip__stage { position: relative; height: 236px; overflow: hidden; container-type: inline-size; }
.wslip__heads b, .wslip__screens img, .wslip__bubble { position: absolute; opacity: 0; }
.wslip__heads b { left: 18px; top: 20px; width: 52%; font: 700 40px/.9 var(--disp); text-transform: uppercase; }
.wslip__mascot { position: absolute; left: 14px; bottom: -6px; width: 30%; max-width: 104px; height: auto; transform-origin: 50% 100%; }
/* The bubble always stops short of the phone. When the picture area is narrow (phones, narrow sidebars,
   the two-column layout) the headline can wrap to three lines, so the bubble moves under it, above a
   smaller mascot. The stage is its own container so this follows the picture's width, not the ad's. */
.wslip__bubble { left: calc(min(30%, 104px) + 10px); right: calc(38% + 30px); bottom: 58px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font: 500 11px/1.25 var(--mono); }
@container (max-width: 380px) { .wslip__heads b { width: calc(62% - 44px); font-size: 32px; } .wslip__bubble { left: 14px; right: calc(38% + 24px); top: 114px; bottom: auto; font-size: 10px; } .wslip__mascot { max-width: 80px; } }
/* "Free" sticker over the phone's top corner, on every scene */
.wslip__free { position: absolute; z-index: 2; top: 12px; right: 8px; padding: 5px 12px 4px; border: 2px solid var(--ink); border-radius: 999px; background: #F4C25B; font: 700 22px/1 var(--disp); text-transform: uppercase; letter-spacing: .02em; rotate: 8deg; box-shadow: 3px 3px 0 var(--ink); }
.wslip__phone { position: absolute; right: 18px; top: 22px; width: 38%; max-width: 170px; aspect-ratio: 600 / 1304; padding: 5px; border-radius: 26px; background: var(--ink); box-shadow: 0 14px 28px rgba(28, 28, 30, .28); }
.wslip__screens { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 21px; background: var(--ink); }
.wslip__screens img { inset: 0; width: 100%; height: auto; }
.wslip .ws-s2 { opacity: 1; }
.wslip__copy { display: block; position: relative; padding: 16px 18px 20px; background: rgba(255, 255, 255, .45); }
.wslip__kicker { display: block; font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #33334F; }
.wslip__title { display: block; margin-top: 6px; font: 700 30px/.95 var(--disp); text-transform: uppercase; }
.wslip__text { display: block; margin-top: 8px; font-size: var(--fs-16); line-height: 1.4; }
.wslip__badge { display: block; width: 150px; height: auto; margin-top: 14px; }
.wslip__meta { display: block; margin-top: 10px; font: 500 11px/1.2 var(--mono); color: #33334F; }
@container (min-width: 520px) {
  .wslip__link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
  .wslip__stage { height: auto; min-height: 260px; }
  .wslip__copy { display: flex; flex-direction: column; justify-content: center; }
}
.wslip.is-play .wslip__link { animation: ws-bg 9s infinite; }
.wslip.is-play .ws-s1 { animation: dw-s1 9s infinite; }
.wslip.is-play .ws-s2 { opacity: 0; animation: dw-s2 9s infinite; }
.wslip.is-play .ws-s3 { animation: dw-s3 9s infinite; }
.wslip.is-play .wslip__mascot { animation: ws-sly 3s ease-in-out infinite; }
.wslip.is-play .wslip__badge { animation: dw-pop 9s infinite; }
.wslip.is-play .wslip__free { animation: ws-free 3s ease-in-out infinite; }
.wslip.is-paused * { animation-play-state: paused !important; }
@keyframes ws-bg { 0%, 33% { background: #F26B5B; } 37%, 63% { background: #8583F3; } 70%, 96% { background: #9EE4DC; } 100% { background: #F26B5B; } }
/* The mascot sways and peeks, as if it's slipping a word in */
@keyframes ws-free { 0%, 80%, 100% { scale: 1; } 88% { scale: 1.12; } }
@keyframes ws-sly { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
@media (prefers-reduced-motion: reduce) { .wslip.is-play * { animation: none !important; } .wslip.is-play .ws-s2 { opacity: 1; } .wslip__link { transition: none; } }

/* ---------- "Get the app" bar (iPhone and iPad readers outside Safari) ---------- */
.mr-get { display: flex; align-items: center; gap: 10px; padding: 8px var(--gutter) 8px 8px; background: var(--panel); border-bottom: 1px solid var(--rule); font-family: var(--font); color: var(--text); }
.mr-get[hidden] { display: none; }
.mr-get__x { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--c-gray-dark); cursor: pointer; }
.mr-get__x .icon, .mr-get__x svg { width: 16px; height: 16px; }
.mr-get__icon { flex: none; width: 40px; height: 40px; border-radius: 9px; }
.mr-get__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.mr-get__text strong { font-size: var(--fs-14); font-weight: 700; }
.mr-get__text small { font-size: var(--fs-12); color: var(--c-gray-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-get__go { flex: none; padding: 6px 18px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: var(--fs-14); font-weight: 700; text-decoration: none; }
.mr-get__go:hover, .mr-get__go:focus-visible { background: var(--c-secondary); color: #fff; }
button.mr-get__go { border: 0; font-family: inherit; line-height: inherit; cursor: pointer; }
html.darkmode--activated .mr-get__go { background: var(--c-secondary); }
html.darkmode--activated .mr-get__go:hover, html.darkmode--activated .mr-get__go:focus-visible { background: #f7931a; color: #111; }
