/* Sound Test player — navy/gold tokens match theme 1.7.12 hac-site.css.
   Safe to load on the Ghost theme (variables already exist there) or standalone. */
/* Theme build 1.7.27: tokens and site chrome come from hac-site.css; draft banner removed.
   Locked Insider rows stay readable (no blur); dim + lock icon only. */
/* ---- Player stage ---- */
.st { position: relative; background: var(--navy); color: var(--text); }
.st-shell { max-width: 1280px; margin: 0 auto; padding: 28px 64px 56px; }
.st-head { margin: 0 0 18px; }
.st-kicker { margin: 0 0 8px; color: var(--gold); font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .19em; text-transform: uppercase; }
.st-head h1 { margin: 0 0 8px; font: 400 46px/1.08 Georgia, serif; letter-spacing: -.02em; }
.st-head h1 em { color: var(--gold); font-style: italic; }
.st-lead { margin: 0; color: var(--soft); max-width: 640px; font-size: 15px; }

.st-stage {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "projects tracks now";
  min-height: 0;
  height: clamp(600px, calc(100dvh - 140px), 900px);
  max-height: none;
  overflow: hidden;
  border: 1px solid #2a3a55;
  background: #0b1422;
  box-shadow: 0 18px 40px #0008;
}
.st-col-projects { grid-area: projects; }
.st-col-tracks { grid-area: tracks; }
.st-col-now { grid-area: now; }

.st-col { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.st-col-tracks, .st-col-projects, .st-col-now { min-height: 0; }
.st-col-projects { border-right: 1px solid #2a3a55; background: #0a1220; }
.st-col-tracks { min-width: 0; }
.st-col-now { border-left: 1px solid #2a3a55; background: #0c1728; }

.st-col-label {
  margin: 0;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #2a3a55;
  color: var(--gold);
  font: 700 10px/1.4 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.st-projects, .st-tracks { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; min-height: 0; }
.st-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--soft);
  font: 14px/1.35 Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.st-project:hover { background: #1b2c45; color: var(--text); }
.st-project.is-on { border-left-color: var(--gold); background: #162338; color: var(--cream); font-weight: 700; }
.st-count { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

.st-mobile-projects { display: none; }

.st-track {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid #1a2738;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.st-track:hover { background: #1b2c45; }
.st-track.is-on { background: #1e334d; box-shadow: inset 3px 0 0 var(--gold); }
.st-track.is-locked { color: var(--soft); }
/* Override hac-site.css .st-track.is-locked (blur + pointer-events:none),
   which is still used on book-track pages. Sound Test rows stay clickable
   and readable; dim slightly and keep the lock icon. */
body.hac-sound-test .st-track.is-locked {
  color: var(--soft);
  opacity: .65;
  filter: none;
  -webkit-filter: none;
  pointer-events: auto;
  user-select: auto;
  background: transparent;
}
body.hac-sound-test .st-track.is-locked:hover { background: #1b2c45; }
body.hac-sound-test .st-track.is-locked.is-on { background: #1e334d; }
.st-thumb {
  width: 52px; height: 52px;
  background: radial-gradient(circle at 50% 35%, #1b2c45, #0b1422);
  border: 1px solid #6b5230;
  overflow: hidden;
  flex: none;
}
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-thumb.type { display: flex; align-items: center; justify-content: center; padding: 3px; }
.st-thumb.type span {
  font: 400 8px/1.15 Georgia, serif;
  color: var(--gold);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  max-height: 100%;
}
.st-meta { min-width: 0; }
.st-title { margin: 0; font: 700 14px/1.3 Arial, sans-serif; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-sub { margin: 2px 0 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.st-lock { width: 18px; height: 18px; color: var(--gold); }
.st-lock svg { display: block; width: 18px; height: 18px; }

/* Now playing */
.st-now { display: flex; flex-direction: column; padding: 18px 18px 22px; height: 100%; }
.st-now-sleeve {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin: 0 auto 14px;
}
.st-now-art {
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 35%, #1b2c45, #0b1422);
  border: 1px solid #6b5230;
  box-shadow: 12px 16px 32px #0008;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.st-now-art img { width: 100%; height: 100%; object-fit: cover; }
.st-now-art.type { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 14px; }
.st-now-art.type span {
  font: 400 20px/1.2 Georgia, serif;
  color: var(--gold);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.st-now-art.type small { margin-top: 10px; font: 700 9px Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.st-now-art.is-locked,
.st-now-sleeve.is-locked .st-now-art { filter: brightness(.35); }
.st-now-art.is-locked img,
.st-now-sleeve.is-locked .st-now-art img { filter: none; }
.st-disc {
  position: absolute;
  z-index: 1;
  width: 74%;
  aspect-ratio: 1;
  left: 10%;
  top: 13%;
  opacity: 0;
  pointer-events: none;
  transition: left .55s ease, opacity .35s ease;
}
.st-now-sleeve.has-disc .st-disc {
  left: 26%;
  opacity: 1;
}
.st-disc-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #14181c;
  box-shadow: 0 0 0 2px #8a7a55, 0 8px 18px #0008;
  animation: st-spin 4s linear infinite;
  animation-delay: var(--st-spin-delay, 0s);
  animation-play-state: paused;
}
.st-now-sleeve.is-playing .st-disc-face { animation-play-state: running; }
.st-disc-face img, .st-disc-type {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.st-disc-type {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #1b2c45, #0b1422);
}
.st-disc-type span { font: 400 22px/1 Georgia, serif; color: var(--gold); }
.st-disc-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,.07) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.st-disc-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 18%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #0a1220 0 38%, #1c2633 39% 68%, #e9b36d 69% 78%, #0a1220 79% 100%);
  box-shadow: 0 0 0 1px #6b5230, inset 0 0 5px #000c;
  z-index: 2;
}
.st-disc-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(122deg, transparent 32%, rgba(255,255,255,.22) 48%, transparent 62%);
  pointer-events: none;
  z-index: 3;
}
@keyframes st-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .st-disc-face { animation: none !important; }
  .st-disc { transition: none !important; }
  .st-booker-fig, .st-booker-floatnote { animation: none !important; }
}
.st-lock-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 3;
}
.st-lock-badge svg { width: 56px; height: 56px; }
.st-now-title { margin: 0 0 6px; font: 400 26px/1.15 Georgia, serif; letter-spacing: -.02em; }
.st-now-sub { margin: 0 0 14px; color: var(--soft); font-size: 14px; }
.st-progress { margin: 0 0 8px; }
.st-progress-bar {
  display: block; width: 100%; height: 6px;
  appearance: none; background: #22302f; border-radius: 4px; overflow: hidden;
}
.st-progress-bar::-webkit-slider-runnable-track { height: 6px; background: #22302f; border-radius: 4px; }
.st-progress-bar::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; margin-top: -3px; background: var(--gold); border-radius: 50%; border: 0; }
.st-progress-bar::-moz-range-track { height: 6px; background: #22302f; border-radius: 4px; border: 0; }
.st-progress-bar::-moz-range-thumb { width: 12px; height: 12px; background: var(--gold); border: 0; border-radius: 50%; }
.st-times { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.st-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto; }
.st-ctrl {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--gold); cursor: pointer;
  display: grid; place-items: center;
}
.st-ctrl svg { width: 22px; height: 22px; }
.st-ctrl:hover { color: var(--gold2); }
.st-ctrl-play {
  width: 64px; height: 64px;
  background: var(--gold); color: var(--navy);
}
.st-ctrl-play:hover { background: var(--gold2); color: var(--navy); }
.st-ctrl:disabled { opacity: .4; cursor: not-allowed; }
.st-gate {
  margin: 8px 0 16px;
  padding: 16px 16px 18px;
  border: 1px solid #6b5230;
  background: linear-gradient(90deg, #2a2114, #162123);
}
.st-gate p { margin: 0 0 12px; color: var(--cream); font-size: 14px; }
.st-placeholder {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px dashed #e9b36d88;
  color: #e9b36dcc;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .st-stage {
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-areas:
      "projects tracks"
      "now now";
    max-height: none;
  }
  .st-col-now { border-left: 0; border-top: 1px solid #2a3a55; }
  .st-now { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: center; }
  .st-now-sleeve { margin: 0; width: 180px; }
  .st-now-main { min-width: 0; }
}

@media (max-width: 700px) {
  .shell, .hdr .shell, .st-shell, .ftr .shell { padding-left: 22px; padding-right: 22px; }
  .hdr .shell { height: 68px; gap: 12px; }
  .brand { font-size: 21px; }
  .brand span { font-size: 11px; }
  .nav, .acts .signin { display: none; }
  .acts { margin-left: auto; gap: 12px; }
  .burger { display: flex; flex-direction: column; gap: 5px; width: 26px; }
  .burger i { height: 2px; background: #d4dcd7; display: block; }
  .hdr.is-open .nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #101719;
    border-bottom: 1px solid var(--line); padding: 8px 22px 16px;
  }
  .hdr.is-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .st-head h1 { font-size: 34px; }
  .st-shell { padding-top: 20px; padding-bottom: 28px; }
  .st-stage {
    display: flex;
    flex-direction: column;
    max-height: none;
  }
  .st-col-projects { display: none; }
  .st-col-tracks { order: 1; min-height: 280px; }
  .st-col-now { order: 2; position: sticky; bottom: 0; z-index: 8; border-left: 0; border-top: 1px solid #2a3a55; background: #0c1728; }
  .st-mobile-projects { display: block; padding: 12px 14px; border-bottom: 1px solid #2a3a55; background: #0a1220; }
  .st-mobile-projects label { display: block; margin: 0 0 6px; color: var(--gold); font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
  .st-mobile-projects select {
    width: 100%; padding: 10px 12px;
    background: #0e1a2b; color: var(--text);
    border: 1px solid #6b5230; font: 15px Arial, sans-serif;
  }
  .st-tracks { max-height: 48vh; padding-bottom: 8px; }
  .st-col-now { position: sticky; bottom: 0; z-index: 8; }
  .st-now {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "art main controls"
      "extra extra extra";
    padding: 10px 12px;
    gap: 8px 12px;
    align-items: center;
  }
  .st-now-sleeve { grid-area: art; width: 72px; margin: 0; }
  .st-now-art { width: 100%; box-shadow: none; }
  .st-now-sleeve.has-disc .st-now-art { display: none; }
  .st-now-sleeve.has-disc .st-disc { left: 0; top: 0; width: 100%; opacity: 1; }
  .st-lock-badge { width: 100%; }
  .st-now-main { grid-area: main; min-width: 0; }
  .st-now .st-kicker { margin-bottom: 2px; }
  .st-now-title { font-size: 16px; margin: 0 0 2px; }
  .st-now-sub { margin: 0; }
  .st-now .st-progress { display: none; }
  .st-now .st-gate, .st-now .st-placeholder { grid-area: extra; margin: 0; }
  .st-controls { grid-area: controls; margin: 0; gap: 6px; }
  .st-ctrl-play { width: 48px; height: 48px; }
  .st-ctrl { width: 36px; height: 36px; }
  .copy { flex-direction: column; gap: 6px; }
}

/* Booker the capybara — desktop-only listening mascot (hidden below the 3-col layout). */
.st-booker { display: none; pointer-events: none; }
@media (min-width: 1101px) {
  .st { overflow-x: hidden; overflow-y: visible; }
  .st-shell { padding-left: 248px; padding-bottom: 72px; }
  .st-booker {
    display: block;
    position: absolute;
    /* Sit in the shell's left padding, feet just under the stage edge. */
    left: calc(50% - min(640px, 50vw) - 20px);
    bottom: 36px;
    z-index: 3;
    width: 250px;
  }
  .st-booker-fig {
    position: relative;
    width: 100%;
    transform-origin: 55% 85%;
  }
  .st-booker img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.45;
    transition: opacity 0.6s ease;
  }
  .st.is-playing .st-booker img { opacity: 0.6; }
  .st.is-playing .st-booker-fig {
    animation: st-booker-bob 2.6s ease-in-out infinite;
  }
  .st-booker-floatnote {
    position: absolute;
    right: 8%;
    top: 4%;
    width: 18px;
    height: 18px;
    opacity: 0;
    color: var(--gold);
    font: 700 18px/1 Georgia, "Times New Roman", serif;
  }
  .st-booker-floatnote::before { content: "♪"; }
  .st.is-playing .st-booker-floatnote {
    animation: st-booker-note 2.8s ease-in-out infinite;
  }
}
@keyframes st-booker-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-0.6deg); }
}
@keyframes st-booker-note {
  0%, 8% { opacity: 0; transform: translate(0, 8px) scale(.7); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: translate(10px, -26px) scale(1.08); }
}


/* ---- Discovery: Start here, mood chips, heard nudge, Booker guide ---- */
.st-discover {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.st-start-here {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: var(--gold);
  color: var(--navy);
  font: 700 13px/1 Arial, sans-serif;
  letter-spacing: .02em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.st-start-here svg { width: 14px; height: 14px; display: block; }
.st-start-here:hover, .st-start-here:focus-visible { background: var(--gold2); color: var(--navy); }
.st-start-here[hidden] { display: none !important; }
.st-sampler-ind {
  margin: 0;
  color: var(--gold);
  font: 700 11px/1.4 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.st-sampler-ind[hidden] { display: none !important; }

.st-moods {
  display: flex;
  gap: 8px;
  padding: 10px 14px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid #2a3a55;
  flex: none;
}
.st-moods::-webkit-scrollbar { display: none; }
.st-mood {
  flex: none;
  padding: 6px 12px;
  border: 1px solid #6b5230;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font: 700 12px/1.2 Arial, sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.st-mood:hover { color: var(--text); border-color: var(--gold); }
.st-mood.is-on,
.st-mood[aria-pressed="true"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.st-tracks-empty {
  margin: 0;
  padding: 22px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.st-heard {
  position: relative;
  z-index: 8;
  isolation: isolate;
  flex: none;
  margin: 0;
  padding: 12px 16px;
  color: var(--cream, #ece4d5);
  font-size: 14px;
  line-height: 1.5;
  background: #0b1422;
  border-top: 1px solid #2a3a55;
  border-left: 3px solid var(--gold);
  box-shadow: 0 -8px 18px #0006;
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.st-heard a { color: var(--gold); text-decoration: none; font-weight: 700; }
.st-heard a:hover, .st-heard a:focus-visible { color: var(--gold2, #f5c88f); }
.st-heard[hidden] { display: none !important; }

@media (min-width: 1101px) {
  .st-booker-bubble {
    position: absolute;
    left: 0;
    bottom: calc(100% - 12px);
    width: max-content;
    max-width: 200px;
    padding: 12px 28px 14px 14px;
    background: #f2eee3;
    color: #0e1a2b;
    border: 1px solid var(--gold);
    box-shadow: 0 10px 24px #0008;
    z-index: 5;
    pointer-events: auto;
    font: 14px/1.4 Arial, Helvetica, sans-serif;
    opacity: 1;
  }
  .st-booker-bubble::after {
    content: "";
    position: absolute;
    left: 36px;
    bottom: -8px;
    width: 14px;
    height: 14px;
    background: #f2eee3;
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    transform: rotate(45deg);
  }
  .st-booker-bubble[hidden] { display: none !important; }
  .st-booker-bubble p { margin: 0 0 10px; color: #0e1a2b; }
  .st-booker-try {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--gold);
    color: var(--navy);
    border: 0;
    border-radius: 999px;
    font: 700 12px/1 Arial, sans-serif;
    cursor: pointer;
    font-family: inherit;
  }
  .st-booker-try:hover, .st-booker-try:focus-visible { background: var(--gold2); }
  .st-booker-dismiss {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 22px;
    height: 22px;
    padding: 0;
    background: none;
    border: 0;
    color: #162123;
    font: 700 16px/22px Arial, sans-serif;
    cursor: pointer;
  }
  .st-booker-dismiss:hover { color: #000; }
  .st-booker-bubble.is-fading {
    opacity: 0;
    transition: opacity .4s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-booker-bubble.is-fading { transition: none !important; }
}

@media (max-width: 700px) {
  .st-discover { margin-top: 14px; }
  .st-moods { padding-left: 14px; padding-right: 14px; }
  .st-heard { margin-top: 12px; padding-bottom: 8px; }
}


/* Work doorway CTA */
.st-work-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  padding: 9px 16px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font: 700 13px/1.25 Arial, sans-serif;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
}
.st-work-cta:hover, .st-work-cta:focus-visible {
  color: var(--gold2);
  border-color: var(--gold2);
}
.st-project-work {
  margin: 0;
  padding: 0 16px 8px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .02em;
}
.st-project-work a { color: var(--gold); text-decoration: none; }
.st-project-work a:hover, .st-project-work a:focus-visible { color: var(--gold2); }
.st-project-work[hidden] { display: none !important; }
.st-mobile-projects .st-project-work { padding: 8px 0 0; }

@media (max-width: 700px) {
  .st-now .st-work-cta {
    margin: 0 0 8px;
    padding: 6px 10px;
    font-size: 12px;
  }
}
.st-tabs-wrap { padding-top: 28px; padding-bottom: 4px; }
.st-tabs-wrap .audio-tabs { margin-bottom: 0; }

/* ==================================================================
   1.7.27 — Mobile music-player layout (<= 760px).
   Desktop (> 760px) is untouched: the search box and mini-player are
   hidden there and every rule below is scoped to the media query.
   Flow on phones: project picker → big album art → title / progress /
   controls → mood chips + search → full track list. The page scrolls
   naturally (no boxed, fixed-height stage), and a slim mini-player bar
   docks at the bottom once the big art scrolls away.
   ================================================================== */
.st-search { display: none; }
.st-mini { display: none; }

@media (max-width: 760px) {
  .st-shell { padding: 18px 14px 32px; }
  .st-head { margin: 0 0 14px; }
  .st-head h1 { font-size: 34px; }
  .st-lead { font-size: 14px; }
  .st-discover { margin-top: 12px; }

  /* Unbox the stage: no fixed height, no clipping, no frame. */
  .st-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .st-col-projects { display: none; }
  /* Let the track column's children join the stage flow so they can be ordered
     around the now-playing panel. */
  .st-col-tracks { display: contents; }

  /* 1. Project picker */
  .st-mobile-projects {
    order: 1;
    display: block;
    padding: 0 0 14px;
    border: 0;
    background: transparent;
  }
  .st-mobile-projects label { display: block; margin: 0 0 6px; color: var(--gold); font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
  .st-mobile-projects select {
    width: 100%;
    min-height: 46px;
    padding: 10px 40px 10px 14px;
    border: 1px solid #3a4a66;
    border-radius: 12px;
    background: #0e1a2b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e9b36d' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 22px;
    color: var(--text);
    font: 700 16px/1.25 Arial, sans-serif;
    -webkit-appearance: none;
    appearance: none;
  }
  .st-mobile-projects .st-project-work { padding: 8px 2px 0; font-size: 12px; }

  /* 2. Now playing: big art, then title, progress, controls */
  .st-col-now {
    order: 2;
    position: static;
    border: 0;
    background: transparent;
    z-index: auto;
  }
  .st-now {
    display: block;
    height: auto;
    padding: 0 0 22px;
  }
  .st-now-sleeve {
    width: 100%;
    margin: 0 0 18px;
    aspect-ratio: auto;
  }
  .st-now-art {
    display: block;
    width: 92%;
    border-radius: 14px;
    box-shadow: 0 16px 36px #000a;
  }
  .st-now-art img { display: block; }
  .st-now-art.type span { font-size: 28px; }
  .st-now-sleeve.has-disc .st-now-art { display: block; }
  /* The CD sits behind the jacket and peeks out on the right. */
  .st-disc { width: 84%; top: 4%; left: 6%; }
  .st-now-sleeve.has-disc .st-disc { left: 15%; top: 4%; width: 84%; opacity: 1; }
  .st-lock-badge { width: 92%; height: auto; }
  .st-lock-badge svg { width: 64px; height: 64px; }
  .st-now-main { min-width: 0; }
  .st-now .st-kicker { margin: 0 0 4px; }
  .st-now-title { margin: 0 0 4px; font-size: 26px; line-height: 1.15; }
  .st-now-sub { margin: 0 0 12px; font-size: 14px; }
  .st-now .st-work-cta { margin: 0 0 14px; padding: 7px 14px; font-size: 13px; border-radius: 999px; }
  .st-now .st-gate { margin: 4px 0 0; border-radius: 12px; }
  .st-now .st-placeholder { margin: 0 0 12px; border-radius: 8px; }
  .st-now .st-progress { display: block; margin: 4px 0 6px; }
  .st-progress-bar { height: 6px; }
  .st-progress-bar::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -5px; }
  .st-times { font-size: 12px; margin-bottom: 10px; }
  .st-controls { justify-content: center; gap: 28px; margin: 0; }
  .st-ctrl { width: 52px; height: 52px; }
  .st-ctrl svg { width: 28px; height: 28px; }
  .st-ctrl-play { width: 72px; height: 72px; }
  .st-ctrl-play svg { width: 32px; height: 32px; }

  /* 3. Filters: mood chips + search */
  .st-col-label {
    order: 3;
    padding: 14px 0 8px;
    border-top: 1px solid #2a3a55;
    border-bottom: 0;
  }
  .st-moods {
    order: 4;
    margin: 0 -14px;
    padding: 2px 14px 10px;
    border-bottom: 0;
  }
  .st-mood { padding: 9px 14px; font-size: 13px; }
  .st-search {
    order: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0 12px;
    min-height: 46px;
    border: 1px solid #3a4a66;
    border-radius: 12px;
    background: #0e1a2b;
    color: var(--muted);
  }
  .st-search:focus-within { border-color: var(--gold); }
  .st-search svg { width: 20px; height: 20px; flex: none; }
  .st-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: 16px/1.2 Arial, sans-serif; /* 16px stops iOS zooming on focus */
  }
  .st-search-input::placeholder { color: var(--muted); }

  /* 4. Full track list, page-scrolling */
  .st-tracks {
    order: 6;
    flex: none;
    max-height: none;
    overflow: visible;
    padding: 0 0 8px;
    margin: 0 -14px;
  }
  .st-track {
    grid-template-columns: 52px minmax(0, 1fr) auto 20px;
    gap: 12px;
    min-height: 64px;
    padding: 6px 14px;
    border-bottom: 1px solid #16233a;
  }
  .st-thumb { width: 52px; height: 52px; border-radius: 6px; }
  .st-title { font-size: 15px; }
  .st-sub { font-size: 12.5px; }
  .st-heard {
    order: 7;
    margin: 8px 0 0;
    border-radius: 0 10px 10px 0;
    box-shadow: none;
  }

  /* Mini-player */
  .st-mini {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 8px;
    border: 1px solid #2a3a55;
    border-radius: 14px;
    background: rgba(12, 23, 40, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px #000c;
    cursor: pointer;
  }
  .st-mini[hidden] { display: none !important; }
  .st-mini.is-locked { grid-template-columns: 44px minmax(0, 1fr) 24px; padding-right: 14px; }
  .st-mini .st-thumb { width: 44px; height: 44px; border-radius: 8px; }
  .st-mini-meta { min-width: 0; }
  .st-mini-title { margin: 0; color: var(--text); font: 700 14px/1.3 Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .st-mini-sub { margin: 1px 0 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .st-mini .st-ctrl { width: 44px; height: 44px; }
  .st-mini .st-ctrl svg { width: 24px; height: 24px; }
  .st-mini .st-mini-play { background: var(--gold); color: var(--navy); }
  body.st-mini-on { padding-bottom: 84px; }
}

/* 1.7.27: hide the site-wide Booker guide widget on the Sound Test page */
html body #booker-guide, html body div#booker-guide, .booker-tooltip, .booker-panel, .booker-toggle { display: none !important; }

/* 1.7.27: no sideways scroll on phones (spinning disc / shadows could poke past the edge). */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  @supports (overflow: clip) { html, body { overflow-x: clip; } }
  .st, .st-stage, .st-now, .st-now-sleeve { max-width: 100%; overflow-x: clip; }
  .st-now-sleeve.has-disc .st-disc { left: 12%; width: 84%; }
}

/* 1.7.27: Keith Hayden vocal credits (mic icon in rows, credit line in now playing) and the
   virtual "Keith Hayden Vocals" collection in the project picker. */
.st-mic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 13px; height: 13px; margin-right: 5px; color: var(--gold); opacity: .85; vertical-align: -1px; }
.st-mic svg { width: 100%; height: 100%; display: block; }
.st-now-vocals { display: flex; align-items: flex-start; gap: 6px; margin: -8px 0 14px; color: var(--gold); font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .02em; opacity: .9; }
.st-now-vocals svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.st-now-vocals span { min-width: 0; }
.st-project-vocals .st-project-name { display: inline-flex; align-items: center; min-width: 0; }
.st-project-vocals { border-bottom: 1px solid #22324b; }
.st-project-vocals .st-mic { width: 14px; height: 14px; margin-right: 7px; }
.st-mini-title .st-mic { width: 12px; height: 12px; margin-right: 4px; }
@media (max-width: 760px) {
  .st-now-vocals { margin: -6px 0 12px; }
}

/* 1.7.27: grab-and-spin CD. The exposed part of the disc is the hit target (album art stays on
   top and clickable). touch-action:none only on the disc so drags there rotate it instead of
   scrolling; the rest of the page scrolls normally. */
.st-now-sleeve.has-disc .st-disc {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.st-now-sleeve.has-disc .st-disc.is-grabbing,
html.st-disc-grabbing, html.st-disc-grabbing * { cursor: grabbing !important; }
.st-disc img { -webkit-user-drag: none; pointer-events: none; }
