/* ── Custom SoundCloud player: main (#cdplayer) + footer (.bottom-player) ──
   Ported from the August 2026 media build and retuned to the current palette. */
:root{
  --accent: var(--amber, #e8a34d);
  --accent-rgb: 232,163,77;
  --text-white: var(--ink, #ede6dd);
  --text-grey: var(--ink-muted, #928c96);
  --font-hero: var(--font-display, Georgia, serif);
}

/* Nothing from SoundCloud loads until the visitor allows embeds.
   The footer bar is switched off (19 Oct 2026): it distracted from the page. player.js still
   drives its markup alongside the main player, so the markup stays, hidden. */
html body #bottom-player{ display: none !important; }
#cdplayer{ display: none; }
body.cd-player-on #cdplayer{ display: block; }
body.cd-player-on #sc-hold{ display: none; }
#cdplayer{ position: relative; }

@keyframes logo-wave {
  0%,100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}
@keyframes logo-wave-small {
  0%,100% { transform: scaleY(0.6); }
  50%     { transform: scaleY(1); }
}
@keyframes playBtnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0);
  }
}
@keyframes apLoading {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(100%); }
  100% { transform: translateX(300%); }
}
@keyframes eq-bar {
    0%,100% { transform: scaleY(0.15); opacity:0.25; }
    50%      { transform: scaleY(1);    opacity:1; }
}
@keyframes cdp-ripple {
    from { transform: scale(0); opacity: 0.4; }
    to   { transform: scale(4); opacity: 0; }
}
@keyframes play-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
@keyframes track-row-in {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.cdaudio-wordmark-text {
    letter-spacing: -0.04em;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    display: inline;
}
.logo-udio,
.logo-d {
    color: var(--accent);
    text-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45);
}
.logo-mark {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 1em;
    flex-shrink: 0;
    margin-left: 0.25em;
}
.logo-mark .bar {
    width: 3px;
    height: 100%;           
    border-radius: 2px;
    background: var(--accent);
    transform-origin: bottom center;
    animation: logo-wave 1.6s ease-in-out infinite;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease, background 0.3s ease;
    z-index: 1;
}
.logo-mark .bar:nth-child(1) { animation-delay: 0s;    animation-duration: 1.8s; }
.logo-mark .bar:nth-child(2) { animation-delay: 0.18s; animation-duration: 1.5s; }
.logo-mark .bar:nth-child(3) { animation-delay: 0.36s; animation-duration: 1.7s; }
.logo-mark .bar:nth-child(4) { animation-delay: 0.12s; animation-duration: 1.4s; background: var(--text-white); }
.logo-mark .bar:nth-child(5) { animation-delay: 0.54s; animation-duration: 1.9s; }
.logo-mark .bar:nth-child(6) { animation-delay: 0.30s; animation-duration: 1.6s; }
.logo-mark .bar:nth-child(7) { animation-delay: 0.42s; animation-duration: 2.0s; }
.hero-logo:hover .logo-mark .bar {
    animation-play-state: paused;
    transform: scaleY(0.08) !important;
    opacity: 0.2;
    background: #444 !important;
    transition:
        transform  0.18s cubic-bezier(0.4,0,0.2,1),
        opacity    0.18s ease,
        background 0.12s ease;
}
.hero-logo:hover .logo-mark .bar:nth-child(1) { transition-delay: 0s; }
.hero-logo:hover .logo-mark .bar:nth-child(2) { transition-delay: 0.04s; }
.hero-logo:hover .logo-mark .bar:nth-child(3) { transition-delay: 0.08s; }
.hero-logo:hover .logo-mark .bar:nth-child(4) { transition-delay: 0.12s; }
.hero-logo:hover .logo-mark .bar:nth-child(5) { transition-delay: 0.16s; }
.hero-logo:hover .logo-mark .bar:nth-child(6) { transition-delay: 0.20s; }
.hero-logo:hover .logo-mark .bar:nth-child(7) { transition-delay: 0.24s; }
.logo-mark::after {
    content: 'NO SIGNAL';
    position: absolute;
    top: 50%;
    left: 72%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 0.4rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease 0.28s;
    z-index: 10;
}
.hero-logo:hover .logo-mark::after {
    opacity: 1;
    transform: translateX(-50%);
}
.logo-mark-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #333;
    vertical-align: middle;
    margin-left: 8px;
    flex-shrink: 0;
}
.bottom-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;

  display: flex;
  justify-content: center;

  background: rgba(18,16,20,0.96);
  border-top: 1px solid #282828;
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.6);
  z-index: 9999;
}
.bottom-player-inner {
  width: 100%;
  max-width: 1400px;

  display: grid;
  align-items: center;
  gap: 24px;
  padding: 0 28px;

  grid-template-columns:
    64px          
    240px         
    1fr           
    220px         
    160px;        
}
.ap-col {
  display: flex;
  align-items: center;
  min-width: 0;
}
.ap-col-artwork {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-artwork {
  width: 72px;
  height: 72px;
  background: #222;
  overflow: hidden;
}
.ap-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-col-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-col-brand:hover {
  opacity: 1;
}
.ap-col-waveform {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  align-self: stretch; 
}
.ap-col-waveform .ap-waveform-wrap {
  width: 100% !important;
  flex: 1 1 100%;
  min-width: 0;
}
.bottom-player .logo-mark {
  height: 18px;
}
.bottom-player .logo-mark .bar {
  animation-name: logo-wave-small;
}
.ap-track-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ap-track-title,
.ap-track-sub,
.ap-track-extra {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ap-track-title {
  color: var(--accent);
}
.bottom-player.is-playing .ap-icon-play {
  display: none;
}
.bottom-player.is-playing .ap-icon-pause {
  display: inline;
}
.ap-track-sub {
  color: white;
}
.ap-track-extra {
  color: var(--accent);
}
.ap-col-track {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.ap-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}
.ap-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}
.ap-time-row {
  font-size: 0.7rem;
  color: #aaa;
}
.ap-waveform-wrap {
  position: relative;   
  height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ap-time-overlay {

position:absolute;
right:12px;
bottom:6px;

font-family:var(--font-mono);
font-size:0.65rem;
letter-spacing:0.1em;

color:#ffffff;

background:rgba(0,0,0,0.65);

padding:3px 8px;

border-radius:6px;

backdrop-filter:blur(4px);

pointer-events:none;

}
#ap-waveform {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.ap-col-controls input[type="range"] {
  width: 120px;
  justify-content: flex-start;
  gap: 12px;
}
.ap-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.ap-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
.ap-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  animation: playBtnPulse 2.4s ease-in-out infinite;
}
.ap-play-btn:hover {
  transform: scale(1.08);
  animation: none;
}
.bottom-player.is-playing .ap-play-btn {
  animation: none;
}
.ap-icon-pause {
  display: none;
}
.bottom-player.is-playing .ap-icon-play {
  display: none;
}
.bottom-player.is-playing .ap-icon-pause {
  display: inline;
}
.ap-icon-play {
  display: inline;
}
.ap-icon-play,
.ap-icon-pause {
  color: #000 !important;
}
#ap-volume,
#cdp-volume {
  -webkit-appearance: none;
  appearance: none;

  width: 80px;
  height: 4px;

  overflow: visible;

  background: linear-gradient(
      to right,
      var(--accent) 0%,
      var(--accent) var(--vol),
      rgba(255,255,255,0.15) var(--vol),
      rgba(255,255,255,0.15) 100%
  );

  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
#ap-volume::-webkit-slider-runnable-track,
#cdp-volume::-webkit-slider-runnable-track {
  height: 4px;

  background: linear-gradient(
      to right,
      var(--accent) 0%,
      var(--accent) var(--vol, 50%),
      rgba(255,255,255,0.15) var(--vol, 50%),
      rgba(255,255,255,0.15) 100%
  );

  border-radius: 4px;
}
#ap-volume::-webkit-slider-thumb,
#cdp-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;

  height: 18px;
  width: 18px;

  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;

  margin-top: -7px;

  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
#ap-volume::-webkit-slider-thumb:hover,
#cdp-volume::-webkit-slider-thumb:hover {
  transform: scale(1.7);
}
#ap-volume:active::-webkit-slider-thumb,
#cdp-volume:active::-webkit-slider-thumb {
  transform: scale(2);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.9);
}
#ap-volume::-moz-range-track,
#cdp-volume::-moz-range-track {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
#ap-volume::-moz-range-progress,
#cdp-volume::-moz-range-progress {
  background: var(--accent);
  height: 4px;
  border-radius: 4px;
}
#ap-volume::-moz-range-thumb,
#cdp-volume::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}
.ap-loading {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  z-index: 20;
}
.ap-loading-bar {
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: apLoading 1.2s infinite ease-in-out;
}
.ap-brand-logo .cdaudio-wordmark-text {
  letter-spacing: -0.04em;
}
.ap-player-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  text-align: center;
  display: block;
  width: 100%;
}
.bottom-player .logo-mark {
  height: 1em;
  align-items: flex-end;
}
.ap-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   
  width: auto;           
}
.ap-brand-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3em;

  font-family: var(--font-display);
  font-weight: 900;

  font-size: 1.15rem; 
  line-height: 1;
}
.ap-brand-row .logo-mark {
    display: inline-flex;
    align-items: flex-end;
    height: 1em;
    min-height: 14px;   
}
.ap-brand-row .logo-mark .bar {
  width: 3px;
  height: 100%;
  min-height: 8px;
}
.cdp-footer {

display:flex;

justify-content:space-between;

align-items:center;

padding:8px 14px;

border-top:1px solid rgba(255,255,255,0.08);

margin-top:10px;

font-size:11px;

letter-spacing:.06em;

}
.cdp-footer-bars {
position:relative;
display:flex;
gap:4px;
align-items:center;
}
.cdp-footer-bars::after {

content:"Showreel";

position:absolute;
bottom:140%;
left:50%;

transform:translateX(-50%) translateY(4px);

font-family:var(--font-mono);
font-size:0.6rem;
letter-spacing:0.08em;
text-transform:uppercase;

color:#ffffff;

background:rgba(5,5,5,0.92);
border:1px solid rgba(255,255,255,0.18);
padding:4px 8px;

border-radius:3px;

white-space:nowrap;

opacity:0;
pointer-events:none;

backdrop-filter:blur(6px);

transition:
opacity .18s ease,
transform .18s ease;

z-index:20;
}
.cdp-footer-bars:hover::after {
opacity:1;
transform:translateX(-50%) translateY(0);
}
.cdp-footer-left {

display:flex;

align-items:center;

gap:10px;

}
.cdp-footer-brand {

opacity:.7;

font-weight:600;

}
.cdp-footer-right {

display:flex;

align-items:center;

gap:6px;

opacity:.7;

}
.cdp-powered {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cdp-soundcloud-logo {
    height: 24px;
    width: auto;
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(73%) sepia(40%) saturate(500%) hue-rotate(5deg) brightness(95%);
}
.cdplayer {
    background: var(--bg-panel, #1a1620);
    border: 1px solid #252525;
    border-radius: 12px;
    overflow: hidden;
    max-width: 820px;
    margin: 2rem auto 0;
    font-family: var(--font-mono);
    box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}
.cdp-stage {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #1e1e1e;
    background: linear-gradient(135deg, #161618 0%, #111214 100%);
}
.cdp-artwork {
    width: 140px;
    min-height: 120px;
    flex-shrink: 0;

    background: linear-gradient(135deg, #161618 0%, #111214 100%);
    border-right: 1px solid #1e1e1e;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 14px;
    gap: 3px;
    overflow: hidden;
    position: relative;
}
.cdp-eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 64px;
    width: 100%;
}
.cdp-eq span {
    flex: 1;
    background: var(--accent);
    border-radius: 1px 1px 0 0;
    transform-origin: bottom;
    opacity: 0.85;
}
.cdp-eq span:nth-child(1) { height:20%; animation: eq-bar 1.1s ease-in-out infinite 0.00s; }
.cdp-eq span:nth-child(2) { height:55%; animation: eq-bar 0.9s ease-in-out infinite 0.10s; }
.cdp-eq span:nth-child(3) { height:80%; animation: eq-bar 1.3s ease-in-out infinite 0.20s; }
.cdp-eq span:nth-child(4) { height:40%; animation: eq-bar 1.0s ease-in-out infinite 0.05s; }
.cdp-eq span:nth-child(5) { height:95%; animation: eq-bar 0.8s ease-in-out infinite 0.30s; }
.cdp-eq span:nth-child(6) { height:60%; animation: eq-bar 1.2s ease-in-out infinite 0.15s; }
.cdp-eq span:nth-child(7) { height:30%; animation: eq-bar 1.4s ease-in-out infinite 0.25s; }
.cdp-eq span:nth-child(8) { height:75%; animation: eq-bar 1.0s ease-in-out infinite 0.00s; }
.cdp-eq span:nth-child(9) { height:50%; animation: eq-bar 0.9s ease-in-out infinite 0.35s; }
.cdp-eq span:nth-child(10) { height:85%; animation: eq-bar 1.1s ease-in-out infinite 0.10s; }
.cdp-eq span:nth-child(11) { height:35%; animation: eq-bar 1.3s ease-in-out infinite 0.20s; }
.cdp-eq span:nth-child(12) { height:65%; animation: eq-bar 0.8s ease-in-out infinite 0.05s; }
.cdp-eq span:nth-child(13) { height:25%; animation: eq-bar 1.2s ease-in-out infinite 0.30s; }
.cdp-eq span:nth-child(14) { height:90%; animation: eq-bar 1.0s ease-in-out infinite 0.15s; }
.cdp-eq span:nth-child(15) { height:45%; animation: eq-bar 0.9s ease-in-out infinite 0.25s; }
.cdp-eq span:nth-child(16) { height:70%; animation: eq-bar 1.4s ease-in-out infinite 0.00s; }
.cdp-eq span:nth-child(17) { height:55%; animation: eq-bar 1.1s ease-in-out infinite 0.35s; }
.cdp-eq span:nth-child(18) { height:80%; animation: eq-bar 0.8s ease-in-out infinite 0.10s; }
.cdp-eq span:nth-child(19) { height:40%; animation: eq-bar 1.3s ease-in-out infinite 0.20s; }
.cdp-eq span:nth-child(20) { height:60%; animation: eq-bar 1.0s ease-in-out infinite 0.30s; }
.cdplayer.is-paused .cdp-eq span {
    animation-play-state: paused;
    transform: scaleY(0.1) !important;
    opacity: 0.15 !important;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.cdp-meta {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}
.cdp-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    opacity: 0.7;
}
.cdp-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.cdp-artist {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-grey);
    text-transform: uppercase;
}
.cdp-track-count {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    margin-top: 2px;
}
.cdp-waveform-wrap {
    position: relative;
    width: 100%;
    padding: 12px 24px;     
    display: block;
    border-bottom: 1px solid #1e1e1e;
    cursor: pointer;
    box-sizing: border-box;
}
#cdp-waveform {
    display: block;
    width: 100%;
    height: 48px;           
    opacity: 0.85;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}
.cdp-waveform-wrap:hover #cdp-waveform { opacity: 1; }
.cdp-waveform-time {
    position: absolute;
    right: 12px;
    bottom: 8px;
    z-index: 10;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(0,0,0,0.72);
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}
.cdp-time-sep { color: var(--text-grey); }
.cdp-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 24px;
    border-bottom: 1px solid #1e1e1e;
    background: rgba(0,0,0,0.2);
}
.cdp-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    transition: color 0.2s ease, transform 0.15s ease;
    padding: 0;
}
.cdp-btn:hover { color: var(--accent); transform: scale(1.1); }
.cdp-btn:active { transform: scale(0.95); }
.cdp-btn--sm svg { width: 22px; height: 22px; }
.cdp-btn--lg {
    width: 48px; height: 48px;
    background: var(--accent);
    color: #050505;
    border-radius: 50%;
    animation: playBtnPulse 2.4s ease-in-out infinite;
}
.cdp-btn--lg:hover { background: #fff; color: #050505; animation: none; }
.cdp-btn--lg svg { width: 26px; height: 26px; }
.cdp-player.is-playing .cdp-btn--lg,
.bottom-player.is-playing .cdp-btn--lg { animation: none; }
.cdp-play-ring-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdp-progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}
.cdp-ring-track {
    fill: none;
    stroke: rgba(255,255,255,0.08);
    stroke-width: 3;
}
.cdp-ring-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.4s linear;
    opacity: 0;
}
.cdp-player.is-playing .cdp-ring-fill { opacity: 1; }
.cdp-tracklist-loading {
    padding: 20px;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-grey);
    text-transform: uppercase;
}
.cdp-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #141414;
    border-left: 2px solid transparent;
    transition: background 0.15s ease, transform 0.12s ease;
}
.cdp-track:hover {
    background: #161616;
    transform: translateX(3px);
}
.cdp-track:last-child { border-bottom: none; }
.cdp-track.is-active {
    background: #161616;
    box-shadow:
        inset 3px 0 0 var(--accent),
        0 0 20px rgba(var(--accent-rgb), 0.05);
}
.cdp-track:hover .cdp-track-note {
    color: rgba(255,255,255,0.75);
}
.cdp-track-art {
    width: 36px;
    height: 36px;
    border-radius: 2px;
    flex-shrink: 0;
    object-fit: cover;
}
.cdp-track-art--blank {
    background: #222;
}
.cdp-track.is-active .cdp-track-num { color: var(--accent); }
.cdp-track-info { flex:1; min-width:0; }
.cdp-track-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cdp-track.is-active .cdp-track-name { color: var(--accent); }
.cdp-track-dur {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--text-grey);
    flex-shrink: 0;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .bottom-player {
        display: flex !important;
        height: 84px !important;
    }
  .bottom-player-inner {
        display: grid !important;
        grid-template-columns: 56px minmax(0, 180px) 1fr auto !important;
        grid-template-rows: 1fr !important;
        gap: 0 14px !important;
        padding: 0 20px !important;
        align-items: center !important;
        height: 84px !important;
    }
  .ap-col-artwork {
        display: flex !important;
        width: 52px !important;
        height: 52px !important;
        flex-shrink: 0;
    }
  .ap-col-artwork img,
    .ap-col-artwork .ap-artwork {
        width: 52px !important;
        height: 52px !important;
        object-fit: cover;
        border-radius: 4px;
    }
  .ap-col-track { display: flex !important; min-width: 0 !important; }
  .ap-col-waveform {
        display: flex !important;
        min-width: 0 !important;
        overflow: hidden;
    }
  .ap-col-waveform .ap-waveform-wrap { width: 100% !important; }
  .ap-col-controls { display: flex !important; flex-shrink: 0; }
  .ap-col-brand { display: none !important; }
}
@media (min-width: 1025px) {
  .bottom-player { display: flex !important; height: 84px !important; }
  .bottom-player-inner {
        grid-template-columns: 64px 240px 1fr 220px 160px !important;
        height: 84px !important;
    }
  .ap-col-waveform,
    .ap-col-brand { display: flex !important; }
}
@media (max-width: 768px) {
  .ap-body {
        padding: 10px 12px;
    }
  .ap-waveform-wrap:hover #ap-waveform {
  opacity: 1;
    }
}
.cdp-tracklist {
    max-height: 440px;
    overflow-y: auto;
    padding: 8px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a transparent;
}
.cdp-tracklist::-webkit-scrollbar { width: 3px; }
.cdp-tracklist::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }
.cdp-group {
    margin-bottom: 4px;
}
.cdp-track-section-title {

    font-family: var(--font-hero);

    font-size: clamp(1.35rem, 1.6vw, 1.65rem);

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #ffffff;

    margin: 0;

}
.cdp-track-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.08), transparent);
}
.cdp-track-section-description {

    font-size: 0.88rem;
    line-height: 1.55;

    color: rgba(255,255,255,0.55);

    max-width: 520px;

}
.cdp-track-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 0;
    padding: 0 20px;
    min-height: 52px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
    transition: background 0.18s ease;
}
.cdp-track-item:last-child { border-bottom: none; }
.cdp-track-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.04);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}
.cdp-track-item:hover::before { opacity: 1; }
.cdp-track-item::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
.cdp-track-item.active::after { transform: scaleY(1); }
.cdp-track-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    text-align: center;
    line-height: 1;
    transition: opacity 0.15s ease;
    position: relative;
}
.cdp-track-num .num-label {
    color: rgba(255,255,255,0.45);
    transition: opacity 0.15s ease, color 0.18s ease;
}
.cdp-track-item.active .num-label {
    color: var(--accent);
}
.cdp-track-num .play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s ease; }
.cdp-track-num .play-icon svg { width: 14px; height: 14px; fill: var(--accent); }
.cdp-track-item:hover .cdp-track-num .num-label { opacity: 0; }
.cdp-track-item:hover .cdp-track-num .play-icon { opacity: 1; }
.cdp-track-item.active  .cdp-track-num .num-label { opacity: 0; }
.cdp-track-item.active  .cdp-track-num .play-icon { opacity: 1; }
.cdp-track-item.active  .cdp-track-num .play-icon svg { fill: var(--accent); }
.cdp-track-item:hover .cdp-track-title {
    color: #ffffff;
}
.cdp-track-item.active .mini-play {
    display:none;
}
.cdp-track-item.active .mini-pause {
    display:inline;
}
.cdp-track-title {

    display: flex;
    flex-direction: column;

    transition: color 0.18s ease;

}
.cdp-track-section:hover .cdp-track-section-description {
    color: rgba(255,255,255,0.85);
}
.cdp-track-section-header {

    padding-left: 60px;

    margin-top: 26px;
    margin-bottom: 14px;

    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;

    display: flex;
    flex-direction: column;
    gap: 6px;

}
.cdp-track-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
    padding-right: 12px;
}
.cdp-track-item:hover .cdp-track-name { color: #fff; }
.cdp-track-item.active .cdp-track-name { color: var(--accent); }
.cdp-track-dur {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.25);
    text-align: right;
    flex-shrink: 0;
    transition: color 0.18s ease;
}
.cdp-track-item:hover .cdp-track-dur { color: rgba(255,255,255,0.5); }
.cdp-track-item.active .cdp-track-dur { color: var(--accent); opacity: 0.7; }
.cdp-track-note {

    font-size: 0.82rem;
    line-height: 1.45;

    color: rgba(255,255,255,0.55);

    margin-top: 4px;

    max-width: 540px;

    letter-spacing: 0.01em;

}
.cdp-ripple {
    position: absolute;
    border-radius: 50%;
    width: 60px; height: 60px;
    background: rgba(var(--accent-rgb), 0.15);
    pointer-events: none;
    animation: cdp-ripple 0.5s ease-out forwards;
    transform-origin: center;
    margin-left: -30px;
    margin-top: -30px;
}
.cdp-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    background: rgba(0,0,0,0.25);
    padding: 0 8px;
}
.cdp-tab-indicator { display: none; }
.cdp-tabs .cdp-tab {
    display: flex;
    flex: 1 1 0%;
    min-width: 0;

    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.2;

    padding: 10px 14px;
    margin: 5px 4px;

    font-family: var(--font-display);
    font-size: clamp(0.62rem, 1.2vw, 0.8rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;

    background: #000;
    border: none;
    border-radius: 6px;

    color: #ffffff;
    cursor: pointer;

    border-bottom: 3px solid transparent;

    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cdp-tabs .cdp-tab:hover {
    background: var(--accent);
    color: #000;
    border-bottom-color: transparent;
}
.cdp-tabs .cdp-tab.active {
    background: #000;
    color: #ffffff;
    border-bottom: 3px solid var(--accent);
}
@media (max-width: 900px) {
  .cdp-tabs { padding: 0 2px; }
  .cdp-tabs .cdp-tab {
        padding: 10px 6px;
        font-size: clamp(0.55rem, 1.4vw, 0.72rem);
    }
}
@media (max-width: 767px) {
  .cdp-tabs {
        flex-wrap: wrap;
        justify-content: center;
        padding: 4px 4px 0;
        gap: 4px;
        border-bottom: none;
    }
  .cdp-tabs .cdp-tab {
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: clamp(0.62rem, 3vw, 0.74rem);
        margin: 0 0 4px;
        border-bottom: 3px solid transparent;
    }
  .cdp-tabs .cdp-tab.active {
        border-bottom: 3px solid var(--accent);
    }
}
.cdp-tab {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--text-white);

    padding: 10px 14px;
    border-bottom: 2px solid transparent;

    transition: color 0.25s ease, border-color 0.25s ease;
}
.ap-scrub-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    opacity: 0;
    pointer-events: none;
}
.ap-waveform-wrap:hover .ap-scrub-indicator {
    opacity: 0.7;
}
.ap-time-preview {
    position: absolute;
    top: -18px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    letter-spacing: 0.1em;
}
.bottom-player.is-playing .ap-play-btn {
    animation: play-pulse 1.8s infinite;
}
.bottom-player.is-playing #ap-waveform {
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.35));
}
.showreel-note::before {

    content: "Production Note";

    display: block;

    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: rgba(var(--accent-rgb), 0.7);

    margin-bottom: 6px;

}
#showreel .cdp-player {
margin-top: 4px;
}
.showreel-note {

max-width:560px;

margin-top:18px;
margin-bottom:26px;

padding-left:14px;

border-left:2px solid var(--accent);

font-size:0.9rem;
line-height:1.65;

color:rgba(255,255,255,0.72);

}
.showreel-note p {

margin-bottom:12px;

}
.showreel-note p:last-child {

color:rgba(255,255,255,0.85);

}
@media (max-width: 768px) {
  .bottom-player {
  display: flex !important;
  height: 72px;
  position: fixed;
  overflow: visible;
}
  .bottom-player::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: var(--ap-progress, 0%);
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  transition: width 0.25s linear;
  z-index: 10;
  pointer-events: none;
}
  .bottom-player-inner {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  height: 72px;
  grid-template-columns: unset;
}
  .ap-col-artwork {
  display: flex !important;
  width: 46px !important;
  height: 46px !important;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s ease;
}
  .ap-col-artwork img,
.ap-col-artwork .ap-artwork {
  width: 46px !important;
  height: 46px !important;
  object-fit: cover;
  border-radius: 6px;
}
  .bottom-player.is-playing .ap-col-artwork {
  box-shadow: 0 0 0 1.5px var(--accent), 0 2px 16px rgba(var(--accent-rgb), 0.18);
}
  .ap-col-waveform,
.ap-col-brand {
  display: none !important;
}
  .ap-col-track {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
  .ap-track-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: #fff;
}
  .ap-track-title.is-scrolling {
  overflow: visible;
  text-overflow: clip;
  animation: ap-track-scroll 6s ease-in-out infinite;
}
  .ap-track-sub {
  display: block !important;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
  .ap-track-extra {
  display: none;
}
  .ap-col-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
  .ap-btn {
  background: transparent;
  border: none;
  color: var(--text-grey);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: color 0.2s ease;
  padding: 0;
}
  .ap-btn:hover { color: #fff; }
  .ap-play-btn {
  background: var(--accent) !important;
  color: #111 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  font-size: 0.85rem !important;
}
  .ap-play-btn .ap-icon-play,
.ap-play-btn .ap-icon-pause {
  color: #111 !important;
}
  .ap-play-btn:hover {
  background: #fff !important;
}
  #ap-volume { display: none; }
}
#ap-artwork-img[src=""],
#ap-artwork-img:not([src]) {
  opacity: 0;
}
@media (min-width: 481px) and (max-width: 768px) {
  .bottom-player { height: 72px !important; }
  .bottom-player-inner { height: 72px !important; }
  .ap-col-artwork { width: 48px !important; height: 48px !important; }
  .ap-col-artwork img, .ap-col-artwork .ap-artwork { width: 48px !important; height: 48px !important; }
}
.cdp-track-item {
    animation: track-row-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--stagger, 0s);
}
/* ── Media section layout ── */
#media .media-note{ font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-muted); }
#media .media-hold{ margin: 28px 0 0; min-height: 180px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-panel); }
#media .cdplayer{ max-width: none; margin-top: 28px; }
#media .media-sub{ font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); margin: 56px 0 18px; color: var(--ink); }
#media .media-link{ color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(232,163,77,0.35); }
#media .media-link:hover{ color: var(--amber); }
#media .quote-grid{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 28px; }
#media .quote-grid .verse{ margin: 0; }
#media .quote-lead{ grid-column: 1 / -1; }
#media .quote-lead p{ font-size: clamp(26px, 4vw, 38px); }
@media (max-width: 760px){ #media .quote-grid{ grid-template-columns: 1fr; } }

/* footer player brand link: keep the wordmark in palette */
.bottom-player .ap-player-link{ color: inherit; text-decoration: none; }
.bottom-player .cdaudio-wordmark-text{ color: var(--ink); text-decoration: none; }
.bottom-player .logo-d{ color: var(--amber); }
.bottom-player .ap-player-tagline{ color: var(--ink-muted); }

/* ════════════════════════════════════════════════════════════
   SITE SKIN — makes both players match chrisdemetriou.com:
   flat panels, 1px hairlines, 2px corners, no glows,
   Space Mono labels · Fraunces titles · Work Sans body · amber accent.
   ════════════════════════════════════════════════════════════ */

/* ── Main player shell ── */
#cdplayer{
  background: var(--bg-panel) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transform: none !important;           /* drop the 3-D hover tilt */
  font-family: var(--font-body);
  max-width: none;
}
#cdplayer *{ box-shadow: none; text-shadow: none; }

/* now playing */
#cdplayer .cdp-stage{ background: transparent !important; border-bottom: 1px solid var(--line) !important; gap: 22px; padding: 20px 22px; }
#cdplayer .cdp-artwork{ background: var(--bg) !important; border: 1px solid var(--line) !important; border-radius: 2px !important; }
#cdplayer .cdp-artwork img{ border-radius: 0 !important; }
#cdplayer .cdp-eq span{ background: var(--amber) !important; opacity: .75; border-radius: 0 !important; }
#cdplayer .cdp-label{ font-family: var(--font-mono) !important; font-size: 10.5px !important; letter-spacing: .16em !important; color: var(--amber) !important; }
#cdplayer .cdp-title{
  font-family: var(--font-display) !important; font-weight: 500 !important;
  text-transform: none !important; letter-spacing: -0.01em !important;
  font-size: clamp(20px, 2.6vw, 28px) !important; line-height: 1.2 !important; color: var(--ink) !important;
}
#cdplayer .cdp-artist, #cdplayer .cdp-track-count{
  font-family: var(--font-mono) !important; font-size: 10.5px !important;
  letter-spacing: .16em !important; text-transform: uppercase; color: var(--ink-muted) !important;
}

/* waveform */
#cdplayer .cdp-waveform-wrap{ background: transparent !important; border-bottom: 1px solid var(--line) !important; }
#cdplayer .cdp-waveform-time{
  background: transparent !important; border: 0 !important;
  font-family: var(--font-mono) !important; font-size: 10.5px !important; color: var(--ink-muted) !important;
}

/* controls */
#cdplayer .cdp-controls{ background: transparent !important; border-bottom: 1px solid var(--line) !important; }
#cdplayer .cdp-btn{ color: var(--ink-muted) !important; background: transparent !important; border-radius: 2px !important; }
#cdplayer .cdp-btn:hover{ color: var(--ink) !important; }
#cdplayer .cdp-btn--lg{
  background: var(--amber) !important; color: #17110a !important;
  border-radius: 50% !important; animation: none !important;
}
#cdplayer .cdp-btn--lg:hover{ background: #f2b264 !important; }
#cdplayer .cdp-ring-track{ stroke: var(--line-strong) !important; }
#cdplayer .cdp-ring-fill{ stroke: var(--amber) !important; filter: none !important; }

/* volume sliders (both players) */
#cdp-volume, #ap-volume{ accent-color: var(--amber); }
#cdp-volume::-webkit-slider-thumb, #ap-volume::-webkit-slider-thumb{ box-shadow: none !important; border: 0 !important; background: var(--ink) !important; }
#cdp-volume::-moz-range-thumb, #ap-volume::-moz-range-thumb{ box-shadow: none !important; border: 0 !important; background: var(--ink) !important; }

/* category tabs: same treatment as the site's credit tabs / nav — mono, underline for active */
#cdplayer .cdp-tabs{
  background: transparent !important; border-bottom: 1px solid var(--line) !important;
  gap: 0 24px !important; padding: 0 22px !important; flex-wrap: wrap; justify-content: flex-start !important;
}
#cdplayer .cdp-tab{
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  font-family: var(--font-mono) !important; font-weight: 400 !important;
  font-size: 10.5px !important; letter-spacing: .16em !important; text-transform: uppercase;
  color: var(--ink-muted) !important; padding: 14px 0 12px !important; flex: 0 0 auto !important;
  border-bottom: 2px solid transparent !important; min-width: 0 !important; width: auto !important;
}
#cdplayer .cdp-tab:hover{ color: var(--ink) !important; }
#cdplayer .cdp-tab.active{ color: var(--amber) !important; border-bottom-color: var(--amber) !important; }
#cdplayer .cdp-tab::before, #cdplayer .cdp-tab::after, #cdplayer .cdp-tab-indicator{ display: none !important; }

/* tracklist: reads like the site's data tables */
#cdplayer .cdp-tracklist{ background: transparent !important; }
#cdplayer .cdp-track-section-header{ background: transparent !important; border-bottom: 1px solid var(--line-strong) !important; padding: 18px 22px 9px !important; }
#cdplayer .cdp-track-section-title{
  font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 10px !important;
  letter-spacing: .14em !important; text-transform: uppercase; color: var(--ink-muted) !important;
}
#cdplayer .cdp-track-section-description{ font-family: var(--font-body) !important; font-size: .82rem !important; color: var(--ink-muted) !important; text-transform: none !important; letter-spacing: 0 !important; }
#cdplayer .cdp-track-item{
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important; padding: 11px 22px !important; animation: none !important;
}
#cdplayer .cdp-track-item:hover{ background: rgba(237,230,221,0.02) !important; }
#cdplayer .cdp-track-item.active{ background: rgba(232,163,77,0.05) !important; box-shadow: inset 2px 0 0 var(--amber) !important; }
#cdplayer .cdp-track-num, #cdplayer .cdp-track-dur{ font-family: var(--font-mono) !important; font-size: 11px !important; color: var(--ink-muted) !important; }
#cdplayer .cdp-track-name{ font-family: var(--font-body) !important; font-weight: 400 !important; font-size: .89rem !important; color: var(--ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
#cdplayer .cdp-track-item.active .cdp-track-name{ color: var(--amber) !important; }
#cdplayer .cdp-track-note{ font-family: var(--font-body) !important; font-size: .78rem !important; color: var(--ink-muted) !important; text-transform: none !important; }
#cdplayer .play-icon{ color: var(--amber) !important; fill: var(--amber) !important; }
#cdplayer .cdp-tracklist-loading{ font-family: var(--font-mono) !important; color: var(--ink-muted) !important; }
#cdplayer .cdp-ripple{ display: none !important; }

/* credit line */
#cdplayer .cdp-footer{ background: transparent !important; border-top: 0 !important; padding: 12px 22px !important; }
#cdplayer .cdp-footer-bars{ display: none !important; }
#cdplayer .cdp-powered{ font-family: var(--font-mono) !important; font-size: 10px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted) !important; display: inline-flex; align-items: center; gap: 8px; }
#cdplayer .cdp-soundcloud-logo{ height: 14px !important; width: auto !important; opacity: .7; filter: grayscale(1) brightness(1.6); }

/* ── Footer mini player ── */
#bottom-player{
  background: rgba(18,16,20,0.96) !important;
  border-top: 1px solid var(--line-strong) !important;
  box-shadow: none !important;
  font-family: var(--font-body);
}
#bottom-player .bottom-player-inner{ max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px) !important; gap: 20px !important; }
#bottom-player .ap-loading-bar{ background: var(--amber) !important; box-shadow: none !important; }
#bottom-player .ap-artwork{ border-radius: 2px !important; border: 1px solid var(--line) !important; background: var(--bg-panel) !important; overflow: hidden; }
#bottom-player .ap-artwork img{ border-radius: 0 !important; }
#bottom-player .ap-track-title{
  font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 15px !important;
  text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important;
}
#bottom-player .ap-track-sub, #bottom-player .ap-track-extra{
  font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 10px !important;
  letter-spacing: .14em !important; text-transform: uppercase; color: var(--ink-muted) !important;
}
#bottom-player .ap-time-overlay{ background: transparent !important; border: 0 !important; font-family: var(--font-mono) !important; font-size: 10.5px !important; color: var(--ink-muted) !important; }
#bottom-player .ap-btn{ color: var(--ink-muted) !important; background: transparent !important; border: 0 !important; }
#bottom-player .ap-btn:hover{ color: var(--ink) !important; }
#bottom-player .ap-play-btn{ background: var(--amber) !important; color: #17110a !important; border-radius: 50% !important; animation: none !important; box-shadow: none !important; }
#bottom-player .ap-play-btn:hover{ background: #f2b264 !important; }
#bottom-player .cdaudio-wordmark-text{ font-family: var(--font-mono) !important; font-weight: 400 !important; font-size: 12px !important; letter-spacing: .18em !important; color: var(--ink) !important; }
#bottom-player .logo-d{ color: var(--amber) !important; }
#bottom-player .logo-mark .bar{ background: var(--amber) !important; opacity: .7; border-radius: 0 !important; }
#bottom-player .ap-player-tagline{ font-family: var(--font-mono) !important; font-size: 9px !important; letter-spacing: .2em !important; color: var(--ink-muted) !important; }

/* gate panel: same box as the site's other embed holds */
#media .media-hold{ border-radius: 0 !important; border: 1px solid var(--line-strong) !important; }
#cdplayer .cdp-tracklist{ padding: 0 !important; }
#cdplayer .cdp-group{ margin: 0 !important; padding: 0 !important; }
@media (max-width: 600px){
  #cdplayer .cdp-stage{ padding: 16px !important; gap: 14px !important; align-items: center; }
  #cdplayer .cdp-artwork{ width: 72px !important; height: 72px !important; min-width: 72px !important; flex: 0 0 72px !important; }
  #cdplayer .cdp-title{ white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font-size: 19px !important; }
  #cdplayer .cdp-tabs{ padding: 0 16px !important; gap: 0 18px !important; }
  #cdplayer .cdp-track-item{ padding: 11px 16px !important; }
  #cdplayer .cdp-track-section-header{ padding: 16px 16px 9px !important; }
}

/* ── Footer brand lockup: CHRISD over PLAYER, wave bars spanning both lines ── */
#bottom-player .ap-brand{
  display: grid !important;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 3px;
  align-items: center;
  justify-content: center;
}
#bottom-player .ap-brand-row{ display: contents !important; }
#bottom-player .cdaudio-wordmark-text{ grid-column: 1; grid-row: 1; line-height: 1 !important; margin: 0 !important; }
#bottom-player .ap-player-tagline{
  grid-column: 1; grid-row: 2;
  display: flex !important; justify-content: space-between;
  width: 100% !important; letter-spacing: 0 !important; line-height: 1 !important; margin: 0 !important;
}
#bottom-player .logo-mark{
  grid-column: 2; grid-row: 1 / 3;
  align-self: stretch;
  height: auto !important; min-height: 22px;
  margin: 0 !important; gap: 3px;
}
#bottom-player .logo-mark::after{ display: none !important; }
#bottom-player .cdaudio-wordmark-text{ margin-right: -0.18em !important; }
#bottom-player .ap-player-tagline{ width: 0 !important; min-width: 100% !important; }
#bottom-player .ap-player-tagline{ padding-right: 3px; box-sizing: border-box; }

/* lockup v2: col 1 = CHRISD over PLAYER, both centred and the same width; col 2 = wave bars */
#bottom-player .ap-brand{ justify-items: center !important; }
#bottom-player .cdaudio-wordmark-text{
  margin-right: 0 !important;
  padding-left: 0.18em !important;   /* balances the trailing letter-spacing so the word sits centred */
  text-align: center !important;
  justify-self: center !important;
}
#bottom-player .ap-player-tagline{
  justify-self: stretch !important;
  padding: 0 2px !important;          /* same side inset as the wordmark */
  text-align: center !important;
}

/* wave bars: grow from their middle so the icon sits on col 1's centre line */
#bottom-player .logo-mark{ align-items: center !important; }
#bottom-player .logo-mark .bar{ transform-origin: center center !important; }

/* Cookie notice sits above the footer player, never underneath it */
body.cd-player-on .cookie-banner{ z-index: 10001; }

/* ── Worship: latest YouTube covers as linked thumbnails (no embed, no bot check) ── */
.yt-latest{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yt-latest .yt-label{ grid-column: 1 / -1; margin: 0; }
.yt-card{ display: block; text-decoration: none; color: var(--ink); }
.yt-card--lead{ grid-column: 1 / -1; }
.yt-thumb{ position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-panel); }
.yt-thumb img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; opacity: .9; }
.yt-card:hover .yt-thumb img{ transform: scale(1.03); opacity: 1; }
.yt-play{ position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--amber); }
.yt-play::after{ content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid #17110a; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.yt-card:not(.yt-card--lead) .yt-play{ width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.yt-card:not(.yt-card--lead) .yt-play::after{ left: 11px; top: 8px; border-left-width: 10px; border-top-width: 7px; border-bottom-width: 7px; }
.yt-meta{ display: block; padding-top: 8px; }
.yt-title{ display: block; font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.3; }
.yt-card:not(.yt-card--lead) .yt-title{ font-size: .88rem; }
.yt-sub{ display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 3px; }
.yt-card:hover .yt-title{ color: var(--amber); }
.yt-all{ grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(232,163,77,.35); justify-self: start; padding-bottom: 2px; }

/* Keyboard focus on the volume sliders must show (the outline:none above hides it) */
#ap-volume:focus-visible, #cdp-volume:focus-visible{ outline: 2px solid var(--amber, #e8a34d); outline-offset: 3px; }
