: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 {
  font-size: 16px;
  font-family: "SUIT";
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "SUIT";
  min-height: 100%;
  background-color: var(--background);
  color: var(--text-primary);
}

html,
body {
  min-height: 100vh;
  overflow-x: clip;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 17;
  pointer-events: none;
  display: flex;
  align-items: center;
  padding: 0 2.5rem 0 2rem;
}
@media (max-width: 1199px) {
  .header {
    padding: 0 1.5rem 0 1rem;
  }
}
@media (max-width: 767px) {
  .header {
    padding: 0 1rem;
  }
  html.no-scroll .header {
    display: none;
  }
}
.header .header__logo {
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}
.header .header__logo-full {
  display: block;
  height: auto;
  width: 13.125rem;
}
@media (max-width: 1199px) {
  .header .header__logo-full {
    width: 9.375rem;
  }
}
@media (max-width: 767px) {
  .header .header__logo-full {
    width: 10.3125rem;
  }
}
.header .header__logo-compact {
  display: none;
  height: auto;
  width: 6.25rem;
}
@media (max-width: 767px) {
  .header.is-scrolled {
    padding: 1rem;
    /* 모바일에서는 반투명이 아니라 아주 불투명하게 덮는다.
       이 구간에서는 헤더 바로 아래에 붙박이 탭(.album-list__tabs)이 붙고 그 탭은
       --background 로 꽉 찬 배경을 갖는다. 헤더만 반투명이면 한 덩어리로 보여야 할
       바가 위아래로 다른 색이 되고, 로고 자리로 지나가는 그리드가 그대로 보였다.
       데스크탑·태블릿은 탭이 헤더 안에 있어 유리 효과를 유지한다 */
    background-color: var(--background);
  }
  .header.is-scrolled .header__logo-full {
    display: none;
  }
  .header.is-scrolled .header__logo-compact {
    display: block;
    /* 높이를 32 로 고정하고 폭은 비율대로 따라간다 (원본 178×62 → 약 92px).
       폭을 지정하면 원본 비율이 바뀔 때 높이가 딸려 흔들린다 */
    height: 2rem;
    width: auto;
  }
}
@media (min-width: 768px) {
  .header.is-scrolled {
    height: 5rem;
  }
  .header.is-scrolled .header__logo-full {
    display: none;
  }
  .header.is-scrolled .header__logo-compact {
    display: block;
  }
  /* 스크롤하면 반투명 배경을 깐다.
     처음엔 탭이 있는 Music 화면에만 걸었는데(:has(.header__tabs)), 헤더가 고정이라
     어느 화면이든 본문이 그 밑으로 지나간다 — About 은 창이 낮으면 큰 제목이
     로고·메뉴와 그대로 겹쳐 읽을 수가 없었다. 전 화면에 같은 값으로 건다. */
  .header.is-scrolled {
    background-color: color-mix(in srgb, var(--background) 30%, transparent);
    backdrop-filter: blur(12px);
  }
}

/* 상세 팝업이 열려 있는 동안에는 이 배경을 칠하지 않는다 —
   헤더가 팝업보다 위(z 17 vs 15·16)라 팝업 윗머리를 뿌옇게 덮는다.
   시안에서도 팝업 위의 헤더는 로고와 메뉴만 있고 배경이 없다.
   ⚠ 미디어쿼리 밖이다. 모바일도 배경을 갖게 됐으므로 예외가 전 구간에 걸려야 한다 */
html.no-scroll .header.is-scrolled {
  background-color: transparent;
  backdrop-filter: none;
}
.header .header__nav {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-left: auto;
  pointer-events: auto;
}
@media (max-width: 1199px) {
  .header .header__nav {
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  .header .header__nav {
    display: none;
  }
}
.header .header__nav a {
  font-size: 1rem;
  font-weight: 700;
  line-height: 120%;
  height: 2rem;
  display: flex;
  align-items: center;
}
.header .header__nav a:hover {
  text-decoration: underline;
}
.header .header__tabs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  pointer-events: auto;
  gap: 4rem;
}
@media (max-width: 1199px) {
  .header .header__tabs {
    gap: 2rem;
  }
}
@media (max-width: 1199px) {
  .header .header__tabs {
    display: none;
  }
}
html.no-scroll .header .header__tabs {
  display: none;
}

.header__tabs-item {
  font-size: 1rem;
  height: 2rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  opacity: 0.3;
}
.header__tabs-item sup {
  font-size: 0.7em;
  margin-left: 0.25em;
}
.header__tabs-item:hover .header__tabs-label {
  text-decoration: underline;
}
.header__tabs-item.is-active {
  opacity: 1;
}

.header__tabs-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.header__menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}
.header__menu.is-active {
  color: var(--text-primary-inverted);
}
.header__menu .header__menu-bar {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s ease;
}
.header__menu.is-active .header__menu-bar--top {
  transform: translateY(3px) rotate(45deg);
}
.header__menu.is-active .header__menu-bar--bottom {
  transform: translateY(-3px) rotate(-45deg);
}
@media (max-width: 767px) {
  .header__menu {
    display: flex;
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 21;
  }
  html.no-scroll .header__menu {
    display: none;
  }
}

.footer {
  background-color: var(--background-inverted);
  color: var(--text-primary-inverted);
}
.footer.is-hidden {
  visibility: hidden;
}
.footer .footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem;
}
@media (max-width: 1199px) {
  .footer .footer__inner {
    padding: 3rem 2.5rem;
  }
}
@media (max-width: 767px) {
  .footer .footer__inner {
    padding: 2.5rem 1rem;
    gap: 2.25rem;
  }
}
.footer .footer__left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.footer .footer__logo {
  width: 12.5rem;
  padding-top: 0.375rem;
}
.footer .footer__logo img {
  width: 100%;
}
.footer .footer__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .footer .footer__meta {
    width: 100%;
    justify-content: space-between;
  }
}
.footer .footer__icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer .footer__icon-link {
  display: flex;
  color: var(--text-primary-inverted);
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
}
.footer .footer__divider {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer .footer__divider::before {
  content: "";
  width: 1px;
  height: 100%;
  background-color: var(--line-inverted);
}
.footer .footer__theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text-primary-inverted);
  cursor: pointer;
}
.footer .footer__theme-icon--to-light {
  display: none;
}
:root[data-theme=dark] .footer .footer__theme-icon--to-dark {
  display: none;
}
:root[data-theme=dark] .footer .footer__theme-icon--to-light {
  display: block;
}
.footer .footer__policy {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary-inverted);
}
.footer .footer__policy:hover {
  text-decoration: underline;
}
.footer .footer__info {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 140%;
  color: var(--text-secondary-inverted);
}
.footer .footer__company {
  color: var(--text-primary-inverted);
  font-size: 0.875rem;
  line-height: 120%;
  padding-bottom: 0.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background-color: var(--background-inverted);
  color: var(--text-primary-inverted);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav.is-open {
  opacity: 1;
}
.mobile-nav .mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.mobile-nav .mobile-nav__logo {
  display: inline-flex;
}
.mobile-nav .mobile-nav__logo img {
  display: block;
  width: 10.3125rem;
  height: auto;
  filter: invert(1);
}
.mobile-nav .mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 0.75rem 4rem 5.75rem;
}
.mobile-nav .mobile-nav__item {
  font-size: 15px;
  font-weight: 700;
  line-height: 120%;
  width: 6.4rem;
  height: 2rem;
  gap: 0.5rem;
  display: flex;
  align-items: center;
}
.mobile-nav .mobile-nav__row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.mobile-nav .mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 15px;
  font-weight: 500;
}
.mobile-nav .mobile-nav__sub-item {
  font-weight: 500;
}/*# sourceMappingURL=common.css.map */
/* ── 로고 색 맞추기 ─────────────────────────────────
   워드마크·심볼이 전부 단색 PNG 다. 흰 자산이 따로 없는 것도 있어 filter 로 칠한다 —
   brightness(0) 이 검정, invert(1) 을 더하면 순백이다.
   헤더는 페이지 배경 위, 푸터·모바일 메뉴는 반전된 배경 위라 방향이 반대다. */
:root[data-theme=dark] .header__logo img { filter: brightness(0) invert(1); }
.mobile-nav__logo img { filter: brightness(0) invert(1); }
:root[data-theme=dark] .mobile-nav__logo img { filter: brightness(0); }
:root[data-theme=dark] .footer__logo img { filter: brightness(0); }
