/* CashIn Now — the live wire of the CashIn family: warm paper, near-black ink, a live red dot, electric violet links and
   lime highlights, under a stripe of every CashIn newsroom's color. Syne carries the wordmark and headlines (wide,
   quick, a little loud); Manrope carries everything else. Story cards borrow each newsroom's own colors and fonts,
   so you can tell at a glance where a story comes from. */

:root {
  --paper: #FAF7F2;
  --paper-2: #F1ECE4;
  --ink: #0B0B12;
  --ink-2: #57535F;
  --note: #5B2BFF;      /* links and buttons: electric violet */
  --note-2: #4518E6;
  --hot: #FF3D2E;       /* the live dot */
  --hot-ink: #D3281A;   /* red that reads as text on paper */
  --flash: #C6F432;     /* lime: highlights */
  --red: #E5201A;       /* breaking */
  --bar: #0B0B12;       /* section bar */
  --bar-ink: #DAD6E4;
  --seal: #B42318;      /* corrections */
  --brass: #8C6B22;     /* sponsored */
  --rule: #E3DDD3;
  --focus: #5B2BFF;
  --band: #0B0B12;
  --display: "Syne", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sign: "Manrope", system-ui, sans-serif;
  --head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --read: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0B12; --paper-2: #15141E; --ink: #F1EEF8; --ink-2: #ABA6BA;
    --note: #A48BFF; --note-2: #C2B2FF; --hot: #FF5A4C; --hot-ink: #FF8A7E; --flash: #C6F432; --red: #FF4A3D; --bar: #050509; --bar-ink: #CFCADB;
    --seal: #FF8A80; --brass: #D4B566; --rule: #29273A; --focus: #A48BFF; --band: #050509;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B0B12; --paper-2: #15141E; --ink: #F1EEF8; --ink-2: #ABA6BA;
  --note: #A48BFF; --note-2: #C2B2FF; --hot: #FF5A4C; --hot-ink: #FF8A7E; --flash: #C6F432; --red: #FF4A3D; --bar: #050509; --bar-ink: #CFCADB;
  --seal: #FF8A80; --brass: #D4B566; --rule: #29273A; --focus: #A48BFF; --band: #050509;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-synthesis: none; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--read);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { 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(--note); color: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ---------------------------------------------------------------- masthead */
.masthead { background: var(--paper); }
.masthead__band { height: 8px; overflow: hidden; background: var(--band); }
/* the family stripe: one band of color per CashIn newsroom, CashIn Now in front */
.family { display: flex; height: 100%; }
.family i { flex: 1; background: var(--c); }
.family i:first-child { flex: 1.6; }
.masthead__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: end; gap: 12px 22px; padding-top: 16px; padding-bottom: 12px; }
.wordmark { text-decoration: none; display: inline-flex; align-items: baseline; gap: .18em; color: var(--ink); font: 800 clamp(1.7rem, 4.2vw, 2.6rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
/* "CashIn" small and quick, "NOW" big, with a live dot */
.wordmark__cash { font: 800 .5em/1 var(--head); letter-spacing: -.01em; text-transform: none; align-self: center; padding: .28em .45em; border-radius: .35em; background: var(--ink); color: var(--paper); }
.wordmark__now { position: relative; font-weight: 800; letter-spacing: -.035em; padding-right: .42em; }
.wordmark__now::after { content: ""; position: absolute; right: 0; top: .14em; width: .26em; height: .26em; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 60%, transparent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .32em transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.go { display: inline-block; width: .5em; height: .5em; margin-right: .5em; border-radius: 50%; background: var(--hot); vertical-align: .05em; animation: pulse 1.8s ease-out infinite; }
.wordmark--small { font-size: 1.5rem; }
.masthead__date { margin: 0; font: 600 .82rem/1.35 var(--head); color: var(--ink-2); }
.masthead__tag { display: block; font-weight: 400; }
.search input { width: 230px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); font: 500 .9rem var(--head); }
.tipbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--flash); color: #0B0B12; font: 800 .8rem/1.1 var(--head); letter-spacing: .01em; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 2px #0B0B12; }
.tipbtn b { font-weight: 700; }
.tipbtn:hover { filter: brightness(1.06); }
.tipbtn::before { content: "</>"; font: 800 .74rem/1 var(--head); }
.search input:focus { background: var(--paper); }
.sections-bar { background: var(--bar); }
.sections { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.sections a:last-child { margin-right: 40px; }
.sections::-webkit-scrollbar { display: none; }
.sections a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 11px 11px 9px; text-decoration: none; font: 700 .86rem var(--head); font-stretch: 86%; letter-spacing: .03em; text-transform: uppercase; color: var(--bar-ink); border-bottom: 3px solid transparent; }
.sections a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sec, var(--hot)); box-shadow: 0 0 6px var(--sec, var(--hot)); }
.sections a.sections__start { color: #FF8A7E; }
.sections a.sections__tool { color: #E4FF8F; }
.sections a.sections__grp { pointer-events: none; padding-inline: 4px 2px; font-size: .64rem; letter-spacing: .14em; color: rgb(255 255 255 / .45); }
.sections a.sections__grp::before { display: none; }
.sections__sep { flex: none; width: 1px; margin: 10px 6px; background: rgb(255 255 255 / .22); }
.sections a.sections__home::before { display: none; }
.sections a:hover { color: #fff; border-bottom-color: rgb(255 255 255 / .35); }
.sections a[aria-current="page"] { color: #fff; border-bottom-color: var(--flash); }
.sections a:focus-visible { outline-color: #fff; outline-offset: -3px; }
.ticker { background: #C8232F; color: #fff; }
.ticker__in { display: flex; align-items: center; gap: 14px; min-height: 38px; overflow: hidden; }
.ticker__label { flex: none; padding: 3px 8px; background: #fff; color: var(--red); font: 900 .78rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; animation: blink 1.6s steps(2, start) infinite; }
.ticker ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker ul::-webkit-scrollbar { display: none; }
.ticker li { flex: none; font: 650 .92rem/1.3 var(--head); white-space: nowrap; }
.ticker li + li::before { content: "•"; margin-right: 26px; opacity: .7; }
.ticker a { color: #fff; text-decoration: none; }
.ticker a:hover { text-decoration: underline; }
.ticker time { font-weight: 500; opacity: .8; margin-left: 6px; font-size: .8rem; }
@keyframes blink { to { opacity: .55; } }
.notice { margin: 12px auto 0; padding: 10px 16px; background: var(--paper-2); border-left: 4px solid var(--seal); font: 600 .95rem var(--head); }

/* ---------------------------------------------------------------- ads (LBM) */
.ad { display: grid; justify-items: center; gap: 4px; margin: 28px auto; }
.ad__label { font: 500 .72rem/1 var(--head); color: var(--ink-2); letter-spacing: .02em; }
.ad .lbm-slot { max-width: 100%; }
.ad-top .ad { margin: 14px auto 6px; }
.ad--leaderboard .lbm-slot { width: 728px; min-height: 90px; }
.ad--sidebar .lbm-slot { width: 300px; min-height: 250px; }
.ad--incontent { padding: 14px 0; border-block: 1px solid var(--rule); }
.ad--incontent .lbm-slot { width: 100%; min-height: 100px; }
.ad--video .lbm-slot { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; }
.ad--mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgb(0 0 0 / .08); }
.ad--mobile .ad__label { display: none; }
.ad--mobile .lbm-slot { width: 320px; height: 50px; }
.ad__close { position: absolute; right: 6px; top: -30px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); font: 700 1.1rem/1 var(--head); cursor: pointer; }
.ad--empty, .ad[hidden] { display: none !important; }
@media (max-width: 767px) { body:has(.ad--mobile:not(.ad--empty)) { padding-bottom: 66px; } }

/* ---------------------------------------------------------------- seals & tags */
/* section badges, shaped by desk: a shield (Fix), a stair step (Build), a card (Use), a file tab (Know) */
.seal { --seal: var(--ink); --s: 42px; position: relative; flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 10px; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--seal) 78%, #fff) 0%, var(--seal) 55%, color-mix(in srgb, var(--seal) 78%, #000) 100%);
  font: 700 .52rem/1 var(--sign); letter-spacing: .02em; }
.seal svg { width: 56%; height: 56%; position: relative; }
.seal--shield { border-radius: 0; clip-path: polygon(50% 0, 100% 14%, 100% 52%, 92% 74%, 72% 92%, 50% 100%, 28% 92%, 8% 74%, 0 52%, 0 14%); height: calc(var(--s) * 1.08); }
.seal--shield svg { margin-top: -6%; }
.seal--step { border-radius: 0; clip-path: polygon(0 34%, 34% 34%, 34% 0, 100% 0, 100% 100%, 0 100%); }
.seal--step svg { width: 50%; height: 50%; margin: 18% 0 0 14%; }
.seal--card { width: calc(var(--s) * 1.3); height: calc(var(--s) * .84); border-radius: calc(var(--s) * .14); }
.seal--card::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 13%; height: 2px; border-radius: 1px; background: rgb(255 255 255 / .55); }
.seal--card svg { margin-top: -8%; width: 50%; height: 50%; }
.seal--tab { border-radius: 3px 10px 6px 6px; clip-path: polygon(0 0, 46% 0, 56% 14%, 100% 14%, 100% 100%, 0 100%); }
.seal--tab svg { margin-top: 14%; }
.seal--lg { --s: 58px; font-size: .74rem; }
.seal--sm { --s: 26px; font-size: .4rem; }
.kicker { font: 600 .72rem/1.25 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: var(--sec, var(--ink)); text-decoration: none; }
.kicker:hover { text-decoration: underline; }
.flag { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 3px; font: 800 .64rem/1.6 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.flag--breaking { background: var(--red); color: #fff; }
.flag--excl { background: var(--flash); color: #3A2A00; }
.flag--steps { background: color-mix(in srgb, var(--hot) 14%, var(--paper)); color: var(--hot-ink); border: 1px solid var(--hot); padding: 0 6px; }
.flag--steps::before { content: "✓"; margin-right: 4px; }
.flag--rumor { border: 1.5px dashed var(--hot-ink); color: var(--hot-ink); padding: 0 6px; }
.flag--video { background: var(--ink); color: var(--paper); }
.flag--video::before { content: ""; width: 0; height: 0; margin-right: 5px; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.meta { font: 650 .76rem/1.5 var(--head); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tag-ai { color: var(--hot-ink); font-family: var(--head); font-weight: 650; }
.tag-sponsored { color: var(--brass); font: 700 .8rem/1.4 var(--head); }

/* ---------------------------------------------------------------- front page */
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.lead__story { display: grid; gap: 14px; align-content: start; }
.lead__top { display: flex; gap: 14px; align-items: center; }
.lead h1, .lead h2.lead__title { margin: 0; font: 600 clamp(1.9rem, 4.2vw, 3.1rem)/1.08 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.lead__title a { text-decoration: none; }
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-decoration-color: var(--hot); }
.lead__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead__dek { margin: 0; font: 400 1.28rem/1.45 var(--read); color: var(--ink-2); max-width: 46ch; }
.tape { border-left: 1px solid var(--rule); padding-left: 24px; }
.tape h2, .rail h2, .shelf__head h2, .block h2 { margin: 0 0 12px; font: 600 .86rem/1.2 var(--sign); text-transform: uppercase; letter-spacing: .06em; }
.tape h2::before, .rail h2::before, .shelf__head h2::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .55em; border-radius: 2px; background: var(--hot); vertical-align: .02em; }
.tape ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tape li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 10px; }
.tape time { font: 700 .76rem/1.6 var(--head); color: var(--hot-ink); font-variant-numeric: tabular-nums; }
.tape a { font: 620 1rem/1.3 var(--head); font-stretch: 92%; text-decoration: none; }
.tape a:hover { text-decoration: underline; }

.front, .reading { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding: 26px 0 44px; }
.rail { display: grid; gap: 30px; align-content: start; }
.rail__sticky { position: sticky; top: 12px; display: grid; gap: 26px; }
.rail .ad { margin: 0; }

.feed { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.row--thumb { grid-template-columns: 42px minmax(0, 1fr) 168px; }
.row__thumb { position: relative; display: block; align-self: start; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row__thumb--play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgb(0 0 0 / .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l10-6z' fill='white'/%3E%3C/svg%3E") center / 20px no-repeat; }
.row:first-child { padding-top: 0; }
.row h3 { margin: 2px 0 6px; font: 600 1.2rem/1.22 var(--display); letter-spacing: 0; text-wrap: balance; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }
.row p { margin: 0 0 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.feed .ad--incontent { margin: 0; border-top: 0; padding: 18px 0; border-bottom: 1px solid var(--rule); }

.shelf { padding: 30px 0 6px; }
.shelf__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.shelf__head h2 { margin: 0; flex: 1; font-size: 1.2rem; }
.shelf__head a.more { font: 650 .85rem var(--head); color: var(--note); }
.shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shelf__grid article { border-top: 4px solid var(--sec, var(--note)); padding-top: 10px; }
.shelf__grid h3 { margin: 0 0 6px; font: 600 1rem/1.25 var(--display); letter-spacing: 0; }
.shelf__grid h3 a { text-decoration: none; }
.shelf__grid p { margin: 0 0 6px; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }

.ranked { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 12px; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 1.8rem 1fr; gap: 8px; }
.ranked li::before { content: counter(r, decimal-leading-zero); font: 600 .9rem/1.4 var(--sign); color: var(--hot-ink); }
.ranked a { font: 600 .98rem/1.28 var(--head); font-stretch: 92%; text-decoration: none; }
.ranked a:hover { text-decoration: underline; }

.box { background: var(--paper-2); padding: 18px; border-radius: 4px; }
.box p { margin: 0 0 10px; font-size: .95rem; }
.box h2 { margin-bottom: 6px; }

/* ---------------------------------------------------------------- story page */
.story { min-width: 0; }
.story__head { display: grid; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.story__head h1 { margin: 0; font: 600 clamp(1.85rem, 4vw, 2.9rem)/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.story__dek { margin: 0; font: 400 1.3rem/1.45 var(--read); color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline strong { font: 700 .9rem var(--head); display: block; }
.disclose { margin: 0; font: 500 .85rem/1.45 var(--head); color: var(--ink-2); }
.disclose a { color: var(--note); }
.sponsor-line { margin: 0; padding: 8px 12px; border-left: 4px solid var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--paper)); font: 600 .9rem var(--head); }
.correction { margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid var(--seal); background: color-mix(in srgb, var(--seal) 8%, var(--paper)); font-size: .98rem; }
.correction strong { font-family: var(--head); color: var(--seal); }

.body { font-size: 1.16rem; line-height: 1.72; max-width: 68ch; padding-top: 8px; }
.body p { margin: 0 0 1.05em; }
.body h2, .body h3 { font: 600 1.25rem/1.25 var(--display); letter-spacing: 0; margin: 1.5em 0 .5em; }
.body h3 { font-size: 1.2rem; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.body li { margin-bottom: .35em; }
.body blockquote { margin: 1.2em 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--hot); font-style: italic; color: var(--ink-2); }
.body a { color: var(--note); text-decoration-color: var(--hot); text-decoration-thickness: 2px; }
.body ol > li::marker { font: 600 .9em var(--sign); color: var(--hot-ink); }
.body .ad { max-width: 100%; }

.sources { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); max-width: 68ch; }
.sources h2, .made h2, .engage h2, .talk h2 { font: 750 1.1rem/1.2 var(--head); margin: 0 0 10px; }
.sources ol { margin: 0; padding-left: 1.3em; font-size: .98rem; }
.sources li { margin-bottom: 6px; }
.sources small { color: var(--ink-2); font-family: var(--head); }
.made { margin-top: 18px; max-width: 68ch; }
.made summary { cursor: pointer; font: 650 .95rem var(--head); color: var(--note); }
.made dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: .95rem; }
.made dt { font: 600 .85rem var(--head); color: var(--ink-2); }
.made dd { margin: 0; }

.engage { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0 0; padding: 16px 0; border-block: 1px solid var(--rule); }
.engage h2 { margin: 0 8px 0 0; font-size: 1rem; }
.btn, .chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--note); background: var(--note); color: var(--paper); font: 650 .9rem/1 var(--head); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--note-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { background: transparent; color: var(--ink); border-color: var(--rule); }
.chip:hover { border-color: var(--note); }
.chip[aria-pressed="true"] { background: var(--note); color: var(--paper); border-color: var(--note); }
.chip .n { font-variant-numeric: tabular-nums; }

.talk { margin-top: 34px; max-width: 68ch; }
.talk__intro { margin: -4px 0 14px; color: var(--ink-2); font-size: .98rem; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font: 600 .85rem var(--head); }
.form input:not([type="checkbox"]):not([type="radio"]), .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); font: 400 1rem/1.45 var(--read); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; font: 600 .9rem var(--head); color: var(--note); }
.form__msg.bad { color: var(--seal); }
.thread { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.thread li { display: grid; gap: 4px; }
.thread .who { font: 700 .88rem var(--head); }
.thread .who small { font-weight: 500; color: var(--ink-2); margin-left: 8px; }
.thread .who .ai { color: var(--hot-ink); }
.thread p { margin: 0; font-size: 1rem; }
.qa { border-left: 3px solid var(--hot); padding-left: 14px; }
.qa .q { font-weight: 600; }

.related { padding: 8px 0 40px; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- sections, search, static */
.section-head { display: flex; gap: 16px; align-items: center; padding: 26px 0 8px; }
.section-head h1 { margin: 0; font: 700 clamp(1.9rem, 4.4vw, 2.9rem)/1.05 var(--display); letter-spacing: 0; }
.section-head__group { display: block; margin-bottom: 4px; font: 800 .74rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--hot-ink); }
.section-head p { margin: 4px 0 0; color: var(--ink-2); }
.page { max-width: 70ch; padding: 26px 0 50px; }
.page h1 { font: 700 clamp(1.85rem, 4.2vw, 2.7rem)/1.08 var(--display); letter-spacing: 0; margin: 0 0 14px; }
.page h2 { font: 600 1.2rem/1.25 var(--display); letter-spacing: 0; margin: 1.6em 0 .5em; }
.page p, .page li { font-size: 1.08rem; }
.empty { padding: 30px; background: var(--paper-2); border-radius: 4px; font-family: var(--head); }
.pager { display: flex; gap: 10px; padding: 20px 0; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 18px 0; }
.tier { border: 1px solid var(--rule); border-radius: 4px; padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--paper); }
.tier h3 { margin: 0; font: 600 1.1rem var(--display); letter-spacing: 0; }
.tier p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.refbox { padding: 16px; border: 2px dashed var(--hot); border-radius: 8px; margin: 16px 0; }
.refbox code { font: 800 1.5rem var(--head); letter-spacing: .06em; color: var(--note); }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: 30px; background: var(--paper-2); }
.footer__band { height: 22px; overflow: hidden; background: var(--band); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 26px; padding-bottom: 18px; }
.footer h2 { font: 800 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.footer nav a { display: block; font: 500 .9rem/1.9 var(--head); text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__about { font-size: .95rem; color: var(--ink-2); max-width: 36ch; }
.footer__legal { font: 500 .78rem var(--head); color: var(--ink-2); padding-bottom: 26px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .lead { grid-template-columns: 1fr; gap: 26px; }
  .tape { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .front, .reading { grid-template-columns: minmax(0, 1fr); }
  .rail__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .masthead__inner { grid-template-columns: 1fr; gap: 8px; }
  .masthead__date { display: none; }
  .search input { width: 100%; }
  .shelf__grid { grid-template-columns: 1fr; gap: 18px; }
  .row { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .row .seal { width: 32px; height: 26px; border-radius: 7px; font-size: .45rem; }
  .row h3 { font-size: 1.42rem; }
  .body { font-size: 1.1rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .ad, .masthead__band, .sections-bar, .search, .rail, .engage, .talk, .footer { display: none !important; } }
@media (min-width: 768px) { .lbm-mobile-only { display: none !important; } }
@media (max-width: 767px) { .lbm-desktop-only { display: none !important; } }

/* ---------------------------------------------------------------- editions (divisions) */
.brand { display: grid; gap: 6px; justify-items: start; }
.edition { position: relative; font-family: var(--head); }
.edition summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 10px 4px 8px; border: 1px solid var(--rule); border-radius: 8px; font: 700 .85rem/1.2 var(--head); color: var(--note); background: var(--paper); }
.edition summary::-webkit-details-marker { display: none; }
.edition summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.edition[open] summary { border-color: var(--note); }
.edition__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(340px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 12px 30px rgb(0 0 0 / .14); }
.edition__panel input { width: 100%; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); font: 500 .9rem var(--head); margin-bottom: 8px; }
.edition__group { padding: 6px 0; border-top: 1px solid var(--rule); }
.edition__group:first-of-type { border-top: 0; }
.edition__group h3, .edition__group h2 { margin: 2px 0 4px; font: 700 .78rem/1.3 var(--head); color: var(--ink-2); }
.edition__panel a { display: block; padding: 5px 6px; border-radius: 4px; text-decoration: none; font: 550 .92rem/1.3 var(--head); }
.edition__panel a:hover { background: var(--paper-2); }
.edition__panel a[aria-current="true"] { color: var(--note); font-weight: 750; }
.edition__all { margin-top: 6px; color: var(--note); }
[data-hidden] { display: none !important; }

.kickers { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.place { font: 600 .8rem/1.2 var(--head); color: var(--ink-2); text-decoration: none; padding: 1px 7px; border: 1px solid var(--rule); border-radius: 999px; }
.place:hover { color: var(--ink); border-color: var(--ink-2); }
.meta .place { font-size: .74rem; }
.place--lead { display: inline-block; margin-bottom: 6px; color: var(--hot-ink); border-color: color-mix(in srgb, var(--hot) 45%, transparent); }
.shelf--places .shelf__grid article { border-top-color: var(--note); }

.facets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.facets .chip { padding: 6px 12px; font-size: .85rem; }
.facets .chip .n { color: var(--ink-2); font-weight: 500; }
.facets .chip[aria-current="true"] { background: var(--note); color: var(--paper); border-color: var(--note); }
.facets .chip[aria-current="true"] .n { color: inherit; opacity: .8; }
.facets--sections { margin-top: -6px; }
.searchform { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; max-width: 720px; margin-bottom: 14px; }
.searchform .btn { margin-bottom: 2px; }

.page--wide { max-width: 980px; }
.edition-find { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); font: 500 1rem var(--head); margin: 6px 0 18px; }
.edition-dir { columns: 3 240px; column-gap: 32px; }
.edition-dir .edition__group { break-inside: avoid; margin-bottom: 16px; border-top: 0; }
.edition-dir ul { list-style: none; margin: 0; padding: 0; }
.edition-dir li { padding: 5px 0; border-bottom: 1px dashed var(--rule); }
.edition-dir li a { font: 600 1rem var(--display); letter-spacing: 0; text-decoration: none; }
.edition-dir li a:hover { text-decoration: underline; }
.edition-dir li small { display: block; color: var(--ink-2); font: 500 .8rem var(--head); }
.edition-next { columns: 3 180px; padding-left: 1.1em; font-family: var(--head); color: var(--ink-2); }

.footer__grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; }
  .searchform { grid-template-columns: 1fr; }
  .brand { grid-auto-flow: column; justify-content: space-between; align-items: center; width: 100%; }
  .edition__panel { left: auto; right: 0; }
}

/* ---------------------------------------------------------------- video, galleries, tip line */
.player { margin: 6px 0 18px; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.player__frame iframe, .player__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player figcaption { margin-top: 6px; font: 600 .78rem var(--head); color: var(--ink-2); }
.player__mark { position: absolute; right: 3%; top: 4%; padding: 3px 8px; font: 700 clamp(.7rem, 1.8vw, .95rem)/1 var(--sign); letter-spacing: .02em; color: #fff; background: rgb(0 0 0 / .35); border-radius: 3px; pointer-events: none; opacity: .85; }
.player__mark b { font-weight: 400; color: var(--flash); }
.player__mark i { font: 850 .62em/1 var(--head); font-style: normal; letter-spacing: .08em; margin-left: 4px; padding: 2px 4px; background: var(--flash); color: #3A2A00; vertical-align: .15em; }

.vwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; padding: 6px 0 24px; }
.vcard { display: grid; gap: 8px; align-content: start; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #000; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.vcard__media:hover img { transform: scale(1.04); }
.vcard__blank { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sec) 60%, #000), #000); }
.vcard__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hot); color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .35); }
.vcard__excl { position: absolute; left: 10px; top: 10px; padding: 2px 7px; background: var(--flash); color: #3A2A00; font: 850 .66rem/1.5 var(--head); letter-spacing: .07em; text-transform: uppercase; border-radius: 3px; }
.vcard h3 { margin: 2px 0 2px; font: 600 .95rem/1.28 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.vcard h3 a { text-decoration: none; }
.vcard h3 a:hover { text-decoration: underline; }

.spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; padding: 6px 0 24px; }
.spot { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: var(--paper); }
.spot__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot__media--type { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--sec, var(--hot)) 0 14px, color-mix(in srgb, var(--sec, var(--hot)) 82%, #000) 14px 28px); text-decoration: none; }
.spot__media--type span { padding: 8px 14px; border-radius: 8px; background: var(--paper); color: var(--ink); font: 600 .84rem/1.1 var(--sign); letter-spacing: .04em; box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
.spot__body { display: grid; gap: 6px; align-content: start; padding: 12px 14px 14px; }
.spot h3 { margin: 0; font: 700 1.08rem/1.2 var(--display); }
.spot h3 a { text-decoration: none; }
.spot p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--ink-2); }

.tipbox { position: relative; overflow: hidden; border: 0; background: radial-gradient(120% 90% at 0% 0%, #3A1BFF 0%, #0B0B12 62%); color: #F1EEF8; padding: 20px 20px 24px; border-radius: 16px; }
.tipbox::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #FF3D2E, #FF2D6F, #F0284A, #4338FF, #1749B3, #00A67E, #C9A227, #FF5A1F, #D9432B, #E4572E); }
.tipbox h2 { margin: 0 0 6px; }
.tipbox h2::before { display: none !important; }
.tipbox p { margin: 0 0 12px; font-size: .95rem; }
.tipbox .btn { background: var(--flash); border-color: var(--flash); color: #0B0B12; }
.tipbox h2 { color: #fff; }
.lead-in { font-size: 1.15rem; }
.tipform { margin: 10px 0 26px; }
.tipform small { font: 500 .8rem var(--head); color: var(--ink-2); }
.form .check { display: flex; gap: 8px; align-items: flex-start; font: 500 .92rem/1.4 var(--head); }
.form .check input { margin-top: 3px; }
.form .check a { margin: 0; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form fieldset { margin: 4px 0 6px; padding: 12px 14px 14px; border: 1px solid var(--rule); border-radius: 12px; }
.form legend { padding: 0 6px; font: 700 .9rem/1.3 var(--head); }
.form .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .checks .check { align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); cursor: pointer; font-weight: 650; }
.form .checks .check input { margin: 0; accent-color: var(--note); }
.form .checks .check:has(input:checked) { border-color: var(--note); background: color-mix(in srgb, var(--note) 10%, var(--paper)); color: var(--note); }
.rules { border-top: 1px solid var(--rule); padding-top: 4px; }
.rules ul { padding-left: 1.2em; }
.rules li { font-size: 1rem; margin-bottom: 4px; }
.rumor-note { margin: 0; padding: 10px 14px; border: 1.5px dashed var(--hot-ink); border-radius: 6px; font: 600 .92rem/1.45 var(--head); color: var(--hot-ink); }
.excl-note { margin: 0; padding: 10px 14px; background: color-mix(in srgb, var(--flash) 35%, var(--paper)); border-left: 4px solid var(--ink); font: 600 .92rem/1.45 var(--head); }

@media (max-width: 1120px) { .masthead__inner { grid-template-columns: auto 1fr auto; } .masthead__date { display: none; } }
@media (max-width: 767px) {
  .masthead__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { grid-column: 1 / -1; }
  .search { grid-column: 1; order: 3; }
  .tipbtn { order: 4; }
  .tipbtn { padding: 6px 10px; font-size: .8rem; }
  .row--thumb { grid-template-columns: 30px minmax(0, 1fr); }
  .row__thumb { grid-column: 2; max-width: 100%; }
  .ticker li { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { .ticker__label { animation: none; } }



/* ---------------------------------------------------------------- CashIn Now: the live front, newsroom chips, verticals, rankings, the widget pages */
.masthead { border-bottom: 0; }
.livepill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; margin-right: 6px; border-radius: 999px; background: var(--hot); color: #fff; font: 800 .68rem/1.5 var(--head); letter-spacing: .1em; text-transform: uppercase; vertical-align: 1px; }
.livepill i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.8s ease-out infinite; }
.sections a { font: 750 .8rem var(--head); letter-spacing: .04em; }
.sections a.sections__start { color: #fff; }
.sections a.sections__start .go { margin-right: .35em; }
.sections__grp { flex: none; align-self: center; padding: 0 2px 0 2px; font: 800 .6rem/1 var(--head); letter-spacing: .16em; color: rgb(255 255 255 / .42); }
.wordmark--small .wordmark__now::after { top: .12em; }

/* seals shaped by group: a burst (Now), a coin (Money), a ticket (Play), a leaf (Life), a chip (Tech) */
.seal { font-family: var(--head); font-weight: 800; }
.seal--burst { border-radius: 0; clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 57%, 96% 77%, 74% 80%, 68% 100%, 50% 88%, 32% 100%, 26% 80%, 4% 77%, 15% 57%, 0 40%, 20% 32%, 18% 10%, 39% 18%); }
.seal--burst svg { width: 48%; height: 48%; }
.seal--coin { border-radius: 50%; box-shadow: inset 0 0 0 3px rgb(255 255 255 / .28); }
.seal--ticket { border-radius: 8px; -webkit-mask: radial-gradient(circle at 0 50%, transparent 5px, #000 5.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, #000 5.5px) right / 51% 100% no-repeat; mask: radial-gradient(circle at 0 50%, transparent 5px, #000 5.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, #000 5.5px) right / 51% 100% no-repeat; }
.seal--leaf { border-radius: 4px 50% 4px 50%; }
.seal--chip { border-radius: 9px; outline: 2px dashed color-mix(in srgb, var(--seal) 55%, transparent); outline-offset: 2px; }

.appchip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--app) 13%, var(--paper)); color: color-mix(in srgb, var(--app) 82%, var(--ink)); font: 800 .7rem/1.6 var(--head); letter-spacing: .03em; white-space: nowrap; }
.appchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--app); }
a.appchip-link { text-decoration: none; }
a.appchip-link:hover .appchip { background: var(--app); color: #fff; }
a.appchip-link:hover .appchip::before { background: #fff; }

/* the hero: the lead story as a big card, the next five beside it */
.nowhero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 26px; padding: 22px 0 18px; }
.nowhero__lead { position: relative; }
.nowhero__lead .cn-card { min-height: 420px; border-radius: 22px; padding: 22px 24px 20px; }
.nowhero__lead .cn-hook { margin-top: auto; font-size: clamp(30px, 4.2vw, 50px); -webkit-line-clamp: 5; }
.nowhero__lead .cn-foot { margin-top: 8px; }
.nowhero__lead .cn-teaser { font-size: 17px; -webkit-line-clamp: 3; max-width: 52ch; }
.nowhero__lead .cn-top { font-size: 11.5px; }
.nowhero__lead .cn-cta { padding: 11px 18px; font-size: 14px; }
.nowhero__lead .cn-inside span { font-size: 12px; padding: 4px 10px; }
.nowhero__kicker { position: absolute; z-index: 2; right: 18px; top: -11px; padding: 3px 10px; border-radius: 999px; background: var(--flash); color: #0B0B12; font: 800 .7rem/1.5 var(--head); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 0 2px var(--paper); }
.nowhero__next h2, .front h2.strip, .vband h2, .cardwall h2, .shelf__head h2 { margin: 0 0 10px; font: 800 1.1rem/1.15 var(--display); letter-spacing: -.01em; text-transform: none; }
.nowhero__next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: n; }
.nowhero__next li { counter-increment: n; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.nowhero__next li:first-child { border-top: 0; padding-top: 2px; }
.nowhero__next li::before { content: counter(n); grid-row: span 2; font: 800 1.7rem/1 var(--display); color: var(--app, var(--hot)); }
.nowhero__next h3 { margin: 0; font: 750 1.06rem/1.25 var(--head); text-wrap: balance; }
.nowhero__next h3 a { text-decoration: none; }
.nowhero__next h3 a:hover { text-decoration: underline; text-decoration-color: var(--app); text-decoration-thickness: 2px; }
.nowhero__next .meta { grid-column: 2; }

/* the live bar */
.livebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 700 .86rem/1.3 var(--head); }
.livebar__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hot); animation: pulse 1.8s ease-out infinite; }
.livebar__count { margin-left: auto; color: rgb(255 255 255 / .65); font-weight: 600; }
.livebar button { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--flash); color: #0B0B12; font: 800 .82rem var(--head); cursor: pointer; }
.livebar__apps { display: flex; flex-wrap: wrap; gap: 4px; }
.livebar__apps i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); opacity: .9; }

/* the stream */
.front { grid-template-columns: minmax(0, 1fr) 320px; }
.nrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.nrow--thumb { grid-template-columns: minmax(0, 1fr) 150px; column-gap: 16px; }
.nrow--thumb .nrow__thumb { grid-column: 2; grid-row: 1 / span 4; }
.nrow__thumb { display: block; aspect-ratio: 4 / 3; border-radius: 10px; background: #000 center / cover no-repeat; }
.nrow__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.nrow__sec { font: 700 .74rem/1.2 var(--head); color: var(--ink-2); letter-spacing: .02em; }
.nrow h3 { margin: 2px 0 0; font: 750 1.22rem/1.24 var(--head); letter-spacing: -.005em; text-wrap: balance; }
.nrow h3 a { text-decoration: none; }
.nrow h3 a:hover { text-decoration: underline; text-decoration-color: var(--app, var(--hot)); text-decoration-thickness: 2px; }
.nrow p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.nrow .meta { margin-top: 4px; }
.nrow.is-new { animation: arrive 1.2s ease; }
@keyframes arrive { from { background: color-mix(in srgb, var(--flash) 40%, transparent); } to { background: transparent; } }
.nrow--now h3 { font-family: var(--display); font-weight: 800; }
.reason { display: inline-flex; align-items: center; gap: 5px; font: 700 .74rem/1.2 var(--head); color: var(--hot-ink); }
.reason::before { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid currentColor; }
.flag--video { background: var(--ink); color: var(--paper); }

/* rail: the rankings in tabs */
.ranks { border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px 10px; background: var(--paper); }
.ranks__tabs { display: flex; gap: 4px; margin: 0 0 10px; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.ranks__tabs button { flex: 1; padding: 7px 6px; border: 0; border-radius: 999px; background: none; font: 800 .74rem/1 var(--head); color: var(--ink-2); cursor: pointer; }
.ranks__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.ranks ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranks li { counter-increment: r; display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: 2px 8px; padding: 9px 0; border-top: 1px solid var(--rule); }
.ranks li:first-child { border-top: 0; }
.ranks li::before { content: counter(r); grid-row: span 2; font: 800 1.15rem/1.1 var(--display); color: var(--app, var(--hot)); }
.ranks a { font: 700 .95rem/1.28 var(--head); text-decoration: none; }
.ranks a:hover { text-decoration: underline; }
.ranks small { grid-column: 2; font: 650 .74rem/1.3 var(--head); color: var(--ink-2); }
.ranks small b { color: var(--app); font-weight: 800; }
.ranks__more { display: block; margin-top: 8px; font: 800 .8rem var(--head); color: var(--note); text-decoration: none; }
[data-rank-panel][hidden] { display: none; }

/* the card wall: what the network looks like around the web */
.cardwall { padding: 30px 0 8px; }
.cardwall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cardwall__grid .cn-card { aspect-ratio: 6 / 5; height: auto; }
.cardwall__note { margin: 10px 0 0; font: 600 .86rem var(--head); color: var(--ink-2); }

/* a vertical band per newsroom, in that newsroom's own colors and font */
.vbands { display: grid; gap: 26px; padding: 30px 0 10px; }
.vband { --vf: var(--display); position: relative; padding: 18px 20px 12px; border-radius: 20px; background: color-mix(in srgb, var(--app) 7%, var(--paper)); box-shadow: inset 0 4px 0 var(--app); }
.vband__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.vband h2 { margin: 0; font: 800 1.7rem/1 var(--vf); letter-spacing: 0; color: color-mix(in srgb, var(--app) 85%, var(--ink)); }
.vband__desc { font: 600 .86rem var(--head); color: var(--ink-2); }
.vband__go { margin-left: auto; font: 800 .82rem var(--head); color: var(--ink); text-decoration: none; white-space: nowrap; }
.vband__go:hover { text-decoration: underline; }
.vband__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vcardn { display: grid; gap: 6px; align-content: start; padding-top: 10px; border-top: 2px solid color-mix(in srgb, var(--app) 40%, transparent); }
.vcardn h3 { margin: 0; font: 750 1rem/1.27 var(--head); text-wrap: balance; }
.vcardn h3 a { text-decoration: none; }
.vcardn h3 a:hover { text-decoration: underline; text-decoration-color: var(--app); }
.vcardn p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.vband--empty { opacity: .8; }

/* the shelf of CashIn Now's own pieces */
.briefs { padding: 30px 0 6px; }
.briefs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.brief { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; background: var(--ink); color: var(--paper); overflow: hidden; }
.brief::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sec, var(--hot)) 70%, transparent), transparent 70%); }
.brief .kicker { color: var(--flash); }
.brief h3 { margin: 0; font: 800 1.25rem/1.15 var(--display); letter-spacing: -.01em; }
.brief h3 a { text-decoration: none; }
.brief p { margin: 0; color: rgb(255 255 255 / .75); font-size: .95rem; }
.brief .meta { color: rgb(255 255 255 / .6); }

/* the "put it on your site" band */
.promo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 26px; align-items: center; margin: 34px 0 10px; padding: 26px; border-radius: 24px; background: radial-gradient(120% 120% at 0 0, #3A1BFF 0, #0B0B12 60%); color: #F1EEF8; }
.promo h2 { margin: 0 0 8px; font: 800 clamp(1.6rem, 3.4vw, 2.4rem)/1.05 var(--display); letter-spacing: -.02em; }
.promo p { margin: 0 0 14px; color: rgb(241 238 248 / .82); }
.promo .btn { background: var(--flash); border-color: var(--flash); color: #0B0B12; font-weight: 800; }
.promo__demo { display: grid; gap: 12px; }
.promo__demo .cn-card { height: 250px; }

/* rankings page */
.rankpage { list-style: none; margin: 0; padding: 0; counter-reset: k; }
.rankpage li { counter-increment: k; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rankpage li::before { content: counter(k); grid-row: span 3; font: 800 2.6rem/1 var(--display); color: var(--app, var(--hot)); }
.rankpage h3 { margin: 0; font: 750 1.3rem/1.22 var(--head); }
.rankpage h3 a { text-decoration: none; }
.rankpage h3 a:hover { text-decoration: underline; }
.rankpage p { margin: 0; color: var(--ink-2); }

/* story page: the CashIn stories a CashIn Now piece was written from */
.fromcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0 0; }
.fromcard { display: grid; gap: 6px; padding: 14px; border-radius: 14px; border: 1px solid var(--rule); background: var(--paper); text-decoration: none; box-shadow: inset 0 3px 0 var(--app); }
.fromcard:hover { border-color: var(--app); }
.fromcard b { font: 750 .98rem/1.3 var(--head); }
.fromcard small { font: 700 .76rem var(--head); color: var(--ink-2); }
.more-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.more-now .cn-card { aspect-ratio: 6 / 5; height: auto; }

/* the widget pages */
.wpage { padding: 24px 0 40px; }
.wpage__hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 30px; align-items: center; padding: 10px 0 26px; }
.wpage__hero h1 { margin: 0 0 12px; font: 800 clamp(2.1rem, 5vw, 3.6rem)/1.02 var(--display); letter-spacing: -.03em; }
.wpage__hero p { font-size: 1.12rem; color: var(--ink-2); max-width: 54ch; }
.wpage h2 { font: 800 1.5rem/1.1 var(--display); letter-spacing: -.01em; margin: 30px 0 12px; }
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.format { display: grid; gap: 10px; align-content: start; padding: 16px; border: 1px solid var(--rule); border-radius: 18px; background: var(--paper); }
.format h3 { margin: 0; font: 800 1.05rem var(--head); }
.format p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.format__demo { display: grid; place-items: center; min-height: 100px; padding: 12px; border-radius: 12px; background: var(--paper-2); overflow: hidden; }
.format__demo--wide { place-items: stretch; }
.codebox { position: relative; }
.codebox pre { margin: 0; padding: 14px 16px; border-radius: 12px; background: #0B0B12; color: #E4FF8F; font: 500 .82rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.codebox button { position: absolute; top: 8px; right: 8px; padding: 5px 10px; border: 0; border-radius: 999px; background: var(--flash); color: #0B0B12; font: 800 .74rem var(--head); cursor: pointer; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps3 li { list-style: none; counter-increment: s; padding: 16px; border-radius: 16px; background: var(--paper-2); }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 1rem var(--display); }
.signup { max-width: 760px; }
.nodekey { display: grid; gap: 8px; padding: 16px; border: 2px dashed var(--note); border-radius: 16px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0; }
.stat { padding: 14px; border-radius: 14px; background: var(--paper-2); }
.stat b { display: block; font: 800 1.6rem/1.1 var(--display); }
.stat span { font: 700 .78rem var(--head); color: var(--ink-2); }
.sparks { display: flex; align-items: flex-end; gap: 3px; height: 90px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.sparks i { flex: 1; min-width: 3px; background: var(--note); border-radius: 2px 2px 0 0; }
.sparks i.c { background: var(--hot); }

@media (max-width: 1080px) {
  .cardwall__grid, .vband__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nowhero, .promo, .wpage__hero { grid-template-columns: 1fr; }
  .briefs__grid, .more-now { grid-template-columns: 1fr 1fr; }
  .front { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .nowhero__lead .cn-card { min-height: 360px; padding: 18px; }
  .cardwall__grid, .vband__grid, .briefs__grid, .more-now, .steps3 { grid-template-columns: 1fr; }
  .vband { padding: 16px 14px 10px; }
  .vband h2 { font-size: 1.45rem; }
  .vband__go { margin-left: 0; }
  .nrow--thumb { grid-template-columns: minmax(0, 1fr) 96px; }
  .rankpage li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .rankpage li::before { font-size: 1.8rem; }
  .promo { padding: 18px; }
  .livebar__count { margin-left: 0; }
  .nowhero__lead .cn-inside { max-height: none; }
}
/* the smallest phones: the edition picker sits under the wordmark */
@media (max-width: 379px) {
  .brand { grid-auto-flow: row; justify-content: start; gap: 8px; }
  .wordmark { font-size: 1.9rem; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .appchip { background: color-mix(in srgb, var(--app) 24%, var(--paper)); color: color-mix(in srgb, var(--app) 45%, #fff); }
  :root:not([data-theme="light"]) .vband h2 { color: color-mix(in srgb, var(--app) 55%, #fff); }
  :root:not([data-theme="light"]) .vband { background: color-mix(in srgb, var(--app) 10%, var(--paper)); }
  :root:not([data-theme="light"]) .livebar { background: #1C1A28; }
  :root:not([data-theme="light"]) .brief { background: #1C1A28; }
  :root:not([data-theme="light"]) .codebox pre { background: #050509; }
}

/* the hidden attribute always wins over a component's own display */
[hidden] { display: none !important; }
