/* ── SHITBIRDS.INFO — SHARED STYLESHEET ── */

:root {
  --red:      #cc0000;
  --red-dim:  #880000;
  --red-hi:   #ff3333;
  --red-deep: #440000;
  --bg:       #080808;
  --border:   #1f0000;
}

/* ── AUDIO PLAYER SECTION ── */
.audio-section {
  text-align: center;
  margin: 36px auto;
  max-width: 580px;
}

.audio-label {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-dim);
  text-align: center;
  margin: 0 0 14px 0;
}

.audio-section audio {
  display: block;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS ── */
.card,
.profile-card,
.review-card,
.list-card,
.form-card,
.archive-section {
  border: 1px solid var(--red-dim) !important;
  border-radius: 2px !important;
}

/* ── PAGE HEADINGS ── */
h1 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0;
  margin-bottom: 6px;
}

h2 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── CONTENT PANELS ── */
.content-panel {
  border: 1px solid rgba(160, 0, 0, 0.2) !important;
}

/* ── LINKS ── */
a {
  color: var(--red);
  text-decoration: none;
}
a:hover {
  color: var(--red-hi);
}

/* ── PAGE TAGLINES ── */
.tagline {
  text-align: center;
  font-style: italic;
  color: var(--red-dim);
  font-size: 0.9rem;
  margin-top: 4px;
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow: none;
}

/* ── CTA BUTTON ── */
.cta-btn {
  display: block;
  max-width: 680px;
  margin: 30px auto;
  background: transparent !important;
  color: var(--red) !important;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  border: 1px solid var(--red) !important;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover {
  background: rgba(204,0,0,0.12) !important;
  color: var(--red-hi) !important;
}

/* ── PODCAST PLAYER + EPISODE LIST ── */
#sb-player-wrap {
  max-width: 640px;
  margin: 0 auto 30px auto;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--red-dim);
  border-radius: 2px;
  padding: 18px 20px;
}

#sb-now-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dim);
  text-align: center;
  margin: 0 0 6px 0;
  text-shadow: none;
}

#sb-now-title {
  font-size: 0.9rem;
  color: var(--red);
  text-align: center;
  margin: 0 0 14px 0;
  min-height: 1.1em;
  text-shadow: none;
}
#sb-now-title:not(.has-episode) {
  color: var(--red-dim);
  font-style: italic;
  font-weight: 400;
}

#sb-player {
  display: block;
  width: 100%;
}

#episode-status {
  text-align: center;
  color: var(--red-dim);
  font-size: 0.85rem;
  font-weight: 400;
  text-shadow: none;
  margin: 24px auto;
}

.episode {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.episode:last-child { border-bottom: none; }
.episode.active .episode-title { color: var(--red-hi); }

.episode-meta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.episode-play {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  text-shadow: none;
}
.episode-play:hover { background: rgba(204,0,0,0.15); color: var(--red-hi); }

.episode-info { flex: 1; min-width: 0; }

.episode-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.35;
}

.episode-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--red-dim);
  letter-spacing: 0.06em;
  margin-top: 3px;
  text-shadow: none;
}

.episode-desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: #b88;
  line-height: 1.55;
  margin: 10px 0 0 0;
  text-shadow: none;
}

/* ── SCROLLABLE EPISODE WINDOW ── */
#episode-list {
  /* JS sets an exact height for ~4 episodes; this is the fallback cap
     if JS doesn't run, so the list never grows infinitely. */
  max-height: 560px;
  overflow-y: auto;
  overflow-x: hidden;
  /* room so the scrollbar doesn't crowd the text */
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--red-dim) transparent;
}

/* WebKit (Chrome/Safari/most mobile) scrollbar styling */
#episode-list::-webkit-scrollbar {
  width: 8px;
}
#episode-list::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}
#episode-list::-webkit-scrollbar-thumb {
  background: var(--red-dim);
  border-radius: 4px;
}
#episode-list::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* subtle fade cue at the bottom so it's obvious more is below */
#episode-list-wrap {
  position: relative;
}
#episode-list-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 10px;
  bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.55));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
#episode-list-wrap.has-more::after {
  opacity: 1;
}

@media (max-width: 480px) {
  .episode-meta { flex-direction: column; gap: 8px; }
  .episode-play { align-self: flex-start; }
}
