:root {
  --ink: #2C2014;
  /* deep warm umber / antique dark ink */
  --ink-2: #3B2D1F;
  /* panel dark */
  --ink-3: #4D3B29;
  /* raised accent */
  --dusk: rgba(170, 133, 76, .35);
  --dusk-soft: rgba(170, 133, 76, .18);
  --gold: #A36F1C;
  /* rich burnished woodcut gold/ochre */
  --gold-bright: #C28A2C;
  /* highlighted gold */
  --ember: #C86C32;
  /* terracotta/warm rust accent */
  --sage: #786948;
  /* antique olive/sepia */
  --parch: #2C2014;
  /* primary text color on light parchment */
  --parch-dim: rgba(44, 32, 20, .72);
  --parch-faint: rgba(44, 32, 20, .48);
  --topbar-h: 60px;
}

* {
  box-sizing: border-box
}

[x-cloak] {
  display: none !important
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: #F8F3E7;
  color: var(--parch);
  font-family: "Cormorant Garamond", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(130% 90% at 50% -10%, rgba(224, 185, 115, .28), transparent 70%),
    radial-gradient(100% 70% at 85% 105%, rgba(184, 130, 43, .14), transparent 60%),
    radial-gradient(80% 60% at 10% 90%, rgba(199, 158, 92, .16), transparent 55%),
    linear-gradient(180deg, #FAF6EE 0%, #F5EEDD 100%);
  background-attachment: fixed;
}

::selection {
  background: rgba(194, 138, 44, .25);
  color: #1A130A
}

/* ---------- type roles ---------- */
.display,
.display-text {
  font-family: "Cinzel", serif;
  letter-spacing: .06em
}

.util {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em
}

.prose-body {
  font-size: 1.09rem;
  line-height: 1.72;
  color: #352719
}

.prose-body p {
  margin: 0 0 1.05em
}

.prose-body p:last-child {
  margin-bottom: 0
}

.prose-body em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500
}

.prose-body p.aside {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  font-size: 1rem;
  color: var(--parch-faint);
  background: rgba(184, 130, 43, .04);
  padding-top: .3rem;
  padding-bottom: .3rem
}

/* section label used across panels */
.panel-label {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .66rem;
  font-weight: 600;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: .7rem;
  white-space: nowrap
}

.panel-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--dusk);
  order: 1
}

.panel-label .trail {
  order: 2
}

/* ---------- shell ---------- */
.shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0
}

/* ---------- topbar ---------- */
.topbar {
  height: var(--topbar-h);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--dusk);
  background: rgba(252, 248, 240, .92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 8px rgba(120, 90, 40, .05)
}

.brand {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: .2em;
  font-size: .94rem;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap
}

.brand span {
  color: var(--ink)
}

.brand-short {
  display: none
}

.brand-full {
  display: inline
}

.navlink {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .75rem;
  font-weight: 500;
  color: var(--parch-dim);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .45rem .1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .16s ease
}

.navlink:hover,
.navlink[aria-expanded=true] {
  color: var(--gold)
}

.navlink:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

.caret {
  transition: transform .18s ease
}

.navlink[aria-expanded=true] .caret {
  transform: rotate(180deg)
}

.submenu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 260px;
  padding: .4rem;
  background: #FCF8F2;
  border: 1px solid var(--dusk);
  border-radius: 4px;
  box-shadow: 0 20px 45px -15px rgba(80, 55, 20, .22), 0 2px 6px rgba(80, 55, 20, .06);
  z-index: 50
}

.submenu a,
.submenu span.dead {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .6rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 3px
}

.submenu a:hover {
  background: rgba(184, 130, 43, .12)
}

.submenu span.dead {
  color: var(--parch-faint);
  cursor: default
}

.submenu .mono {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-size: .6rem;
  letter-spacing: .04em;
  color: var(--gold);
  border: 1px solid rgba(163, 111, 28, .35);
  background: rgba(184, 130, 43, .08)
}

.submenu img {
  width: 26px;
  height: 26px;
  flex: none;
  object-fit: cover;
  border-radius: 2px
}

/* ---------- stage ---------- */
.stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 310px minmax(0, 1.8fr) minmax(380px, 33.333%);
  grid-template-areas: "sleeve gate ctx"
}

.sleeve {
  grid-area: sleeve
}

.gatefold {
  grid-area: gate
}

.context {
  grid-area: ctx
}

.sleeve {
  border-right: 1px solid var(--dusk);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(255, 252, 246, .5)
}

.gatefold {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(255, 253, 248, .8)
}

.context {
  border-left: 1px solid var(--dusk);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(255, 252, 246, .5)
}

/* ---------- scrollers ---------- */
.scroller {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 20px), transparent 100%)
}

.scroller::-webkit-scrollbar {
  width: 7px
}

.scroller::-webkit-scrollbar-thumb {
  background: rgba(170, 133, 76, .45);
  border-radius: 8px
}

.scroller::-webkit-scrollbar-thumb:hover {
  background: rgba(170, 133, 76, .75)
}

.scroller::-webkit-scrollbar-track {
  background: transparent
}

.scroller {
  scrollbar-width: thin;
  scrollbar-color: rgba(170, 133, 76, .45) transparent
}

.ctx-half {
  flex: 1 1 50%;
  height: 50%;
  min-height: 0;
  display: flex;
  flex-direction: column
}

/* ---------- cover ---------- */
.cover-wrap {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 14px 34px -10px rgba(90, 65, 25, .22), 0 0 0 1px rgba(170, 133, 76, .35)
}

.cover-wrap img {
  display: block;
  width: 100%;
  height: auto
}

.cover-glow {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  background: radial-gradient(circle at 50% 46%, rgba(194, 138, 44, .35), transparent 58%);
  mix-blend-mode: multiply
}

.cover-wrap.playing .cover-glow {
  opacity: 1;
  animation: breathe 7s ease-in-out infinite
}

@keyframes breathe {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: .85
  }
}

/* ---------- tracklist ---------- */
.track {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .8rem;
  padding: .75rem .95rem .75rem .7rem;
  border-left: 3px solid transparent;
  background: transparent;
  border-top: 1px solid var(--dusk-soft);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease
}

.track:first-child {
  border-top: none
}

.track:hover {
  background: rgba(184, 130, 43, .08)
}

.track:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px
}

.track .numeral {
  font-family: "Cinzel", serif;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--parch-faint);
  padding-top: .28rem;
  transition: color .18s ease
}

.track .t-title {
  font-size: 1.2rem;
  line-height: 1.24;
  color: var(--ink);
  font-weight: 500
}

.track .t-ref {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .68rem;
  color: var(--parch-faint);
  margin-top: .2rem
}

.track.active {
  background: linear-gradient(90deg, rgba(184, 130, 43, .14), transparent 85%);
  border-left-color: var(--gold)
}

.track.active .numeral {
  color: var(--gold);
  font-weight: 700
}

.track.active .t-title {
  color: #1A1208;
  font-weight: 600
}

.track.active .t-ref {
  color: var(--gold)
}

.bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 11px;
  margin-left: .4rem
}

.bars i {
  width: 2px;
  background: var(--gold);
  display: block;
  animation: eq .9s ease-in-out infinite
}

.bars i:nth-child(1) {
  height: 5px;
  animation-delay: -.2s
}

.bars i:nth-child(2) {
  height: 11px;
  animation-delay: -.55s
}

.bars i:nth-child(3) {
  height: 7px;
  animation-delay: -.35s
}

@keyframes eq {

  0%,
  100% {
    transform: scaleY(.35)
  }

  50% {
    transform: scaleY(1)
  }
}

/* ---------- tabs ---------- */
.tab {
  position: relative;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 500;
  padding: .5rem .35rem;
  color: var(--parch-faint);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s ease
}

.tab:hover {
  color: var(--parch-dim)
}

.tab.on {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 14px 16px -9px rgba(163, 111, 28, .35);
}

.tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

/* ---------- lyrics ---------- */
.lyric-line {
  font-size: 1.22rem;
  line-height: 1.64;
  color: #2C2014;
  margin: 0
}

.lyric-gap {
  height: 1.05rem
}

.lyric-mark {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .7rem;
  font-weight: 600;
  color: var(--sage);
  margin: 1.5rem 0 .5rem;
  display: block
}

/* ---------- scripture ---------- */
.verse {
  position: relative;
  padding-left: 2.15rem;
  margin: 0 0 .85rem;
  font-size: 1.14rem;
  line-height: 1.72;
  color: #352719
}

.vnum {
  position: absolute;
  left: 0;
  top: .33rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold)
}

.verse:last-child {
  margin-bottom: 0
}

.attrib {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .62rem;
  line-height: 1.7;
  color: var(--parch-faint)
}

/* ---------- transport ---------- */
.transport {
  flex: none;
  border-top: 1px solid var(--dusk);
  background: rgba(252, 248, 240, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 -2px 12px rgba(120, 90, 40, .06)
}

/* the dawn line — signature element */
.rail {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none
}

.rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(170, 133, 76, .24);
  border-radius: 3px
}

.rail-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #F9F1E0 0%, #ECCB7F 25%, #C28A2C 60%, #70470C 100%);
  box-shadow: 0 0 10px rgba(194, 138, 44, .4)
}

.playhead {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(163, 111, 28, .22), 0 0 12px rgba(163, 111, 28, .45);
  transition: width .18s ease, height .18s ease
}

.rail:hover .playhead,
.rail:focus-visible .playhead {
  width: 14px;
  height: 14px
}

.rail:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px
}

@keyframes playhead-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(163, 111, 28, .22), 0 0 10px rgba(232, 184, 87, .6), 0 0 18px rgba(200, 108, 50, .35);
    background: var(--gold);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(232, 184, 87, .35), 0 0 16px rgba(232, 184, 87, .9), 0 0 28px rgba(200, 108, 50, .6);
    background: var(--gold-bright);
  }
}

@keyframes playhead-halo {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0.9;
  }
}

.playhead.is-playing {
  animation: playhead-pulse 2s infinite ease-in-out;
}

.playhead.is-playing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 87, 0.45) 0%, rgba(200, 108, 50, 0.18) 50%, rgba(200, 108, 50, 0) 75%);
  animation: playhead-halo 2s infinite ease-in-out;
  pointer-events: none;
}

/* Floating Glowing Particles Container */
.playhead-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: visible;
}

.p-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF9E6 20%, var(--gold-bright) 65%, rgba(200, 108, 50, 0) 100%);
  box-shadow: 0 0 6px #FFE89E, 0 0 12px var(--gold-bright);
  opacity: 0;
  pointer-events: none;
}

@keyframes float-p1 {
  0% {
    transform: translate(-50%, 0) scale(0.6);
    opacity: 0;
  }

  25% {
    opacity: 0.95;
  }

  65% {
    opacity: 0.8;
  }

  100% {
    transform: translate(calc(-50% - 9px), -26px) scale(1.1);
    opacity: 0;
  }
}

@keyframes float-p2 {
  0% {
    transform: translate(-50%, 0) scale(0.4);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 0.75;
  }

  100% {
    transform: translate(calc(-50% + 11px), -32px) scale(1.2);
    opacity: 0;
  }
}

@keyframes float-p3 {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 0.9;
  }

  65% {
    opacity: 0.65;
  }

  100% {
    transform: translate(calc(-50% - 4px), -20px) scale(0.9);
    opacity: 0;
  }
}

@keyframes float-p4 {
  0% {
    transform: translate(-50%, 0) scale(0.3);
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  75% {
    opacity: 0.8;
  }

  100% {
    transform: translate(calc(-50% + 7px), -36px) scale(1.3);
    opacity: 0;
  }
}

@keyframes float-p5 {
  0% {
    transform: translate(-50%, 0) scale(0.6);
    opacity: 0;
  }

  25% {
    opacity: 0.85;
  }

  60% {
    opacity: 0.5;
  }

  100% {
    transform: translate(calc(-50% - 12px), -24px) scale(0.8);
    opacity: 0;
  }
}

@keyframes float-p6 {
  0% {
    transform: translate(-50%, 0) scale(0.4);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translate(calc(-50% + 3px), -29px) scale(1);
    opacity: 0;
  }
}

.is-playing .p-particle.p1 {
  width: 4px;
  height: 4px;
  animation: float-p1 2.2s infinite ease-out;
  animation-delay: 0s;
}

.is-playing .p-particle.p2 {
  width: 5px;
  height: 5px;
  animation: float-p2 2.6s infinite ease-out;
  animation-delay: 0.45s;
}

.is-playing .p-particle.p3 {
  width: 3px;
  height: 3px;
  animation: float-p3 1.9s infinite ease-out;
  animation-delay: 0.9s;
}

.is-playing .p-particle.p4 {
  width: 4.5px;
  height: 4.5px;
  animation: float-p4 2.8s infinite ease-out;
  animation-delay: 1.35s;
}

.is-playing .p-particle.p5 {
  width: 3.5px;
  height: 3.5px;
  animation: float-p5 2.1s infinite ease-out;
  animation-delay: 1.8s;
}

.is-playing .p-particle.p6 {
  width: 4px;
  height: 4px;
  animation: float-p6 2.4s infinite ease-out;
  animation-delay: 0.2s;
}

@keyframes gold-btn-glow {

  0%,
  100% {
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 0 10px rgba(194, 138, 44, 0.5), 0 3px 10px rgba(135, 87, 14, 0.3);
  }

  50% {
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.65), 0 0 22px rgba(232, 184, 87, 0.9), 0 5px 16px rgba(135, 87, 14, 0.45);
  }
}

.btn-gold,
button.btn-gold,
a.btn-gold {
  background: linear-gradient(135deg, #D49B38 0%, #B87E22 45%, #966110 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(135, 87, 14, 0.22);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-gold:hover,
button.btn-gold:hover,
a.btn-gold:hover {
  background: linear-gradient(135deg, #E5AC48 0%, #C88B2D 45%, #A66E17 100%);
  animation: gold-btn-glow 1.8s infinite ease-in-out;
  transform: translateY(-1px);
}

.btn-gold:active,
button.btn-gold:active,
a.btn-gold:active {
  transform: scale(0.95) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.15) !important;
  animation: none;
}

.btn-outline-gold,
button.btn-outline-gold,
a.btn-outline-gold {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 241, 228, 0.88) 100%);
  color: var(--gold) !important;
  border: 1px solid rgba(163, 111, 28, 0.5);
  border-radius: 6px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 3px rgba(135, 87, 14, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-outline-gold:hover,
button.btn-outline-gold:hover,
a.btn-outline-gold:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(245, 235, 218, 0.95) 100%);
  border-color: var(--gold-lit);
  color: var(--ink) !important;
  box-shadow: 0 0 14px rgba(194, 138, 44, 0.4), 0 2px 6px rgba(135, 87, 14, 0.15);
  transform: translateY(-1px);
}

.btn-outline-gold:active,
button.btn-outline-gold:active,
a.btn-outline-gold:active {
  transform: scale(0.95) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.ctl {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--parch-dim);
  cursor: pointer;
  transition: all .18s cubic-bezier(0.4, 0, 0.2, 1)
}

.ctl:hover {
  color: var(--ink);
  background: rgba(184, 130, 43, .14);
  box-shadow: 0 0 10px rgba(194, 138, 44, .35);
  transform: translateY(-1px)
}

.ctl:active {
  transform: scale(0.95) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2) !important
}

.ctl:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px
}

.ctl-main {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #D49B38 0%, #B87E22 45%, #966110 100%);
  color: #FCF8F2;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 18px rgba(163, 111, 28, .4);
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1)
}

.ctl-main:hover {
  background: linear-gradient(135deg, #E5AC48 0%, #C88B2D 45%, #A66E17 100%);
  color: #FFF;
  animation: gold-btn-glow 1.8s infinite ease-in-out;
  transform: translateY(-1px)
}

.ctl-main:active {
  transform: scale(0.95) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4) !important;
  animation: none
}

.ctl-sub {
  width: 32px;
  height: 32px;
  opacity: 0.65;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--parch-dim);
  cursor: pointer;
  transition: all .18s cubic-bezier(0.4, 0, 0.2, 1)
}

.ctl-sub:hover {
  opacity: 1;
  color: var(--ink);
  background: rgba(184, 130, 43, .14);
  box-shadow: 0 0 8px rgba(194, 138, 44, .3);
  transform: translateY(-1px)
}

.ctl-sub.is-active {
  opacity: 1;
  color: var(--gold);
  background: rgba(184, 130, 43, .18);
  border-color: rgba(184, 130, 43, .45);
  box-shadow: 0 0 12px rgba(194, 138, 44, .45), inset 0 1px 2px rgba(255, 255, 255, 0.4)
}

.ctl-sub:active {
  transform: scale(0.92) !important
}

/* ---------- ambient gold cursor follower glow ---------- */
#s4c-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  margin-top: -170px;
  margin-left: -170px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(232, 184, 87, 0.14) 0%, rgba(194, 138, 44, 0.05) 45%, rgba(194, 138, 44, 0) 80%);
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
  transform: translate3d(-9999px, -9999px, 0);
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 16px;
  cursor: pointer
}

input[type=range]::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(170, 133, 76, .3);
  border-radius: 2px
}

input[type=range]::-moz-range-track {
  height: 2px;
  background: rgba(170, 133, 76, .3);
  border-radius: 2px
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: -4px;
  box-shadow: 0 1px 4px rgba(80, 55, 20, .2)
}

input[type=range]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1px 4px rgba(80, 55, 20, .2)
}

input[type=range]:hover::-webkit-slider-thumb {
  background: var(--gold-bright);
  transform: scale(1.15)
}

input[type=range]:hover::-moz-range-thumb {
  background: var(--gold-bright);
  transform: scale(1.15)
}

.hairline {
  border-color: var(--dusk)
}

a.link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(163, 111, 28, .35)
}

a.link:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-bright)
}

/* ---------- responsive ---------- */
@media (max-width:1200px) {
  .stage {
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, auto);
    grid-template-areas: "sleeve gate" "sleeve ctx"
  }

  .context {
    border-left: none;
    border-top: 1px solid var(--dusk);
    max-height: 40vh
  }
}

@media (max-width:960px) {

  html,
  body {
    height: auto
  }

  .shell {
    min-height: 100%
  }

  .stage {
    display: block
  }

  .ctx-half {
    flex: none;
    height: auto
  }

  .sleeve,
  .context {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--dusk);
    max-height: none
  }

  .context {
    border-top: none
  }

  .scroller {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
    flex: none
  }

  .transport {
    position: sticky;
    bottom: 0;
    z-index: 30
  }

  .submenu {
    right: auto;
    left: 0
  }
}

@media (max-width:640px) {
  .brand-full {
    display: none
  }

  .brand-short {
    display: inline
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important
  }
}