/* Corey Spins stylesheet.
   Tokens first, then base, then the parts of the page in the order a visitor
   meets them. Light theme is the default; dark follows the phone unless the
   visitor picks one. */

/* ---------- fonts ----------
   Classic: Archivo (expanded, for headings, the site name and navigation)
   and Source Sans 3 (everything else). The other themes use Space Grotesk
   and Inter (Mono), Gabarito and Public Sans (Crate), and Fraunces with
   Source Sans 3 (Liner Notes). All are hosted here, latin only, and a browser
   downloads only the ones its page uses. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/gabarito-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/fraunces-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-variable-latin.woff2") format("woff2");
}

/* ---------- tokens ----------
   Classic, the Record Tribe look: deep purple bars, purple buttons and
   links. Decided by Corey on October 16, 2026. The other themes, further
   down, redefine these. */
:root {
  --bg: #F6F4FA;
  --surface: #FFFFFF;
  --ink: #16121F;
  /* No gray text (a Corey Spins design rule): hierarchy comes from size,
     weight and italics, so the secondary inks match the main one. */
  --ink-2: var(--ink);
  --ink-3: var(--ink);
  --line: #E4DFEE;
  --chrome: #24104A;
  --chrome-ink: #F4EFFF;
  --chrome-ink-2: #CBBDEB;
  --chrome-line: #3A2468;
  --chrome-glass: rgba(36, 16, 74, .72);
  --accent: #6A2BD9;
  --accent-ink: #FFFFFF;
  --accent-soft: #ECE3FB;
  --accent-on-chrome: #B49BFF;
  --ok: #1F8A4C;
  --bad: #C8322B;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-cover: 0 20px 50px rgba(0, 0, 0, .45);
  --font: "Source Sans 3", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-nav: var(--font-display);
  --nav-weight: 600;
  /* Source Sans 3 is drawn smaller than Inter at the same size; this brings
     its lowercase up to Inter's height, so every size reads as intended. */
  --font-adjust: 0.54;
  --btn-nudge: 1px;
  --display-weight: 800;
  --display-stretch: 125%;
  --display-tracking: -0.01em;
  --header-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0B16;
    --surface: #18121F;
    --ink: #F2EEFA;
    --ink-2: var(--ink);
    --ink-3: var(--ink);
    --line: #2A2238;
    --chrome: #1A0B36;
    --chrome-line: #2E1A55;
    --chrome-glass: rgba(26, 11, 54, .72);
    --accent: #B49BFF;
    --accent-ink: #0F0B16;
    --accent-soft: #2A1F45;
    --ok: #4CC07A;
    --bad: #F0665D;
    --shadow-cover: 0 20px 50px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0B16;
  --surface: #18121F;
  --ink: #F2EEFA;
  --ink-2: var(--ink);
  --ink-3: var(--ink);
  --line: #2A2238;
  --chrome: #1A0B36;
  --chrome-line: #2E1A55;
  --chrome-glass: rgba(26, 11, 54, .72);
  --accent: #B49BFF;
  --accent-ink: #0F0B16;
  --accent-soft: #2A1F45;
  --ok: #4CC07A;
  --bad: #F0665D;
  --shadow-cover: 0 20px 50px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* The banner color pairs, carried over from coreyspins.com. */
.pair-red-blue   { --pair-a: #3993E2; --pair-b: #E2544B; }
.pair-red-yellow { --pair-a: #800900; --pair-b: #D3D009; }
.pair-green-blue { --pair-a: #1273CB; --pair-b: #0F8933; }
.pair-purple-red { --pair-a: #ED1616; --pair-b: #8C39E2; }

/* ---------- site themes ----------
   Chosen by each site's owner on Your site. Classic, the Record Tribe look,
   is the tokens at the top and every site's default. Each theme below swaps
   colors, fonts and the banner treatment, in light and dark. Chosen by
   Corey on October 16, 2026. */
:root[data-site-theme="mono"] {
  --bg: #FFFFFF;
  --surface: #F4F4F4;
  --ink: #111111;
  --line: #E2E2E2;
  --chrome: #111111;
  --chrome-ink: #FFFFFF;
  --chrome-ink-2: #CFCFCF;
  --chrome-line: #2A2A2A;
  --chrome-glass: rgba(0, 0, 0, .72);
  --accent: #111111;
  --accent-ink: #FFFFFF;
  --accent-soft: #EDEDED;
  --accent-on-chrome: #FFFFFF;
  --ink-2: var(--ink);
  --ink-3: var(--ink);
  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --font-nav: var(--font-display);
  --nav-weight: 600;
  --font-adjust: none;
  --btn-nudge: 0px;
  --display-weight: 700;
  --display-stretch: 100%;
  --display-tracking: -0.02em;
}
@media (prefers-color-scheme: dark) {
  :root[data-site-theme="mono"]:not([data-theme="light"]) {
    --bg: #0E0E0E;
    --surface: #1A1A1A;
    --ink: #F2F2F2;
    --line: #2A2A2A;
    --chrome: #000000;
    --chrome-line: #222222;
    --accent: #F2F2F2;
    --accent-ink: #0E0E0E;
    --accent-soft: #262626;
    color-scheme: dark;
  }
}
:root[data-site-theme="mono"][data-theme="dark"] {
  --bg: #0E0E0E;
  --surface: #1A1A1A;
  --ink: #F2F2F2;
  --line: #2A2A2A;
  --chrome: #000000;
  --chrome-line: #222222;
  --accent: #F2F2F2;
  --accent-ink: #0E0E0E;
  --accent-soft: #262626;
  color-scheme: dark;
}
:root[data-site-theme="mono"] .hero { --pair-a: #141414; --pair-b: #6B6B6B; }
:root[data-site-theme="mono"] .hero-bg img { filter: grayscale(1) contrast(1.1); }
:root[data-site-theme="crate"] {
  --bg: #FFF8EC;
  --surface: #FFFFFF;
  --ink: #1B1F3B;
  --line: #F0E3CC;
  --chrome: #1B1F3B;
  --chrome-ink: #FFF8EC;
  --chrome-ink-2: #C9CBE0;
  --chrome-line: #2E3358;
  --chrome-glass: rgba(27, 31, 59, .72);
  --accent: #C2381F;
  --accent-ink: #FFFFFF;
  --accent-soft: #FBE3DA;
  --accent-on-chrome: #FF8A6B;
  --ink-2: var(--ink);
  --ink-3: var(--ink);
  --font: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Gabarito", var(--font);
  --font-nav: var(--font-display);
  --nav-weight: 600;
  --font-adjust: 0.53;
  --btn-nudge: 0px;
  --display-weight: 800;
  --display-stretch: 100%;
  --display-tracking: -0.02em;
}
@media (prefers-color-scheme: dark) {
  :root[data-site-theme="crate"]:not([data-theme="light"]) {
    --bg: #13152A;
    --surface: #1C1F3A;
    --ink: #FFF3E0;
    --line: #2C3058;
    --chrome: #0C0E1F;
    --chrome-line: #22264A;
    --chrome-glass: rgba(12, 14, 31, .72);
    --accent: #FF8A6B;
    --accent-ink: #13152A;
    --accent-soft: #3A2420;
    color-scheme: dark;
  }
}
:root[data-site-theme="crate"][data-theme="dark"] {
  --bg: #13152A;
  --surface: #1C1F3A;
  --ink: #FFF3E0;
  --line: #2C3058;
  --chrome: #0C0E1F;
  --chrome-line: #22264A;
  --chrome-glass: rgba(12, 14, 31, .72);
  --accent: #FF8A6B;
  --accent-ink: #13152A;
  --accent-soft: #3A2420;
  color-scheme: dark;
}
:root[data-site-theme="crate"] .hero { --pair-a: #1FA6A0; --pair-b: #F2B705; }
:root[data-site-theme="liner-notes"] {
  --bg: #F6F0E4;
  --surface: #FFFCF5;
  --ink: #2B2019;
  --line: #E4D8C4;
  --chrome: #2B2019;
  --chrome-ink: #F6EEDF;
  --chrome-ink-2: #CDBFA9;
  --chrome-line: #42352B;
  --chrome-glass: rgba(43, 32, 25, .72);
  --accent: #A8431C;
  --accent-ink: #FFFFFF;
  --accent-soft: #F6E1D3;
  --accent-on-chrome: #EE8A5B;
  --ok: #2E7D46;
  --bad: #B3321F;
  --ink-2: var(--ink);
  --ink-3: var(--ink);
  --font: "Source Sans 3", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-nav: var(--font);
  --nav-weight: 600;
  --font-adjust: 0.54;
  --btn-nudge: 1px;
  --display-weight: 700;
  --display-stretch: 100%;
  --display-tracking: -0.01em;
}
@media (prefers-color-scheme: dark) {
  :root[data-site-theme="liner-notes"]:not([data-theme="light"]) {
    --bg: #18120E;
    --surface: #221A14;
    --ink: #F3E9D8;
    --line: #382B21;
    --chrome: #100B08;
    --chrome-line: #2C2119;
    --chrome-glass: rgba(16, 11, 8, .72);
    --accent: #EE8A5B;
    --accent-ink: #18120E;
    --accent-soft: #3B2418;
    --ok: #6CC48A;
    --bad: #EE7A5B;
    color-scheme: dark;
  }
}
:root[data-site-theme="liner-notes"][data-theme="dark"] {
  --bg: #18120E;
  --surface: #221A14;
  --ink: #F3E9D8;
  --line: #382B21;
  --chrome: #100B08;
  --chrome-line: #2C2119;
  --chrome-glass: rgba(16, 11, 8, .72);
  --accent: #EE8A5B;
  --accent-ink: #18120E;
  --accent-soft: #3B2418;
  --ok: #6CC48A;
  --bad: #EE7A5B;
  color-scheme: dark;
}
:root[data-site-theme="liner-notes"] .hero { --pair-a: #3B2416; --pair-b: #C8742E; }
:root[data-site-theme="liner-notes"] .hero-bg img { filter: grayscale(1) contrast(1.05); }

/* The Record Tribe mark beside a site's name: two colors in Classic, and
   in every other theme one color, the bar's text color, so it belongs to
   the theme. */
.logo-mark { display: inline-block; background: url("../../favicon.svg") center / contain no-repeat; }
:root[data-site-theme] .logo-mark {
  background: var(--chrome-ink);
  -webkit-mask: url("../img/record-tribe-mark-knockout.svg") center / contain no-repeat;
  mask: url("../img/record-tribe-mark-knockout.svg") center / contain no-repeat;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute always wins. Without this, any rule that sets a
   display (a grid box, a flex row) paints an element the page meant to hide. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--chrome); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-size-adjust: var(--font-adjust);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* Text links: one style everywhere. A visible underline in the text's own
   color, the accent on hover. Cards, tiles, buttons and nav opt out. */
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: currentColor; transition: color .15s; }
a:hover { color: var(--accent); }
.logo, #nav a, .login, .icon-btn, .btn, .tile, .strip > a, .credit-link, .share-link, .letters a, .skip { text-decoration: none; }
.logo:hover, #nav a:hover, .icon-btn:hover, .btn:not([class*="btn-"]):hover, .tile:hover, .strip > a:hover, .credit-link:hover, .share-link:hover, .letters a:hover, .skip:hover { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-size-adjust: none; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.page-narrow { max-width: 760px; margin: 36px auto 64px; display: grid; gap: 20px; }
.page-title { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.lede { font-size: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { top: 12px; text-decoration: none; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); background: var(--line); vertical-align: middle; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .tile:hover img, .strip > a:hover img, .post-card:hover img, .wrote-cta:hover, .blog-cta:hover { transform: none !important; }
}
/* Anything focused scrolls clear of the sticky header. */
html { scroll-padding-top: calc(var(--header-h) + 16px); }

/* ---------- header ---------- */
#header {
  position: sticky; top: 0; z-index: 50;
  background: var(--chrome); color: var(--chrome-ink);
  border-bottom: 1px solid var(--chrome-line);
  transition: background .3s ease, border-color .3s ease;
}
/* Over a banner the header floats on a 60 percent tint (5.7:1 for white
   text even over a white cover) and turns solid once the page scrolls. */
body.has-banner #header { background: var(--chrome-glass); border-bottom-color: transparent; backdrop-filter: blur(6px); }
body.has-banner #header.scrolled { background: var(--chrome); border-bottom-color: var(--chrome-line); }
body.has-banner .hero { margin-top: calc(-1 * var(--header-h)); }
body.has-banner .hero > .wrap { padding-top: calc(var(--header-h) + 28px); }
@media (min-width: 768px) {
  body.has-banner .hero > .wrap { padding-top: calc(var(--header-h) + 48px); }
}
#header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: block; color: var(--chrome-ink); flex-shrink: 0; }
.logo svg { width: 168px; height: 44px; }
#nav { display: none; gap: 4px; }
#nav a { padding: 8px 14px; border-radius: 999px; font-size-adjust: none; font-family: var(--font-nav); font-weight: var(--nav-weight); font-size: 15px; color: var(--chrome-ink); transition: background .15s; }
#nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; background: rgba(255, 255, 255, .14); }
#nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); }
.hdr-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 999px; border: 0; background: transparent; color: var(--chrome-ink);
  flex-shrink: 0; transition: background .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.login { display: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--chrome-ink); transition: background .15s; }
.login:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; background: rgba(255, 255, 255, .14); }
.avatar {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3993E2, #E2544B);
}
.menu-btn { display: inline-flex; }
#menu {
  position: fixed; z-index: 49; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--chrome); color: var(--chrome-ink); padding: 12px 20px 24px; overflow: auto;
  display: grid; align-content: start; gap: 28px;
}
#menu[hidden] { display: none; }
#menu nav { display: grid; }
#menu nav a { padding: 16px 4px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; border-bottom: 1px solid var(--chrome-line); color: var(--chrome-ink); }
#menu nav a[aria-current="page"] { color: var(--accent); }
#menu nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
body.menu-open { overflow: hidden; }
@media (min-width: 768px) {
  #nav { display: flex; }
  .login { display: inline-block; }
  .menu-btn { display: none; }
  #menu { display: none !important; }
}
@media (max-width: 420px) {
  .logo svg { width: 133px; height: 35px; }
  .logo-img img { height: 36px; }
}

.site-totals { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }
.site-totals a { color: #fff; }
.site-totals .sep { padding: 0 8px; }

/* ---------- search ---------- */
#search-panel { position: sticky; top: var(--header-h); z-index: 48; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
#search-panel[hidden] { display: none; }
#search-panel .wrap { padding-top: 14px; padding-bottom: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.search-form { display: flex; gap: 10px; }
/* The field's edge at 3:1 or more, so it can be seen (WCAG 1.4.11), the same
   edge as the signup fields. */
.search-input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 50%, transparent); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.search-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-results { list-style: none; margin: 0; padding: 0; max-height: min(70vh, 560px); overflow: auto; }
.search-results:empty { display: none; }
.search-group { padding: 12px 8px 4px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.search-results [role="option"] a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.search-results [role="option"].active a, .search-results [role="option"] a:hover { background: var(--line); color: var(--ink); }
.search-results .face, .search-results .thumb { width: 40px; height: 40px; object-fit: cover; }
.search-results .face { border-radius: 999px; }
.search-results .thumb { border-radius: 4px; }
.search-results .thumb.logo, .result-main .thumb.logo { object-fit: contain; border-radius: 0; }
.search-results .thumb.cover-empty svg, .search-results .face-empty svg { width: 18px; height: 18px; }
.search-results .result-text { display: grid; gap: 1px; min-width: 0; }
.search-results .who { font-weight: 600; }
.search-results .role { font-size: 15px; }
.search-results .mini-covers { display: flex; gap: 3px; }
.search-results .mini-covers img { width: 28px; height: 28px; border-radius: 3px; object-fit: cover; }
.search-results .search-all a { grid-template-columns: 1fr; justify-items: center; font-weight: 600; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 14px; }
body.search-open #menu { display: none; }

/* results page */
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.result { display: grid; gap: 8px; padding: 6px 0; }
.result-main { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 6px 8px; border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; }
.result-main:hover { background: var(--line); color: var(--ink); }
.result-main .thumb { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; }
.result-main .thumb.cover-empty svg { width: 20px; height: 20px; }
.result-text { display: grid; gap: 1px; min-width: 0; }
.result-text .who { font-weight: 600; }
.result-text .role { font-size: 15px; }
.result-covers { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 64px; }
.result-covers a { text-decoration: none; }
.result-covers img, .result-covers .cover-empty { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; }
.result-covers .cover-empty svg { width: 20px; height: 20px; }

/* ---------- theme switch ---------- */
.theme { display: grid; gap: 10px; justify-items: start; }
.theme .eyebrow { color: var(--chrome-ink-2); }
.seg { display: inline-flex; border: 1px solid var(--chrome-line); border-radius: 999px; overflow: hidden; }
.seg button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; background: transparent; color: var(--chrome-ink-2); font-size: 15px; font-weight: 500; }
.seg button svg { width: 18px; height: 18px; }
.seg button + button { border-left: 1px solid var(--chrome-line); }
.seg button[aria-pressed="true"] { background: var(--chrome-ink); color: var(--chrome); }
.theme-compact .seg button { padding: 6px 12px; }
.theme-compact .seg button svg { width: 16px; height: 16px; }

/* ---------- hero (the banner treatment) ---------- */
.hero { position: relative; overflow: hidden; background: var(--chrome); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom right, var(--pair-a), var(--pair-b)); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: contrast(1.05); }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom right, var(--pair-a), var(--pair-b));
  mix-blend-mode: hard-light;
}
/* Covers the whole banner, darkest at the bottom, so small white text stays
   at 4.5:1 or more over bright photos (WCAG 1.4.3; the blog's accessibility
   audit, October 27, 2026). */
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; z-index: 1; background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .58) 40%, rgba(0, 0, 0, .78)); }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 22px; padding-top: 28px; padding-bottom: 28px; justify-items: center; text-align: center; }
.cover { width: min(62vw, 300px); aspect-ratio: 1; border-radius: 6px; box-shadow: var(--shadow-cover); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { display: grid; gap: 14px; justify-items: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 14px rgba(0, 0, 0, .35); }
.hero-text .eyebrow { color: #fff; font-size: 15px; }
.hero-text h1 { font-size: clamp(38px, 9vw, 72px); line-height: .98; color: #fff; }
.hero-text .lede { color: #fff; font-size: 20px; }
.hero-text .meta { color: #fff; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 0; justify-content: center; }
.hero-text .actions { margin-top: 10px; }
.hero-text h1 { margin: 2px 0; }
.hero-text a:hover { color: #fff; text-decoration-thickness: 2.5px; }
.hero-text-center { padding: 40px 0 44px; justify-self: stretch; width: 100%; text-align: center; }
.hero-tall .hero-text-center { padding: 72px 0 80px; }
.sep { margin: 0 8px; opacity: .6; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (min-width: 768px) {
  .hero .wrap { grid-template-columns: 300px 1fr; align-items: end; justify-items: start; text-align: left; padding-top: 48px; padding-bottom: 40px; gap: 36px; }
  .hero .wrap.wrap-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cover { width: 300px; }
  .hero-text { justify-items: start; }
  .hero-text-center { justify-items: center; grid-column: 1 / -1; padding: 56px 0 64px; }
  .hero-text .meta { justify-content: flex-start; }
  .hero-text-center .meta { justify-content: center; }
  .actions { justify-content: flex-start; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: var(--btn-nudge) 20px 0; border-radius: 999px; border: 0; box-sizing: border-box;
  font-weight: 600; font-size: 16px; line-height: 1; transition: transform .15s ease, background .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:hover { text-decoration: none; }
.btn svg { width: 20px; height: 20px; }
.btn-solid { background: #fff; color: #111; }
.btn-solid:hover { background: #f1f1f1; color: #111; }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn-love[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.btn-love[aria-pressed="true"] svg { fill: currentColor; animation: pop .3s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }
.btn .count { opacity: .8; font-variant-numeric: tabular-nums; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { background: var(--surface); color: var(--ink); }
/* A button keeps its own text color on hover; only its background changes (Corey, October 17, 2026). */
.btn-love[aria-pressed="true"]:hover { color: var(--accent-ink); }

/* ---------- page layout ---------- */
.page { display: grid; gap: 56px; padding-top: 36px; padding-bottom: 64px; }
.col-main, .col-side { display: grid; gap: 56px; align-content: start; }
section { display: grid; gap: 16px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.1; }
.sec-head .more { font-size: 16px; font-weight: 500; }
.sec-head-inline { justify-content: flex-start; gap: 14px; }
.sec-head .count { font-size: 16px; }
.page.page-single { grid-template-columns: 1fr !important; }
.page-single section { max-width: 100%; }
@media (min-width: 900px) {
  .page { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; gap: 48px; }
  .col-main, .col-side { gap: 48px; }
  .full { grid-column: 1 / -1; }
}

/* ---------- metadata list ---------- */
.meta-list { display: grid; grid-template-columns: max-content 1fr; gap: 0 20px; margin: 0; font-size: 15px; }
.meta-list dt, .meta-list dd { padding: 10px 0; border-top: 1px solid var(--line); }
.meta-list dt:first-of-type, .meta-list dt:first-of-type + dd { border-top: 0; padding-top: 0; }
.meta-list dt { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 22px; }
.meta-list dd { margin: 0; line-height: 1.45; }
.meta-list dd .muted { color: var(--ink); font-variant-numeric: tabular-nums; }
.meta-list dd + dd { border-top: 0; padding-top: 0; }
.meta-list dt:empty { border-top: 0; padding: 0; }
/* The credit Discogs asks for under its data. */
.source { margin: 16px 0 0; font-size: 15px; }

/* ---------- tracklist and player ---------- */
.apple { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.apple svg { width: 14px; height: 14px; }
.tracks { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.track { display: grid; grid-template-columns: 40px 32px 1fr auto; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-top: 1px solid var(--line); }
.track:first-child { border-top: 0; }
.track .pos { color: var(--ink-3); font-size: 15px; font-variant-numeric: tabular-nums; text-align: center; }
.track .title { font-weight: 500; }
.track .by { display: block; font-size: 15px; color: var(--ink-2); }
.track .dur { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.track-heading { grid-column: 1 / -1; padding: 10px 14px 4px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.play {
  width: 40px; height: 40px; padding: 0; border-radius: 999px; border: 0; background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.play svg { width: 18px; height: 18px; }
.play:hover, .track[data-preview]:hover .play { background: var(--line); }
.track[data-preview] { cursor: pointer; }
.track[aria-current="true"] .play { background: var(--accent); color: var(--accent-ink); }
.track[aria-current="true"] .title { color: var(--accent); }

/* ---------- credits ---------- */
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-bottom: 1px solid var(--line); }
/* One plain row per person, linked or not; a linked name is underlined and
   has the arrow. On wide screens a long list flows into two columns, so a
   person with many roles never leaves a gap beside them. */
.credits > li { border-top: 1px solid var(--line); break-inside: avoid; }
.credit { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; color: var(--ink); }
.credit-text { display: grid; gap: 1px; min-width: 0; }
.credit .who { font-weight: 600; }
.credit .role { font-size: 15px; }
.credit-link { grid-template-columns: 44px 1fr 20px; }
.credit-link .who { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.credit-link:hover .who { color: var(--accent); }
.credit-link .chev { width: 20px; height: 20px; }
.face { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.also { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.also b { font-weight: 600; color: var(--ink); }
.also .also-role { font-weight: 600; color: var(--ink); }
@media (min-width: 900px) {
  .credits-two { display: block; columns: 2; column-gap: 40px; }
}

/* ---------- family ---------- */
.family { border-radius: var(--radius); background: var(--surface); padding: 18px; display: grid; gap: 14px; }
.loved { display: flex; align-items: center; gap: 10px; }
.stack { display: flex; }
.stack .avatar { width: 34px; height: 34px; border: 2px solid var(--surface); }
.stack .avatar + .avatar { margin-left: -10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat b { display: block; font-size-adjust: none; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 28px; letter-spacing: var(--display-tracking); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--ink-2); }
.you { font-size: 15px; color: var(--ink-2); }

/* ---------- cover strips and grids ---------- */
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > a { flex: 0 0 auto; width: 150px; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.strip > a:hover { text-decoration: none; }
.strip img { width: 150px; height: 150px; border-radius: 6px; object-fit: cover; transition: transform .2s ease; }
.strip > a:hover img { transform: translateY(-3px); }
.strip .t { font-weight: 700; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.strip .a { font-size: 15px; line-height: 1.3; }
.strip .why { font-size: 15px; font-style: italic; line-height: 1.35; margin-top: 2px; }
.strip.small > a { width: 124px; }
.page-full { grid-column: 1 / -1; display: grid; gap: 48px; min-width: 0; }
.promo { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.promo h2 { font-size: 24px; line-height: 1.15; }
.promo p { margin: 0; font-size: 17px; line-height: 1.5; }
.promo .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.strip.small img { width: 124px; height: 124px; }
@media (min-width: 900px) {
  .strip, .strip.small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .strip.small { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .strip > a, .strip.small > a { width: auto; }
  .strip img, .strip.small img { width: 100%; height: auto; aspect-ratio: 1; }
  .strip.strip-wide { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 22px; }
  .strip.small.strip-wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
}

/* ---------- notes, links, share ---------- */
.notes { font-size: 15px; line-height: 1.6; max-width: 62ch; }
.notes p { margin: 0 0 12px; }
.notes p:last-child { margin-bottom: 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.share-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); transition: transform .15s ease, background .15s ease;
}
.share-link svg { width: 18px; height: 18px; }
.share-link:hover { transform: translateY(-2px); background: var(--line); text-decoration: none; }
.share-link[hidden] { display: none; }
.share-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.share-copy.copied .share-tip { opacity: 1; }
.share-copy.copied { border-color: var(--ok); color: var(--ok); }

/* ---------- status table ---------- */
.status { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.status th, .status td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.status thead th { border-top: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.status tbody th { font-weight: 500; }
.status td { font-variant-numeric: tabular-nums; }
.status .ico { width: 20px; height: 20px; }
.status tr.ok .ico { color: var(--ok); }
.status tr.bad .ico { color: var(--bad); }
.status tr.bad td { color: var(--bad); font-weight: 600; }

/* ---------- grids, tiles, placeholders ---------- */
.page-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
.grid-tight { gap: 16px 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, 1fr); gap: 36px 22px; } .col-main .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .col-main .grid { grid-template-columns: repeat(4, 1fr); } }
.tile { display: grid; gap: 4px; align-content: start; }
.tile:hover { text-decoration: none; }
.tile img, .tile .cover-empty { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; object-fit: cover; transition: transform .2s ease; margin-bottom: 10px; }
.tile:hover img { transform: translateY(-3px); }
.tile .t { font-weight: 700; font-size: 19px; line-height: 1.25; }
.tile .a { font-size: 15px; line-height: 1.4; }
.tile .fmt { font-style: italic; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.formats a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.formats a:hover { border-color: var(--accent); color: var(--accent); }
.formats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
/* No image: a flat dark shape in the chrome color with a white icon. Same
   shape as the real thing, square for a cover, round for a face. */
.cover-empty { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; border-radius: 6px; background: var(--chrome); color: var(--chrome-ink); }
.cover-empty svg { width: 34%; height: 34%; }
.cover .cover-empty { height: 100%; }
.cover-empty.small { width: 124px; height: 124px; }
.cover.portrait { border-radius: 999px; }
.face-empty { display: inline-flex; align-items: center; justify-content: center; background: var(--chrome); color: var(--chrome-ink); }
.face-empty svg { width: 22px; height: 22px; }
.track-static { grid-template-columns: 40px 1fr auto; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.plain-list a { font-weight: 600; }
/* A long list's rest, behind Show all: a band's members, a player's groups. */
.more-list { margin-top: 8px; }
.more-list > summary { display: inline-block; padding: 8px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.more-list > summary::-webkit-details-marker { display: none; }
.more-list > summary:hover { color: var(--accent); }
.more-list .more-open, .more-list[open] .more-closed { display: none; }
.more-list[open] .more-open { display: inline; }
.more-list > .plain-list { margin-top: 8px; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.small { font-size: 15px; }
.hero-text .artist-line a { color: #fff; }

.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--surface); }
.letters a:hover { background: var(--line); text-decoration: none; }
.grid-people .tile img, .face-big { border-radius: 999px; }
.face-big, .tile .face-big, .cover .face-big { border-radius: 999px; }
.page-grid section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- notices and forms ---------- */
/* Notices: a soft tinted panel, no border stripe (Corey, October 17, 2026). */
/* Most collected, on the home page: the artist or musician, decade and
   style the collection has most of, each a whole-card link (Corey,
   November 1, 2026). Side by side on wide screens, stacked on phones. */
.most { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .most { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.most-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.most-card:hover { color: var(--ink); text-decoration: none; }
.most-card:hover .most-name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.most-card img, .most-card .cover-empty { width: 96px; height: 96px; border-radius: 6px; object-fit: cover; }
.most-text { display: grid; gap: 6px; min-width: 0; }
.most-kind { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.most-name { font-size: 22px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.most-line { font-size: 16px; }
/* While albums are being added: above the header on every page, scrolling
   away with the page (Corey, October 30, 2026). */
.import-bar { background: #F6F1E6; color: #17121F; border-bottom: 1px solid rgba(23, 18, 31, .15); }
.import-bar .wrap { padding-top: 12px; padding-bottom: 14px; display: grid; gap: 10px; justify-items: center; }
.import-bar p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; text-align: center; }
/* Pale in light and dark alike, so it never blends into the header, and a
   line that fills as records arrive, in the header's own color. */
.import-bar progress { -webkit-appearance: none; appearance: none; width: min(100%, 520px); height: 8px; border: 0; border-radius: 999px; background: rgba(23, 18, 31, .14); overflow: hidden; }
.import-bar progress::-webkit-progress-bar { background: rgba(23, 18, 31, .14); border-radius: 999px; }
.import-bar progress::-webkit-progress-value { background: var(--chrome); border-radius: 999px; }
.import-bar progress::-moz-progress-bar { background: var(--chrome); border-radius: 999px; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--ink); }
.notice.ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); }
.notice.bad { background: color-mix(in srgb, var(--bad) 14%, var(--surface)); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); color: var(--accent-ink); }
.status tr.pending td { font-style: italic; }
.status.log td { font-size: 15px; }
.status.log .when { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.actions-left { justify-content: flex-start; }
.sec-title { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.1; margin-top: 8px; }

/* ---------- footer ---------- */
#main { flex: 1 0 auto; }
#footer { margin-top: 56px; background: var(--chrome); color: var(--chrome-ink-2); border-top: 1px solid var(--chrome-line); font-size: 15px; }
#footer .wrap { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 22px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.foot-row-center { justify-content: center; padding-top: 16px; border-top: 1px solid var(--chrome-line); }
#footer .logo svg { width: 137px; height: 36px; }
#footer .made { margin: 0; font-size: 15px; color: var(--chrome-ink); }
#footer .made a { color: var(--chrome-ink); }
#footer .made .sep { margin: 0 6px; }
/* The site's name in place of a logo, until owners can add their own. */
.logo-text { font-size-adjust: none; font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 22px; font-weight: var(--display-weight); letter-spacing: -0.02em; line-height: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
#footer .logo-text { font-size: 20px; line-height: 36px; }
.logo-img img { display: block; height: 44px; width: auto; max-width: min(260px, 55vw); object-fit: contain; object-position: left center; }
#footer .logo-img img { height: 36px; }
.logo-with-photo { display: flex; align-items: center; gap: 10px; }
.logo-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
#footer .logo-photo { width: 32px; height: 32px; }
.logo-name { overflow: hidden; text-overflow: ellipsis; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
#footer .logo-mark { width: 28px; height: 28px; }
#footer .foot-id { display: grid; justify-items: center; gap: 8px; text-align: center; }
#footer .foot-id .logo { max-width: 100%; }
#footer .foot-part { margin: 0; font-size: 15px; color: var(--chrome-ink); }
#footer .foot-part a { color: var(--chrome-ink); }
#footer .foot-links { margin: 10px 0 0; font-size: 15px; color: var(--chrome-ink); text-align: center; }
#footer .foot-links a { color: var(--chrome-ink); white-space: nowrap; }
#footer .foot-links .sep { margin: 0 8px; }
#footer .foot-notice { margin: 14px auto 0; max-width: 62ch; font-size: 15px; line-height: 1.55; color: var(--chrome-ink); text-align: center; }
#footer .foot-notice a, #footer .foot-love a { color: var(--chrome-ink); }
#footer .foot-love { margin: 14px 0 20px; font-size: 15px; color: var(--chrome-ink); text-align: center; }
#footer .heart { display: inline; width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin: 0 2px; }

/* ---------- mini player ---------- */
#mini {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--chrome); color: var(--chrome-ink); border-top: 1px solid var(--chrome-line);
}
#mini .wrap { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; height: 68px; }
#mini img { width: 44px; height: 44px; border-radius: 4px; display: block; }
#mini .mini-cover { display: block; width: 44px; height: 44px; border-radius: 4px; background: var(--chrome-line); }
#mini .np { min-width: 0; line-height: 1.25; margin: 0; }
#mini .np a { display: block; font-weight: 600; color: var(--chrome-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mini .np span { display: block; font-size: 15px; color: var(--chrome-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mini .np-apple { display: inline-block; font-size: 14px; font-weight: 500; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
#mini .np-apple[hidden] { display: none; }
@media (max-width: 599px) { #mini .np-apple { display: none; } }
#mini .mini-btns { display: flex; align-items: center; gap: 2px; }
#mini .play { color: var(--chrome-ink); }
#mini .play:hover { background: rgba(255, 255, 255, .1); }
#mini .play:disabled { opacity: .35; cursor: default; }
#mini .play:disabled:hover { background: transparent; }
#mini .mini-play { background: var(--accent); color: var(--accent-ink); margin: 0 4px; }
#mini .mini-play:hover { background: var(--accent); filter: brightness(1.08); }
#main:focus { outline: none; }
html.loading { cursor: progress; }
#mini .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); }
body.has-player #footer .wrap { padding-bottom: 94px; }

/* ---------- forms and account pages ---------- */
.form-page { max-width: 520px; }
.form { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); }
.form .sec-title { margin: 0; }
.form p { margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: inherit; }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.input[readonly] { background: var(--surface); }
textarea.input { resize: vertical; line-height: 1.45; }
.hint { font-size: 15px; margin: 0; }
.checkline { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checkline input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-link { align-self: center; font-size: 15px; }
.btn-small { height: 34px; padding: 0 14px; font-size: 15px; }
.status form { margin: 0; }
.copy-card { display: grid; gap: 12px; padding: 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--ok) 12%, var(--surface)); }
.copy-card .sec-title { margin: 0; }
.copy-card-bad { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.status form { display: flex; gap: 6px; flex-wrap: wrap; }
.copy-card p { margin: 0; }
.copy-status { font-size: 15px; font-weight: 600; align-self: center; }
.admin-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-links a { display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.admin-links a:hover { text-decoration: none; background: var(--line); }
.admin-links strong { font-size: 18px; }
.admin-links span { font-size: 15px; }

/* ---------- platform admin: sites ---------- */
.site-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.site-list li { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); }
.site-list-name { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.site-list-host { margin: 4px 0 0; font-size: 16px; font-style: italic; }
.site-list-facts { display: grid; gap: 10px; margin: 16px 0 0; font-size: 16px; }
.site-list-facts div { display: grid; gap: 2px; }
.site-list-facts dt { font-weight: 700; }
.site-list-facts dd { margin: 0; }
@media (min-width: 700px) { .site-list-facts div { grid-template-columns: 200px 1fr; gap: 16px; } }

/* ---------- family: listens, loves, leaderboard ---------- */
.family-public p { margin: 0 0 8px; }
.family-actions { display: grid; gap: 8px; justify-items: center; margin-top: 6px; }
.family-actions .actions { margin: 0; }
.family-actions .btn svg { width: 18px; height: 18px; }
.family-actions .btn.is-on, .family-actions .btn.is-on:hover { background: var(--accent); color: var(--accent-ink); }
.family-actions .btn.is-on svg { fill: currentColor; }
.fam-you { margin: 6px 0 0; font-size: 15px; color: #fff; text-align: center; }
.fam-undo { border: 0; background: transparent; padding: 0 2px; font: inherit; font-size: 15px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 768px) {
  .family-actions { justify-items: start; }
  .fam-you { text-align: left; }
}
.listen-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.listen-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.listen-row .result-main { min-width: 0; }
.listen-row .rm-text { display: grid; min-width: 0; line-height: 1.25; }
.listen-row .rm-text strong, .listen-row .rm-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen-row .rm-text span { font-size: 15px; }
.listen-row .when { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fam-remove { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fam-remove svg { width: 16px; height: 16px; }
.fam-remove:hover { background: var(--line); }
.listen-row .fam-remove { grid-column: 3; }
.listen-row:has(.fam-remove) { grid-template-columns: 1fr auto auto; }
.love-tile { position: relative; }
.love-tile .fam-remove { position: absolute; top: 6px; right: 6px; background: var(--chrome); color: var(--chrome-ink); border-color: transparent; }
.grid-small { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 24px 16px; }
.grid-small .tile img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; object-fit: cover; }
.grid-small .tile .t { font-size: 17px; font-weight: 700; line-height: 1.25; }
.grid-small .tile .a { font-size: 15px; line-height: 1.4; }
.cover-round, .cover-round img { border-radius: 999px; }
.cover-round .face-big { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--chrome); color: var(--chrome-ink); }
.cover-round .face-big svg { width: 40%; height: 40%; }
.avatar-img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }

/* ---------- homepage: the family panel ---------- */
.home { display: grid; gap: 48px; padding-top: 36px; padding-bottom: 64px; }

/* Spin the shelf: one record, large, with a button that swaps in another. */
.spin { display: grid; gap: 18px; }
.spin-card { display: grid; gap: 22px; justify-items: center; padding: 24px 20px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.spin-cover { display: block; width: min(100%, 260px); }
.spin-cover img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.spin-text { display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 0; width: 100%; }
.spin-artist { margin: 0; font-size: 18px; font-weight: 600; }
.spin-title { margin: 0; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }
.spin-year { margin: 0; font-size: 17px; font-style: italic; }
.spin-text .actions { margin-top: 18px; }
.spin-again svg { width: 18px; height: 18px; }
.spin-card.is-swapping .spin-cover img, .spin-card.is-swapping .spin-text > :not(.actions) { opacity: .35; transition: opacity .12s; }
@media (min-width: 700px) {
  .spin-card { grid-template-columns: 240px 1fr; align-items: center; gap: 32px; padding: 28px; justify-items: start; }
  .spin-cover { width: 240px; }
  .spin-text { justify-items: start; text-align: left; }
  .spin-text .actions { justify-content: flex-start; }
}

/* Random Album Picker: a details element so the first press needs no script. */
.picker-page { justify-items: center; text-align: center; gap: 28px; }
.picker { width: 100%; display: grid; justify-items: center; gap: 24px; }
.picker summary { list-style: none; cursor: pointer; height: 56px; padding: 0 32px; font-size: 18px; }
.picker summary::-webkit-details-marker { display: none; }
.picker summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.picker .spin-card { width: 100%; }
.picker-note { margin: 0; font-size: 15px; line-height: 1.5; max-width: 520px; }

/* Writing on the home page: rows, so only records look like records. */
.post-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.post-rows li { border-top: 1px solid var(--line); }
.post-rows li:first-child { border-top: 0; }
.post-row { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "img text" "img date"; align-items: center; column-gap: 14px; row-gap: 4px; padding: 12px 0; text-decoration: none; min-width: 0; }
.post-row:hover { text-decoration: none; }
.post-row img, .post-row .cover-empty { grid-area: img; width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.post-row .cover-empty { display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); }
.post-row .cover-empty svg { width: 22px; height: 22px; }
.pr-text { grid-area: text; display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.pr-text strong { font-size: 17px; }
.post-row:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.pr-on { font-size: 15px; }
.pr-date { grid-area: date; font-size: 15px; font-style: italic; white-space: nowrap; }
@media (min-width: 700px) {
  .post-row { grid-template-columns: 56px 1fr auto; grid-template-areas: "img text date"; column-gap: 16px; }
  .pr-date { font-size: 15px; }
}
.panel { display: grid; gap: 32px; padding: 24px 20px; border-radius: var(--radius); background: var(--chrome); color: var(--chrome-ink); }
.panel a { color: var(--chrome-ink); }
.panel .sec-head h3 { font-size: 20px; margin: 0; }
.panel-col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.played { list-style: none; margin: 0; padding: 0; display: grid; }
.played li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--chrome-line); }
.played li:first-child { border-top: 0; padding-top: 0; }
.played-album { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.played-album img, .played-album .cover-empty { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; }
.played-album .cover-empty { display: flex; align-items: center; justify-content: center; background: var(--chrome-line); }
.played-album .cover-empty svg { width: 20px; height: 20px; }
.played-album:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.pl-text { display: grid; min-width: 0; line-height: 1.25; }
.pl-text strong, .pl-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-text span { font-size: 15px; }
.pl-who { display: grid; justify-items: end; gap: 5px; line-height: 1.2; font-size: 15px; text-align: right; }
.pl-who a { font-weight: 600; }
.pl-when { font-size: 15px; white-space: nowrap; }
.board .sec-head { flex-wrap: wrap; }
.board .seg { align-self: center; }
.board .seg button { color: var(--chrome-ink); }
.board .seg button[aria-selected="true"] { background: var(--chrome-ink); color: var(--chrome); }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.board-list li { display: grid; grid-template-columns: 28px 1fr auto; grid-template-areas: "rank who n" "rank bar bar"; align-items: center; gap: 4px 12px; padding: 8px 0; }
.board-list .rank { grid-area: rank; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; font-size: 15px; }
.board-list .who { grid-area: who; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.board-list .who:hover span { text-decoration: underline; text-underline-offset: 3px; }
.board-list .who .avatar { width: 28px; height: 28px; font-size: 12px; }
.board-list .who .avatar-img { width: 28px; height: 28px; }
.board-list .n { grid-area: n; font-variant-numeric: tabular-nums; font-weight: 600; }
.board-list .bar { grid-area: bar; display: block; height: 4px; border-radius: 2px; background: var(--chrome-line); overflow: hidden; }
.board-list .bar span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.board-list .board-none { display: block; grid-template-columns: 1fr; }
.board-list[hidden] { display: none; }
@media (min-width: 900px) {
  .panel { grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 28px 32px; }
  /* With no leaderboard, Recently played has the whole panel, in two
     columns so each name stays near its album. */
  .panel.panel-solo { grid-template-columns: minmax(0, 1fr); }
  .panel-solo .played { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .panel-solo .played li:nth-child(2) { border-top: 0; padding-top: 0; }
}

/* ---------- explorer ---------- */
.explore { position: relative; height: calc(100vh - var(--header-h)); min-height: 520px; overflow: hidden; background: var(--chrome); color: var(--chrome-ink); }
.explore-svg { display: block; width: 100%; height: 100%; touch-action: none; }
.explore-start { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: var(--chrome); text-align: center; }
.explore-start[hidden] { display: none; }
.explore-start h1 { font-size: clamp(34px, 6vw, 52px); }
.explore-start .lede { margin: 0; max-width: 40ch; }
.explore-search { position: relative; width: 480px; max-width: 100%; margin-top: 12px; }
.explore-search-icon { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; pointer-events: none; }
.explore-search .input { padding: 14px 16px 14px 46px; font-size: 17px; border-radius: 12px; background: #1B1A22; color: var(--chrome-ink); border-color: var(--chrome-line); }
.explore-search .input::placeholder { color: #8E8B9C; }
.explore-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow-y: auto; border-radius: 12px; background: #1B1A22; border: 1px solid var(--chrome-line); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); text-align: left; }
.explore-results[hidden] { display: none; }
.explore-results li { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; cursor: pointer; }
.explore-results li:hover, .explore-results li.active { background: rgba(255, 255, 255, .1); }
.explore-results img, .explore-results .thumb, .explore-results .face { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.explore-results .face { border-radius: 999px; }
.explore-results .cover-empty, .explore-results .face-empty { display: flex; align-items: center; justify-content: center; background: #2A2836; }
.explore-results .cover-empty svg, .explore-results .face-empty svg { width: 18px; height: 18px; }
.explore-results .xr-text { display: grid; min-width: 0; line-height: 1.25; }
.explore-results .xr-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.explore-results .xr-name strong { color: var(--accent); }
.explore-results .xr-sub { font-size: 15px; }
.explore-results .arrow { margin: 0 2px; }
.explore-none { padding: 10px; }
.explore-stats { margin: 8px 0 0; font-size: 15px; }
.explore-close { position: absolute; top: 16px; right: 16px; }
.explore-close[hidden] { display: none; }
.explore-tools { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 5; display: flex; justify-content: space-between; pointer-events: none; }
.explore-tools[hidden] { display: none; }
.explore-tools .icon-btn { pointer-events: auto; background: rgba(27, 26, 34, .9); border: 1px solid var(--chrome-line); font-size: 22px; font-weight: 600; }
.explore-zoom { display: flex; flex-direction: column; gap: 6px; }
.explore-legend { position: absolute; left: 16px; bottom: 16px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.explore-legend[hidden] { display: none; }
.explore-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 999px; vertical-align: -1px; margin-right: 4px; }
.explore-legend .dot-album { background: #6A2BD9; }
.explore-legend .dot-artist { background: #3993E2; }
.explore-hint { width: 100%; }
.explore-card { position: absolute; z-index: 15; width: 280px; max-width: calc(100vw - 32px); padding: 16px; border-radius: 12px; background: #1B1A22; border: 1px solid var(--chrome-line); box-shadow: 0 12px 32px rgba(0, 0, 0, .5); display: grid; gap: 6px; justify-items: start; }
.explore-card[hidden] { display: none; }
.explore-card-close { position: absolute; top: 6px; right: 6px; }
.explore-card-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; display: block; }
.explore-card-img img.round { border-radius: 999px; }
.explore-card-img img[hidden] { display: none; }
.explore-card-name { margin: 0; padding-right: 36px; font-weight: 700; font-size: 17px; line-height: 1.25; }
.explore-card-sub { margin: 0; font-size: 15px; }
.explore-card .btn { margin-top: 6px; height: 38px; font-size: 15px; }
@media (max-width: 599px) {
  .explore-card { left: 16px !important; right: 16px; top: auto !important; bottom: 64px; width: auto; }
}
.x-link { stroke: #6B687A; stroke-width: 1.5; }
.x-node:focus, .x-node:focus-visible { outline: none; }
.x-node:focus-visible .x-ring { stroke: #fff; stroke-width: 3; }
.x-label { fill: #fff; font-size: 15px; font-weight: 600; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #0F0E14; stroke-width: 3px; stroke-linejoin: round; }
.x-label-center { font-size: 15px; font-weight: 700; }
.x-icon { fill: #B9B6C6; }
.x-info circle { fill: #1B1A22; stroke: #8E8B9C; stroke-width: 1.5; }
.x-info text { fill: #fff; font-size: 15px; font-weight: 700; font-style: italic; font-family: Georgia, serif; pointer-events: none; }
.x-info { cursor: pointer; }
.x-pulse { animation: x-pulse 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes x-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .x-pulse { animation: none; opacity: .6; } }

/* ---------- writing ---------- */
.page-list { padding-top: 36px; padding-bottom: 64px; display: grid; gap: 24px; }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.post-card { display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
.post-card:hover { color: inherit; text-decoration: none; }
.post-card img, .post-card .cover-empty { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; object-fit: cover; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.post-card:hover img { transform: translateY(-3px); }
.post-card .cover-empty svg { width: 32px; height: 32px; }
.post-card-title { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-top: 4px; }
.post-card:hover .post-card-title { text-decoration: underline; text-underline-offset: 3px; }
.post-card-excerpt { font-size: 15px; line-height: 1.45; }
.col-main, .col-side { min-width: 0; }
.post-body { font-size: 18px; line-height: 1.6; max-width: 68ch; overflow-wrap: break-word; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote { margin: 0 0 1.2em; }
.yt-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.2em; border-radius: var(--radius-sm); overflow: hidden; background: var(--chrome); }
.yt-play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--chrome); cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; display: block; }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 14px; background: #FF0033; color: #fff; display: flex; align-items: center; justify-content: center; transition: filter .15s; }
.yt-btn svg { width: 28px; height: 28px; }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { filter: brightness(1.12); }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.post-body h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: .4em 0; }
.post-body blockquote { padding-left: 16px; border-left: 3px solid var(--accent); font-style: italic; }
.post-body pre { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); overflow-x: auto; font-size: 15px; }
.post-album { display: grid; gap: 16px; }
.post-album .result-main { padding: 10px 12px; }
.post-album .rm-text { display: grid; min-width: 0; line-height: 1.3; gap: 2px; }
.post-album .rm-text span { font-size: 15px; }
.post-title { display: grid; gap: 6px; }
.post-title .artist { display: block; font-size: clamp(18px, 3vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.post-date { font-size: 15px; margin-top: 2em; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: 4px; text-decoration: none; }
.post-nav a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.post-nav .eyebrow { color: var(--ink); }
.post-nav strong { font-size: 17px; line-height: 1.25; }
.post-nav-next { text-align: right; justify-items: end; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 500; text-decoration: none; }
.tag:hover { background: var(--line); text-decoration: none; }
.tracks-compact .track { padding: 6px 12px 6px 6px; font-size: 15px; }
.tracks-compact .pos { display: none; }
.tracks-compact .track { grid-template-columns: 40px 1fr auto; }
.tracks-compact .track-static { grid-template-columns: 1fr auto; padding-left: 14px; }
.wrote-cta { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--radius); background: var(--chrome); color: var(--chrome-ink); text-decoration: none; transition: transform .15s; }
.wrote-cta:hover { color: var(--chrome-ink); text-decoration: none; transform: translateY(-2px); }
.wrote-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wrote-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.wrote-more { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: var(--accent-on-chrome); }
.wrote-more svg { width: 14px; height: 14px; }
.wrote-cta:hover .wrote-more { text-decoration: underline; text-underline-offset: 3px; }
/* The Record Tribe blog on album and artist pages (Corey, October 27, 2026):
   a dark card for a post about this album or musician, the same card as the
   blog's own "In this post", then the latest posts as 16:9 rows. */
.blog-cta { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--chrome); color: var(--chrome-ink); text-decoration: none; transition: transform .15s; }
.blog-cta:hover { color: var(--chrome-ink); text-decoration: none; transform: translateY(-2px); }
.blog-thumb { display: block; width: 96px; height: 54px; border-radius: 4px; overflow: hidden; }
.blog-thumb img, .blog-row img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-empty { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; background: var(--chrome-line); border-radius: 4px; }
.blog-cta-text { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.blog-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--chrome-ink); }
.blog-cta strong { font-size: 19px; font-weight: 700; }
.blog-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--accent-on-chrome); }
.blog-go svg { width: 14px; height: 14px; }
.blog-cta:hover .blog-go { text-decoration: underline; text-underline-offset: 3px; }
.blog-rows { display: grid; }
.blog-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.blog-row:first-child { padding-top: 0; }
.blog-row:last-child { border-bottom: 0; }
.blog-row img, .blog-row .blog-thumb-empty { width: 112px; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; }
.blog-row .blog-thumb-empty { background: var(--line); }
.blog-row-title { font-weight: 700; font-size: 17px; line-height: 1.25; }
.blog-row:hover { color: var(--ink); text-decoration: none; }
.blog-row:hover .blog-row-title { text-decoration: underline; text-underline-offset: 3px; }
.strip-posts .a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.page-wide { max-width: 860px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.album-pick { position: relative; }
.album-results { position: absolute; left: 0; right: 0; top: calc(100% - 26px); z-index: 20; margin: 0; padding: 6px; list-style: none; max-height: 320px; overflow-y: auto; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.album-results[hidden] { display: none; }
.album-results li { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.album-results li:hover, .album-results li.active { background: var(--surface); }
.album-results .thumb { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; background: var(--surface); }
.album-results .rm-text { display: grid; line-height: 1.25; }
.album-results .rm-text span { font-size: 15px; }
.editor { background: var(--bg); border-radius: 0 0 var(--radius-sm) var(--radius-sm); min-height: 320px; font-size: 17px; line-height: 1.55; }
.ql-toolbar.ql-snow { border-color: var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--surface); }
.ql-container.ql-snow { border-color: var(--line); }
.ql-snow .ql-stroke { stroke: var(--ink); }
.ql-snow .ql-fill { fill: var(--ink); }
.ql-snow .ql-picker { color: var(--ink); }
/* Quill's own stylesheet loads after this one, so these carry extra weight. */
.editor .ql-editor { min-height: 320px; padding: 16px 18px; color: var(--ink); font-size: 17px; line-height: 1.6; }
.editor .ql-editor.ql-blank::before { color: var(--ink-3); font-style: normal; }
.editor .ql-editor p, .editor .ql-editor ul, .editor .ql-editor ol, .editor .ql-editor blockquote, .editor .ql-editor h2, .editor .ql-editor h3 { margin: 0 0 1em; }
.editor .ql-editor li { margin: 0 0 .2em; }
.editor .ql-editor li > ul, .editor .ql-editor li > ol { margin: .2em 0 0; }
.editor .ql-editor blockquote { padding-left: 16px; border-left: 3px solid var(--accent); font-style: italic; }
.editor .ql-editor img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* ---------- admin bar and admin forms ---------- */
#admin-bar { background: var(--chrome); color: var(--chrome-ink); border-bottom: 1px solid var(--chrome-line); font-size: 15px; }
#admin-bar .wrap { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
#admin-bar .admin-bar-label { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-right: 8px; }
#admin-bar a, #admin-bar button { display: inline-block; padding: 6px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--chrome-ink); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
#admin-bar a:hover, #admin-bar button:hover { background: rgba(255, 255, 255, .14); text-decoration: underline; text-underline-offset: 4px; }
#admin-bar form { margin: 0; display: inline; }
.eyebrow-link { margin: 0; font-size: 15px; }
.pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.pick legend { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.pick-row { display: grid; grid-template-columns: 20px auto 1fr; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; }
.pick-row img { width: 60px; height: 60px; border-radius: 4px; }
.pick-row input { accent-color: var(--accent); width: 18px; height: 18px; }
.admin-cover { width: 160px; height: 160px; border-radius: var(--radius-sm); object-fit: cover; }
.admin-face { border-radius: 999px; }
.btn-danger, .btn-danger:hover { color: var(--bad); border-color: var(--bad); }
input[type="file"].input { padding: 8px; }

/* ---------- banner photos admin ---------- */
.assign-grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .assign-grid { grid-template-columns: 1fr 1fr; } }
select.input { appearance: auto; }
.banner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.banner-list li { display: grid; gap: 12px; }
.banner-list img { width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.banner-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.banner-meta span { font-size: 15px; }
.banner-meta form { margin: 0 0 0 auto; }
@media (min-width: 600px) { .banner-list li { grid-template-columns: 240px 1fr; align-items: center; } .banner-meta { display: grid; gap: 4px; } .banner-meta form { margin: 6px 0 0; } }

/* ---------- signed in ---------- */
.user { position: relative; display: flex; align-items: center; }
.user-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.user-btn:hover, .user-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.user-btn .avatar-img { width: 32px; height: 32px; }
.user-btn .avatar { font-size: 14px; }
.user-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; z-index: 50;
  display: grid; padding: 6px; border-radius: var(--radius-sm); background: var(--chrome); border: 1px solid var(--chrome-line); box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}
.user-menu a, .user-menu button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; text-align: left; font: inherit; font-size: 15px; font-weight: 500; color: var(--chrome-ink); text-decoration: none; cursor: pointer; }
.user-menu a:hover, .user-menu button:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.user-menu form { margin: 0; }
.user-menu[hidden] { display: none; }
.menu-user a, .menu-user button { display: block; width: 100%; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--chrome-line); background: transparent; text-align: left; font: inherit; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--chrome-ink); cursor: pointer; }
.menu-user form { margin: 0; }
@media (min-width: 768px) {
  .user .login { display: inline-block; }
}

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 70;
  padding: 10px 14px 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: 15px; display: flex; align-items: center; gap: 12px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); white-space: nowrap;
}
#toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast button { border: 0; background: transparent; color: var(--accent); font-weight: 600; padding: 4px 6px; }

/* ---------- Your site: logo or photo ---------- */
.admin-logo { display: block; box-sizing: content-box; height: 44px; width: auto; max-width: 260px; object-fit: contain; padding: 14px 18px; background: var(--chrome); border-radius: var(--radius-sm); }
.admin-logo-photo { width: 96px; height: 96px; max-width: none; padding: 0; border-radius: 50%; object-fit: cover; background: none; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; min-width: 0; }
fieldset.field legend { font-weight: 600; margin-bottom: 10px; padding: 0; }

/* ---------- Your site: theme picker ---------- */
.themes { gap: 14px; }
.theme-pick { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.theme-pick:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.theme-pick input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.theme-swatch { display: flex; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.theme-swatch span { width: 22px; height: 34px; }
.theme-text { line-height: 1.45; }
.theme-text strong { display: block; font-size: 16px; }
.theme-swatch[data-swatch="classic"] span:nth-child(1) { background: #F6F4FA; }
.theme-swatch[data-swatch="classic"] span:nth-child(2) { background: #24104A; }
.theme-swatch[data-swatch="classic"] span:nth-child(3) { background: #6A2BD9; }
.theme-swatch[data-swatch="mono"] span:nth-child(1) { background: #FFFFFF; }
.theme-swatch[data-swatch="mono"] span:nth-child(2) { background: #111111; }
.theme-swatch[data-swatch="mono"] span:nth-child(3) { background: #6B6B6B; }
.theme-swatch[data-swatch="crate"] span:nth-child(1) { background: #FFF8EC; }
.theme-swatch[data-swatch="crate"] span:nth-child(2) { background: #1B1F3B; }
.theme-swatch[data-swatch="crate"] span:nth-child(3) { background: #C2381F; }
.theme-swatch[data-swatch="liner-notes"] span:nth-child(1) { background: #F6F0E4; }
.theme-swatch[data-swatch="liner-notes"] span:nth-child(2) { background: #2B2019; }
.theme-swatch[data-swatch="liner-notes"] span:nth-child(3) { background: #A8431C; }

/* ---------- a member's links, in their profile banner ---------- */
.profile-links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.profile-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; transition: background .15s; }
.profile-links a:hover, .profile-links a:focus-visible { background: rgba(255, 255, 255, .3); }
.profile-links svg { width: 22px; height: 22px; }
.hero-text-center .profile-links { justify-content: center; }

/* ---------- Make it yours, the owner's guide ---------- */
.guide-count { margin: 0 0 20px; font-size: 18px; font-weight: 700; }
.guide { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 14px; }
.guide-item { display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.guide-item h2 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.guide-item p { margin: 0; font-size: 16px; line-height: 1.5; }
.guide-item .guide-now { margin-top: 8px; font-weight: 600; }
.guide-todo { border-color: var(--accent); }
.guide-item .btn { justify-self: start; }
.guide-tips { margin: 0; padding-left: 20px; display: grid; gap: 12px; font-size: 16px; line-height: 1.5; }
@media (min-width: 700px) { .guide-item { grid-template-columns: 1fr auto; align-items: center; gap: 24px; } }
.site-list-act { margin: 16px 0 0; }
.table-scroll { overflow-x: auto; }
.num-table { font-size: 16px; }
.num-table td { text-align: right; }
.num-table thead th:not(:first-child) { text-align: right; }
.num-table thead th { font-size: 15px; }

/* The numbers under a banner title: each number stays with its word, and on
   a phone the line wraps between them, without the dots, rather than
   leaving one at the end of a line. */
.site-totals, .net-totals { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; row-gap: 4px; }
.site-totals a, .net-totals a { white-space: nowrap; }
@media (max-width: 560px) {
  .site-totals, .net-totals { column-gap: 20px; }
  .site-totals .sep, .net-totals .sep { display: none; }
}

/* Logged in, or running a Record Tribe site: no Join prompts. */
.has-site [data-join] { display: none !important; }

/* An album's other Record Tribe collections, in its sidebar. */
.others-lede { margin: 0 0 14px; font-size: 16px; }
.others { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.others a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; font-weight: 600; }
.others a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.others img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; flex: none; }
.others img.joined-logo { width: auto; max-width: 72px; height: 28px; border-radius: 0; object-fit: contain; }
.others-all { margin: 16px 0 0; font-size: 16px; }
.meta-list .sellers { display: block; margin-top: 8px; }
.meta-list .sellers { scroll-margin-top: 120px; }
/* recordtribe.com: members selling an album, a list that opens under the banner button on a tap (Corey, November 17, 2026). */
.sellers-menu { position: relative; }
.sellers-menu summary { list-style: none; cursor: pointer; }
.sellers-menu summary::-webkit-details-marker { display: none; }
.sellers-menu summary .chev { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .15s ease; }
.sellers-menu[open] summary .chev { transform: rotate(-90deg); }
/* Opens inside the banner, which clips anything hanging below it. */
.sellers-menu ul { position: static; margin: 10px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); text-align: left; }
.sellers-menu li a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.sellers-menu li a:hover { background: var(--bg); text-decoration: underline; text-underline-offset: 4px; }
/* The banner's white text and shadow stop at the list, which is dark on light. */
.hero .sellers-menu ul, .hero .sellers-menu li a { text-shadow: none; }
.hero .sellers-menu li a, .hero .sellers-menu li a:hover { color: var(--ink); }
/* recordtribe.com home: From the blog, the 3 newest posts as cards (Corey, November 17, 2026). */
/* On a phone, a row to swipe through, the next card peeking in, so the
   section stays short (Corey, November 17, 2026); side by side from 700px. */
.blog-cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
.blog-cards::-webkit-scrollbar { display: none; }
.blog-cards > .blog-card { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 700px) {
  .blog-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; padding: 0; margin: 0; }
  .blog-cards > .blog-card { flex: none; }
}
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.blog-card:hover { text-decoration: none; }
.blog-card:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.blog-card-img { display: block; aspect-ratio: 16 / 9; }
.blog-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-card-img .blog-thumb-empty { border-radius: 0; }
.blog-card-text { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.blog-card-text strong { font-size: 18px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Collections like this one (Corey, November 17, 2026): on a member's home page, and the comparison page each opens. */
.kin { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.kin a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.kin a:hover .kin-name { text-decoration: underline; text-underline-offset: 4px; }
.kin img { width: 60px; height: 60px; flex: none; border-radius: 999px; object-fit: cover; }
.kin img.joined-logo { width: auto; max-width: 120px; height: 48px; border-radius: 0; object-fit: contain; }
.kin-text { display: grid; gap: 4px; min-width: 0; }
.kin-name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 20px; line-height: 1.2; }
.kin-meta { font-size: 16px; }
.compare section + section { margin-top: 48px; }
.compare-lede { margin: 0 0 18px; font-size: 16px; }
.kin-yours .sec-head { margin-top: 0; }
