/* paukoom "Boom & Bust" skin (boombust.py).
   Loaded after every other style on the page, so it restyles the shared article
   design (article.css, restyle.py, magazine.py, fullmag.py, add-audio.py) without
   changing the page's structure. Remove the <link id="bb-css"> to undo. */
:root {
  color-scheme: dark;
  --bb-night: #07090a; --bb-night-2: #0e1311; --bb-night-3: #141b18;
  --bb-ink: #f3f6f4; --bb-ink-2: #c9d1cc; --bb-ink-3: #a4aea8; --bb-ink-4: #6b7570;
  --bb-fire: #34e07f; --bb-fire-2: #6ff0a6; --bb-steel: #f3f6f4; --bb-blood: #ff5a5a;
  --bb-line: rgb(220 240 230 / .11); --bb-line-2: rgb(220 240 230 / .24);
  --bb-display: "Schibsted Grotesk", system-ui, sans-serif;
  --bb-text: "Literata", Georgia, serif;
  --bb-ui: "Schibsted Grotesk", system-ui, sans-serif;

  /* map the shared article palette onto the night */
  --night: #07090a; --night-2: #0e1311; --accent: #34e07f; --accent-2: #0e1311;
  --gold: #34e07f; --gold-2: #34e07f; --paper: #07090a; --card: #0e1311;
  --ink: #f3f6f4; --muted: #a4aea8; --line: rgb(220 240 230 / .11); --label: #34e07f;
  --on-dark: #f3f6f4; --on-dark-muted: #c9d1cc; --hero-ink: #f3f6f4; --hero-dek: #c9d1cc; --hero-bg: #07090a;
  --display: var(--bb-display); --text: var(--bb-text); --ui: var(--bb-ui);
}
html { background: var(--bb-night); scrollbar-color: var(--bb-ink-4) var(--bb-night); }
body { background-color: var(--bb-night); color: #d6ddd9; font: 400 19px/1.66 var(--bb-text); }
::selection { background: rgb(52 224 127 / .25); color: #fff; }
a { color: var(--bb-fire-2); text-decoration-color: rgb(52 224 127 / .5); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--bb-fire); outline-offset: 3px; }
strong { font-weight: 600; color: var(--bb-ink); }

/* ---------- reading progress + sticky bar ---------- */
.progress { background: var(--bb-fire); height: 2px; }
.bar { background: rgb(7 9 10 / .8); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--bb-line); color: var(--bb-ink-2); font: 500 14px/1 var(--bb-ui); }
.bar .title { font: 800 1.05rem/1 var(--bb-display); font-stretch: 112%; color: #fff; letter-spacing: -.01em; }
.chip { border-radius: 999px; border: 1px solid var(--bb-line-2); background: transparent; color: var(--bb-ink);
  font: 500 13px/1 var(--bb-ui); letter-spacing: 0; text-transform: none; min-height: 34px; padding: 0 14px; transition: background .2s, color .2s, border-color .2s; }
.chip:hover, .chip:focus-visible { background: rgb(190 205 235 / .1); border-color: var(--bb-ink-3); }

/* ---------- hero: night over Alesia ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
  place-items: initial; text-align: left; padding: 0; overflow: hidden; background: var(--bb-night); color: #fff; }
.hero .art { display: none; }
.mh-hero { position: absolute; inset: 0; z-index: -1; background: radial-gradient(42% 46% at 50% 34%, #2a1c0c 0%, rgb(42 28 12 / 0) 70%), var(--bb-night); background-repeat: no-repeat; background-size: cover; background-position: center 30%; }

.mh-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; }
.mh-hero.gl-ready canvas { opacity: 1; }
.hero .mh-hero canvas { top: 4%; bottom: auto; height: 54%; }
.mh-hero.gl-ready { background-image: radial-gradient(42% 46% at 50% 34%, #2a1c0c 0%, rgb(42 28 12 / 0) 70%) !important; }
.mh-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, transparent 56%, rgb(7 9 10 / .7) 74%, var(--bb-night)); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px clamp(40px, 8vh, 84px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
.hero .eyebrow { grid-column: 1 / -1; font: 600 .82rem/1 var(--bb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--bb-fire); margin: 0 0 16px; }
.hero h1 { grid-column: 1 / -1; margin: 0 0 24px; font: 850 clamp(2.4rem, 8.6vw, 9.2rem)/.86 var(--bb-display); font-stretch: 125%;
  letter-spacing: -.035em; color: #fff; text-transform: none; text-shadow: none; font-variation-settings: normal; }
.hero h1 .small { display: block; font-size: .3em; letter-spacing: .02em; font-weight: 600; margin-bottom: .3em; color: var(--bb-ink-2); }
.hero .dek { grid-column: 1; margin: 0; max-width: 36ch; font: 400 clamp(1.1rem, 1.6vw, 1.35rem)/1.42 var(--bb-ui); color: var(--bb-ink-2); }
.hero .meta { grid-column: 2; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end;
  font: 500 13px/1 var(--bb-ui); letter-spacing: 0; text-transform: none; color: var(--bb-ink-3); }
.hero .meta span + span::before { content: none; }
.hero .meta span:first-child { flex-basis: 100%; text-align: right; margin-bottom: 4px; }
.hero .meta a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; text-decoration: none;
  font: 600 1rem/1 var(--bb-ui); color: #fff; box-shadow: inset 0 0 0 1.5px var(--bb-steel); transition: background .25s, color .25s, box-shadow .25s; }
.hero .meta span:nth-child(2) a { background: var(--bb-fire); color: #07090a; box-shadow: none; }
.hero .meta a:hover, .hero .meta a:focus-visible { background: #fff; color: var(--bb-night); box-shadow: none; text-decoration: none; }
.hero .meta a:active { transform: scale(.97); }
.mh-note { grid-column: 2; margin: 12px 0 0; text-align: right; font: 400 .8rem/1.4 var(--bb-ui); color: var(--bb-ink-4); }
.listen-top { grid-column: 1 / -1; justify-content: flex-start; margin-top: 22px; }
.listen-link { border-radius: 999px; border: 1px solid var(--bb-line-2); color: var(--bb-ink); font: 600 12px/1 var(--bb-ui); letter-spacing: .1em; background: rgb(7 9 10 / .4); }
.listen-link:hover, .listen-link:focus-visible { color: var(--bb-fire); border-color: var(--bb-fire); }
.top-links .top-about, .top-about { border-radius: 999px; background: rgb(7 9 10 / .55); border: 1px solid var(--bb-line-2); color: var(--bb-ink);
  font: 500 13px/1 var(--bb-ui); letter-spacing: 0; text-transform: none; padding: 0 14px; min-height: 34px; display: inline-flex; align-items: center;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top-links .login-link { background: var(--bb-fire); color: #07090a; border-color: var(--bb-fire); }
.top-about:hover, .top-about:focus-visible { background: #fff; color: var(--bb-night); border-color: #fff; }
.top-links { right: max(22px, calc((100vw - 1180px) / 2)); z-index: 3; }
.cue { display: none; }

/* ---------- overview ---------- */
.wrap { max-width: 1120px; }
.why { margin: 0 auto; max-width: 1000px; padding: clamp(80px, 11vw, 150px) 0 0; background: none; box-shadow: none; border-radius: 0; border: 0; }
.why .label, .quick .label, .full-label, #full.fm .fm-mast .fm-label, #quick.mag .mast .label {
  font: 600 .95rem/1 var(--bb-ui); letter-spacing: -.005em; text-transform: none; color: var(--bb-fire); }
.why p { margin: 18px 0 0; font: 500 clamp(1.6rem, 3.1vw, 2.55rem)/1.25 var(--bb-display); font-stretch: 104%; letter-spacing: -.018em; color: var(--bb-ink); text-wrap: pretty; }

/* ---------- the 2-minute version (magazine.py) ---------- */
#quick.mag { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; margin-top: clamp(80px, 10vw, 140px); }
#quick.mag .mast { background: transparent; color: var(--bb-ink); border: 0; padding-inline: 0; }
#quick.mag .mast .topic, #full.fm .fm-mast .topic { font: 500 .82rem/1 var(--bb-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--bb-ink-4); }
#quick.mag .hook, #full.fm .fm-mast .hook { font: 800 clamp(2rem, 4.2vw, 3.5rem)/1 var(--bb-display); font-stretch: 116%; letter-spacing: -.03em;
  font-style: normal; color: #fff; max-width: 20ch; text-wrap: balance; }
#quick.mag .story p, .quick p { font: 400 1.08em/1.66 var(--bb-text); color: #d6dbe6; }
#quick.mag .story p.open { font: 400 1.08em/1.66 var(--bb-text); color: #d6dbe6; }
#quick.mag .story p.open::first-letter, #full.fm .fm-main p.fm-drop::first-letter { font: 850 4.4em/.8 var(--bb-display); font-stretch: 120%; color: var(--bb-fire); }
#quick.mag .story .kick, #full.fm .fm-main .kick { font-variant: all-small-caps; letter-spacing: .06em; font-weight: 600; color: var(--bb-fire); }
#quick.mag .story p.punch, #full.fm .fm-main p.punch { font: 700 1.22em/1.3 var(--bb-display); font-stretch: 108%; letter-spacing: -.01em; color: #fff; }
#quick.mag .orn::before, #quick.mag .orn::after { background: var(--bb-line-2); }
#quick.mag .orn b { background: var(--bb-fire); border-radius: 50%; rotate: 0deg; width: 6px; height: 6px; }
#quick.mag .pull, #full.fm .pull { background: none; box-shadow: none; border: 0; border-top: 2px solid var(--bb-fire); border-radius: 0; margin-inline: 0; padding: 16px 0 0; }
#quick.mag .pull p, #full.fm .pull p { font: 700 clamp(1.4rem, 2vw, 1.75rem)/1.22 var(--bb-display); font-stretch: 108%; font-style: normal; color: #fff; }
#quick.mag .pull p::before, #full.fm .pull p::before { content: none; }
#quick.mag .cite { font: 600 .78rem/1.3 var(--bb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--bb-fire); }
#quick.mag .nums h4 { font: 600 .82rem/1 var(--bb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--bb-fire); margin-bottom: 18px; }
#quick.mag .tile { background: transparent; border-radius: 0; box-shadow: none; padding: 18px 0 0; border-top: 1px solid var(--bb-line); color: var(--bb-ink-3); font: 400 .9rem/1.4 var(--bb-ui); }
#quick.mag .tile b { font: 800 2.3rem/1 var(--bb-display); font-stretch: 115%; color: var(--bb-fire); margin-bottom: 8px; }
#quick.mag .swipe { color: var(--bb-ink-4); font: 500 12px/1 var(--bb-ui); }
#quick.mag .more { border-top: 1px solid var(--bb-line); }
#quick.mag .more p, .quick .more p { font: 400 1rem/1.55 var(--bb-ui); color: var(--bb-ink-3); }
.btn { border-radius: 999px; font: 600 1rem/1 var(--bb-ui); letter-spacing: 0; text-transform: none; min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, color .25s, box-shadow .25s, transform .15s; }
.btn.primary { background: var(--bb-fire); color: #07090a; border: 0; box-shadow: none; }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--bb-fire-2); }
.btn.ghost { background: transparent; color: var(--bb-ink); border: 0; box-shadow: inset 0 0 0 1.5px var(--bb-steel); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: rgb(190 205 235 / .1); }
.btn:active { transform: scale(.97); }

/* the narration player (add-audio.py) */
.listen { border-radius: 22px; background: var(--bb-night-2); box-shadow: inset 0 0 0 1px var(--bb-line); }
.listen-play { background: var(--bb-fire); color: #07090a; }
.listen-title { color: #fff; font: 600 14px/1.2 var(--bb-ui); letter-spacing: 0; }
.listen-seek { accent-color: var(--bb-fire); }
.listen-time { color: var(--bb-ink-4); font-family: var(--bb-ui); }
.listen-rate { color: var(--bb-ink-2); background: rgb(190 205 235 / .08); border: 0; font: 600 12px/1 var(--bb-ui); }
.narrated.reading, .beat.reading, .fbeat.reading { background: rgb(52 224 127 / .08); box-shadow: 0 0 0 12px rgb(52 224 127 / .08); border-radius: 10px; }

/* ---------- the 10-minute version (fullmag.py) ---------- */
#full.fm .fm-mast { background: transparent; border: 0; border-top: 1px solid var(--bb-line); border-radius: 0; color: var(--bb-ink); padding-inline: 0; padding-top: clamp(70px, 9vw, 120px); }
.chapter { margin-top: clamp(64px, 9vw, 110px); }
.chapter h2, #full.fm .chapter h2 { font: 850 clamp(2.3rem, 5vw, 4.2rem)/.95 var(--bb-display); font-stretch: 122%; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
#full.fm .chapter h2::before { content: none; }
#full.fm .fm-main p, #full .chapter p, #full .chapter li, #full .aside p { font-family: var(--bb-text); color: #d6dbe6; }
#full.fm .fm-main p.fm-drop { font: 400 1em/1.66 var(--bb-text); }
@media (min-width: 900px) {
  #full.fm .fm-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
  #full.fm .pull-side { border-left: 0; padding: 16px 0 0; border-top: 2px solid var(--bb-fire); }
  #full.fm .pull-side p { font-size: 1.55rem; }
}

/* ---------- bands ---------- */
.band { background: transparent; border: 0; color: var(--bb-ink); }
.band h3 { font: 850 clamp(2rem, 4.2vw, 3.4rem)/1 var(--bb-display); font-stretch: 118%; letter-spacing: -.03em; color: #fff; }
.band .sub { font: 400 1.05rem/1.45 var(--bb-ui); color: var(--bb-ink-3); }
.quote { background: transparent; }
.quote blockquote p { font: 850 clamp(2.3rem, 6.2vw, 5.2rem)/.95 var(--bb-display); font-stretch: 120%; letter-spacing: -.04em; font-style: normal; color: #fff; text-wrap: balance; }
.quote blockquote p::before { content: none; }
.quote cite { font: 500 1rem/1.3 var(--bb-ui); letter-spacing: 0; text-transform: none; font-style: normal; color: var(--bb-fire); }
.stats { gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.stat { background: transparent; box-shadow: none; border-radius: 0; padding: 22px 0 0; border-top: 2px solid var(--bb-fire); text-align: left; }
.stat b { font: 850 clamp(2.8rem, 5.6vw, 5rem)/.9 var(--bb-display); font-stretch: 112%; letter-spacing: -.04em; color: #fff; }
.stat b small { color: var(--bb-fire); }
.stat > span { font: 400 1rem/1.45 var(--bb-ui); color: var(--bb-ink-3); }
.band .inner > h3, .band .inner > .sub { text-align: left; margin-left: 0; }

/* the article's own flat siege plan (kept when there is no WebGL) */
.lab .stage { background: var(--bb-night-2); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--bb-line); }
#siege .ring { stroke: var(--bb-steel); }
#siege text { fill: var(--bb-ink-2); }
.steps button, .pill { border-radius: 999px; background: rgb(190 205 235 / .09); border: 0; color: var(--bb-ink-2); font: 500 .9rem/1 var(--bb-ui); min-height: 40px; padding: 0 16px; }
.steps button[aria-pressed="true"], .pill[aria-pressed="true"] { background: var(--bb-fire); color: #07090a; }
.caption { font: 400 1rem/1.5 var(--bb-ui); color: var(--bb-ink-3); }
.legend { font-family: var(--bb-ui); color: var(--bb-ink-3); }
.mh-replaced { display: none !important; }

/* timeline */
.timeline { display: flex; flex-direction: column; grid-auto-columns: unset; overflow: visible; gap: 0; padding: 10px 0 0; margin-top: 10px; max-width: 40rem; position: relative; border: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 18px; width: 1px; background: var(--bb-line-2); }
.timeline li { display: grid; grid-template-columns: 22px 9.5rem 1fr; gap: 16px; align-items: baseline; padding: 12px 0; background: none; box-shadow: none; border: 0; border-radius: 0; min-width: 0; }
.timeline li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--bb-night); box-shadow: inset 0 0 0 1.5px var(--bb-ink-4); transform: translateY(2px); }
.timeline li.hi { box-shadow: none; background: none; }
.timeline li.hi::before { background: var(--bb-fire); box-shadow: 0 0 0 5px rgb(52 224 127 / .16); }
.timeline b { font: 800 1.1rem/1.2 var(--bb-display); font-stretch: 112%; color: #fff; margin: 0; }
.timeline li.hi b { color: var(--bb-fire); }
.timeline span { font: 400 1rem/1.4 var(--bb-ui); color: var(--bb-ink-3); }
.band .hint { display: none; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 22px 1fr; } .timeline li span { grid-column: 2; } }

/* ---------- aside, quiz, tomorrow, footer ---------- */
.aside { background: var(--bb-night-2); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--bb-line); border: 0; }
.aside .icon, .aside svg { color: var(--bb-fire); }
.aside h4 { font: 700 1.2rem/1.25 var(--bb-display); font-stretch: 108%; color: var(--bb-fire); }
.quiz .chapter .num { font: 600 .82rem/1 var(--bb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--bb-fire); }
.quiz .chapter { text-align: left; }
.q { background: transparent; box-shadow: none; border-radius: 0; border-top: 1px solid var(--bb-line); padding: 26px 0 8px; margin-top: 0; }
.q h4 { font: 600 1.2rem/1.3 var(--bb-ui); color: #fff; }
.opts { display: grid; gap: 10px; }
.opts button { border-radius: 16px; background: var(--bb-night-2); color: var(--bb-ink); border: 0; box-shadow: inset 0 0 0 1px var(--bb-line-2); font: 400 1.02rem/1.35 var(--bb-ui);
  min-height: 54px; padding: 12px 18px; text-align: left; transition: box-shadow .2s, background .2s; }
.opts button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--bb-ink-3); }
.opts button.right { background: rgb(122 214 154 / .1); color: #fff; box-shadow: inset 0 0 0 2px #7ad69a; }
.opts button.wrong { background: transparent; box-shadow: inset 0 0 0 2px var(--bb-blood); color: var(--bb-ink-2); }
.explain { font: 400 1rem/1.5 var(--bb-ui); color: var(--bb-ink-3); }
.score { font: 600 .9rem/1.4 var(--bb-ui); color: var(--bb-fire); text-align: left; }
.tomorrow { background: transparent; border: 0; border-top: 1px solid var(--bb-line); border-radius: 0; color: var(--bb-ink); text-align: center; padding: clamp(70px, 9vw, 110px) 22px 20px; }
.tomorrow h3 { font: 850 clamp(2rem, 4.2vw, 3.2rem)/1 var(--bb-display); font-stretch: 118%; letter-spacing: -.03em; color: #fff; }
.tomorrow p { font: 400 1.05rem/1.55 var(--bb-ui); color: var(--bb-ink-3); }
.streak { border-radius: 999px; background: rgb(52 224 127 / .1); border: 0; color: var(--bb-fire); font: 600 13px/1 var(--bb-ui); letter-spacing: 0; }
footer.end { font: 700 1.2rem/1.35 var(--bb-display); font-stretch: 108%; color: var(--bb-ink-2); border: 0; text-align: center; padding-bottom: 64px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .dek, .hero .meta, .mh-note { grid-column: 1; }
  .hero .meta { justify-content: flex-start; margin-top: 22px; }
  .hero .meta span:first-child, .mh-note { text-align: left; }
}
@media (max-width: 560px) {
  .hero .mh-hero canvas { top: 7%; height: 44%; }
  body { font-size: 18px; }
  .hero h1 { font-size: 11.2vw; font-stretch: 112%; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mh-hero canvas, .chip, .btn, .opts button { transition: none; } }

/* share-preview card (ipso-previews adds .ipso-brand to the hero) */
.ipso-brand ~ .top-links, .ipso-brand ~ .cue, .ipso-brand ~ .hero-inner .mh-note { display: none; }

/* reading size: fullmag's own rules set the full story smaller than the 2-minute card */
#full.fm .fm-main p, #full.fm .fm-main p.fm-drop, #quick.mag .story p, #quick.mag .story p.open { font-size: 1.1rem; line-height: 1.68; }
#full.fm .fm-main p.punch { font-size: 1.3rem; line-height: 1.3; }
/* the timeline is a vertical list here, so its "swipe" hint no longer applies */
.band:has(.timeline) .inner > .sub { display: none; }




/* ================= Boom & Bust specifics ================= */
/* chart paper: a fine grid with a heavier rule every five squares */
html.bb, html.bb body { background-color: var(--bb-night); }
html.bb body { background-image:
  linear-gradient(rgb(52 224 127 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(52 224 127 / .035) 1px, transparent 1px),
  linear-gradient(rgb(52 224 127 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(52 224 127 / .06) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px; }
main, .hero, footer.end { position: relative; z-index: 1; }

/* type */
.chapter h2, #full.fm .chapter h2, .band h3, .tomorrow h3, #quick.mag .hook, #full.fm .fm-mast .hook { font-family: var(--bb-display); font-weight: 800; font-stretch: normal; text-transform: none; letter-spacing: -.035em; color: var(--bb-ink); }
#full.fm .chapter h2::before { content: none; }
.why p { font: 600 clamp(1.7rem, 3.4vw, 2.8rem)/1.2 var(--bb-display); font-stretch: normal; letter-spacing: -.025em; color: var(--bb-ink); }
.why p .bb-w { color: #2a322e; transition: color .5s; }
.why p .bb-w.lit { color: var(--bb-ink); }
.quote { background: transparent; }
.quote blockquote p { font: italic 400 clamp(1.9rem, 4.4vw, 3.4rem)/1.15 var(--bb-text); text-transform: none; letter-spacing: 0; font-stretch: normal; }
#quick.mag .pull p, #full.fm .pull p { font: italic 400 clamp(1.35rem, 2vw, 1.7rem)/1.3 var(--bb-text); font-stretch: normal; }
#quick.mag .story p.open::first-letter, #full.fm .fm-main p.fm-drop::first-letter { font-family: var(--bb-display); font-stretch: normal; font-weight: 800; color: var(--bb-fire); }
.stat b, .timeline b, #quick.mag .tile b { font-family: var(--bb-display); font-weight: 800; font-stretch: normal; letter-spacing: -.03em; }
/* boxes: dark dashboard panels */
#quick.mag .story p.punch, #full.fm .fm-main p.punch { font: 700 1.12em/1.35 var(--bb-ui); color: #fff; background: var(--bb-night-2); box-shadow: inset 0 0 0 1px rgb(52 224 127 / .3); padding: 12px 16px; border-radius: 12px; }
.bb-keybox, #quick.mag .tile, .stat, .aside, .lab .readout > div { border-radius: 18px; background: var(--bb-night-2); box-shadow: inset 0 0 0 1px var(--bb-line); }
.bb-keybox { padding: 18px 20px; margin: 0 0 24px; }
.bb-keybox h4 { margin: 0 0 12px; font: 700 .78rem/1 var(--bb-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--bb-fire); }
.bb-keybox ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bb-keybox li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 10px; align-items: baseline; }
.bb-keybox b { font: 800 1.1rem/1 var(--bb-display); color: var(--bb-ink); }
.bb-keybox span { font: 400 .9rem/1.4 var(--bb-ui); color: var(--bb-ink-3); }
.bb-kb-inline { display: none; margin-top: 28px; }
@media (max-width: 899px) { .bb-kb-inline { display: block; } .bb-kb-side { display: none; } }
#quick.mag .tile { padding: 16px; border-top: 0; }
#quick.mag .tile:nth-child(2) b { color: var(--bb-blood); }
.stat { padding: 22px; border-top: 0; }
.stat:nth-child(2) b { color: var(--bb-blood); }
.aside { padding: 22px; }
.aside h4 { color: var(--bb-fire); }
.wrap ul.list li { border-top: 1px solid var(--bb-line); }
.timeline li::before { background: var(--bb-night); }

/* hero: the 3D line behind the title, and the ticker */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; justify-content: stretch; align-items: start; justify-items: center; padding: 0; background: transparent; text-align: center; }
.hero .art, .hero .rays, .cue { display: none !important; }
.bb-stage { position: absolute; inset: 0; z-index: 0; background: center 70% / cover no-repeat; }
.bb-stage.gl-ready { background-image: none !important; }
.bb-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bb-night)); pointer-events: none; z-index: 0; }
.hero-inner { display: block; position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: clamp(90px, 13vh, 140px) 20px 0; text-align: center; }
.hero .eyebrow { font: 600 .82rem/1 var(--bb-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--bb-ink-3); margin: 0 0 16px; }
.hero h1 { font: 800 clamp(3.2rem, 9vw, 7.6rem)/.9 var(--bb-display); font-stretch: normal; letter-spacing: -.035em; text-transform: none; color: var(--bb-ink); margin: 0 0 20px; }
.hero h1 .small { display: block; font: 700 .3em/1.1 var(--bb-ui); letter-spacing: -.01em; color: var(--bb-fire); margin: 0 0 .15em; }
.hero .dek { margin: 0 auto 22px; max-width: 34ch; font: 450 clamp(1.15rem, 1.9vw, 1.5rem)/1.35 var(--bb-ui); color: var(--bb-ink-3); }
.hero .meta { justify-content: center; margin: 0; }
.hero .meta span:first-child { flex-basis: 100%; text-align: center; }
.hero .meta a { color: var(--bb-fire); box-shadow: inset 0 0 0 1.5px var(--bb-fire); }
.hero .meta span:nth-child(2) a { background: var(--bb-ink); color: var(--bb-night); }
.bb-hnote { position: absolute; right: 16px; top: 64px; z-index: 2; font: 400 .75rem/1.3 var(--bb-ui); color: var(--bb-ink-4); }
.bb-ticks { position: relative; z-index: 2; grid-row: 3; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px clamp(20px, 5vh, 48px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; font: 600 .82rem/1.3 var(--bb-ui); color: var(--bb-ink-4); text-align: center; }
.bb-ticks span { max-width: 18ch; margin: 0 auto; }
.bb-ticks b { display: block; font: 800 1.25rem/1 var(--bb-display); color: var(--bb-ink); }
.bb-ticks .up b { color: var(--bb-fire); }
.bb-ticks .dn b { color: var(--bb-blood); }
/* phones: all six key dates, three to a row, under the line (the hero grows to hold them) */
@media (max-width: 760px) {
  .hero { height: auto; grid-template-rows: auto minmax(112px, 1fr) auto; }
  html.bb-has-ribbon .hero { min-height: calc(100svh - 52px); }
  .hero-inner { padding-top: clamp(28px, 5vh, 48px); }
  .hero .dek { margin-bottom: 16px; }
  .bb-hnote { top: auto; bottom: 6px; right: 12px; font-size: .66rem; }
  .hero .listen-top { flex-wrap: nowrap; gap: 8px; }
  .hero .listen-link { white-space: nowrap; }
}
@media (max-width: 380px) {
  .hero .listen-link { padding-left: 11px; padding-right: 11px; font-size: 11px; letter-spacing: .05em; }
  .bb-ticks { font-size: .7rem; gap: 12px 8px; }
  .bb-ticks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; padding: 0 16px 26px; font-size: .74rem; line-height: 1.3; }
  .bb-ticks span { display: block; max-width: none; }
  .bb-ticks span:nth-child(n+4) { display: block; }
  .bb-ticks b { font-size: 1.15rem; margin-bottom: 3px; }
}
.ipso-brand ~ .bb-ticks, .ipso-brand ~ .bb-hnote { display: none; }

/* the multiplier: 3D glowing bars in place of the flat chart (only once 3D runs) */
.bb-mx { display: none; position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; margin: 8px 0 14px;
  background: radial-gradient(80% 80% at 50% 30%, #0f1a14, #050706); box-shadow: inset 0 0 0 1px var(--bb-line); }
.lab.bb-3d .bb-mx { display: block; }
.lab.bb-3d #mult { display: none !important; }
.bb-mx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.bb-legend { position: absolute; left: 18px; top: 14px; display: flex; gap: 16px; font: 500 .82rem/1 var(--bb-ui); color: var(--bb-ink-3); pointer-events: none; }
.bb-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bb-legend .g { background: #e8e8ec; } .bb-legend .r { background: #2fd27a; } .bb-legend .l { background: #fff; height: 2px; vertical-align: 3px; }
@media (max-width: 700px) { .bb-mx { aspect-ratio: 4 / 5; } .bb-legend .t { display: none; } }
.lab { display: block; }
.lab > div:first-child { text-align: center; }
.lab .sub, .lab .caption { margin-left: auto; margin-right: auto; text-align: center; color: var(--bb-ink-3); }
.lab .readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 18px; }
.lab .readout > div { padding: 16px 18px; font: 400 .92rem/1.35 var(--bb-ui); color: var(--bb-ink-3); text-align: left; }
.lab .readout b { display: block; font: 800 clamp(1.6rem, 4vw, 2.6rem)/1 var(--bb-display); color: var(--bb-ink); margin-bottom: 6px; letter-spacing: -.03em; }
.lab .readout > div:nth-child(2) b { color: var(--bb-fire); }
.lab .control { display: block; max-width: 40rem; margin: 0 auto; text-align: center; font: 500 1rem/1.4 var(--bb-ui); color: var(--bb-ink-3); }
.lab .control #m-label { color: var(--bb-ink); font-weight: 700; }
.lab .control input { display: block; width: 100%; margin: 12px 0 0; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--bb-fire) var(--fill, 87%), var(--bb-line-2) 0); }
.lab .control input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bb-ink); box-shadow: 0 2px 8px rgb(0 0 0 / .4); }
.lab .control input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--bb-ink); border: 0; }
@media (max-width: 700px) { .lab .readout { gap: 8px; } .lab .readout > div { padding: 12px; font-size: .78rem; } .lab .readout b { font-size: 1.5rem; } }

/* ---------- the ribbon (bb.js): same items and look as the Jazz page, black, its foot fading into the page ---------- */
html.bb-has-ribbon .bar, html.bb-has-ribbon .top-links, html.bb-has-ribbon .top-about { display: none !important; }
.bb-ribbon { position: sticky; top: 0; z-index: 40; height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 max(18px, calc((100vw - 1180px) / 2));
  background: #0a0908; color: #f3efe6; font: 500 .875rem/1 var(--bb-ui); }
.bb-ribbon::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: linear-gradient(#0a0908, rgb(10 9 8 / 0)); pointer-events: none; }
.bb-ribbon .brand { font: 600 1rem/1 var(--bb-ui); letter-spacing: -.01em; color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.bb-ribbon .rb-title { color: rgb(255 255 255 / .6); margin-right: auto; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bb-ribbon.past-hero .rb-title { opacity: 1; transform: none; }
.bb-ribbon .rb-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.bb-ribbon .rb-links a, .bb-ribbon .rb-share { color: rgb(255 255 255 / .72); text-decoration: none; white-space: nowrap; padding: 9px 12px; border-radius: 999px; background: none; border: 0; font: inherit; cursor: pointer; transition: background .2s, color .2s; }
.bb-ribbon .rb-links a:hover, .bb-ribbon .rb-share:hover { color: #fff; background: rgb(255 255 255 / .1); }
.bb-ribbon .rb-share, .bb-ribbon .sign-out:not([hidden]) { padding: 8px 10px; display: inline-flex; position: relative; }
.bb-ribbon svg { width: 18px; height: 18px; }
.bb-ribbon .rb-share[data-done]::after { content: attr(data-done); position: absolute; top: calc(100% + 6px); right: 0; padding: 6px 10px; border-radius: 6px; background: #fff; color: #07090a; font-size: .8rem; white-space: nowrap; }
@media (max-width: 560px) { .bb-ribbon .rb-title { display: none; } }
@media (max-width: 420px) { .bb-ribbon { gap: 6px; } .bb-ribbon .rb-links a { padding: 9px 8px; } }

/* the hero is centred: so are its listen buttons */
.hero .listen-top { justify-content: center; }
