/* KoalaQueue
   ----------
   Colours are the five from the brand sheet, sampled from it rather than
   guessed: Eucalyptus Green, Melodic Teal, Slate Charcoal, Eucalyptus Mint,
   Playlist Coral.

   Green is the brand and carries most of the interface. Coral is the one
   loud colour and is spent on a single thing — the play button, and the
   wordmark's second half. Teal is for the queue, which is a different idea
   from "this is on now". Keeping them apart is what stops the page looking
   like a palette rather than a product. */

:root {
  --green:    #32895C;
  --green-dk: #246845;
  --teal:     #008A94;
  /* The brand teal and green are surface colours. On white at label sizes
     they measure 4.15 and 4.31 — under AA — so text and button fills take
     these darker siblings instead of the swatch value. */
  --teal-ink: #00666E;
  --charcoal: #3B424D;
  --mint:     #E3F2EA;
  --coral:    #FE7067;
  --coral-dk: #E4564D;

  /* Neutrals are biased toward the eucalyptus, so they read as part of the
     palette rather than as a default grey dropped in beside it. */
  --bg:        #F4F9F5;
  --surface:   #FFFFFF;
  --surface-2: #EDF5EF;
  --line:      #D6E4DA;
  --fg:        var(--charcoal);
  --fg-dim:    #647067;
  --accent:    var(--green);
  --on-accent: #FFFFFF;

  --btn-bg:       var(--green-dk);
  --btn-bg-hover: #1B5034;
  /* The visible edge of a ghost button, dark enough to be an edge. */
  --btn-edge:     #6E7B72;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(59 66 77 / 6%), 0 14px 34px -22px rgb(59 66 77 / 32%);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --data: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg:        #0F1512;
    --surface:   #18201B;
    --surface-2: #212B24;
    --line:      #2D3A31;
    --fg:        #E7EFE9;
    --fg-dim:    #9BAAA0;
    --green:     #58B383;
    --green-dk:  #7FC9A1;
    --teal:      #3FB3BC;
    --teal-ink: var(--teal);
    --btn-bg: var(--green);
    --btn-bg-hover: var(--green-dk);
    --btn-edge: #7E8E84;
    --mint:      #1D2F26;
    --coral:     #FF8279;
    --coral-dk:  #FF9B93;
    --on-accent: #0B120E;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 14px 34px -22px rgb(0 0 0 / 70%);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg:        #0F1512;
  --surface:   #18201B;
  --surface-2: #212B24;
  --line:      #2D3A31;
  --fg:        #E7EFE9;
  --fg-dim:    #9BAAA0;
  --green:     #58B383;
  --green-dk:  #7FC9A1;
  --teal:      #3FB3BC;
    --teal-ink: var(--teal);
    --btn-bg: var(--green);
    --btn-bg-hover: var(--green-dk);
    --btn-edge: #7E8E84;
  --mint:      #1D2F26;
  --coral:     #FF8279;
  --coral-dk:  #FF9B93;
  --on-accent: #0B120E;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 14px 34px -22px rgb(0 0 0 / 70%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--fg);
}
p { margin: 0; }
a { color: var(--green-dk); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.shell { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--surface-2); }

.eyebrow {
  font-family: var(--data);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-dk); font-weight: 600;
  margin: 0 0 0.6rem;
}
.lede { margin-top: 1rem; max-width: 60ch; font-size: 1.06rem; color: var(--fg-dim); }
.num { font-family: var(--data); font-variant-numeric: tabular-nums; }
.card .num { font-size: 1.6rem; font-weight: 600; margin: 0 0 0.2rem; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__inner {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding-block: 0.8rem;
}
.lockup { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.lockup img.mark { width: 38px; height: 38px; }
.lockup picture { display: flex; }
.lockup img.word { height: 21px; width: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; font-size: 0.95rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--on-accent);
  text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:focus-visible { outline: 2px solid var(--green-dk); outline-offset: 3px; }
/* --line is a hairline between blocks and far too faint to be the edge of a
   button: against the page it measured 1.23:1, so the control read as text
   somebody forgot to style. A border has to clear 3:1 to be seen. */
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--btn-edge); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--green-dk); color: var(--green-dk); }
.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.86rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--btn-bg); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--green-dk); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero__facts {
  display: grid; gap: 1.2rem; margin-top: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
}
.hero__facts div { min-width: 0; }
.hero__facts dt { font-size: 0.82rem; color: var(--fg-dim); }
.hero__facts dd {
  margin: 0 0 0.1rem; font-family: var(--display); font-weight: 800;
  font-size: 1.45rem; letter-spacing: -0.02em; color: var(--fg);
}

/* ---------- the player ---------- */

/* The product's signature object, so it gets the one piece of real styling
   weight on the page: its own surface, its own shadow, and the only coral
   fill anywhere. */
/* Translucent, so the screened mark behind the hero is visible through it
   rather than being a logo nobody ever sees. color-mix keeps it tied to the
   surface token, so it still follows the theme. */
.player {
  /* See-through enough that the koala behind it shows: a light tint and a
     soft blur, rather than frosted glass that hides the mark. */
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  backdrop-filter: blur(3px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid; gap: 1rem;
  /* Narrower than the column it sits in: the mark needs somewhere to be. */
  max-width: 27rem; margin-left: auto;
}
/* Where color-mix is not understood the card is simply opaque, which is the
   old behaviour rather than a transparent card with unreadable text. */
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .player { background: var(--surface); }
}
.player__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.player__label {
  font-family: var(--data); font-size: 0.64rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-dim);
}
.player__demo {
  font-family: var(--data); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-ink); border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent);
  border-radius: 999px; padding: 0.15rem 0.55rem;
}

.now { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.now__art[data-cover='yes'] { padding: 0; overflow: hidden; }
.now__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.now__track a { color: inherit; text-decoration: none; }
.now__track a:hover { text-decoration: underline; }
.now__art {
  width: 56px; height: 56px; flex: none; border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--green), var(--teal));
  display: grid; place-items: center; color: #fff; font-family: var(--display);
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em;
}
.now__text { min-width: 0; }
/* Both are spans inside a span, so they need to be told to stack — without
   this the track title and the artist run together on one line. */
.now__track, .now__by {
  display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.now__track {
  font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--fg);
}
.now__by { font-size: 0.86rem; color: var(--fg-dim); }

/* The listen bar is the rule made visible: a curator is paid for a real
   listen, so the decision stays locked until the bar fills. */
.listen { display: grid; gap: 0.4rem; }
.listen__bar {
  height: 6px; border-radius: 99px; background: var(--surface-2);
  overflow: hidden; border: 1px solid var(--line);
}
.listen__fill {
  display: block; height: 100%; width: 0%;
  background: var(--green);
  transition: width 0.25s linear;
}
.listen--done .listen__fill { background: var(--teal); }
.listen__meta {
  display: flex; justify-content: space-between; gap: 0.75rem;
  font-family: var(--data); font-size: 0.72rem; color: var(--fg-dim);
}

.transport { display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.transport button {
  display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; padding: 0.35rem;
  color: var(--green-dk);
  border-radius: 50%;
}
.transport button:focus-visible { outline: 2px solid var(--green-dk); outline-offset: 2px; }
.transport button:disabled { color: var(--fg-dim); opacity: 0.5; cursor: not-allowed; }
.transport .play {
  width: 52px; height: 52px; padding: 0;
  background: var(--coral); color: #fff;
  box-shadow: 0 6px 16px -8px var(--coral);
}
.transport .play:hover { background: var(--coral-dk); }
.transport .play:focus-visible { outline-color: var(--coral-dk); }

.verdict { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.verdict .btn { flex: 1 1 auto; }
.verdict__note { font-size: 0.78rem; color: var(--fg-dim); flex: 1 0 100%; margin: 0; }

.queue { border-top: 1px solid var(--line); padding-top: 0.9rem; display: grid; gap: 0.55rem; }
.queue h4 {
  font-family: var(--data); font-weight: 600; font-size: 0.64rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim);
}
.queue ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.queue li {
  display: flex; align-items: baseline; gap: 0.6rem; font-size: 0.88rem; min-width: 0;
}
.queue li span:first-child { font-family: var(--data); font-size: 0.72rem; color: var(--teal); }
.queue li span:last-child { color: var(--fg-dim); margin-left: auto; white-space: nowrap; }
.queue li b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue__empty { font-size: 0.86rem; color: var(--fg-dim); }

/* ---------- steps, cards, pricing ---------- */

.cards {
  display: grid; gap: 1.1rem; margin-top: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.6rem; min-width: 0;
}
.card h3 { font-size: 1.1rem; }
.card p { font-size: 0.92rem; color: var(--fg-dim); }

.steps { counter-reset: step; }
.steps .card h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.steps .card { counter-increment: step; }
.steps .card h3::before {
  content: counter(step);
  font-family: var(--data); font-size: 0.72rem; font-weight: 600;
  color: var(--on-accent); background: var(--green);
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: inline-grid; place-items: center; flex: none;
  align-self: center;
}

.price { position: relative; }
.price--feature { border-color: var(--green); }
.price__tag {
  position: absolute; top: 0; right: 1.2rem; transform: translateY(-50%);
  font-family: var(--data); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-dk); background: var(--surface);
  border: 1px solid var(--green); border-radius: 999px; padding: 0.2rem 0.6rem;
}
.price__amount {
  font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.03em;
}
.price__amount small { font-size: 0.86rem; font-weight: 600; color: var(--fg-dim); letter-spacing: 0; }
.price ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.price li { position: relative; padding-left: 1.2rem; font-size: 0.92rem; color: var(--fg-dim); }
.price li::before {
  content: ''; position: absolute; pointer-events: none; left: 0; top: 0.62em;
  width: 7px; height: 1px; background: var(--green);
}

/* ---------- the promises ---------- */

.rules { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2.2rem; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.rules li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.rules li::before {
  content: ''; position: absolute; pointer-events: none; left: 0; top: 0.55em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--coral);
}
.rules__note { margin-top: 1.2rem; font-size: 0.84rem; color: var(--fg-dim); }

/* ---------- waitlist ---------- */

.signup { display: grid; gap: 0.75rem; max-width: 30rem; margin-top: 1.8rem; }
/* Every control in a form, not a list of the types somebody remembered.
   The per-type version missed text and email on the two dashboards, which
   is why those fields rendered as the browser's own thin boxes. */
.signup input, .signup select, .signup textarea,
.admin-send input, .admin-send select, .admin-send textarea {
  font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s var(--ease);
}
.signup textarea, .admin-send textarea { resize: vertical; min-height: 6rem; }
.signup input:focus, .signup select:focus, .signup textarea:focus,
.admin-send input:focus, .admin-send select:focus, .admin-send textarea:focus {
  border-color: var(--green); outline: none;
}
.signup input[type='checkbox'], .signup input[type='radio'] { width: auto; padding: 0; }
.signup .btn { justify-self: start; }
.signup__honey { position: absolute; left: -9999px; }
.form__status { min-height: 1.5rem; font-size: 0.92rem; margin: 0; }
.form__status[data-state='ok'] { color: var(--green-dk); }
.form__status[data-state='error'] { color: var(--coral-dk); }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3rem;
  background: var(--surface-2);
}
.site-foot__inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.site-foot p { font-size: 0.86rem; color: var(--fg-dim); }
.site-foot a { color: var(--fg-dim); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- install / notifications ---------- */

.app-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  margin-top: 1.6rem;
}
.app-bar[hidden] { display: none; }
.app-bar .form__status { flex: 1 0 100%; }

/* ---------- admin ---------- */

.admin-send label { font-size: 0.8rem; font-weight: 600; color: var(--fg); }
.field-hint { font-size: 0.8rem; color: var(--fg-dim); margin: -0.4rem 0 0; }
.admin-h { margin-top: 3rem; font-size: 1.3rem; }
.admin-rows { margin-top: 1.2rem; display: grid; gap: 0.5rem; }
.admin-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.7rem 0.9rem;
}
.admin-row__host { font-family: var(--data); font-size: 0.8rem; color: var(--teal-ink); }
.admin-row__agent { font-size: 0.86rem; color: var(--fg-dim); min-width: 0; flex: 1 1 14rem; overflow-wrap: anywhere; }
.admin-row__when { font-family: var(--data); font-size: 0.74rem; color: var(--fg-dim); margin-left: auto; }


/* ---------- the two sides: shared furniture ---------- */

.site-nav { display: flex; align-items: center; gap: 1rem; }
/* :not(.btn) matters more than it looks. Without it this rule outranks .btn
   on specificity and paints the button's label dim grey on its own dark
   green — which measured 1.29:1, or invisible. */
.site-nav a:not(.btn) { color: var(--fg-dim); font-size: 0.9rem; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--fg); text-decoration: underline; }

/* Sign in / create account. Two forms, one at a time, so neither page has a
   decision to make before it can show you anything. */
.tabs { display: flex; gap: 0.3rem; margin: 1.4rem 0 1rem; }
.tabs button {
  font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--fg-dim);
}
.tabs button[aria-selected='true'] { background: var(--surface); border-color: var(--green); color: var(--fg); }

.signup label { font-size: 0.8rem; font-weight: 600; color: var(--fg); }
/* The waitlist is one field and wants to stay narrow; a pitch form is a
   working surface and does not. */
.pitch, #apply { max-width: 44rem; }

/* ---------- rows: pitches, applications, the queue ---------- */

.rows { display: grid; gap: 0.7rem; margin-top: 1rem; }
.row {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  display: grid; gap: 0.5rem;
}
.row__head { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: baseline; }
.row__head b { font-size: 1.02rem; overflow-wrap: anywhere; }
.row__meta { margin: 0; font-size: 0.88rem; color: var(--fg-dim); }
.row__body:empty { display: none; }
.row .btn { justify-self: start; }

.badge {
  font-family: var(--data); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--fg-dim); margin-left: auto;
}
.badge[data-tone='good'] { color: var(--green-dk); border-color: var(--green); }
.badge[data-tone='warn'] { color: var(--coral-dk); border-color: var(--coral); }
.badge[data-tone='wait'] { color: var(--teal-ink); border-color: var(--teal); }

.review {
  margin: 0; padding: 0.8rem 1rem; border-left: 3px solid var(--teal);
  background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.review p { margin: 0; }
.review footer { margin-top: 0.4rem; font-size: 0.78rem; color: var(--fg-dim); font-family: var(--data); }

/* ---------- artist: balance, picker, ledger ---------- */

.balance { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.2rem 0 2rem; }
.balance__num { font-family: var(--data); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.balance__label { color: var(--fg-dim); }
.balance__link { margin-left: auto; font-size: 0.88rem; color: var(--teal-ink); }

.pitch__pair, .stats-grid { display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
.pitch__pair > span, .stats-grid > span { display: grid; gap: 0.35rem; }
.filters { display: grid; gap: 0.4rem 0.9rem; grid-template-columns: 1fr; align-items: center; margin-top: 0.6rem; }
@media (min-width: 40rem) {
  .pitch__pair { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: auto 1fr auto 1fr; }
}

.picker { display: grid; gap: 0.5rem; }
.pick {
  display: flex; align-items: center; gap: 0.8rem; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.75rem 0.9rem;
}
.pick:has(input:checked) { border-color: var(--green); background: var(--surface-2); }
.pick:has(input:focus-visible) { outline: 2px solid var(--green-dk); outline-offset: 2px; }
.pick__body { display: grid; gap: 0.15rem; min-width: 0; flex: 1; }
.pick__meta { font-size: 0.84rem; color: var(--fg-dim); }
.pick__cost { font-family: var(--data); font-size: 0.85rem; color: var(--teal-ink); white-space: nowrap; }
.tag {
  justify-self: start; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--fg-dim); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.45rem;
}

/* A playlist we can actually watch. Only the true case is ever drawn, so this
   reads as a bonus rather than marking most curators as deficient. */
.tag--watched { color: var(--green-dk); border-color: var(--green-dk); }

.pitch__total { font-size: 0.95rem; color: var(--fg-dim); margin: 0.4rem 0 0; }
.pitch__total[data-state='error'] { color: var(--coral-dk); }

.ledger { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.92rem; }
.ledger th, .ledger td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
.ledger th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-dim); }
.ledger .num { font-family: var(--data); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- curator: application and review ---------- */

.genres { border: 0; padding: 0; margin: 0.4rem 0 0; }
.genres legend { font-size: 0.8rem; font-weight: 600; padding: 0; }
.genres__grid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer;
  font-size: 0.88rem; padding: 0.4rem 0.75rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
button.chip { font: inherit; font-size: 0.88rem; color: var(--fg); }
.chip { transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease); }
.chip:hover { border-color: var(--green); }
/* Selected: filled green with a tick, so a picked genre cannot be mistaken
   for one that is not. The same look whether the pill is a checkbox (the
   curator application) or a button (the admin playlist forms). */
.chip:has(input:checked), .chip[data-on='yes'] {
  border-color: var(--green); background: var(--green); color: var(--on-accent); font-weight: 600;
}
.chip:has(input:checked)::before, .chip[data-on='yes']::before { content: '✓'; font-weight: 700; }
.chip input[type='checkbox'] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.checks li::before { content: '✓ '; color: var(--green-dk); font-weight: 700; }
.checks li[data-ok='false'] { color: var(--fg-dim); }
.checks li[data-ok='false']::before { content: '· '; color: var(--coral-dk); }

.review-card { display: grid; gap: 0.8rem; margin-top: 0.4rem; }
.embed { width: 100%; height: 152px; border: 0; border-radius: var(--radius-sm); }
.count { font-family: var(--data); font-size: 0.78rem; color: var(--fg-dim); }
.count[data-state='ok'] { color: var(--green-dk); }
.review-card .verdict { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* An approved curator still gets the application form, for the second
   playlist — just not as the loudest thing on the page. */
#panel { display: grid; }
.secondary { order: 2; margin-top: 3.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.secondary h1 { font-size: 1.3rem; }
.player-slot { display: grid; gap: 0.4rem; }

/* ---------- the application, one step at a time ---------- */

.wizard { max-width: 42rem; gap: 1rem; }

.stepbar {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem;
  list-style: none; margin: 0 0 0.6rem; padding: 0;
  font-size: 0.82rem; color: var(--fg-dim);
}
.stepbar li { display: flex; align-items: center; gap: 0.4rem; }
.stepbar li + li::before { content: ''; width: 1.1rem; height: 1px; background: var(--line); }
.stepbar__n {
  display: grid; place-items: center; width: 1.45rem; height: 1.45rem;
  border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--data); font-size: 0.72rem;
}
.stepbar li[data-state='now'] { color: var(--fg); font-weight: 600; }
.stepbar li[data-state='now'] .stepbar__n { border-color: var(--green); color: var(--green-dk); }
.stepbar li[data-state='done'] .stepbar__n { background: var(--green-dk); border-color: var(--green-dk); color: var(--on-accent); }

.step { display: grid; gap: 0.75rem; }
.step h3 { margin: 0; font-size: 1.25rem; }
/* The hint belongs to the question above it, not to the gap below. */
.step > .field-hint, .field > .field-hint { margin: -0.45rem 0 0; }

.field { display: grid; gap: 0.35rem; }
.field__row { display: flex; align-items: center; gap: 0.6rem; }
/* A follower count does not need the width of the page. */
.field__row input { flex: 0 1 14rem; min-width: 0; }
.suffix { font-size: 0.88rem; color: var(--fg-dim); white-space: nowrap; }
.field__state { margin: 0; font-size: 0.8rem; color: var(--fg-dim); min-height: 1.1rem; }
.field__state[data-state='ok'] { color: var(--green-dk); }
.field__state[data-state='error'] { color: var(--coral-dk); }

.wizard__nav { display: flex; gap: 0.5rem; margin-top: 0.4rem; }

.verified {
  display: grid; gap: 0.2rem;
  background: var(--surface-2); border: 1px solid var(--green);
  border-radius: var(--radius-sm); padding: 0.75rem 0.9rem;
}
.verified span { font-size: 0.86rem; color: var(--fg-dim); }

.chip:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }

/* A placement that has gone is the one line on the page somebody needs to
   see without looking for it. */
.row__meta[data-tone='warn'] { color: var(--coral-dk); }

/* ---------- the mark, in the background ---------- */

/* The logo, screened back far enough to be texture rather than decoration.
   Every one of these is a pseudo-element with pointer-events: none, so none
   of it can ever sit between somebody and a button — which is the usual way
   a background flourish turns into a bug report. */

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; pointer-events: none;
  right: -6%; top: 50%; translate: 0 -50%;
  width: min(50rem, 78vw); aspect-ratio: 1;
  background: url('/assets/brand/logomark.png?v=2') center / contain no-repeat;
  opacity: 0.12;
  z-index: 0;
}
.hero__grid { position: relative; z-index: 1; }

/* A screened tile across the tinted bands. Small, sparse and faint: at this
   size it reads as a watermark in paper rather than as a repeated picture. */
.section--tint { position: relative; overflow: hidden; }
.section--tint::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  /* Big and faint. At 7rem and 0.035 this read as wallpaper — you could
     count the koalas, which is the opposite of a watermark. */
  background: url('/assets/brand/logomark.png?v=2') 0 0 / 15rem 15rem repeat;
  opacity: 0.018;
}
.section--tint > .shell { position: relative; z-index: 1; }

/* The footer carries the mark itself rather than a wash of it — see
   .site-foot__brand img, which is the real thing at full strength. */

/* Dark mode is a quieter ground, so the same opacity reads louder. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .hero::before { opacity: 0.16; }
  :root:not([data-theme='light']) .section--tint::before { opacity: 0.024; }
}

/* The eyebrow carries a coral tick — the one loud colour, spent on the
   smallest thing, which is the way to use a loud colour. */
.eyebrow { position: relative; padding-left: 0.95rem; }
.eyebrow::before {
  content: '';
  position: absolute; pointer-events: none; left: 0; top: 0.42em;
  width: 0.45rem; height: 0.45rem; border-radius: 999px;
  background: var(--coral);
}

/* ---------- pages: shared furniture ---------- */

.narrow { max-width: 50rem; }
.narrow h2 { margin-top: 2.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.2rem; }

.ico { color: var(--green-dk); margin-bottom: 0.1rem; }
.card .ico { display: block; margin-bottom: 0.5rem; }

/* A disclosure list reads better than a wall of headings for questions —
   and <details> needs no script, so it works before any of ours runs. */
.faq { display: grid; gap: 0.5rem; margin-top: 1.2rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem;
}
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--fg-dim); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--green-dk); }
.faq p { margin: 0.6rem 0 0; color: var(--fg-dim); }

.compare { overflow-x: auto; margin-top: 1.4rem; }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 34rem; }
.compare th, .compare td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-dim); }
.compare thead th:last-child { color: var(--green-dk); }
.compare td:last-child { background: var(--surface-2); }
.compare tbody td:first-child { color: var(--fg-dim); }

.card.free { border-color: var(--green); }
.card.free .price__amount { color: var(--green-dk); }

.legal h2 { margin-top: 2.4rem; font-size: 1.15rem; }
.legal p, .legal li { color: var(--fg-dim); }
.legal ul { display: grid; gap: 0.5rem; padding-left: 1.1rem; }

/* ---------- the menu at phone widths ---------- */

.nav-toggle { display: none; }
.site-head__out { margin-left: auto; }
@media (max-width: 52rem) { .site-head__out { margin-left: 0; order: 2; } }
.nav-signin { font-weight: 600; }

@media (max-width: 52rem) {
  .nav-toggle {
    display: grid; gap: 4px; place-content: center;
    width: 2.6rem; height: 2.6rem; padding: 0 0.55rem;
    background: transparent; border: 1px solid var(--btn-edge); border-radius: var(--radius-sm);
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 1.1rem; height: 2px; background: var(--fg); border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.8rem max(0.9rem, env(safe-area-inset-left)) 1rem;
    box-shadow: var(--shadow);
  }
  body[data-nav='open'] .site-nav { display: flex; }
  .site-nav a { padding: 0.6rem 0.2rem; }
  .site-nav .btn { justify-content: center; margin-top: 0.4rem; }
  .site-head__inner { position: relative; flex-wrap: wrap; }
}

/* ---------- arriving ---------- */

[data-reveal='out'] {
  opacity: 0;
  translate: 0 14px;
}
[data-reveal='in'] {
  opacity: 1;
  translate: none;
  transition: opacity 0.5s var(--ease), translate 0.5s var(--ease);
}
/* Belt and braces over the check in motion.js: if the script ever reveals
   something while the person has asked for less motion, it still does not
   move. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
}
/* Printing, and anything else that renders the whole document at once, never
   scrolls — so the observer never fires and half the page would come out
   blank. */
@media print {
  [data-reveal] { opacity: 1 !important; translate: none !important; }
}

.card { transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); }
  .btn { transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.12s var(--ease); }
  .btn:active { transform: translateY(1px); }
}

/* ---------- the bigger footer ---------- */

.site-foot__grid {
  display: grid; gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.8rem;
}
@media (min-width: 46rem) {
  .site-foot__grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
}
.site-foot__brand img { width: 40px; height: 40px; }
.site-foot__brand p { margin: 0.5rem 0 0; color: var(--fg-dim); font-size: 0.92rem; max-width: 22rem; }
.site-foot__mail a { color: var(--teal-ink); }
.site-foot h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); margin: 0 0 0.6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-foot a { color: var(--fg); text-decoration: none; font-size: 0.92rem; }
.site-foot a:hover { text-decoration: underline; }
.site-foot__base {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center;
  border-top: 1px solid var(--line); padding-top: 1.2rem;
  font-size: 0.85rem; color: var(--fg-dim);
}
.site-foot__base p { margin: 0; }
.site-foot__social { margin-left: auto !important; display: flex; gap: 0.9rem; }

/* ---------- about you, and the koala ---------- */

.about { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; margin-top: 1.2rem; }
@media (min-width: 38rem) { .about { grid-template-columns: auto 1fr; } }
.about__koala {
  width: 92px; height: 92px; border-radius: 999px;
  border: 2px solid var(--green); background: var(--surface-2);
}
.about__form { margin-top: 0; max-width: 34rem; }
.about__form label { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }

.pick__koala { width: 38px; height: 38px; border-radius: 999px; flex: none; }
.pick__bio {
  font-size: 0.84rem; color: var(--fg-dim); margin-top: 0.15rem;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* How fast this curator answers. Sits under the follower line because it is
   the second thing worth knowing and the first thing nobody else shows. */
.pick__pace { font-size: 0.78rem; color: var(--green-dk); margin-top: 0.1rem; }

/* Earned by being early, and permanent. Deliberately quiet — a badge that
   shouts competes with the playlist name it is attached to.

   Everything it needs is on the modifier. A bare `.badge` block here would
   be a second rule of the same specificity further down the file, which
   silently wins over the status badges in the admin panel — the hazard of
   reusing a name that already means something. */
.badge--founding {
  display: inline-block; margin-left: 0.45rem; vertical-align: middle;
  font-family: var(--data);
  font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.1rem 0.4rem; border-radius: 999px;
  color: var(--green-dk);
  border: 1px solid var(--green-dk);
  background: color-mix(in srgb, var(--green) 14%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, transparent)) {
  .badge--founding { background: transparent; }
}

/* ---------- how fast you answer ---------- */

.paces { margin-top: 1.6rem; }
.paces__h { margin: 0 0 0.2rem; font-size: 1rem; }
.paces__row {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.65rem 0; border-top: 1px solid var(--line);
}
.paces__name { flex: 1 1 12rem; min-width: 0; font-weight: 600; }
.paces__pick {
  font: inherit; font-size: 0.88rem; padding: 0.35rem 0.5rem;
  border: 1px solid var(--btn-edge); border-radius: 8px;
  background: var(--surface); color: var(--fg);
}
.paces__note { font-size: 0.78rem; color: var(--fg-dim); min-width: 4rem; }
.paces__note[data-state='error'] { color: var(--coral-dk); }

/* The curator's own numbers, under the money. */
.stats__h { margin: 1.6rem 0 0.2rem; font-size: 1rem; }

/* ---------- how it landed ---------- */

.moods { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mood {
  display: flex; align-items: center; gap: 0.45rem; cursor: pointer;
  font: inherit; font-size: 0.86rem; color: var(--fg);
  background: var(--surface); border: 1px solid var(--btn-edge);
  border-radius: 999px; padding: 0.4rem 0.8rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.mood:hover { border-color: var(--green); }
.mood[data-on='true'] { border-color: var(--green-dk); background: var(--surface-2); font-weight: 600; }
.mood__face { font-size: 1.1rem; line-height: 1; }
@media (max-width: 30rem) { .mood__label { display: none; } .mood { padding: 0.45rem 0.7rem; } }

.review__mood { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.4rem !important; }
.review__face { font-size: 1.15rem; line-height: 1; }
.review footer { display: flex; align-items: center; gap: 0.45rem; }
.review__koala { width: 22px; height: 22px; border-radius: 999px; flex: none; }

/* ---------- volume ---------- */

.volume { display: flex; align-items: center; gap: 0.6rem; }
.volume__mute {
  display: grid; place-items: center; flex: none;
  width: 2rem; height: 2rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg-dim); cursor: pointer;
}
.volume__mute:hover { background: var(--surface-2); color: var(--fg); }
.volume__mute[aria-pressed='true'] { color: var(--coral-dk); }
.volume__num {
  font-family: var(--data); font-size: 0.72rem; color: var(--fg-dim);
  min-width: 2.1rem; text-align: right;
}

/* Styled by hand because the native track is a different shape in every
   browser, and a volume slider that looks like a form control in the middle
   of a player looks like a mistake. */
.volume__range {
  flex: 1; min-width: 0; height: 1.1rem;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.volume__range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px; background: var(--line);
}
.volume__range::-moz-range-track { height: 4px; border-radius: 999px; background: var(--line); }
.volume__range::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--green); }
.volume__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 13px; height: 13px; margin-top: -4.5px;
  border-radius: 999px; background: var(--green-dk); border: 0;
}
.volume__range::-moz-range-thumb {
  width: 13px; height: 13px; border: 0; border-radius: 999px; background: var(--green-dk);
}
.volume__range:focus-visible { outline: 2px solid var(--green-dk); outline-offset: 3px; border-radius: 999px; }

/* Spotify's frame, when a pitch in the queue is a real record. It carries
   its own chrome, so all we own is the space around it and the line that
   explains why there are two sets of controls. */
.stream { margin-top: 0.9rem; }
.stream iframe { display: block; border-radius: 12px; }
.stream__note {
  margin: 0.5rem 0 0; font-size: 0.72rem; line-height: 1.5; color: var(--fg-dim);
}

/* ---------- the public curator pages ---------- */

.cbrowse { display: grid; gap: 0.6rem; margin-top: 1.6rem; }
.cbrowse__row {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cbrowse__row:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 10px 24px -18px rgb(0 0 0 / 45%);
}
.cbrowse__row img { width: 44px; height: 44px; border-radius: 999px; }
.cbrowse__who { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.cbrowse__who > span { font-size: 0.82rem; color: var(--fg-dim); }
.cbrowse__pace { color: var(--green-dk); }
.cbrowse__cost { font-family: var(--data); font-size: 0.78rem; color: var(--fg-dim); white-space: nowrap; }

.cprofile { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.cprofile__koala { width: 84px; height: 84px; border-radius: 999px; flex: none; }
.cprofile h1 { margin: 0.1rem 0; }
.cprofile__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.3rem 0 0; }

.cstats {
  display: grid; gap: 0.7rem; margin: 1.8rem 0;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}
.cstat {
  padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.cstat b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.cstat span { display: block; margin-top: 0.2rem; font-size: 0.76rem; color: var(--fg-dim); }

.chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip--static { cursor: default; }

/* The mark doing work rather than sitting in a corner: large, faint, behind
   the name, and out of the way of the text at every width. */
.cprofile { position: relative; overflow: hidden; }
.cprofile__wash {
  position: absolute; right: -1rem; top: 50%; translate: 0 -50%;
  width: 150px; height: 75px; opacity: 0.16; color: var(--green);
  pointer-events: none; z-index: 0;
}
.cprofile > *:not(.cprofile__wash) { position: relative; z-index: 1; }
@media (max-width: 40rem) { .cprofile__wash { width: 110px; height: 55px; right: -1.5rem; opacity: 0.12; } }

/* A eucalyptus sprig between sections, in place of a rule. Drawn rather than
   an image so it inherits the text colour and costs no request. */
.leafrule {
  display: flex; align-items: center; gap: 0.7rem; margin: 2.4rem 0;
  color: var(--green-dk); opacity: 0.5;
}
.leafrule::before,
.leafrule::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.leafrule svg { flex: none; }

/* The count-up lands on the real number; this only stops the width jumping
   around as the digits change under it. */
.cstat b[data-count] { font-variant-numeric: tabular-nums; }

/* A hint that follows a paragraph is a separate thought; without this it
   reads as the last line of the one above, in a smaller font. */
.shell.narrow > p + .field-hint { margin-top: 1rem; }

.leafrule svg { width: 56px; height: 28px; }

/* A reset link, made to be copied rather than read. */
.reset-link {
  width: 100%; font-family: var(--data); font-size: 0.76rem;
  padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface-2); color: var(--fg);
}

/* ---------- writing ---------- */

.postlist { display: grid; gap: 0.7rem; margin: 1.6rem 0; }
.postcard {
  display: grid; gap: 0.25rem; padding: 1rem 1.1rem; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.postcard:hover {
  transform: translateY(-2px); border-color: var(--green);
  box-shadow: 0 10px 24px -18px rgb(0 0 0 / 45%);
}
.postcard time { font-family: var(--data); font-size: 0.7rem; color: var(--fg-dim); }
.postcard b { font-family: var(--display); font-size: 1.12rem; line-height: 1.25; }
.postcard span { font-size: 0.88rem; color: var(--fg-dim); }

.post__date { font-family: var(--data); font-size: 0.76rem; color: var(--fg-dim); margin: 0.45rem 0 1.8rem; }
/* Measure, not width: a line of prose past about 70 characters is one the
   eye loses its place on when it wraps. */
.post { max-width: 36rem; }
.post p { margin: 0 0 1.1rem; line-height: 1.7; }
.post h2 { margin: 2.2rem 0 0.7rem; font-size: 1.3rem; }
.post b { color: var(--fg); }

/* ---------- merch ---------- */

.merch__item img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm); background: var(--line);
}
.merch__item .price__amount { margin: 0; font-size: 1.8rem; color: var(--fg); }
.merch__pick { display: grid; grid-template-columns: 1fr 5.5rem; gap: 0.75rem; }
.merch__pick label { display: grid; gap: 0.3rem; font-size: 0.86rem; font-weight: 600; }
.merch__pick select, .merch__pick input {
  font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.7rem 0.8rem; width: 100%;
}
.merch__pick select:focus, .merch__pick input:focus { border-color: var(--green); outline: none; }
.merch__item .btn { justify-self: start; }

/* ---------- admin dashboard ---------- */

.admin-stats { margin-top: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.admin-stat { text-decoration: none; color: inherit; padding: 1rem 1.1rem; gap: 0.2rem; }
.admin-stat:hover { border-color: var(--green); }
.admin-stat .price__amount { margin: 0; font-size: 2rem; color: var(--fg); }
.admin-stat p { margin: 0; }

.admin-jump {
  position: sticky; top: 0; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.6rem 0 0; padding: 0.6rem 0;
  background: var(--bg);
}
.admin-jump a {
  font-size: 0.86rem; font-weight: 600; text-decoration: none; color: var(--fg-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem;
}
.admin-jump a:hover { color: var(--fg); border-color: var(--green); }

.admin-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.6rem); margin-top: 1.2rem; scroll-margin-top: 4rem;
}
.admin-block .admin-h { margin-top: 0; display: flex; align-items: center; gap: 0.6rem; }
.admin-count:empty { display: none; }
.admin-count {
  font-family: var(--data); font-size: 0.8rem; font-weight: 600;
  color: var(--on-accent); background: var(--green); border-radius: 999px; padding: 0.1rem 0.55rem;
}
.admin-note { margin: 0.35rem 0 0; font-size: 0.92rem; color: var(--fg-dim); }
.admin-empty { margin: 1rem 0 0; font-size: 0.92rem; color: var(--fg-dim); }

.admin-fold { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }
.admin-fold > summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.admin-fold > summary:hover { color: var(--green-dk); }
.admin-fold[open] > summary { margin-bottom: 0.4rem; }
.admin-fold .signup { margin-top: 0.8rem; }

.admin-tools { margin-top: 0.6rem; }

/* ---------- charts ---------- */

.ch-flag { display: inline-block; font-size: 0.86rem; background: var(--surface); border: 1px dashed var(--coral); border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; margin: 0 0 1.2rem; }
.ch-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.ch-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.ch-seg a { font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--fg-dim); padding: 0.4rem 0.9rem; border-radius: 999px; }
.ch-seg a[aria-current] { background: var(--green); color: var(--on-accent); }
.ch-genres { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.ch-genres a { font-size: 0.84rem; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg-dim); border-radius: 999px; padding: 0.35rem 0.8rem; }
.ch-genres a[aria-current] { border-color: var(--green); color: var(--fg); font-weight: 600; }

.ch-boards { display: grid; gap: 1.2rem; margin-top: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.ch-board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; min-width: 0; }
.ch-board h2 { font-size: 1.15rem; margin: 0; }
.ch-sub { margin: 0.3rem 0 0; font-size: 0.86rem; color: var(--fg-dim); }
.ch-ranks { list-style: none; margin: 1rem 0 0; padding: 0; }
.ch-ranks li { display: grid; grid-template-columns: 2rem 2.5rem minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.ch-rk { font-family: var(--display); font-weight: 800; font-size: 1.25rem; text-align: center; }
.ch-ranks li:first-child .ch-rk { color: var(--green-dk); }
.ch-art { width: 2.5rem; height: 2.5rem; border-radius: 8px; display: grid; place-items: center; font-family: var(--data); font-size: 0.7rem; font-weight: 600; color: #fff; object-fit: cover; }
.ch-who { min-width: 0; }
.ch-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-who b a { color: inherit; text-decoration: none; }
.ch-who b a:hover { text-decoration: underline; }
.ch-who > span { font-size: 0.84rem; color: var(--fg-dim); }
.ch-num { text-align: right; font-family: var(--data); font-size: 0.78rem; color: var(--fg-dim); }
.ch-num b { display: block; font-size: 1rem; font-family: var(--display); color: var(--fg); }
.ch-mv { font-family: var(--data); font-size: 0.7rem; margin-left: 0.4rem; color: var(--fg-dim); }
.ch-mv--up { color: var(--green-dk); }
.ch-mv--down { color: var(--coral-dk); }
.ch-mv--new { color: var(--teal-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.ch-ours { font-family: var(--data); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--green); color: var(--green-dk); border-radius: 999px; padding: 0.05rem 0.4rem; margin-left: 0.4rem; vertical-align: 1px; }
.ch-empty { margin: 1rem 0 0; font-size: 0.92rem; color: var(--fg-dim); }
.ch-how { margin: 1rem 0 0; font-size: 0.8rem; color: var(--fg-dim); border-top: 1px dashed var(--line); padding-top: 0.8rem; }

.ch-locked { position: relative; filter: blur(3px); opacity: 0.6; pointer-events: none; user-select: none; }
.ch-ghost { display: grid; grid-template-columns: 2rem 2.5rem 1fr 4rem; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.ch-ghost span { height: 0.9rem; border-radius: 6px; background: var(--line); }
.ch-ghost span:nth-child(2) { height: 2.5rem; border-radius: 8px; }

.ch-cta { margin-top: 1.6rem; text-align: center; background: var(--surface); border: 1px solid var(--green); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); }
.ch-cta h2 { margin: 0; }
.ch-cta p { max-width: 36rem; margin: 0.6rem auto 0; color: var(--fg-dim); }
.ch-cta .cta-row { justify-content: center; }

.ch-leaders { display: grid; gap: 0.8rem; margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.ch-leader { display: grid; gap: 0.5rem; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.ch-leader:hover { border-color: var(--green); }
.ch-leader .eyebrow { margin: 0; }
.ch-leader small { display: block; font-size: 0.78rem; color: var(--fg-dim); }
.ch-leader b { font-size: 0.92rem; }

.charts-opt { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.2rem; font-size: 0.92rem; }
.charts-opt input { margin-top: 0.25rem; }
.charts-opt small { display: block; color: var(--fg-dim); font-size: 0.82rem; margin-top: 0.15rem; }

/* ---------- coming soon ---------- */

.ch-soon {
  display: flex; align-items: center; gap: 0.9rem; overflow: hidden;
  background: var(--surface); border: 1px solid var(--green); border-radius: 999px;
  padding: 0.45rem 0.6rem; margin: 0 0 1.4rem;
}
.ch-soon--compact { margin: 1rem 0 0; border-radius: var(--radius-sm); }
.ch-soon__koala { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; animation: ch-bob 2.4s ease-in-out infinite; }
.ch-soon--compact .ch-soon__koala { width: 2.1rem; height: 2.1rem; }
.ch-soon__track { overflow: hidden; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ch-soon__run { display: flex; width: max-content; animation: ch-run 22s linear infinite; }
.ch-soon__run span { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--fg); white-space: nowrap; padding-right: 0.6rem; }
.ch-soon--compact .ch-soon__run span { font-size: 0.98rem; }
.ch-soon__run i { font-style: normal; color: var(--coral); margin: 0 0.5rem; }
@keyframes ch-run { to { transform: translateX(-50%); } }
@keyframes ch-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) {
  .ch-soon__run, .ch-soon__koala { animation: none; }
}

/* the landing-page preview */
.ch-preview { display: grid; gap: 1.2rem; margin-top: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); align-items: start; }
.ch-preview .ch-board { margin: 0; }

#charts .ch-soon { margin-top: 1.4rem; }

/* ---------- the inbox ---------- */

.inbox { margin: 0.6rem 0 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1.1rem; }
.inbox > summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 0.6rem; }
.inbox__count:empty { display: none; }
.inbox__count { font-family: var(--data); font-size: 0.74rem; color: var(--on-accent); background: var(--coral); border-radius: 999px; padding: 0.1rem 0.55rem; }
.inbox__list { display: grid; gap: 0.6rem; margin-top: 0.8rem; }
.inbox__item { border-top: 1px solid var(--line); padding-top: 0.7rem; }
.inbox__item--new .inbox__head b::before { content: ''; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--coral); margin-right: 0.45rem; vertical-align: 1px; }
.inbox__head { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; align-items: baseline; justify-content: space-between; }
.inbox__when { font-family: var(--data); font-size: 0.74rem; color: var(--fg-dim); }
.inbox__body { margin: 0.35rem 0 0; font-size: 0.94rem; white-space: pre-line; color: var(--fg); }
.inbox__link { display: inline-block; margin-top: 0.35rem; font-size: 0.88rem; font-weight: 600; }
.inbox__empty { margin: 0; font-size: 0.92rem; color: var(--fg-dim); }

/* ---------- admin: accounts and messages ---------- */

.ledger td.act { text-align: right; white-space: nowrap; }
.ledger tr.edit-row td { background: var(--surface-2); }
.ledger tr.edit-row form { max-width: 36rem; margin: 0.4rem 0; }
.sent-list { display: grid; gap: 0.6rem; margin-top: 1rem; }

/* ---------- join popup ---------- */

.join {
  width: min(26rem, calc(100% - 2rem)); padding: 1.8rem 1.6rem 1.5rem; text-align: center;
  background: var(--surface); color: var(--fg); border: 1px solid var(--green); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.join[open] { animation: join-in 0.35s var(--ease); }
.join::backdrop { background: rgba(10, 20, 14, 0.55); backdrop-filter: blur(2px); }
.join__close {
  position: absolute; top: 0.6rem; right: 0.7rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 0; background: transparent; color: var(--fg-dim); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.join__close:hover { background: var(--surface-2); color: var(--fg); }
.join__koala { width: 5.5rem; height: 5.5rem; border-radius: 50%; margin: 0 auto 0.6rem; display: block; animation: ch-bob 2.4s ease-in-out infinite; }
.join .eyebrow { justify-content: center; }
.join h2 { margin: 0.2rem 0 0; font-size: 1.7rem; }
.join__lede { margin: 0.6rem 0 0; color: var(--fg-dim); }
.join__form { margin: 1.1rem auto 0; max-width: none; text-align: left; }
.join__form .btn { justify-self: stretch; }
.join__fine { margin: 0; font-size: 0.78rem; color: var(--fg-dim); text-align: center; }
.join__next { margin-top: 1rem; }
.join__next .cta-row { justify-content: center; flex-wrap: wrap; }
@keyframes join-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .join[open], .join__koala { animation: none; } }
.join .eyebrow { display: inline-block; }
.join__form .form__status:empty { display: none; }

/* ---------- playlist covers ---------- */

.pl-cover { width: 1.5rem; height: 1.5rem; border-radius: 4px; object-fit: cover; vertical-align: -0.35rem; margin-right: 0.45rem; display: inline-block; box-shadow: 0 0 0 1px var(--line); }
.pl-cover--big { width: 3.2rem; height: 3.2rem; border-radius: 8px; vertical-align: middle; margin-right: 0.7rem; }

/* ---------- sign in: pick a side ---------- */

.side-pick { margin-top: 1.4rem; }
.side-card { gap: 0.7rem; }
.side-card .btn { justify-self: start; margin-top: auto; }
.side-card[data-has='true'] { border-color: var(--green); }

/* ---------- dashboards ---------- */

.dash-stats { margin-top: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.dash-stats .admin-stat .price__amount { font-size: 1.9rem; }
#panel > .admin-block .admin-h:first-child { margin-top: 0; }

/* Koala's pouch */
.pouch { border-color: var(--green); background: linear-gradient(180deg, var(--surface-2), var(--surface) 7rem); }
.pouch__head { display: flex; gap: 1rem; align-items: center; }
.pouch__koala { width: 4.2rem; height: 4.2rem; border-radius: 50%; flex: none; animation: ch-bob 2.6s ease-in-out infinite; }
.pouch__head .admin-h { margin: 0; display: flex; align-items: center; gap: 0.6rem; }
.pouch__total { margin: 1rem 0 0; font-size: 0.92rem; color: var(--fg-dim); display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
@media (prefers-reduced-motion: reduce) { .pouch__koala { animation: none; } }

/* the Park toggle on a curator card */
.pick__park {
  order: 9; justify-self: start; margin-top: 0.35rem; font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg-dim); border-radius: 999px; padding: 0.2rem 0.7rem;
}
.pick__park:hover { border-color: var(--green); color: var(--fg); }
.pick__park.is-on { background: var(--green); border-color: var(--green); color: var(--on-accent); }

/* Artist | Curator — swap sides from the top of either dashboard. */
.side-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.7rem; margin-bottom: 1rem; }
.side-switch__label { font-size: 0.82rem; font-weight: 600; color: var(--fg-dim); }
.side-switch__pill {
  display: inline-flex; padding: 3px; gap: 3px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
}
.side-switch__opt {
  font: inherit; font-size: 0.9rem; font-weight: 700; line-height: 1;
  padding: 0.5rem 1rem; border-radius: 999px; border: 0; background: none;
  color: var(--fg-dim); text-decoration: none; cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.side-switch__opt:hover { color: var(--fg); background: var(--surface); }
.side-switch__opt.is-on { background: var(--btn-bg); color: var(--on-accent); cursor: default; }
.side-switch__opt--add { color: var(--accent); }
.side-switch__opt:disabled { opacity: 0.6; cursor: progress; }
.side-switch__status { font-size: 0.85rem; color: var(--fg-dim); }

/* Credit pitch | Free pitch, above the curator list. */
.pitch-mode {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0.4rem 0 0.9rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.pitch-mode__opt {
  display: grid; gap: 0.1rem; text-align: left; font: inherit; cursor: pointer;
  padding: 0.6rem 0.85rem; border: 0; border-radius: var(--radius-sm); background: none; color: var(--fg-dim);
}
.pitch-mode__opt b { font-size: 0.95rem; color: var(--fg); }
.pitch-mode__opt small { font-size: 0.8rem; }
.pitch-mode__opt:hover { background: var(--surface); }
.pitch-mode__opt.is-on { background: var(--btn-bg); color: rgb(255 255 255 / 85%); }
.pitch-mode__opt.is-on b { color: var(--on-accent); }
.pick.is-shut { opacity: 0.5; cursor: not-allowed; }
.tag--free { background: var(--mint); color: var(--green-dk); }
.paces__free { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.free-tier { max-width: 26rem; margin-bottom: 1.2rem; }

/* Continue with Google, under the sign-in and sign-up forms. */
.oauth { margin: 1rem 0 1.2rem; display: grid; gap: 0.9rem; }
.oauth__or { display: flex; align-items: center; gap: 0.75rem; margin: 0; font-size: 0.85rem; color: var(--fg-dim); }
.oauth__or::before, .oauth__or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.oauth__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.65rem; width: 100%;
  background: var(--surface); color: var(--fg); border: 1.5px solid var(--green); text-decoration: none;
}
.oauth__btn:hover { background: var(--surface-2); color: var(--fg); }

/* The curator's gum tree: their bio, styled as the koala's home. */
.nest { background: linear-gradient(180deg, var(--mint), var(--surface) 55%); }
.nest__head { display: flex; gap: 0.9rem; align-items: center; }
.nest__head .admin-h { margin: 0; }
.nest__sub { margin: 0.15rem 0 0; color: var(--fg-dim); }
.nest__tile {
  flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.9rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--green); font-size: 1.3rem;
}
.nest__tile--gold { background: #FFF4D6; border-color: #F2DFA8; }
.nest__scene { position: relative; height: 150px; margin: 0.8rem 0 0.4rem; }
.nest__branch { position: absolute; inset: 0; width: 100%; height: 100%; }
.nest__koala {
  position: absolute; left: 50%; top: -6px; width: 112px; height: 112px; transform: translateX(-30%);
  border-radius: 50%; background: var(--surface); border: 3px solid #8A6A4F; box-shadow: var(--shadow);
  animation: nest-sway 5s ease-in-out infinite; transform-origin: 50% 100%;
}
@keyframes nest-sway { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
@media (prefers-reduced-motion: reduce) { .nest__koala { animation: none; } }
.nest__tip {
  display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.1rem; margin-top: 0.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.nest__tip p { margin: 0.25rem 0 0; color: var(--fg-dim); }
.nest__form { max-width: none; margin-top: 1.2rem; }
.nest__form label { display: flex; gap: 0.4rem; align-items: baseline; }
.nest__form label .count { margin-left: auto; }
.nest__opt { font-weight: 400; color: var(--fg-dim); }
.nest__form textarea { border-radius: var(--radius); }
.nest__preview { margin: 0.4rem 0 1rem; }
.nest__label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 0.4rem; }
.nest__card {
  display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.85rem 1rem;
  background: var(--surface); border: 1px dashed var(--green); border-radius: var(--radius);
}
.nest__card img { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.nest__bio { margin: 0.2rem 0 0; white-space: pre-line; }
.nest__bio[data-empty='true'] { color: var(--fg-dim); font-style: italic; }
.nest__next {
  margin-top: 1.2rem; padding: 1rem 1.1rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.nest__next ol { list-style: none; margin: 0.7rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.nest__next li { display: flex; gap: 0.7rem; align-items: center; color: var(--fg-dim); }
.nest__next li.is-done { color: var(--fg); }
.nest__num {
  flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 1.5px solid var(--green); color: var(--green-dk); font-weight: 700; font-size: 0.85rem;
}
.nest__next li.is-done .nest__num { background: var(--green); color: var(--on-accent); }

/* Curator analytics. */
.stat-tiles { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.stat-tile .num { margin: 0; }
.stat-tile h3 { margin: 0.2rem 0 0; font-size: 0.95rem; }
.stat-tile p:last-child:not(.num) { margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--fg-dim); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.5rem; align-items: end; height: 170px; padding: 0.5rem 0; }
.bars__col { display: grid; grid-template-rows: auto 1fr auto; align-items: end; justify-items: center; height: 100%; gap: 0.25rem; }
.bars__bar { width: 100%; max-width: 44px; min-height: 3px; border-radius: 6px 6px 2px 2px; background: var(--green); align-self: end; }
.bars__num { font-size: 0.8rem; font-weight: 700; }
.bars__label { font-size: 0.72rem; color: var(--fg-dim); white-space: nowrap; }
.moodbars { display: grid; gap: 0.45rem; }
.moodbars__row { display: grid; grid-template-columns: minmax(8rem, 10rem) 1fr 2.5rem; gap: 0.6rem; align-items: center; font-size: 0.9rem; }
.moodbars__track { height: 0.7rem; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.moodbars__fill { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.moodbars__num { text-align: right; font-weight: 700; }
/* Per-playlist genres. */
.paces__genres { flex: 1 1 100%; order: 9; }
.paces__genres summary { cursor: pointer; font-size: 0.88rem; color: var(--fg-dim); }
.chips--sm .chip { font-size: 0.82rem; padding: 0.25rem 0.65rem; }
.chip[aria-pressed='true'] { background: var(--green); border-color: var(--green); color: var(--on-accent); }
.chip[aria-pressed='true']::before { content: '✓ '; font-weight: 700; }

/* Submission status: Sent → Opened → Reviewed, on each of an artist's pitches. */
.track-status { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0.6rem 0 0.2rem; padding: 0; }
.track-status li { position: relative; display: grid; justify-items: center; text-align: center; gap: 0.25rem; color: var(--fg-dim); font-size: 0.82rem; }
.track-status li::before {
  content: ''; position: absolute; top: 0.8rem; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; pointer-events: none;
}
.track-status li:first-child::before { display: none; }
.track-status li.is-done::before { background: var(--green); }
.track-status__dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line); font-weight: 700; font-size: 0.75rem;
}
.track-status li.is-done .track-status__dot { background: var(--green); border-color: var(--green); color: var(--on-accent); }
.track-status li.is-now .track-status__dot { border-color: var(--green); color: var(--green-dk); animation: status-pulse 1.8s ease-in-out infinite; }
.track-status li.is-off .track-status__dot { background: var(--fg-dim); border-color: var(--fg-dim); }
.track-status li.is-done { color: var(--fg); }
.track-status__label { display: grid; }
.track-status__label small { color: var(--fg-dim); font-size: 0.72rem; }
@keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(50 137 92 / 35%); } 50% { box-shadow: 0 0 0 6px rgb(50 137 92 / 0%); } }
@media (prefers-reduced-motion: reduce) { .track-status li.is-now .track-status__dot { animation: none; } }
.paces__genres .verdict { justify-content: flex-start; align-items: center; } .paces__genres .verdict .btn { flex: none; width: auto; }

/* Create your account: two radio cards and a Continue button. */
.join-pick {
  margin-top: 2.4rem; padding: clamp(1.4rem, 4vw, 2.4rem); text-align: center; scroll-margin-top: 5rem;
  background: linear-gradient(180deg, var(--mint), var(--surface)); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.6);
  box-shadow: var(--shadow);
}
.join-pick__koala { width: 64px; height: 64px; margin: 0 auto 0.4rem; display: block; }
.join-pick h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.join-pick__sub { margin: 0.4rem 0 1.6rem; color: var(--fg-dim); }
.join-pick__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1rem; text-align: left; }
.join-card {
  --tone: var(--green); --tone-soft: var(--mint);
  position: relative; display: grid; align-content: start; gap: 0.5rem; padding: 2rem 1.3rem 1.3rem; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.join-card--curator { --tone: var(--coral-dk); --tone-soft: #FFE9E6; }
.join-card:hover { border-color: var(--tone); transform: translateY(-2px); }
.join-card:has(input:checked) { border-color: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 18%, transparent), var(--shadow); }
.join-card:has(input:focus-visible) { outline: 2px solid var(--tone); outline-offset: 3px; }
.join-card input { position: absolute; opacity: 0; pointer-events: none; }
.join-card__tag {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: var(--tone); color: var(--on-accent);
}
.join-card__check {
  position: absolute; top: 0.9rem; right: 0.9rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; border: 2px solid var(--line); color: transparent; font-weight: 800; font-size: 0.8rem;
}
.join-card:has(input:checked) .join-card__check { background: var(--tone); border-color: var(--tone); color: var(--on-accent); }
.join-card__tile { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--tone-soft); color: var(--tone); }
.join-card__title { font-family: var(--display); font-size: 1.35rem; margin-top: 0.3rem; }
.join-card__lede { color: var(--fg-dim); }
.join-card__lede em { font-style: normal; font-weight: 700; color: var(--tone); }
.join-card ul { list-style: none; margin: 0.3rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.92rem; }
.join-pick__go { display: flex; justify-content: center; gap: 0.5rem; width: 100%; margin-top: 1.4rem; padding-block: 0.95rem; font-size: 1.05rem; }
.join-pick__fine { margin: 1rem 0 0; font-size: 0.85rem; color: var(--fg-dim); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .join-card--curator { --tone-soft: #3A2421; } }
:root[data-theme='dark'] .join-card--curator { --tone-soft: #3A2421; }
.review-artist { margin-bottom: 0.8rem; }

/* A plan on sale: the usual price struck through, and a tag. */
.price__was { color: var(--fg-dim); font-size: 0.8em; font-weight: 600; margin-right: 0.3rem; text-decoration-thickness: 2px; }
.sale-tag {
  justify-self: start; align-self: flex-start; width: fit-content; display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 0.78rem; font-weight: 700;
}

/* Sign in and create account, as one card with two tabs. */
.auth {
  max-width: 46rem; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.4rem); scroll-margin-top: 5rem;
  background: linear-gradient(180deg, var(--mint), var(--surface) 40%);
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.6); box-shadow: var(--shadow);
}
.auth__koala { display: block; width: 60px; height: 60px; margin: 0 auto 0.8rem; }
.auth__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; max-width: 24rem; margin: 0 auto 1.6rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
}
.auth__tabs button {
  font: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.6rem 1rem; border: 0; border-radius: 999px;
  background: none; color: var(--fg-dim); cursor: pointer;
}
.auth__tabs button[aria-selected='true'] { background: var(--btn-bg); color: var(--on-accent); }
.auth__panel h1 { text-align: center; font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0; }
.auth__sub { text-align: center; color: var(--fg-dim); margin: 0.4rem 0 1.4rem; }
.auth .signup { max-width: none; }
.auth #auth-signin .signup { max-width: 28rem; margin-inline: auto; }
.auth form label { display: flex; justify-content: space-between; align-items: baseline; }
.auth__forgot { font-weight: 400; font-size: 0.85rem; }
.auth__go { display: flex; justify-content: center; gap: 0.5rem; width: 100%; padding-block: 0.9rem; font-size: 1.05rem; }
.auth #join-form { margin-top: 1.4rem; text-align: left; }
.auth__switch { text-align: center; margin: 1.2rem 0 0; color: var(--fg-dim); }
.linkish { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; text-decoration: underline; cursor: pointer; }
.auth .join-pick__fine { text-align: center; }
/* The chooser now lives inside the card: no second card around it. */
.auth .join-pick { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; text-align: left; }
