/* 오늘 방송표 1줄 미리보기 바와 펼쳐지는 전체 시간표 스타일 */
main {
  padding-top: 22px;
}

.hero {
  margin-bottom: 14px;
}

.today-schedule {
  margin: 0 0 14px;
}

.results-heading {
  margin-top: 18px;
}

.today-schedule[hidden],
.today-schedule__panel[hidden],
.today-schedule__toggle[hidden],
.today-chip[hidden] {
  display: none !important;
}

.today-schedule__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 16px;
  background: #ffffff;
  border: 1px solid rgba(34, 24, 58, 0.14);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(25, 20, 38, 0.04), 0 8px 24px -12px rgba(48, 30, 96, 0.09);
}

.today-schedule__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  color: #5b38bd;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.today-schedule__icon {
  width: 17px;
  height: 17px;
  color: #5b38bd;
  flex-shrink: 0;
}

.today-schedule__day {
  display: none;
}

.today-schedule__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #efe9fc;
  color: #3f2196;
  font-size: 12px;
  font-weight: 800;
}

.today-schedule__chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 2px 0;
}

.today-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(34, 24, 58, 0.08);
  background: #f2eef8;
  color: #191426;
  font-size: 12.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.today-chip:hover {
  background: #efe9fc;
  border-color: #5b38bd;
  color: #3f2196;
}

.today-chip.is-live {
  background: #f2eef8;
  border-color: rgba(34, 24, 58, 0.08);
  color: #191426;
}

.today-chip.is-live:hover {
  background: #efe9fc;
  border-color: #5b38bd;
}

.today-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6869c;
  flex-shrink: 0;
}

.today-chip__time {
  font-size: 12px;
  font-weight: 800;
  color: #5b38bd;
}

.today-chip.is-live .today-chip__live {
  font-size: 11.5px;
  font-weight: 600;
  color: #5d5473;
  letter-spacing: 0.01em;
}

.today-chip__name {
  font-weight: 700;
  color: #191426;
}

.today-empty-inline {
  font-size: 13px;
  color: #5d5473;
  white-space: nowrap;
}

.today-schedule__toggle {
  flex-shrink: 0;
  min-height: 38px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid rgba(91, 56, 189, 0.14);
  background: #efe9fc;
  color: #3f2196;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.today-schedule__toggle:hover {
  background: #e4d9fa;
  border-color: #5b38bd;
}

.today-schedule__toggle[aria-expanded="true"] {
  background: #5b38bd;
  border-color: #5b38bd;
  color: #ffffff;
}

/* 펼쳐지는 전체 시간표 패널 */
.today-schedule__panel {
  margin-top: 10px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #dfd4e9;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(56, 34, 79, 0.08);
}

.today-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece4f3;
}

.today-panel__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #382a45;
}

.today-panel__title:focus-visible {
  outline: 2px solid #76548e;
  outline-offset: 4px;
}

.today-panel__close {
  min-height: 40px;
  padding: 7px 14px;
  font-weight: 700;
}

.today-band {
  margin-top: 16px;
}

.today-band__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #6d5383;
}

.today-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.today-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e6dcef;
  background: #fcfaff;
  min-width: 0;
}

.today-card.is-live {
  border-color: #eab8c5;
  background: #fff9fb;
}

.today-card__main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
}

.today-thumb {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  background: #eee7f5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.today-thumb__fallback {
  font-size: 15px;
  font-weight: 800;
  color: #6e5086;
}

.today-card__meta {
  min-width: 0;
  flex: 1;
}

.today-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.today-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #ede4f7;
  color: #5d3d78;
  font-size: 12px;
  font-weight: 800;
}

.today-badge.is-live {
  background: #b91c3c;
  color: #ffffff;
}

.today-card__name {
  font-size: 14px;
  font-weight: 800;
  color: #32263d;
  overflow-wrap: anywhere;
}

.today-card__sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #776885;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.today-flex-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 필터 바 내 30초 취향 진단 바로가기 버튼 및 우측 묶음 */
.filter-side-actions {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
}

.filter-side-actions .quiet {
  grid-column: auto;
  grid-row: auto;
  margin-left: 0;
}

.filter-quiz-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #efe7f7;
  border: 1px solid #d7c5e8;
  color: #5b3a75;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.filter-quiz-link:hover {
  background: #e3d5f2;
  border-color: #9e82b8;
}

@media (max-width: 600px) {
  .filter-side-actions {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 960px) {
  .today-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .today-schedule__bar {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .today-schedule__chips {
    order: 3;
    flex-basis: 100%;
  }

  .today-schedule__toggle {
    margin-left: auto;
    min-height: 38px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .today-schedule__panel {
    padding: 16px 14px;
  }

  .today-band__grid {
    grid-template-columns: 1fr;
  }
}
