/* Token News Network: site styles.
   A magazine: white page, a wide magenta block for the name, big pictures
   with round corners, and every section in a band of its own colour.
   Archivo for the name, headlines and labels; Literata for reading.
   Blocks stand well apart (--block). Light is the default and dark is the
   reader's choice. Flat colour only: no gradients, glows or shadows. */

:root {
  --bg: #ffffff;
  --soft: #f6f3f8;
  --ink: #17141c;
  --ink-2: #4b4554;
  --ink-3: #777083;
  --line: #e7e2ec;
  --line-2: #cfc8d8;
  --hi: #d6176f;
  --hi-text: #b80f5c;
  --hi-ink: #ffffff;
  --hi-soft: #fde7f1;
  --base: #1b1320;
  --warn: #c81e1e;
  --warn-soft: #fdeaea;
  --ok: #0f7a4d;
  --k-listings: #3f3bd9;
  --k-launches: #0b8a83;
  --k-airdrops: #7c3aed;
  --k-memecoins: #c2410c;
  --k-rules: #475569;
  --k-alerts: #c81e1e;
  --k-notes: #17141c;
  --t-listings: #efeefd;
  --t-launches: #e4f4f2;
  --t-airdrops: #f2ebfe;
  --t-memecoins: #fcece2;
  --t-rules: #eef1f5;
  --t-alerts: #fdeaea;
  --head: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --read: "Literata", Georgia, "Times New Roman", serif;
  --gut: 20px;
  --gap: 20px;
  --block: 48px;
  --r: 20px;
  --r-sm: 12px;
  color-scheme: light;
}
@media (min-width: 700px) { :root { --gut: 32px; --gap: 24px; --block: 64px; } }
@media (min-width: 1100px) { :root { --gut: 40px; --gap: 28px; --block: 80px; } }
:root[data-theme="dark"] {
  --bg: #15121a;
  --soft: #1e1a25;
  --ink: #f3eff7;
  --ink-2: #cbc4d6;
  --ink-3: #9a92a8;
  --line: #2f2a39;
  --line-2: #463f54;
  --hi-text: #ff7ab5;
  --hi-soft: #3a1529;
  --base: #0e0b12;
  --warn: #ff8a8a;
  --warn-soft: #3a1717;
  --ok: #6fdca4;
  --k-notes: #4b4554;
  --t-listings: #1d1c3d;
  --t-launches: #102f2d;
  --t-airdrops: #261a42;
  --t-memecoins: #371c0f;
  --t-rules: #20252d;
  --t-alerts: #371516;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.5 var(--head); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hi-text); }
:focus-visible { outline: 3px solid var(--hi-text); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
.skipto { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 999px; font-weight: 700; }
.skipto:focus { left: 8px; }
.sr, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the masthead: a block of colour with the name ---------- */
.mast { background: var(--hi); color: #fff; }
.mast__in { max-width: 1280px; margin: 0 auto; padding: 10px var(--gut) clamp(18px, 3vw, 30px); }
.mast__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 13.5px; font-weight: 600; }
.mast__date { opacity: .92; letter-spacing: .02em; }
.mast__tools { display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.mast__link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; color: #fff; border-radius: 999px; }
.mast__link:hover, .mast__theme:hover { color: #fff; background: rgba(0, 0, 0, .16); }
.mast__link[data-acct-state="in"] { text-decoration: underline; text-underline-offset: 4px; }
.mast__theme { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; border-radius: 999px; color: #fff; cursor: pointer; }
.mast__name { display: inline-block; margin-top: clamp(6px, 1.6vw, 18px); font: 900 clamp(38px, 9.6vw, 108px)/.92 var(--head); letter-spacing: -0.045em; text-transform: uppercase; color: #fff; }
.mast__name:hover { color: #fff; }
.mast__line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: clamp(10px, 1.6vw, 18px) 0 0; font-size: clamp(15px, 1.8vw, 19px); font-weight: 600; }
.mast__read { font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 4px; }
.mast__read:hover { color: #fff; text-decoration-color: #fff; }
@media (max-width: 520px) { .mast__date, .mast__link[data-write] { display: none; } .mast__top { justify-content: flex-end; } }

/* ---------- sections as round chips ---------- */
.chips { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.chips__row { max-width: 1280px; margin: 0 auto; padding: 10px var(--gut); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips__row::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current] { background: var(--k, var(--ink)); border-color: var(--k, var(--ink)); color: #fff; }
:root[data-theme="dark"] .chip[aria-current]:not([class*="chip--"]) { background: #fff; border-color: #fff; color: #15121a; }
.chip--listings, .label--listings, .counts__chip--listings, .band--listings, .tone--listings, .pic--listings { --k: var(--k-listings); --t: var(--t-listings); }
.chip--launches, .label--launches, .counts__chip--launches, .band--launches, .tone--launches, .pic--launches { --k: var(--k-launches); --t: var(--t-launches); }
.chip--airdrops, .label--airdrops, .counts__chip--airdrops, .band--airdrops, .tone--airdrops, .pic--airdrops { --k: var(--k-airdrops); --t: var(--t-airdrops); }
.chip--memecoins, .label--memecoins, .counts__chip--memecoins, .band--memecoins, .tone--memecoins, .pic--memecoins { --k: var(--k-memecoins); --t: var(--t-memecoins); }
.chip--rules, .label--rules, .counts__chip--rules, .band--rules, .tone--rules, .pic--rules { --k: var(--k-rules); --t: var(--t-rules); }
.chip--alerts, .label--alerts, .counts__chip--alerts, .band--alerts, .tone--alerts, .pic--alerts { --k: var(--k-alerts); --t: var(--t-alerts); }
.chip--community, .label--notes, .band--notes { --k: var(--k-notes); --t: var(--soft); }

/* ---------- small pieces ---------- */
/* A section's name on a chip filled with its colour. */
.label { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--k, var(--ink)); color: #fff; font: 800 11.5px/1 var(--head); letter-spacing: .05em; text-transform: uppercase; }
a.label:hover { color: #fff; filter: brightness(1.12); }
.eyebrow, .kicker { margin: 0 0 12px; font: 800 12.5px/1.2 var(--head); letter-spacing: .09em; text-transform: uppercase; color: var(--hi-text); }
.by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; font: 600 13px/1.4 var(--head); color: var(--ink-3); }
.by__src { color: var(--ink); font-weight: 700; }
.by__more { color: var(--ink-2); }
.by__own { padding: 3px 8px; border-radius: 999px; background: var(--hi-soft); color: var(--hi-text); font: 800 11px/1.2 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 15px; font-weight: 800; color: var(--hi-text); text-decoration: underline; text-underline-offset: 4px; }
.quiet, .empty { margin: 0; padding: 20px 0; color: var(--ink-2); font: 400 17px/1.5 var(--read); }
.quiet--ask { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.quiet--ask p { margin: 0; flex: 1 1 280px; }

/* A picture, always in the same frame so nothing jumps when it arrives. */
.pic { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--t, var(--soft)); }
.pic img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.pic__name { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font: 800 clamp(15px, 2vw, 22px)/1.1 var(--head); letter-spacing: -0.01em; color: var(--k, var(--ink-2)); }
.pic--square { aspect-ratio: 1; border-radius: var(--r-sm); }
.pic--square .pic__name { font-size: 11px; padding: 4px; }
.pic--banner { aspect-ratio: 21 / 9; }
@media (max-width: 699px) { .pic--banner { aspect-ratio: 16 / 9; } }

/* ---------- the biggest story ---------- */
.hero { display: grid; gap: 18px; }
.hero__pic { display: block; }
.hero__head { margin-top: 12px; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.02; font-weight: 900; letter-spacing: -0.035em; text-wrap: balance; }
.hero__sum { margin: 14px 0 0; font: 400 clamp(17px, 1.7vw, 19.5px)/1.5 var(--read); color: var(--ink-2); max-width: 60ch; }
.hero .by { margin-top: 14px; font-size: 14px; }
.hero__head, .card__head, .item__head, .briefing__head, .piece__title { overflow-wrap: anywhere; }
.lead-wide .hero { align-items: center; }
@media (min-width: 900px) { .lead-wide .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap) calc(var(--gap) * 1.6); } }

/* ---------- cards ---------- */
.cards { display: grid; gap: calc(var(--gap) * 1.4) var(--gap); }
.card__pic { display: block; }
.card__text { padding-top: 14px; }
.card__text > .label { margin-bottom: 9px; }
.card__head { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
.card__sum { margin: 8px 0 0; font: 400 15.5px/1.5 var(--read); color: var(--ink-2); }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .cols-3 .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cols-4 .card__sum { display: none; }
}
/* Phones: the first card of a block stands tall, the rest lie down with a
   small picture, so a block is two screens long, not five. */
@media (max-width: 619px) {
  .cards { gap: 18px; }
  .card:nth-child(n+2) { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: start; }
  .card:nth-child(n+2) .pic { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
  .card:nth-child(n+2) .pic__name { font-size: 11px; }
  .card:nth-child(n+2) .card__text { padding-top: 0; }
  .card:nth-child(n+2) .card__head { font-size: 16.5px; }
  .card:nth-child(n+2) .card__sum { display: none; }
  .home .band .card:nth-child(n+4) { display: none; }
}

/* ---------- stories one under another ---------- */
.item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stack > .item:last-child { border-bottom: 0; }
.item__pic { flex: none; width: 96px; }
.item__text { min-width: 0; }
.item__text > .label { margin-bottom: 8px; }
.item__head { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.2; font-weight: 800; letter-spacing: -0.018em; }
.item__sum, .list__dek { margin: 8px 0 0; font: 400 16px/1.5 var(--read); color: var(--ink-2); }
.item .by { margin-top: 8px; }
.stack--notes .item__head { font-size: clamp(20px, 2.2vw, 26px); }
@media (min-width: 700px) { .item__pic { width: 132px; } .stack--pics .pic--square { aspect-ratio: 4 / 3; } }
.dayhead { margin: var(--block) 0 4px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; font-weight: 900; letter-spacing: -0.03em; }
.dayhead:first-child { margin-top: 0; }
.briefing__item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.briefing__item:last-child { border-bottom: 0; }
.briefing__item > .label { margin-bottom: 8px; }
.briefing__head { display: block; font-size: 17px; line-height: 1.22; font-weight: 800; letter-spacing: -0.015em; }
.briefing .by { margin-top: 6px; }

.turner { display: flex; align-items: center; gap: 12px; margin-top: var(--block); }
.turner__page { margin-right: auto; order: -1; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.turner__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 800; }
.turner__link:hover { border-color: var(--ink); color: var(--ink); }
.turner__link--next { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.turner__link--next:hover { background: var(--hi); border-color: var(--hi); color: #fff; }

.counts { display: flex; flex-wrap: wrap; gap: 10px; }
.counts__chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--t, var(--soft)); color: var(--k, var(--ink)); font-size: 14.5px; font-weight: 800; }
.counts__chip:hover { color: var(--k, var(--ink)); filter: brightness(.96); }
.counts__chip b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--k, var(--ink)); color: #fff; font-size: 13px; }
:root[data-theme="dark"] .counts__chip, :root[data-theme="dark"] .pic__name, :root[data-theme="dark"] .band__head a, :root[data-theme="dark"] .tone .eyebrow { color: var(--ink); }

/* ---------- the home page ---------- */
.home > .wrap:first-child { padding-top: clamp(24px, 3.4vw, 44px); }
.opener { display: grid; gap: calc(var(--gap) * 1.4); }
@media (min-width: 1000px) {
  .opener { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.5); align-items: start; }
  .opener__two .cards { grid-template-columns: minmax(0, 1fr); }
  .opener__two .card__sum { display: none; }
}
.block { margin-top: var(--block); }
.block--tight { margin-top: calc(var(--block) * .6); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0 0 calc(var(--gap) * 1.1); padding-bottom: 12px; border-bottom: 3px solid var(--ink); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; font-weight: 900; letter-spacing: -0.03em; }
.block__head small, .band__head small { font: 700 14px/1.2 var(--head); letter-spacing: 0; color: var(--ink-3); text-align: right; }
.block__head small a, .band__head small a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* A section's own stretch of the home page, on a tint of its colour. */
.band { margin-top: var(--block); padding: var(--block) 0; background: var(--t, var(--soft)); }
.band + .band { margin-top: 0; }
.band:nth-of-type(even) { background: var(--bg); }
.band:nth-of-type(odd) .pic { background: var(--bg); }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: clamp(28px, 4.2vw, 46px); line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.band__head a { color: var(--k, var(--ink)); }
.band__head a:hover { text-decoration: underline; text-underline-offset: 6px; }
.band__line { margin: 10px 0 calc(var(--gap) * 1.3); max-width: 60ch; font: 400 17px/1.5 var(--read); color: var(--ink-2); }
.pairs { display: grid; gap: var(--block) calc(var(--gap) * 2); }
@media (min-width: 900px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pairs h2.block__head { font-size: clamp(20px, 2.2vw, 26px); }
.explain p { font: 400 16.5px/1.55 var(--read); color: var(--ink-2); }
.asks { display: grid; gap: var(--block) calc(var(--gap) * 2); }
@media (min-width: 800px) { .asks { grid-template-columns: 1fr 1fr; } }
.ask h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.ask p { font: 400 17px/1.5 var(--read); color: var(--ink-2); max-width: 50ch; }
.spot { margin: var(--block) auto 0; max-width: 970px; text-align: center; }
.spot__label { margin: 0 0 8px; font: 800 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.spot a { display: block; border-radius: var(--r-sm); overflow: hidden; }
.spot img { display: block; width: 100%; height: auto; aspect-ratio: 970 / 250; object-fit: cover; }

/* ---------- section pages ---------- */
.tone { background: var(--t, var(--soft)); padding: 4px 0 clamp(28px, 4vw, 48px); margin-bottom: var(--block); }
.tone .eyebrow { color: var(--k, var(--hi-text)); }
.head { padding-top: clamp(22px, 3.4vw, 44px); }
.title { font-size: clamp(38px, 7.4vw, 88px); line-height: .96; font-weight: 900; letter-spacing: -0.045em; text-wrap: balance; }
.tone .title { color: var(--k, var(--ink)); }
:root[data-theme="dark"] .tone .title { color: var(--ink); }
.head__about { margin: 18px 0 0; max-width: 62ch; font: 400 clamp(17px, 1.8vw, 20px)/1.5 var(--read); color: var(--ink-2); }
.tally { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tally b { color: var(--ink); font-weight: 900; }
.trio { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info { padding: 24px; border-radius: var(--r); background: var(--soft); }
.info h2, .info h3 { font-size: 20px; line-height: 1.15; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 14px; }
.info p { font: 400 16px/1.55 var(--read); color: var(--ink-2); margin-bottom: .8em; }
.info p:last-child { margin-bottom: 0; }
.info--warn { background: var(--warn-soft); }
.info--warn h2, .info--warn h3 { color: var(--warn); }
.info--warn p { color: var(--ink); }
.checks { display: grid; gap: 10px; font: 400 16px/1.45 var(--read); color: var(--ink-2); }
.checks li { padding-left: 20px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--hi); }
.checks b { font-family: var(--head); font-weight: 800; color: var(--ink); }
.sourcelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; font-weight: 800; }
.sourcelist li:last-child { border-bottom: 0; }
.sourcelist span { font-size: 13px; font-weight: 600; color: var(--ink-3); text-align: right; }

/* ---------- a story ---------- */
.crumbs { display: flex; align-items: center; gap: 14px; padding: 18px 0; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.crumbs__path { display: flex; align-items: center; gap: 9px; min-width: 0; }
.crumbs__path a { padding: 6px 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.crumbs__path a:hover { color: var(--hi-text); }
.back { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 16px 0 11px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 800; color: var(--ink); }
.back:hover { border-color: var(--ink); color: var(--ink); }
.piece__head { padding-top: clamp(22px, 3vw, 40px); max-width: calc(860px + var(--gut) * 2); }
.piece__kind { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.piece__title { margin-top: 16px; font-size: clamp(32px, 5.6vw, 68px); line-height: 1; font-weight: 900; letter-spacing: -0.04em; text-wrap: balance; }
.piece__dek { margin: 18px 0 0; max-width: 60ch; font: 400 clamp(18px, 2vw, 22px)/1.45 var(--read); color: var(--ink-2); }
.piece__by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 20px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink-3); }
.piece__by b { color: var(--ink); font-weight: 800; }
.piece__body { max-width: calc(860px + var(--gut) * 2); margin: 0 auto; padding: clamp(24px, 3.4vw, 40px) var(--gut) 0; }
.piece__text, .piece__body .prose { max-width: 740px; }
.piece__text { font: 400 clamp(18px, 1.9vw, 20.5px)/1.65 var(--read); }
.piece__text p:last-child { margin-bottom: 0; }
.handoff { margin-top: 32px; padding: 24px; border-radius: var(--r); background: var(--hi-soft); }
.handoff p { font: 400 16.5px/1.5 var(--read); color: var(--ink); margin-bottom: 16px; }
.handoff p a { font-family: var(--head); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.facts { display: grid; gap: 0 var(--gap); margin: 32px 0 0; border-top: 3px solid var(--ink); }
@media (min-width: 620px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; }
.facts dd a { text-decoration: underline; text-underline-offset: 4px; }
.careful { margin-top: 28px; padding: 22px 24px; border-radius: var(--r); background: var(--warn-soft); }
.careful h2 { font-size: 18px; font-weight: 900; color: var(--warn); margin-bottom: 8px; }
.careful p { margin: 0; font: 400 16px/1.55 var(--read); color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 24px 0 0; font-size: 15px; font-weight: 700; }
.share span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.share a, .share button { background: none; border: 0; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.share a:hover, .share button:hover { color: var(--hi-text); }
.disclose { margin-top: 36px; padding: 20px 22px; border-radius: var(--r); background: var(--soft); font: 400 15.5px/1.5 var(--read); color: var(--ink-2); }
.disclose p { margin: 0; }
.disclose a { color: var(--hi-text); font-family: var(--head); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- long text: field notes, previews ---------- */
.prose { font: 400 clamp(17.5px, 1.8vw, 19.5px)/1.7 var(--read); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 27px; line-height: 1.12; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 21px; line-height: 1.2; margin: 1.4em 0 .45em; }
.prose a { color: var(--hi-text); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--hi); color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1.15em; }
.prose li { margin-bottom: .4em; }

/* ---------- information pages ---------- */
.page { padding-top: clamp(20px, 3vw, 36px); }
.page--slim > * { max-width: 780px; }
.page .title { font-size: clamp(34px, 6vw, 68px); margin-bottom: 20px; max-width: 18ch; }
.page__lead { font: 400 clamp(18px, 2vw, 22px)/1.45 var(--read); color: var(--ink-2); max-width: 62ch; margin-bottom: 34px; }
.page h2:where(:not(.block__head)) { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.1; font-weight: 900; letter-spacing: -0.025em; margin: 44px 0 12px; }
.page p, .page li { max-width: 68ch; }
.page > p, .page .split p, .page li { font: 400 17px/1.6 var(--read); color: var(--ink-2); }
.page ul.points { display: grid; gap: 10px; margin: 0 0 1em; }
.page ul.points li { padding-left: 22px; position: relative; }
.page ul.points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--hi); }
.page a:not(.btn):not(.back):not(.label) { color: var(--hi-text); text-decoration: underline; text-underline-offset: 3px; }
.page b { font-family: var(--head); font-weight: 800; color: var(--ink); }
.split { display: grid; gap: var(--block) calc(var(--gap) * 2); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; } }
.steps { display: grid; gap: 14px; margin: 14px 0 28px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; font: 400 17px/1.5 var(--read); color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font: 900 14px/1 var(--head); }
.steps b { font-family: var(--head); font-weight: 800; color: var(--ink); }
.blank { max-width: 760px; padding-top: clamp(48px, 8vw, 96px); padding-bottom: 40px; }
.blank .title { margin-bottom: 18px; }
.blank p { font: 400 18px/1.5 var(--read); color: var(--ink-2); }
.blank__links { display: flex; flex-wrap: wrap; gap: 12px; }
.callout { margin: 24px 0 8px; padding: 20px 22px; border-radius: var(--r); background: var(--soft); font: 400 16.5px/1.55 var(--read); max-width: 760px; }
.callout--warn { background: var(--warn-soft); color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 36px; }
.stats div { padding: 16px 18px; border-radius: var(--r-sm); background: var(--soft); }
.stats dt { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.stats dd { margin: 6px 0 0; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats div:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats div:first-child { grid-column: span 2; } }
.scroll, .table-scroll { overflow-x: auto; }
.state { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.state--up { color: var(--ok); }
.state--down { color: var(--warn); }

/* advertising */
.rates { display: grid; gap: var(--gap); margin: 16px 0 var(--block); }
.tier { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r); background: var(--soft); border: 2px solid transparent; }
.tier h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.tier__price { margin: 8px 0 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.tier__price b { font-size: 40px; font-weight: 900; letter-spacing: -0.04em; color: var(--ink); margin-right: 6px; }
.tier ul { display: grid; gap: 9px; margin-bottom: 24px; font: 400 15.5px/1.45 var(--read); color: var(--ink-2); }
.tier ul li { padding-left: 20px; position: relative; max-width: none; }
.tier ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier--on { border-color: var(--hi); background: var(--hi-soft); }
.tier:not(.tier--on) .btn { background: transparent; border-color: var(--ink); color: var(--ink); }
@media (min-width: 860px) { .rates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.terms-box { margin: 8px 0 22px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--bg); border: 1.5px solid var(--line-2); }
.terms-box h3 { font-size: 13px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }
.terms-box ul { display: grid; gap: 7px; font: 400 14.5px/1.45 var(--read); color: var(--ink-2); list-style: disc; padding-left: 18px; }
.terms-box b { color: var(--ink); }
.terms-box p { font-size: 13.5px; color: var(--ink-3); margin: 12px 0 0; }
.book { margin: 0 0 var(--block); scroll-margin-top: 90px; max-width: 800px; }
.book--flash { animation: book-flash 1.4s ease-out 1; }
@keyframes book-flash { from { outline: 4px solid var(--hi); } to { outline: 4px solid transparent; } }
.picked { margin: 6px 0 12px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--hi-soft); color: var(--ink); font-size: 16px; }
.hint--ok { color: var(--ok); }
.field-note { margin: -8px 0 18px; padding: 10px 14px; font-size: 14px; border-radius: var(--r-sm); background: var(--warn-soft); }

/* ---------- forms ---------- */
.form { padding: 26px 24px 28px; border-radius: var(--r); background: var(--soft); }
.form h2 { font-size: 24px; line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 16px; }
.form > p { font: 400 16px/1.5 var(--read); color: var(--ink-2); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14.5px; font-weight: 800; }
.field .hint, .hint { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--head); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; font: 400 17px/1.6 var(--read); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--hi-text); outline-offset: -1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--warn); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 6px 0 20px; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--hi); flex: none; }
.check a { color: var(--hi-text); text-decoration: underline; text-underline-offset: 3px; }
.duo { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .duo { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 15px; font-weight: 600; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--ink); }
.form-msg[data-kind="ok"] { background: var(--hi-soft); }
.form-msg:empty { display: none; }
.form-foot { margin: 18px 0 0; font-size: 14.5px; color: var(--ink-2); }
.form-foot a { color: var(--hi-text); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border: 2px solid var(--hi); border-radius: 999px; background: var(--hi); color: #fff; font: 800 15.5px/1 var(--head); cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn--ghost, .btn--quiet { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn--quiet:hover { background: var(--ink); color: var(--bg); }
.btn--go { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--danger { background: transparent; color: var(--warn); border-color: var(--warn); }
.btn--danger:hover { background: var(--warn); border-color: var(--warn); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* sign in, register */
.gate { display: grid; gap: var(--block) calc(var(--gap) * 2.4); padding-top: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .gate { grid-template-columns: minmax(0, 1fr) 440px; align-items: start; } }
.gate__why h1 { font-size: clamp(34px, 5.6vw, 64px); line-height: .98; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 20px; }
.gate__why p { font: 400 19px/1.5 var(--read); color: var(--ink-2); max-width: 44ch; }

/* the writing page */
.compose { display: grid; gap: var(--block) calc(var(--gap) * 1.6); padding-top: 20px; }
@media (min-width: 1180px) { .compose { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.compose .title { font-size: clamp(30px, 4.4vw, 52px); }
.compose__note { font: 400 16.5px/1.5 var(--read); color: var(--ink-2); margin: 14px 0 20px; }
.compose__note a { color: var(--hi-text); text-decoration: underline; text-underline-offset: 3px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.toolbar__count { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.preview { padding: 24px; border-radius: var(--r); background: var(--soft); }
@media (min-width: 1180px) { .preview { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; } }
.preview .piece__title { font-size: 32px; margin-top: 0; }
.preview .piece__dek { font-size: 18px; margin-top: 12px; }
.preview .prose { margin-top: 18px; }
.preview__label { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.marks { font-size: 13.5px; color: var(--ink-3); }
.marks code { font: 600 12.5px/1 ui-monospace, Consolas, monospace; color: var(--ink); background: var(--soft); padding: 3px 6px; border-radius: 6px; white-space: nowrap; }
.pick { border: 0; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: block; height: 100%; padding: 16px 18px; border: 2px solid var(--line-2); border-radius: var(--r-sm); font-size: 14px; color: var(--ink-3); }
.pick b { display: block; font-size: 19px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.pick input:checked + span { border-color: var(--hi); background: var(--hi-soft); }
.pick input:focus-visible + span { outline: 3px solid var(--hi-text); outline-offset: 2px; }

/* account and editors' page */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 0 14px 12px 0; border-bottom: 3px solid var(--ink); white-space: nowrap; }
.table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.table td:first-child { font-weight: 800; color: var(--ink); }
.table--terms { margin: 8px 0 20px; }
.td-date { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--soft); }
.pill--pending { color: var(--ink-2); }
.pill--approved { color: var(--ok); }
.pill--rejected { color: var(--warn); }
.queue-item { padding: 24px; margin-bottom: 18px; border-radius: var(--r); background: var(--soft); }
.queue-item h3 { font-size: 26px; line-height: 1.08; font-weight: 900; letter-spacing: -0.025em; }
.queue-item .prose { font-size: 16.5px; max-height: 420px; overflow: auto; border-radius: var(--r-sm); padding: 18px 20px; margin: 16px 0; background: var(--bg); }
.queue-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.queue-actions input { flex: 1 1 220px; min-height: 40px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); padding: 6px 16px; font: inherit; font-size: 14.5px; }
.ad-row { display: grid; gap: 16px; border-top: 1px solid var(--line); padding: 18px 0; }
.ad-row img { width: 100%; max-width: 388px; aspect-ratio: 970 / 250; object-fit: cover; border-radius: var(--r-sm); }
.ad-row__meta { font-size: 15px; color: var(--ink-2); display: grid; gap: 4px; align-content: start; }
.ad-row__meta b { color: var(--ink); }
.ad-row__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag-live { color: var(--ok); font-weight: 800; }
@media (min-width: 760px) { .ad-row { grid-template-columns: 388px 1fr; } }
#list, #inbox { overflow-x: auto; }
.ghost { height: 16px; border-radius: 8px; background: var(--soft); margin: 16px 0; }
.ghost:nth-child(2n) { width: 70%; }
.gap { margin-top: 28px; }
.gap-lg { margin-top: var(--block); }

/* /search */
.query { display: flex; gap: 10px; max-width: 680px; margin: 0 0 12px; }
.query input { flex: 1; min-width: 0; font: 600 17px/1.4 var(--head); color: var(--ink); background: var(--bg); border: 2px solid var(--ink); border-radius: 999px; padding: 0 22px; min-height: 52px; }
.query input:focus { outline: 3px solid var(--hi-text); outline-offset: 2px; }
.query__state { font-size: 14.5px; font-weight: 600; color: var(--ink-3); margin: 0 0 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filter { min-height: 40px; padding: 0 16px; background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.page .stack a:not(.btn):not(.label) { color: inherit; text-decoration: none; }
.page .stack a:not(.btn):not(.label):hover { color: var(--hi-text); }
.page .stack li { max-width: 900px; font-family: var(--head); }

/* ---------- the foot: a dark block with the name ---------- */
.base { margin-top: calc(var(--block) * 1.2); background: var(--base); color: #d9d2e2; }
.base__in { max-width: 1280px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gut) 40px; }
.base__name { display: inline-block; font: 900 clamp(34px, 7vw, 84px)/.92 var(--head); letter-spacing: -0.045em; text-transform: uppercase; color: #ff4f9f; }
.base__name:hover { color: #fff; }
.base__warn { margin: 22px 0 28px; max-width: 78ch; font: 400 16px/1.55 var(--read); color: #d9d2e2; }
.base__warn b { font-family: var(--head); font-weight: 900; color: #fff; }
.base__links { display: flex; flex-wrap: wrap; gap: 0 22px; padding: 10px 0; border-top: 1px solid #3a3144; }
.base__links a { display: inline-flex; align-items: center; min-height: 42px; font-size: 14.5px; font-weight: 700; color: #cfc7da; }
.base__links--sections a { font-size: 16px; font-weight: 800; color: #fff; }
.base__links a:hover { color: #ff7ab5; }
.base__copy { margin: 18px 0 0; font-size: 13px; color: #9a92a8; }
main:has(> .band:last-child) + .base { margin-top: 0; }

/* ---------------- sponsored banners (app/promos.php, assets/js/bnr.js) ----------------
   Each banner carries its brand's colours: --p1/--p2 background, --pa button,
   --pa2 highlight, --pi button text. Every pair passes WCAG AA contrast. The
   banners look the same in the light and the dark theme. */
.bnr-slot:empty { display: none; }
.bnr { --p-text: #f6f8f7; --p-muted: rgba(246, 248, 247, .8); color: var(--p-text); font-family: inherit; text-align: left; }
.bnr a { color: inherit; text-decoration: none; }
.bnr b, .bnr em { font-weight: 800; }
.bnr em { font-style: normal; color: var(--pa2); }
.bnr img { display: block; max-width: 100%; }
.bnr-tag, .bnr-age { flex: none; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; color: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .4); border-radius: 4px; padding: 2px 6px; }

/* The button: solid brand colour, one light sweep the first time it is seen. */
.bnr-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 800; font-size: 16px; line-height: 1.1; white-space: nowrap; color: var(--pi); background: var(--pa); box-shadow: 0 8px 22px -10px var(--pa); transition: transform .15s ease, filter .15s ease; }
.bnr-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: translateX(-135%) skewX(-20deg); opacity: 0; }
.bnr.is-in .bnr-btn::after { animation: bnr-sweep .9s ease-out .2s 1; }
.bnr-btn svg { flex: none; transition: transform .15s ease; }
.bnr a:hover .bnr-btn, .bnr a:focus-visible .bnr-btn { transform: translateY(-1px); filter: brightness(1.08); }
.bnr a:hover .bnr-btn svg, .bnr a:focus-visible .bnr-btn svg { transform: translateX(3px); }
.bnr a:focus-visible, .bnr button:focus-visible { outline: 3px solid var(--pa2); outline-offset: -4px; border-radius: inherit; }
.bnr-btn__short { display: none; }
@keyframes bnr-sweep { 0% { transform: translateX(-135%) skewX(-20deg); opacity: 1; } 100% { transform: translateX(290%) skewX(-20deg); opacity: 1; } }

.bnr-code { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px dashed var(--pa2); border-radius: 12px; font-size: 15px; background: rgba(255, 255, 255, .06); }
.bnr-code b { color: var(--pa2); letter-spacing: .05em; }
.bnr-code small { font-size: 12px; color: var(--p-muted); }
.bnr-terms { margin: 0; font-size: 12px; line-height: 1.45; color: var(--p-muted); }
.bnr-terms a { position: relative; color: var(--p-text); text-decoration: underline; text-underline-offset: 2px; }
.bnr-terms a::after { content: ""; position: absolute; inset: -14px -6px; }

/* Card inside the page: logo and labels, the offer, then the button. */
.bnr-card { position: relative; max-width: 100%; margin: 32px 0; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, var(--p2) 0%, var(--p1) 64%); border: 1px solid color-mix(in srgb, var(--pa) 40%, transparent); box-shadow: 0 16px 36px -24px rgba(0, 0, 0, .7); }
.bnr-card__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 84px; grid-template-areas: "top top" "body art" "cta cta"; gap: 12px 14px; padding: 18px 18px 12px; }
.bnr-card__top { grid-area: top; display: flex; align-items: center; gap: 8px; }
.bnr-card__logo { height: 24px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; margin-right: auto; }
.bnr-card__art { grid-area: art; align-self: start; }
.bnr-card__img { width: 84px; height: auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .55)); }
.bnr-card__body { grid-area: body; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* The category line above the offer: says what this is before the offer says why. */
.bnr-kicker { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--pa2); }
.bnr-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pa); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pa) 30%, transparent); }
.bnr-card__head { font-size: 28px; line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.bnr-card__sub { font-size: 15px; line-height: 1.4; color: var(--p-muted); }
.bnr-perks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.bnr-perks li { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; font-size: 14px; line-height: 1.3; color: var(--p-text); }
.bnr-perks li::before { content: none; }
.bnr-perks svg { flex: none; color: var(--pa); }
.bnr--rillex .bnr-perks svg { color: var(--pa2); }
.bnr-card__cta { grid-area: cta; display: flex; flex-direction: column; gap: 8px; }
.bnr-card .bnr-btn { min-height: 52px; font-size: 17px; }
.bnr-card__note { font-size: 12px; color: var(--p-muted); text-align: center; }
.bnr-card .bnr-terms { position: relative; padding: 0 18px 14px; }
/* The side-by-side layout follows the card's own width, not the screen's. */
.bnr-card { container-type: inline-size; }
@media (min-width: 861px) { .bnr-card { border-radius: 16px; } }
@container (min-width: 720px) {
  .bnr-card__in { grid-template-columns: 120px minmax(0, 1fr) auto; grid-template-areas: "art top cta" "art body cta"; gap: 8px 22px; padding: 22px 26px 12px; align-items: center; }
  .bnr-card__art { align-self: center; }
  .bnr-card__img { width: 120px; }
  .bnr-card__top { align-self: end; }
  .bnr-card__body { align-self: start; }
  .bnr-card__head { font-size: 28px; }
  .bnr-perks { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
  .bnr-card .bnr-btn { min-height: 50px; padding: 0 20px; }
  .bnr-code { flex-direction: column; gap: 0; padding: 6px 12px; }
  .bnr-card .bnr-terms { padding: 0 26px 16px; }
}

/* Bar fixed to the bottom of the screen; bnr.js shows it after the first
   screen, hides it while a card is in view, and a closed bar stays closed. */
.bnr-sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: linear-gradient(100deg, var(--p1), var(--p2)); border-top: 1px solid var(--pa); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .8); }
.bnr-sticky.is-shown { display: block; }
.bnr-sticky__in { display: flex; align-items: center; gap: 4px; max-width: 980px; margin: 0 auto; padding: 8px 4px 8px 12px; min-height: 64px; box-sizing: border-box; }
.bnr-sticky__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.bnr-sticky__brand { flex: none; display: flex; flex-direction: column; gap: 4px; }
.bnr-sticky__logo { height: 22px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; }
.bnr-sticky__meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--p-muted); white-space: nowrap; }
.bnr-sticky__meta .bnr-tag { font-size: 10.5px; padding: 1px 5px; }
.bnr-sticky__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bnr-sticky__text b { font-size: 16px; line-height: 1.2; color: #fff; }
.bnr-sticky__text span { font-size: 12.5px; color: var(--pa2); }
.bnr-sticky .bnr-btn { flex: none; }
.bnr-sticky__close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--p-muted); cursor: pointer; }
.bnr-sticky__close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.bnr-sticky__link:focus-visible { outline-offset: 2px; border-radius: 12px; }
html.bnr-has-sticky body::after { content: ""; display: block; height: 84px; }
@media (min-width: 861px) {
  .bnr-sticky { left: 50%; right: auto; bottom: 14px; width: min(980px, calc(100% - 32px)); transform: translateX(-50%); border: 1px solid color-mix(in srgb, var(--pa) 55%, transparent); border-radius: 16px; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .bnr-sticky__in { gap: 2px; padding: 8px 2px 8px 10px; }
  .bnr-sticky__link { gap: 10px; }
  .bnr-sticky__logo { height: 18px; max-width: 80px; }
  .bnr-sticky__meta span:not(.bnr-tag) { font-size: 11px; }
  .bnr-sticky__text b { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .bnr-sticky__text span { display: none; }
  .bnr-sticky .bnr-btn { padding: 0 12px; font-size: 14px; }
  .bnr-sticky .bnr-btn svg { display: none; }
  .bnr-sticky .bnr-btn__long { display: none; }
  .bnr-sticky .bnr-btn__short { display: inline; }
  .bnr-card__head { font-size: 26px; }
  .bnr-kicker { font-size: 11px; letter-spacing: .05em; }
  /* Phones: the offer, two perks, the code and the button fit in one look. */
  .bnr-card__in { gap: 10px 12px; padding: 16px 16px 10px; grid-template-columns: minmax(0, 1fr) 72px; }
  .bnr-card__img { width: 72px; }
  .bnr-card__sub, .bnr-perks li:nth-child(n+3) { display: none; }
  .bnr-card .bnr-terms { padding: 0 16px 12px; }
}
@media print {
  .bnr, .bnr-slot { display: none !important; }
}
@media (max-width: 400px) {
  .bnr-sticky__logo { max-width: 72px; }
  .bnr-sticky .bnr-btn { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bnr.is-in .bnr-btn::after { animation: none; }
  .bnr-btn, .bnr-btn svg { transition: none; }
  .bnr a:hover .bnr-btn, .bnr a:focus-visible .bnr-btn, .bnr a:hover .bnr-btn svg { transform: none; }
}
