.article-page {
  --article-text: 720px;
  --article-wide: 1040px;
  --article-media: 640px;
  --article-gutter: clamp(1rem, 4vw, 3rem);
  --section-space: var(--space-3xl);
  --media-space: clamp(2.5rem, 4.5vw, 3.5rem);
  --text-label: .68rem;               /* matches .sel-panel-head .article-kicker / .sel-field-label on the Selector page; .82 was bigger there than here */
  --text-caption: .68rem;             /* matches .sel-field-label on the Selector page; .81 read too loud in mono caps */
  --text-body: 1.12rem;
  --text-lead: 1.35rem;
  --leading-body: 1.66;
  --heading-section: clamp(2rem, 3.7vw, 2.8rem);
  --border-default: 1px solid var(--ink);
  overflow-x: hidden;
}

/* The header is static (not sticky), so an anchor jump should land the target's
   own top edge at the very top of the viewport — nothing from the block above it
   showing. Keep this at 0; a larger value leaves a slice of the previous section
   (often a full-bleed colour block) visible after a table-of-contents click. */
.article-page [id] { scroll-margin-top: 0; }
/* On a guide the header is part of the masthead rather than a separate strip
   above it. The coral runs from under the promo bar to the bottom of the H1
   block in one piece, so the page opens with a single field of colour instead
   of a band with an empty paper shelf over it. The rule below removes the
   header's own border, which read as a seam once both sides of it were the
   same colour. */
.article-site-header { position: static; background: var(--paper); }
/* The Selector shares this shell and has no masthead under its header, so the
   colour is scoped to the pages that do: on the Selector it would be a band of
   coral with nothing beneath it. */
.article-page:not(.selector-page) .article-site-header { background: var(--coral); border-bottom: 0; }
/* The asterisk is --acid on paper, which is nearly the coral it now sits on. */
.article-page:not(.selector-page) .article-site-header .wordmark span { color: var(--ink); }

.article-hero {
  width: min(calc(100% - (2 * var(--article-gutter))), var(--article-text));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.article-kicker,
.era-years {
  margin: 0 0 1.15rem;
  font-family: var(--mono);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: var(--article-text);
  font-size: clamp(2.75rem, 5.2vw, 4rem);
  line-height: .98;
  letter-spacing: -.05em;
}

/* The fill must grow outwards. Padding narrows the measure and pushes a one-line
   headline onto two; a negative margin meant to cancel it did not, and took 358px
   of text width down to 340. A spread shadow takes no part in layout at all, so
   the headline keeps every pixel of its measure and breaks exactly where it broke
   before. Filling each line rather than the block was tried and fails here: at a
   line-height of .98 the per-line boxes overlap and clip the type. */
.article-masthead {
  background: var(--coral);
  /* Edge to edge at any width. A spread grows in every direction at once, so
     one wide enough to reach the sides of a desktop would also run 100vw down
     the page; the clip trims it back to 1.1rem above and below while leaving it
     unbounded left and right. Still no effect on layout, which is the whole
     point: the headline keeps its measure. */
  box-shadow: 0 0 0 100vw var(--coral);
  /* Upwards the fill reaches exactly the hero's own top padding, which puts its
     edge on the bottom of the header: the two colours meet with nothing between
     them. Downwards it stays at 1.1rem. Still no effect on layout. */
  clip-path: inset(calc(-1 * clamp(4rem, 9vw, 8rem)) -100vw -1.1rem);
}
.article-masthead .article-kicker { margin-bottom: .9rem; }

.article-hero .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) 1.5rem;
  margin: 1.15rem 0 0;
}

.article-hero .reading-time,
.article-hero .article-updated {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--text-label);
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* Two facts of unequal worth. Set identically they read as one string with a
   wide word space in it, which is what they looked like. Weight and colour do
   the separating rather than a bullet between them: the row wraps on a narrow
   screen, and a separator would be left hanging at the end of the first line. */
.article-hero .reading-time { font-weight: 700; }
.article-hero .article-updated { font-weight: 400; color: #34322c; }

.article-deck {
  max-width: var(--article-text);
  margin: 1.75rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.42;
}

.article-hero .article-meta + .article-deck { margin-top: .8rem; }

.article-summary {
  width: 100%;
  max-width: var(--article-text);
  margin: 1.75rem 0 0;
}

/* The definition sits directly under the headline and carried a cyan fill and a
   full border, the same treatment as a listening callout further down. Measured,
   it covered 110,624 square pixels against the headline's 16,145: the biggest,
   only filled, only boxed thing on the opening screen was not the title of the
   article. A rule down the left says "read this closely" without out-ranking
   what it sits beneath, and keeps it distinct from the outlined contents box
   below it. Scoped to the summary, so listening callouts inside the article
   keep the fill that tells them apart from body copy. */
.article-summary.article-listen {
  padding: .35rem 0 .35rem 1.1rem;
  border: 0;
  border-left: 3px solid var(--ink);
  background: none;
}

.article-summary strong {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
}

.article-toc {
  width: 100%;
  max-width: 640px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1rem;
  border: var(--border-default);
}

.article-toc h2 {
  margin: 0 0 .75rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc li {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  padding: .5rem .6rem;
  border-top: 1px solid rgba(10, 10, 10, .28);
  font-size: .94rem;
  line-height: 1.35;
  counter-increment: toc;
  transition: background-color var(--motion-fast) ease;
}
.article-toc li::before { content: counter(toc) "."; }
.article-toc li:hover,
.article-toc li:focus-within { background: var(--cyan); }
.article-toc a { display: block; text-decoration: none; }

.article-section {
  width: min(calc(100% - (2 * var(--article-gutter))), var(--article-text));
  margin: 0 auto;
  padding: var(--section-space) 0;
  border-top: 1px solid rgba(10, 10, 10, .34);
}

.article-section h2 {
  margin: 0 0 1.75rem;
  font-size: var(--heading-section);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.article-section h3 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.article-section p {
  margin: 0 0 1.35rem;
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.article-section p:last-child { margin-bottom: 0; }
.article-intro { border-top: 0; padding-top: 0; }
/* The divider hairline only separates two sections that sit on the same
   background. A toned section introduces its own colour, so it never needs a top
   divider; and the section that follows coloured content (a toned section, or one
   that ends flush with a full-bleed colour block) is already separated by the
   colour change. Some sections are preceded by a bare <a id> jump anchor, so the
   "follows coloured content" rule allows one anchor between. */
.article-section.tone-cyan,
.article-section.tone-yellow,
.article-section.tone-coral { border-top: 0; }
:is(
  .article-section.tone-cyan,
  .article-section.tone-yellow,
  .article-section.tone-coral,
  .article-section:has(> .context-listening-full:last-child),
  .article-section:has(> .article-media-band-full:last-child),
  .article-section:has(> .listening-block-full:last-child)
) + .article-section,
:is(
  .article-section.tone-cyan,
  .article-section.tone-yellow,
  .article-section.tone-coral,
  .article-section:has(> .context-listening-full:last-child),
  .article-section:has(> .article-media-band-full:last-child),
  .article-section:has(> .listening-block-full:last-child)
) + a + .article-section { border-top: 0; }
.article-intro > p:first-child { font-size: var(--text-lead); line-height: 1.5; }
.article-section a { text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* Festival planning is an editorial utility sheet, not a card collection. The
   wide measure lets price comparisons and routes scan horizontally on desktop;
   one type hierarchy and hairlines do the organising. */
.festival-planning-section { width: min(calc(100% - (2 * var(--article-gutter))), var(--article-wide)); }
.festival-planning-section > h2,
.festival-planning-section > p:first-of-type { max-width: var(--article-text); }
.festival-planner { margin-top: 0; }
.article-section .festival-planner-intro { max-width: var(--article-text); margin: 0; padding-bottom: 1.5rem; border-bottom: var(--border-default); }
.festival-planner-block { padding: 1.65rem 0; }
.article-section .festival-planner h3 { margin: 0 0 .45rem; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.06; letter-spacing: -.035em; }
.article-section .festival-planner h4 { margin: 0; font-size: 1.05rem; line-height: 1.28; letter-spacing: -.015em; }
.article-section .festival-planner p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.5; }
.festival-price-table-wrap { margin-top: 1.1rem; overflow-x: auto; }
.festival-price-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; line-height: 1.35; }
.festival-price-table th,
.festival-price-table td { padding: .7rem .25rem; border-bottom: 0; text-align: left; vertical-align: top; }
.festival-price-table thead th { padding-top: 0; border-bottom: 1px solid rgba(10,10,10,.42); font: 700 .78rem/1.35 var(--sans); letter-spacing: .015em; text-transform: uppercase; }
.festival-price-table tbody tr:last-child > * { border-bottom: 1px solid rgba(10,10,10,.42); }
.festival-price-table th:first-child { width: 68%; padding-right: 1.25rem; }
.festival-price-table td { border-left: 1px solid rgba(10,10,10,.34); padding-left: 1.25rem; font-size: 1.08rem; font-weight: 700; }
.festival-price-table small { display: block; margin-top: .15rem; color: #4d4a43; font-size: .78rem; font-weight: 400; line-height: 1.35; }
.article-section .festival-planner .festival-planner-note { margin: 1rem 0 0; max-width: 78ch; font-size: .86rem; line-height: 1.5; }
.festival-routes ol { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.festival-routes li { display: grid; grid-template-columns: 3.2rem minmax(13rem, .9fr) minmax(0, 1.1fr); gap: 1rem; align-items: start; padding: .9rem 0; }
.festival-routes li + li { margin-top: .3rem; }
.festival-route-number { color: var(--acid-text); font: 700 1.05rem/1.3 var(--mono); }
.festival-route-name a { display: inline-block; margin-top: .35rem; font-size: .82rem; }
.article-section .festival-routes li > p { margin: 0; font-size: .95rem; line-height: 1.45; }
.festival-planner a { color: var(--acid-text); overflow-wrap: anywhere; }
.festival-planner-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--border-default); }
.festival-planner-pair .festival-planner-block { padding-right: 1.6rem; border-bottom: 0; }
.festival-planner-pair .festival-planner-block + .festival-planner-block { padding-right: 0; padding-left: 1.6rem; border-left: var(--border-default); }
.festival-spend-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.25rem; margin: 1.1rem 0; }
.festival-spend-list div { min-width: 0; }
.festival-spend-list dt { font: 700 .78rem/1.35 var(--sans); letter-spacing: .015em; text-transform: uppercase; }
.festival-spend-list dd { margin: .2rem 0 0; font-size: .95rem; line-height: 1.4; }
.festival-packing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.65rem 0; border-top: var(--border-default); }
.festival-packing section { padding-right: 1.6rem; }
.festival-packing section + section { padding-right: 0; padding-left: 1.6rem; border-left: var(--border-default); }
.article-section .festival-packing h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.festival-packing ul { margin: .8rem 0 0; padding-left: 1.15rem; }
.festival-packing li { margin: 0 0 .35rem; font-size: .95rem; line-height: 1.42; }
.article-section .festival-rules-note { margin: 0 0 1.65rem; padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--acid-text); font-size: .88rem; line-height: 1.5; }
.festival-planner-links { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding: 1.65rem 0 0; border-top: var(--border-default); }
.festival-link-index { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; }
.festival-link-index a { font-size: .9rem; }

@media (max-width: 760px) {
  .festival-planner { margin-top: 0; }
  .festival-planner-block { padding: 1.35rem 0; }
  .festival-price-table { min-width: 0; font-size: .9rem; }
  .festival-price-table th:first-child { width: 72%; }
  .festival-price-table td { padding-left: .8rem; font-size: 1rem; white-space: nowrap; }
  .festival-routes li { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .75rem; }
  .festival-routes li > p { grid-column: 2; }
  .festival-planner-pair,
  .festival-packing { grid-template-columns: 1fr; }
  .festival-planner-pair .festival-planner-block,
  .festival-packing section { padding-right: 0; }
  .festival-planner-pair .festival-planner-block + .festival-planner-block,
  .festival-packing section + section { padding: 1.35rem 0 0; border-top: 0; border-left: 0; }
  .festival-packing { gap: 1.35rem; }
  .festival-spend-list { grid-template-columns: 1fr 1fr; }
  .festival-planner-links { grid-template-columns: 1fr; gap: 1.35rem; }
}

.article-image {
  width: min(100%, var(--article-media));
  margin: var(--media-space) auto 0;
}

.article-image img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: transparent;
}

.article-image figcaption,
.video-example figcaption {
  font-family: var(--mono);
  font-size: var(--text-caption);
  line-height: 1.45;
}

.article-image figcaption { margin-top: .7rem; }
.article-image + p { margin-top: var(--media-space); }
.feature-image img { aspect-ratio: 3 / 2; }
.cutout-image { max-width: 560px; }
.cutout-image img { max-height: 440px; object-fit: contain; }
.sampler-hero { width: min(100%, 720px); max-width: 720px; }
.sampler-hero img { aspect-ratio: auto; max-height: none; object-fit: contain; }
.sampler-hero figcaption { max-width: 620px; }
.portrait-image { max-width: 380px; margin-inline: auto; }
.portrait-image img { max-height: none; object-fit: contain; }
.square-image { max-width: 460px; }
.square-image img { aspect-ratio: 1; object-fit: cover; }
.pj-smiley-image { width: min(100%, 680px); max-width: 680px; }
.pj-smiley-image img { height: auto; max-height: none; object-fit: contain; }
.artifact-cutout-image { width: min(100%, 560px); max-width: 560px; }
.artifact-cutout-image img { height: auto; max-height: none; object-fit: contain; }
.wide-archive-image { width: min(100%, 720px); max-width: 720px; }
.wide-archive-image img { max-height: none; object-fit: contain; }
.archive-image { margin-block: var(--media-space); }
.bass-music-page {
  --section-space: clamp(3.5rem, 6vw, 5.25rem);
  --media-space: clamp(2.25rem, 4vw, 3.25rem);
}
.bass-music-page .article-hero h1 { max-width: 12ch; }
.bass-music-page .article-section > h3 {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.15rem;
  border-top: 1px solid rgba(10,10,10,.35);
}
.bass-music-page .article-section > h3::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 4rem;
  height: .38rem;
  content: "";
  background: var(--acid);
}
.bass-music-page .article-section > h3:nth-of-type(3n+2)::before { background: var(--cyan); }
.bass-music-page .article-section > h3:nth-of-type(3n)::before { background: var(--coral); }
.bass-music-page .bass-history-visual {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  max-width: none;
  transform: translateX(-50%);
}
.bass-music-page .bass-history-visual picture,
.bass-music-page .bass-history-visual img { display: block; width: 100%; }
.bass-music-page .bass-history-visual img { height: auto; border: 1px solid var(--ink); }
.bass-music-page .bass-history-visual figcaption { max-width: 680px; }
.bass-music-page .inline-term { font-family: "Space Mono", monospace; font-size: .88em; }
.bass-music-page .article-note {
  margin-block: 1.75rem;
  padding: .9rem 0 .9rem 1rem;
  border-left: .35rem solid var(--acid);
}
.bass-music-page .classic-youtube-embed { width: min(calc(100vw - (2 * var(--article-gutter))), 860px); }
.bass-music-page #types .genre-table,
.bass-music-page #records .genre-table { background: var(--paper); }
.bass-music-page .bass-scene-table th:first-child,
.bass-music-page .bass-scene-table td:first-child { width: 25%; font-weight: 700; }
.bass-music-page .bass-record-table th:first-child,
.bass-music-page .bass-record-table td:first-child { width: 38%; font-weight: 700; }
.bass-music-page .bass-starting-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  margin: 2.5rem 0;
  transform: translateX(-50%);
  border: 1px solid var(--ink);
  background: var(--ink);
}
.bass-music-page .bass-route-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.8vw, 2rem);
  background: var(--paper);
}
.bass-music-page .bass-route-card:nth-child(2) { background: var(--cyan); }
.bass-music-page .bass-route-card:nth-child(3) { background: var(--yellow); }
.bass-music-page .bass-starting-routes span {
  display: block;
  margin-bottom: 2.5rem;
  font: 700 .75rem/1 "Space Mono", monospace;
}
.bass-music-page .article-section .bass-starting-routes h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.bass-music-page .article-section .bass-starting-routes p { margin: 0; font-size: .98rem; line-height: 1.55; }

.listening-block {
  margin-block: var(--media-space);
  padding-top: 1.5rem;
  background: var(--listening-bg, var(--cyan));
}
.listening-block-full {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  padding: clamp(1.25rem, 3vw, 2rem);
  transform: translateX(-50%);
  box-sizing: border-box;
}
.listening-intro { max-width: 620px; }
.listening-intro .article-kicker { margin-bottom: .55rem; }
.listening-intro > p:last-child { margin-bottom: 0; }
.listening-block .video-grid { margin-top: 1.5rem; }
.listening-block-full .video-grid {
  left: auto;
  width: 100%;
  transform: none;
}

@media (min-width: 1001px) {
  /* A single-video block follows the same measure as the prose around it. Its
     factual setup sits under the label, directly above the player. */
  .listening-block-full {
    width: 100%;
  }
}

.video-grid {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  margin: 3.25rem 0 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.video-grid > :only-child { grid-column: 1 / -1; }
@media (min-width: 761px) {
  .video-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.video-example { margin: 0; border: 1px solid currentColor; background: var(--surface-muted); }
.video-frame { aspect-ratio: 16 / 9; background: #0a0a0a; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-example figcaption { display: grid; gap: .3rem; padding: .85rem 1rem 1rem; }
.video-example figcaption span { opacity: .62; text-transform: uppercase; }
.video-example figcaption strong { font-family: "Satoshi", sans-serif; font-size: .95rem; line-height: 1.3; }

.genre-map {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  margin: 2.75rem 0 0;
  transform: translateX(-50%);
}
.genre-map svg { display: block; width: 100%; height: auto; border-block: 1px solid currentColor; }
.map-columns { font: 700 12px "Space Mono", monospace; letter-spacing: .04em; }
.map-links { fill: none; stroke: rgba(10, 10, 10, .45); stroke-width: 1.5; pointer-events: none; }
.map-node rect { fill: var(--surface-muted); stroke: var(--ink); transition: fill var(--motion-fast) ease; }
.map-node text { font: 700 13px "Satoshi", sans-serif; pointer-events: none; }
.map-node .map-date { font: 400 10px "Space Mono", monospace; opacity: .65; }
.map-node:hover rect,
.map-node:focus rect { fill: var(--cyan); }
.map-node:focus { outline: none; }
.genre-map figcaption { margin-top: .75rem; font: .72rem/1.45 "Space Mono", monospace; }
.genre-map-mobile { display: none; }

.tone-cyan,
.tone-yellow,
.tone-coral,
.future-section {
  background: var(--section-bg);
  box-shadow: 0 0 0 100vmax var(--section-bg);
  clip-path: inset(0 -100vmax);
}
.tone-cyan { --section-bg: var(--cyan); }
.tone-yellow { --section-bg: var(--yellow); }
.tone-coral { --section-bg: var(--coral); }
.future-section { --section-bg: var(--ink); color: var(--surface-muted); }
.faq-section details { border-top: 1px solid rgba(10, 10, 10, .35); }
.faq-section details:last-child { border-bottom: 1px solid rgba(10, 10, 10, .35); }
.faq-section summary { padding: 1.15rem 2rem 1.15rem 0; cursor: pointer; font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
/* Matches summary's own 1.15rem so an open answer gets the same breathing
   room before the divider below it that a closed question already gets from
   its summary's padding-bottom; left at 0 the answer text sat flush against
   the line while every closed question had clear air above its line. */
.faq-section details p { padding-right: 1.5rem; padding-bottom: 1.15rem; }
.sources-section p { font-size: .95rem; overflow-wrap: anywhere; }
/* A table is media: it gets the same gap under it as over it, on the shared
   --media-space scale, so the next paragraph never sits flush against the
   table border. A top-only margin left that gap at 0px. */
.genre-table-wrap { position: relative; left: 50%; width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide)); margin-block: var(--media-space); transform: translateX(-50%); overflow-x: auto; border: 1px solid currentColor; }
.genre-table { width: 100%; border-collapse: collapse; background: var(--surface-muted); font-size: .92rem; line-height: 1.45; }
.genre-table th, .genre-table td { min-width: 150px; padding: .9rem; border-right: 1px solid rgba(10,10,10,.25); border-bottom: 1px solid rgba(10,10,10,.25); text-align: left; vertical-align: top; }
.genre-table th { font-family: "Space Mono", monospace; font-size: .74rem; text-transform: uppercase; }
.genre-table tr:last-child td { border-bottom: 0; }
.genre-table th:last-child, .genre-table td:last-child { border-right: 0; }
.genre-table tbody tr { transition: background-color var(--motion-fast) ease; }
.genre-table tbody tr:hover,
.genre-table tbody tr:focus-within { background: var(--cyan); }
.club-guide-name { display: block; }
.club-guide-links { display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin-top: .55rem; font-family: "Space Mono", monospace; font-size: .72rem; line-height: 1.35; }
.club-guide-links a { text-underline-offset: .16em; }
.club-guide-check { display: block; margin-top: .6rem; max-width: 28ch; font-size: .72rem; line-height: 1.4; }
.club-guide-checked { margin: 0; padding: .65rem .9rem; border-top: 1px solid currentColor; background: var(--paper); font-family: "Space Mono", monospace; font-size: .7rem; line-height: 1.4; }
.club-venue-planning { margin: 1.5rem 0; padding: 1rem 1.15rem; border: 1px solid currentColor; background: var(--surface-muted); }
.club-venue-planning dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .8rem 1.25rem; margin: 0; }
.club-venue-planning dl > div { min-width: 0; }
.club-venue-planning dt { margin-bottom: .25rem; font-family: "Space Mono", monospace; font-size: .68rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.club-venue-planning dd { margin: 0; font-size: .92rem; line-height: 1.4; }
.club-venue-planning a { overflow-wrap: anywhere; text-underline-offset: .16em; }
.club-venue-planning small { display: block; margin-top: .85rem; padding-top: .75rem; border-top: 1px solid rgba(10,10,10,.25); font-size: .76rem; line-height: 1.45; }
@media (max-width: 760px) {
  .club-venue-planning dl { grid-template-columns: 1fr; }
}
.source-list { margin: 2rem 0 0; padding-left: 1.25rem; }
.source-list li { margin-bottom: .8rem; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }

.soundcloud-feature {
  width: min(100%, 620px);
  margin: var(--media-space) auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-sizing: border-box;
  border: 1px solid #0a0a0a;
  background: var(--cyan);
}
.soundcloud-feature h3 { margin: 0 0 .7rem; font-size: clamp(1.65rem, 3vw, 2.1rem); line-height: 1.08; letter-spacing: -.035em; }
.soundcloud-feature p:not(.article-kicker) { margin: 0; font-size: 1rem; line-height: 1.5; }
.soundcloud-feature iframe { width: 100%; margin-top: 1.15rem; border: 0; }

.spotify-feature {
  width: min(100%, 640px);
  margin: var(--media-space) auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-sizing: border-box;
  border: 1px solid #0a0a0a;
  background: var(--yellow);
}
.spotify-feature h3 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 2.8vw, 1.95rem); line-height: 1.1; }
.spotify-feature p:not(.article-kicker) { margin: 0; font-size: 1rem; line-height: 1.5; }
.spotify-feature iframe { display: block; margin-top: 1.15rem; border: 0; border-radius: 12px; }

.article-listen {
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid currentColor;
  background: var(--cyan);
  font-size: 1rem;
  line-height: 1.55;
}
.article-listen p { margin: 0; }

.article-embed {
  display: block;
  width: min(100%, 720px);
  max-width: 100%;
  margin: var(--media-space) auto;
  border: 0;
}
.video-inline-embed { aspect-ratio: 16 / 9; height: auto; background: #0a0a0a; }
.spotify-inline-embed { min-height: 152px; border-radius: 12px; }
.jungle-page .article-section > ul { margin: 1.5rem 0; padding-left: 1.35rem; }
.jungle-page .article-section > ul li { margin-bottom: .75rem; font-size: 1.02rem; line-height: 1.55; }
.jungle-page .pull-quote { margin: 2rem 0; padding: 1.35rem 0 1.35rem 1.5rem; border-left: .45rem solid var(--acid); font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.25; }
.jungle-page,
.dnb-page { --section-space: clamp(2.5rem, 4.5vw, 3.75rem); --media-space: clamp(1.75rem, 3vw, 2.5rem); }
/* Match the jungle guide: the listening block's intro heading is the same size as
   the compact listening-band heading. */
.dnb-page .article-section .context-listening-intro h3 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
.jungle-page .article-image img { aspect-ratio: auto; }
.jungle-page .awol-flyer { width: min(100%, 400px); max-width: 400px; }
.jungle-page .awol-flyer img,
.jungle-page .awol-flyer figcaption { box-sizing: border-box; }
.jungle-page .awol-flyer img { width: 100%; }
.jungle-page .awol-flyer figcaption { width: 100%; margin: .65rem auto 0; text-align: center; }
.article-media-band {
  position: relative;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  margin-block: var(--media-space);
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  box-sizing: border-box;
  transform: translateX(-50%);
  border: 1px solid currentColor;
}
.article-media-copy { min-width: 0; }
.article-media-copy .article-kicker { margin-bottom: .55rem; }
.article-media-copy h3 { margin: 0 0 .65rem; font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
.article-media-copy p:last-child { margin: 0; font-size: .98rem; line-height: 1.5; }
.article-listening-feature .article-embed { width: 100%; margin: 0; }
.article-listening-feature .spotify-inline-embed { height: 152px; min-height: 152px; }
.article-listening-feature .soundcloud-inline-embed { height: 166px; min-height: 166px; }
.article-media-band-full {
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  padding-right: clamp(1.2rem, 2.5vw, 1.6rem);
  padding-left: clamp(1.2rem, 2.5vw, 1.6rem);
  /* The shared Essential-listening variant is contained on desktop and bleeds
     only on narrow screens. It keeps the flat, frameless cyan treatment. */
  border: 0;
}
.article-media-band-paper { background: var(--paper); }
.article-media-band-cyan { background: var(--cyan); }
.article-media-band-yellow { background: var(--yellow); }
.article-media-band-coral { background: var(--coral); }
/* Shared track, DJ-mix and playlist promotions follow the surrounding prose at every width. */
.article-media-band:is([aria-labelledby^="own-set-"], [aria-labelledby^="own-playlist-"], [aria-labelledby^="own-track-"]) {
  left: auto;
  width: min(calc(100% - (2 * var(--article-gutter))), var(--article-text));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  transform: none;
}
.article-section .article-media-band:is([aria-labelledby^="own-set-"], [aria-labelledby^="own-playlist-"], [aria-labelledby^="own-track-"]) { width: 100%; }
.jungle-page #jungle-mania { padding-bottom: 0; }
.jungle-page #jungle-mania > .article-listening-feature:last-child { margin-bottom: 0; }
.classic-youtube-embed {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), 900px);
  margin: clamp(1.75rem, 3vw, 2.5rem) 0;
  transform: translateX(-50%);
}
.classic-youtube-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #0a0a0a; }
/* On its own the YouTube embed is a full-bleed element: it centres itself on the
   viewport and takes 900px or the window, whichever is smaller. Inside a
   listening band that bleed is applied twice and the page scrolls sideways, so
   in that context it goes back to being an ordinary block filling its cell. */
.article-listening-feature .classic-youtube-embed { position: static; left: auto; width: 100%; margin: 0; transform: none; }
.jungle-page code { font-family: "Space Mono", monospace; font-size: .9em; }

.styles-section h3 {
  position: relative;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10,10,10,.35);
}
.styles-section h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.25rem;
  height: .35rem;
  content: "";
  background: var(--acid);
}
.styles-section h3:nth-of-type(3n+2)::before { background: var(--cyan); }
.styles-section h3:nth-of-type(3n)::before { background: var(--yellow); }

.track-route {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: tracks;
}
.track-route li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0,1fr);
  gap: .75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(10,10,10,.3);
  font-size: 1.02rem;
  line-height: 1.5;
  counter-increment: tracks;
}
.track-route li:last-child { border-bottom: 1px solid rgba(10,10,10,.3); }
.track-route li::before { content: counter(tracks, decimal-leading-zero); font: 700 .75rem "Space Mono", monospace; padding-top: .2rem; }

.track-timeline,
.context-listening {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  margin: 2.75rem 0 0;
  transform: translateX(-50%);
}
.context-listening {
  margin-block: var(--media-space);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
  border: 1px solid currentColor;
  background: var(--listening-bg, var(--cyan));
}
.context-listening-full {
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  padding-right: clamp(1.25rem, 3vw, 2rem);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  /* No frame: the contained block reads by its cyan background. A horizontal
     rule around it would add noise without clarifying the structure. */
  border: 0;
}
.article-image + .context-listening { margin-top: 0; }

/* Essential listening: one vertical rhythm for both block variants
   (context-listening and article-media-band), and a full-bleed block that ends
   its section sits flush with the section edge so no band of the section's own
   colour trails after it. */
.article-section > .context-listening-full:last-child,
.article-section > .article-media-band-full:last-child,
.article-section > .listening-block-full:last-child { margin-bottom: 0; }
.article-section:has(> .context-listening-full:last-child),
.article-section:has(> .article-media-band-full:last-child),
.article-section:has(> .listening-block-full:last-child) { padding-bottom: 0; }
.context-listening-full + p,
.article-media-band-full + p,
.listening-block-full + p { margin-top: var(--media-space); }
.listening-cyan { --listening-bg: var(--cyan); }
.listening-yellow { --listening-bg: var(--yellow); }
.listening-coral { --listening-bg: var(--coral); }
.listening-paper { --listening-bg: var(--paper); }
.context-listening-intro { max-width: 680px; margin-bottom: 1.5rem; }
.context-listening-intro .article-kicker { margin-bottom: .55rem; }
.article-section .context-listening-intro h3 { margin: 0 0 .65rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.article-section .context-listening-intro p:last-child { margin: 0; font-size: 1rem; line-height: 1.5; }
.context-track-list {
  /* Header, then a ruled list: one hairline between the intro and the first track
     (border-top on the first .track-entry) and one between every pair of tracks.
     All of it is on the same block colour, so the rules read as a list, not
     stray lines. */
  display: grid;
  margin-top: 1.5rem;
}
.track-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-top: 1px solid rgba(10, 10, 10, .34);
}
/* Deep links to a single track keep a small gap so the :target glow is not
   clipped; section/anchor jumps (the rule above) stay flush at 0. */
.article-page .track-entry[id] { scroll-margin-top: 1rem; }
.track-meta {
  margin: 0 0 .5rem;
  font: 700 .72rem/1.4 "Space Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.track-copy h3,
.track-copy h4 { margin: 0 0 .55rem; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.1; letter-spacing: -.025em; }
/* Lighter weight, not lower opacity: opacity dropped this text below AA contrast
   on the cyan block. The 400 weight against the bold title is enough hierarchy. */
.track-copy h4 .track-year { font-weight: 400; letter-spacing: 0; }
.track-copy p { margin: 0; font-size: .98rem; line-height: 1.5; }
.track-player { min-width: 0; }
.track-embed { display: block; width: 100%; border: 0; }
.spotify-embed { height: 152px; border-radius: 12px; }
.soundcloud-embed { height: 166px; }
.bandcamp-embed { display: block; width: 100%; height: 120px; border: 0; }
/* Safari blocks Bandcamp's player cookies, so analytics-runtime.js swaps each
   Bandcamp frame for this link card there (defects.json bandcamp-embeds-blank-in-safari). */
.bandcamp-fallback { height: auto; min-height: 42px; padding: .7rem 1rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .4rem; border: 1px solid currentColor; border-left: .35rem solid #ff5a36; color: inherit; text-decoration: none; }
.bandcamp-fallback strong { font-weight: 700; }
.bandcamp-fallback span { font-family: "Space Mono", "SFMono-Regular", Consolas, monospace; font-size: .875rem; font-weight: 700; text-transform: uppercase; }
.bandcamp-fallback:hover span { text-decoration: underline; }
.track-video { aspect-ratio: 16 / 9; background: #0a0a0a; }
.track-video iframe { height: 100%; }
.track-mention { font-weight: 500; }
.track-entry:target { background: var(--cyan); box-shadow: 0 0 0 .75rem var(--cyan); }

.breakbeat-map svg { background: var(--surface-muted); }
.breakbeat-map .map-node:nth-of-type(4n+1) rect { fill: var(--cyan); }
.breakbeat-map .map-node:nth-of-type(4n+2) rect { fill: var(--yellow); }
.breakbeat-map .map-node:nth-of-type(4n+3) rect { fill: var(--coral); }
.breakbeat-map .map-node:hover rect,
.breakbeat-map .map-node:focus rect { fill: var(--acid); }

.author-card {
  width: min(calc(100% - (2 * var(--article-gutter))), var(--article-text));
  margin: 0 auto var(--section-space);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid currentColor;
}
.author-card-filled {
  background: var(--cyan);
}
.author-card-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(140px, 170px);
  grid-template-rows: auto auto;
  column-gap: clamp(1.25rem, 3vw, 2rem);
  row-gap: 1.35rem;
  align-items: start;
  min-width: 0;
}
.author-card h2 { grid-column: 1 / 3; grid-row: 1; margin: 0; font: 700 clamp(.9rem, 1.4vw, 1.1rem)/1.2 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .01em; }
.author-portrait { grid-column: 1; grid-row: 2; margin: 0; }
.author-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid currentColor;
}
.author-bio { grid-column: 2; grid-row: 2; max-width: 600px; margin: 0; font-size: 1rem; line-height: 1.55; }
.author-card nav { display: grid; grid-column: 3; grid-row: 2; gap: .65rem; margin: 0; font: 700 .78rem "Space Mono", monospace; text-transform: uppercase; }
.author-card a { text-underline-offset: .2em; }

.article-cta {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  grid-template-areas: "copy player" "actions player";
  gap: 1rem clamp(2rem, 4vw, 3rem);
  align-items: start;
  width: min(calc(100% - (2 * var(--article-gutter))), var(--article-wide));
  margin: 0 auto var(--section-space);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #0a0a0a;
  background: var(--acid);
}
.article-cta-copy { grid-area: copy; min-width: 0; }
.article-cta h3 { max-width: 16ch; margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.25rem); line-height: 1.08; letter-spacing: -.035em; }
.article-cta p { max-width: 27ch; margin: 0 0 1.75rem; font-size: 1rem; line-height: 1.5; }
.article-cta h3 + p { margin-top: .8rem; }
.article-cta-player { grid-area: player; min-width: 0; }
.article-cta-player iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }
.article-cta-actions { grid-area: actions; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.article-cta .follow-button { justify-content: center; background: var(--cyan); color: var(--ink); }
.article-cta .follow-button {
  gap: .65rem;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 90ms cubic-bezier(.2, .8, .2, 1), box-shadow 90ms cubic-bezier(.2, .8, .2, 1);
}
.article-cta .follow-button:hover { transform: translate(-1px, -1px); box-shadow: 8px 8px 0 var(--ink); }
.article-cta .follow-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 9px; }
.article-cta .follow-button:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); transition-duration: 40ms; }
.article-cta-full {
  position: relative;
  left: 50%;
  grid-template-columns: minmax(240px, 340px) minmax(0, 600px);
  justify-content: center;
  width: 100vw;
  max-width: none;
  margin: 0 0 var(--section-space);
  padding: clamp(1.35rem, 2.5vw, 2rem) var(--article-gutter);
  transform: translateX(-50%);
  border-right: 0;
  border-left: 0;
}
.article-cta-full h3 { max-width: none; font-size: clamp(1.7rem, 2.7vw, 2.25rem); }
.article-cta-full p { max-width: 36ch; margin-bottom: 1.1rem; }
/* One support block: early in the reading flow until the right gutter can
   accommodate a genuinely separate, keyboard-reachable rail. */
.article-promo-layout { min-width: 0; }
.article-promo-rail { min-width: 0; }
.article-promo-rail .article-cta { margin-bottom: var(--section-space); }
@media (min-width: 1360px) and (min-height: 700px) {
  .article-promo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--article-text)) minmax(0, 1fr);
    align-items: stretch;
  }
  .article-promo-before,
  .article-promo-after { position: relative; z-index: 1; grid-column: 2; min-width: 0; }
  .article-promo-before { grid-row: 1; }
  .article-promo-after { grid-row: 2; }
  .article-promo-rail {
    grid-column: 3;
    grid-row: 1 / 3;
    padding: 0 1rem;
  }
  .article-promo-rail .article-cta-full {
    position: sticky;
    top: 3.5rem;
    left: auto;
    display: block;
    width: min(100%, 320px);
    max-height: calc(100vh - 4.5rem);
    margin: 0;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    transform: none;
    border: 1px solid var(--ink);
  }
  .article-promo-rail .article-cta-copy { display: block; }
  .article-promo-rail .article-cta h3 { margin-bottom: .6rem; font-size: 1.55rem; }
  .article-promo-rail .article-cta p { margin-bottom: .85rem; font-size: .88rem; }
  .article-promo-rail   .article-promo-rail .article-cta-player { margin-top: 1rem; }
  .article-promo-rail .article-cta-actions { margin-top: 1rem; }
}
.sources-section { padding-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.read-next,
.articles-index {
  width: min(calc(100% - (2 * var(--article-gutter))), var(--article-wide));
  margin: 0 auto var(--section-space);
}
.articles-index > h2 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.read-next > .article-kicker { margin: 0 0 .6rem; }
.read-next > h2,
.articles-index > h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 3.7vw, 2.8rem); line-height: 1.04; letter-spacing: -.04em; }
/* Category filter on /articles. Same grammar as the Selector's chips
   (.sel-chip below): outlined on paper, cyan on hover, solid ink when on,
   the count lighter behind the name. */
.articles-tools[hidden], .articles-empty[hidden] { display: none; }
.articles-search {
  display: block; width: 100%; max-width: 28rem; min-height: 2.8rem; margin: 0 0 1rem;
  padding: .55rem .9rem; border: 1.5px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); font: 700 .9rem/1.2 var(--mono);
}
.articles-search:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; background: #fff; }
.articles-empty { margin: 0 0 1.5rem; font: 400 .9rem/1.4 var(--mono); }
.category-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.category-chips[hidden] { display: none; }
.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .9rem;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 700 .8rem/1 var(--mono);
  letter-spacing: .01em;
  cursor: pointer;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
/* Like the Selector's source chips: paper at rest, the category's own colour
   (--cat, thecatrave-home.css) on hover and when on. "All" has no colour and
   fills with ink. */
.category-chip:hover { background: var(--cat, var(--cyan)); }
.category-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.category-chip[aria-pressed="true"] { background: var(--cat, var(--ink)); border-color: var(--ink); color: var(--ink); }
.category-chip[data-category="all"][aria-pressed="true"] { color: var(--paper); }
.category-chip-n { margin-left: .45rem; font-weight: 400; color: #57534a; }
.category-chip[aria-pressed="true"] .category-chip-n,
.category-chip:hover .category-chip-n { color: inherit; }
/* The Read Next grid reuses the homepage article-card system (.article-grid in
   thecatrave-home.css): one column on mobile, two on tablet, four on wide desktop,
   shared cyan hover/focus and the compact cover-image card. */
.read-next-grid .label { font: 700 .75rem "Space Mono", monospace; text-transform: uppercase; }
.article-footer { padding-top: 1.5rem; }
.article-footer .footer-nav { padding-top: 0; border-top: 0; }
.article-footer .article-footer-nav { grid-template-columns: .7fr 1fr .7fr; }
.article-footer .footer-bottom { justify-content: space-between; }

@media (max-width: 1000px) {
  .article-footer .article-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-entry { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .bass-music-page .bass-starting-routes { grid-template-columns: 1fr; }
  .bass-music-page .bass-starting-routes span { margin-bottom: 1.25rem; }
  .article-cta { grid-template-columns: 1fr; grid-template-areas: "copy" "player" "actions"; }
}

@media (max-width: 760px) {
  .article-page { --article-gutter: 1rem; }
  .article-footer .article-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 1.5rem;
  }
  .article-hero { padding-top: 3.25rem; }
  /* The fill reaches exactly as far up as the padding it has to cover. Left at
     the desktop clamp it would run 12px into the header, which is the whole of
     the header's own padding, and the shadow paints over the wordmark rather
     than behind it. */
  .article-masthead { clip-path: inset(-3.25rem -100vw -1.1rem); }
  .article-hero h1 { max-width: 13ch; font-size: clamp(2.35rem, 10.5vw, 2.65rem); }
  .article-deck { font-size: 1.16rem; }
  .article-toc { padding: 1.15rem; }
  .article-toc ol { grid-template-columns: 1fr; }
  /* 56px of air above and below a 1px rule, on a screen 320px wide, and flat
     across every phone because the 6vw term does not reach 3.5rem until 933px.
     10.6vw reaches this floor at 340px, so the gap grows with the screen the
     way it was meant to, and starts a third smaller. */
  .article-page { --section-space: clamp(2.25rem, 10.6vw, 3.5rem); }
  .article-section { padding: var(--section-space) 0; }
  /* The rule above re-sets the full padding shorthand, which quietly restored
     the top padding .article-intro (line ~210) zeroes out on desktop: the
     hero's own bottom padding plus this section's top padding stacked into a
     double gap under the table of contents. Re-zeroed here so the exception
     survives this breakpoint too. */
  .article-intro { padding-top: 0; }
  /* A clamp only starts to move at 1600 * floor / vw pixels wide, so a floor
     picked for desktop leaves the size pinned across every phone. Sized the
     other way round here: 7.9vw reaches this floor at 340px, so the step is
     live from the narrowest phone up.

     At 2.55rem this heading was 37.5px against an h1 of 39.4px, which is a
     ratio of 1.05: on a phone there was no telling a page title from a section
     heading, and the longest h2 needed three lines with a short word alone on
     the last. Both come from the same number. 1.9rem restores the 1.44 ratio
     the desktop layout already has, and the same heading fits two lines. */
  .article-section h2,
  .read-next > h2,
  .articles-index > h2 { font-size: clamp(1.45rem, 7.9vw, 1.9rem); }
  .article-section p { font-size: 1.04rem; line-height: 1.62; }
  .article-intro > p:first-child { font-size: 1.2rem; }
  .bass-music-page { --section-space: clamp(2.75rem, 12vw, 3.75rem); --media-space: 2rem; }
  .bass-music-page .article-hero h1 { max-width: 11ch; }
  .bass-music-page .article-section > h3 { margin-top: 3rem; }
  .bass-music-page .bass-history-visual { width: calc(100vw - 2rem); }
  .bass-music-page .bass-history-visual figcaption { padding-right: .5rem; }
  .bass-music-page .bass-starting-routes { width: calc(100vw - 2rem); margin-block: 2rem; }
  .bass-music-page .bass-route-card { padding: 1.25rem; }
  .bass-music-page .bass-starting-routes span { margin-bottom: 1rem; }
  .bass-music-page .classic-youtube-embed { width: calc(100vw - 2rem); }
  .article-image { margin-top: var(--media-space); }
  .article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .video-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
  .listening-block { margin-block: var(--media-space); }
  .listening-block-full { width: 100vw; padding: 1rem; }
  .listening-block .video-grid { margin-top: 1.25rem; }
  .genre-table { font-size: .78rem; line-height: 1.4; }
  .genre-table th, .genre-table td { min-width: 120px; padding: .65rem; }
  .genre-table th { font-size: var(--text-caption); }
  .genre-map svg { display: none; }
  .genre-map-mobile { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
  .genre-map-mobile li { display: grid; gap: .35rem; padding: 1rem 0; border-bottom: 1px solid currentColor; }
  .genre-map-mobile span { font: 700 .72rem "Space Mono", monospace; text-transform: uppercase; }
  .genre-map-mobile strong { font-size: 1.1rem; }
  .genre-map-mobile p { margin: 0; font-size: .95rem; line-height: 1.5; }
  .soundcloud-feature { margin-block: var(--media-space); padding: 1.15rem; }
  .spotify-feature { margin-block: var(--media-space); padding: 1.15rem; }
  .article-media-band { grid-template-columns: 1fr; left: 50%; gap: 1rem; padding: 1rem; }
  .article-media-band-full { width: 100vw; padding-inline: 1rem; }
  .article-cta-full { grid-template-columns: 1fr; width: 100vw; padding: 1.25rem 1rem; }
  .track-route li { grid-template-columns: 2.15rem minmax(0,1fr); font-size: .98rem; }
  .track-timeline { margin-top: 2.25rem; }
  .track-entry { grid-template-columns: minmax(0, 1fr); gap: .9rem; padding: 1.35rem 0; }
  .track-copy h3 { font-size: 1.35rem; }
  .track-copy h4 { font-size: 1.35rem; }
  .track-copy p { font-size: .96rem; }
  .spotify-embed { height: 152px; }
  .context-listening { margin-block: var(--media-space); padding: 1rem; }
  .context-listening-full { width: 100vw; padding-inline: 1rem; }
  .author-card { margin: 0 auto var(--section-space); padding: 1.25rem; }
  .author-card-grid { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 1rem; row-gap: 1rem; }
  .author-card h2 { grid-column: 1 / -1; grid-row: 1; }
  .author-portrait { grid-column: 1; grid-row: 2; }
  .author-bio { grid-column: 2; grid-row: 2; }
  .author-card nav { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; margin-top: 0; padding-top: 1rem; border-top: 1px solid rgba(10,10,10,.35); }
  .article-cta { margin: 0 auto var(--section-space); padding: 1.25rem; gap: 1.5rem; }
  .article-cta h3 { max-width: 16ch; font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .article-cta p { max-width: none; }
  }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* ---- The Selector (the /selector tool page) --------------------------------- */
/* A desk of windows on a dotted mat: the player (a TV, what is on, the
   transport), the tuner beside it, channels, the crate and about, then How it
   works. Tokens are the site's; only --muted and the two shadows are local.
   Built by build-selector.mjs, run by selector-runtime.js. */
.selector-page{--muted:#5b564e;--shadow:6px 6px 0 var(--ink);--shadow-sm:3px 3px 0 var(--ink);
  --cat-rest:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2014'%20shape-rendering='crispEdges'%3E%3Crect%20x='0'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='14'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='13'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='0'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='12'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='0'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='11'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='0'%20y='4'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='5'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='6'%20width='3'%20height='1'/%3E%3Crect%20x='5'%20y='6'%20width='7'%20height='1'/%3E%3Crect%20x='14'%20y='6'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='7'%20width='3'%20height='1'/%3E%3Crect%20x='5'%20y='7'%20width='7'%20height='1'/%3E%3Crect%20x='14'%20y='7'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='8'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='9'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='0'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='10'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='0'%20y='11'%20width='16'%20height='1'/%3E%3Crect%20x='1'%20y='12'%20width='14'%20height='1'/%3E%3Crect%20x='3'%20y='13'%20width='10'%20height='1'/%3E%3C/svg%3E");
  --cat-press:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2014'%20shape-rendering='crispEdges'%3E%3Crect%20x='0'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='14'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='13'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='0'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='12'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='0'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='11'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='0'%20y='4'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='5'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='6'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='7'%20width='3'%20height='1'/%3E%3Crect%20x='5'%20y='7'%20width='7'%20height='1'/%3E%3Crect%20x='14'%20y='7'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='8'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='9'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='0'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='10'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='0'%20y='11'%20width='16'%20height='1'/%3E%3Crect%20x='1'%20y='12'%20width='14'%20height='1'/%3E%3Crect%20x='3'%20y='13'%20width='10'%20height='1'/%3E%3C/svg%3E");}
.selector-page *{box-sizing:border-box}
body.selector-page{background-color:var(--paper);background-image:radial-gradient(rgba(10,10,10,.16) 1px,transparent 1.3px);background-size:14px 14px;min-height:100vh}
.selector-page button,.selector-page select{font:inherit;color:inherit}
.selector-page :focus-visible{outline:3px solid var(--ink);outline-offset:3px}
/* ---------- menubar ---------- */
.selector-page .bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:1.1rem;
  height:30px;min-height:0;padding:0 1rem;background:var(--paper);border-bottom:2px solid var(--ink);
  font:700 .74rem/1 var(--mono);letter-spacing:.04em;text-transform:uppercase;}
.selector-page .bar a{color:inherit;text-decoration:none}
.selector-page .bar .wordmark{font:700 .95rem/1 var(--sans);letter-spacing:-.01em;text-transform:none}
.selector-page .bar .wordmark span{color:var(--acid)}
.selector-page .bar .right{margin-left:auto;display:flex;align-items:center;gap:.9rem}
.selector-page .onair{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted)}
.selector-page .onair i{width:.6rem;height:.6rem;border-radius:50%;background:#b9b3a8;border:1.5px solid var(--ink)}
.selector-page .onair[data-live="true"]{color:var(--ink)}
.selector-page .onair[data-live="true"] i{background:var(--acid);animation:sel-blink 1.1s steps(2,start) infinite}
@keyframes sel-blink{50%{opacity:.25}}
/* ---------- desk ---------- */
.selector-page .desk{max-width:1120px;margin:0 auto;padding:1.25rem 1rem 3rem;
  display:grid;gap:1.4rem;grid-template-columns:minmax(0,1fr);}
/* Crate and About share a row under the deck; nothing is sticky, so nothing
   can slide over the questions. */
.selector-page .row2{display:grid;gap:1.4rem;align-items:start}
@media (min-width:700px){
  .selector-page .row2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (min-width:960px){
  .selector-page .desk{max-width:1120px;grid-template-columns:minmax(0,1fr) 380px;gap:1.4rem 1.6rem;padding-top:1.4rem}
  .selector-page .intro,.selector-page .row2,.selector-page .faq-win,.selector-page .channels{grid-column:1 / -1}
  .selector-page .tuner-slot{align-self:start}
}
@media (min-width:600px) and (max-width:959px){
  .selector-page .desk{max-width:680px}
}
.selector-page .intro{grid-column:1 / -1;margin:0 0 -.2rem}
.selector-page .intro h1{margin:0;font:700 clamp(1.45rem,4.6vw,2.4rem)/1.05 var(--sans);letter-spacing:-.025em}
.selector-page .intro p{margin:.35rem 0 0;font-size:.95rem;color:var(--muted);max-width:44rem}
/* New channels note and Add to home screen: both start hidden, scripts unhide */
.selector-page .intro .newch{position:relative;max-width:44rem;margin:.8rem 0 0;padding:.6rem 2.6rem .65rem .8rem;
  border:2px solid var(--ink);background:var(--yellow);box-shadow:var(--shadow-sm)}
.selector-page .intro .newch[hidden],.selector-page .install[hidden],.selector-page .install-tip[hidden]{display:none}
.selector-page .intro .newch .k{margin:0 0 .15rem;font:700 .68rem/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.selector-page .intro .newch .t{margin:0;font-size:.92rem;color:var(--ink)}
.selector-page .intro .newch button{position:absolute;top:.25rem;right:.3rem;width:2.2rem;height:2.2rem;border:0;background:none;
  font:400 1.4rem/1 var(--sans);cursor:pointer}
/* Add to home screen: a full-width key under what is playing, every device */
.selector-page .install{padding:.9rem}
.selector-page .install-btn{position:relative;display:flex;align-items:center;gap:.8rem;width:100%;min-height:3.4rem;padding:.5rem .6rem .5rem .55rem;
  border:2px solid var(--ink);background:var(--yellow);box-shadow:var(--shadow-sm);color:var(--ink);overflow:hidden;
  font:700 .74rem/1.2 var(--mono);letter-spacing:.07em;text-transform:uppercase;text-align:left;cursor:pointer;
  transition:transform .14s cubic-bezier(.2,.8,.2,1),box-shadow .14s cubic-bezier(.2,.8,.2,1)}
.selector-page .install-btn:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--ink)}
.selector-page .install-btn:active{transform:translate(3px,3px);box-shadow:0 0 0 var(--ink);transition-duration:40ms}
.selector-page .install-btn:focus-visible{outline:3px solid var(--acid);outline-offset:3px}
.selector-page .install-btn .app{width:2.1rem;height:2.1rem;flex:none;border:2px solid var(--ink);border-radius:.55rem;
  background:url("/img/selector-app/icon-192.png") center/cover;box-shadow:2px 2px 0 var(--ink)}
.selector-page .install-btn .lbl{flex:1;min-width:0}
.selector-page .install-btn .lbl small{display:block;margin-top:.2rem;font:400 .78rem/1.25 var(--sans);letter-spacing:0;text-transform:none;opacity:.75}
.selector-page .install-btn .plus{display:grid;place-items:center;width:1.9rem;height:1.9rem;flex:none;border-radius:50%;
  background:var(--ink);color:var(--yellow);font:700 1.25rem/1 var(--sans);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.selector-page .install-btn:hover .plus{transform:rotate(90deg)}
.selector-page .install-btn[aria-expanded="true"] .plus{transform:rotate(45deg)}
/* the press: the app tile jumps out and settles, the plus spins, a flash sweeps across */
.selector-page .install-btn::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);
  transform:translateX(-110%);pointer-events:none}
.selector-page .install-btn.pop .app{animation:sel-app-pop .5s cubic-bezier(.3,1.6,.5,1)}
.selector-page .install-btn.pop .plus{animation:sel-plus-spin .5s cubic-bezier(.2,.8,.2,1)}
.selector-page .install-btn.pop::after{animation:sel-sweep .55s ease-out}
@keyframes sel-app-pop{0%{transform:none}30%{transform:translateY(-.45rem) scale(1.18) rotate(-10deg)}60%{transform:translateY(.05rem) scale(.95) rotate(4deg)}100%{transform:none}}
@keyframes sel-plus-spin{0%{transform:rotate(0) scale(1)}40%{transform:rotate(200deg) scale(1.2)}100%{transform:rotate(360deg) scale(1)}}
@keyframes sel-sweep{to{transform:translateX(110%)}}
@media (prefers-reduced-motion:reduce){
  .selector-page .install-btn,.selector-page .install-btn .plus{transition:none}
  .selector-page .install-btn.pop .app,.selector-page .install-btn.pop .plus,.selector-page .install-btn.pop::after{animation:none}
}
.selector-page .install-tip{margin:.6rem 0 0;padding:.6rem .75rem;border:2px dashed var(--ink);background:var(--paper);font-size:.9rem;color:var(--ink)}
/* ---------- window chrome ---------- */
.selector-page .win{background:var(--paper);border:2px solid var(--ink);box-shadow:var(--shadow);min-width:0}
.selector-page .titlebar{position:relative;display:flex;align-items:center;justify-content:center;
  height:28px;border-bottom:2px solid var(--ink);}
.selector-page .titlebar::before{content:"";position:absolute;inset:7px 6px;
  background:repeating-linear-gradient(to bottom,var(--ink) 0 1px,transparent 1px 3px);}
.selector-page .titlebar .box{position:absolute;left:12px;top:50%;width:14px;height:14px;margin-top:-7px;
  background:var(--paper);border:2px solid var(--ink);box-shadow:0 0 0 4px var(--paper);}
.selector-page .titlebar .name{position:relative;padding:0 .6rem;background:var(--paper);
  font:700 .74rem/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;}
/* ---------- the TV ---------- */
/* A black set on the desk: bezel, a tube with barrel corners, a control strip
   with the channel readout, a nameplate and two knobs. All drawn in CSS. */
.selector-page .tv{margin:.75rem .75rem 0;padding:.75rem .75rem 0;background:var(--ink);border-radius:20px;
  box-shadow:inset 0 0 0 2px #262626,inset 0 -10px 18px rgba(255,255,255,.04)}
.selector-page .screen{position:relative;aspect-ratio:16/9;background:#151515;overflow:hidden;
  border-radius:26px / 32px;box-shadow:0 0 0 3px #000,0 0 0 5px #2b2b2b;isolation:isolate}
.selector-page .screen iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* glass: a soft glare and darker edges, over everything but never catching clicks */
.selector-page .screen::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:inherit;
  background:radial-gradient(110% 80% at 28% 12%,rgba(255,255,255,.10),transparent 42%);
  box-shadow:inset 0 0 22px 4px rgba(0,0,0,.55)}
.selector-page .static{position:absolute;inset:0;z-index:3;pointer-events:none;
  background:
    repeating-linear-gradient(to bottom,rgba(0,0,0,.35) 0 1px,transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0/160px 160px,
    #8a8a8a;
  animation:sel-snow .18s steps(3) infinite}
.selector-page .static[hidden]{display:none}
@keyframes sel-snow{0%{background-position:0 0,0 0}33%{background-position:0 1px,-53px 41px}66%{background-position:0 2px,47px -67px}100%{background-position:0 0,-19px 88px}}
.selector-page .tv-panel{display:flex;align-items:center;gap:.7rem;height:2.9rem;padding:0 .25rem;color:#bdb7ab;font:400 .68rem/1 var(--mono)}
/* the channel readout: a smoked window with two seven-segment digits, lit red,
   the unlit segments left faintly visible the way a real LED shows them */
.selector-page .ch-led{flex:none;display:flex;align-items:center;height:1.9rem;padding:0 .5rem;
  background:linear-gradient(#170705,#240c07);border-radius:3px;
  box-shadow:inset 0 2px 5px rgba(0,0,0,.85),inset 0 0 0 1px #3d2219,0 1px 0 #2e2e2e}
.selector-page .ch-led svg{display:block;height:1.3rem;width:auto;overflow:visible}
.selector-page .ch-led polygon{fill:rgba(255,90,54,.09)}
.selector-page .ch-led polygon.on{fill:#ff6a3f;filter:drop-shadow(0 0 1.5px rgba(255,90,54,.95))}
.selector-page .pwr{flex:none;width:.55rem;height:.55rem;border-radius:50%;background:#3a3a3a}
.selector-page .pwr[data-live="true"]{background:var(--acid);box-shadow:0 0 7px var(--acid)}
/* the maker's nameplate, a brushed-metal badge screwed to the strip */
.selector-page .badge{flex:none;margin-right:auto;padding:.22rem .5rem .26rem;border-radius:2px;
  background:linear-gradient(180deg,#e9e6df 0,#a9a59c 48%,#cfcbc2 52%,#8d897f 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 0 0 1px #000,0 1px 2px rgba(0,0,0,.6);
  color:#1b1b1b;font:900 italic .66rem/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;
  text-shadow:0 1px 0 rgba(255,255,255,.45)}
.selector-page .knob{flex:none;position:relative;width:1.5rem;height:1.5rem;padding:0;border-radius:50%;border:2px solid #000;cursor:pointer;
  background:radial-gradient(circle at 35% 30%,#fff 0 18%,var(--paper) 45%,#cfc9bc);
  transform:rotate(var(--r,0deg));transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.selector-page .knob::after{content:"";position:absolute;left:50%;top:2px;width:2px;height:.45rem;margin-left:-1px;background:var(--ink)}
.selector-page .knob.vol{cursor:ns-resize;touch-action:none;--r:81deg}
.selector-page .knob:focus-visible{outline:2px solid var(--acid);outline-offset:3px}
/* each knob sits over a tiny engraved label, like the front of a set */
.selector-page .kw{flex:none;display:flex;flex-direction:column;align-items:center;gap:.18rem}
.selector-page .kw i{font:700 .5rem/1 var(--mono);font-style:normal;letter-spacing:.12em;color:#8f897d}
@media (max-width:520px){
  .selector-page .kw.v{display:none}
  .selector-page .tv{margin:.55rem .55rem 0;padding:.55rem .55rem 0;border-radius:16px}
  .selector-page .screen{border-radius:18px / 22px}
}
.selector-page .testcard{position:absolute;inset:0;display:grid;place-items:center;cursor:pointer;border:0;padding:0;
  background:linear-gradient(90deg,var(--paper) 0 16.66%,var(--yellow) 0 33.33%,var(--cyan) 0 50%,
    #01c98a 0 66.66%,var(--coral) 0 83.33%,var(--acid) 0)}
.selector-page .testcard::after{/* ordered-dither shade toward the bottom, drawn, not an image */
  content:"";position:absolute;left:0;right:0;bottom:0;height:24%;
  background:
    conic-gradient(var(--ink) 25%,transparent 0 50%,var(--ink) 0 75%,transparent 0) 0 0/4px 4px;
  -webkit-mask:linear-gradient(transparent,#000 85%);mask:linear-gradient(transparent,#000 85%);}
.selector-page .testcard .plate{position:relative;z-index:1;display:grid;justify-items:center;gap:.55rem;
  padding:.9rem 1.2rem .8rem;background:var(--paper);border:2px solid var(--ink);box-shadow:var(--shadow-sm);
  font:700 clamp(.66rem,1.9vw,.8rem)/1.2 var(--mono);letter-spacing:.1em;text-transform:uppercase;}
.selector-page .cat{display:block;width:3.1rem;height:2.7rem;background:currentColor;
  -webkit-mask:var(--cat-rest) center/contain no-repeat;mask:var(--cat-rest) center/contain no-repeat}
.selector-page .plate .cat{animation:sel-perk 2.4s steps(1) infinite}
/* the plate is a button: the cat sits beside a raised play key that pushes in */
.selector-page .plate-row{display:flex;align-items:center;gap:.9rem}
.selector-page .pk{display:grid;place-items:center;width:3.1rem;height:3.1rem;border:2px solid var(--ink);border-radius:6px;
  background:var(--acid);color:var(--ink);box-shadow:0 4px 0 var(--ink),inset 0 1px 0 rgba(255,255,255,.45);
  transition:transform .08s,box-shadow .08s;animation:sel-beckon 2.4s ease-in-out infinite}
.selector-page .pk svg{width:1.45rem;height:1.45rem;margin-left:.15rem;transition:transform 120ms cubic-bezier(.2,.8,.2,1)}
@keyframes sel-beckon{0%,70%,100%{outline:0 solid rgba(255,90,54,0)}80%{outline:6px solid rgba(255,90,54,.35)}}
.selector-page .testcard .plate{transition:transform .12s,box-shadow .12s}
.selector-page .testcard:hover .plate{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink)}
.selector-page .testcard:hover .pk svg{transform:translateX(2px)}
.selector-page .testcard:active .pk{transform:translateY(3px);box-shadow:0 1px 0 var(--ink),inset 0 2px 5px rgba(0,0,0,.35)}
.selector-page .testcard:focus-visible{outline:none}
.selector-page .testcard:focus-visible .plate{outline:3px solid var(--ink);outline-offset:3px}
@media (max-width:520px){
  .selector-page .pk{width:2.6rem;height:2.6rem}
  .selector-page .pk svg{width:1.2rem;height:1.2rem}
}
@media (prefers-reduced-motion:reduce){
  .selector-page .pk,.selector-page .pk svg,.selector-page .testcard .plate{animation:none;transition:none}
}
@keyframes sel-perk{0%,88%{-webkit-mask-image:var(--cat-rest);mask-image:var(--cat-rest)}89%,94%{-webkit-mask-image:var(--cat-press);mask-image:var(--cat-press)}}
.selector-page .notice{position:absolute;left:.6rem;right:.6rem;bottom:.6rem;z-index:2;padding:.5rem .7rem;
  background:var(--yellow);border:2px solid var(--ink);box-shadow:var(--shadow-sm);
  font:700 .74rem/1.35 var(--mono);text-transform:uppercase;letter-spacing:.04em}
.selector-page .notice[hidden],.selector-page .testcard[hidden]{display:none}
/* on-screen display: the blocky green channel number and volume bar an old set
   prints over the picture for a few seconds, then drops */
.selector-page .osd,.selector-page .osd-vol{position:absolute;z-index:3;pointer-events:none;color:#5dff83;
  font:700 1rem/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;
  text-shadow:2px 2px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,0 0 10px rgba(93,255,131,.55)}
.selector-page .osd{top:8%;right:6%;display:flex;flex-direction:column;align-items:flex-end;gap:.35rem}
.selector-page .osd b{font-size:clamp(2rem,7vw,3.4rem);line-height:.85;letter-spacing:.02em}
.selector-page .osd span{font-size:clamp(.7rem,1.8vw,.95rem)}
.selector-page .osd-vol{left:50%;bottom:24%;transform:translateX(-50%);display:flex;align-items:center;gap:.6rem;font-size:clamp(.7rem,1.8vw,.95rem)}
.selector-page .osd-vol i{font-style:normal}
.selector-page .osd-vol .bars{width:clamp(7rem,30vw,13rem);height:.8rem;filter:drop-shadow(2px 2px 0 #000);
  background:linear-gradient(90deg,#5dff83 calc(var(--v,0) * 1%),rgba(93,255,131,.18) 0);
  -webkit-mask:repeating-linear-gradient(90deg,#000 0 6px,transparent 6px 9px);mask:repeating-linear-gradient(90deg,#000 0 6px,transparent 6px 9px)}
.selector-page .osd-vol b{min-width:1.6em}
.selector-page .osd[hidden],.selector-page .osd-vol[hidden]{display:none}
.selector-page .testcard::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:repeating-linear-gradient(to bottom,rgba(10,10,10,.14) 0 1px,transparent 1px 3px)}
.selector-page .hint{margin:0;padding:.4rem .9rem;border-top:2px solid var(--ink);background:var(--surface-muted);font:400 .68rem/1.3 var(--mono);color:var(--muted)}
@media (max-width:640px){
  .selector-page .hint{display:none}
}
/* ---------- now playing ---------- */
.selector-page .now{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.2rem .8rem;padding:.85rem .9rem .8rem;border-bottom:2px solid var(--ink);border-top:2px solid var(--ink);margin-top:.75rem}
.selector-page .logo{grid-row:1 / span 3;width:44px;height:44px;border:2px solid var(--ink);background:var(--surface-muted) center/cover no-repeat}
.selector-page .artist{margin:0;font:700 clamp(1.15rem,3.6vw,1.55rem)/1.15 var(--sans);letter-spacing:-.015em;overflow-wrap:anywhere}
.selector-page .meta{margin:0;font:400 .76rem/1.4 var(--mono);color:var(--muted)}
.selector-page .meta b{font-weight:700;color:var(--ink)}
.selector-page .tags{display:flex;flex-wrap:wrap;gap:.3rem;margin:.25rem 0 0}
.selector-page .tag{padding:.08rem .4rem;border:1.5px solid var(--ink);font:700 .64rem/1.4 var(--mono);text-transform:uppercase;letter-spacing:.05em;background:var(--paper)}
.selector-page .tag.src{background:var(--chip-bg,var(--ink));color:var(--chip-fg,var(--paper))}
.selector-page .now.idle .artist{color:var(--muted)}
.selector-page .now.idle .logo{display:none}
.selector-page .now.idle{grid-template-columns:minmax(0,1fr)}
/* ---------- transport ---------- */
/* The keys are the front of the set, made of what the rest of it is made of:
   cream plastic piano keys like the knobs, printed in ink, sitting in a groove
   under the control strip. No coloured fills: colour comes only from lamps,
   the orange one in the main key and the red one on YouTube, the way the
   readout is the only lit thing on the strip. A saved set latches its key down.
   Layout: the transport follows the width of the TV, not the viewport: below 620px of
   TV, Pick takes its own row, so its label can never run under Back. */
.selector-page .tv{container:sel-tv / inline-size}
.selector-page .transport{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,4.4rem);gap:.45rem;
  margin:0 -.25rem .75rem;padding:.5rem .5rem .65rem;border-radius:6px;background:#0b0b0b;
  box-shadow:inset 0 2px 5px rgba(0,0,0,.95),0 1px 0 #2a2a2a}
.selector-page .go-wrap{position:relative;display:grid}
.selector-page .go,.selector-page .key{border:1.5px solid #000;border-radius:5px 5px 3px 3px;cursor:pointer;color:var(--ink);
  background:linear-gradient(#fdfbf6 0,var(--paper) 38%,#d9d3c6 100%);
  box-shadow:0 4px 0 #3b3833,0 5px 0 #000,inset 0 1px 0 #fff,inset 0 -3px 0 rgba(0,0,0,.08);
  transition:transform 70ms cubic-bezier(.2,.8,.2,1),box-shadow 70ms cubic-bezier(.2,.8,.2,1)}
/* The main key reads as play before it reads as a word: an orange lamp with
   the play triangle in it, the shape every player uses. After the first set
   the triangle gains the bar of a skip key. */
.selector-page .go{grid-area:1/1;display:flex;align-items:center;gap:.75rem;min-height:3.2rem;padding:.35rem .9rem .35rem .4rem;
  font:700 clamp(.9rem,2.4vw,1.05rem)/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;text-align:left}
.selector-page .go .ico{flex:none;display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:3px;
  background:radial-gradient(circle at 40% 35%,#ff9a72,var(--acid) 60%,#c93d1c);color:var(--ink);
  box-shadow:inset 0 0 0 1.5px #000,0 0 8px rgba(255,90,54,.55)}
.selector-page .go .ico svg{width:1.05rem;height:1.05rem;transition:transform 120ms cubic-bezier(.2,.8,.2,1)}
.selector-page .go .i-next{display:none}
.selector-page .go[data-next] .i-play{display:none}
.selector-page .go[data-next] .i-next{display:block}
.selector-page .go:hover:not(:disabled) .ico svg{transform:translateX(2px)}
.selector-page .go:hover:not(:disabled),.selector-page .key:hover:not(:disabled):not([aria-disabled="true"]){
  background:linear-gradient(#fff 0,#f7f3ea 38%,#e0dacd 100%)}
.selector-page .go:active:not(:disabled),.selector-page .key:active:not(:disabled),.selector-page .k-save[aria-pressed="true"]{
  transform:translateY(3px);box-shadow:0 1px 0 #3b3833,0 2px 0 #000,inset 0 1px 0 #fff,inset 0 2px 4px rgba(0,0,0,.18);transition-duration:40ms}
.selector-page .go:disabled{color:#6f6a61;cursor:default}
.selector-page .go:disabled .ico{background:#5a5650;box-shadow:inset 0 0 0 1.5px #000}
.selector-page .key{display:grid;place-items:center;align-content:center;gap:.3rem;width:100%;min-width:0;min-height:3.2rem;padding:.35rem .3rem;overflow:hidden;
  font:700 .56rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;text-decoration:none}
.selector-page .key svg{width:17px;height:17px}
/* a key with nothing to do yet: dim plastic, sitting low in the groove */
.selector-page .key:disabled,.selector-page .key[aria-disabled="true"]{cursor:default;pointer-events:none;color:#6f6a61;
  background:linear-gradient(#a9a49a,#8f8a80);box-shadow:0 2px 0 #2b2925,0 3px 0 #000,inset 0 1px 0 rgba(255,255,255,.25)}
.selector-page .k-save[aria-pressed="true"] svg{color:var(--acid);filter:drop-shadow(0 0 3px rgba(255,90,54,.6))}
.selector-page .k-save[aria-pressed="true"] svg path{fill:currentColor;stroke:var(--ink);stroke-width:1.4}
.selector-page .k-yt:not([aria-disabled="true"]) svg{color:#e60000}
.selector-page .transport :focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
@container sel-tv (max-width:620px){
  .selector-page .transport{grid-template-columns:repeat(4,minmax(0,1fr))}
  .selector-page .go-wrap{grid-column:1 / -1}
}
@media (max-width:520px){
  .selector-page .transport{margin-bottom:.55rem}
}
.selector-page .burst{grid-area:1/1;place-self:center;width:0;height:0;pointer-events:none}
.selector-page .sel-spark{position:absolute;width:.5rem;height:.5rem;margin:-.25rem 0 0 -.25rem;background:var(--c);
  animation:sel-spark 600ms cubic-bezier(.2,.7,.3,1) forwards}
/* ---------- tune ---------- */
.selector-page .tune{padding:.85rem .9rem 1rem;display:flex;flex-direction:column;gap:.85rem}
/* Hardware keys. Every control in the tuner is a key on the set: raised on a
   hard ink shadow, pushed in when it is on, with a pilot light that glows. */
.selector-page .seg,.selector-page .chip{--key:linear-gradient(#fdfaf3,var(--paper) 55%,#e2dccf)}
.selector-page .seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;padding-bottom:3px}
.selector-page .seg button{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.3rem;padding:.45rem .3rem;cursor:pointer;
  border:1.5px solid var(--ink);border-radius:5px;background:var(--key);color:var(--ink);
  box-shadow:0 3px 0 var(--ink),inset 0 1px 0 #fff;transition:transform .07s,box-shadow .07s;
  font:700 .7rem/1.15 var(--mono);text-transform:uppercase;letter-spacing:.04em}
.selector-page .seg button:hover{background:var(--cyan)}
.selector-page .seg button[aria-checked="true"]{background:var(--ink);color:var(--paper);transform:translateY(2px);
  box-shadow:0 1px 0 var(--ink),inset 0 2px 6px rgba(0,0,0,.6)}
.selector-page .seg button::before,.selector-page .chip::before{content:"";flex:none;width:.42rem;height:.42rem;border-radius:50%;
  background:#bdb6a8;box-shadow:inset 0 1px 1px rgba(0,0,0,.4)}
.selector-page .seg button[aria-checked="true"]::before,.selector-page .chip[aria-pressed="true"]::before{background:radial-gradient(circle,#fff 0 30%,var(--yellow) 70%);box-shadow:0 0 0 1px rgba(0,0,0,.45),0 0 7px 1px var(--yellow)}
.selector-page .seg-note{margin:-.35rem 0 0;font:400 .7rem/1.3 var(--mono);color:var(--muted)}
/* chips: switch on as many as you like in each group; none on means all */
.selector-page .grp{display:grid;gap:.4rem;min-width:0;align-content:start}
.selector-page .grp-h{display:flex;justify-content:space-between;gap:.5rem;margin:0;font:700 .64rem/1 var(--mono);text-transform:uppercase;letter-spacing:.08em}
.selector-page .grp-h span{font-weight:400;color:var(--muted)}
.selector-page .chips{display:flex;flex-wrap:wrap;gap:.55rem .4rem;padding-bottom:3px}
.selector-page .chip{--on-bg:var(--ink);--on-fg:var(--paper);--hov:var(--cyan);--hov-fg:var(--ink);
  display:inline-flex;align-items:center;gap:.42rem;min-height:2.2rem;padding:.3rem .62rem .3rem .5rem;
  border:1.5px solid var(--ink);border-radius:5px;background:var(--key);color:var(--ink);cursor:pointer;
  box-shadow:0 3px 0 var(--ink),inset 0 1px 0 #fff;transition:transform .07s,box-shadow .07s;
  font:700 .72rem/1 var(--mono);letter-spacing:.01em}
.selector-page .chip img{flex:none;width:16px;height:16px;border:1px solid var(--ink);border-radius:2px;object-fit:cover;filter:grayscale(1) contrast(1.04)}
.selector-page .chip .n{font-weight:400;color:var(--muted)}
.selector-page .chip:hover{background:var(--hov);color:var(--hov-fg)}
.selector-page .chip:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}
.selector-page .chip:hover img,.selector-page .chip[aria-pressed="true"] img{filter:none}
.selector-page .chip[aria-pressed="true"]{background:var(--on-bg);color:var(--on-fg);transform:translateY(2px);
  box-shadow:0 1px 0 var(--ink),inset 0 2px 5px rgba(0,0,0,.35)}
.selector-page .chip.more::before{content:none}
@media (prefers-reduced-motion:reduce){
  .selector-page .chip,.selector-page .seg button{transition:none}
}
.selector-page .chip[aria-pressed="true"] .n,.selector-page .chip:hover .n{color:inherit}
.selector-page .chip[hidden]{display:none}
.selector-page .g-genre .chip{--on-bg:var(--acid);--on-fg:var(--ink);--hov:var(--yellow)}
.selector-page .g-length .chip{--on-bg:var(--cyan);--on-fg:var(--ink)}
.selector-page .chip.all{--on-bg:var(--ink);--on-fg:var(--paper);--hov:var(--cyan);--hov-fg:var(--ink)}
.selector-page .chip.more{background:var(--yellow);gap:.45rem}
.selector-page .chip.more::after{content:"";width:.38rem;height:.38rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-.12em) rotate(45deg)}
.selector-page .chip.more[aria-expanded="true"]::after{transform:translateY(.12em) rotate(-135deg)}
.selector-page .chip.more:hover{background:var(--ink);color:var(--paper)}
@media (max-width:520px){
  .selector-page .chip .n{display:none}
}
.selector-page .poolline{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin:0;font:400 .72rem/1.3 var(--mono);text-transform:uppercase;letter-spacing:.05em}
.selector-page .poolline b{font-weight:700}
.selector-page .linkbtn{border:0;background:none;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;font:700 .72rem/1 var(--mono);text-transform:uppercase}
.selector-page .linkbtn[hidden]{display:none}
/* ---------- crate ---------- */
.selector-page .tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:2px solid var(--ink)}
.selector-page .tabs button{border:0;border-left:2px solid var(--ink);padding:.55rem .4rem;background:var(--paper);cursor:pointer;
  font:700 .7rem/1 var(--mono);text-transform:uppercase;letter-spacing:.06em}
.selector-page .tabs button:first-child{border-left:0}
.selector-page .tabs button[aria-selected="true"]{background:var(--ink);color:var(--paper)}
.selector-page .crate{list-style:none;margin:0;padding:0;max-height:19rem;overflow:auto}
.selector-page .crate li{display:flex;border-bottom:1px solid rgba(10,10,10,.22)}
.selector-page .crate li[aria-current="true"] .play{background:var(--yellow)}
.selector-page .crate .play{flex:1;min-width:0;display:grid;text-align:left;gap:.05rem;padding:.5rem .8rem;border:0;background:none;cursor:pointer}
.selector-page .crate .play:hover{background:var(--cyan)}
.selector-page .crate .n{font-weight:700;font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selector-page .crate .s{font:400 .68rem/1.3 var(--mono);color:var(--muted)}
.selector-page .crate .x{border:0;border-left:1px solid rgba(10,10,10,.22);background:none;width:2.6rem;cursor:pointer;font-size:1.1rem}
.selector-page .crate .empty{padding:.8rem;font:400 .76rem/1.45 var(--mono);color:var(--muted);display:block}
.selector-page .foot{margin:0;padding:.45rem .8rem;border-top:2px solid var(--ink);background:var(--surface-muted);font:400 .66rem/1.3 var(--mono);color:var(--muted)}
/* ---------- about + faq ---------- */
.selector-page .about{padding:.9rem 1rem 1rem;font-size:.92rem}
.selector-page .about p{margin:0 0 .6rem}
.selector-page .about p:last-child{margin:0}
.selector-page .about .stat{display:grid;grid-template-columns:1fr 1fr;border:2px solid var(--ink);margin:.2rem 0 .8rem}
.selector-page .about .stat div{padding:.45rem .6rem;border-left:2px solid var(--ink)}
.selector-page .about .stat div:first-child{border-left:0}
.selector-page .about .stat b{display:block;font:700 1.25rem/1.1 var(--mono)}
.selector-page .about .stat span{font:400 .64rem/1.2 var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.selector-page .about .press{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem .9rem;margin:-.2rem 0 .95rem;padding:0 0 .7rem;border-bottom:1px dashed var(--ink)}
.selector-page .about .press-h{margin:0;flex:0 0 auto;font:400 .64rem/1.2 var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.selector-page .about .press ul{display:flex;flex-wrap:wrap;align-items:center;gap:0 .9rem;margin:0;padding:0;list-style:none}
.selector-page .about .press a{display:inline-flex;align-items:center;gap:.3rem;min-height:2.75rem;color:var(--ink);text-decoration:none}
.selector-page .about .press a::after{content:"↗";font:400 .7rem/1 var(--mono);color:var(--muted);transition:transform var(--motion-fast,160ms)}
.selector-page .about .press a:hover::after,.selector-page .about .press a:focus-visible::after{color:var(--ink);transform:translate(1px,-1px)}
.selector-page .about .press a:hover img,.selector-page .about .press a:hover .press-type{opacity:.7}
.selector-page .about .press img{display:block;width:auto;height:1.15rem}
.selector-page .about .press-type{font:700 1rem/1 var(--sans);letter-spacing:-.04em;white-space:nowrap}
.selector-page .faq{padding:.3rem 1rem 1rem}
.selector-page .toast{position:fixed;left:50%;bottom:1.2rem;z-index:9;transform:translateX(-50%);padding:.55rem .85rem;
  background:var(--ink);color:var(--paper);font:700 .74rem/1.2 var(--mono);text-transform:uppercase;letter-spacing:.05em;
  border:2px solid var(--ink);box-shadow:4px 4px 0 var(--acid)}
.selector-page .toast[hidden]{display:none}
.selector-page .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){
  .selector-page *{animation:none!important;transition:none!important}
}
/* The site shell, undone inside the desk: the article column, section rules
   and FAQ dividers belong to guides, not to windows. */
.selector-page main,.selector-page main > article{max-width:none;width:auto;margin:0;padding:0}
/* How it works: one short line per control, the control's name first */
.selector-page .how-list{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:0 1.6rem;max-width:62rem}
.selector-page .how-list li{padding:.6rem 0;border-bottom:1.5px solid var(--ink);font-size:.95rem;line-height:1.5}
.selector-page .how-list li>strong:first-child{display:inline-block;margin-right:.35rem;padding:.12rem .4rem;background:var(--ink);color:var(--paper);
  font:700 .7rem/1.3 var(--mono);text-transform:uppercase;letter-spacing:.06em;vertical-align:.08em}
.selector-page .how>p{margin:.8rem 0 0;max-width:44rem;font-size:.95rem;line-height:1.5}
@media (min-width:760px){.selector-page .how-list{grid-template-columns:1fr 1fr}.selector-page .how-list li:first-child{grid-column:1 / -1}}
.selector-page .about h2{margin:0 0 .5rem;font:700 1.05rem/1.2 var(--sans);letter-spacing:-.01em}
.selector-page #about{margin-top:0}
/* the language menu drops from the menubar like a desktop menu: a real row per
   language, the hovered one inverted, the current one ticked */
.selector-page .bar .lang-switch{position:relative;padding-left:.9rem}
.selector-page .bar .lang-switch summary{font:inherit;cursor:pointer;padding:.3rem .45rem;margin:-.3rem -.45rem;border-radius:2px}
.selector-page .bar .lang-switch summary:hover,.selector-page .bar .lang-switch[open] summary{background:var(--ink);color:var(--paper);text-decoration:none}
.selector-page .bar .lang-switch ul{position:absolute;right:-.45rem;top:calc(100% + .45rem);z-index:20;min-width:11rem;margin:0;padding:.3rem;
  list-style:none;background:var(--paper);border:2px solid var(--ink);box-shadow:var(--shadow-sm)}
.selector-page .bar .lang-switch li+li{margin-top:.15rem}
.selector-page .bar .lang-switch a{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:2.4rem;padding:0 .75rem;
  font:400 .95rem/1 var(--sans);text-transform:none;letter-spacing:0;color:var(--ink);text-decoration:none}
.selector-page .bar .lang-switch a:hover,.selector-page .bar .lang-switch a:focus-visible{background:var(--ink);color:var(--paper);outline:0}
.selector-page .bar .lang-switch a[aria-current="page"]{font-weight:700}
.selector-page .bar .lang-switch a[aria-current="page"]::after{content:"\2713";font:700 .85rem/1 var(--mono);color:var(--acid)}
.selector-page .sel-field-note{font-weight:400;color:var(--muted);text-transform:none;letter-spacing:0}
.selector-page .sel-noscript{margin:0 auto 2rem;max-width:1120px;padding:0 1rem;font:400 .95rem/1.55 var(--sans)}
.selector-page .chip{text-align:center}
.selector-page .seg button{text-align:center}
@media (max-width:520px){.selector-page .sel-field-note{display:none}}

/* One pixel cat face for the first follow button (the Selector draws its own
   from the same grids, see --cat-rest on .selector-page). The shared
   mask inherits each button's text colour. Grids: scripts/build-cat-icon.mjs. */
.article-cta .follow-cat::before {
  --cat-rest: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2014'%20shape-rendering='crispEdges'%3E%3Crect%20x='0'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='14'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='13'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='0'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='12'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='0'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='11'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='0'%20y='4'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='5'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='6'%20width='3'%20height='1'/%3E%3Crect%20x='5'%20y='6'%20width='7'%20height='1'/%3E%3Crect%20x='14'%20y='6'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='7'%20width='3'%20height='1'/%3E%3Crect%20x='5'%20y='7'%20width='7'%20height='1'/%3E%3Crect%20x='14'%20y='7'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='8'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='9'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='0'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='10'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='0'%20y='11'%20width='16'%20height='1'/%3E%3Crect%20x='1'%20y='12'%20width='14'%20height='1'/%3E%3Crect%20x='3'%20y='13'%20width='10'%20height='1'/%3E%3C/svg%3E");
  --cat-press: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2014'%20shape-rendering='crispEdges'%3E%3Crect%20x='0'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='14'%20y='0'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='13'%20y='1'%20width='3'%20height='1'/%3E%3Crect%20x='0'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='12'%20y='2'%20width='4'%20height='1'/%3E%3Crect%20x='0'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='11'%20y='3'%20width='5'%20height='1'/%3E%3Crect%20x='0'%20y='4'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='5'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='6'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='7'%20width='3'%20height='1'/%3E%3Crect%20x='5'%20y='7'%20width='7'%20height='1'/%3E%3Crect%20x='14'%20y='7'%20width='2'%20height='1'/%3E%3Crect%20x='0'%20y='8'%20width='16'%20height='1'/%3E%3Crect%20x='0'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='9'%20y='9'%20width='7'%20height='1'/%3E%3Crect%20x='0'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='10'%20y='10'%20width='6'%20height='1'/%3E%3Crect%20x='0'%20y='11'%20width='16'%20height='1'/%3E%3Crect%20x='1'%20y='12'%20width='14'%20height='1'/%3E%3Crect%20x='3'%20y='13'%20width='10'%20height='1'/%3E%3C/svg%3E");
  content: "";
  width: 1.44em;
  height: 1.26em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--cat-rest) center / contain no-repeat;
  mask: var(--cat-rest) center / contain no-repeat;
}
.article-cta .follow-cat:active::before {
  -webkit-mask-image: var(--cat-press);
  mask-image: var(--cat-press);
}
.article-cta .follow-cat:hover::before { transform: translateY(-2px); }

@keyframes sel-spark {
  0% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0)) scale(.35); opacity: 0; }
}
@keyframes sel-kick {
  0%   { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
  55%  { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
  100% { transform: translate(0, 0); box-shadow: 6px 6px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .article-cta .follow-button,
  .article-cta .follow-cat::before { transition: none; }
  .article-cta .follow-button:hover,
  .article-cta .follow-button:active { transform: none; box-shadow: 6px 6px 0 var(--ink); }
  .article-cta .follow-button:active { background: var(--ink); color: var(--cyan); }
  .article-cta .follow-cat:hover::before { transform: none; }
}
/* hearts that float out of the button on save; see floatHearts() */
.selector-page .sel-heart {
  position: absolute;
  left: 50%;
  top: 0;
  pointer-events: none;
  color: var(--c, var(--coral));
  font: 400 1.7rem/1 var(--sans);
  -webkit-text-stroke: 1.5px var(--ink);
  opacity: 0;
  animation: sel-heart-float 1100ms linear forwards;
}
/* visible for most of the climb, faded only over the last third */
@keyframes sel-heart-float {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(calc(var(--s) * .4)) rotate(0); }
  10%  { opacity: 1; transform: translate(calc(-50% + var(--dx) * .2), -1.2rem) scale(var(--s)) rotate(0); }
  65%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -6.5rem) scale(var(--s)) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce) { .selector-page .sel-heart { display: none; } }

/* Playlist recommendations: a short editorial reason beside an official
   Spotify preview. The iframe is intentionally only tall enough for a small
   track sample; the complete list opens on Spotify. */
.playlist-preview-list {
  position: relative;
  left: 50%;
  width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide));
  margin: var(--media-space) auto 0;
  transform: translateX(-50%);
  border-top: 1.5px solid var(--ink);
}
.playlist-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.6rem) 0;
  border-bottom: 1.5px solid var(--ink);
}
.playlist-preview-copy,
.playlist-preview-player { min-width: 0; }
.playlist-preview-copy h3 { margin: .35rem 0 .7rem; }
.playlist-preview-copy p:not(.article-kicker) { margin: 0; }
.playlist-preview-owned {
  display: inline-block;
  margin-top: .8rem;
  padding: .25rem .45rem;
  border: 1px solid var(--ink);
  font: 700 .68rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.playlist-preview-link {
  display: block;
  width: fit-content;
  margin-top: 1rem;
  font: 700 .76rem/1.35 var(--mono);
  color: var(--ink);
  white-space: nowrap;
}
.playlist-preview-player {
  display: block;
  height: 152px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
}
@media (max-width: 900px) {
  .playlist-preview { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .playlist-preview-list { width: min(calc(100vw - (2 * var(--article-gutter))), var(--article-wide)); }
}

/* Promo bar
   A thin strip above the header on every guide, pointing at the Selector.
   Ink on paper text, mono, the same register as the now-playing banner on the
   homepage, so it reads as part of the site's furniture rather than an advert
   bought on it. Removed from the DOM when dismissed, not hidden, so the header
   below is genuinely at the top of the page for anybody who closed it. */
/* Sticky, because it is the only route from a 5,000-word guide to the one thing
   on this site that is not an article, and a bar that scrolls away in the first
   three seconds is a bar nobody sees. The cost is real on a phone, which is why
   the close button is there: one tap removes it for good, on every page. */
.promo-bar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto; align-items: center; background: var(--ink); color: var(--paper); font: 400 .78rem/1.35 var(--mono); }
.promo-bar a { min-height: 2.6rem; padding: .45rem 0 .45rem var(--gutter); display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; color: inherit; text-decoration: none; }
.promo-bar b { font-weight: 700; }
.promo-bar > a > span { opacity: .68; }
.promo-bar em { font-style: normal; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.promo-bar a:hover em { text-decoration: underline; }
.promo-bar-close { width: 2.6rem; height: 2.6rem; margin-right: max(0px, calc(var(--gutter) - 1.3rem)); padding: 0; border: 0; background: none; color: inherit; font: 400 1.2rem/1 var(--mono); opacity: .55; cursor: pointer; }
.promo-bar-close:hover, .promo-bar-close:focus-visible { opacity: 1; }

/* Under 48rem everything marked .wide goes, leaving one sentence that still
   says what the thing is, and the way in. */
@media (max-width: 47.99rem) {
  .promo-bar { font-size: .75rem; }
  .promo-bar .wide { display: none; }
  .promo-bar a { padding-left: var(--gutter); }
}

/* Keep the approved personal mix label and artist spelling as written. */
.article-media-band:is([aria-labelledby="own-set-2"], [aria-labelledby="bass-mix-weekends"], [aria-labelledby="uk-mix-i-lost-so-many-weekends-raving-and-i-wanna-lose-some-more"]) .article-kicker { text-transform: none; }

/* Individual set titles replace genre chapter headings on this guide. */
.best-dj-sets-page .dj-set-recordings h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.best-dj-sets-page .dj-set-recordings > h2:first-child { margin-top: 0; }

/* "Start here" pins three guides above the full list on /articles. */
.start-here { margin: 0 0 2.5rem; }
.start-here > .article-kicker { margin: 0 0 .6rem; }
.article-return { margin: 1.75rem 0 0; font: 400 .9rem/1.5 var(--mono); }
.article-return a { color: var(--acid-text); font-weight: 700; }

/* The card grids draw their rules by showing the ink background through a 1px
   gap, so a row that is not full (three Read Next cards, three Start here
   cards, a filtered list) showed a black block. Draw the rules on the cards
   instead and leave the grid itself clear. */
.read-next-grid,
.start-here .article-grid { background: transparent; border: 0; gap: 1px; }
.read-next-grid article { box-shadow: 0 0 0 1px var(--ink); }
.start-here .article-grid { grid-template-columns: 1fr; }
@media (min-width: 48rem) { .start-here .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .start-here .article-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.start-here { margin: 0 0 2.5rem; }
