/*
 * 연재 시리즈 / 신작 에피소드 — 검색·드롭다운·칩 높이·간격·포커스 통일
 * 다른 카탈로그 페이지에는 적용하지 않는다.
 */

body[data-page="series"] .filter-bar-section .search-field-wrapper,
body[data-page="new-episodes"] .filter-bar-section .search-field-wrapper {
  height: 40px;
  box-sizing: border-box;
  padding: 0 16px !important;
}

body[data-page="series"] .filter-bar-section .search-field-wrapper svg,
body[data-page="new-episodes"] .filter-bar-section .search-field-wrapper svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-right: 8px;
}

body[data-page="series"] .filter-bar-section .search-input,
body[data-page="new-episodes"] .filter-bar-section .search-input {
  font-size: 0.82rem;
  line-height: 1.2;
}

body[data-page="series"] .filter-bar-section .select-wrapper select,
body[data-page="new-episodes"] .filter-bar-section .select-wrapper select {
  height: 40px;
  box-sizing: border-box;
  padding: 0 32px 0 14px !important;
  font-size: 0.82rem;
  font-weight: 650;
}

body[data-page="series"] .filter-bar-section .search-field-wrapper:hover,
body[data-page="new-episodes"] .filter-bar-section .search-field-wrapper:hover,
body[data-page="series"] .filter-bar-section .select-wrapper select:hover,
body[data-page="new-episodes"] .filter-bar-section .select-wrapper select:hover {
  border-color: rgba(232, 149, 40, 0.45);
}

body[data-page="series"] .filter-bar-section .search-field-wrapper:focus-within,
body[data-page="new-episodes"] .filter-bar-section .search-field-wrapper:focus-within,
body[data-page="series"] .filter-bar-section .select-wrapper select:focus,
body[data-page="new-episodes"] .filter-bar-section .select-wrapper select:focus-visible {
  outline: 2px solid rgba(232, 149, 40, 0.85);
  outline-offset: 1px;
  border-color: rgba(232, 149, 40, 0.7);
}

body[data-page="series"] .catalog-explore-filter-row,
body[data-page="new-episodes"] .catalog-explore-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

body[data-page="series"] .catalog-explore-selects,
body[data-page="new-episodes"] .catalog-explore-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body[data-page="series"] .catalog-filter-reset,
body[data-page="new-episodes"] .catalog-filter-reset {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

body[data-page="series"] .catalog-filter-reset:hover,
body[data-page="new-episodes"] .catalog-filter-reset:hover {
  color: var(--text-main);
  border-color: rgba(232, 149, 40, 0.45);
}

body[data-page="series"] .catalog-filter-reset:focus-visible,
body[data-page="new-episodes"] .catalog-filter-reset:focus-visible {
  outline: 2px solid rgba(232, 149, 40, 0.85);
  outline-offset: 1px;
}

body[data-page="series"] .catalog-explore-chips,
body[data-page="new-episodes"] .catalog-explore-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
  overflow: visible;
}

body[data-page="series"] .catalog-explore-chips .chip-filter,
body[data-page="new-episodes"] .catalog-explore-chips .chip-filter {
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition-fast, 0.15s ease);
}

body[data-page="series"] .catalog-explore-chips .chip-filter:hover,
body[data-page="new-episodes"] .catalog-explore-chips .chip-filter:hover {
  border-color: rgba(232, 149, 40, 0.45);
  color: var(--text-main);
}

body[data-page="series"] .catalog-explore-chips .chip-filter:focus-visible,
body[data-page="new-episodes"] .catalog-explore-chips .chip-filter:focus-visible {
  outline: 2px solid rgba(232, 149, 40, 0.85);
  outline-offset: 2px;
}

body[data-page="series"] .catalog-explore-chips .chip-filter.active,
body[data-page="new-episodes"] .catalog-explore-chips .chip-filter.active {
  color: #fff !important;
  background-color: var(--accent-orange) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  font-weight: 700;
}

body[data-page="series"] .catalog-rating-stats .is-unrated .rating-value,
body[data-page="new-episodes"] .catalog-rating-stats .is-unrated .rating-value {
  color: var(--text-muted);
  font-weight: 600;
}
