/* Weekly Airing Schedule Page styling */
.hd-schedule-tab-nav {
  display: flex;
  justify-content: space-between;
  background-color: var(--hd-surface);
  border: 1px solid var(--hd-border-glass);
  border-radius: var(--hd-radius-lg);
  padding: 6px;
  margin-bottom: var(--hd-spacing-lg);
  overflow-x: auto;
  scrollbar-width: none;
}

.hd-schedule-tab-nav::-webkit-scrollbar {
  display: none;
}

.hd-schedule-tab-btn {
  flex-grow: 1;
  text-align: center;
  padding: var(--hd-spacing-sm) var(--hd-spacing-md);
  font-family: var(--hd-font-display);
  font-weight: 700;
  font-size: var(--hd-text-sm);
  color: var(--hd-text-muted);
  border-radius: var(--hd-radius-md);
  transition: var(--hd-transition-all);
  white-space: nowrap;
}

.hd-schedule-tab-btn:hover {
  color: var(--hd-text-main);
}

.hd-schedule-tab-btn.active {
  background-color: var(--hd-primary);
  color: var(--hd-text-main);
  box-shadow: var(--hd-glow-primary);
}

/* Schedule Card list */
.hd-schedule-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hd-spacing-sm);
}

.hd-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--hd-surface);
  border: 1px solid var(--hd-border-glass);
  border-radius: var(--hd-radius-md);
  padding: var(--hd-spacing-sm) var(--hd-spacing-md);
  transition: var(--hd-transition-all);
}

.hd-schedule-row:hover {
  border-color: var(--hd-primary);
  transform: translateX(4px);
}

.hd-schedule-left {
  display: flex;
  align-items: center;
  gap: var(--hd-spacing-md);
}

.hd-schedule-time {
  font-family: var(--hd-font-display);
  font-weight: 700;
  color: var(--hd-accent);
  background-color: var(--hd-accent-glow);
  padding: 4px 8px;
  border-radius: var(--hd-radius-xs);
  font-size: var(--hd-text-xs);
  min-width: 60px;
  text-align: center;
}

.hd-schedule-title {
  font-size: var(--hd-text-sm);
  font-weight: 600;
  color: var(--hd-text-main);
}

.hd-schedule-right {
  display: flex;
  align-items: center;
  gap: var(--hd-spacing-md);
}

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

.hd-schedule-page-container {
  margin-top: var(--hd-spacing-xl);
  min-height: 60vh;
}

.hd-schedule-page-header {
  margin-bottom: var(--hd-spacing-lg);
}

.hd-schedule-page-desc {
  color: var(--hd-text-muted);
  margin-top: var(--hd-spacing-xs);
  font-size: var(--hd-text-sm);
}

.hd-schedule-page-tabs {
  margin-top: var(--hd-spacing-xl);
}

.hd-schedule-page-tab-content {
  margin-top: var(--hd-spacing-lg);
}

.hd-schedule-watch-btn {
  padding: 6px 14px !important;
  font-size: 11px !important;
}

/* Premium Airing Schedule Grid & Card Layout */
.hd-schedule-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--hd-spacing-lg);
  margin-top: var(--hd-spacing-lg);
}

@media (max-width: 768px) {
  .hd-schedule-cards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--hd-spacing-md) !important;
  }
}

.hd-schedule-card {
  background-color: var(--hd-surface-glass);
  border: 1px solid var(--hd-border-glass);
  border-radius: var(--hd-radius-lg);
  overflow: hidden;
  transition: var(--hd-transition-all);
  box-shadow: var(--hd-shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hd-schedule-card:hover {
  border-color: var(--hd-primary);
  box-shadow: 0 10px 20px var(--hd-primary-glow);
  transform: translateY(-4px);
}

.hd-schedule-card-inner {
  display: flex;
  padding: var(--hd-spacing-md);
  gap: var(--hd-spacing-md);
  color: inherit;
  text-decoration: none;
}

.hd-schedule-card-cover-wrap {
  width: 90px;
  height: 125px;
  border-radius: var(--hd-radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--hd-shadow-sm);
  border: 1px solid rgba(255,255,255,0.05);
}

.hd-schedule-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--hd-ease-out);
}

.hd-schedule-card:hover .hd-schedule-card-img {
  transform: scale(1.06);
}

.hd-schedule-card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  min-width: 0;
}

.hd-schedule-card-title {
  font-family: var(--hd-font-display);
  font-size: var(--hd-text-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.hd-schedule-card-subtitle {
  font-size: 11px;
  color: var(--hd-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
  display: block;
}

/* Premium air day counts and badge tabs */
.hd-tabs-nav-capsule .hd-schedule-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--hd-radius-md);
  min-width: 96px;
  height: 68px;
  border: none;
  background: none;
  box-sizing: border-box;
}

.hd-day-label {
  font-family: var(--hd-font-display);
  font-size: var(--hd-text-sm);
  font-weight: 700;
  display: block;
}

.hd-day-count-badge {
  background-color: var(--hd-accent-glow);
  color: var(--hd-accent);
  font-size: 9px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 0 5px rgba(255, 165, 0, 0.1);
  transition: var(--hd-transition-all);
}

.hd-schedule-tab-btn.active .hd-day-count-badge {
  background-color: #fff;
  color: var(--hd-primary);
}

.hd-day-today-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--hd-primary);
  margin-top: 2px;
  text-transform: uppercase;
}

.hd-schedule-tab-btn.active .hd-day-today-label {
  color: #fff;
}

.hd-schedule-tab-btn.is-today .hd-day-label {
  color: var(--hd-accent);
}

.hd-schedule-tab-btn.is-today.active .hd-day-label {
  color: #fff;
}

/* Live ticking countdown badge */
.hd-schedule-card-countdown {
  display: inline-flex;
  align-items: center;
  background-color: var(--hd-primary-glow);
  color: var(--hd-primary);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--hd-radius-sm);
  margin-top: 6px;
  margin-bottom: 6px;
  align-self: flex-start;
  border: 1px solid hsla(345, 100%, 50%, 0.15);
}

.hd-schedule-card-countdown.aired {
  background-color: var(--hd-surface-hover);
  color: var(--hd-text-muted);
  border-color: var(--hd-border-glass);
}

/* Metadata items */
.hd-schedule-card-meta {
  display: flex;
  align-items: center;
  gap: var(--hd-spacing-sm);
  font-size: 11px;
  color: var(--hd-text-muted);
  font-weight: 600;
}

.hd-schedule-card-meta .meta-item {
  display: flex;
  align-items: center;
}

.hd-schedule-card-meta .format-pill {
  background-color: var(--hd-surface-hover);
  padding: 2px 6px;
  border-radius: var(--hd-radius-xs);
  font-size: 9px;
  font-weight: 800;
  color: var(--hd-text-dim);
}

.hd-schedule-card-meta .rating-star {
  color: #fff;
}

/* Genres list */
.hd-schedule-card-genres {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.hd-card-genre-tag {
  font-size: 9px;
  background-color: rgba(255,255,255,0.02);
  border: 1px solid var(--hd-border-glass);
  color: var(--hd-text-dim);
  padding: 2px 6px;
  border-radius: var(--hd-radius-full);
  font-weight: 500;
}



