/* Theme */
html, body { height: 100%; margin: 0; }
body { background: #3804a5; color: #F7FFFA; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial; }
body.theme-gallery { background: #171848 url("../images/spiriletics-bg.jpg") no-repeat center/cover fixed; }


.site-header { background:#3804a5 !important; color:#F7FFFA; padding:18px 24px; border-bottom:1px solid rgba(255,255,255,.25); }
.header-inner { display:flex; align-items:center; justify-content:center; position:relative; min-height:80px; }
.logo-link { position:absolute; left:20px; top:50%; transform:translateY(-50%); line-height:0; }
.site-logo { height:48px; width:auto; max-width:180px; object-fit:contain; }
@media (max-width:768px){ .site-logo{height:38px; left:10px;} }


.site-footer { background:#3804a5 !important; color:#F7FFFA; padding:24px 16px; text-align:center; }


.player-shell{max-width:1000px;margin:22px auto 60px;padding:0 16px;display:grid;gap:22px}
.status{background:linear-gradient(135deg, rgba(46,57,214,.15), rgba(24,224,168,.10));border:1px solid rgba(255,255,255,.08);padding:14px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pill{padding:8px 12px;border-radius:999px;background:#3a3f55;color:#0c0f14;font-weight:700}
.pill.live{background:#18e0a8;box-shadow:0 0 18px rgba(24,224,168,.6),0 0 2px rgba(24,224,168,1)}
.player{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:16px}
#playerSlot video,#playerSlot audio{width:100%;max-height:65vh;display:block;border-radius:10px;background:rgba(0,0,0,.25);object-fit:contain}
.transport{display:grid;grid-template-columns:auto auto 1fr auto;gap:10px;align-items:center;margin-top:12px}
.btn{appearance:none;border:none;padding:10px 14px;border-radius:10px;cursor:pointer;font-weight:700;background:linear-gradient(180deg, rgba(0,1,154,.25), rgba(46,57,214,.2));color:#fff}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.35)}
.meta{margin-top:10px}
.track-title{font-size:18px;font-weight:700}
.track-artist{opacity:.85}
.track-desc{margin:.4rem 0 .6rem}
.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin:.3rem 0 .6rem}
.tag{padding:6px 10px;border-radius:999px;font-weight:600;font-size:.85rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15)}
.more-share{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.more-link{font-weight:700;text-decoration:none;border-bottom:1px dashed rgba(255,255,255,.5);padding-bottom:2px}
.share{display:flex;gap:8px}
.share-btn{min-width:36px;min-height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;font-weight:800;cursor:pointer}
.share-row{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 6px}


/* Lightbox */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:flex;justify-content:center;align-items:center;z-index:10000}
.lightbox.hidden{display:none}
.lightbox-content{position:relative;max-width:90%;max-height:90%}
.lightbox-content video{width:100%;height:auto;border-radius:8px;box-shadow:0 0 30px rgba(0,0,0,.6)}
.close-lightbox{position:absolute;top:-14px;right:-14px;background:#00019A;color:#fff;border:0;border-radius:50%;font-size:22px;width:36px;height:36px;cursor:pointer}
.close-lightbox:hover{background:#18e0a8}



/* Lightbox sizing & stacking */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.lightbox.hidden { display: none; }

.lightbox-content {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  max-height: 90vh;
}

.lightbox-content video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
}

.close-lightbox {
  position: absolute;
  top: -14px;
  right: -14px;
  background: #00019A;
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}
.close-lightbox:hover { background: #18e0a8; }



/* Inline video preview box (inside .player) */
.player .video-frame,
.player #lightboxVideo {
  width: 100%;
  max-height: 56.25vw; /* 16:9 responsive cap */
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
}

/* Lightbox sizing */
.lightbox {
  position: fixed; inset: 0; display: flex; justify-content: center; align-items: center;
  background: rgba(0,0,0,.85); z-index: 10000;
}
.lightbox.hidden { display: none; }
.lightbox-content { position: relative; width: 90vw; max-width: 1200px; max-height: 90vh; }
.lightbox-content #lightboxVideo { width: 100%; max-height: 90vh; object-fit: contain; }

/* Close button */
.close-lightbox {
  position: absolute; top: -14px; right: -14px; width: 36px; height: 36px;
  border-radius: 50%; border: 0; cursor: pointer; font-size: 22px;
  background:#00019A; color:#fff;
}
.close-lightbox:hover { background:#18e0a8; }

/* Hide download button in some UAs (controlsList does the main job) */
video::-webkit-media-controls-enclosure { overflow: hidden; }
video::-webkit-media-controls-download-button { display: none; }


/* Inline video preview & lightbox video */
.player #lightboxVideo { width:100%; display:block; border-radius:8px; background:#000; }
.lightbox { position:fixed; inset:0; display:flex; justify-content:center; align-items:center; background:rgba(0,0,0,.85); z-index:10000; }
.lightbox.hidden { display:none; }
.lightbox-content { position:relative; width:90vw; max-width:1200px; max-height:90vh; }
.lightbox-content #lightboxVideo { width:100%; max-height:90vh; object-fit:contain; }
.close-lightbox { position:absolute; top:-14px; right:-14px; width:36px; height:36px; border:0; border-radius:50%; background:#00019A; color:#fff; cursor:pointer; }

/* Hide download (older WebKit) */
video::-webkit-media-controls-enclosure { overflow: hidden; }
video::-webkit-media-controls-download-button { display: none; }


/* Inline video always has height (even before first frame) */
.player #lightboxVideo{
  width: 100%;
  aspect-ratio: 16 / 9;     /* >>> gives it real height <<< */
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  /* temp debug: uncomment to see the box
  outline: 2px dashed hotpink;
  */
}

/* Lightbox keeps proper sizing for big view */
.lightbox { position: fixed; inset: 0; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,.85); z-index: 10000; }
.lightbox.hidden { display: none; }
.lightbox-content { position: relative; width: 90vw; max-width: 1200px; max-height: 90vh; }
.lightbox-content #lightboxVideo { width: 100%; max-height: 90vh; object-fit: contain; }

/* Close button */
.close-lightbox { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #00019A; color: #fff; cursor: pointer; }

/* Hide download (older WebKit) */
video::-webkit-media-controls-enclosure { overflow: hidden; }
video::-webkit-media-controls-download-button { display: none; }



/* Program info display */
#programInfo {
  text-align: center;
  color: #fff;
  margin-top: 20px;
}
#trackTitle { font-size: 1.4em; font-weight: bold; margin-bottom: 5px; }
#trackArtist { font-style: italic; margin-bottom: 10px; }
#trackDesc { font-size: 1em; margin-bottom: 10px; }
#trackTags { margin-bottom: 10px; }
#trackTags .tag {
  background: #00019A;
  color: #fff;
  padding: 3px 8px;
  margin: 0 3px;
  border-radius: 5px;
  display: inline-block;
}
#trackLink {
  display: inline-block;
  background: #fff;
  color: #00019A;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  margin-right: 10px;
}
.btn-subscribe {
  background: #00019A;
  color: #fff;
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


             <!-- Program info -->
<div id="programInfo" class="program-actions">
  <!-- title/artist -->
  <h3 id="trackTitle" class="program-title" hidden>—</h3>
  <p id="trackArtist" class="program-artist" hidden>—</p>

  <!-- description + tags -->
  <p id="trackDesc" class="program-desc" hidden></p>
  <div id="trackTags" class="program-tags" hidden></div>

  <!-- buttons row -->
  <div class="program-buttons">
    <a id="trackLink" href="#" hidden target="_blank" rel="noopener" class="btn btn-ghost">Program details</a>
    <button id="subscribeBtn" class="btn btn-ghost">Subscribe</button>
  </div>
</div>

  
  /* Program info layout */
.program-actions{ text-align:center; color:#fff; margin-top:14px; }
.program-title{ margin:0 0 4px; font-size:1.05rem; font-weight:700; }
.program-artist{ margin:0 0 8px; opacity:.85; }
.program-desc{ margin:0 0 8px; }
.program-tags{ margin:0 0 10px; }
.program-tags .tag{
  background:#00019A; color:#fff; padding:3px 8px; margin:0 4px 4px; border-radius:6px; display:inline-block;
}

/* Buttons look like your other ghost buttons */
.btn-ghost{ background:transparent; border:1px solid #fff; color:#fff; padding:6px 12px; border-radius:5px; cursor:pointer; text-decoration:none; }
.btn-ghost:hover{ background:rgba(255,255,255,.18); }

/* Place “details” + “subscribe” on one row */
.program-buttons{ display:flex; gap:10px; justify-content:center; align-items:center; flex-wrap:wrap; }

/* Tighter spacing for social icon row */
.share{ display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap; }
.share .share-btn{ margin:0; width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; }

}




/* on-air program display */
#programMeta {
  color: #fff;
  text-align: center;
  margin: 16px auto 12px;
  max-width: 800px;
  line-height: 1.4;
}

#programMeta .program-headline {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
}

#programMeta .program-desc {
  font-size: 0.95rem;
  margin: 0 0 10px;
  opacity: 0.9;
}

#programMeta .program-tags {
  margin: 0 0 8px;
}

#programMeta .program-tags .tag {
  background: #00019A;
  color: #fff;
  padding: 3px 8px;
  margin: 0 4px 4px;
  border-radius: 6px;
  font-size: 0.8rem;
  display: inline-block;
}



body {
  background-color: #001F3F;
  color: white;
  font-family: Arial, sans-serif;
}

.btn-gold {
  background-color: #FFD700;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
}

.site-header, .site-footer {
  background: #000033;
  padding: 1rem;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
}

.track-title, .track-artist {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
}

.track-desc {
  margin-bottom: 10px;
}

.tag-row .tag {
  background-color: #444;
  border-radius: 5px;
  padding: 3px 6px;
  margin-right: 5px;
  display: inline-block;
}




/* ------- FIX: Remove borders on buttons ------- */

.btn-ghost,
.share-btn,
#shareCopy,
#shareIG,
#subscribeBtn,
.cta-row .btn-ghost {
  border: none !important;
  box-shadow: none !important;
}

.share-btn {
  background: transparent !important;
}

#shareCopy, #shareIG, #subscribeBtn {
  background: rgba(255,255,255,0.15);
}


















