/* =============================================================================
   kmdb-list.css
   -----------------------------------------------------------------------------
   목차
   1. 목록 — 공통 진입과 추천 리스트
   2. 목록 — 카탈로그와 추천 셀렉션
   3. 상세 — 기본 구조, 개요와 영화 목록
   4. 셀렉션 — 영화 카드, 탐색과 관련 목록
   5. 상세 — 자료 선택 대화상자와 정보 사이드바
   ============================================================================= */

/* =============================================================================
   목록 — 공통 진입
   목록 화면 루트와 상단 소개
   ============================================================================= */
.kmdb-list-main {
  overflow: hidden;
  background: var(--color-surface-white);
}

.kmdb-list-main.kmdb-list-detail-main {
  overflow: clip;
}

.kmdb-list-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}

.kmdb-list-hero__copy {
  width: 100%;
  padding-bottom: 40px;
}

@media (max-width: 1439px) {
  .kmdb-list-hero__copy {
    padding-bottom: 0;
  }
}

.kmdb-list-hero__copy h1 {
  margin: 0 0 8px;
  color: var(--color-text-01);
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-hero__copy h1 {
    font-size: 32px;
  }
}

.kmdb-list-hero__copy p {
  margin: 0;
  color: var(--color-text-02);
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-hero__copy p {
    max-height: 24px;
    overflow: hidden;
    font-size: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-hero__copy p {
    max-height: 48px;
  }
}

/* =============================================================================
   목록 — 추천 리스트
   상단 추천 캐러셀과 포스터 카드
   ============================================================================= */
.kmdb-list-featured {
  height: auto;
  color: var(--color-text-01);
  background: #ffffff;
}

@media (max-width: 1439px) {
  .kmdb-list-featured {
    margin-right: calc(var(--layout-gutter) * -1);
    margin-left: calc(var(--layout-gutter) * -1);
  }
}

.kmdb-list-featured__canvas {
  position: relative;
  max-width: var(--layout-canvas);
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* 캔버스와 본문 폭 차이만큼 캐러셀을 바깥으로 확장 */
.kmdb-list-featured__carousel-layout {
  --list-featured-bleed: max(
    var(--layout-safe-gutter),
    calc((min(100vw, var(--layout-canvas)) - var(--layout-max)) / 2)
  );

  position: relative;
  width: var(--layout-safe-width);
  height: 100%;
  margin: 0 auto;
  padding-top: 42px;
}

@media (max-width: 1439px) {
  .kmdb-list-featured__carousel-layout {
    --list-featured-bleed: var(--layout-gutter);

    width: 100%;
    padding-top: 40px;
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }
}

@media (max-width: 599px) {
  .kmdb-list-featured__carousel-layout {
    padding-top: 36px;
  }
}

.kmdb-list-featured__heading {
  margin-bottom: 20px;
}

.kmdb-list-featured__heading h2 {
  margin: 0 0 4px;
  color: var(--color-text-01);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-featured__heading h2 {
    font-size: 20px;
  }
}

.kmdb-list-featured__heading p {
  margin: 0;
  color: var(--color-text-02);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-featured__heading p {
    font-size: 14px;
  }
}

.kmdb-list-empty-state {
  display: grid;
  width: 100%;
  gap: 16px;
  place-content: center;
  place-items: center;
  border: 1px solid var(--color-border-disabled);
  border-radius: 16px;
  color: var(--color-text-02);
  text-align: center;
}

.kmdb-list-empty-state img {
  width: 32px;
  height: 32px;
}

.kmdb-list-empty-state[hidden] {
  display: none;
}

.kmdb-list-empty-state p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-empty-state p {
    font-size: 14px;
  }
}

.kmdb-list-empty-state--dark {
  border-color: var(--color-icon-default);
  color: var(--color-border-disabled);
}

.kmdb-list-empty-state--dark img {
  filter: invert(1);
  opacity: 0.72;
}

.kmdb-list-featured__viewport {
  margin-right: calc(var(--list-featured-bleed) * -1);
  overflow: hidden;
}

.kmdb-list-featured__empty {
  width: calc(100% - var(--list-featured-bleed));
  min-height: 355px;
}

@media (max-width: 1439px) {
  .kmdb-list-featured__empty {
    min-height: 350px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-featured__empty {
    min-height: 288px;
  }
}

.kmdb-list-featured__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 422px;
  gap: 24px;
  width: max-content;
  padding-right: var(--layout-safe-gutter);
}

@media (max-width: 1439px) {
  .kmdb-list-featured__rail {
    grid-auto-columns: 420px;
    gap: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-featured__rail {
    grid-auto-columns: 318px;
  }
}

.kmdb-list-featured__rail a {
  user-select: none;
  -webkit-user-drag: none;
}

.kmdb-list-featured__rail img {
  user-select: none;
  -webkit-user-drag: none;
}

.kmdb-list-featured__fade {
  position: absolute;
  top: 0;
  right: calc(var(--list-featured-bleed) * -1);
  z-index: 3;
  width: 585px;
  height: 562px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 107.01%
  );
  opacity: 1;
  pointer-events: none;
  transition: opacity 260ms ease;
}

@media (max-width: 1439px) {
  .kmdb-list-featured__fade {
    top: 114px;
    right: 0;
    width: 148px;
    height: 396px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-featured__fade {
    top: 113px;
    width: 40px;
    height: 325px;
  }
}

.kmdb-list-featured.kmdb-is-at-end .kmdb-list-featured__fade {
  opacity: 0.18;
}

.kmdb-list-featured__button {
  position: absolute;
  top: 244px;
  z-index: 4;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--color-icon-default);
  border-radius: 50%;
  background: #ffffff;
}

@media (max-width: 1439px) {
  .kmdb-list-featured__button {
    display: none;
  }
}

.kmdb-list-featured__button:disabled {
  opacity: 0.45;
}

.kmdb-list-featured__button img {
  width: 29px;
  height: 29px;
}

.kmdb-list-featured__button[hidden] {
  display: none;
}

.kmdb-list-featured__button--prev {
  left: -24px;
}

.kmdb-list-featured__button--next {
  right: -24px;
}

.kmdb-list-featured-card {
  width: 422px;
}

@media (max-width: 1439px) {
  .kmdb-list-featured-card {
    width: 420px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-featured-card {
    width: 318px;
  }
}

.kmdb-list-featured-card a {
  position: relative;
  display: grid;
  gap: 20px;
}

.kmdb-list-featured-card a:focus-visible {
  outline: 0;
}

.kmdb-list-featured-card a:focus-visible::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 3px solid var(--color-focus);
  content: "";
  pointer-events: none;
}

.kmdb-list-featured-card__posters {
  position: relative;
  display: flex;
  --poster-width: 41.6667%;
  --poster-overlap: 27.0833%;
  width: 422px;
  height: auto;
  aspect-ratio: 9 / 5;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-surface-disabled);
}

@media (max-width: 1439px) {
  .kmdb-list-featured-card__posters {
    width: 420px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-featured-card__posters {
    width: 318px;
  }
}

.kmdb-list-featured-card__posters:has(> span:only-child) {
  --poster-width: 100%;
  --poster-overlap: 0%;
}

.kmdb-list-featured-card__posters:has(> span:nth-child(2):last-child) {
  --poster-width: 55%;
  --poster-overlap: 10%;
}

/* 3:4 포스터 다섯 장에서 뒤 포스터가 35%씩 노출되는 중첩 */
.kmdb-list-featured-card__posters > span {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: var(--poster-width);
  height: 100%;
  flex: 0 0 var(--poster-width);
  margin-right: calc(-1 * var(--poster-overlap));
  overflow: hidden;
  border-radius: 16px;
  background: #f5f8fb url("/images/placeholder/movie.webp") center / 80px 54px no-repeat;
  box-shadow: 6.629px 0 9.943px rgba(0, 0, 0, 0.25);
}

@media (max-width: 599px) {
  .kmdb-list-featured-card__posters > span {
    background-size: 80px 48px;
    border-radius: 8px;
  }
}

.kmdb-list-featured-card__posters > span:nth-child(1) {
  z-index: 5;
}

.kmdb-list-featured-card__posters > span:nth-child(2) {
  z-index: 4;
}

.kmdb-list-featured-card__posters > span:nth-child(3) {
  z-index: 3;
}

.kmdb-list-featured-card__posters > span:nth-child(4) {
  z-index: 2;
}

.kmdb-list-featured-card__posters > span:nth-child(5) {
  z-index: 1;
}

.kmdb-list-featured-card__posters > span:last-child {
  margin-right: 0;
  box-shadow: none;
}

.kmdb-list-featured-card__posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-featured-card__list-summary {
  display: grid;
  gap: 12px;
  justify-items: start;
  color: var(--color-text-01);
}

.kmdb-list-featured-card__chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--color-icon-default);
  border-radius: 999px;
  color: var(--color-text-01);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-featured-card__chip {
    min-height: 23px;
    padding: 0 6px;
  }
}

.kmdb-list-featured-card strong {
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-featured-card strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-featured-card strong {
    font-size: 16px;
  }
}

.kmdb-list-featured-card em {
  margin-top: -8px;
  color: var(--color-text-02);
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-featured-card em {
    font-size: 14px;
  }
}

.kmdb-list-featured-card__count {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--color-text-01);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
}

.kmdb-list-featured-card__count .kmdb-list-featured-card__count-icon {
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("/icons/navigation/menu.svg") center/contain no-repeat;
  -webkit-mask: url("/icons/navigation/menu.svg") center/contain no-repeat;
}

/* =============================================================================
   목록 — 카탈로그
   진행 안내, 검색, 분류와 목록 전환
   ============================================================================= */
.kmdb-list-catalog {
  container-type: inline-size;
  width: var(--layout-safe-width);
  margin: 40px auto 0;
  padding: 0 0 60px;
}

.kmdb-list-catalog__deferred-search {
  width: 100%;
  height: 80px;
  border-radius: 20px;
}

@media (max-width: 1439px) {
  .kmdb-list-catalog__deferred-search {
    height: 70px;
    border-radius: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-catalog__deferred-search {
    height: 93px;
  }
}

.kmdb-list-catalog__deferred-chips {
  display: flex;
  gap: 8px;
  margin-top: 30px;
  overflow: hidden;
}

@media (max-width: 1439px) {
  .kmdb-list-catalog__deferred-chips {
    margin-top: 40px;
  }
}

.kmdb-list-catalog__deferred-chips > span {
  flex: 0 0 100px;
  height: 44px;
  border-radius: 20px;
}

.kmdb-list-catalog__deferred-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  margin-top: 30px;
  border-bottom: 1px solid var(--color-border-01);
}

.kmdb-list-catalog__deferred-expand {
  width: 260px;
  height: 58px;
  margin: 40px auto 0;
  border-radius: 10px;
}

@media (max-width: 599px) {
  .kmdb-list-catalog__deferred-expand {
    width: 130px;
    height: 44px;
  }
}

.kmdb-list-catalog__deferred-toolbar > span:first-child {
  width: 100px;
  height: 20px;
}

.kmdb-list-catalog__deferred-toolbar > span:last-child {
  width: 72px;
  height: 36px;
  border-radius: 8px;
}

@media (max-width: 1439px) {
  .kmdb-list-catalog {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-catalog {
    margin-top: 24px;
    padding: 0 0 34px;
  }
}

.kmdb-list-catalog .kmdb-catalog-empty-state {
  min-height: calc(13.8889cqw + 112px);
}

@media (max-width: 1439px) {
  .kmdb-list-catalog .kmdb-catalog-empty-state {
    min-height: calc(27.7778cqw + 115px);
  }
}

@media (max-width: 599px) {
  .kmdb-list-catalog .kmdb-catalog-empty-state {
    min-height: calc(55.5556cqw + 119px);
  }
}

.kmdb-list-catalog .kmdb-catalog-empty-state img {
  margin-bottom: 0;
}

.kmdb-list-catalog .kmdb-catalog-empty-state strong {
  color: var(--color-text-02);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-catalog .kmdb-catalog-empty-state strong {
    font-size: 14px;
  }
}

.kmdb-list-catalog__expand {
  display: flex;
  width: 260px;
  min-width: 100px;
  margin: 40px auto 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--color-border-disabled, #dbdee1);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-text-01);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  letter-spacing: -0.6px;
}

@media (max-width: 599px) {
  .kmdb-list-catalog__expand {
    width: 130px;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

.kmdb-list-catalog__expand img {
  width: 24px;
  height: 24px;
}

.kmdb-list-catalog__toolbar {
  margin-top: 30px;
}

@media (max-width: 599px) {
  .kmdb-list-catalog__toolbar {
    flex-direction: row;
    align-items: center;
    padding-bottom: 0;
    border-bottom: 0;
  }
}

.kmdb-list-catalog--table .kmdb-list-catalog__toolbar {
  border-bottom: 0;
}

@media (max-width: 599px) {
  .kmdb-list-view-options {
    display: none;
  }
}

.kmdb-list-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-surface-disabled);
  border-radius: 20px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-progress-card {
  display: flex;
  min-height: 142px;
  align-items: center;
  gap: 16px;
  padding: 28px 30px;
  background: #f5f8fb;
}

.kmdb-list-progress-card__chart {
  --progress: 0;

  display: grid;
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f5f8fb 0 57%, transparent 58%),
    conic-gradient(#000000 calc(var(--progress) * 1%), #d8dde2 0);
  color: var(--color-text-01);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.kmdb-list-progress-card p {
  margin: 0;
  color: var(--color-text-01);
  font-size: 20px;
  line-height: 1.5;
}

.kmdb-list-progress-card p strong {
  font-weight: var(--font-weight-bold);
}

.kmdb-list-progress-card h3 {
  margin: 0 0 4px;
  color: var(--color-text-01);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.kmdb-list-guide-card {
  display: flex;
  min-height: 142px;
  align-items: center;
  gap: 16px;
  padding: 28px 30px;
}

.kmdb-list-guide-card img {
  width: 24px;
  height: 24px;
  align-self: flex-start;
  margin-top: 2px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-guide-card h3 {
  margin: 0 0 4px;
  color: var(--color-text-01);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
}

.kmdb-list-guide-card p {
  margin: 0;
  color: var(--color-text-02);
  font-size: 16px;
  line-height: 1.5;
}

.kmdb-list-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 149px;
  height: 80px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--color-surface-white);
  scroll-margin-top: 24px;
}

.kmdb-list-search::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1.5px solid var(--color-icon-default);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

@media (max-width: 599px) {
  .kmdb-list-search::before {
    display: none;
  }
}

.kmdb-list-search:has(input:focus, button:focus-visible)::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 3px solid var(--color-focus);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.kmdb-list-search button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: -3px;
}


@media (max-width: 599px) {
  .kmdb-list-search:has(input:focus, button:focus-visible)::after {
    display: none;
  }

  .kmdb-list-search input:focus {
    border-color: var(--color-focus);
    outline: 3px solid var(--color-focus);
    outline-offset: -3px;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-search {
    height: 70px;
    border-radius: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-search {
    display: block;
    height: 93px;
    overflow: visible;
    border: 0;
    background: transparent;
  }
}

.kmdb-list-search input {
  outline: 0;
  width: 100%;
  padding: 0 92px 0 30px;
  border: 0;
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 1439px) {
  .kmdb-list-search input {
    padding-right: 62px;
    padding-left: 28px;
    font-size: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-search input {
    height: 56px;
    padding-right: 54px;
    padding-left: 18px;
    border: 1.5px solid var(--color-icon-default);
    border-radius: 16px;
  }
}

.kmdb-list-search input::placeholder {
  color: var(--color-text-02);
}

.kmdb-list-search__submit {
  position: absolute;
  top: 50%;
  right: 169px;
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
}

@media (max-width: 1439px) {
  .kmdb-list-search__submit {
    right: 168px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-search__submit {
    top: 28px;
    right: 8px;
    min-width: 44px;
    min-height: 44px;
  }
}

.kmdb-list-search__submit img {
  width: 28px;
  height: 28px;
}

@media (max-width: 1439px) {
  .kmdb-list-search__submit img {
    width: 24px;
    height: 24px;
  }
}

.kmdb-list-search__reset {
  border-radius: 0 20px 20px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-left: 1.5px solid var(--color-icon-default);
  background: var(--color-surface-white);
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-search__reset:focus-visible {
  border-color: var(--color-focus);
  outline: 3px solid var(--color-focus);
  outline-offset: -3px;
}


@media (max-width: 1439px) {
  .kmdb-list-search__reset {
    border-radius: 0 16px 16px 0;
    font-size: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-search__reset {
    position: absolute;
    top: 64px;
    left: -1px;
    z-index: 2;
    width: 93px;
    height: 40px;
    flex: 0 0 93px;
    gap: 8px;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--color-icon-default);
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 599px) {
  .kmdb-list-search__reset span {
    display: inline;
    flex: 0 0 auto;
  }
}

.kmdb-list-search__reset img {
  width: 28px;
  height: 28px;
}

@media (max-width: 1439px) {
  .kmdb-list-search__reset img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-search__reset img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }
}

.kmdb-list-categories-carousel {
  margin-top: 30px;
}

@media (max-width: 1439px) {
  .kmdb-list-categories-carousel {
    margin-top: 40px;
  }
}

.kmdb-list-categories {
  display: flex;
  gap: 8px;
  width: 100%;
}

.kmdb-list-table__col-no {
  width: 90px;
}

.kmdb-list-table__col-category {
  width: 300px;
}

.kmdb-list-table__col-title {
  width: auto;
}

.kmdb-list-table__col-count {
  width: 150px;
}

.kmdb-list-table__col-more {
  width: 100px;
}

.kmdb-list-table th {
  height: 52px;
  padding-left: 20px;
  border-bottom: 1px solid var(--color-icon-default);
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 1439px) {
  .kmdb-list-table th {
    display: none;
  }
}

.kmdb-list-table th:nth-child(1) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table th:nth-child(4) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table th:nth-child(5) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table td:nth-child(1) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table td:nth-child(4) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table td:nth-child(5) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table th:nth-child(2) {
  text-align: left;
}

.kmdb-list-table th:nth-child(3) {
  text-align: left;
}

.kmdb-list-table td:nth-child(2) {
  text-align: left;
}

.kmdb-list-table td:nth-child(3) {
  text-align: left;
}

.kmdb-list-table td {
  height: 102px;
  padding-left: 20px;
  border-bottom: 1px solid var(--color-surface-disabled);
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  vertical-align: middle;
}

@media (max-width: 1439px) {
  .kmdb-list-table td {
    display: grid;
    height: auto;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding: 0;
    border-bottom: 0;
    font-size: 16px;
    text-align: left;
  }
}

.kmdb-list-table__title {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  align-items: center;
  color: var(--color-text-01);
}

@media (max-width: 1439px) {
  .kmdb-list-table__title {
    min-width: 0;
  }
}

.kmdb-list-table__title span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kmdb-list-table__title em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 10px;
  padding: 6px;
  border-radius: 4px;
  background: var(--color-badge-danger, #d9121f);
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: var(--font-weight-bold);
  line-height: 0.72;
}

.kmdb-list-table__more {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-table__more a {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 7px;
  border: 0.75px solid var(--color-icon-default);
  border-radius: 50%;
}

.kmdb-list-table__more img {
  width: 100%;
  height: 100%;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-table {
  width: 100%;
  border-top: 1px solid var(--color-icon-default);
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 0;
}

@media (max-width: 1439px) {
  .kmdb-list-table {
    display: block;
    margin-top: 0;
    border-top: 0;
  }
}

@media (max-width: 599px) {
  .kmdb-list-table {
    margin-top: 0;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table thead {
    display: none;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table tbody {
    display: block;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table tr {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 30px 60px 30px 0;
    border-bottom: 1px solid var(--color-surface-disabled);
  }
}

@media (max-width: 599px) {
  .kmdb-list-table tr {
    padding-right: 0;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table td:nth-child(1) {
    display: none;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table td:nth-child(2)::before {
    font-weight: var(--font-weight-regular);
    content: "분류";
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table td:nth-child(3)::before {
    font-weight: var(--font-weight-regular);
    content: "리스트명";
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table td:nth-child(4)::before {
    font-weight: var(--font-weight-regular);
    content: "영화 수";
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table td:nth-child(4) {
    text-align: left;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-table td:nth-child(5) {
    position: absolute;
    top: 50%;
    right: 16px;
    display: block;
    transform: translateY(-50%);
  }
}

@media (max-width: 599px) {
  .kmdb-list-table td:nth-child(5) {
    display: none;
  }
}

.kmdb-list-pagination {
  margin-top: 50px;
}

.kmdb-list-album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 348px));
  column-gap: 16px;
  row-gap: 36px;
  margin-top: 30px;
}

@media (min-width: 1440px) {
  .kmdb-list-catalog--expanded .kmdb-list-album-grid {
    row-gap: 50px;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 50px;
    margin-top: 21px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-album-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
    margin-top: 30px;
  }
}

.kmdb-list-album-card {
  width: 100%;
}

@media (max-width: 1439px) {
  .kmdb-list-album-card {
    width: 100%;
  }
}

.kmdb-list-album-card > a {
  display: grid;
  gap: 16px;
}

.kmdb-list-album-card__posters {
  position: relative;
  display: flex;
  --poster-width: 41.6667%;
  --poster-overlap: 27.0833%;
  height: auto;
  aspect-ratio: 9 / 5;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface-disabled);
}

@media (max-width: 1439px) {
  .kmdb-list-album-card__posters {
    width: 100%;
    border-radius: 16px;
  }
}

.kmdb-list-album-card__posters:has(> span:only-child) {
  --poster-width: 100%;
  --poster-overlap: 0%;
}

.kmdb-list-album-card__posters:has(> span:nth-child(2):last-child) {
  --poster-width: 55%;
  --poster-overlap: 10%;
}

/* 3:4 포스터 다섯 장에서 뒤 포스터가 35%씩 노출되는 중첩 */
.kmdb-list-album-card__posters > span {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: var(--poster-width);
  height: 100%;
  flex: 0 0 var(--poster-width);
  margin-right: calc(-1 * var(--poster-overlap));
  overflow: hidden;
  border-radius: 12px;
  background: #f5f8fb url("/images/placeholder/movie.webp") center / 80px 54px no-repeat;
  box-shadow: 6.629px 0 9.943px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1439px) {
  .kmdb-list-album-card__posters > span {
    border-radius: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-album-card__posters > span {
    background-size: 80px 48px;
  }
}

.kmdb-list-album-card__posters > span:nth-child(1) {
  z-index: 5;
}

.kmdb-list-album-card__posters > span:nth-child(2) {
  z-index: 4;
}

.kmdb-list-album-card__posters > span:nth-child(3) {
  z-index: 3;
}

.kmdb-list-album-card__posters > span:nth-child(4) {
  z-index: 2;
}

.kmdb-list-album-card__posters > span:nth-child(5) {
  z-index: 1;
}

.kmdb-list-album-card__posters > span:last-child {
  margin-right: 0;
  box-shadow: none;
}

.kmdb-list-album-card__posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-album-card__posters em {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 7.815px;
  border-radius: 5.21px;
  background: var(--color-badge-danger, #d9121f);
  color: #ffffff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.kmdb-list-album-card__list-summary {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.kmdb-list-album-card__list-summary > strong {
  width: 100%;
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-album-card__list-summary > strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

.kmdb-list-album-card__chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--color-icon-default);
  border-radius: 999px;
  color: var(--color-text-01);
  font-size: 12px;
  line-height: 1.5;
}

.kmdb-list-album-card__count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-02);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
}

.kmdb-list-album-card__count img {
  width: 20px;
  height: 20px;
}

.kmdb-list-album-card.kmdb-skeleton .kmdb-list-album-card__posters > span {
  width: 100%;
  flex: 1 0 100%;
  margin-right: 0;
  box-shadow: none;
}

.kmdb-list-album-card.kmdb-skeleton .kmdb-list-album-card__posters > span:not(:first-child) {
  display: none;
}

.kmdb-list-album-card.kmdb-skeleton
  .kmdb-list-album-card__chip.kmdb-skeleton__line {
  width: 6.5em;
  overflow: hidden;
}

.kmdb-list-album-card.kmdb-skeleton
  .kmdb-list-album-card__list-summary
  > strong.kmdb-skeleton__line {
  display: block;
  width: 70%;
  height: 1.5em;
  overflow: hidden;
  white-space: nowrap;
  -webkit-line-clamp: unset;
}

.kmdb-list-album-card.kmdb-skeleton
  .kmdb-list-album-card__count
  .kmdb-skeleton__line {
  width: 3.5em;
}

.kmdb-list-table tr.kmdb-skeleton .kmdb-skeleton__line {
  display: inline-block;
  max-width: 100%;
  height: 1.5em;
  overflow: hidden;
  white-space: nowrap;
}

.kmdb-list-table tr.kmdb-skeleton td:nth-child(1) .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton .kmdb-list-table__no .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton td:nth-child(1).kmdb-skeleton__line {
  width: 1.5em;
}

.kmdb-list-table tr.kmdb-skeleton td:nth-child(2) .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton .kmdb-list-table__category .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton td:nth-child(2).kmdb-skeleton__line {
  width: 8em;
}

.kmdb-list-table tr.kmdb-skeleton
  .kmdb-list-table__title
  .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton
  .kmdb-list-table__name
  .kmdb-skeleton__line {
  width: 14em;
}

.kmdb-list-table tr.kmdb-skeleton td:nth-child(4) .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton .kmdb-list-table__count .kmdb-skeleton__line,
.kmdb-list-table tr.kmdb-skeleton td:nth-child(4).kmdb-skeleton__line {
  width: 3.5em;
}

.kmdb-list-table tr.kmdb-skeleton .kmdb-list-table__more .kmdb-skeleton__block {
  width: 36px;
  height: 36px;
  margin-inline: auto;
}

@media (max-width: 1439px) {
  .kmdb-list-table tr.kmdb-skeleton td:nth-child(2)::before,
  .kmdb-list-table tr.kmdb-skeleton td:nth-child(3)::before,
  .kmdb-list-table tr.kmdb-skeleton td:nth-child(4)::before {
    display: block;
    visibility: visible !important;
    height: 1.5em;
    border-radius: 4px;
    color: transparent !important;
    background-image: linear-gradient(90deg, #f3f5f7 25%, #e7ebee 50%, #f3f5f7 75%);
    background-size: 200% 100%;
    animation: kmdb-skeleton-shimmer 1.2s linear infinite;
    content: "" !important;
  }

  .kmdb-list-table tr.kmdb-skeleton td:nth-child(2)::before {
    width: 3em;
  }

  .kmdb-list-table tr.kmdb-skeleton td:nth-child(3)::before {
    width: 5em;
  }

  .kmdb-list-table tr.kmdb-skeleton td:nth-child(4)::before {
    width: 4em;
  }

  .kmdb-list-table tr.kmdb-skeleton td:nth-child(2) .kmdb-skeleton__line,
  .kmdb-list-table tr.kmdb-skeleton .kmdb-list-table__category .kmdb-skeleton__line {
    width: 6em;
  }

  .kmdb-list-table tr.kmdb-skeleton
    .kmdb-list-table__title
    .kmdb-skeleton__line,
  .kmdb-list-table tr.kmdb-skeleton
    .kmdb-list-table__name
    .kmdb-skeleton__line {
    width: 12em;
  }
}

/* =============================================================================
   목록 — 추천 셀렉션
   추천, 신규, 인기 셀렉션 영역
   ============================================================================= */
.kmdb-list-recommendations {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 961px) 408px;
  column-gap: 71px;
  row-gap: 60px;
  width: var(--layout-safe-width);
  margin: 0 auto;
  padding: 60px 0;
}

@media (max-width: 1439px) {
  .kmdb-list-recommendations {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 50px;
    width: 100%;
  }
}

@media (max-width: 599px) {
  .kmdb-list-recommendations {
    padding: 40px 0;
  }
}

.kmdb-list-recommendations::before {
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: max(100vw, var(--layout-canvas));
  background: #000000;
  content: "";
  transform: translateX(-50%);
}

@media (max-width: 1439px) {
  .kmdb-list-recommendations::before {
    width: 100vw;
  }
}

.kmdb-list-recommendations__intro {
  display: grid;
  grid-column: 1/-1;
  gap: 8px;
  width: 782px;
}

@media (max-width: 1439px) {
  .kmdb-list-recommendations__intro {
    grid-column: auto;
    width: 100%;
  }
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-recommendations__intro h2 {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
  font-size: 36px;
  font-weight: var(--font-weight-bold);
}

@media (max-width: 1439px) {
  .kmdb-list-recommendations__intro h2 {
    font-size: 32px;
  }
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-recommendations__intro p {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
  font-size: 18px;
  white-space: nowrap;
}

@media (max-width: 1439px) {
  .kmdb-list-recommendations__intro p {
    font-size: 16px;
    white-space: normal;
  }
}

.kmdb-list-recommendations__primary-column {
  min-width: 0;
}

@media (max-width: 1439px) {
  .kmdb-list-recommendations__primary-column {
    display: contents;
  }
}

.kmdb-list-recommended-group {
  min-width: 0;
}

@media (max-width: 1439px) {
  .kmdb-list-recommended-group {
    order: 1;
  }
}

.kmdb-list-recommended-group > h3 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-recommended-group > h3 {
    font-size: 20px;
  }
}

.kmdb-list-recommendation-hero__controls button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--color-icon-default);
  border-radius: 50%;
  background: #ffffff;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__controls button {
    width: 32px;
    height: 32px;
  }
}

.kmdb-list-recommendation-hero__controls img {
  width: 22px;
  height: 22px;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__controls img {
    width: 19px;
    height: 19px;
  }
}

.kmdb-list-recommendation-hero > a.kmdb-is-hidden {
  display: none;
}

.kmdb-list-recommendation-hero {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 960px;
  height: auto;
  aspect-ratio: 9 / 5;
  margin-top: 23px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-surface-disabled);
}

@media (max-width: 1439px) {
  .kmdb-list-recommendation-hero {
    max-width: none;
  }
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero {
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 8px;
    background: transparent;
  }
}

.kmdb-list-recommendation-hero.kmdb-is-empty {
  background: transparent;
}

.kmdb-list-recommendation-hero__empty {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__empty {
    position: relative;
    min-height: calc(55.5556cqw + 110px);
  }
}

.kmdb-list-recommendation-hero > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero > a {
    display: grid;
    height: auto;
  }
}

.kmdb-list-recommendation-hero > a:focus-visible {
  outline: 0;
}

.kmdb-list-recommendation-hero > a:focus-visible::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 3px solid var(--color-focus);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.kmdb-list-recommendation-hero__posters {
  position: relative;
  z-index: 0;
  display: flex;
  --poster-width: 41.6667%;
  --poster-overlap: 27.0833%;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 5;
  justify-content: space-between;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__posters {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
  }
}

.kmdb-list-recommendation-hero__posters:has(> span:only-child) {
  --poster-width: 100%;
  --poster-overlap: 0%;
}

.kmdb-list-recommendation-hero__posters:has(> span:nth-child(2):last-child) {
  --poster-width: 55%;
  --poster-overlap: 10%;
}

/* 3:4 포스터 다섯 장에서 뒤 포스터가 35%씩 노출되는 중첩 */
.kmdb-list-recommendation-hero__posters > span {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  flex: 0 0 var(--poster-width);
  width: var(--poster-width);
  height: 100%;
  margin-right: calc(-1 * var(--poster-overlap));
  object-fit: cover;
  box-shadow: 18.286px 0 27.429px rgba(0, 0, 0, 0.25);
  background: #f5f8fb url("/images/placeholder/movie.webp") center / 80px 54px no-repeat;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__posters > span {
    background-size: 80px 48px;
  }
}

.kmdb-list-recommendation-hero__posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-recommendation-hero__posters > span:nth-child(1) {
  z-index: 5;
}

.kmdb-list-recommendation-hero__posters > span:nth-child(2) {
  z-index: 4;
}

.kmdb-list-recommendation-hero__posters > span:nth-child(3) {
  z-index: 3;
}

.kmdb-list-recommendation-hero__posters > span:nth-child(4) {
  z-index: 2;
}

.kmdb-list-recommendation-hero__posters > span:nth-child(5) {
  z-index: 1;
}

.kmdb-list-recommendation-hero__posters > span:last-child {
  margin-right: 0;
  box-shadow: none;
}

.kmdb-list-recommendation-hero__shade {
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: 1;
  height: 168px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(25.95px);
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__shade {
    display: none;
  }
}

.kmdb-list-recommendation-hero__selection-summary {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  height: 167px;
  flex-direction: column;
  padding: 26px 30px;
  color: #ffffff;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__selection-summary {
    position: static;
    height: 110px;
    padding: 14px 0;
  }
}

.kmdb-list-recommendation-hero__selection-summary > strong {
  width: 600px;
  margin-top: 12px;
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__selection-summary > strong {
    width: calc(100% - 80px);
    margin-top: 12px;
    font-size: 18px;
  }
}

.kmdb-list-recommendation-hero__selection-summary > span:last-child {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__selection-summary > span:last-child {
    max-width: calc(100% - 80px);
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
  }
}

.kmdb-list-recommendation-hero__meta {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__meta {
    font-size: 12px;
  }
}

.kmdb-list-recommendation-hero__meta strong {
  font-weight: var(--font-weight-semibold);
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-recommendation-hero__controls {
  display: flex;
  gap: 8px;
  align-items: center;
  position: absolute;
  right: 30px;
  bottom: 26px;
  z-index: 3;
}

/* 30px 제목 높이와 23px 카드 간격 합산 */
@media (max-width: 599px) {
  .kmdb-list-recommendation-hero__controls {
    top: -53px;
    right: 0;
    bottom: auto;
  }
}

.kmdb-list-new-selections h3 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-new-selections h3 {
    font-size: 20px;
  }
}

.kmdb-list-new-selections {
  margin-top: 50px;
}

@media (max-width: 1439px) {
  .kmdb-list-new-selections {
    order: 3;
    margin-top: 0;
  }
}

.kmdb-list-new-selections__items {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.kmdb-list-new-selections__empty {
  min-height: 525px;
}

@media (max-width: 599px) {
  .kmdb-list-new-selections__empty {
    min-height: 507px;
  }
}

.kmdb-list-new-selections__items article {
  overflow: hidden;
  border: 1px solid var(--color-surface-disabled);
  border-radius: 20px;
  background: transparent;
}

@media (max-width: 599px) {
  .kmdb-list-new-selections__items article {
    border-radius: 16px;
  }
}

.kmdb-list-new-selections__items a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 24px 20px;
  border-radius: inherit;
}

.kmdb-list-new-selections__items a:focus-visible {
  outline: 0;
}

.kmdb-list-new-selections__items a:focus-visible::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 3px solid var(--color-focus);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

@media (max-width: 599px) {
  .kmdb-list-new-selections__items a {
    gap: 4px;
    padding: 24px 14px;
  }
}

.kmdb-list-new-selections__items a > strong {
  margin-top: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-new-selections__items a > strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 599px) {
  .kmdb-list-new-selections__items a > strong {
    margin-top: 8px;
    font-size: 16px;
  }
}

.kmdb-list-popular-selections {
  min-width: 0;
}

@media (max-width: 1439px) {
  .kmdb-list-popular-selections {
    order: 2;
  }
}

.kmdb-list-popular-selections__heading > h3 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-popular-selections__heading > h3 {
    font-size: 20px;
  }
}

.kmdb-list-popular-selections__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections__controls {
    display: none;
  }
}

.kmdb-list-popular-selections__controls button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--color-icon-default);
  border-radius: 50%;
  background: #ffffff;
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections__controls button {
    width: 32px;
    height: 32px;
  }
}

.kmdb-list-popular-selections__controls img {
  width: 22px;
  height: 22px;
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections__controls img {
    width: 19px;
    height: 19px;
  }
}

.kmdb-list-popular-selections article.kmdb-is-hidden {
  display: none;
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections article.kmdb-is-hidden {
    display: block;
  }
}

.kmdb-list-popular-selections__indicator {
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 1439px) {
  .kmdb-list-popular-selections__indicator {
    display: none;
  }
}

.kmdb-list-popular-selections__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kmdb-list-popular-selections__viewport {
  margin-top: 23px;
}

.kmdb-list-popular-selections__items {
  display: grid;
  gap: 31px;
}

@media (max-width: 1439px) {
  .kmdb-list-popular-selections__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections__viewport {
    width: calc(100% + var(--layout-gutter));
    overflow: hidden;
  }
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections__items {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 92.7%;
    gap: 16px;
    width: 100%;
    box-sizing: content-box;
    padding-right: var(--layout-safe-gutter);
  }
}

.kmdb-list-popular-selections__empty {
  min-height: 1147px;
}

@media (max-width: 1439px) {
  .kmdb-list-popular-selections__empty {
    grid-column: 1 / -1;
    min-height: 346px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections__empty {
    min-height: 298px;
  }
}

.kmdb-list-popular-selections article > a {
  display: grid;
  gap: 18px;
}

@media (max-width: 599px) {
  .kmdb-list-popular-selections article > a {
    gap: 14px;
  }
}

.kmdb-list-popular-selections .kmdb-list-selection-author {
  color: #ffffff;
}

.kmdb-list-popular-selections .kmdb-list-selection-stats {
  color: #ffffff;
}

.kmdb-list-popular-selections .kmdb-list-selection-description {
  color: var(--color-border-disabled);
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-popular-selection__posters {
  display: flex;
  --poster-width: 41.6667%;
  --poster-overlap: 27.0833%;
  height: auto;
  aspect-ratio: 9 / 5;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface-disabled);
  isolation: isolate;
}

.kmdb-list-popular-selection__posters:has(> span:only-child) {
  --poster-width: 100%;
  --poster-overlap: 0%;
}

.kmdb-list-popular-selection__posters:has(> span:nth-child(2):last-child) {
  --poster-width: 55%;
  --poster-overlap: 10%;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */

/* 인기 셀렉션 카드 폭에 맞춘 포스터 겹침 */
.kmdb-list-popular-selection__posters > span {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  width: var(--poster-width);
  height: 100%;
  flex: 0 0 var(--poster-width);
  margin-right: calc(-1 * var(--poster-overlap));
  object-fit: cover;
  box-shadow: 7.771px 0 11.657px rgba(0, 0, 0, 0.25);
  background: #f5f8fb url("/images/placeholder/movie.webp") center / 80px 54px no-repeat;
}

@media (max-width: 599px) {
  .kmdb-list-popular-selection__posters > span {
    background-size: 80px 48px;
  }
}

.kmdb-list-popular-selection__posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-popular-selection__posters > span:nth-child(1) {
  z-index: 5;
}

.kmdb-list-popular-selection__posters > span:nth-child(2) {
  z-index: 4;
}

.kmdb-list-popular-selection__posters > span:nth-child(3) {
  z-index: 3;
}

.kmdb-list-popular-selection__posters > span:nth-child(4) {
  z-index: 2;
}

.kmdb-list-popular-selection__posters > span:nth-child(5) {
  z-index: 1;
}

.kmdb-list-popular-selection__posters > span:last-child {
  margin-right: 0;
  box-shadow: none;
}

.kmdb-list-popular-selection__selection-summary {
  display: grid;
  gap: 4px;
}

.kmdb-list-popular-selection__selection-summary > strong {
  margin-top: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-popular-selection__selection-summary > strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 599px) {
  .kmdb-list-popular-selection__selection-summary > strong {
    margin-top: 4px;
    font-size: 16px;
  }
}

.kmdb-list-selection-author {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-selection-author {
    font-size: 12px;
  }
}

.kmdb-list-selection-author strong {
  margin-right: 2px;
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-selection-description {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kmdb-list-selection-description:empty {
  display: none;
}

.kmdb-list-selection-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
}

.kmdb-list-selection-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kmdb-list-selection-stats img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.kmdb-list-selection-stats i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-03);
}

/* =============================================================================
   상세 — 기본 구조
   상세 본문 레이아웃과 요약 정보
   ============================================================================= */
.kmdb-list-detail__layout--voters {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1439px) {
  .kmdb-list-detail__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.kmdb-list-detail__primary-column {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 1439px) {
  .kmdb-list-detail__primary-column {
    grid-row: auto;
  }
}

.kmdb-list-detail__information-sidebar {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.kmdb-list-detail__related-column {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

@media (max-width: 1439px) {
  .kmdb-list-detail__related-column {
    grid-row: auto;
  }
}

.kmdb-list-detail-actions {
  flex: none;
}

.kmdb-list-detail-summary {
  display: grid;
  gap: 8px;
}

.kmdb-list-detail-summary__metadata-row {
  display: flex;
  min-height: 40px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1439px) {
  .kmdb-list-detail-summary__metadata-row {
    min-height: 30px;
  }
}

.kmdb-list-detail-summary__category-chip {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--color-icon-default);
  border-radius: 111px;
  color: var(--color-text-01);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.kmdb-list-detail-summary__owner {
  color: var(--color-text-01);
  font-size: 16px;
  line-height: 1.5;
}

.kmdb-list-detail-summary__owner strong {
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-detail-summary--selection .kmdb-list-detail-summary__owner {
  font-size: 14px;
  line-height: 1.5;
}

.kmdb-list-detail-summary--selection {
  gap: 8px;
}

.kmdb-list-detail-summary__selection-heading {
  display: grid;
  gap: 8px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-detail-summary__selection-heading h1 {
  margin: 0;
  color: var(--color-text-01);
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-detail-summary__selection-heading h1 {
    font-size: 32px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-detail-summary__selection-heading h1 {
    font-size: 28px;
  }
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-detail-summary__selection-heading p {
  margin: 0;
  color: var(--color-text-02);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-detail-summary__selection-heading p {
    font-size: 18px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-detail-summary__selection-heading p {
    font-size: 16px;
  }
}

.kmdb-list-detail-summary__title-actions-row {
  width: 100%;
  min-width: 0;
}

.kmdb-list-detail-summary__title-actions-row h1 {
  min-width: 0;
  margin: 0;
  color: var(--color-text-01);
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.kmdb-list-detail-summary__metadata-row .kmdb-detail-actions b {
  font: inherit;
}

/* =============================================================================
   상세 — 개요와 진행률
   개요 접기, 감상 진행률과 분류
   ============================================================================= */
.kmdb-list-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.kmdb-list-overview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-icon-default);
}

.kmdb-list-overview__header h2 {
  margin: 0;
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.kmdb-list-overview__toggle {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.kmdb-list-overview__toggle img {
  width: 24px;
  height: 24px;
}

@media (max-width: 599px) {
  .kmdb-list-overview__editor-frame {
    --kmdb-editor-font-size: 16px;
  }
}

.kmdb-list-overview.kmdb-is-collapsed .kmdb-list-overview__editor-frame {
  max-height: 51px;
  overflow: hidden;
}

.kmdb-list-detail-progress {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--color-surface-disabled);
  border-radius: 16px;
  background: #f5f8fb;
}

@media (max-width: 599px) {
  .kmdb-list-detail-progress {
    min-height: 183px;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    padding: 18px 30px;
    border-radius: 20px;
    background: var(--color-background-gray-subtler);
  }
}

.kmdb-list-detail-progress__chart {
  flex: 0 0 auto;
}

@media (max-width: 599px) {
  .kmdb-list-detail-progress__chart {
    width: 76px;
    height: 76px;
    background:
      radial-gradient(
        circle at center,
        var(--color-background-gray-subtler) 0 57%,
        transparent 58%
      ),
      conic-gradient(
        var(--color-icon-default) calc(var(--progress) * 1%),
        var(--color-surface-disabled) 0
      );
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
  }
}

.kmdb-list-detail-progress__text {
  min-width: 0;
}

@media (max-width: 599px) {
  .kmdb-list-detail-progress__text {
    text-align: center;
  }
}

.kmdb-list-detail-progress__text > span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text-01);
  font-size: 14px;
  line-height: 1.5;
}

.kmdb-list-detail-progress .kmdb-list-detail-progress__summary {
  margin: 0;
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

@media (max-width: 599px) {
  .kmdb-list-detail-progress .kmdb-list-detail-progress__summary {
    font-size: 16px;
  }
}

.kmdb-list-detail-progress .kmdb-list-detail-progress__summary span {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-detail-progress .kmdb-list-detail-progress__summary strong {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: var(--font-weight-bold);
}

.kmdb-list-case-categories {
  margin-top: 40px;
}

.kmdb-list-case-categories > h2 {
  margin: 0 0 16px;
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 var(--color-icon-default);
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.kmdb-list-case-categories__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1439px) {
  .kmdb-list-case-categories__chips {
    flex-wrap: nowrap;
    margin-right: calc(var(--layout-gutter) * -1);
    padding-right: var(--layout-gutter);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 599px) {
  .kmdb-list-case-categories__chips {
    height: 37px;
  }
}

.kmdb-list-case-categories__chips::-webkit-scrollbar {
  display: none;
}

.kmdb-list-case-categories__carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}

.kmdb-list-case-categories__progress {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 16px;
  padding: 28px 20px;
  border-radius: 12px;
  background: var(--color-background-gray-subtler);
}

@media (max-width: 1439px) {
  .kmdb-list-case-categories__progress {
    padding: 24px 20px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-case-categories__progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 0;
    padding: 18px 16px;
  }
}

.kmdb-list-case-categories__progress > span {
  margin: 0;
  color: var(--color-text-01);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 599px) {
  .kmdb-list-case-categories__progress > span {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }
}

.kmdb-list-case-categories__progress-summary {
  display: flex;
  min-width: 0;
  flex: 1;
  gap: 12px;
  align-items: center;
}

@media (max-width: 599px) {
  .kmdb-list-case-categories__progress-summary {
    display: contents;
  }
}

.kmdb-list-case-categories__progress-track {
  height: 26px;
  flex: 1;
  overflow: hidden;
  border-radius: 120px;
  background: var(--color-divider-02);
}

@media (max-width: 1439px) {
  .kmdb-list-case-categories__progress-track {
    height: 22px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-case-categories__progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 20px;
  }
}

.kmdb-list-case-categories__progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-icon-default);
}

.kmdb-list-case-categories__progress-summary p {
  display: flex;
  gap: 3px;
  align-items: center;
  margin: 0;
  color: var(--color-text-01);
  font-size: 18px;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 1439px) {
  .kmdb-list-case-categories__progress-summary p {
    font-size: 16px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-case-categories__progress-summary p {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
  }
}

.kmdb-list-case-categories__progress-summary p b {
  font-weight: var(--font-weight-bold);
}

@media (max-width: 1439px) {
  .kmdb-list-case-categories__progress-summary p b {
    font-weight: var(--font-weight-semibold);
  }
}

.kmdb-list-case-categories__progress-summary p > span {
  font-weight: var(--font-weight-regular);
}

.kmdb-list-case-categories__progress-summary p strong {
  font-weight: var(--font-weight-bold);
}

@media (max-width: 1439px) {
  .kmdb-list-case-categories__progress-summary p strong {
    font-weight: var(--font-weight-semibold);
  }
}

/* =============================================================================
   상세 — 영화 목록
   유형별 영화 표와 열 너비
   ============================================================================= */
.kmdb-list-movie-section {
  margin-top: 40px;
}

.kmdb-list-movie-section__empty {
  min-height: calc(18.75cqw + 68px);
}

@media (max-width: 1439px) {
  .kmdb-list-movie-section__empty {
    min-height: calc(18.75cqw + 68px);
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-section__empty {
    min-height: calc(56.25cqw + 68px);
  }
}

.kmdb-list-movie-section__head {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.kmdb-list-movie-section__head h2 {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.kmdb-list-movie-section__head strong:not(.kmdb-counter-chip__count) {
  display: flex;
  height: 28px;
  min-width: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 123px;
  background: var(--color-surface-black, #000);
  color: var(--color-text-white, #fff);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-movie-section__count {
  background: var(--color-gray-variation-900, #222222);
  color: var(--color-text-white, #fff);
}

.kmdb-list-movie-section__note {
  margin: 0 auto 0 16px;
  color: var(--color-text-02);
  font-size: 13px;
}

.kmdb-list-movie-section__views {
  margin-left: auto;
}

@media (max-width: 599px) {
  .kmdb-list-movie-section__views {
    display: none;
  }
}

.kmdb-list-movie-section__views button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* =============================================================================
   상세 — 영화 앨범
   선정 작품의 앨범형 보기
   ============================================================================= */
.kmdb-list-movie-album {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 22px;
  padding-top: 30px;
  border-top: 1px solid var(--color-icon-default);
}

@media (max-width: 899px) {
  .kmdb-list-movie-album {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-album {
    grid-template-columns: minmax(0, 1fr);
  }
}

.kmdb-list-movie-album[hidden] {
  display: none;
}

.kmdb-list-movie-card {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.kmdb-list-movie-card__poster {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--color-surface-disabled);
}

.kmdb-list-movie-card__poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-movie-card__poster-trigger {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.kmdb-list-movie-card__rank {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 10px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--color-surface-black, #000000);
  color: var(--color-text-white, #ffffff);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
}

.kmdb-list-movie-card__watch {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 10px;
}

.kmdb-list-movie-card__summary {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-01);
  text-align: left;
  cursor: pointer;
}

.kmdb-list-movie-card__summary > strong {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-movie-card__summary > strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-card__summary > strong {
    font-size: 16px;
  }
}

.kmdb-list-movie-card__meta {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  color: var(--color-text-02);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.kmdb-list-movie-card__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kmdb-list-movie-card__meta i {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--color-text-03);
}

.kmdb-list-movie-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.kmdb-list-movie-card__material {
  display: inline-flex;
  min-height: 30px;
  gap: 4px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid var(--color-border-disabled, #dbdee1);
  border-radius: 48px;
  background: var(--color-surface-white, #ffffff);
  color: var(--color-text-01);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  cursor: pointer;
}

.kmdb-list-movie-card__material strong {
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-movie-card__vote {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--color-border-disabled, #dbdee1);
  border-radius: 48px;
  background: var(--color-surface-white, #ffffff);
  color: var(--color-text-01);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table th:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table td:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table th:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table td:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table th:not(:first-child) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table td:not(:first-child) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-section--professional
  .kmdb-list-movie-table
  th:not(:first-child) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-section--professional
  .kmdb-list-movie-table
  td:not(:first-child) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table__col-title {
  width: 300px;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table__col-title {
  width: 300px;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table__col-director {
  width: 150px;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table__col-director {
  width: 150px;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table__col-year {
  width: 120px;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table__col-year {
  width: 120px;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table__col-material {
  width: 180px;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table__col-material {
  width: 180px;
}

.kmdb-list-movie-section--section .kmdb-list-movie-table__col-watched {
  width: 150px;
}

.kmdb-list-movie-section--professional .kmdb-list-movie-table__col-watched {
  width: 150px;
}

.kmdb-list-movie-section--generic .kmdb-list-movie-table th:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--generic .kmdb-list-movie-table td:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--genre .kmdb-list-movie-table th:first-child {
  padding-left: 20px;
  text-align: left;
}

.kmdb-list-movie-section--genre .kmdb-list-movie-table td:first-child {
  padding-left: 20px;
  text-align: left;
}

/* stylelint-disable selector-class-pattern -- 모디파이어가 API enum 값을 그대로 쓰고 있어 밑줄이 섞인다.
   개명하려면 마크업까지 함께 바꿔야 하므로 렌더링 무변화 범위 밖이다 */
.kmdb-list-movie-section--professional_summary
  .kmdb-list-movie-table__col-rank {
  width: 70px;
}

.kmdb-list-movie-section--professional_summary
  .kmdb-list-movie-table__col-title {
  width: 280px;
}

.kmdb-list-movie-section--professional_summary
  .kmdb-list-movie-table__col-director {
  width: 150px;
}

.kmdb-list-movie-section--professional_summary
  .kmdb-list-movie-table__col-watched {
  width: 150px;
}

.kmdb-list-movie-section--professional_summary
  .kmdb-list-movie-table__col-year {
  width: 120px;
}

.kmdb-list-movie-section--professional_summary
  .kmdb-list-movie-table__col-vote {
  width: 130px;
}
/* stylelint-enable selector-class-pattern */

.kmdb-list-movie-table-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
}

.kmdb-list-movie-table-scroll[hidden] {
  display: none;
}

.kmdb-list-movie-table__col-rank {
  width: 70px;
}

.kmdb-list-movie-table__col-title {
  width: 270px;
}

.kmdb-list-movie-table__col-director {
  width: 140px;
}

.kmdb-list-movie-table__col-year {
  width: 120px;
}

.kmdb-list-movie-table__col-material {
  width: 180px;
}

.kmdb-list-movie-table__col-vote {
  width: 120px;
}

.kmdb-list-movie-table__col-watched {
  width: 120px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-movie-table {
  width: 100%;
  min-width: 900px;
  border-top: 1px solid var(--color-icon-default);
  border-collapse: collapse;
  table-layout: fixed;
}

@media (max-width: 599px) {
  .kmdb-list-movie-table {
    display: block;
  }
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-movie-table th {
  height: 52px;
  padding-left: 20px;
  border-bottom: 1px solid var(--color-icon-default);
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 599px) {
  .kmdb-list-movie-table th {
    display: none;
  }
}

.kmdb-list-movie-table td {
  height: 102px;
  padding-left: 20px;
  border-bottom: 1px solid var(--color-surface-disabled);
  color: var(--color-text-01);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  vertical-align: middle;
}

@media (max-width: 599px) {
  .kmdb-list-movie-table td {
    height: auto;
    padding: 0;
    border-bottom: 0;
    font-size: 16px;
    text-align: left;
    vertical-align: initial;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-table thead {
    display: none;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-table tbody {
    display: block;
  }
}

.kmdb-list-movie-table td a {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-01);
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.kmdb-list-movie-table td button[data-list-info-trigger] {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-01);
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.kmdb-list-movie-table th:nth-child(1) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table th:nth-child(3) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table th:nth-child(4) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table th:nth-child(5) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table th:nth-child(6) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table td:nth-child(1) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table td:nth-child(3) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table td:nth-child(4) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table td:nth-child(5) {
  padding-left: 0;
  text-align: center;
}

.kmdb-list-movie-table td:nth-child(6) {
  padding-left: 0;
  text-align: center;
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields {
    display: grid;
    gap: 14px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border-disabled);
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields__field {
    display: grid;
    min-width: 0;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields__field--rank,
  .kmdb-list-movie-fields__field--title {
    gap: 14px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields__field--watch {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: -1;
    margin-bottom: 4px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields__field .kmdb-list-material-chip {
    justify-self: start;
  }
}

.kmdb-list-movie-fields__label {
  display: none;
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields__label {
    display: block;
    width: 80px;
    color: var(--color-text-01);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    text-align: left;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-fields__value {
    min-width: 0;
    color: var(--color-text-01);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: left;
    text-wrap: pretty;
  }
}

@media (max-width: 599px) {
  .kmdb-list-movie-section
    .kmdb-list-movie-table
    td.kmdb-list-movie-fields__field {
    padding: 0;
    text-align: left;
  }
}

.kmdb-list-movie-section__sentinel {
  width: 100%;
  height: 1px;
}

/* =============================================================================
   상세 — 설명형 목록
   CMS 에디터 HTML의 바깥 배치만 페이지가 소유한다.
   ============================================================================= */
.kmdb-list-description-case {
  margin-top: 44px;
}

/* =============================================================================
   셀렉션 — 영화 카드
   그리드에 표시하는 영화 카드
   ============================================================================= */
.kmdb-list-selection-card {
  min-width: 0;
  width: 100%;
}

@media (max-width: 599px) {
  .kmdb-list-selection-card {
    box-shadow: inset 0 -1px var(--color-border-disabled);
  }
}

.kmdb-list-selection-card > button {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-01);
  text-align: left;
  cursor: pointer;
}

@media (max-width: 599px) {
  .kmdb-list-selection-card > button {
    flex-direction: row;
    gap: 16px;
    align-items: center;
    padding: 30px 0;
  }
}

.kmdb-list-selection-card__poster {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface-disabled);
}

@media (max-width: 599px) {
  .kmdb-list-selection-card__poster {
    width: 106px;
    flex: 0 0 106px;
    border-radius: 8px;
  }
}

.kmdb-list-selection-card__poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-selection-card__movie-summary {
  display: grid;
  gap: 4px;
  min-width: 0;
}

@media (max-width: 599px) {
  .kmdb-list-selection-card__movie-summary {
    flex: 1;
    gap: 8px;
  }
}

.kmdb-list-selection-card__movie-summary > strong {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-selection-card__movie-summary > strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 599px) {
  .kmdb-list-selection-card__movie-summary > strong {
    font-size: 16px;
  }
}

.kmdb-list-selection-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-text-02);
  font-size: 14px;
  line-height: 1.5;
}

.kmdb-list-selection-card__meta i {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--color-text-03);
}

/* =============================================================================
   셀렉션 — 탐색과 관련 목록
   필터, 보기 전환, 페이지네이션과 관련 셀렉션
   ============================================================================= */
.kmdb-list-selection-case {
  container-type: inline-size;
  margin-top: 0;
}

.kmdb-list-selection-case__empty {
  min-height: 400px;
  margin-top: 20px;
  padding: 24px;
  gap: 12px;
  border: 1px solid var(--color-border-disabled);
  border-radius: 20px;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__empty {
    min-height: 400px;
    gap: 8px;
  }
}

@media (max-width: 599px) {
  .kmdb-list-selection-case__empty {
    min-height: 400px;
    border: 0;
  }
}

.kmdb-list-selection-case__empty img {
  width: 28px;
  height: 28px;
  margin: 0;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__empty img {
    width: 24px;
    height: 24px;
  }
}

.kmdb-list-selection-case__empty-copy {
  display: grid;
  gap: 4px;
}

.kmdb-list-selection-case__empty strong {
  font-size: var(--typo-body-5-size);
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__empty strong {
    font-size: var(--typo-body-4-size);
  }
}

.kmdb-list-selection-case__empty span {
  color: var(--color-text-02);
  font-size: var(--typo-body-4-size);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__empty span {
    font-size: var(--typo-body-3-size);
  }
}

.kmdb-list-selection-detail {
  min-width: 0;
}

.kmdb-list-selection-case__toolbar {
  margin-top: 30px;
}

.kmdb-list-selection-case__views {
  display: flex;
  align-items: center;
}

@media (max-width: 599px) {
  .kmdb-list-selection-case__views {
    display: none;
  }
}

.kmdb-list-selection-case__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 50px 23px;
  margin-top: 30px;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .kmdb-list-selection-case__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .kmdb-list-selection-case__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 0;
  }
}

.kmdb-list-selection-case__grid[hidden] {
  display: none;
}

.kmdb-list-selection-case__list {
  width: 100%;
  margin-top: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list {
    display: block;
  }
}

.kmdb-list-selection-case__list[hidden] {
  display: none;
}

.kmdb-list-selection-case__list th {
  height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-icon-default);
  font-size: var(--typo-body-4-size);
  font-weight: var(--font-weight-regular);
  text-align: center;
}

.kmdb-list-selection-case__list th:nth-child(2) {
  text-align: left;
}

.kmdb-list-selection-case__list th:first-child {
  width: 90px;
}

.kmdb-list-selection-case__list th:nth-child(3) {
  width: 140px;
}

.kmdb-list-selection-case__list th:nth-child(4) {
  width: 170px;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list thead {
    display: none;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list tbody {
    display: block;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list tr {
    position: relative;
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    grid-template-rows: repeat(3, min-content);
    align-content: center;
    column-gap: 20px;
    row-gap: 14px;
    min-height: 226px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border-disabled);
  }
}

.kmdb-list-selection-case__list td {
  height: 100px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-disabled);
  color: var(--color-text-01);
  font-size: var(--typo-body-4-size);
  vertical-align: middle;
  text-align: center;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list td {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    column-gap: 12px;
    height: auto;
    padding: 0;
    border: 0;
    align-items: start;
    text-align: left;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list td:first-child {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 126px;
    transform: translateY(-50%);
  }
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list td[data-label] {
    grid-column: 2;
  }
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list td[data-label]::before {
    content: attr(data-label);
    color: var(--color-text-02);
  }

  .kmdb-list-selection-case__list tr.kmdb-skeleton td[data-label]::before {
    display: block;
    visibility: visible !important;
    width: 5em;
    height: 1.5em;
    border-radius: 4px;
    color: transparent !important;
    background-image: linear-gradient(90deg, #f3f5f7 25%, #e7ebee 50%, #f3f5f7 75%);
    background-size: 200% 100%;
    animation: kmdb-skeleton-shimmer 1.2s linear infinite;
    content: "" !important;
  }
}

.kmdb-list-selection-case__list-poster {
  display: grid;
  margin: 0 auto;
  width: 54px;
  height: 72px;
  border-radius: 4px;
  place-items: center;
  overflow: hidden;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__list-poster {
    width: 126px;
    height: 166px;
    border-radius: 12px;
  }
}

.kmdb-list-selection-case__list-poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-selection-case__list-title {
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: var(--font-weight-bold);
  text-align: left;
  cursor: pointer;
}

.kmdb-list-selection-case__sentinel {
  width: 100%;
  height: 1px;
}

.kmdb-list-selection-case__pagination {
  margin-top: 50px;
}

.kmdb-list-selection-case__related {
  margin-top: 72px;
}

.kmdb-list-selection-case__related-header {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.kmdb-list-selection-case__related-header h2 {
  margin: 0;
  color: var(--color-text-01);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__related-header h2 {
    font-size: 20px;
  }
}

.kmdb-list-selection-case__related-header h2 strong {
  font-weight: inherit;
}

.kmdb-list-selection-case__related-controls {
  display: flex;
  gap: 8px;
}

.kmdb-list-selection-case__related-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--color-icon-default);
  border-radius: 50%;
  background: var(--color-surface-white);
  cursor: pointer;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__related-controls button {
    width: 32px;
    height: 32px;
  }
}

.kmdb-list-selection-case__related-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.kmdb-list-selection-case__related-controls img {
  width: 22px;
  height: 22px;
}

.kmdb-list-selection-case__related-viewport {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__related-viewport {
    width: auto;
    margin-right: calc(var(--layout-gutter) * -1);
  }
}

.kmdb-list-selection-case__related-track {
  display: flex;
  width: max-content;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__related-track {
    padding-right: var(--layout-safe-gutter);
  }
}

.kmdb-list-selection-case__related-track article {
  width: 408px;
  flex: 0 0 408px;
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__related-track article {
    width: 310px;
    flex-basis: 310px;
  }
}

.kmdb-list-selection-case__related-track article > a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  color: var(--color-text-01);
}

.kmdb-list-selection-case__related-sentinel {
  width: 100%;
  height: 1px;
}

.kmdb-list-selection-case__related-posters {
  isolation: isolate;
  --poster-width: 41.6667%;
  --poster-overlap: 27.0833%;
  display: flex;
  width: 408px;
  height: auto;
  aspect-ratio: 9 / 5;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-surface-disabled);
}

@media (max-width: 1439px) {
  .kmdb-list-selection-case__related-posters {
    width: 310px;
  }
}

.kmdb-list-selection-case__related-posters:has(> .kmdb-image-frame:only-child) {
  --poster-width: 100%;
  --poster-overlap: 0%;
}

.kmdb-list-selection-case__related-posters:has(> .kmdb-image-frame:nth-child(2):last-child) {
  --poster-width: 55%;
  --poster-overlap: 10%;
}

/* 관련 셀렉션 카드 폭에 맞춘 포스터 겹침 */
.kmdb-list-selection-case__related-posters > .kmdb-image-frame {
  position: relative;
  width: var(--poster-width);
  height: 100%;
  flex: 0 0 var(--poster-width);
  margin-right: calc(-1 * var(--poster-overlap));
  object-fit: cover;
  box-shadow: 8px 0 12px rgba(0, 0, 0, 0.25);
}

.kmdb-list-selection-case__related-posters > .kmdb-image-frame:nth-child(1) {
  z-index: 5;
}

.kmdb-list-selection-case__related-posters > .kmdb-image-frame:nth-child(2) {
  z-index: 4;
}

.kmdb-list-selection-case__related-posters > .kmdb-image-frame:nth-child(3) {
  z-index: 3;
}

.kmdb-list-selection-case__related-posters > .kmdb-image-frame:nth-child(4) {
  z-index: 2;
}

.kmdb-list-selection-case__related-posters > .kmdb-image-frame:nth-child(5) {
  z-index: 1;
}

.kmdb-list-selection-case__related-posters > .kmdb-image-frame:last-child {
  margin-right: 0;
  box-shadow: none;
}

.kmdb-list-selection-case__related-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.kmdb-list-selection-case__related-author {
  font-size: 14px;
  line-height: 1.5;
}

.kmdb-list-selection-case__related-author strong {
  margin-right: 2px;
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-selection-case__related-heading {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (min-width: 600px) {
  .kmdb-list-selection-case__related-heading {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 599px) {
  .kmdb-list-selection-case__related-heading {
    font-size: 16px;
  }
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-selection-case__related-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-02);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-selection-case__related-stats > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kmdb-list-selection-case__related-stats img {
  width: 20px;
  height: 20px;
}

.kmdb-list-selection-case__related-stats i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-03);
}

/* =============================================================================
   상세 — 자료와 관람 상태
   자료 수량 표시와 관람 체크
   ============================================================================= */
.kmdb-list-material-chip {
  display: inline-flex;
  gap: 4px;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--color-surface-disabled);
  border-radius: 999px;
  color: var(--color-text-01);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  background: var(--color-surface-white, #ffffff);
}

.kmdb-list-material-chip strong {
  font-weight: var(--font-weight-bold);
}

.kmdb-list-watch-check {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--color-surface-disabled);
  border-radius: var(--number-max, 1000px);
  background: var(--color-surface-white);
}

.kmdb-list-watch-check img {
  width: 24px;
  height: 24px;
  opacity: 0.45;
}

.kmdb-list-watch-check.kmdb-is-checked {
  border-color: var(--color-surface-white, #ffffff);
  background: var(--color-surface-black, #000000);
}

.kmdb-list-watch-check.kmdb-is-checked img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* =============================================================================
   상세 — 자료 선택 대화상자
   DVD와 블루레이 자료 선택
   ============================================================================= */
.kmdb-list-detail-dialog-backdrop[hidden] {
  display: none;
}

.kmdb-list-detail-dialog-backdrop {
  background: var(--color-background-bg-dim, rgba(0, 0, 0, 0.5));
}

.kmdb-list-material-dialog {
  display: flex;
  flex-direction: column;
  width: 480px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 20px 0;
  border-radius: 20px;
  background: var(--color-surface-white, #ffffff);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 599px) {
  .kmdb-list-material-dialog {
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
  }
}

.kmdb-list-material-dialog__header {
  flex-shrink: 0;
  padding: 0 16px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-material-dialog__header p {
  margin: 0;
  line-height: 1.5;
  color: var(--color-text-02, #515458);
  font-size: 14px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-material-dialog__header h2 {
  margin: 0;
  line-height: 1.5;
  color: var(--color-text-01, #222222);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
}

.kmdb-list-material-dialog__groups {
  min-height: 0;
  overflow-y: auto;
  margin-top: 6px;
}

.kmdb-list-material-dialog__group {
  padding-top: 10px;
}

.kmdb-list-material-dialog__group--bluray {
  margin-top: 20px;
  border-top: 1px solid var(--color-icon-default, #222222);
}

.kmdb-list-material-dialog__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px;
  padding: 6px;
  border-radius: 4px;
  color: var(--color-text-white, #ffffff);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.5;
}

.kmdb-list-material-dialog__badge--dvd {
  background: var(--badge-success, #1282d9);
}

.kmdb-list-material-dialog__badge--bluray {
  background: var(--badge-information, #0fb356);
}

.kmdb-list-material-dialog__items {
  margin-top: 4px;
}

.kmdb-list-material-dialog__item {
  display: flex;
  min-height: 82px;
  gap: 16px;
  align-items: center;
  padding: 8px 20px;
}

.kmdb-list-material-dialog__poster {
  width: 50px;
  height: 66px;
  flex: 0 0 50px;
  border-radius: 6px;
  object-fit: cover;
}

.kmdb-list-material-dialog__material-summary {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-material-dialog__material-summary small {
  color: var(--color-text-01, #222222);
  line-height: 1.5;
  font-size: 12px;
  font-weight: var(--font-weight-regular);
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-material-dialog__material-summary strong {
  color: var(--color-text-01, #222222);
  line-height: 1.5;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
}

.kmdb-list-material-dialog__chevron {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.kmdb-list-material-dialog__actions {
  flex-shrink: 0;
  width: 436px;
  max-width: calc(100% - 44px);
  margin: 14px auto 0;
}

.kmdb-list-material-dialog__actions p {
  margin: 10px 0 0;
  color: var(--color-text-02, #515458);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.kmdb-list-detail-dialog__confirm {
  width: 100%;
  border-radius: 10px;
}

/* =============================================================================
   상세 — 정보 사이드바
   선택한 영화의 이미지와 부가 정보
   ============================================================================= */
.kmdb-list-side-info {
  min-height: 210px;
}

.kmdb-list-side-info[hidden] {
  display: none;
}

.kmdb-list-side-info dl[hidden] {
  display: none;
}

.kmdb-list-side-info p[hidden] {
  display: none;
}

.kmdb-list-side-info [data-list-info-media][hidden] {
  display: none;
}

.kmdb-list-side-info dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-disabled, #dbdee1);
}

.kmdb-list-side-info dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.kmdb-list-side-info dl dt {
  color: var(--color-text-03, #838689);
}

.kmdb-list-side-info dl dd {
  margin: 0;
  color: var(--color-text-01, #222);
  font-weight: var(--font-weight-semibold);
}

.kmdb-list-side-info p {
  margin-top: 8px;
  color: var(--color-text-02, #515458);
  font-size: 15px;
}

.kmdb-list-side-info__media {
  display: grid;
  width: 100%;
  height: 264px;
  place-items: center;
  overflow: hidden;
  background: var(--color-surface-disabled, #e2e5e9);
}

.kmdb-list-side-info__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kmdb-list-side-info__selected-information {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.kmdb-list-side-info__selected-information p {
  margin: 0;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-side-info__selected-information small {
  margin: 0;
  color: var(--color-text-03, #838689);
  font-size: 14px;
}

/* 공통 선언 뒤 선택자별 보정 순서 유지 */
.kmdb-list-side-info__selected-information strong {
  margin: 0;
  margin-top: 10px;
  color: var(--color-text-01, #222);
  font-size: 22px;
}

/* =============================================================================
   선정 대상자 — 목록과 코멘트
   ============================================================================= */
.kmdb-list-voters {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.kmdb-list-voters__results {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.kmdb-list-voters__notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgb(227 253 238 / 50%);
}
.kmdb-list-voters__notice img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.kmdb-list-voters__notice p {
  margin: 0;
  color: var(--color-text-01);
  font-size: var(--typo-body-3-size);
  line-height: 1.5;
}
.kmdb-list-voters__index-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 899px) {
  .kmdb-list-voters__index-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
.kmdb-list-voters__index-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
}
.kmdb-list-voters__index-heading p {
  margin: 0;
  color: var(--color-text-02);
  font-size: var(--typo-body-3-size);
}
.kmdb-list-voters__initials {
  display: flex;
  gap: 6px;
}
.kmdb-list-voters__group h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-icon-default);
  font-size: 20px;
}
.kmdb-list-voters__group small {
  color: var(--color-text-02);
  font-size: var(--typo-body-3-size);
  font-weight: var(--font-weight-regular);
}
.kmdb-list-voters__people {
  margin: 0;
  padding: 0;
  list-style: none;
  column-count: 2;
  column-gap: 24px;
}
@media (max-width: 899px) {
  .kmdb-list-voters__people {
    column-count: 1;
  }
}
.kmdb-list-voters__person {
  break-inside: avoid;
}
.kmdb-list-voters__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--color-border-disabled);
  color: var(--color-text-01);
}
@media (max-width: 899px) {
  .kmdb-list-voters__row {
    min-height: 80px;
  }
}
.kmdb-list-voters__row:focus-visible {
  outline-offset: -3px;
}
.kmdb-list-voters__row--private {
  color: var(--color-text-03);
}
.kmdb-list-voters__row img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.kmdb-list-voters__identity {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
@media (max-width: 899px) {
  .kmdb-list-voters__identity {
    flex-direction: column;
    gap: 4px;
  }
}
.kmdb-list-voters__identity strong {
  flex-shrink: 0;
  font-size: var(--typo-body-5-size);
  font-weight: var(--font-weight-bold);
}
.kmdb-list-voters__identity span {
  color: var(--color-text-02);
  font-size: var(--typo-body-4-size);
}
.kmdb-list-voters__row--private .kmdb-list-voters__identity span {
  color: var(--color-text-03);
}
.kmdb-list-voters__private-chip {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--color-text-02);
  padding: 4px 8px;
  border-radius: 16px;
  background: var(--color-surface-gray-subtle, #f5f8fb);
}
.kmdb-list-voter-occupation {
  margin: 0;
  color: var(--color-text-02);
  font-size: var(--typo-body-5-size);
}
.kmdb-list-voter-comment {
  margin-top: 40px;
}
@media (min-width: 600px) and (max-width: 1439px) {
  .kmdb-list-voter-comment {
    margin-top: 60px;
  }
}
.kmdb-list-voter-comment details {
  border-top: 0;
}
.kmdb-list-voter-comment summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-icon-default);
  font-size: var(--typo-body-5-size);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  list-style: none;
}
.kmdb-list-voter-comment summary::-webkit-details-marker {
  display: none;
}
.kmdb-list-voter-comment summary img {
  width: 24px;
  height: 24px;
  transition: transform 0.15s ease;
}
.kmdb-list-voter-comment details:not([open]) summary img {
  transform: rotate(180deg);
}
.kmdb-list-voter-comment p {
  margin: 16px 0 0;
  color: var(--color-text-02);
  font-size: var(--typo-body-4-size);
  line-height: 1.5;
  white-space: pre-wrap;
}
.kmdb-list-voters-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: var(--typo-body-3-size);
}
.kmdb-list-voters-back img {
  width: 28px;
  height: 28px;
}

.kmdb-list-description-case__voters-link {
  padding-top: 16px;
  text-align: center;
}
