@charset "UTF-8";
:root,
:root[data-theme=light] {
  --background: rgba(255, 255, 255, 1);
  --background-inverted: rgba(17, 17, 17, 1);
  --text-primary: rgba(17, 17, 17, 1);
  --text-primary-inverted: rgba(255, 255, 255, 1);
  --text-secondary: rgba(17, 17, 17, 0.5);
  --text-secondary-inverted: rgba(255, 255, 255, 0.45);
  --line: rgba(17, 17, 17, 0.15);
  --line-subtle: rgba(17, 17, 17, 0.1);
  --line-inverted: rgba(255, 255, 255, 0.12);
}

:root[data-theme=dark] {
  --background: rgba(17, 17, 17, 1);
  --background-inverted: rgba(255, 255, 255, 1);
  --text-primary: rgba(255, 255, 255, 1);
  --text-primary-inverted: rgba(17, 17, 17, 1);
  --text-secondary: rgba(255, 255, 255, 0.45);
  --text-secondary-inverted: rgba(17, 17, 17, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --line-subtle: rgba(255, 255, 255, 0.08);
  --line-inverted: rgba(17, 17, 17, 0.15);
}

html {
  overflow-y: scroll;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
html.no-scroll {
  overflow: hidden;
}

.album-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--header-height, 0px) + 1.625rem);
}

.album-list__tabs {
  display: none;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 75rem;
  padding: 0 1.25rem;
  /* 그리드를 넘겨도 탭은 화면에 남는다.
     걸리는 자리는 "스크롤된 헤더" 높이다 — 헤더는 조금만 내려도 줄어들어,
     펼친 높이(--header-height)를 쓰면 그만큼 틈이 벌어진다.
     배경이 없으면 밑을 지나가는 그리드가 글자와 겹쳐 읽을 수 없다.
     z-index 는 그리드보다 위, 헤더(17)와 상세 팝업(15·16)보다 아래다 */
  position: sticky;
  top: var(--header-height-compact, 0px);
  z-index: 5;
  background-color: var(--background);
  /* 기기 픽셀 경계에서 남는 머리카락 선을 막는다 — 바로 위 1px 을 같은 색으로 덮는다.
     레이아웃에는 영향이 없다 (그림자는 자리를 차지하지 않는다) */
  box-shadow: 0 -1px 0 var(--background);
}
@media (max-width: 1199px) {
  .album-list__tabs {
    display: flex;
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  .album-list__tabs {
    padding: 0.75rem 0.75rem 0.75rem 1rem;
  }
}
.album-list__tabs .header__tabs-toggle {
  margin-left: auto;
}

.album-list__grid {
  display: inline-grid;
  max-width: 75rem;
  flex: 1 0 0;
  padding: 0 1.25rem 7.5rem 1.25rem;
  grid-template-rows: repeat(2, fit-content(100%));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
}
@media (max-width: 1199px) {
  .album-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .album-list__grid {
    display: inline-grid;
    padding: 0 0 120px 16px;
    grid-template-rows: repeat(2, fit-content(100%));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
  }
}

.album-list__item {
  display: block;
  color: inherit;
  text-decoration: none;
}
.album-list__item:hover .album-list__title {
  text-decoration: underline;
}
.album-list__item:hover .album-list__newtab {
  opacity: 1;
}

.album-list__art {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: var(--line-subtle);
}
.album-list__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-list__info {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title newtab" "artist artist";
  row-gap: 0.25rem;
  column-gap: 1rem;
  padding: 0.5rem 1rem 2.5rem 0;
}
@media (max-width: 767px) {
  .album-list__info {
    padding: 0.5rem 1rem 2rem 0;
  }
}

.album-list__title {
  grid-area: title;
  min-width: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .album-list__title {
    font-size: 1.125rem;
  }
}

.album-list__newtab {
  grid-area: newtab;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity 0.15s ease;
}
@media (max-width: 767px) {
  .album-list__newtab {
    display: none;
  }
}

.album-list__artist {
  grid-area: artist;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 120%;
}

.artist-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--header-height, 0px) + 1.625rem);
}

.artist-list__tabs {
  display: none;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 75rem;
  padding: 0 1.25rem;
  /* 앨범 목록과 같다 — .album-list__tabs 주석 참고 */
  position: sticky;
  top: var(--header-height-compact, 0px);
  z-index: 5;
  background-color: var(--background);
  /* 기기 픽셀 경계에서 남는 머리카락 선을 막는다 — 바로 위 1px 을 같은 색으로 덮는다.
     레이아웃에는 영향이 없다 (그림자는 자리를 차지하지 않는다) */
  box-shadow: 0 -1px 0 var(--background);
}
@media (max-width: 1199px) {
  .artist-list__tabs {
    display: flex;
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  .artist-list__tabs {
    padding: 0.75rem 0.75rem 0.75rem 1rem;
  }
}
.artist-list__tabs .header__tabs-toggle {
  margin-left: auto;
}

.artist-list__grid {
  display: inline-grid;
  max-width: 75rem;
  flex: 1 0 0;
  padding: 0 1.25rem 7.5rem 1.25rem;
  grid-template-rows: repeat(2, fit-content(100%));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
}
@media (max-width: 767px) {
  .artist-list__grid {
    padding: 0 0 120px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.artist-list__item {
  display: block;
  color: inherit;
  text-decoration: none;
}
.artist-list__item:hover .artist-list__name {
  text-decoration: underline;
}
.artist-list__item:hover .artist-list__newtab {
  opacity: 1;
}

.artist-list__art {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--line-subtle);
}
.artist-list__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-list__info {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name newtab";
  column-gap: 1rem;
  padding: 0.5rem 1rem 3rem 0;
}
@media (max-width: 767px) {
  .artist-list__info {
    padding: 0.5rem 1rem 2rem 0;
  }
}

.artist-list__name {
  grid-area: name;
  min-width: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .artist-list__name {
    font-size: 1.125rem;
  }
}

.artist-list__newtab {
  grid-area: newtab;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity 0.15s ease;
}
@media (max-width: 767px) {
  .artist-list__newtab {
    display: none;
  }
}

.main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 첫 화면을 꽉 채운다. 콘텐츠가 그보다 크면 눌러 담지 않고 늘어난다.
     ⚠ min-height 만으로는 안 된다 — center 정렬에서 콘텐츠가 상자보다 크면 위아래로
       똑같이 넘치고, 위로 넘친 건 고정 헤더 뒤에 깔려 영구히 못 본다.
     ⚠ 모바일에서 100vh 는 주소창이 숨겨진 상태의 큰 뷰포트다. 실제로 보이는 높이보다
       커서 가운데 정렬이 그만큼 아래로 밀린다 — 크롬에서 중심이 안 맞던 이유.
       svh 는 주소창이 보이는 상태의 높이이고 스크롤로 접혀도 변하지 않아 화면이
       다시 흐르지 않는다 (dvh 는 정확하지만 접힘마다 높이가 바뀌어 출렁인다).
       vh 줄은 svh 를 모르는 브라우저용 대비다 */
  height: 100vh;
  height: 100svh;
  min-height: fit-content;
}
@media (max-width: 767px) {
  .main {
    /* 헤더 자리는 margin 이 아니라 padding — margin 은 body 로 새어 문서를 늘린다.
       border-box 라 위 height: 100vh 안에 포함된다 */
    padding-top: var(--header-height, 0px);
    align-items: center;
  }
}

.album-viewer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 5rem;
  padding: 1.25rem;
  /* 콘텐츠가 상자보다 크면 눌러 담지 않고 늘어난다 */
  min-height: fit-content;
  /* 쓸 수 있는 높이를 다 쓴다. .main 이 정한 높이(100vh, 콘텐츠가 크면 그만큼)를
     그대로 받아 안쪽에서 다시 가운데 정렬한다 — 썸네일 상하 여백이 최대가 된다 */
  align-self: stretch;
}
.album-viewer.is-hidden {
  display: none;
}
@media (max-width: 1199px) {
  .album-viewer {
    padding: 2.5rem;
  }
}
@media (max-width: 767px) {
  .album-viewer {
    padding: 1.5rem 0 0.75rem;
  }
}
.album-viewer .album-viewer__arrow {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  appearance: none;
  border: 2px solid currentColor;
  padding: 0;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
}
.album-viewer .album-viewer__arrow::before {
  content: "";
  position: absolute;
  inset: -0.5rem;
}
.album-viewer .album-viewer__arrow svg {
  display: block;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__arrow {
    display: none;
  }
}
.album-viewer .album-viewer__content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 35rem;
  overflow: hidden;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__content {
    max-width: none;
  }
}
.album-viewer .album-viewer__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  cursor: grab;
}
.album-viewer .album-viewer__track::-webkit-scrollbar {
  display: none;
}
.album-viewer .album-viewer__track:active {
  cursor: grabbing;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__track {
    gap: 0.5rem;
  }
}
.album-viewer .album-viewer__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  /* 한 번 밀면 한 칸만 넘어간다. 없으면 관성이 붙는 만큼 두세 칸을 건너뛴다 */
  scroll-snap-stop: always;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__slide {
    flex: 0 0 calc(100vw - 1rem);
    width: calc(100vw - 1rem);
    scroll-snap-align: end;
  }
}
.album-viewer .album-viewer__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.5rem 0;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__row {
    padding: 0.5rem 1rem;
  }
}
.album-viewer .album-viewer__label {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__label {
    font-size: 0.875rem;
  }
}
.album-viewer .album-viewer__label-flip {
  display: inline-block;
  transform: translateY(-0.6px) scaleY(-1);
}
.album-viewer .album-viewer__values {
  display: block;
  overflow: hidden;
  min-width: 0;
  text-align: right;
  font-size: 1.25rem;
  line-height: 1.2;
  height: 1.2em;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__values {
    font-size: 0.875rem;
  }
}
.album-viewer .album-viewer__values-track {
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.album-viewer .album-viewer__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .album-viewer .album-viewer__value {
    font-size: 0.875rem;
  }
}
.album-viewer .album-viewer__art {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.album-viewer .album-viewer__art[data-album-detail-trigger] {
  cursor: pointer;
}
.album-viewer .album-viewer__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.album-viewer .album-viewer__art--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.album-viewer .album-viewer__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.album-viewer .album-viewer__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background-color: var(--line);
  cursor: pointer;
}
.album-viewer .album-viewer__dot.is-active {
  background-color: var(--text-primary);
}

.album-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
}
.album-detail-overlay[hidden] {
  display: none;
}
.album-detail-overlay .album-detail-overlay__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--background);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.album-detail-overlay .album-detail-overlay__panel-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 37.5rem;
}
@media (max-width: 1199px) {
  .album-detail-overlay .album-detail-overlay__panel-wrap {
    width: calc(100vw - 25rem);
  }
}
@media (min-width: 1200px) {
  .album-detail-overlay .album-detail-overlay__panel-wrap {
    width: calc(100vw - 35rem);
  }
}
@media (max-width: 767px) {
  .album-detail-overlay .album-detail-overlay__panel-wrap {
    width: 100%;
    max-width: none;
  }
}
.album-detail-overlay .album-detail-overlay__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.album-detail-overlay .album-detail-overlay__panel::-webkit-scrollbar {
  width: 0 !important;
  display: none;
}
.album-detail-overlay .album-detail-overlay__sticky-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  background-color: var(--pc-main);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.album-detail-overlay .album-detail-overlay__sticky-bar .album-detail__header-info {
  text-align: center;
}
.album-detail-overlay .album-detail-overlay__sticky-bar .album-detail__title {
  font-size: 1.25rem;
  color: var(--fg);
  font-weight: 700;
}
.album-detail-overlay .album-detail-overlay__sticky-bar .album-detail__meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--fg);
}
.album-detail-overlay .album-detail-overlay__sticky-bar.is-stuck {
  opacity: 1;
}
.album-detail-overlay .album-detail-overlay__back {
  display: flex;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}
.album-detail-overlay .album-detail-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}
.album-detail-overlay.is-open .album-detail-overlay__scrim {
  opacity: 1;
}
.album-detail-overlay.is-open .album-detail-overlay__panel {
  transform: translateY(0);
}

.album-detail {
  position: relative;
  width: 100%;
  background-color: var(--background);
  padding-bottom: 1.5rem;
}
.album-detail .album-detail__art {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.album-detail .album-detail__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.album-detail .album-detail__body {
  position: relative;
  z-index: 1;
  background-color: var(--pc-main);
  color: var(--fg);
}
.album-detail .album-detail__header-sentinel {
  height: 0;
}
.album-detail .album-detail__header {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--pc-main);
  border-bottom: 1px solid var(--line);
}
.album-detail .album-detail__header-info {
  flex: 1 1 auto;
  min-width: 0;
}
.album-detail .album-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 120%;
}
.album-detail .album-detail__meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg);
}
.album-detail .album-detail__meta-dot {
  margin: 0 0.375rem;
  color: var(--line);
}
.album-detail .album-detail__divider {
  height: 1px;
  margin: 1.5rem 0;
  background-color: var(--line);
}
.album-detail .album-detail__desc {
  padding: 1.5rem 1.25rem;
  font-size: 1rem;
  line-height: 160%;
  color: var(--fg);
}
.album-detail .album-detail__desc p + p {
  margin-top: 1.5rem;
}
.album-detail .album-detail__section {
  padding: 1.5rem 1.25rem;
}
.album-detail .album-detail__section-title {
  height: 2rem;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.album-detail .album-detail__artists {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}
.album-detail .album-detail__artist {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dim);
}
.album-detail .album-detail__artist--link {
  color: var(--fg);
}
.album-detail .album-detail__artist--link:hover {
  text-decoration: underline;
}
.album-detail .album-detail__artist--disabled {
  color: var(--dim);
  pointer-events: none;
  cursor: default;
}
.album-detail .album-detail__tracklist {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.album-detail .album-detail__track {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  gap: 1.5rem;
}
.album-detail .album-detail__track-num {
  display: flex;
  align-items: center;
  justify-content: end;
  width: 2rem;
  font-size: 1rem;
  line-height: 120%;
  font-weight: 700;
  color: var(--fg);
}
.album-detail .album-detail__track-name {
  font-size: 1rem;
  font-weight: 500;
  line-height: 120%;
}
.album-detail .album-detail__listen {
  position: relative;
  z-index: 1;
  background-color: var(--background);
  padding: 1.5rem 1.25rem;
}
.album-detail .album-detail__listen .album-detail__section-title {
  color: var(--text-primary);
  height: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 120%;
}
.album-detail .album-detail__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.album-detail .album-detail__platform {
  display: flex;
  align-items: center;
  height: 2rem;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}
.album-detail .album-detail__platform:hover {
  text-decoration: underline;
}
.album-detail .album-detail__more {
  position: relative;
  z-index: 1;
  background-color: var(--background);
  padding: 1.5rem 1.25rem;
}
.album-detail .album-detail__all {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--background-inverted);
  cursor: pointer;
  padding: 0;
}
.album-detail .album-detail__all:hover {
  text-decoration: underline;
}

.artist-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 16;
  display: flex;
  justify-content: center;
}
.artist-detail-overlay[hidden] {
  display: none;
}
.artist-detail-overlay .artist-detail-overlay__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--background);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.artist-detail-overlay .artist-detail-overlay__panel-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 37.5rem;
}
@media (max-width: 1199px) {
  .artist-detail-overlay .artist-detail-overlay__panel-wrap {
    width: calc(100vw - 25rem);
  }
}
@media (min-width: 1200px) {
  .artist-detail-overlay .artist-detail-overlay__panel-wrap {
    width: calc(100vw - 35rem);
  }
}
@media (max-width: 767px) {
  .artist-detail-overlay .artist-detail-overlay__panel-wrap {
    width: 100%;
    max-width: none;
  }
}
.artist-detail-overlay .artist-detail-overlay__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding-bottom: 1.5rem;
}
.artist-detail-overlay .artist-detail-overlay__panel::-webkit-scrollbar {
  width: 0 !important;
  display: none;
}
.artist-detail-overlay .artist-detail-overlay__sticky-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  background-color: var(--pc-main);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.64px;
  color: var(--fg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  border-bottom: 1px solid var(--line);
}
.artist-detail-overlay .artist-detail-overlay__sticky-bar.is-stuck {
  opacity: 1;
}
.artist-detail-overlay .artist-detail-overlay__back {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}
.artist-detail-overlay .artist-detail-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}
.artist-detail-overlay.is-open .artist-detail-overlay__scrim {
  opacity: 1;
}
.artist-detail-overlay.is-open .artist-detail-overlay__panel {
  transform: translateY(0);
}

.artist-detail {
  width: 100%;
  background-color: var(--background);
  padding-bottom: 1.5rem;
}
.artist-detail .artist-detail__photo {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.artist-detail .artist-detail__photo-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.artist-detail .artist-detail__photo-track:active {
  cursor: grabbing;
}
.artist-detail .artist-detail__photo-track::-webkit-scrollbar {
  display: none;
}
.artist-detail .artist-detail__photo-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}
.artist-detail .artist-detail__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.artist-detail .artist-detail__photo-counter {
  position: absolute;
  top: 1.375rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  height: 1.25rem;
  width: 3.5rem;
  border-radius: 999px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em; /* 공백 문자 대신 — 숫자·구분점이 각각 flex 아이템이다 */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.24px;
  /* ⚠ 뒤로·닫기 버튼과 같은 --fg 다. 테마색(--text-primary)을 쓰면 스크롤로
     adaptive 인라인 색이 걷힐 때 카운터만 반대로 뒤집힌다 */
  color: var(--fg);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
/* 구분점은 숫자보다 뒤로 물린다. adaptive 가 인라인 color 를 덮어써도
   opacity 는 그대로 얹히므로 사진 밝기와 무관하게 항상 50% 다 */
.artist-detail .artist-detail__photo-counter .artist-detail__photo-counter-sep {
  opacity: 0.5;
}
.artist-detail .artist-detail__header-sentinel {
  height: 0;
}
.artist-detail .artist-detail__header {
  position: relative;
  z-index: 1;
  background-color: var(--pc-main);
  color: var(--fg);
}
.artist-detail .artist-detail__intro {
  border-bottom: 1px solid var(--line);
}
.artist-detail .artist-detail__name {
  padding: 1.5rem 1.25rem 0.75rem 1.25rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.64px;
}
.artist-detail .artist-detail__socials {
  padding: 0 1.25rem 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.25rem;
}
.artist-detail .artist-detail__socials .artist-detail__social {
  display: flex;
  align-items: center;
  height: 2rem;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  /* ⚠ 단위 없는 120 이 아니라 120% 다 — 배수로 읽히면 줄상자가 1680px 이 되어
     팝업 패널이 빈 곳까지 스크롤되고 붙박이 사진이 딸려 올라간다 */
  line-height: 120%;
}
.artist-detail .artist-detail__socials .artist-detail__social:hover {
  text-decoration: underline;
}
.artist-detail .artist-detail__desc {
  padding: 1.5rem 1.25rem;
  font-size: 1rem;
  line-height: 160%;
  font-weight: 500;
  color: var(--fg);
}
.artist-detail .artist-detail__desc p + p {
  margin-top: 1.5rem;
}
.artist-detail .artist-detail__footer {
  position: relative;
  z-index: 1;
  background-color: var(--background);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.artist-detail .artist-detail__produced {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.28px;
  color: var(--text-primary);
}
.artist-detail .artist-detail__produced .artist-detail__produced-name img {
  width: 8.375rem;
}
.artist-detail .artist-detail__produced-logo--inverted {
  display: none;
}
:root[data-theme=dark] .artist-detail .artist-detail__produced-logo {
  display: none;
}
:root[data-theme=dark] .artist-detail .artist-detail__produced-logo--inverted {
  display: inline;
}
.artist-detail .artist-detail__discography {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.75rem 0;
}
.artist-detail .artist-detail__album {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1.5rem;
}
.artist-detail .artist-detail__album-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.artist-detail .artist-detail__album-art {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--line-subtle);
}
.artist-detail .artist-detail__album-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.artist-detail .artist-detail__album-info {
  flex: 1 1 auto;
  min-width: 0;
  height: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.artist-detail .artist-detail__album-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.32px;
  color: var(--text-primary);
}
.artist-detail .artist-detail__album-artist {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 120%;
}
.artist-detail .artist-detail__album-newtab {
  position: absolute;
  top: 0.75rem;
  right: 0;
  width: 1rem;
  height: 2.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--text-primary);
}
.artist-detail .artist-detail__more {
  position: relative;
  z-index: 1;
  background-color: var(--background);
  padding: 1.5rem 1.25rem;
}
.artist-detail .artist-detail__all {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 2rem;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--background-inverted);
  cursor: pointer;
  padding: 0;
}
.artist-detail .artist-detail__all:hover {
  text-decoration: underline;
}

.about {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 헤더 자리는 margin 이 아니라 padding 으로 비운다.
     ⚠ margin-top 이면 body 로 마진이 새어 나가(margin collapsing) body 자체가
       헤더 높이만큼 내려앉는다. body 는 height 100% 라 그만큼이 그대로 문서 높이에
       더해져, 무슨 수를 써도 푸터가 첫 화면 밖으로 밀려났다.
       padding 은 새지 않고 box-sizing: border-box 라 아래 height 안에 포함된다 */
  padding-top: var(--header-height, 0px);
  /* 기본 높이는 뷰포트에서 푸터를 뺀 만큼 — 푸터가 첫 화면에 통째로 들어온다.
     내용이 그보다 길면 눌러 담지 않고 늘어난다 (min-height: fit-content).
     --footer-height 는 js/front/header.js 가 실측해 넘긴다 */
  height: calc(100vh - var(--footer-height, 0px));
  height: calc(100svh - var(--footer-height, 0px)); /* 모바일: 주소창 포함한 실제 높이 (.main 주석 참고) */
  min-height: fit-content;
}
@media (max-width: 767px) {
  .about {
    padding: 7.5rem 0 0 0; /* 모바일은 헤더가 겹치지 않아 고정값이다 */
  }
}
.about .about__content {
  container-type: inline-size;
  width: 100%;
  max-width: 75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20rem;
}
@media (max-width: 1199px) {
  .about .about__content {
    flex-direction: column;
    gap: 3rem;
  }
}
@media (max-width: 767px) {
  .about .about__content {
    flex-direction: column;
    gap: 0;
  }
}
.about .about__intro {
  font-size: 5rem;
  font-weight: 700;
  line-height: 100%;
  white-space: nowrap;
  max-width: 75rem;
  min-width: 27.5rem;
  flex: 1 0 0;
  padding: 2rem 2.5rem 2.5rem;
  height: auto;
  display: flex;
  align-items: center;
}
@media (max-width: 1199px) {
  .about .about__intro {
    min-width: 0;
    height: auto;
  }
}
@media (max-width: 767px) {
  .about .about__intro {
    width: 100%;
    font-size: 4rem;
    min-width: 0;
    height: auto;
    padding: 6.4rem 1rem 1rem;
  }
}
.about .about__body {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 37.5rem;
  min-width: 27.5rem;
  flex: 1 0 0;
}
/* 1200 이상에서만 — 태블릿·모바일은 아래에서 padding 을 통째로 다시 잡는다 */
@media (min-width: 1200px) {
  .about .about__body {
    padding: 2rem 2.5rem 10rem 2.5rem; /* 32 40 160 40 */
    /* 부모(.about__content)의 gap 을 80 줄이는 효과다.
       ⚠ CSS gap 은 음수를 못 받는다 — gap: -80px 은 무효 선언이라 통째로 무시된다.
         두 칸짜리 한 줄이라 둘째 칸을 왼쪽으로 당기면 결과가 같다 */
    margin-left: -5rem;
  }
}
@media (max-width: 1199px) {
  .about .about__body {
    min-width: 0;
    padding: 2.5rem 2.5rem 7.5rem 2.5rem;
  }
}
@media (max-width: 767px) {
  .about .about__body {
    min-width: 0;
    padding: 2.5rem 1rem 7.5rem 1rem;
  }
}
.about .about__body .about__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 0.25rem;
}
.about .about__body .about__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.8px;
}
.about .about__body .about__section-text {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 150%;
  color: var(--text-primary);
}
.about .about__body .about__email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}
.about .about__body .about__email:hover {
  text-decoration: underline;
}

.privacy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: calc(var(--header-height, 0px) + 1.875rem) 2.5rem 7.5rem 2.5rem;
}
@media (max-width: 767px) {
  .privacy {
    padding: calc(var(--header-height, 0px) + 2.5rem) 1rem 5rem 1rem;
    max-width: 100%;
  }
}

.privacy__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.64px;
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .privacy__title {
    font-size: 1.75rem;
  }
}

.privacy__intro {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 400;
  line-height: 160%;
  color: var(--text-primary);
}

.privacy__article {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.privacy__article-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 130%;
  padding: 1.5rem 0 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.privacy__text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 160%;
  color: var(--text-primary);
}

.privacy__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 150%;
}
.privacy__table th,
.privacy__table td {
  width: 33.333%;
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}
.privacy__table th {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--line-subtle);
}
.privacy__table td {
  font-weight: 400;
  color: var(--text-primary);
}
@media (max-width: 767px) {
  .privacy__table {
    border: 1px solid var(--line);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .privacy__table::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
  }
  .privacy__table th,
  .privacy__table td {
    border: 1px solid var(--line);
    padding: 0.5rem 0.75rem;
  }
}
@media (max-width: 767px) {
  .privacy__table[data-cols="4"][data-rows="3"] {
    display: grid;
    grid-template-columns: 7.5rem repeat(3, minmax(9rem, 1fr));
  }
  .privacy__table[data-cols="4"][data-rows="3"] thead,
  .privacy__table[data-cols="4"][data-rows="3"] tbody,
  .privacy__table[data-cols="4"][data-rows="3"] tr {
    display: contents;
  }
  .privacy__table[data-cols="4"][data-rows="3"] th,
  .privacy__table[data-cols="4"][data-rows="3"] td {
    width: auto;
  }
  .privacy__table[data-cols="4"][data-rows="3"] th:nth-of-type(1) {
    grid-row: 1;
    grid-column: 1;
  }
  .privacy__table[data-cols="4"][data-rows="3"] th:nth-of-type(2) {
    grid-row: 2;
    grid-column: 1;
  }
  .privacy__table[data-cols="4"][data-rows="3"] th:nth-of-type(3) {
    grid-row: 3;
    grid-column: 1;
  }
  .privacy__table[data-cols="4"][data-rows="3"] th:nth-of-type(4) {
    grid-row: 4;
    grid-column: 1;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(1) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 2;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(1) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 2;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(1) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 2;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(1) td:nth-of-type(4) {
    grid-row: 4;
    grid-column: 2;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(2) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 3;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(2) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 3;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(2) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 3;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(2) td:nth-of-type(4) {
    grid-row: 4;
    grid-column: 3;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(3) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 4;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(3) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 4;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(3) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 4;
  }
  .privacy__table[data-cols="4"][data-rows="3"] tr:nth-of-type(3) td:nth-of-type(4) {
    grid-row: 4;
    grid-column: 4;
  }
}
@media (max-width: 767px) {
  .privacy__table[data-cols="3"][data-rows="4"] {
    display: grid;
    grid-template-columns: 7.5rem repeat(4, minmax(9rem, 1fr));
  }
  .privacy__table[data-cols="3"][data-rows="4"] thead,
  .privacy__table[data-cols="3"][data-rows="4"] tbody,
  .privacy__table[data-cols="3"][data-rows="4"] tr {
    display: contents;
  }
  .privacy__table[data-cols="3"][data-rows="4"] th,
  .privacy__table[data-cols="3"][data-rows="4"] td {
    width: auto;
  }
  .privacy__table[data-cols="3"][data-rows="4"] th:nth-of-type(1) {
    grid-row: 1;
    grid-column: 1;
  }
  .privacy__table[data-cols="3"][data-rows="4"] th:nth-of-type(2) {
    grid-row: 2;
    grid-column: 1;
  }
  .privacy__table[data-cols="3"][data-rows="4"] th:nth-of-type(3) {
    grid-row: 3;
    grid-column: 1;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(1) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 2;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(1) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 2;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(1) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 2;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(2) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 3;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(2) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 3;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(2) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 3;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(3) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 4;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(3) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 4;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(3) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 4;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(4) td:nth-of-type(1) {
    grid-row: 1;
    grid-column: 5;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(4) td:nth-of-type(2) {
    grid-row: 2;
    grid-column: 5;
  }
  .privacy__table[data-cols="3"][data-rows="4"] tr:nth-of-type(4) td:nth-of-type(3) {
    grid-row: 3;
    grid-column: 5;
  }
}

.privacy__clause {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.privacy__clause-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 160%;
  color: var(--text-primary);
  padding-left: 20px;
  text-indent: -21px;
}

.privacy__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
}

.privacy__list-item {
  position: relative;
  padding-left: 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 160%;
  color: var(--text-primary);
}
.privacy__list-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

/* ── PointColor (요구사항 3.8①) ──────────────────────────────
   배경은 커버에서 뽑은 main, 전경은 foregroundDirection 만 따른다.
   사이트 라이트/다크 모드와 무관하다 — 그래서 :root 토큰을 쓰지 않는다.

   시안 파일 값 기준: 두 방향의 불투명도는 같고 기준색만 갈린다
   (line 15% · 비활성 50%). 2026-08-07 디자이너 확인.

   오버레이에도 같은 값을 둔다. sticky-bar 와 닫기 버튼이
   .album-detail 밖에 있어 상속이 닿지 않는다. */
.album-detail,
.artist-detail,
.album-detail-overlay,
.artist-detail-overlay {
  --pc-main: #111111;
  --fg: #ffffff;
  --line: rgba(255, 255, 255, 0.15);
  --dim: rgba(255, 255, 255, 0.5);
}

.album-detail[data-fg="dark"],
.artist-detail[data-fg="dark"],
.album-detail-overlay[data-fg="dark"],
.artist-detail-overlay[data-fg="dark"] {
  --fg: #111111;
  --line: rgba(17, 17, 17, 0.15);
  --dim: rgba(17, 17, 17, 0.5);
}
