:root {
  --bitcoin: #F7931A;
  --bitcoin-dark: #e07b00;
  --surface: #0f1419;
  --surface-2: #1a2332;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --border: rgba(255,255,255,0.1);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: var(--surface); color: var(--text); line-height: 1.6; }
a { color: var(--bitcoin); text-decoration: none; }
a:hover { color: var(--bitcoin-dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.site-header { border-bottom: 1px solid var(--border); background: var(--surface-2); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--text); }
.logo span { color: var(--bitcoin); }
.site-nav { display: flex; gap: 1.25rem; }
.site-nav a { color: var(--muted); font-size: 0.9rem; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: 0.4rem 0.6rem; border-radius: 6px; }
.live-section { background: #000; padding: 1.5rem 0 2rem; }
.live-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.live-header h1 { margin: 0; font-size: 1.5rem; }
.live-badge { font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; }
.live-badge.is-live { background: rgba(239,68,68,0.2); color: #f87171; }
.live-badge.is-offline { background: rgba(156,163,175,0.15); color: var(--muted); }
.player-wrap { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.live-player { width: 100%; height: 100%; display: block; background: #000; }
.offline-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.55); pointer-events: none; text-align: center; padding: 1rem; }
.offline-overlay[hidden] { display: none; }
.section { padding: 2.5rem 0; }
.section h2 { margin: 0 0 1.25rem; }
.tagline { color: var(--bitcoin); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.episode-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.episode-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.episode-date { color: var(--muted); font-size: 0.8rem; margin: 0 0 0.5rem; }
.episode-desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.btn-link { font-weight: 600; font-size: 0.9rem; }
.btn-primary { background: var(--bitcoin); color: #111; border: none; padding: 0.65rem 1.25rem; border-radius: 6px; font-weight: 600; cursor: pointer; }
.btn-primary:hover { background: var(--bitcoin-dark); }
.btn-danger { background: #7f1d1d; color: #fecaca; border: none; padding: 0.35rem 0.7rem; border-radius: 4px; cursor: pointer; }
.form label { display: block; margin-bottom: 1rem; }
.form input, .form textarea { width: 100%; margin-top: 0.35rem; padding: 0.6rem; border-radius: 6px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.alert { padding: 0.75rem 1rem; border-radius: 6px; }
.alert.success { background: rgba(34,197,94,0.15); color: #86efac; }
.alert.error { background: rgba(239,68,68,0.15); color: #fca5a5; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }
.prose { line-height: 1.75; }
.article h1 { margin-top: 0; }
.embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 1.5rem 0; }
.embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.pricing-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 2rem; color: var(--muted); font-size: 0.9rem; }
.footer-links a { color: var(--muted); }
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--surface-2); padding: 1rem; border-bottom: 1px solid var(--border); }
  .site-nav.open { display: flex; }
}

.live-badge.is-programming { background: rgba(247,147,26,0.2); color: var(--bitcoin); }
.now-playing-label { color: var(--muted); margin: -0.5rem 0 1rem; font-size: 0.95rem; }
.epg-section { padding: 1rem 0 2rem; border-bottom: 1px solid var(--border); }
.epg-now { margin-bottom: 0.75rem; }
.epg-countdown { margin-bottom: 1rem; color: var(--muted); }
.epg-strip { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.epg-chip { flex: 0 0 auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.75rem; min-width: 140px; }
.epg-chip-time { display: block; font-size: 0.75rem; color: var(--bitcoin); font-weight: 600; }
.epg-chip-title { font-size: 0.85rem; }
.epg-more { align-self: center; white-space: nowrap; font-size: 0.85rem; }
.epg-list { display: flex; flex-direction: column; gap: 0.75rem; }
.epg-item { display: flex; gap: 1rem; align-items: center; padding: 0.75rem 1rem; background: var(--surface-2); border-radius: 8px; }
.epg-time { color: var(--bitcoin); font-weight: 600; min-width: 5rem; }
.epg-badge { font-size: 0.7rem; background: rgba(239,68,68,0.2); color: #f87171; padding: 0.2rem 0.5rem; border-radius: 4px; }
.bolt11-field { width: 100%; font-family: monospace; font-size: 0.75rem; padding: 0.75rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 6px; }
.pricing-box label { display: block; margin-bottom: 0.75rem; }
.pricing-box input { width: 100%; max-width: 200px; margin-top: 0.25rem; padding: 0.5rem; }
.player-controls { margin-top: 0.75rem; }
.player-wrap.audio-only .live-player { opacity: 0; height: 60px; }
.player-wrap.audio-only { background: var(--surface-2); border-radius: 8px; }
.tip-jar { text-align: center; }
.tip-presets { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin: 1rem 0; }
.tip-btn { background: var(--surface-2); border: 1px solid var(--bitcoin); color: var(--bitcoin); padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-weight: 600; }
.tip-btn:hover { background: rgba(247,147,26,0.15); }
.chart-bars { display: flex; flex-direction: column; gap: 0.5rem; max-width: 400px; }
.chart-bar-row { display: flex; align-items: center; gap: 0.5rem; }
.chart-label { width: 3rem; font-size: 0.8rem; color: var(--muted); }
.chart-bar { height: 1.25rem; background: var(--bitcoin); border-radius: 3px; min-width: 2px; }
.chart-val { font-size: 0.8rem; color: var(--muted); }
