/* College Sportscast - Dark/Light Theme with Red Accents */
/* 68/32 Split Layout with Live Chat */

:root {
  /* Dark Theme Colors (Default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-elevated: #222222;
  
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #666666;
  
  --accent: #f15817;
  --accent-hover: #ff6a2a;
  --accent-dark: #c94610;
  
  --live-red: #ff3333;
  --daily-blue: #0076fc;
  --weekly-purple: #bf5af2;
  --gameday-orange: #f15817;
  
  --primary-blue: #0076fc;
  --primary-orange: #f15817;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  
  --border-color: rgba(255,255,255,0.08);
  --overlay-bg: rgba(10, 10, 10, 0.95);
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Typography - Larger for 45+ audience */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 13px;
  --text-sm: 15px;
  --text-base: 17px;
  --text-lg: 19px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 38px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 100%;
  --content-max: 1400px;
  --padding: 16px;
  
  /* Safe Areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #f5f5f7;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f0f0f2;
  
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  
  --accent: #f15817;
  --accent-hover: #c94610;
  --accent-dark: #a03a0d;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  --border-color: rgba(0,0,0,0.08);
  --overlay-bg: rgba(255, 255, 255, 0.95);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* App Container */
.app {
  min-height: 100vh;
  background: var(--bg-primary);
  padding-bottom: calc(80px + var(--safe-bottom));
}

/* ========================================
   TOP BANNER / HEADER
   ======================================== */
.top-banner {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.banner-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-md);
}

.logo {
  height: 40px;
  flex-shrink: 0;
}

.main-nav {
  display: none;
  gap: var(--space-lg);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--accent); }

.banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.search-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.search-btn:hover { color: var(--text-primary); }

.subscribe-btn {
  background: var(--accent);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}

.subscribe-btn:hover { background: var(--accent-hover); }

.back-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.back-link:hover { color: var(--text-primary); }

.share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  transition: background 0.2s;
}

.share-btn:hover { background: var(--bg-elevated); }

/* ========================================
   HERO SECTION - 68/32 SPLIT
   ======================================== */
.hero-split {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-md);
  gap: var(--space-md);
}

.hero-split > .video-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Chat column wrapper (ad + chat) */
.chat-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}

.chat-column > * {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Ad above chat */
.chat-ad {
  background: var(--bg-secondary);
  padding: var(--space-sm);
  text-align: center;
  flex-shrink: 0;
}

.chat-ad .ad-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-ad .ad-content {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
}

/* Desktop: 68/32 split with fixed height container */
@media (min-width: 768px) {
  .hero-split {
    flex-direction: row;
    align-items: stretch;
    height: calc(100vh - 120px); /* Fixed container height */
    min-height: 500px;
  }
  
  .video-section {
    width: 68%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .video-player {
    flex: 1;
  }
  
  .chat-column {
    width: 32%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .chat-section {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  
  .chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
  }
}

/* Video Section (68% on desktop) */
.video-section {
  width: 100%;
  background: #000;
}

.video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--live-red);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.viewer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.video-actions {
  display: flex;
  gap: var(--space-xs);
}

.theater-btn, .fullscreen-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.theater-btn:hover, .fullscreen-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.video-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-player.full-width {
  max-width: 100%;
}

/* Compact video info bar below player */
.video-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  gap: var(--space-md);
}

.video-info-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
  flex: 1;
}

.video-info-bar .show-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-info-bar .air-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.more-info-btn {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.more-info-btn:hover { opacity: 0.8; }

/* Legacy styles for show page */
.show-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.show-tagline {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.show-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.air-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Chat Section (32% on desktop) */
.chat-section {
  width: 100%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.08);
  min-height: 0; /* Critical for flex child overflow */
}

/* On desktop, chat fills available height */
@media (min-width: 768px) {
  .chat-section {
    border-top: none;
    height: 100%;
  }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.chat-header h2 {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
}

.chat-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #00d46a;
  border-radius: 50%;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0; /* Critical for overflow in flex */
}

/* Custom scrollbar for chat messages */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
  min-height: 0;
}

.chat-msg {
  display: flex;
  gap: var(--space-xs);
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  overflow: hidden;
  flex-shrink: 0; /* Don't compress messages - scroll instead */
}

.chat-msg:hover {
  background: var(--bg-card);
}

.chat-msg.pinned {
  background: rgba(241, 88, 23, 0.15);
  border: 1px solid rgba(241, 88, 23, 0.3);
  border-radius: var(--radius-md);
}

.pin-icon {
  flex-shrink: 0;
}

.msg-avatar {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

img.msg-avatar {
  display: block;
  object-fit: cover;
}

.msg-content {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.msg-time {
  font-size: 9px;
  color: var(--text-muted);
  margin-left: auto;
}

.msg-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  text-transform: uppercase;
}

.msg-badge.mod {
  background: var(--accent);
  color: white;
}

.msg-badge.sub {
  background: var(--weekly-purple);
  color: white;
}

.msg-user {
  font-weight: 700;
  font-size: 11px;
  color: var(--text-primary);
}

.msg-text {
  font-size: 11px;
  color: var(--text-secondary);
  display: block;
  word-break: break-word;
}

.chat-input-area {
  padding: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--bg-card);
  flex-shrink: 0;
}

/* Horizontal scrollable emoji bar */
.emoji-scroll-bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  margin-bottom: 8px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
}

.emoji-scroll-bar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.emoji-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}

.emoji-btn:hover {
  background: var(--bg-secondary);
  transform: scale(1.1);
}

.chat-input-row {
  display: flex;
  gap: var(--space-xs);
}

.chat-input-row input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  color: var(--text-primary);
}

.chat-input-row input::placeholder {
  color: var(--text-muted);
}

.chat-input-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.send-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius-md);
  color: white;
  transition: background 0.2s;
}

.send-btn:hover { background: var(--accent-hover); }

/* ========================================
   SECTIONS - Common Styles
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}

.see-all {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.2s;
}

.see-all:hover { opacity: 0.8; }

.content-section {
  padding: var(--space-xl) var(--space-md);
  max-width: var(--content-max);
  margin: 0 auto;
}

.content-section.alt-bg {
  background: var(--bg-secondary);
}

.content-section.podcasts-bg {
  background: var(--bg-secondary);
}

/* ========================================
   TODAY'S LINEUP SECTION
   ======================================== */
.lineup-section {
  padding: var(--space-xl) var(--space-md);
  max-width: var(--content-max);
  margin: 0 auto;
}

.day-selector {
  display: flex;
  gap: var(--space-xs);
}

.day-btn {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
  min-width: 56px;
}

.day-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.day-btn.active {
  background: var(--accent);
  color: white;
}

.lineup-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lineup-scroll::-webkit-scrollbar { display: none; }

.lineup-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.lineup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.lineup-card.up-next {
  border: 2px solid var(--accent);
}

.next-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-lg);
  z-index: 2;
  text-transform: uppercase;
}

.lineup-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.lineup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lineup-time {
  position: absolute;
  bottom: var(--space-xs);
  left: var(--space-xs);
  background: rgba(0,0,0,0.8);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.lineup-info {
  padding: var(--space-md);
}

.lineup-info h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lineup-host {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.lineup-host .host-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.lineup-host span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.lineup-duration {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ========================================
   CATEGORY BUTTONS
   ======================================== */
.categories-section {
  padding: var(--space-xl) var(--space-md);
  max-width: var(--content-max);
  margin: 0 auto;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.category-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--cat-color, var(--bg-card));
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 64px;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cat-icon {
  font-size: 28px;
}

.cat-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

/* ========================================
   AD BANNER
   ======================================== */
.ad-banner-section {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  max-width: var(--content-max);
  margin: 0 auto;
}

.ad-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.ad-banner {
  background: var(--bg-card);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ========================================
   CONTENT GRID (Shows, Episodes)
   ======================================== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s;
}

.content-card:hover {
  transform: translateY(-4px);
}

.content-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.content-card:hover .content-thumb img {
  transform: scale(1.05);
}

.content-badge {
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.content-badge.daily { background: var(--daily-blue); }
.content-badge.weekly { background: var(--weekly-purple); }
.content-badge.gameday { background: var(--gameday-orange); }

.content-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.2s;
}

.content-card:hover .content-overlay {
  opacity: 1;
}

.content-info {
  padding: var(--space-md);
}

.content-info h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Episodes Grid */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-md);
}

.episode-card {
  display: flex;
  gap: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  transition: background 0.2s;
}

.episode-card:hover {
  background: var(--bg-elevated);
}

.episode-thumb {
  position: relative;
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
}

.episode-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s;
}

.episode-card:hover .episode-overlay {
  opacity: 1;
}

.episode-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.episode-info h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.episode-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.episode-show {
  color: var(--text-secondary) !important;
}

.episode-date {
  margin-top: 4px;
}

/* ========================================
   PODCAST SECTION
   ======================================== */
.podcast-platforms {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s;
}

.platform-btn:hover { background: var(--bg-elevated); }

.platform-btn.apple:hover { background: #fc3c44; color: white; }
.platform-btn.spotify:hover { background: #1db954; color: white; }
.platform-btn.youtube:hover { background: #ff0000; color: white; }

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.podcast-card {
  text-align: center;
}

.podcast-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--bg-card);
}

.podcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-card h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-card p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: capitalize;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-2xl) var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.footer-logo {
  height: 44px;
  margin: 0 auto var(--space-sm);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--accent);
  color: white;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-around;
  padding: var(--space-xs) 0;
  padding-bottom: calc(var(--space-xs) + var(--safe-bottom));
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-muted);
  transition: color 0.2s;
  min-width: 72px;
  min-height: 56px;
}

.nav-item.active { color: var(--accent); }
.nav-item:hover { color: var(--text-primary); }

.nav-item span {
  font-size: 11px;
  font-weight: 600;
}

/* ========================================
   SHOW PAGE SPECIFIC
   ======================================== */
.show-page {
  padding-bottom: calc(80px + var(--safe-bottom));
}

.show-video-section {
  background: #000;
}

/* Video container with max-width and padding */
.show-video-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-md);
}

.show-video-container .video-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .show-video-container {
    padding: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .show-video-container {
    padding: var(--space-xl);
  }
}

.show-info-section {
  padding: var(--space-xl) var(--space-md);
  max-width: var(--content-max);
  margin: 0 auto;
}

.show-header-info {
  margin-bottom: var(--space-lg);
}

.show-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: white;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.show-badge.daily { background: var(--daily-blue); }
.show-badge.weekly { background: var(--weekly-purple); }
.show-badge.gameday { background: var(--gameday-orange); }

.show-header-info h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.show-header-info .tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.show-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.show-days {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.day-tag {
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}

.show-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--text-base);
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  transition: all 0.2s;
  min-height: 52px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-secondary:hover { background: var(--bg-elevated); }

/* Hosts Grid */
.hosts-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-md);
}

.host-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}

.host-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.host-card h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.host-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* About Section */
.about-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.topic-tag {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  background: rgba(241, 88, 23, 0.15);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(241, 88, 23, 0.3);
}

/* Episodes List */
.episodes-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.episode-row {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  transition: background 0.2s;
  align-items: center;
}

.episode-row:hover { background: var(--bg-elevated); }

.ep-thumb {
  position: relative;
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
}

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

.ep-info h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.episode-row .play-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.episode-row:hover .play-icon { opacity: 1; }

/* Related Shows Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.related-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s;
}

.related-card:hover { transform: translateY(-4px); }

.related-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.related-card h4 {
  padding: var(--space-sm) var(--space-md);
  padding-bottom: 4px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-card .badge {
  display: block;
  padding: 0 var(--space-md) var(--space-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge.daily { color: var(--daily-blue); }
.badge.weekly { color: var(--weekly-purple); }
.badge.gameday { color: var(--gameday-orange); }

/* Error Page */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

/* ========================================
   TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
  :root {
    --padding: 24px;
  }
  
  .main-nav {
    display: flex;
  }
  
  .hero-split {
    padding: var(--space-lg);
  }
  
  .category-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .episodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .podcast-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hosts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  :root {
    --padding: 32px;
  }
  
  .logo {
    height: 100px;
  }
  
  .bottom-nav {
    display: none;
  }
  
  .app {
    padding-bottom: 0;
  }
  
  .show-page {
    padding-bottom: 0;
  }
  
  .hero-split {
    padding: var(--space-xl);
  }
  
  .category-buttons {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .content-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .podcast-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .hosts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* Show sun in dark mode, moon in light mode */
.icon-sun { display: block; }
.icon-moon { display: none; }

[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Light theme specific overrides */
[data-theme="light"] .top-banner {
  background: var(--overlay-bg);
  border-bottom-color: var(--border-color);
}

[data-theme="light"] .bottom-nav {
  background: var(--overlay-bg);
  border-top-color: var(--border-color);
}

[data-theme="light"] .video-section {
  background: var(--bg-card);
}

[data-theme="light"] .chat-section {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .content-card,
[data-theme="light"] .episode-card,
[data-theme="light"] .lineup-card,
[data-theme="light"] .podcast-card-large {
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .content-card:hover,
[data-theme="light"] .episode-card:hover,
[data-theme="light"] .lineup-card:hover {
  box-shadow: var(--shadow-md);
}

/* ========================================
   CATEGORY BUTTONS WITH IMAGES
   ======================================== */
.category-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-bg {
  position: absolute;
  inset: 0;
  background-image: var(--cat-image);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.category-btn:hover .category-bg {
  transform: scale(1.1);
}

.category-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.4) 100%
  );
}

.category-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.cat-name {
  font-size: var(--text-xl);
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  text-align: center;
  letter-spacing: 1px;
}

/* ========================================
   LIVE CHAT - COMPACT CONVERSATION MESSAGES
   ======================================== */
/* Mobile-specific chat - content-driven height */
@media (max-width: 767px) {
  .chat-section {
    border-top: 1px solid var(--border-color);
  }
  
  .chat-messages {
    max-height: 250px;
  }
}

/* Compact message area */
.chat-messages {
  padding: var(--space-xs);
  gap: 2px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Chat message - two-row layout: name/time then text */
.chat-msg {
  padding: 4px 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 4px;
  flex-shrink: 0; /* Don't compress messages - scroll instead */
}

.chat-msg:hover {
  background: rgba(255,255,255,0.04);
}

.msg-avatar {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

img.msg-avatar {
  display: block;
  object-fit: cover;
}

.msg-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

/* First row: badge, name, timestamp */
.msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.msg-badge {
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 2px;
}

.msg-user {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.msg-time {
  font-size: 10px;
  color: var(--text-muted);
}

/* Second row: message text */
.msg-text {
  font-size: 13px;
  color: var(--text-secondary);
  word-break: break-word;
  line-height: 1.2;
}

/* Pinned message */
.chat-msg.pinned {
  padding: 6px 10px;
  margin-bottom: 4px;
  background: rgba(241, 88, 23, 0.1);
  border: 1px solid rgba(241, 88, 23, 0.2);
  border-radius: 6px;
}

.pin-icon {
  font-size: 14px;
}

/* Emoji picker scrollable panel */
.emoji-picker {
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.emoji-picker::-webkit-scrollbar {
  width: 4px;
}

.emoji-picker::-webkit-scrollbar-track {
  background: var(--bg-elevated);
  border-radius: 2px;
}

.emoji-picker::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 2px;
}

/* Chat input */
.chat-input-area {
  padding: var(--space-xs) var(--space-sm);
  border-top: 1px solid var(--border-color);
}

.chat-input-row input {
  padding: 8px 12px;
  font-size: var(--text-sm);
}

.send-btn {
  width: 36px;
  height: 36px;
}

.send-btn svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   PODCASTS PAGE
   ======================================== */
.podcasts-hero {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-hover) 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.podcasts-hero-content {
  max-width: var(--content-max);
  margin: 0 auto;
}

.podcasts-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-sm);
}

.podcasts-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.podcast-platforms-hero {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.podcast-platforms-hero .platform-btn {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.podcast-platforms-hero .platform-btn:hover {
  background: rgba(255,255,255,0.3);
}

.show-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.podcasts-grid-large {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
}

.podcast-card-large {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.podcast-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.podcast-artwork {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.podcast-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.podcast-card-large:hover .podcast-artwork img {
  transform: scale(1.05);
}

.podcast-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.podcast-card-large:hover .podcast-play-btn {
  opacity: 1;
}

.podcast-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
}

.podcast-badge.daily { background: var(--daily-blue); }
.podcast-badge.weekly { background: var(--weekly-purple); }
.podcast-badge.gameday { background: var(--gameday-orange); }

.podcast-details {
  padding: var(--space-md);
}

.podcast-details h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.podcast-tagline {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.podcast-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.podcast-links {
  display: flex;
  gap: var(--space-xs);
}

.mini-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.mini-link:hover {
  transform: scale(1.1);
}

.mini-link.apple:hover { background: #fc3c44; color: white; }
.mini-link.spotify:hover { background: #1db954; color: white; }
.mini-link.youtube:hover { background: #ff0000; color: white; }

/* Latest Episodes List */
.latest-episodes-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.latest-episode-row {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  transition: background 0.2s;
  align-items: center;
}

.latest-episode-row:hover {
  background: var(--bg-elevated);
}

.latest-ep-thumb {
  position: relative;
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.latest-ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-ep-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
}

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

.latest-ep-info h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-ep-show {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.latest-ep-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.latest-ep-play {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.latest-episode-row:hover .latest-ep-play {
  opacity: 1;
}

/* Tablet Podcasts */
@media (min-width: 768px) {
  .podcasts-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .podcast-card-large {
    flex-direction: row;
  }
  
  .podcast-artwork {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 1;
  }
  
  .podcast-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Chat section syncs with video on tablet+ - see main .chat-section media query */
}

/* Desktop Podcasts */
@media (min-width: 1024px) {
  .podcasts-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .podcast-artwork {
    width: 220px;
  }
}
