/* Neurohaven site audio phase 3 v104 — persistent public-site shell. */
.nh-header-audio-stack--phase2 {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  width: min(31rem, 42vw);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .56rem;
  padding-top: .25rem;
}

.nh-header-audio-stack--phase2 .brand {
  flex: 0 0 auto;
}

.nh-header-audio-stack--phase2 .brand-wordmark {
  height: 1.82rem;
}

.nh-site-audio--phase2 {
  --nh-audio-accent: #7cefe0;
  position: relative;
  width: 100%;
  color: #eef8ff;
  border: .0625rem solid rgba(132, 216, 255, .16);
  border-radius: 1.12rem;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(78, 215, 255, .14), transparent 40%),
    radial-gradient(120% 180% at 100% 0%, color-mix(in srgb, var(--nh-audio-accent) 16%, transparent), transparent 46%),
    linear-gradient(180deg, rgba(17, 24, 43, .96), rgba(7, 11, 26, .96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 1.1rem 2.5rem rgba(2, 8, 22, .38),
    0 .1rem .3rem rgba(0,0,0,.2);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  overflow: hidden;
  isolation: isolate;
}

.nh-site-audio--phase2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.05), transparent 28%),
    linear-gradient(90deg, transparent, rgba(255,255,255,.03) 52%, transparent 80%);
  pointer-events: none;
  opacity: .9;
}

.nh-site-audio--phase2 button,
.nh-site-audio--phase2 select,
.nh-site-audio--phase2 input {
  font: inherit;
}

.nh-site-audio--phase2 button {
  appearance: none;
  border: 0;
  color: inherit;
}

.nh-site-audio--phase2 button:focus-visible,
.nh-site-audio--phase2 select:focus-visible,
.nh-site-audio--phase2 input:focus-visible {
  outline: .125rem solid color-mix(in srgb, var(--nh-audio-accent) 80%, white);
  outline-offset: .12rem;
}

.nh-site-audio__topline,
.nh-site-audio__mainline,
.nh-site-audio__subline {
  display: grid;
  align-items: center;
  gap: .6rem;
  padding-inline: .8rem;
}

.nh-site-audio__topline {
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-top: .8rem;
}

.nh-site-audio__mainline {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  padding-top: .65rem;
}

.nh-site-audio__subline {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: .5rem;
  padding-bottom: .82rem;
}

.nh-site-audio__weather {
  display: inline-grid;
  grid-template-columns: 1.35rem auto;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  padding: .42rem .58rem;
  border-radius: .9rem;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, transform .18s ease;
}

.nh-site-audio__weather:hover,
.nh-site-audio__drawer-toggle:hover,
.nh-site-audio__transport button:hover,
.nh-site-audio__source button:hover,
.nh-site-audio__weather-refresh:hover {
  transform: translateY(-1px);
}

.nh-site-audio__weather-symbol {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: color-mix(in srgb, var(--nh-audio-accent) 85%, white);
  font-family: var(--font-mono);
  font-size: .88rem;
  line-height: 1;
}

.nh-site-audio__weather-copy,
.nh-site-audio__now {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.nh-site-audio__weather-copy b {
  color: #f4fbff;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.nh-site-audio__weather-copy small {
  overflow: hidden;
  color: rgba(199,214,237,.72);
  font-family: var(--font-mono);
  font-size: .52rem;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nh-site-audio__source {
  display: inline-flex;
  gap: .18rem;
  padding: .18rem;
  border-radius: .95rem;
  background: rgba(6, 12, 27, .58);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
}

.nh-site-audio__source button {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 2rem;
  padding: 0 .84rem;
  border-radius: .82rem;
  cursor: pointer;
  background: #0b1628;
  color: #d9e6f4;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nh-site-audio__source button span {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.2rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: #111f34;
  color: #eaf3ff;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.07);
  font-size: .52rem;
}

.nh-site-audio__source button.is-active {
  color: #07111c;
  background: linear-gradient(135deg, color-mix(in srgb, var(--nh-audio-accent) 88%, white), color-mix(in srgb, var(--nh-audio-accent) 70%, #50bcff));
  box-shadow: 0 .6rem 1.2rem color-mix(in srgb, var(--nh-audio-accent) 20%, transparent);
}

.nh-site-audio__drawer-toggle {
  min-height: 2rem;
  padding: 0 .82rem;
  border-radius: .82rem;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  cursor: pointer;
  color: #f0f6ff;
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nh-site-audio__art {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 20% 20%, color-mix(in srgb, var(--nh-audio-accent) 35%, rgba(255,255,255,.18)), transparent 44%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow:
    inset 0 0 0 .0625rem rgba(255,255,255,.08),
    0 .75rem 1.6rem rgba(0,0,0,.22);
}

.nh-site-audio__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nh-site-audio__art span {
  color: #f4faff;
  font-family: var(--font-mono);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.nh-site-audio__kickers {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}

.nh-site-audio__kicker {
  color: color-mix(in srgb, var(--nh-audio-accent) 82%, white);
  font-family: var(--font-mono);
  font-size: .53rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nh-site-audio__pulse {
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: rgba(148,167,201,.48);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.nh-site-audio__pulse.is-live {
  background: color-mix(in srgb, var(--nh-audio-accent) 86%, white);
  box-shadow: 0 0 .9rem color-mix(in srgb, var(--nh-audio-accent) 55%, transparent);
  animation: nh-audio-pulse 1.7s ease-in-out infinite;
}

@keyframes nh-audio-pulse {
  0%,100% { opacity: .72; transform: scale(.84); }
  50% { opacity: 1; transform: scale(1.14); }
}

.nh-site-audio__now b,
.nh-site-audio__now small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nh-site-audio__now b {
  margin-top: .15rem;
  color: #f5fbff;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.nh-site-audio__now small {
  margin-top: .14rem;
  color: rgba(200,214,237,.72);
  font-size: .62rem;
  letter-spacing: .02em;
}

.nh-site-audio__transport {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
}

.nh-site-audio__transport button {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.05);
  color: rgba(236,244,255,.8);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  font-size: .96rem;
  line-height: 1;
}

.nh-site-audio__transport .nh-site-audio__play {
  width: 2.52rem;
  height: 2.52rem;
  color: #041019;
  background: linear-gradient(145deg, color-mix(in srgb, var(--nh-audio-accent) 88%, white), color-mix(in srgb, var(--nh-audio-accent) 70%, #59ccff));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    0 .9rem 1.6rem color-mix(in srgb, var(--nh-audio-accent) 18%, transparent);
  font-size: .78rem;
}

.nh-site-audio--phase2.is-playing .nh-site-audio__transport .nh-site-audio__play {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 0 0 .14rem color-mix(in srgb, var(--nh-audio-accent) 18%, transparent),
    0 .9rem 1.8rem color-mix(in srgb, var(--nh-audio-accent) 24%, transparent);
}

.nh-site-audio__volume {
  display: flex;
  align-items: center;
  gap: .38rem;
  padding: .55rem .7rem;
  border-radius: .92rem;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
}

.nh-site-audio__volume > span {
  color: rgba(200,214,237,.7);
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: .12em;
}

.nh-site-audio__volume input {
  width: 6.3rem;
  accent-color: color-mix(in srgb, var(--nh-audio-accent) 88%, white);
  cursor: pointer;
}

.nh-site-audio__badges {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  flex-wrap: wrap;
}

.nh-site-audio__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  min-width: 0;
  max-width: 100%;
  padding: 0 .62rem;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  color: #eef6ff;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nh-site-audio__badge--ghost {
  color: rgba(204,219,240,.76);
}

.nh-site-audio__meter {
  display: inline-flex;
  align-items: flex-end;
  gap: .16rem;
  height: 1.2rem;
}

.nh-site-audio__meter span {
  width: .18rem;
  height: .42rem;
  border-radius: 999px;
  background: rgba(173,190,218,.34);
}

.nh-site-audio--phase2.is-playing .nh-site-audio__meter span {
  background: color-mix(in srgb, var(--nh-audio-accent) 88%, white);
  animation: nh-audio-meter 1.1s ease-in-out infinite;
}

.nh-site-audio--phase2.is-playing .nh-site-audio__meter span:nth-child(2) { animation-delay: .12s; }
.nh-site-audio--phase2.is-playing .nh-site-audio__meter span:nth-child(3) { animation-delay: .24s; }
.nh-site-audio--phase2.is-playing .nh-site-audio__meter span:nth-child(4) { animation-delay: .36s; }

@keyframes nh-audio-meter {
  0%,100% { transform: scaleY(.5); opacity: .52; }
  45% { transform: scaleY(1.65); opacity: 1; }
  70% { transform: scaleY(.82); opacity: .76; }
}

.nh-site-audio__drawer {
  border-top: .0625rem solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(0,0,0,.04));
}

.nh-site-audio__drawer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .95fr);
  gap: .82rem;
  padding: .82rem;
}

.nh-site-audio__panel {
  min-width: 0;
  padding: .88rem;
  border-radius: .98rem;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.05);
}

.nh-site-audio__panel-head {
  display: flex;
  flex-direction: column;
  gap: .22rem;
}

.nh-site-audio__panel-head strong {
  color: #f5fbff;
  font-size: .78rem;
}

.nh-site-audio__panel-head small,
.nh-site-audio__weather-detail {
  color: rgba(196,212,236,.78);
  font-size: .63rem;
  line-height: 1.45;
}

.nh-site-audio__group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin-top: .78rem;
}

.nh-site-audio__group-tab {
  min-height: 1.8rem;
  max-width: 100%;
  padding: 0 .68rem;
  border-radius: .88rem;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  cursor: pointer;
  color: rgba(227,236,248,.74);
  font-family: var(--font-mono);
  font-size: .53rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nh-site-audio__group-tab.is-active {
  color: #07111c;
  background: linear-gradient(135deg, color-mix(in srgb, var(--nh-audio-accent) 86%, white), color-mix(in srgb, var(--nh-audio-accent) 68%, #59ccff));
}

.nh-site-audio__picker-wrap {
  display: block;
  margin-top: .82rem;
}

.nh-site-audio__picker-wrap > span {
  display: block;
  margin-bottom: .4rem;
  color: rgba(198,213,234,.78);
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nh-site-audio__picker {
  width: 100%;
  min-width: 0;
  height: 2.3rem;
  padding: 0 1.2rem 0 .72rem;
  border: .0625rem solid rgba(255,255,255,.08);
  border-radius: .82rem;
  color: #eef6ff;
  background: rgba(8, 15, 31, .95);
  font-size: .7rem;
}

.nh-site-audio__picker option,
.nh-site-audio__picker optgroup {
  color: #eef6ff;
  background: #0b1429;
}

.nh-site-audio__weather-detail {
  margin: .65rem 0 0;
}

.nh-site-audio__weather-refresh {
  margin-top: .85rem;
  min-height: 2rem;
  padding: 0 .82rem;
  border-radius: .82rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--nh-audio-accent) 84%, white), color-mix(in srgb, var(--nh-audio-accent) 66%, #59ccff));
  color: #06111d;
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.nh-site-audio--phase2 audio {
  display: none;
}

@media (max-width: 84rem) and (min-width: 72.01rem) {
  .nh-header-audio-stack--phase2 { width: min(28rem, 38vw); }
  .nh-site-audio__mainline { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nh-site-audio__volume { display: none; }
}

@media (max-width: 72rem) {
.nh-header-audio-stack--phase2 {
    width: min(34rem, calc(100vw - (2 * var(--shell-x)) - 4rem));
  }
  .nh-site-audio__topline { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "weather browse" "source source"; }
  .nh-site-audio__topline > .nh-site-audio__weather { grid-area: weather; }
  .nh-site-audio__topline > .nh-site-audio__source { grid-area: source; }
  .nh-site-audio__topline > .nh-site-audio__drawer-toggle { grid-area: browse; justify-self: end; }
  .nh-site-audio__mainline { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nh-site-audio__volume { display: none; }
  .nh-site-audio__drawer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 48rem) {
.nh-header-audio-stack--phase2 {
    width: calc(100vw - (2 * var(--shell-x)) - 3.8rem);
    gap: .45rem;
  }
  .nh-header-audio-stack--phase2 .brand-wordmark { height: 1.58rem; }
  .nh-site-audio__topline,
  .nh-site-audio__mainline,
  .nh-site-audio__subline { gap: .44rem; padding-inline: .68rem; }
  .nh-site-audio__mainline { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nh-site-audio__art { width: 2.7rem; height: 2.7rem; border-radius: .88rem; }
  .nh-site-audio__now b { font-size: .82rem; }
  .nh-site-audio__now small { font-size: .56rem; }
  .nh-site-audio__transport button { width: 1.88rem; height: 1.88rem; }
  .nh-site-audio__transport .nh-site-audio__play { width: 2.22rem; height: 2.22rem; }
  .nh-site-audio__drawer-grid { padding: .68rem; }
  .nh-site-audio__panel { padding: .78rem; }
}

@media (max-width: 37rem) {
.nh-header-audio-stack--phase2 { width: calc(100vw - (2 * var(--shell-x)) - 3.2rem); }
  .nh-site-audio__weather-copy small,
  .nh-site-audio__badge--ghost,
  .nh-site-audio__meter,
  .nh-site-audio__drawer-toggle { display: none; }
  .nh-site-audio__topline { grid-template-columns: minmax(0, 1fr); }
  .nh-site-audio__source { width: 100%; justify-content: space-between; }
  .nh-site-audio__source button { flex: 1 1 0; justify-content: center; }
  .nh-site-audio__mainline { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nh-site-audio__transport button:not(.nh-site-audio__play) { display: none; }
  .nh-site-audio__subline { grid-template-columns: 1fr; padding-bottom: .7rem; }
  .nh-site-audio__badge { max-width: 100%; }
}

@media (max-width: 28rem) {
.nh-header-audio-stack--phase2 .brand-wordmark { height: 1.42rem; }
  .nh-site-audio__weather { grid-template-columns: auto; }
  .nh-site-audio__weather-symbol { display: none; }
  .nh-site-audio__art { width: 2.35rem; height: 2.35rem; }
  .nh-site-audio__now b { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nh-site-audio__pulse.is-live,
  .nh-site-audio--phase2.is-playing .nh-site-audio__meter span {
    animation: none;
  }
  .nh-site-audio__weather:hover,
  .nh-site-audio__drawer-toggle:hover,
  .nh-site-audio__transport button:hover,
  .nh-site-audio__source button:hover,
  .nh-site-audio__weather-refresh:hover {
    transform: none;
  }
}


/* v102 contrast lock: accent-filled controls always use dark foregrounds. */
.nh-site-audio--phase2 .nh-site-audio__source button.is-active,
.nh-site-audio--phase2 .nh-site-audio__source button.is-active *,
.nh-site-audio--phase2 .nh-site-audio__transport .nh-site-audio__play,
.nh-site-audio--phase2 .nh-site-audio__group-tab.is-active,
.nh-site-audio--phase2 .nh-site-audio__weather-refresh {
  color: #041019 !important;
  text-shadow: none !important;
}

.nh-site-audio--phase2 .nh-site-audio__source button.is-active span {
  background: rgba(4, 16, 25, .12);
  box-shadow: inset 0 0 0 .0625rem rgba(4, 16, 25, .08);
}

.nh-site-audio--phase2 .nh-site-audio__source button.is-active:hover,
.nh-site-audio--phase2 .nh-site-audio__transport .nh-site-audio__play:hover,
.nh-site-audio--phase2 .nh-site-audio__group-tab.is-active:hover,
.nh-site-audio--phase2 .nh-site-audio__weather-refresh:hover {
  color: #020b12 !important;
}


/* v103 source-state contrast lock: inactive tabs are always dark surfaces with light text.
   This deliberately ignores site theme so an inactive RADIO 151 / MUSIC 120 control can
   never become light text on a light inherited/global button background. */
.nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active),
[data-theme="light"] .nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active),
[data-theme="dark"] .nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active) {
  background: #0b1628 !important;
  color: #dce9f7 !important;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.08) !important;
  text-shadow: none !important;
}

.nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active) span,
[data-theme="light"] .nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active) span,
[data-theme="dark"] .nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active) span {
  background: #14243b !important;
  color: #f0f6ff !important;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.08) !important;
}

.nh-site-audio--phase2 .nh-site-audio__source button:not(.is-active):hover {
  background: #102038 !important;
  color: #ffffff !important;
}

/* v105 — crimson RADIO identity, readable layout, dragging, and full collapse. */
.nh-header-audio-stack--phase2 {
  width: min(33rem, 41vw);
}

.nh-site-audio--phase2 {
  --nh-radio-accent: #ef4f61;
  overflow: visible;
}

.nh-site-audio--phase2::before {
  border-radius: inherit;
}

.nh-site-audio__chrome {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .46rem;
  min-height: 1.7rem;
  padding: .28rem .46rem .1rem;
  border-bottom: .0625rem solid rgba(255,255,255,.045);
}

.nh-site-audio__chrome-title {
  min-width: 0;
  overflow: hidden;
  color: rgba(205,220,240,.62);
  font-family: var(--font-mono);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nh-site-audio__drag,
.nh-site-audio__chrome-actions button {
  display: grid;
  place-items: center;
  min-width: 1.65rem;
  min-height: 1.45rem;
  padding: 0 .42rem;
  border-radius: .56rem;
  background: rgba(255,255,255,.04) !important;
  color: rgba(225,235,249,.74) !important;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.055);
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 700;
  line-height: 1;
}

.nh-site-audio__drag {
  cursor: grab;
  touch-action: none;
  user-select: none;
  font-size: .78rem;
}

.nh-site-audio__drag:active,
.nh-site-audio--phase2.is-dragging .nh-site-audio__drag {
  cursor: grabbing;
}

.nh-site-audio__chrome-actions {
  display: inline-flex;
  align-items: center;
  gap: .24rem;
}


.nh-site-audio__topline {
  grid-template-columns: minmax(6rem, .9fr) auto auto;
  gap: .48rem;
  padding-top: .42rem;
}

.nh-site-audio__mainline {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  padding-top: .48rem;
}

.nh-site-audio__subline {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .6rem;
  padding-top: .34rem;
  padding-bottom: .62rem;
}

.nh-site-audio__now {
  min-width: 0;
  overflow: visible;
}

.nh-site-audio__now b,
.nh-site-audio__now small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nh-site-audio__now b {
  display: -webkit-box;
  max-height: 2.42em;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nh-site-audio__now small {
  line-height: 1.3;
}

.nh-site-audio__badges {
  align-items: flex-start;
}

.nh-site-audio__badge {
  max-width: min(100%, 15rem);
}

.nh-site-audio__volume {
  flex: 0 0 auto;
  padding: .42rem .58rem;
}

.nh-site-audio__volume input {
  width: 5.25rem;
}

/* MUSIC remains the Neurohaven aqua family. RADIO is its deliberate crimson counterpoint. */
.nh-site-audio--phase2:not(.is-radio) .nh-site-audio__source button[data-source="music"].is-active {
  background: linear-gradient(135deg, #a8fff3, #63dce9) !important;
  color: #031318 !important;
}

.nh-site-audio--phase2:not(.is-radio) .nh-site-audio__source button[data-source="music"].is-active * {
  color: #031318 !important;
}

.nh-site-audio--phase2.is-radio {
  --nh-audio-accent: var(--nh-radio-accent) !important;
}

.nh-site-audio--phase2.is-radio .nh-site-audio__source button[data-source="radio"].is-active {
  background: linear-gradient(135deg, #ff8a94, #ef4f61) !important;
  color: #1b0508 !important;
  box-shadow: 0 .6rem 1.2rem rgba(239,79,97,.24) !important;
}

.nh-site-audio--phase2.is-radio .nh-site-audio__source button[data-source="radio"].is-active * {
  color: #1b0508 !important;
}

.nh-site-audio--phase2.is-radio .nh-site-audio__pulse.is-live,
.nh-site-audio--phase2.is-radio.is-playing .nh-site-audio__meter span {
  background: #ff6978;
  box-shadow: 0 0 .9rem rgba(239,79,97,.45);
}

.nh-site-audio--phase2.is-radio .nh-site-audio__kicker,
.nh-site-audio--phase2.is-radio .nh-site-audio__weather-symbol {
  color: #ff7c88;
}

/* Fully collapsed mode keeps the current title and core transport visible. */
.nh-site-audio--phase2.is-collapsed .nh-site-audio__topline,
.nh-site-audio--phase2.is-collapsed .nh-site-audio__subline,
.nh-site-audio--phase2.is-collapsed .nh-site-audio__drawer {
  display: none !important;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__chrome {
  padding-bottom: .28rem;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__mainline {
  grid-template-columns: 2.35rem minmax(0, 1fr) auto;
  padding: .4rem .58rem .58rem;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__art {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .72rem;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__now b {
  font-size: .78rem;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__now small {
  display: none;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__transport button:not(.nh-site-audio__play) {
  display: none;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__transport .nh-site-audio__play {
  width: 2.15rem;
  height: 2.15rem;
}

/* Dragging promotes the player into a persistent viewport layer. */
.nh-site-audio--phase2.is-floating {
  position: fixed;
  z-index: 10050;
  max-width: calc(100vw - 1.25rem);
  margin: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 1.4rem 4rem rgba(0,0,0,.52),
    0 0 0 .0625rem rgba(255,255,255,.035);
}

.nh-site-audio--phase2.is-floating.is-dragging {
  user-select: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 1.7rem 4.6rem rgba(0,0,0,.58),
    0 0 0 .1rem color-mix(in srgb, var(--nh-audio-accent) 28%, transparent);
}

body.nh-audio-floating .nh-header-audio-stack--phase2 {
  min-height: 2.1rem;
}

@media (max-width: 84rem) and (min-width: 72.01rem) {
  .nh-header-audio-stack--phase2 { width: min(31rem, 39vw); }
  .nh-site-audio__volume input { width: 4rem; }
}

@media (max-width: 72rem) {
.nh-header-audio-stack--phase2 { width: min(32rem, calc(100vw - (2 * var(--shell-x)) - 4rem)); }
  .nh-site-audio__topline {
    grid-template-columns: minmax(5.6rem, 1fr) auto auto;
    grid-template-areas: none;
  }
  .nh-site-audio__topline > .nh-site-audio__weather,
  .nh-site-audio__topline > .nh-site-audio__source,
  .nh-site-audio__topline > .nh-site-audio__drawer-toggle {
    grid-area: auto;
  }
  .nh-site-audio__volume { display: flex; }
}

@media (max-width: 48rem) {
.nh-site-audio__topline {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "weather browse" "source source";
  }
  .nh-site-audio__topline > .nh-site-audio__weather { grid-area: weather; }
  .nh-site-audio__topline > .nh-site-audio__source { grid-area: source; }
  .nh-site-audio__topline > .nh-site-audio__drawer-toggle { grid-area: browse; justify-self: end; }
  .nh-site-audio__subline { grid-template-columns: minmax(0, 1fr) auto; }
  .nh-site-audio__meter { display: none; }
  .nh-site-audio__volume input { width: 4rem; }
}

@media (max-width: 37rem) {
.nh-site-audio__drawer-toggle { display: inline-grid; }
  .nh-site-audio__topline { grid-template-columns: minmax(0,1fr) auto; }
  .nh-site-audio__source { grid-column: 1 / -1; }
  .nh-site-audio__mainline { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .nh-site-audio__art { width: 2.4rem; height: 2.4rem; }
  .nh-site-audio__subline { grid-template-columns: minmax(0, 1fr); }
  .nh-site-audio__volume { display: none; }
  .nh-site-audio__badge--ghost { display: inline-flex; }
}


/* v105 readability guarantee: never truncate the active track/station title. */
.nh-site-audio--phase2 .nh-site-audio__now b {
  display: block;
  max-height: none;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* v214: draggable Mini Player is the single minimized state. */
.nh-site-audio__chrome-play {
  display: none !important;
}

/* MINI: compact now-playing state. It deliberately retains the drag chrome,
   full readable title, artwork/source identity and complete transport. */
.nh-site-audio--phase2.is-mini {
  width: min(24rem, 100%);
}

.nh-site-audio--phase2.is-mini .nh-site-audio__topline,
.nh-site-audio--phase2.is-mini .nh-site-audio__subline,
.nh-site-audio--phase2.is-mini .nh-site-audio__drawer {
  display: none !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome {
  padding: .3rem .46rem .22rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__mainline {
  display: grid !important;
  grid-template-columns: 2.55rem minmax(0, 1fr) auto;
  gap: .58rem;
  padding: .46rem .58rem .62rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__art {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: .76rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__now b {
  display: block;
  max-height: none;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: .8rem;
  line-height: 1.18;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__now small {
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: .54rem;
  line-height: 1.25;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__kicker {
  font-size: .47rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport {
  gap: .14rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport button {
  width: 1.75rem;
  height: 1.75rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play {
  width: 2.08rem;
  height: 2.08rem;
}

/* COLLAPSED: smallest possible draggable chrome strip. The Mini state is
   retained internally, so + restores whichever non-collapsed state was active. */
.nh-site-audio--phase2.is-collapsed {
  width: min(19.5rem, 100%);
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__topline,
.nh-site-audio--phase2.is-collapsed .nh-site-audio__subline,
.nh-site-audio--phase2.is-collapsed .nh-site-audio__drawer,
.nh-site-audio--phase2.is-collapsed .nh-site-audio__mainline {
  display: none !important;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__chrome {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 2.15rem;
  padding: .32rem .4rem;
  border-bottom: 0;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__chrome-title {
  overflow: visible;
  color: #eef6ff;
  font-size: .56rem;
  line-height: 1.18;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nh-site-audio--phase2.is-collapsed .nh-site-audio__chrome-play {
  display: grid !important;
  min-width: 1.72rem;
  min-height: 1.52rem;
  color: #041019 !important;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--nh-audio-accent) 88%, white),
    color-mix(in srgb, var(--nh-audio-accent) 70%, #59ccff)) !important;
  box-shadow: 0 .35rem .9rem color-mix(in srgb, var(--nh-audio-accent) 18%, transparent) !important;
}

/* Floating dimensions are driven by JS per mode. */
.nh-site-audio--phase2.is-floating.is-mini,
.nh-site-audio--phase2.is-floating.is-collapsed {
  max-width: calc(100vw - 1.25rem);
}

/* Drag/drop remains available on smaller viewports. */
@media (max-width: 48rem) and (min-width: 33.76rem) {
  .nh-site-audio__drag {
    display: grid !important;
  }
}

@media (max-width: 33.75rem) {
  .nh-site-audio--phase2.is-mini,
  .nh-site-audio--phase2.is-collapsed {
    width: 100%;
  }
  .nh-site-audio--phase2.is-mini .nh-site-audio__mainline {
    grid-template-columns: 2.35rem minmax(0, 1fr) auto;
    gap: .42rem;
  }
  .nh-site-audio--phase2.is-mini .nh-site-audio__transport button:not(.nh-site-audio__play) {
    display: none;
  }
}

/* v107 — no docking; genuinely small independent Mini Player. */
.nh-header-audio-stack--phase2 {
  gap: .78rem;
  padding-top: .34rem;
}

/* The initial inline player sits slightly lower below the wordmark. */
.nh-site-audio--phase2:not(.is-floating) {
  margin-top: .08rem;
}

/* MINI is a separate micro-player design, not a scaled copy of Full. */
.nh-site-audio--phase2.is-mini {
  width: min(16.125rem, calc(100vw - .75rem));
  min-width: 0;
  border-radius: 1.05rem;
  background:
    radial-gradient(120% 170% at 0% 15%, color-mix(in srgb, var(--nh-audio-accent) 14%, transparent), transparent 44%),
    linear-gradient(145deg, rgba(13, 20, 36, .985), rgba(5, 9, 21, .985));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    0 .9rem 2.2rem rgba(0,0,0,.42),
    0 0 0 .0625rem rgba(255,255,255,.025);
}

.nh-site-audio--phase2.is-mini .nh-site-audio__topline,
.nh-site-audio--phase2.is-mini .nh-site-audio__subline,
.nh-site-audio--phase2.is-mini .nh-site-audio__drawer {
  display: none !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  min-height: 1.3rem;
  gap: .25rem;
  padding: .18rem .3rem .04rem;
  border-bottom: 0;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-title {
  display: none;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__drag {
  display: grid !important;
  min-width: 1.35rem;
  min-height: 1.2rem;
  padding: 0 .25rem;
  border-radius: .46rem;
  font-size: .68rem;
  background: rgba(255,255,255,.035) !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-actions {
  grid-column: 3;
  gap: .16rem;
}

/* v214: Minimize and Mini are one control. In Mini mode the same −/+ button
   remains available as the restore control; the separate Mini button no longer exists. */
.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-actions [data-collapse-toggle] {
  display: grid !important;
  min-width: 2.15rem;
  min-height: 1.2rem;
  padding: 0 .34rem;
  border-radius: .46rem;
  font-size: .62rem;
  letter-spacing: 0;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-play {
  display: none !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__mainline {
  display: grid !important;
  grid-template-columns: 1.82rem minmax(0, 1fr) auto;
  gap: .38rem;
  align-items: center;
  padding: .2rem .38rem .42rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__art {
  width: 1.82rem;
  height: 1.82rem;
  border-radius: .58rem;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.075);
}

.nh-site-audio--phase2.is-mini .nh-site-audio__art span {
  font-size: .58rem;
  letter-spacing: .08em;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__kickers {
  display: none;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__now {
  gap: 0;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__now b {
  display: block;
  max-height: none;
  margin: 0;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: .64rem;
  line-height: 1.12;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__now small {
  display: block;
  margin-top: .12rem;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  color: rgba(197,212,234,.66);
  font-size: .45rem;
  line-height: 1.14;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport {
  gap: .08rem;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport button {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  min-width: 1.3rem;
  min-height: 1.3rem;
  font-size: .66rem;
  background: rgba(255,255,255,.035);
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play {
  width: 1.62rem;
  height: 1.62rem;
  min-width: 1.62rem;
  min-height: 1.62rem;
  font-size: .56rem;
}

/* Floating stays floating. There is deliberately no dock state or dock control. */
.nh-site-audio--phase2.is-floating.is-mini {
  width: min(16.125rem, calc(100vw - .75rem)) !important;
  max-width: calc(100vw - .75rem);
}

/* Dragging remains available at every viewport width; only the handle captures touch. */
@media (max-width: 33.75rem) {
  .nh-site-audio__drag {
    display: grid !important;
  }

  .nh-site-audio--phase2.is-mini {
    width: min(16.125rem, calc(100vw - .75rem)) !important;
  }

  .nh-site-audio--phase2.is-mini .nh-site-audio__mainline {
    grid-template-columns: 1.72rem minmax(0, 1fr) auto;
    gap: .32rem;
  }

  .nh-site-audio--phase2.is-mini .nh-site-audio__transport button:not(.nh-site-audio__play) {
    display: grid;
  }
}

/* v108 — rebuilt Browse state as a coherent audio console. */
.nh-site-audio--phase2.is-expanded:not(.is-floating) {
  width: min(56rem, calc(100vw - (2 * var(--shell-x))));
  max-width: none;
}

.nh-site-audio--phase2.is-expanded .nh-site-audio__drawer-toggle {
  background: color-mix(in srgb, var(--nh-audio-accent) 16%, rgba(255,255,255,.04));
  box-shadow: inset 0 0 0 .0625rem color-mix(in srgb, var(--nh-audio-accent) 32%, rgba(255,255,255,.08));
}

.nh-audio-console {
  position: relative;
  border-top: .0625rem solid rgba(255,255,255,.07);
  background:
    radial-gradient(90% 65% at 50% 0%, color-mix(in srgb, var(--nh-audio-accent) 9%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(7,13,28,.98), rgba(4,8,19,.985));
  overflow: hidden;
}

.nh-audio-console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .92rem 1rem .78rem;
}

.nh-audio-console__head > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .12rem;
}

.nh-audio-console__eyebrow {
  color: color-mix(in srgb, var(--nh-audio-accent) 84%, white);
  font-family: var(--font-mono);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.nh-audio-console__head strong {
  color: #f7fbff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.nh-audio-console__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  min-width: 0;
}

.nh-audio-console__status > span,
.nh-audio-console__section-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 .62rem;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  color: rgba(215,228,244,.78);
  font-family: var(--font-mono);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.nh-audio-console__status button,
.nh-audio-console__section-head button {
  min-height: 1.75rem;
  padding: 0 .7rem;
  border-radius: .75rem;
  cursor: pointer;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.07);
  color: #eef6ff;
  font-family: var(--font-mono);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nh-audio-console__status button.is-active {
  background: #f0f4f8 !important;
  color: #10151d !important;
  box-shadow: none;
}

.nh-audio-console__scope {
  position: relative;
  min-height: 10.8rem;
  margin: 0 1rem;
  border: .0625rem solid rgba(255,255,255,.065);
  border-radius: 1rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(100% 125% at 50% 50%, color-mix(in srgb, var(--nh-audio-accent) 8%, transparent), transparent 68%),
    #050b18;
  background-size: 2rem 2rem, 2rem 2rem, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -2rem 5rem rgba(0,0,0,.22);
}

.nh-audio-console__scope canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nh-audio-console__scope::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 20%, transparent 78%, rgba(0,0,0,.18));
}

.nh-audio-console__scope-copy {
  position: absolute;
  z-index: 2;
  top: .72rem;
  left: .8rem;
  display: flex;
  flex-direction: column;
  gap: .12rem;
  pointer-events: none;
}

.nh-audio-console__scope-copy span {
  color: color-mix(in srgb, var(--nh-audio-accent) 90%, white);
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.nh-audio-console__scope-copy small {
  color: rgba(205,220,239,.65);
  font-family: var(--font-mono);
  font-size: .46rem;
  letter-spacing: .08em;
}

.nh-audio-console__axis {
  position: absolute;
  z-index: 2;
  right: .8rem;
  bottom: .55rem;
  left: .8rem;
  display: flex;
  justify-content: space-between;
  color: rgba(182,199,222,.42);
  font-family: var(--font-mono);
  font-size: .42rem;
  letter-spacing: .06em;
  pointer-events: none;
}

.nh-audio-console__body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18.5rem, .8fr);
  gap: .85rem;
  padding: .85rem 1rem 1rem;
}

.nh-audio-console__library,
.nh-audio-console__rack {
  min-width: 0;
}

.nh-audio-console__library {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: .86rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.055);
}

.nh-audio-console__section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .7rem;
  min-width: 0;
}

.nh-audio-console__section-head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .14rem;
}

.nh-audio-console__section-head strong {
  color: #f5faff;
  font-size: .76rem;
  font-weight: 700;
}

.nh-audio-console__section-head small {
  color: rgba(196,211,234,.67);
  font-size: .57rem;
  line-height: 1.4;
}

.nh-audio-console__search {
  display: block;
  margin-top: .72rem;
}

.nh-audio-console__search input {
  width: 100%;
  height: 2.25rem;
  padding: 0 .78rem;
  border: .0625rem solid rgba(255,255,255,.075);
  border-radius: .78rem;
  outline: 0;
  background: rgba(2,8,19,.58);
  color: #eef7ff;
  font-size: .67rem;
}

.nh-audio-console__search input::placeholder { color: rgba(186,203,227,.44); }
.nh-audio-console__search input:focus { border-color: color-mix(in srgb, var(--nh-audio-accent) 54%, rgba(255,255,255,.08)); }

.nh-audio-console__groups {
  display: flex;
  flex-wrap: nowrap;
  gap: .32rem;
  margin-top: .64rem;
  padding: .05rem 0 .12rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nh-audio-console__groups .nh-site-audio__group-tab {
  flex: 0 0 auto;
  min-height: 1.7rem;
  padding: 0 .58rem;
  font-size: .47rem;
}

.nh-audio-console__list {
  display: flex;
  min-height: 0;
  max-height: 17.5rem;
  margin-top: .68rem;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .34rem;
  overflow-y: auto;
  padding-right: .16rem;
  scrollbar-width: thin;
}

.nh-audio-console__item {
  display: grid;
  grid-template-columns: 2.2rem minmax(0,1fr) auto;
  align-items: center;
  gap: .62rem;
  width: 100%;
  min-height: 3.2rem;
  padding: .5rem .58rem;
  border-radius: .82rem;
  cursor: pointer;
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.045);
  text-align: left;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nh-audio-console__item:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.052);
}

.nh-audio-console__item.is-current {
  background: color-mix(in srgb, var(--nh-audio-accent) 10%, rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 .0625rem color-mix(in srgb, var(--nh-audio-accent) 35%, rgba(255,255,255,.04));
}

.nh-audio-console__item-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .68rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--nh-audio-accent) 13%, rgba(255,255,255,.035));
  box-shadow: inset 0 0 0 .0625rem color-mix(in srgb, var(--nh-audio-accent) 26%, rgba(255,255,255,.05));
  color: #f6fbff;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.nh-audio-console__item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .12rem;
}

.nh-audio-console__item-copy strong,
.nh-audio-console__item-copy small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.nh-audio-console__item-copy strong {
  color: #f2f8ff;
  font-size: .68rem;
  line-height: 1.25;
}

.nh-audio-console__item-copy small {
  color: rgba(190,207,232,.66);
  font-size: .54rem;
  line-height: 1.35;
}

.nh-audio-console__item-action {
  min-width: 2.5rem;
  color: color-mix(in srgb, var(--nh-audio-accent) 82%, white);
  font-family: var(--font-mono);
  font-size: .46rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: right;
}

.nh-audio-console__empty {
  margin: auto;
  color: rgba(197,213,235,.58);
  font-size: .65rem;
  text-align: center;
}

.nh-audio-console__rack {
  display: flex;
  flex-direction: column;
  gap: .62rem;
}

.nh-audio-console__rack-section {
  padding: .78rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.055);
}

.nh-audio-console__knob-row {
  display: grid;
  align-items: start;
  justify-items: center;
  gap: .55rem;
  margin-top: .72rem;
}

.nh-audio-console__knob-row--master { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nh-audio-console__eq-bank { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nh-audio-knob {
  --knob-angle: 0deg;
  display: grid;
  justify-items: center;
  gap: .25rem;
  min-width: 0;
  padding: .18rem;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

.nh-audio-knob__face {
  position: relative;
  display: block;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255,255,255,.13), transparent 22%),
    radial-gradient(circle at 50% 55%, #151d2d 0 47%, #080e1a 49% 62%, color-mix(in srgb, var(--nh-audio-accent) 20%, #172032) 64% 66%, #070c16 68%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 .45rem .9rem rgba(0,0,0,.28),
    0 0 1rem color-mix(in srgb, var(--nh-audio-accent) 8%, transparent);
}

.nh-audio-knob__face::before {
  content: "";
  position: absolute;
  inset: .34rem;
  border-radius: 50%;
  border: .0625rem solid rgba(255,255,255,.055);
}

.nh-audio-knob__face i {
  position: absolute;
  top: .42rem;
  left: 50%;
  width: .11rem;
  height: .82rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nh-audio-accent) 88%, white);
  box-shadow: 0 0 .55rem color-mix(in srgb, var(--nh-audio-accent) 70%, transparent);
  transform: translateX(-50%) rotate(var(--knob-angle));
  transform-origin: 50% 1.63rem;
}

.nh-audio-knob--small .nh-audio-knob__face {
  width: 3.05rem;
  height: 3.05rem;
}

.nh-audio-knob--small .nh-audio-knob__face i {
  top: .34rem;
  height: .62rem;
  transform-origin: 50% 1.18rem;
}

.nh-audio-knob small {
  color: rgba(196,212,234,.66);
  font-family: var(--font-mono);
  font-size: .45rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.nh-audio-knob b {
  max-width: 6rem;
  color: #f0f7ff;
  font-family: var(--font-mono);
  font-size: .49rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.nh-audio-console__soundstage {
  position: relative;
  width: 100%;
  height: 8.2rem;
  margin-top: .7rem;
  border-radius: .9rem;
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 19%, rgba(255,255,255,.045) 20% 20.8%, transparent 21.5% 39%, rgba(255,255,255,.035) 40% 40.8%, transparent 41.5%),
    linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.055) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(255,255,255,.055) 50%, transparent 50.3%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--nh-audio-accent) 9%, transparent), transparent 70%),
    #060c18;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.055);
}

.nh-audio-console__soundstage span {
  position: absolute;
  color: rgba(191,208,231,.45);
  font-family: var(--font-mono);
  font-size: .42rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.nh-audio-console__soundstage .stage-front { top: .42rem; left: 50%; transform: translateX(-50%); }
.nh-audio-console__soundstage .stage-rear { bottom: .42rem; left: 50%; transform: translateX(-50%); }
.nh-audio-console__soundstage .stage-left { left: .48rem; top: 50%; transform: translateY(-50%); }
.nh-audio-console__soundstage .stage-right { right: .48rem; top: 50%; transform: translateY(-50%); }

.nh-audio-console__soundstage > i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: .78rem;
  height: .78rem;
  border: .13rem solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: var(--nh-audio-accent);
  box-shadow: 0 0 1rem color-mix(in srgb, var(--nh-audio-accent) 65%, transparent);
  transform: translate(-50%,-50%);
}

.nh-site-audio--phase2.is-processing-bypass .nh-audio-console__rack {
  opacity: .74;
}

.nh-site-audio--phase2.is-processing-bypass .nh-audio-console__status > span,
.nh-site-audio--phase2.is-processing-bypass [data-rack-mode] {
  color: #ffc4cb;
  background: rgba(239,79,97,.11);
  box-shadow: inset 0 0 0 .0625rem rgba(239,79,97,.22);
}

.nh-site-audio--phase2 [data-direct-audio] { display: none; }

@media (max-width: 64rem) {
  .nh-site-audio--phase2.is-expanded:not(.is-floating) {
    width: min(45rem, calc(100vw - (2 * var(--shell-x))));
  }
  .nh-audio-console__body { grid-template-columns: 1fr; }
  .nh-audio-console__library { min-height: 20rem; }
  .nh-audio-console__list { max-height: 15rem; }
  .nh-audio-console__rack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nh-audio-console__rack-section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 44rem) {
  .nh-site-audio--phase2.is-expanded:not(.is-floating) {
    width: calc(100vw - (2 * var(--shell-x)));
  }
  .nh-audio-console__head { align-items: flex-start; flex-direction: column; }
  .nh-audio-console__status { width: 100%; justify-content: space-between; }
  .nh-audio-console__scope { min-height: 8.2rem; margin-inline: .68rem; }
  .nh-audio-console__body { padding: .68rem; }
  .nh-audio-console__library { min-height: 18rem; padding: .72rem; }
  .nh-audio-console__rack { grid-template-columns: 1fr; }
  .nh-audio-console__rack-section:first-child { grid-column: auto; }
  .nh-audio-console__eq-bank { grid-template-columns: repeat(4, minmax(3rem, 1fr)); overflow-x: auto; }
  .nh-audio-knob__face { width: 3.55rem; height: 3.55rem; }
  .nh-audio-knob__face i { transform-origin: 50% 1.39rem; }
  .nh-audio-console__item { grid-template-columns: 2rem minmax(0,1fr) auto; gap: .5rem; }
  .nh-audio-console__item-mark { width: 2rem; height: 2rem; }
}

@media (max-width: 30rem) {
  .nh-audio-console__scope { min-height: 7rem; }
  .nh-audio-console__scope-copy small { display: none; }
  .nh-audio-console__item-action { display: none; }
  .nh-audio-console__item { grid-template-columns: 2rem minmax(0,1fr); }
  .nh-audio-console__section-head > span { display: none; }
  .nh-audio-console__knob-row--master { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .nh-audio-console__item:hover { transform: none; }
}

/* Console opens as a deliberate overlay, so it does not turn the site header into a 700px spacer. */
.nh-site-audio--phase2 .nh-audio-console {
  position: absolute;
  z-index: 220;
  top: calc(100% + .5rem);
  left: 0;
  width: 100%;
  max-height: calc(100vh - 7.5rem);
  overflow-y: auto;
  border: .0625rem solid rgba(255,255,255,.075);
  border-radius: 1.12rem;
  box-shadow: 0 1.6rem 4rem rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.035);
  scrollbar-width: thin;
}

/* v112 — richer signal scope + explicit spatial verification. */
.nh-audio-console__scope {
  min-height: 14.2rem;
  background:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    radial-gradient(85% 100% at 50% 70%, color-mix(in srgb, var(--nh-audio-accent) 11%, transparent), transparent 70%),
    linear-gradient(180deg, #07111f, #040913 72%, #03070e);
  background-size: 1.75rem 1.75rem, 1.75rem 1.75rem, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    inset 0 -3rem 7rem rgba(0,0,0,.38),
    0 .8rem 2rem rgba(0,0,0,.18);
}

.nh-audio-console__scope::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--nh-audio-accent) 5%, transparent) 50%, transparent),
    repeating-linear-gradient(180deg, rgba(255,255,255,.016) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: .7;
}

.nh-audio-console__scope-copy {
  top: .82rem;
  left: .92rem;
  padding: .38rem .54rem;
  border-radius: .65rem;
  background: rgba(2,7,15,.46);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.045);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.nh-audio-console__scope-copy span {
  font-size: .56rem;
  letter-spacing: .16em;
  text-shadow: 0 0 .8rem color-mix(in srgb, var(--nh-audio-accent) 65%, transparent);
}

.nh-audio-console__axis {
  bottom: .64rem;
  font-size: .44rem;
  color: rgba(190,208,231,.52);
}

.nh-audio-console__section-head--spatial {
  align-items: flex-start;
}

.nh-audio-console__spatial-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .34rem;
}

.nh-audio-console__spatial-actions > span {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0 .62rem;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.06);
  color: color-mix(in srgb, var(--nh-audio-accent) 82%, white);
  font-family: var(--font-mono);
  font-size: .46rem;
  font-weight: 800;
  letter-spacing: .09em;
  white-space: nowrap;
}

.nh-site-audio--phase2.is-processing-bypass [data-spatial-status] {
  color: #ffc4cb;
  background: rgba(239,79,97,.11);
  box-shadow: inset 0 0 0 .0625rem rgba(239,79,97,.24);
}

[data-spatial-test][disabled] {
  cursor: not-allowed !important;
  opacity: .42;
  transform: none !important;
}

[data-spatial-test].is-testing {
  color: #07111c !important;
  background: color-mix(in srgb, var(--nh-audio-accent) 88%, white) !important;
}

.nh-audio-console__soundstage.is-active-spatial {
  box-shadow:
    inset 0 0 0 .0625rem color-mix(in srgb, var(--nh-audio-accent) 24%, rgba(255,255,255,.06)),
    inset 0 0 2.8rem color-mix(in srgb, var(--nh-audio-accent) 7%, transparent);
}

.nh-audio-console__soundstage.is-active-spatial > i {
  box-shadow:
    0 0 0 .28rem color-mix(in srgb, var(--nh-audio-accent) 10%, transparent),
    0 0 1.3rem color-mix(in srgb, var(--nh-audio-accent) 78%, transparent);
}

@media (max-width: 48rem) {
  .nh-audio-console__scope { min-height: 11.8rem; }
  .nh-audio-console__spatial-actions { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   v114 PLAYER / HEADER SEPARATION
   landing.css remains the sole authority for the original header/menu geometry.
   The player is a separate viewport layer below it.
   -------------------------------------------------------------------------- */
html body.nh-audio-phase3-mounted .nh-site-audio--phase2 {
  position: fixed !important;
  z-index: 90 !important;
  margin: 0 !important;
}

@media (max-width: 72rem) {
  html body.nav-open .nh-site-audio--phase2 {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* --------------------------------------------------------------------------
   v117 — 70% Full player + 1080p-fit Console.
   Full remains compact (~370px). Console is an independent wider surface.
   Header/menu geometry remains untouched per v114.
   -------------------------------------------------------------------------- */
:root {
  --nh-audio-full-width-v117: 23.125rem;   /* 370px */
  --nh-audio-console-width-v117: 48.75rem; /* 780px */
  --nh-audio-console-height-v117: 38rem;   /* 608px */
}

html body.nh-audio-phase3-mounted .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) {
  width: min(var(--nh-audio-full-width-v117), calc(100vw - 1.25rem)) !important;
  max-width: calc(100vw - 1.25rem) !important;
}

/* Opening Console must never widen the Full player itself. */
html body.nh-audio-phase3-mounted .nh-site-audio--phase2.is-expanded:not(.is-mini):not(.is-collapsed),
html body.nh-audio-phase3-mounted .nh-site-audio--phase2.is-expanded.is-floating:not(.is-mini):not(.is-collapsed) {
  width: min(var(--nh-audio-full-width-v117), calc(100vw - 1.25rem)) !important;
  max-width: calc(100vw - 1.25rem) !important;
}

/* Full player: reduce padding, not readability. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__chrome {
  min-height: 1.52rem;
  gap: .34rem;
  padding: .2rem .36rem .08rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__chrome-title {
  font-size: .44rem;
  letter-spacing: .1em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__drag,
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__chrome-actions button {
  min-width: 1.48rem;
  min-height: 1.32rem;
  padding-inline: .34rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__topline {
  grid-template-columns: minmax(4.5rem, .8fr) minmax(0, 1.35fr) auto;
  gap: .3rem;
  padding: .3rem .58rem 0;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather {
  min-height: 1.72rem;
  padding: .28rem .38rem;
  border-radius: .7rem;
  gap: .3rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-symbol {
  width: 1.1rem;
  height: 1.1rem;
  font-size: .7rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy b {
  font-size: .64rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy small {
  font-size: .43rem;
  letter-spacing: .075em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source {
  gap: .12rem;
  padding: .12rem;
  border-radius: .72rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button {
  min-height: 1.72rem;
  padding-inline: .5rem;
  gap: .24rem;
  border-radius: .62rem;
  font-size: .49rem;
  letter-spacing: .06em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button span {
  min-width: 1.32rem;
  height: 1.02rem;
  font-size: .43rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__drawer-toggle {
  min-height: 1.72rem;
  padding-inline: .5rem;
  border-radius: .62rem;
  font-size: .48rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__mainline {
  grid-template-columns: 2.65rem minmax(0, 1fr) auto;
  gap: .48rem;
  padding: .36rem .58rem 0;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__art {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: .78rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__kicker {
  font-size: .45rem;
  letter-spacing: .11em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__now b {
  max-height: none;
  font-size: .77rem;
  line-height: 1.16;
  -webkit-line-clamp: 3;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__now small {
  margin-top: .08rem;
  font-size: .52rem;
  line-height: 1.23;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__transport {
  gap: .12rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__transport button {
  width: 1.7rem;
  height: 1.7rem;
  font-size: .78rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__transport .nh-site-audio__play {
  width: 2.08rem;
  height: 2.08rem;
  font-size: .68rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__subline {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .38rem;
  padding: .3rem .58rem .5rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__meter {
  display: none;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__badge {
  min-height: 1.25rem;
  padding-inline: .48rem;
  font-size: .46rem;
  letter-spacing: .045em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__volume {
  padding: .32rem .45rem;
  border-radius: .7rem;
  gap: .25rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__volume > span {
  font-size: .44rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__volume input {
  width: 3.75rem;
}

/* Console is intentionally wider than Full and height-budgeted for a 1080p display. */
.nh-site-audio--phase2 .nh-audio-console {
  left: 0;
  width: min(var(--nh-audio-console-width-v117), calc(100vw - 1.25rem));
  height: min(var(--nh-audio-console-height-v117), calc(100vh - 15.75rem));
  min-height: 27rem;
  max-height: min(var(--nh-audio-console-height-v117), calc(100vh - 15.75rem));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nh-audio-console__head {
  flex: 0 0 auto;
  gap: .65rem;
  padding: .58rem .72rem .5rem;
}

.nh-audio-console__eyebrow {
  font-size: .42rem;
  letter-spacing: .13em;
}

.nh-audio-console__head strong {
  font-size: .83rem;
}

.nh-audio-console__status {
  gap: .3rem;
}

.nh-audio-console__status > span,
.nh-audio-console__section-head > span {
  min-height: 1.35rem;
  padding-inline: .5rem;
  font-size: .42rem;
}

.nh-audio-console__status button,
.nh-audio-console__section-head button {
  min-height: 1.5rem;
  padding-inline: .55rem;
  font-size: .44rem;
}

.nh-audio-console__scope {
  flex: 0 0 7.65rem;
  min-height: 7.65rem;
  height: 7.65rem;
  margin: 0 .72rem;
  border-radius: .82rem;
  background-size: 1.5rem 1.5rem, 1.5rem 1.5rem, auto, auto;
}

.nh-audio-console__scope-copy {
  top: .5rem;
  left: .58rem;
  gap: .06rem;
  padding: .28rem .4rem;
}

.nh-audio-console__scope-copy span {
  font-size: .48rem;
}

.nh-audio-console__scope-copy small {
  font-size: .4rem;
}

.nh-audio-console__axis {
  right: .58rem;
  bottom: .4rem;
  left: .58rem;
  font-size: .38rem;
}

.nh-audio-console__body {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1.42fr) minmax(16.25rem, .88fr);
  gap: .6rem;
  padding: .6rem .72rem .72rem;
  overflow: hidden;
}

.nh-audio-console__library {
  min-height: 0;
  height: 100%;
  padding: .62rem;
  border-radius: .82rem;
  overflow: hidden;
}

.nh-audio-console__section-head {
  gap: .45rem;
}

.nh-audio-console__section-head strong {
  font-size: .68rem;
}

.nh-audio-console__section-head small {
  font-size: .5rem;
  line-height: 1.3;
}

.nh-audio-console__search {
  margin-top: .48rem;
}

.nh-audio-console__search input {
  height: 1.9rem;
  padding-inline: .6rem;
  border-radius: .62rem;
  font-size: .59rem;
}

.nh-audio-console__groups {
  gap: .24rem;
  margin-top: .42rem;
  padding-bottom: .06rem;
}

.nh-audio-console__groups .nh-site-audio__group-tab {
  min-height: 1.45rem;
  padding-inline: .48rem;
  font-size: .41rem;
}

.nh-audio-console__list {
  min-height: 0;
  max-height: none;
  margin-top: .46rem;
  gap: .24rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

.nh-audio-console__item {
  grid-template-columns: 1.85rem minmax(0,1fr) auto;
  gap: .45rem;
  min-height: 2.48rem;
  padding: .34rem .42rem;
  border-radius: .66rem;
}

.nh-audio-console__item-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: .55rem;
  font-size: .47rem;
}

.nh-audio-console__item-copy {
  gap: .06rem;
}

.nh-audio-console__item-copy strong {
  font-size: .59rem;
  line-height: 1.18;
}

.nh-audio-console__item-copy small {
  font-size: .47rem;
  line-height: 1.24;
}

.nh-audio-console__item-action {
  min-width: 2.1rem;
  font-size: .4rem;
}

.nh-audio-console__rack {
  min-height: 0;
  gap: .42rem;
  overflow-y: auto;
  padding-right: .08rem;
  scrollbar-width: thin;
}

.nh-audio-console__rack-section {
  padding: .55rem;
  border-radius: .82rem;
}

.nh-audio-console__knob-row {
  gap: .34rem;
  margin-top: .48rem;
}

.nh-audio-knob {
  gap: .15rem;
  padding: .08rem;
}

.nh-audio-knob__face {
  width: 3.25rem;
  height: 3.25rem;
}

.nh-audio-knob__face i {
  top: .34rem;
  height: .68rem;
  transform-origin: 50% 1.28rem;
}

.nh-audio-knob--small .nh-audio-knob__face {
  width: 2.45rem;
  height: 2.45rem;
}

.nh-audio-knob--small .nh-audio-knob__face i {
  top: .26rem;
  height: .5rem;
  transform-origin: 50% .93rem;
}

.nh-audio-knob small {
  font-size: .39rem;
}

.nh-audio-knob b {
  font-size: .42rem;
}

.nh-audio-console__soundstage {
  height: 5.65rem;
  margin-top: .45rem;
  border-radius: .72rem;
}

.nh-audio-console__soundstage span {
  font-size: .36rem;
}

.nh-audio-console__spatial-actions {
  gap: .22rem;
}

.nh-audio-console__spatial-actions > span {
  min-height: 1.45rem;
  padding-inline: .48rem;
  font-size: .4rem;
}

/* On ordinary 1080p desktop/laptop widths, keep the two-column console.
   Only stack when horizontal room genuinely disappears. */
@media (max-width: 52rem) {
  .nh-site-audio--phase2 .nh-audio-console {
    width: min(43rem, calc(100vw - 1.25rem));
    height: min(37rem, calc(100vh - 14.75rem));
    max-height: min(37rem, calc(100vh - 14.75rem));
  }

  .nh-audio-console__body {
    grid-template-columns: minmax(0, 1.25fr) minmax(14.5rem, .9fr);
  }
}

@media (max-width: 42rem) {
  html body.nh-audio-phase3-mounted .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed),
  html body.nh-audio-phase3-mounted .nh-site-audio--phase2.is-expanded:not(.is-mini):not(.is-collapsed) {
    width: min(22.5rem, calc(100vw - .75rem)) !important;
  }

  .nh-site-audio--phase2 .nh-audio-console {
    width: calc(100vw - .75rem);
    height: min(35rem, calc(100vh - 13.5rem));
    max-height: min(35rem, calc(100vh - 13.5rem));
    min-height: 22rem;
  }

  .nh-audio-console__scope {
    flex-basis: 6.5rem;
    height: 6.5rem;
    min-height: 6.5rem;
  }

  .nh-audio-console__body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .nh-audio-console__library {
    min-height: 13rem;
    height: 15rem;
  }

  .nh-audio-console__rack {
    overflow: visible;
  }
}

@media (max-height: 48rem) and (min-width: 43rem) {
  .nh-site-audio--phase2 .nh-audio-console {
    height: calc(100vh - 12.75rem);
    min-height: 20rem;
    max-height: calc(100vh - 12.75rem);
  }

  .nh-audio-console__scope {
    flex-basis: 5.8rem;
    min-height: 5.8rem;
    height: 5.8rem;
  }

  .nh-audio-console__head {
    padding-block: .42rem .36rem;
  }

  .nh-audio-console__body {
    padding-top: .45rem;
  }

  .nh-audio-console__soundstage {
    height: 4.8rem;
  }
}


/* --------------------------------------------------------------------------
   v118 — console scrollbar polish + readable genre/station category strip.
   Scoped to the floating player only; never changes the site header geometry.
   -------------------------------------------------------------------------- */

/* Firefox: compact source-aware scrollbars throughout the audio console. */
.nh-site-audio--phase2 .nh-audio-console,
.nh-site-audio--phase2 .nh-audio-console__groups,
.nh-site-audio--phase2 .nh-audio-console__list,
.nh-site-audio--phase2 .nh-audio-console__rack,
.nh-site-audio--phase2 .nh-audio-console__body {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--nh-audio-accent) 72%, #8ba2bd 28%) rgba(5, 11, 24, .42);
}

/* Chromium / Safari / Edge. */
.nh-site-audio--phase2 .nh-audio-console::-webkit-scrollbar,
.nh-site-audio--phase2 .nh-audio-console__groups::-webkit-scrollbar,
.nh-site-audio--phase2 .nh-audio-console__list::-webkit-scrollbar,
.nh-site-audio--phase2 .nh-audio-console__rack::-webkit-scrollbar,
.nh-site-audio--phase2 .nh-audio-console__body::-webkit-scrollbar {
  width: .5rem;
  height: .5rem;
}

.nh-site-audio--phase2 .nh-audio-console::-webkit-scrollbar-track,
.nh-site-audio--phase2 .nh-audio-console__groups::-webkit-scrollbar-track,
.nh-site-audio--phase2 .nh-audio-console__list::-webkit-scrollbar-track,
.nh-site-audio--phase2 .nh-audio-console__rack::-webkit-scrollbar-track,
.nh-site-audio--phase2 .nh-audio-console__body::-webkit-scrollbar-track {
  background: rgba(5, 11, 24, .42);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.nh-site-audio--phase2 .nh-audio-console::-webkit-scrollbar-thumb,
.nh-site-audio--phase2 .nh-audio-console__groups::-webkit-scrollbar-thumb,
.nh-site-audio--phase2 .nh-audio-console__list::-webkit-scrollbar-thumb,
.nh-site-audio--phase2 .nh-audio-console__rack::-webkit-scrollbar-thumb,
.nh-site-audio--phase2 .nh-audio-console__body::-webkit-scrollbar-thumb {
  min-height: 2rem;
  border: .125rem solid rgba(5, 11, 24, .72);
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nh-audio-accent) 88%, white 12%),
      color-mix(in srgb, var(--nh-audio-accent) 64%, #52677f 36%));
  background-clip: padding-box;
}

.nh-site-audio--phase2 .nh-audio-console::-webkit-scrollbar-thumb:hover,
.nh-site-audio--phase2 .nh-audio-console__groups::-webkit-scrollbar-thumb:hover,
.nh-site-audio--phase2 .nh-audio-console__list::-webkit-scrollbar-thumb:hover,
.nh-site-audio--phase2 .nh-audio-console__rack::-webkit-scrollbar-thumb:hover,
.nh-site-audio--phase2 .nh-audio-console__body::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nh-audio-accent) 96%, white 4%),
      color-mix(in srgb, var(--nh-audio-accent) 78%, #52677f 22%));
  background-clip: padding-box;
}

/* The genre/station mode strip needs to read as controls first, scrollbar second. */
.nh-site-audio--phase2 .nh-audio-console__groups {
  gap: .34rem;
  margin-top: .5rem;
  margin-bottom: .08rem;
  padding: .08rem .08rem .68rem;
  scrollbar-gutter: stable;
}

.nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab {
  min-height: 1.72rem;
  padding: .18rem .66rem;
  border-radius: .72rem;
  font-size: .56rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: .045em;
  white-space: nowrap;
}

.nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab:not(.is-active) {
  color: rgba(239,246,255,.86);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.075);
}

.nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab:not(.is-active):hover,
.nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab:not(.is-active):focus-visible {
  color: #fff;
  background: rgba(255,255,255,.09);
}

/* Keep enough air before the item list after the category scrollbar. */
.nh-site-audio--phase2 .nh-audio-console__list {
  margin-top: .62rem;
  padding-right: .28rem;
  padding-bottom: .18rem;
}

@media (max-width: 42rem) {
  .nh-site-audio--phase2 .nh-audio-console__groups {
    padding-bottom: .62rem;
  }
  .nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab {
    min-height: 1.66rem;
    padding-inline: .58rem;
    font-size: .53rem;
  }
}

/* v118 — footer-only alternate wordmark for the light theme.
   The top-left .brand / .brand-wordmark is intentionally not referenced here. */
.footer-wordmark--light {
  display: none;
}

[data-theme="light"] .footer-wordmark--default {
  display: none;
}

[data-theme="light"] .footer-wordmark--light {
  display: block;
  /* Match the original dark-mode footer wordmark exactly. */
  height: 2.5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

/* v123 — weather-first Full layout + live local date/time. Header/logo untouched. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__topline {
  grid-template-columns: minmax(0, 1fr) max-content max-content !important;
  gap: .22rem !important;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .42rem;
  padding-inline: .46rem;
}

.nh-site-audio__weather-main {
  display: inline-flex;
  align-items: center;
  gap: .18rem;
  min-width: max-content;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-symbol {
  display: grid;
  place-items: center;
  width: 1.42rem;
  height: 1.42rem;
  flex: 0 0 1.42rem;
  border-radius: .48rem;
  background: color-mix(in srgb, var(--nh-audio-accent) 9%, rgba(255,255,255,.025));
  color: color-mix(in srgb, var(--nh-audio-accent) 82%, white);
}

.nh-weather-icon-svg {
  display: block;
  width: 1.18rem;
  height: 1.18rem;
  overflow: visible;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-main > b {
  color: #f5fbff;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy {
  min-width: 0;
  gap: .08rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy small,
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy small {
  color: rgba(222,233,249,.82);
  font-size: .45rem;
  font-weight: 700;
  letter-spacing: .075em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy > span {
  color: rgba(184,201,225,.66);
  font-family: var(--font-mono);
  font-size: .38rem;
  letter-spacing: .055em;
}

/* The source selector is deliberately compact; weather gets the reclaimed width. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source {
  width: max-content;
  max-width: none;
  gap: .08rem;
  padding: .1rem;
  margin: 0;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button {
  min-width: 0;
  padding-inline: .36rem;
  gap: .18rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button span {
  min-width: 1.18rem;
  padding-inline: .18rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__drawer-toggle {
  margin: 0;
  padding-inline: .42rem;
}

/* Console eyebrow is now the live local clock. */
.nh-audio-console__eyebrow[data-local-clock] {
  max-width: 24rem;
  color: color-mix(in srgb, var(--nh-audio-accent) 78%, white);
  font-size: .48rem;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__topline {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "weather console"
      "source source" !important;
    row-gap: .28rem !important;
  }

  .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather { grid-area: weather; }
  .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source {
    grid-area: source;
    width: 100%;
    justify-content: stretch;
  }
  .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button {
    flex: 1 1 0;
    justify-content: center;
  }
  .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__drawer-toggle { grid-area: console; }
}


/* v124 — the live clock belongs in the visible Full-player chrome.
   v123 incorrectly left "Neurohaven audio" here and only populated the
   Console eyebrow. Header/logo geometry remains untouched. */
.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__chrome-title[data-local-clock-primary] {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--nh-audio-accent) 72%, #f4f8ff 28%);
  font-family: var(--font-mono);
  font-size: .51rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Give the clock the flexible centre column; keep drag + state controls compact. */
.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__chrome {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

/* Console mirrors the same clock, but the Full-player clock is authoritative. */
.nh-site-audio--phase2 .nh-audio-console__eyebrow[data-local-clock] {
  font-variant-numeric: tabular-nums;
}

/* Collapsed mode remains useful: show the live clock rather than the old brand label. */
.nh-site-audio--phase2.is-collapsed .nh-site-audio__chrome-title[data-local-clock-primary] {
  overflow: hidden;
  color: #eef6ff;
  font-size: .52rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   v125 — player readability pass without width/height regression.
   Preserve v117 Full width (~370px), Console width (~780px), 1080p fit,
   Mini geometry, and all site header/logo geometry.
   -------------------------------------------------------------------------- */

/* Full-player chrome: clearer clock and compact actions without crowding. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__chrome-title[data-local-clock-primary] {
  color: #eef8ff;
  font-size: .59rem;
  font-weight: 820;
  line-height: 1.25;
  letter-spacing: .018em;
  text-shadow: 0 1px .5rem rgba(0,0,0,.34);
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__drag,
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__chrome-actions button {
  font-size: .56rem;
  color: rgba(239,247,255,.9) !important;
}

/* Keep weather dominant, but give every line enough size and contrast. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__topline {
  align-items: stretch;
  column-gap: .24rem !important;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather {
  min-height: 2.05rem;
  padding-block: .34rem;
  padding-inline: .48rem;
  gap: .46rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-symbol {
  width: 1.52rem;
  height: 1.52rem;
  flex-basis: 1.52rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-weather-icon-svg {
  width: 1.28rem;
  height: 1.28rem;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-main > b {
  font-size: .79rem;
  font-weight: 850;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy small {
  color: rgba(236,244,255,.92);
  font-size: .51rem;
  font-weight: 760;
  letter-spacing: .045em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__weather-copy > span {
  color: rgba(209,223,242,.82);
  font-size: .46rem;
  font-weight: 620;
  letter-spacing: .025em;
}

/* Source and Console buttons become easier to scan but retain compact width. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button {
  min-height: 1.92rem;
  padding-inline: .38rem;
  gap: .16rem;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .045em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button span {
  min-width: 1.2rem;
  height: 1.08rem;
  padding-inline: .16rem;
  font-size: .47rem;
  font-weight: 800;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__drawer-toggle {
  min-height: 1.92rem;
  padding-inline: .44rem;
  color: #f5f9ff;
  font-size: .54rem;
  font-weight: 800;
  letter-spacing: .045em;
}

/* Now-playing block: bigger hierarchy, wrapping remains authoritative. */
.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__kicker {
  color: color-mix(in srgb, var(--nh-audio-accent) 88%, white);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .085em;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__now b {
  color: #ffffff;
  font-size: .84rem;
  font-weight: 760;
  line-height: 1.2;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__now small {
  color: rgba(219,231,247,.86);
  font-size: .57rem;
  line-height: 1.3;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__badge {
  min-height: 1.34rem;
  color: rgba(242,248,255,.94);
  font-size: .5rem;
  font-weight: 700;
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__badge--ghost {
  color: rgba(218,231,247,.88);
}

.nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__volume > span {
  color: rgba(224,235,249,.86);
  font-size: .49rem;
  font-weight: 700;
}

/* Console header: larger live clock and status text, with wrap as collision guard. */
.nh-site-audio--phase2 .nh-audio-console__head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.nh-site-audio--phase2 .nh-audio-console__head > div:first-child {
  flex: 1 1 18rem;
}

.nh-site-audio--phase2 .nh-audio-console__eyebrow[data-local-clock] {
  max-width: 100%;
  color: #eef8ff;
  font-size: .58rem;
  font-weight: 820;
  letter-spacing: .035em;
  line-height: 1.3;
}

.nh-site-audio--phase2 .nh-audio-console__head strong {
  font-size: .9rem;
  line-height: 1.18;
}

.nh-site-audio--phase2 .nh-audio-console__status {
  flex: 0 1 auto;
  flex-wrap: wrap;
  row-gap: .26rem;
}

.nh-site-audio--phase2 .nh-audio-console__status > span,
.nh-site-audio--phase2 .nh-audio-console__section-head > span {
  color: rgba(231,240,252,.9);
  font-size: .47rem;
  font-weight: 760;
  letter-spacing: .055em;
}

.nh-site-audio--phase2 .nh-audio-console__status button,
.nh-site-audio--phase2 .nh-audio-console__section-head button {
  color: #f5f9ff;
  font-size: .49rem;
  font-weight: 780;
  letter-spacing: .055em;
}

/* Scope labels are readable without increasing the scope height. */
.nh-site-audio--phase2 .nh-audio-console__scope-copy span {
  font-size: .54rem;
  letter-spacing: .09em;
}

.nh-site-audio--phase2 .nh-audio-console__scope-copy small {
  color: rgba(220,232,248,.8);
  font-size: .45rem;
  letter-spacing: .045em;
}

.nh-site-audio--phase2 .nh-audio-console__axis {
  color: rgba(204,219,239,.62);
  font-size: .42rem;
}

/* Library: readable headings/search/categories/rows; scrolling absorbs growth. */
.nh-site-audio--phase2 .nh-audio-console__section-head {
  align-items: flex-start;
  flex-wrap: wrap;
  row-gap: .28rem;
}

.nh-site-audio--phase2 .nh-audio-console__section-head > div {
  flex: 1 1 9rem;
}

.nh-site-audio--phase2 .nh-audio-console__section-head strong {
  color: #fbfdff;
  font-size: .74rem;
  font-weight: 760;
  line-height: 1.2;
}

.nh-site-audio--phase2 .nh-audio-console__section-head small {
  color: rgba(215,228,245,.82);
  font-size: .54rem;
  line-height: 1.34;
}

.nh-site-audio--phase2 .nh-audio-console__search input {
  color: #f7fbff;
  font-size: .64rem;
  font-weight: 550;
}

.nh-site-audio--phase2 .nh-audio-console__search input::placeholder {
  color: rgba(205,220,240,.64);
}

.nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab {
  min-height: 1.8rem;
  padding-inline: .68rem;
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.nh-site-audio--phase2 .nh-audio-console__item {
  min-height: 2.7rem;
}

.nh-site-audio--phase2 .nh-audio-console__item-mark {
  color: #ffffff;
  font-size: .51rem;
  font-weight: 850;
}

.nh-site-audio--phase2 .nh-audio-console__item-copy strong {
  color: #ffffff;
  font-size: .65rem;
  font-weight: 720;
  line-height: 1.22;
}

.nh-site-audio--phase2 .nh-audio-console__item-copy small {
  color: rgba(211,225,244,.82);
  font-size: .52rem;
  line-height: 1.3;
}

.nh-site-audio--phase2 .nh-audio-console__item-action {
  color: color-mix(in srgb, var(--nh-audio-accent) 88%, white);
  font-size: .44rem;
  font-weight: 850;
}

/* Rack labels gain contrast/size; knob footprints stay unchanged. */
.nh-site-audio--phase2 .nh-audio-knob small {
  color: rgba(220,232,248,.84);
  font-size: .45rem;
  font-weight: 800;
  letter-spacing: .075em;
}

.nh-site-audio--phase2 .nh-audio-knob b {
  color: #ffffff;
  font-size: .49rem;
  font-weight: 760;
}

.nh-site-audio--phase2 .nh-audio-console__soundstage span {
  color: rgba(214,228,246,.68);
  font-size: .41rem;
  font-weight: 800;
  letter-spacing: .085em;
}

.nh-site-audio--phase2 .nh-audio-console__spatial-actions {
  flex-wrap: wrap;
}

.nh-site-audio--phase2 .nh-audio-console__spatial-actions > span {
  color: rgba(226,237,250,.88);
  font-size: .44rem;
  font-weight: 760;
}

/* Short-view safety: simplify secondary copy before anything can overlap. */
@media (max-height: 46rem) and (min-width: 43rem) {
  .nh-site-audio--phase2 .nh-audio-console__section-head small {
    display: none;
  }

  .nh-site-audio--phase2 .nh-audio-console__scope-copy small {
    opacity: .78;
  }
}

/* Narrow-view safety: controls wrap/reflow rather than shrink into collisions. */
@media (max-width: 40rem) {
  .nh-site-audio--phase2:not(.is-mini):not(.is-collapsed) .nh-site-audio__source button {
    padding-inline: .48rem;
  }

  .nh-site-audio--phase2 .nh-audio-console__head > div:first-child {
    flex-basis: 100%;
  }

  .nh-site-audio--phase2 .nh-audio-console__status {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   v139 — horizontal control-scroll safety.
   The scrollbar always gets its own reserved lane below interactive controls.
   This prevents overlay scrollbars from sitting over category/EQ buttons.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2 {
  --nh-audio-hscroll-track: .44rem;
  --nh-audio-hscroll-air: .72rem;
}

.nh-site-audio--phase2 .nh-audio-console__groups {
  align-items: flex-start;
  box-sizing: border-box;
  min-height: calc(1.9rem + var(--nh-audio-hscroll-track) + var(--nh-audio-hscroll-air));
  margin-bottom: .2rem;
  padding-top: .1rem;
  padding-right: .38rem;
  padding-bottom: calc(var(--nh-audio-hscroll-track) + var(--nh-audio-hscroll-air));
  padding-left: .18rem;
  scroll-padding-inline: .5rem;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

.nh-site-audio--phase2 .nh-audio-console__groups::-webkit-scrollbar {
  height: var(--nh-audio-hscroll-track);
}

.nh-site-audio--phase2 .nh-audio-console__groups .nh-site-audio__group-tab {
  position: relative;
  z-index: 1;
  min-height: 1.86rem;
  padding-block: .24rem;
  line-height: 1.16;
}

/* The compact EQ bank can also become horizontally scrollable on narrow screens. */
.nh-site-audio--phase2 .nh-audio-console__eq-bank {
  box-sizing: border-box;
  padding-bottom: calc(var(--nh-audio-hscroll-track) + .58rem);
  scroll-padding-inline: .35rem;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

.nh-site-audio--phase2 .nh-audio-console__eq-bank::-webkit-scrollbar {
  height: var(--nh-audio-hscroll-track);
}

@media (max-width: 42rem) {
  .nh-site-audio--phase2 {
    --nh-audio-hscroll-air: .78rem;
  }
  .nh-site-audio--phase2 .nh-audio-console__groups {
    min-height: calc(1.86rem + var(--nh-audio-hscroll-track) + var(--nh-audio-hscroll-air));
  }
}

/* --------------------------------------------------------------------------
   v149 — independent draggable/resizable Console + Mini playback-state icon.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2 .nh-audio-console.nh-audio-console--independent {
  position: fixed !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 240 !important;
  box-sizing: border-box;
  min-height: min(20rem, calc(100dvh - 1.25rem)) !important;
  max-height: calc(100dvh - 1.25rem) !important;
}

@supports not (height: 100dvh) {
  .nh-site-audio--phase2 .nh-audio-console.nh-audio-console--independent {
    min-height: min(20rem, calc(100vh - 1.25rem)) !important;
    max-height: calc(100vh - 1.25rem) !important;
  }
}

.nh-site-audio--phase2 .nh-audio-console--independent .nh-audio-console__head {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.nh-site-audio--phase2 .nh-audio-console--independent .nh-audio-console__head button,
.nh-site-audio--phase2 .nh-audio-console--independent .nh-audio-console__head a,
.nh-site-audio--phase2 .nh-audio-console--independent .nh-audio-console__head input,
.nh-site-audio--phase2 .nh-audio-console--independent .nh-audio-console__head select {
  cursor: pointer;
  touch-action: auto;
}

.nh-site-audio--phase2 .nh-audio-console--independent.is-console-dragging .nh-audio-console__head {
  cursor: grabbing;
}

.nh-site-audio--phase2 .nh-audio-console--independent.is-console-dragging,
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-resizing {
  user-select: none;
}

.nh-audio-console__resize-handle {
  position: absolute;
  z-index: 8;
  right: .18rem;
  bottom: .18rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: .45rem;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  color: color-mix(in srgb, var(--nh-audio-accent) 84%, white) !important;
  background: rgba(8, 16, 31, .82) !important;
  box-shadow:
    inset 0 0 0 .0625rem color-mix(in srgb, var(--nh-audio-accent) 28%, rgba(255,255,255,.08)),
    0 .2rem .55rem rgba(0,0,0,.28);
  font-family: var(--font-mono);
  font-size: .9rem;
  line-height: 1;
}

.nh-audio-console__resize-handle:hover,
.nh-audio-console__resize-handle:focus-visible {
  background: color-mix(in srgb, var(--nh-audio-accent) 12%, rgba(8,16,31,.9)) !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-play {
  display: grid !important;
  min-width: 1.38rem;
  min-height: 1.2rem;
  padding: 0 .28rem;
  border-radius: .46rem;
  font-size: .52rem;
  line-height: 1;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-play[data-playback-state="playing"] {
  color: #051316 !important;
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--nh-audio-accent) 90%, white),
    color-mix(in srgb, var(--nh-audio-accent) 70%, #59ccff)) !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-play[data-playback-state="paused"] {
  color: color-mix(in srgb, var(--nh-audio-accent) 92%, white) !important;
  background: color-mix(in srgb, var(--nh-audio-accent) 12%, rgba(8,16,31,.88)) !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-play[data-playback-state="stopped"] {
  color: rgba(224,233,246,.75) !important;
  background: rgba(255,255,255,.045) !important;
}

/* --------------------------------------------------------------------------
   v150 — anchor-locked Console interaction polish.
   Resizing owns HEIGHT ONLY; drag owns POSITION. No layout-coupled movement.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2 .nh-audio-console.nh-audio-console--independent {
  width: min(56rem, calc(100vw - 1.5rem)) !important;
  max-width: calc(100vw - 1.5rem) !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.nh-site-audio--phase2 .nh-audio-console--independent.is-console-dragging {
  will-change: left, top;
}

.nh-site-audio--phase2 .nh-audio-console--independent.is-console-resizing {
  will-change: height;
}

.nh-site-audio--phase2 .nh-audio-console--independent.is-console-resizing,
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-resizing * {
  cursor: ns-resize !important;
}

.nh-audio-console__resize-handle {
  width: 2rem;
  height: 2rem;
  right: .3rem;
  bottom: .3rem;
  border-radius: .55rem;
}

.nh-audio-console__resize-handle::before {
  content: "";
  position: absolute;
  inset: -.45rem;
}

@media (pointer: coarse) {
  .nh-audio-console__resize-handle {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   v151 — magnetic Console/player docking.
   Easy snap (22px), deliberate detach (38px), visual preview and dock feedback.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-snap-preview {
  outline: 1px solid color-mix(in srgb, var(--nh-audio-accent) 68%, white);
  outline-offset: 3px;
  box-shadow:
    0 0 0 .22rem color-mix(in srgb, var(--nh-audio-accent) 12%, transparent),
    0 .8rem 2rem rgba(0,0,0,.34);
}

.nh-site-audio--phase2.is-console-snap-partner {
  box-shadow:
    0 0 0 .14rem color-mix(in srgb, var(--nh-audio-accent) 14%, transparent),
    var(--nh-audio-shadow, 0 .8rem 2rem rgba(0,0,0,.34));
}

.nh-site-audio--phase2 .nh-audio-console--independent.is-console-docked {
  border-color: color-mix(in srgb, var(--nh-audio-accent) 34%, rgba(255,255,255,.12));
}

.nh-site-audio--phase2.is-console-dock-partner .nh-site-audio__drag,
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-docked .nh-audio-console__head {
  cursor: grab;
}

.nh-site-audio--phase2.is-console-dock-tension,
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-dock-tension {
  filter: saturate(1.06);
}

.nh-site-audio--phase2 .nh-audio-console--independent.did-console-snap {
  animation: nh-console-magnetic-seat 160ms cubic-bezier(.2,.75,.25,1);
}

@keyframes nh-console-magnetic-seat {
  0% { transform: scale(.996); }
  55% { transform: scale(1.002); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .nh-site-audio--phase2 .nh-audio-console--independent.did-console-snap {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   v152 — deterministic live magnetic docking + primary Mini transport control.
   The dragged surface shows its release geometry before pointer-up; no drop jump.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-dragging,
.nh-site-audio--phase2.is-dragging {
  transition: none !important;
}

/* A slightly stronger live seating cue: the position itself is already snapped,
   so the outline confirms the magnetic state instead of promising a future jump. */
.nh-site-audio--phase2 .nh-audio-console--independent.is-console-snap-preview {
  outline-width: 2px;
  outline-offset: 2px;
}

/* Mini: one obvious playback control. The duplicate top-right play button is hidden;
   the large centre transport button between previous/next owns play/pause. */
.nh-site-audio--phase2.is-mini .nh-site-audio__chrome-play {
  display: none !important;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play {
  position: relative;
  display: grid !important;
  place-items: center;
  font-size: .72rem !important;
  font-weight: 800;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play[data-playback-state="playing"] {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 0 0 .16rem color-mix(in srgb, var(--nh-audio-accent) 20%, transparent),
    0 .5rem 1rem color-mix(in srgb, var(--nh-audio-accent) 20%, transparent);
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play[data-playback-state="paused"] {
  filter: saturate(.82) brightness(.92);
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play[data-playback-state="stopped"] {
  filter: saturate(.72) brightness(.86);
}

/* --------------------------------------------------------------------------
   v153 — viewport-native docking + unambiguous white Mini play/pause icon.
   -------------------------------------------------------------------------- */
/* backdrop-filter on an ancestor can establish the containing block for a fixed
   descendant. Move the visual blur to the existing pseudo layer so the independent
   Console's fixed left/top remain viewport coordinates in all modern engines. */
.nh-site-audio--phase2.nh-console-viewport-frame-v153 {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.nh-site-audio--phase2.nh-console-viewport-frame-v153::before {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* The centre transport circle owns playback. Its icon is a dedicated white overlay,
   independent of inherited button colour and above every circle/decorative layer. */
.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play {
  position: relative !important;
  isolation: isolate;
  overflow: visible;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play-icon {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: .11rem;
  border-top: .28rem solid transparent;
  border-bottom: .28rem solid transparent;
  border-left: .46rem solid #fff;
  filter: drop-shadow(0 .05rem .08rem rgba(0,0,0,.42));
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play[data-playback-state="playing"] .nh-site-audio__play-icon::before {
  width: .18rem;
  height: .58rem;
  margin-left: -.25rem;
  border: 0;
  border-radius: .04rem;
  background: #fff;
  box-shadow: .32rem 0 0 #fff, 0 .05rem .08rem rgba(0,0,0,.35), .32rem .05rem .08rem rgba(0,0,0,.35);
  filter: none;
}

.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play[data-playback-state="paused"] .nh-site-audio__play-icon::before,
.nh-site-audio--phase2.is-mini .nh-site-audio__transport .nh-site-audio__play[data-playback-state="stopped"] .nh-site-audio__play-icon::before {
  width: 0;
  height: 0;
  margin-left: .11rem;
  border-top: .28rem solid transparent;
  border-right: 0;
  border-bottom: .28rem solid transparent;
  border-left: .46rem solid #fff;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 .05rem .08rem rgba(0,0,0,.42));
}

/* --------------------------------------------------------------------------
   v154 — zero-blur audio UI contract.
   No site-audio surface, child, Console surface, or generated pseudo layer may
   apply backdrop blur. This final guard intentionally wins over older rules.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2,
.nh-site-audio--phase2::before,
.nh-site-audio--phase2::after,
.nh-site-audio--phase2 *,
.nh-site-audio--phase2 *::before,
.nh-site-audio--phase2 *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* --------------------------------------------------------------------------
   v155 — high-contrast normal-player centre transport icon.
   Mini keeps its forced-white icon. Full/normal and collapsed non-Mini modes
   use solid dark geometry against the light accent transport circle.
   No blur, filter, glyph, or inherited text colour is involved.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__transport .nh-site-audio__play {
  position: relative !important;
  isolation: isolate;
  overflow: visible;
}

.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__transport .nh-site-audio__play-icon {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__transport .nh-site-audio__play-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: .11rem;
  border-top: .28rem solid transparent;
  border-right: 0;
  border-bottom: .28rem solid transparent;
  border-left: .46rem solid #03111c;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__transport .nh-site-audio__play[data-playback-state="playing"] .nh-site-audio__play-icon::before {
  width: .18rem;
  height: .58rem;
  margin-left: -.25rem;
  border: 0;
  border-radius: .04rem;
  background: #03111c;
  box-shadow: .32rem 0 0 #03111c;
  filter: none;
}

.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__transport .nh-site-audio__play[data-playback-state="paused"] .nh-site-audio__play-icon::before,
.nh-site-audio--phase2:not(.is-mini) .nh-site-audio__transport .nh-site-audio__play[data-playback-state="stopped"] .nh-site-audio__play-icon::before {
  width: 0;
  height: 0;
  margin-left: .11rem;
  border-top: .28rem solid transparent;
  border-right: 0;
  border-bottom: .28rem solid transparent;
  border-left: .46rem solid #03111c;
  background: transparent;
  box-shadow: none;
  filter: none;
}

/* --------------------------------------------------------------------------
   v163 — compact desktop Mini footprint.
   Keep the floating Mini inside the normal page side gutter where available;
   JS performs the matching collision-aware automatic placement. No blur.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2.is-mini,
.nh-site-audio--phase2.is-floating.is-mini {
  width: min(13.75rem, calc(100vw - .75rem)) !important;
  max-width: calc(100vw - .75rem);
}
@media (max-width: 33.75rem) {
  .nh-site-audio--phase2.is-mini,
  .nh-site-audio--phase2.is-floating.is-mini {
    width: min(13.75rem, calc(100vw - .75rem)) !important;
  }
}


/* --------------------------------------------------------------------------
   v186 — collision-safe floating audio surfaces + explicit Console close.
   The player and Console may be dragged independently, but a completed open,
   resize, viewport change or drag can never leave the two surfaces overlapping.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2 .nh-audio-console__close {
  min-width: 4.2rem;
  color: #f5fbff !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: inset 0 0 0 .0625rem rgba(255,255,255,.09) !important;
}

.nh-site-audio--phase2 .nh-audio-console__close:hover,
.nh-site-audio--phase2 .nh-audio-console__close:focus-visible {
  color: #061116 !important;
  background: color-mix(in srgb, var(--nh-audio-accent) 84%, white) !important;
  box-shadow: none !important;
}

.nh-site-audio--phase2 .nh-audio-console.nh-audio-console--independent,
.nh-site-audio--phase2.is-floating {
  /* JS owns final viewport seating. Keep CSS transitions from visually crossing
     the other surface while the collision resolver moves a panel. */
  transition-property: opacity, border-color, box-shadow, filter !important;
}

@media (max-width: 42rem) {
  .nh-site-audio--phase2 .nh-audio-console__status {
    gap: .28rem;
  }
  .nh-site-audio--phase2 .nh-audio-console__status > span {
    display: none;
  }
  .nh-site-audio--phase2 .nh-audio-console__close {
    min-width: 3.55rem;
    padding-inline: .55rem;
  }
}

/* v186 compact collision fallback: the independent Console remains usable
   through its own scrolling instead of overlapping the player on short screens. */
.nh-site-audio--phase2 .nh-audio-console.nh-audio-console--independent {
  /* Normal opening height remains unchanged. This is only the hard floor used
     when JS must compact the Console to keep both floating surfaces separate. */
  min-height: 6rem !important;
  overflow-y: auto !important;
}
@supports not (height: 100dvh) {
  .nh-site-audio--phase2 .nh-audio-console.nh-audio-console--independent {
    min-height: 6rem !important;
  }
}


/* --------------------------------------------------------------------------
   v214 — single minimize/mini control.
   The normal panel's − control enters the existing Mini presentation; in Mini
   it becomes + and restores Full. No second Mini button is rendered.
   -------------------------------------------------------------------------- */
.nh-site-audio--phase2.is-mini [data-collapse-toggle] {
  cursor: pointer;
}
