/* Starberry Candy — site + World */

:root {
  --pink: #6c5ce7;
  --pink-soft: #a29bfe;
  --bg: #07070b;
  --text: #f5f5f7;
  --muted: #b5b5c0;
  --topbar-height: 100px;
  /* 고정 탑바 아래 본문 시작까지 (JS가 --topbar-height 갱신) */
  --topbar-body-gap: clamp(24px, 3vh, 44px);
  --topbar-stack-visible: calc(var(--topbar-height, 100px) + var(--topbar-body-gap));
  --topbar-stack: var(--topbar-stack-visible);
  --section-inline-gutter: clamp(28px, 6.5vw, 140px);
  /* 섹션: 한 화면(뷰포트) 높이, 아주 작은 창에서는 이 px 이상 */
  --section-min-height: 560px;
  /* 멤버 캐러셀 스크림(main_bg_member) · JOIN 구역 배경(bg_media) */
  --band-scrim-top: rgba(5, 5, 8, 0.12);
  --band-scrim-bottom: rgba(5, 5, 8, 0.22);
  --band-video-item-bg: rgba(0, 0, 0, 0.12);
  /* Site-wide main menu (all pages) */
  --site-main-menu-font-size: 0.88rem;
  --site-main-menu-letter-spacing: 0;
  --letter-spacing: 0;
  --site-main-menu-color: #333;
  --site-main-menu-color-active: var(--pink);
  --site-page-inset: 50px;
  /* content-shell: extra start space for left controls (carousel nav) */
  --content-shell-control-inset: 56px;
  --content-shell-inline-start: max(
    calc(var(--site-page-inset) + var(--content-shell-control-inset)),
    calc(env(safe-area-inset-left, 0px) + var(--content-shell-control-inset))
  );
  /* World / Music hub: title sits topbar-stack + this inset */
  --hub-title-padding-top: var(--site-page-inset);
  /* 멤버 역할 (World 허브 · 멤버 상세 공통) */
  --world-member-role-font-size: clamp(0.575rem, 1.1vw, 0.825rem);
}

html {
  font-family: system-ui, sans-serif;
  letter-spacing: var(--letter-spacing);
}

body {
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
  letter-spacing: 0;
}

/* Site-wide default (main nav .menu / .site-main-menu use --site-main-menu-letter-spacing) */
html,
html *:not(.menu):not(.menu *):not(.site-main-menu):not(.site-main-menu *) {
  letter-spacing: 0 !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 메인: 휠·앵커 이동 시 섹션 상단이 뷰포트 상단(탑바 여백 반영)에 스냅 */
html.scroll-snap-home {
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
}

html.scroll-snap-home .hero,
html.scroll-snap-home .homepage-lower > section,
html.scroll-snap-home .site-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: var(--topbar-stack);
}

html.scroll-snap-home .homepage-lower > .back-to-top-strip {
  scroll-snap-align: none;
}

@media (prefers-reduced-motion: reduce) {
  html.scroll-snap-home {
    scroll-snap-type: none;
  }

  html.scroll-snap-home .hero,
  html.scroll-snap-home .homepage-lower > section,
  html.scroll-snap-home .site-footer {
    scroll-snap-stop: normal;
  }

  html.scroll-snap-home .homepage-lower > .back-to-top-strip {
    scroll-snap-align: none;
  }
}

/* 오른쪽 중앙: 섹션 점프 (라벨 + 10px 사각 마커) — 뷰포트 세로 중앙(transform 없이) */
.section-jump {
  position: fixed;
  top: 0;
  bottom: 0;
  right: clamp(12px, 2.2vw, 22px);
  z-index: 40;
  width: max-content;
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  pointer-events: auto;
  isolation: isolate;
  padding: 24px 18px 24px 28px;
}

/* 섹션 점프 배경 — 사각형 */
html.scroll-snap-home .section-jump::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.section-jump__row {
  display: grid;
  grid-template-columns: max-content 32px;
  align-items: center;
  column-gap: 14px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  font: inherit;
  text-align: right;
}

.section-jump__label {
  grid-column: 1;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  line-height: 1;
  transition: color 0.2s ease;
}

.section-jump__row:hover .section-jump__label,
.section-jump__row:focus-visible .section-jump__label {
  color: #fff;
}

.section-jump__row.is-active .section-jump__label {
  color: #fff;
  font-weight: 600;
}

.section-jump__row::after {
  content: "";
  grid-column: 2;
  justify-self: center;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.2);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.section-jump__row:hover::after {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.36);
}

.section-jump__row:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
  border-radius: 2px;
}

.section-jump__row.is-active::after {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

/* News(join) 구간 — 라벨·마커 검정 */
html.scroll-snap-home .section-jump--on-news .section-jump__label {
  color: #444;
}

html.scroll-snap-home .section-jump--on-news .section-jump__row:hover .section-jump__label,
html.scroll-snap-home .section-jump--on-news .section-jump__row:focus-visible .section-jump__label {
  color: #222;
}

html.scroll-snap-home .section-jump--on-news .section-jump__row.is-active .section-jump__label {
  color: #1a1a1a;
  font-weight: 600;
}

html.scroll-snap-home .section-jump--on-news .section-jump__row::after {
  border-color: #555;
  background: rgba(68, 68, 68, 0.35);
}

html.scroll-snap-home .section-jump--on-news .section-jump__row:hover::after {
  border-color: #444;
  background: rgba(68, 68, 68, 0.55);
}

html.scroll-snap-home .section-jump--on-news .section-jump__row.is-active::after {
  background: #444;
  border-color: #333;
}

html.scroll-snap-home .section-jump--on-news .section-jump__row:focus-visible {
  outline-color: rgba(68, 68, 68, 0.45);
}

@media print {
  .section-jump {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  min-height: max(var(--section-min-height), 100vh);
  min-height: max(var(--section-min-height), 100svh);
  min-height: max(var(--section-min-height), 100dvh);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(4, 4, 8, 0.45), rgba(4, 4, 8, 0.75)),
    url("../image/m_bg.png") center top / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 45%, rgba(108, 92, 231, 0.25), transparent 35%),
    radial-gradient(circle at 35% 25%, rgba(108, 92, 231, 0.16), transparent 25%);
  pointer-events: none;
}

/* 고정 상단 메뉴 */
.topbar-reveal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  pointer-events: auto;
}

.topbar-reveal__sentinel {
  display: none;
}

.topbar-reveal__drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 113;
  pointer-events: auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
  transform: translateY(0);
}

/* index.html — 기본 숨김, 상단·메뉴 호버 시 슬라이드 다운 */
html.scroll-snap-home .topbar-reveal {
  height: 0;
  overflow: visible;
  pointer-events: none;
}

html.scroll-snap-home .topbar-reveal__sentinel {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: min(20px, 3.5vh);
  z-index: 112;
  pointer-events: auto;
}

html.scroll-snap-home .topbar-reveal__drawer {
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.32, 1);
  pointer-events: none;
  will-change: transform;
  transform: translateY(-100%);
}

html.scroll-snap-home .topbar-reveal__drawer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 36px;
  pointer-events: auto;
}

html.scroll-snap-home .topbar-reveal:has(.topbar-reveal__sentinel:hover) .topbar-reveal__drawer,
html.scroll-snap-home .topbar-reveal:has(.topbar-reveal__drawer:hover) .topbar-reveal__drawer,
html.scroll-snap-home .topbar-reveal:has(.topbar-reveal__drawer:focus-within) .topbar-reveal__drawer,
html.scroll-snap-home .topbar-reveal.is-topbar-open .topbar-reveal__drawer,
html.scroll-snap-home .topbar-reveal.topbar-reveal--intro-peek .topbar-reveal__drawer,
html.scroll-snap-home .topbar-reveal.is-menu-open .topbar-reveal__drawer {
  transform: translateY(0);
  pointer-events: auto;
}

html.scroll-snap-home .topbar-reveal--auto-hide:has(.topbar-reveal__sentinel:hover),
html.scroll-snap-home .topbar-reveal--auto-hide:has(.topbar-reveal__drawer:hover),
html.scroll-snap-home .topbar-reveal--auto-hide:has(.topbar-reveal__drawer:focus-within),
html.scroll-snap-home .topbar-reveal--auto-hide.is-topbar-open,
html.scroll-snap-home .topbar-reveal--auto-hide.topbar-reveal--intro-peek,
html.scroll-snap-home .topbar-reveal--auto-hide.is-menu-open {
  z-index: 200;
}

html.scroll-snap-home .topbar-reveal--auto-hide .topbar-reveal__drawer {
  background: #fff;
  isolation: isolate;
}

html.scroll-snap-home:has(.topbar-reveal--auto-hide) {
  --topbar-stack: 0px;
}

html.scroll-snap-home.topbar-stack-expanded:has(.topbar-reveal--auto-hide) {
  --topbar-stack: 0px;
}

html.scroll-snap-home.topbar-stack-transition .stage,
html.scroll-snap-home.topbar-stack-transition .content {
  transition:
    padding-top 0.44s cubic-bezier(0.22, 1, 0.32, 1),
    inset 0.44s cubic-bezier(0.22, 1, 0.32, 1),
    top 0.44s cubic-bezier(0.22, 1, 0.32, 1),
    min-height 0.44s cubic-bezier(0.22, 1, 0.32, 1);
}

@media (prefers-reduced-motion: reduce) {
  html.scroll-snap-home .topbar-reveal__drawer {
    transition: none;
  }

  html.scroll-snap-home.topbar-stack-transition .stage,
  html.scroll-snap-home.topbar-stack-transition .content {
    transition: none;
  }
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: var(--topbar-height);
  min-height: var(--topbar-height);
  padding: 0 48px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  width: min(200px, 48vw);
}

.brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: var(--topbar-height);
  object-fit: contain;
  object-position: left center;
  /* 상단 밝은 로고: logo_web.png (어두운 로고는 logo_w.png) */
}

.menu {
  display: flex;
  gap: 30px;
  font-size: var(--site-main-menu-font-size);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--site-main-menu-letter-spacing);
}

.menu a {
  font-weight: 900;
  color: var(--site-main-menu-color);
  letter-spacing: var(--site-main-menu-letter-spacing);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
}

.menu a.active {
  color: var(--site-main-menu-color-active);
  border-bottom: none;
  padding-bottom: 0;
}

.social {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #d6d6de;
  font-size: 0.95rem;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.88;
  transition: opacity 0.15s ease, transform 0.12s ease;
}

.social__link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.social__link:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

.social__link img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.content {
  position: relative;
  z-index: 7;
  min-height: calc(100vh - var(--topbar-stack));
  min-height: calc(100svh - var(--topbar-stack));
  min-height: calc(100dvh - var(--topbar-stack));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 54px 60px;
  pointer-events: none;
}

.left-copy,
.now-playing,
.content .btn {
  pointer-events: auto;
}

.stage {
  position: absolute;
  inset: var(--topbar-stack) 0 0;
  z-index: 6;
  pointer-events: auto;
}

/* Hero 멤버 — 데스크톱: 슬롯 로테이션 / 모바일: 캐러셀(.stage--carousel) */
.hero-member-carousel {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-member-carousel__viewport,
.hero-member-carousel__track {
  position: absolute;
  inset: 0;
}

.hero-member-carousel__track {
  width: 100%;
  height: 100%;
}

.hero-member-carousel__nav,
.hero-member-carousel__dots {
  display: none;
}

.member,
a.member {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--base-size, 220px);
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  z-index: var(--z, 3);
  opacity: var(--alpha, 1);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55));
  transition:
    left 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    top 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.55s ease;
  cursor: pointer;
  pointer-events: auto;
  will-change: transform, left, top, opacity;
}

.stage .member {
  cursor: default;
  pointer-events: none;
}

a.member {
  text-decoration: none;
  color: inherit;
}

.member img {
  display: block;
  width: 100%;
  height: auto;
}

.member-yuna {
  --base-size: min(14vw, 200px);
}

.member-hael {
  --base-size: min(14vw, 200px);
}

.member-sea {
  --base-size: min(16vw, 240px);
}

.member-ella {
  --base-size: min(15vw, 215px);
}

.member-roa {
  --base-size: min(14vw, 200px);
}

.member span {
  display: none;
}

.member-tag {
  position: absolute;
  left: 78%;
  top: 46%;
  min-width: 104px;
  transform: translateX(-50%) scale(calc(1.5 / var(--scale, 1)));
  transform-origin: center center;
  margin-left: 20px;
  color: #fff;
  text-shadow: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  line-height: 1.1;
}

.member-tag::before {
  content: none;
}

.member-tag::after {
  content: none;
}

.tag-name {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.tag-role {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.tag-media {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.member-tag .tag-play {
  width: 14px;
  height: 14px;
  min-width: 14px;
  max-width: 14px;
  opacity: 0.96;
}

.member-tag .tag-wave {
  width: 70px;
  height: auto;
  min-width: 40px;
  max-width: 70px;
  display: block;
  opacity: 0.92;
}

.member-sea .member-tag,
.member-ella .member-tag,
.member-hael .member-tag,
.member-roa .member-tag,
.member-yuna .member-tag,
.slot-ella .member-tag {
  left: 78%;
  top: 46%;
}

.slot-yuna {
  --x: 35%;
  --y: 20%;
  --scale: 1.2;
  --z: 2;
  --alpha: 0.76;
}

.slot-hael {
  --x: 61%;
  --y: 18%;
  --scale: 1.2;
  --z: 3;
  --alpha: 0.86;
}

/* 무대 배치: 엘라(중앙) · 로아(왼쪽) · 유나(왼쪽 위) · 하엘(오른쪽 위) · 세아(오른쪽 위) */
.slot-sea {
  --x: 72%;
  --y: 34%;
  --scale: 1.5;
  --z: 4;
  --alpha: 0.94;
}

.slot-ella {
  --x: 51%;
  --y: 62%;
  --scale: 2.55;
  --z: 7;
  --alpha: 1;
}

.slot-roa {
  --x: 28%;
  --y: 58%;
  --scale: 1.5;
  --z: 3;
  --alpha: 0.72;
}

/* Hero 멤버 캐러셀 — 모바일·태블릿 */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero .content {
    display: none;
  }

  .stage.stage--carousel {
    --hero-member-zoom: 1.2;
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    width: 100%;
    height: calc(100dvh - var(--topbar-stack));
    height: calc(100svh - var(--topbar-stack));
    min-height: calc(100dvh - var(--topbar-stack));
    min-height: calc(100svh - var(--topbar-stack));
    margin-top: var(--topbar-stack);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
  }

  .stage.stage--carousel .hero-member-carousel {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    box-sizing: border-box;
    padding: 0 max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px));
  }

  .stage.stage--carousel .hero-member-carousel__viewport {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
  }

  .stage.stage--carousel .hero-member-carousel__viewport.is-swiping {
    cursor: grabbing;
  }

  .stage.stage--carousel .hero-member-carousel__track {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    transition: transform 0.45s cubic-bezier(0.22, 0.82, 0.32, 1);
    will-change: transform;
  }

  .stage.stage--carousel .member {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0 clamp(8px, 3vw, 16px) clamp(44px, 9vh, 56px);
    box-sizing: border-box;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: clamp(6px, 1.5vh, 12px);
    transform: none;
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
    transition: none;
    will-change: auto;
    z-index: 1;
    overflow: hidden;
  }

  .stage.stage--carousel .member.is-carousel-active {
    z-index: 2;
  }

  /* 전신 표시: contain + 약한 확대(여백만 줄임). 타이트 자른 PNG면 zoom 1로 충분 */
  .stage.stage--carousel .member img {
    grid-row: 1;
    grid-column: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    flex: none;
    object-fit: contain;
    object-position: center center;
    transform: scale(var(--hero-member-zoom, 1.15));
    transform-origin: center center;
    align-self: center;
    justify-self: center;
  }

  .stage.stage--carousel .member-tag {
    grid-row: 2;
    grid-column: 1;
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    display: block;
    flex: none;
    width: 100%;
    max-width: 20rem;
    margin: 0;
    padding: 0;
    transform: none;
    text-align: center;
    pointer-events: none;
    align-self: center;
  }

  .stage.stage--carousel .tag-name {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  }

  .stage.stage--carousel .tag-role {
    font-size: clamp(0.62rem, 2.6vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  }

  .stage.stage--carousel .tag-media {
    display: none;
  }

  .stage.stage--carousel .hero-member-carousel__dots {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    pointer-events: auto;
  }

  .stage.stage--carousel .hero-member-carousel__dot {
    appearance: none;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .stage.stage--carousel .hero-member-carousel__dot.is-active {
    background: var(--pink-soft);
    transform: scale(1.15);
  }

  .stage.stage--carousel .hero-member-carousel__dot:focus-visible {
    outline: 2px solid var(--pink-soft);
    outline-offset: 2px;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .stage.stage--carousel .hero-member-carousel__track {
    transition: none;
  }
}

.left-copy {
  max-width: 420px;
  margin-top: 80px;
}

.left-copy .small {
  color: var(--pink-soft);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.left-copy .title-image {
  margin-bottom: 18px;
  max-width: 100%;
}

.left-copy .title-image img {
  width: min(100%, clamp(150px, 38vw, 360px));
  max-width: 100%;
  height: auto;
  display: block;
}

.left-copy p {
  color: #dedee4;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(108, 92, 231, 0.7);
  color: #fff;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.84rem;
  background: rgba(108, 92, 231, 0.08);
  transition: 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: rgba(108, 92, 231, 0.24);
  border-color: var(--pink);
}

.now-playing {
  width: 260px;
  align-self: center;
  margin-top: 20px;
  color: #ececf2;
  text-align: left;
  font-size: 0.86rem;
  position: relative;
  z-index: 5;
  backdrop-filter: blur(1px);
}

.now-playing h4 {
  text-transform: uppercase;
  color: #a2a2ad;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 12px;
  font-size: 0.74rem;
}

.track {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
}

.track .band {
  color: #adadba;
  font-size: 0.8rem;
}

.track .title {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.wave {
  height: 6px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--pink), #3a2a8f 72%);
}

.homepage-lower {
  background: var(--bg);
  padding: 0 0 72px;
  min-height: 0;
  height: auto;
}

.content-shell {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 메인(히어로) 제외: 본문·푸터 등 좌우 여백 */
.homepage-lower > section > .content-shell,
.homepage-lower .site-footer .content-shell,
.world-profile .content-shell {
  padding-inline: var(--section-inline-gutter);
}

.homepage-lower .site-footer .content-shell {
  padding-top: 28px;
  padding-bottom: 0;
  padding-inline: max(var(--site-page-inset), env(safe-area-inset-left, 0px))
    max(var(--site-page-inset), env(safe-area-inset-right, 0px));
}

.homepage-lower > section {
  width: 100%;
  box-sizing: border-box;
}

.homepage-lower > section > .content-shell {
  padding-block: 60px;
}

.homepage-lower > .join-panel > .content-shell {
  padding-block: 0;
}

.hero + .homepage-lower {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.homepage-lower > section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-kicker,
.panel-head {
  color: var(--pink-soft);
  letter-spacing: 0;
  font-size: 3.3rem;
  font-weight: 700;
  text-align: center;
}

.about-panel {
  --about-bg-image: url("../image/main_member.png");
  --about-nav-frame: calc(100% - 32px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 0;
  border-top: 1px solid rgba(198, 124, 160, 0.42);
  padding-top: 28px;
  padding-bottom: clamp(32px, 5vw, 56px);
  background: var(--about-bg-image) center center / cover no-repeat;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--band-scrim-top), var(--band-scrim-bottom));
}

.about-bg-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.about-panel .about-bg-controls {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  max-width: none;
  align-self: flex-start;
  margin: 20px 0 0;
  pointer-events: auto;
  z-index: 3;
}

.about-bg-controls-inner {
  position: relative;
  width: var(--about-nav-frame);
  height: 100%;
  max-width: 100%;
  pointer-events: none;
}

.about-panel .about-bg-controls-inner {
  position: static;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.about-bg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.28);
  color: rgba(22, 16, 32, 0.82);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.about-panel .about-bg-nav {
  position: static;
  top: auto;
  transform: none;
  width: 40px;
  height: 40px;
  border-radius: 0;
  font-size: 1.25rem;
  color: #fff;
}

.about-panel .about-bg-nav:hover,
.about-panel .about-bg-nav:focus-visible {
  color: #fff;
}

.about-bg-nav--prev {
  left: clamp(4px, 2vw, 14px);
}

.about-bg-nav--next {
  right: clamp(4px, 2vw, 14px);
}

.about-panel .about-bg-nav--prev,
.about-panel .about-bg-nav--next {
  left: auto;
  right: auto;
}

.about-bg-nav:hover {
  border-color: rgba(255, 255, 255, 0.98);
  color: rgba(12, 10, 20, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
}

.about-bg-nav:focus-visible {
  outline: 2px solid rgba(220, 214, 255, 0.9);
  outline-offset: 2px;
}

.about-panel > .content-shell {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  text-align: left;
}

.homepage-lower .about-panel > .content-shell,
.homepage-lower .latest-media-panel > .content-shell,
.homepage-lower .members-panel > .content-shell {
  padding-inline: max(var(--site-page-inset), env(safe-area-inset-left, 0px))
    max(var(--site-page-inset), env(safe-area-inset-right, 0px));
}

.about-text {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.about-text > * {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.about-text > .about-bg-controls {
  width: auto;
  max-width: none;
}

.about-panel .section-kicker {
  font-weight: 300;
  letter-spacing: 0;
}

.about-collage {
  width: 100%;
  max-width: min(900px, 100%);
  margin-inline: auto;
}

.about-text h2.about-heading {
  font-size: clamp(1.55rem, 4vw + 0.75rem, 3.3rem);
  line-height: 1.12;
  margin: 12px 0 16px;
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35em;
  font-weight: 300;
  color: #fff;
  white-space: nowrap;
}

.about-heading-light {
  font-weight: 300;
  color: #fff;
}

.about-heading-name {
  font-weight: 700;
  color: #fff;
}

.about-heading-band {
  font-weight: 300;
  color: #fff;
}

.about-text p {
  color: #d8d8df;
  margin-bottom: 22px;
  text-align: left;
}

.about-collage img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.members-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #fff;
}

.join-panel p {
  color: #333;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: clamp(20px, 4vh, 56px) 0;
  box-sizing: border-box;
  align-items: stretch;
}

.members-grid-cell + .members-grid-cell {
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.08);
}

.members-grid-cell {
  box-sizing: border-box;
  min-height: 0;
}

.members-grid-cell--light,
.members-grid-cell--dark {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.member-card,
a.member-card {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform: none;
  border: 0;
  background: transparent;
  opacity: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.38));
}

a.member-card {
  text-decoration: none;
  color: inherit;
}

.member-card:focus,
a.member-card:focus {
  outline: none;
}

.member-card:focus-visible,
a.member-card:focus-visible {
  outline: 2px solid rgba(220, 214, 255, 0.85);
  outline-offset: 3px;
}

.member-card:hover {
  z-index: 1;
  transform: translateY(-3px);
  box-shadow: 0 22px 28px rgba(0, 0, 0, 0.4);
}

.member-photo,
a.member-card .member-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
}

.members-panel .member-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) left top / 24px 1px no-repeat,
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) left top / 1px 24px no-repeat,
    linear-gradient(270deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) right top / 24px 1px no-repeat,
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) right top / 1px 24px no-repeat,
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) left bottom / 24px 1px no-repeat,
    linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) left bottom / 1px 24px no-repeat,
    linear-gradient(270deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) right bottom / 24px 1px no-repeat,
    linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.06) 100%) right bottom / 1px 24px no-repeat;
  opacity: 0.85;
  z-index: 2;
}

.member-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 0.38s ease;
}

.member-card:hover .member-photo img,
.member-card:focus-within .member-photo img {
  filter: blur(8px) brightness(0.62);
}

.member-info {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  padding: clamp(12px, 2.4vw, 20px) clamp(12px, 2.8vw, 22px);
  text-align: left;
  background: transparent;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
  z-index: 4;
  pointer-events: none;
}

.member-card:hover .member-info,
.member-card:focus-within .member-info {
  opacity: 1;
  visibility: visible;
}

.member-info h4 {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.15;
  text-shadow:
    0 0 18px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.55);
}

.member-info p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  margin-top: 6px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(0, 0, 0, 0.85),
    0 1px 8px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .member-photo img {
    transition: none;
  }

  .member-info {
    transition: none;
  }

  .member-card:hover .member-photo img,
  .member-card:focus-within .member-photo img {
    filter: brightness(0.68);
  }
}

@media (hover: none), (max-width: 900px) {
  /* Members 그리드: 호버 없이 이름·역할 항상 표시 */
  .members-panel .member-info {
    opacity: 1;
    visibility: visible;
  }

  .members-panel .member-info h4 {
    color: #333;
    text-shadow: none;
  }

  .members-panel .member-info p {
    color: rgba(0, 0, 0, 0.62);
    text-shadow: none;
  }

  .members-panel .member-card:hover .member-photo img,
  .members-panel .member-card:focus-within .member-photo img {
    filter: none;
  }

}

.latest-media-panel {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.latest-media-panel > .content-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  padding-block: clamp(40px, 8vh, 100px);
}

.members-panel > .content-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.homepage-lower .homepage-section-head {
  margin: 0 0 clamp(20px, 3.2vh, 36px);
  padding: 0;
  text-align: left;
}

.homepage-lower .latest-media-panel .site-page-title,
.homepage-lower .members-panel .site-page-title {
  color: #333;
  letter-spacing: 0;
}

.latest-media-feature {
  width: 100%;
}

.latest-media-video {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.latest-media-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* index Media — 좌·우 80px, 아래·제목 여백 분리 */
html.scroll-snap-home .latest-media-panel {
  --latest-media-edge: 80px;
  --latest-media-edge-bottom: 52px;
  --latest-media-head-top: clamp(1.25rem, 2.5vh, 1.75rem);
  --latest-media-head-gap: clamp(1rem, 2vh, 1.35rem);
  min-height: 100dvh;
  min-height: 100svh;
  padding: 0;
  justify-content: flex-start;
  align-items: stretch;
}

html.scroll-snap-home .homepage-lower .latest-media-panel > .content-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  height: 100dvh;
  height: 100svh;
  min-height: 100dvh;
  min-height: 100svh;
  max-height: 100dvh;
  max-height: 100svh;
  box-sizing: border-box;
  padding: var(--latest-media-head-top) var(--latest-media-edge) max(var(--latest-media-edge-bottom), env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

html.scroll-snap-home .latest-media-panel .homepage-section-head {
  flex: 0 0 auto;
  margin: 0 0 var(--latest-media-head-gap);
  padding: 0;
}

html.scroll-snap-home .latest-media-panel .site-page-title {
  margin: 0;
  line-height: 1.1;
}

html.scroll-snap-home .latest-media-feature {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

html.scroll-snap-home .latest-media-video {
  flex: 1 1 0;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: calc(
    100svh - var(--latest-media-edge-bottom) - var(--latest-media-head-top) - var(--latest-media-head-gap) - clamp(2.5rem, 5vw, 3.5rem)
  );
  aspect-ratio: auto;
  background: #000;
  overflow: hidden;
  container-type: size;
}

/* 16:9 영상 — 영역을 가득 채우고 넘치는 부분만 잘림(cover) */
html.scroll-snap-home .latest-media-video__iframe {
  inset: auto;
  top: 50%;
  left: 50%;
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  transform: translate(-50%, -50%);
}

@supports not (width: 100cqw) {
  html.scroll-snap-home .latest-media-video__iframe {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
  }
}

.latest-media-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding-inline: 0;
  box-sizing: border-box;
}

.latest-media-carousel .latest-media-controls {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  max-width: none;
  align-self: flex-start;
  margin: 20px 0 0;
  pointer-events: auto;
  z-index: 3;
}

.latest-media-carousel .latest-media-controls .about-bg-controls-inner {
  position: static;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.latest-media-carousel .about-bg-nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  width: 40px;
  height: 40px;
  border-radius: 0;
  font-size: 1.25rem;
  color: #333;
  border-color: rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.04);
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.latest-media-carousel .about-bg-nav:hover,
.latest-media-carousel .about-bg-nav:focus-visible {
  color: #111;
  border-color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.08);
}

.latest-media-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.latest-media-track {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s cubic-bezier(0.22, 0.82, 0.32, 1);
}

@media (prefers-reduced-motion: reduce) {
  .latest-media-track {
    transition: none;
  }

  .latest-media-cell img {
    transition: none;
  }

  .latest-media-cell:hover img {
    transform: scale(1);
  }
}

.latest-media-slide {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-media-grid {
  --latest-media-cols: 5;
  --latest-media-rows: 2;
  display: grid;
  grid-template-columns: repeat(var(--latest-media-cols), minmax(0, 1fr));
  grid-template-rows: repeat(var(--latest-media-rows), minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: calc(var(--latest-media-cols) / var(--latest-media-rows));
  margin: 0;
  padding: 0;
  background: #fff;
}

@media (max-width: 900px) {
  .hero-member-carousel__nav {
    display: none !important;
  }

  .latest-media-grid {
    --latest-media-cols: 2;
    --latest-media-rows: 5;
  }

  .latest-media-carousel {
    padding-inline: 0;
  }

  .latest-media-viewport {
    touch-action: pan-y pinch-zoom;
  }

  .latest-media-slide {
    width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 560px) {
  .latest-media-grid {
    max-width: min(100%, 360px);
    margin-inline: auto;
  }
}

.latest-media-cell {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

.latest-media-cell img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 0.82, 0.32, 1);
}

.latest-media-cell:hover img {
  transform: scale(1.3);
}

.latest-media-cell--broken {
  background: #ececf0;
}

.latest-media-cell--broken img {
  opacity: 0;
}

.join-panel {
  position: relative;
  overflow: hidden;
  border-top: 0;
  min-height: max(calc(var(--section-min-height) / 2), 50vh);
  min-height: max(calc(var(--section-min-height) / 2), 50svh);
  min-height: max(calc(var(--section-min-height) / 2), 50dvh);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 12px;
  background: #fff;
}

.join-panel::before {
  display: none;
}

.join-panel > .content-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.homepage-lower .join-panel > .content-shell {
  padding-inline: max(var(--site-page-inset), env(safe-area-inset-left, 0px))
    max(var(--site-page-inset), env(safe-area-inset-right, 0px));
}

.join-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.join-panel h3 {
  width: 100%;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  color: #333;
  margin: 0 0 10px;
}

.join-panel p {
  width: 100%;
  text-align: left;
  color: #333;
  margin-top: 18px;
  margin-bottom: 22px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.social-links a {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #fff;
  color: #333;
  padding: 32px 14px;
  text-align: center;
  text-decoration: none;
}

.social-links__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.social-links__link img {
  display: block;
  width: clamp(36px, 5vw, 48px);
  height: clamp(36px, 5vw, 48px);
  object-fit: contain;
}

.social-links__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  color: #333;
}

.join-panel .social-links a {
  border-color: rgba(0, 0, 0, 0.12);
  background-color: #fff;
  color: #333;
}

.back-to-top-strip {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(48px, 9vh, 120px) 16px clamp(56px, 10vh, 140px);
  box-sizing: border-box;
}

.back-to-top-strip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 100px;
  margin-top: -50px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 0;
}

.homepage-lower .back-to-top-strip {
  background: var(--bg);
}
/* 
.world-page-tail .back-to-top-strip {
  margin-top: clamp(20px, 3.5vh, 40px);
} */
.back-to-top {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width:200px;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: clamp(0.56rem, 1.2vw, 0.64rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(248, 248, 252, 0.95);
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.back-to-top:hover {
  color: #fff;
  background: rgba(108, 92, 231, 0.32);
  border-color: rgba(162, 155, 254, 0.5);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: #000;
  color: #fff;
  border: none;
}

.site-footer .content-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(var(--site-page-inset), env(safe-area-inset-left, 0px))
    max(var(--site-page-inset), env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px clamp(16px, 3vw, 26px);
  text-align: left;
  box-sizing: border-box;
}

.site-footer img {
  flex: 0 0 auto;
  width: min(180px, 30vw);
  display: block;
}

.site-footer nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  align-items: center;
  gap: 26px;
  margin: 0;
  flex-wrap: wrap;
}

.site-footer__about {
  flex: 1 1 320px;
  max-width: 52rem;
  margin: 0;
  font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer nav a {
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.site-footer nav a:hover {
  color: var(--pink-soft);
}

.site-footer__legal {
  flex: 0 0 100%;
  width: 100%;
  margin: 10px 0 0;
  text-align: left;
}

.site-footer__copy,
.site-footer__ai {
  margin: 0 0 0.35em;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__ai:last-child,
.site-footer__copy:last-child {
  margin-bottom: 0;
}

.site-footer__ai-en {
  display: inline;
}

.site-footer__ai-sep {
  opacity: 0.45;
}

@media (max-width: 1100px) {
  .members-grid {
    padding: clamp(16px, 3vh, 40px) 0;
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .left-copy .title-image img {
    width: min(100%, clamp(140px, 34vw, 320px));
  }

  .stage:not(.stage--carousel) {
    opacity: 0.72;
  }

  .now-playing {
    width: 100%;
    margin-top: 0;
  }

  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-text h2.about-heading {
    font-size: clamp(1.1rem, 5.8vw, 1.75rem);
    margin: 6px 0 10px;
  }

  .about-text p {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .members-grid {
    padding: clamp(12px, 2.5vh, 28px) 0;
  }

  .member-info h4 {
    font-size: 1.1rem;
  }

  .member-info p {
    font-size: 0.72rem;
  }

  .topbar,
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    width: min(260px, 54vw);
  }

  .brand img {
    max-height: var(--topbar-height);
  }

  .social {
    gap: 10px;
    font-size: 0.8rem;
  }

  .stage:not(.stage--carousel) .member {
    display: block;
  }

  .stage:not(.stage--carousel) .slot-sea {
    display: block;
    --x: 76%;
    --y: 32%;
    --scale: 1.4;
  }

  .stage:not(.stage--carousel) .slot-roa {
    display: block;
    --x: 24%;
    --y: 56%;
    --scale: 1.4;
    --alpha: 0.72;
  }

  .stage:not(.stage--carousel) .slot-ella {
    display: block;
    --x: 57%;
    --y: 62%;
    --scale: 2;
    --alpha: 0.86;
  }

  .latest-media-panel {
    padding: 40px 0;
  }

  .join-panel {
    padding: 16px 0 10px;
  }

  .social-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .social-links a {
    padding: 24px 10px;
  }

  .join-panel p {
    margin-top: 12px;
    margin-bottom: 16px;
  }

  .join-panel h3 {
    font-size: 0.9rem;
    letter-spacing: 0;
  }

  .site-footer nav {
    gap: 12px;
  }

  .site-footer nav a,
  .site-footer__copy,
  .site-footer__ai {
    font-size: 0.68rem;
  }
}

/* --- World page --- */

html.world-snap-page {
  /* world.html의 article.world-member 개수와 동기화 */
  --world-member-count: 5;
  --world-member-gap: clamp(100px, 12vmin, 220px);
  --world-layout-padding: 100px; /* .world-detail 전용 — 일러스트 열과 무관 */
  /* 멤버 카드(.world-layout) 테두리가 슬라이드마다 위·아래 동일하게 들어가도록 */
  --world-card-frame-gutter: max(24px, env(safe-area-inset-top, 0px), env(safe-area-inset-bottom, 0px));
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
  /* 상단 0: 첫 슬라이드가 snap center 한계에서 위로 붙는 현상 방지 */
  scroll-padding-top: 0;
  scroll-padding-bottom: var(--world-card-frame-gutter);
  scroll-padding-inline: 0;
  overscroll-behavior-y: contain;
}

@media (prefers-reduced-motion: reduce) {
  html.world-snap-page {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  article.world-member {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .world-shell > article.world-member:first-of-type {
    scroll-snap-align: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.world-page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image: url("../image/bg_img_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

.world-page .world-page-top .topbar-reveal__drawer {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

article.world-member {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding-block: var(--world-card-frame-gutter);
  height: calc(
    100svh - var(--world-member-gap) * (var(--world-member-count) - 1) / var(--world-member-count)
  );
  height: calc(
    100dvh - var(--world-member-gap) * (var(--world-member-count) - 1) / var(--world-member-count)
  );
  min-height: calc(
    100svh - var(--world-member-gap) * (var(--world-member-count) - 1) / var(--world-member-count)
  );
  min-height: calc(
    100dvh - var(--world-member-gap) * (var(--world-member-count) - 1) / var(--world-member-count)
  );
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* 첫 멤버: scroll=0에서 center 스냅이 불가능해 박스가 위로 치우침 → start 정렬 */
.world-shell > article.world-member:first-of-type {
  scroll-snap-align: start;
}

.world-page-tail {
  flex-shrink: 0;
  padding-top: 0;
}

body.world-page .world-page-tail,
body.music-page .world-page-tail,
body.media-page .world-page-tail,
body.schedule-page .world-page-tail,
body.shop-page .world-page-tail,
body.folktales-page .world-page-tail,
body.music-club-page .world-page-tail {
  padding-bottom: var(--world-card-frame-gutter);
  box-sizing: border-box;
}

body.world-artist-page .world-page-tail {
  padding-bottom: calc(var(--world-rail-h) + var(--world-card-frame-gutter));
}

.world-profile {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.world-shell.content-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--world-member-gap);
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(12px, 3vw, 48px);
}

.world-member + .world-member {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.world-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 0.34fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  align-content: stretch;
  padding: 0;
  background: rgba(7, 7, 11, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  overflow: hidden;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.world-member:first-child .world-layout {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 짝수 멤버: 텍스트 왼쪽 · 일러스트 오른쪽 (일러스트 열 넓게) */
.world-member:nth-child(even) .world-layout {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
}

.world-member:nth-child(even) .world-layout .world-detail {
  order: 1;
}

.world-member:nth-child(even) .world-layout .world-visual {
  order: 2;
}

.world-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.world-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.world-detail {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vh, 18px);
  margin: 0;
  padding: var(--world-layout-padding);
  min-width: 0;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.world-hero-title {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 20px;
  align-items: end;
}

.world-index {
  grid-row: 1 / 3;
  align-self: start;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 300;
  color: var(--pink);
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.9;
}

.world-name-block {
  grid-column: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.world-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  min-width: 0;
}

.world-star-rail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.world-star {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  min-height: 1.35em;
  font-size: clamp(0.88rem, 1.65vw, 1.05rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    text-shadow 0.2s ease;
}

.world-star--filled {
  color: #f0c850;
  text-shadow:
    0 0 10px rgba(240, 200, 80, 0.55),
    0 0 22px rgba(240, 200, 80, 0.22);
}

.world-star:hover {
  color: #fff;
  transform: scale(1.12);
}

.world-star--filled:hover {
  color: #ffe08a;
}

.world-star:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}

.world-name {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 24px rgba(108, 92, 231, 0.55),
    0 0 48px rgba(108, 92, 231, 0.28);
}

.world-role-script {
  margin-top: 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--pink-soft);
  letter-spacing: 0;
}

.world-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.world-intro-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pink);
  text-transform: uppercase;
}

.world-intro-kicker .plus {
  font-size: 1rem;
  font-weight: 500;
}

.world-intro p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}

.world-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(108, 92, 231, 0.5), rgba(108, 92, 231, 0.08));
  border: 0;
  margin: 0;
}

.world-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(10px, 1.8vw, 22px);
}

.world-profile-list {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(10px, 1.6vw, 18px);
  row-gap: clamp(4px, 0.8vh, 8px);
  align-items: baseline;
  margin: 0;
}

.world-profile-list dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pink-soft);
  margin: 0;
}

.world-profile-list dd {
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: 0;
  margin: 0;
}

.world-role-block h3,
.world-message h3,
.world-voice h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.world-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--pink);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.world-role-block p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 6px;
}

.world-role-block p strong {
  color: var(--pink-soft);
  font-weight: 600;
  margin-right: 6px;
}

.world-message blockquote {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 16px;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
}

.world-message blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--pink);
  opacity: 0.65;
}

.world-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.world-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108, 92, 231, 0.55);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #e8e5fb;
  background: rgba(108, 92, 231, 0.06);
}

.world-pill .accent {
  color: var(--pink);
  margin-left: 4px;
}

@media (max-width: 900px) {
  html.world-snap-page {
    --world-layout-padding: clamp(24px, 6vw, 100px);
  }

  .world-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 0;
  }

  .world-member + .world-member {
    margin-top: 0;
    padding-top: 0;
  }

  .world-profile {
    padding: 0;
  }

  /* 모바일: 항상 마크업 순서(이미지 위 → 텍스트 아래) */
  .world-member:nth-child(even) .world-layout .world-detail,
  .world-member:nth-child(even) .world-layout .world-visual {
    order: 0;
  }

  .world-visual {
    height: 100%;
    max-height: none;
  }

  .world-visual img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .world-hero-title {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .world-grid {
    grid-template-columns: 1fr;
  }

  .world-page {
    background-attachment: scroll;
  }
}

/* --- World hub + 멤버 단독 페이지 (풀 뷰포트) --- */

html.world-hub-page,
html.world-artist-page,
html.world-member-landing {
  scroll-snap-type: none;
  --world-card-frame-gutter: max(24px, env(safe-area-inset-top, 0px), env(safe-area-inset-bottom, 0px));
  --world-rail-h: clamp(100px, 22vh, 220px);
}

body.world-hub-page,
body.world-artist-page {
  min-height: 100vh;
  min-height: 100dvh;
}

.world-hub {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  padding-top: var(--topbar-stack);
  width: 100%;
  box-sizing: border-box;
}

.world-hub-fill {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  gap: 0;
  padding-inline: max(clamp(16px, 4vw, 50px), env(safe-area-inset-left, 0px))
    max(clamp(16px, 4vw, 50px), env(safe-area-inset-right, 0px));
  padding-bottom: calc(2 * max(50px, env(safe-area-inset-bottom, 0px)));
}

.world-hub-intro {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(10px, 1.6vh, 18px);
  margin-bottom: 0;
  padding: 0;
  z-index: 2;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.world-hub-title {
  margin: 0;
  font-size: clamp(2rem, 5.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
  color: #333;
}

.world-hub-title-ko {
  font-weight: 700;
  font-size: 0.5em;
  letter-spacing: 0;
  color: #333;
  text-transform: none;
  vertical-align: 0.12em;
  white-space: nowrap;
}

.world-hub-intro__copy {
  margin: 0;
}

.world-hub-intro__block {
  margin: 0 0 clamp(14px, 2vh, 22px);
}

.world-hub-intro__block:last-child {
  margin-bottom: 0;
}

.world-hub-intro__en,
.world-hub-intro__ko {
  margin: 0;
  font-size: clamp(0.84rem, 1.35vw, 0.98rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0;
  text-wrap: pretty;
}

.world-hub-intro__en {
  color: #333;
  margin-bottom: 0.5em;
}

.world-hub-intro__ko {
  color: #333;
  font-size: clamp(0.82rem, 1.25vw, 0.95rem);
  line-height: 1.78;
}

.world-hub-namecell__role {
  display: block;
  max-width: 100%;
  font-size: var(--world-member-role-font-size);
  font-weight: 300;
  color: #111;
  text-align: center;
  line-height: 1.35;
  word-break: keep-all;
}

.world-hub-namecell__role [lang="ko"] {
  font-size: 1em;
  font-weight: 300;
  color: inherit;
}

.world-hub-namecell__role-sep {
  opacity: 0.55;
}

.world-hub-lore {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  margin-top: clamp(48px, 8vh, 88px);
  padding: clamp(20px, 3vw, 32px);
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vh, 18px);
  /* global `section { min-height: 100vh }` — 콘텐츠 높이에 맞게 접기 */
  min-height: 0;
  height: auto;
}

.world-hub-lore__viewport {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.8vh, 28px);
  height: auto;
  max-height: none;
  overflow: visible;
}

.world-hub-lore__notice {
  margin: 0;
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 22px);
  box-sizing: border-box;
  border: 1px solid #a8b4e8;
  border-radius: 2px;
  background: #eef0fb;
}

.world-hub-lore__notice-text {
  margin: 0;
  font-size: clamp(0.72rem, 1.15vw, 0.84rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.72);
}

.world-hub-lore__notice-em {
  font-weight: 700;
  color: #5a68c8;
}

.world-hub-lore__heading {
  margin: 0;
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
  color: #333;
}

.world-hub-lore__tagline {
  margin: -0.15em 0 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  color: #111;
}

.world-hub-lore__item {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.6vh, 6px);
}

.world-hub-lore__label {
  margin: 0;
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  color: #111;
}

.world-hub-lore__item .world-hub-intro__en {
  margin-bottom: 0.45em;
}

.world-hub-lore__item .world-hub-intro__ko strong,
.world-hub-lore__text strong {
  font-weight: 600;
  color: #111;
}

.world-hub-lore__text {
  margin: 0;
  font-size: clamp(0.82rem, 1.25vw, 0.95rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #333;
  text-wrap: pretty;
}

.world-hub-lore__text + .world-hub-lore__text {
  margin-top: 0.3em;
}

.world-hub-lore__hidden-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vh, 20px);
  margin-top: clamp(4px, 0.8vh, 8px);
}

.world-hub-lore__reveal-btn {
  align-self: flex-start;
  min-width: auto;
  width: auto;
  padding: 10px clamp(24px, 6vw, 40px);
  font-size: 0.88rem;
}

.world-hub-lore__hidden {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.8vh, 28px);
}

.world-hub-lore__hidden[hidden] {
  display: none !important;
}

.world-hub-lore__member {
  margin: clamp(8px, 1.2vh, 12px) 0 0;
  padding: clamp(8px, 1.2vh, 12px) 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.world-hub-lore__member:first-of-type {
  margin-top: clamp(4px, 0.8vh, 8px);
  padding-top: 0;
  border-top: none;
}

.world-hub-lore__member-name {
  margin: 0 0 0.35em;
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.world-hub-lore__list {
  margin: 0.25em 0 0;
  padding-left: 1.25em;
  display: grid;
  gap: 0.15em;
  font-size: clamp(0.82rem, 1.25vw, 0.95rem);
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
}

.world-hub-lore__quote {
  margin: clamp(8px, 1.2vh, 12px) 0;
  padding: clamp(10px, 1.6vh, 14px) clamp(14px, 2vw, 18px);
  border-left: 3px solid rgba(108, 92, 231, 0.55);
  background: rgba(108, 92, 231, 0.06);
}

.world-hub-lore__quote p {
  margin: 0;
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  font-weight: 600;
  line-height: 1.45;
  color: #333;
}

.world-hub-members-head {
  flex: 0 0 auto;
  align-self: stretch;
  margin: clamp(40px, 7vh, 72px) 0 clamp(28px, 5vh, 48px);
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}

.world-hub-members-title {
  margin: 0;
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: left;
  color: #333;
  text-shadow: none;
}

/* 허브: 일러스트 위 · 이름·역할 아래 (테두리 없음) */
.world-hub-members {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 20px);
  align-items: stretch;
  border: none;
  background: transparent;
}

.world-hub-member {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  text-decoration: none;
  color: #333;
  border: none;
  background: transparent;
  transition: opacity 0.2s ease;
}

.world-hub-member:hover {
  opacity: 0.88;
  color: #333;
}

.world-hub-member__media {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(220px, 45vh, 560px);
  overflow: hidden;
}

.world-hub-member__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: clamp(220px, 45vh, 560px);
  object-fit: contain;
  object-position: center bottom;
}

.world-hub-member__caption {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: clamp(12px, 2vh, 20px) 4px 0;
  text-align: center;
}

.world-hub-namecell__index {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #333;
}

.world-hub-namecell__name {
  font-size: clamp(1rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  color: #333;
  text-align: center;
  line-height: 1.1;
  word-break: keep-all;
}

.world-hub-namecell__name-ko {
  display: inline;
  font-size: 1em;
  font-weight: 300;
  letter-spacing: 0;
  color: #333;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .world-hub-members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 4vw, 24px);
  }

  .world-hub-member__media {
    min-height: clamp(160px, 36vh, 480px);
  }

  .world-hub-member__media img {
    max-height: clamp(160px, 36vh, 480px);
  }

  .world-hub-member__caption {
    padding-top: 10px;
    gap: 0.22rem;
  }

  .world-hub-namecell__name {
    font-size: clamp(0.68rem, 3.5vw, 1.05rem);
  }

  .world-hub-namecell__index {
    font-size: 0.58rem;
  }

  .world-hub-namecell__role {
    font-size: var(--world-member-role-font-size);
  }
}

/* 멤버 페이지: 전폭 + 하단 고정 5썸네일 */
.world-artist {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 0;
  padding-top: var(--topbar-stack);
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
  padding-bottom: calc(var(--world-rail-h) + env(safe-area-inset-bottom, 0px) + 8px);
  box-sizing: border-box;
}

.world-artist-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  padding-block: clamp(20px, 3vh, 40px);
  box-sizing: border-box;
}

.world-artist-back {
  display: inline-block;
  margin-bottom: clamp(16px, 2.5vh, 28px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink-soft);
  text-decoration: none;
}

.world-artist-back:hover {
  color: #fff;
}

.world-artist-hero {
  margin: 0 0 clamp(20px, 3vh, 32px);
  border-radius: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  max-height: min(52vh, 560px);
}

.world-artist-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 560px);
  object-fit: contain;
  object-position: center bottom;
  vertical-align: middle;
}

.world-artist-body {
  padding-bottom: clamp(20px, 3vh, 40px);
}

.world-hero-title--solo {
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.world-artist-lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: rgba(245, 245, 247, 0.92);
  max-width: none;
}

.world-grid--solo {
  grid-template-columns: 1fr;
}

.world-artist-rail {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: var(--world-rail-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: rgba(4, 4, 10, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.world-artist-rail__link {
  display: block;
  height: 100%;
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.world-artist-rail__link:last-child {
  border-right: 0;
}

.world-artist-rail__link:hover,
.world-artist-rail__link--current {
  opacity: 1;
}

.world-artist-rail__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

@media (min-width: 640px) {
  .world-grid--solo {
    grid-template-columns: 1fr 1fr;
  }
}

/* world-* 멤버 랜딩 (ELLA 등): 진한 회색 배경 + 대형 포토 + 텍스트 + 4×2 그리드 */
body.world-page.world-member-landing {
  background-color: #2a2a30;
  background-image: none;
  background-attachment: scroll;
  color: #e8e8f0;
  overflow-x: hidden;
}

body.world-page.world-member-landing:not(.site-light) .world-page-top .topbar-reveal__drawer {
  background: rgba(7, 7, 11, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.world-page.world-member-landing:not(.site-light) .world-page-top .menu a {
  color: rgba(245, 245, 247, 0.9);
}

body.world-page.world-member-landing:not(.site-light) .menu a.active {
  color: var(--pink-soft);
  border-bottom-color: var(--pink);
}

body.world-page.world-member-landing:not(.site-light) .world-page-top .social {
  color: #d6d6de;
}

.world-ella-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  padding-inline: 0;
  padding-top: var(--topbar-stack);
  box-sizing: border-box;
}

.world-ella-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline-start: max(50px, env(safe-area-inset-left, 0px));
  padding-inline-end: max(50px, env(safe-area-inset-right, 0px));
  padding-top: max(50px, env(safe-area-inset-top, 0px));
  padding-bottom: max(50px, env(safe-area-inset-bottom, 0px), clamp(48px, 9vh, 120px));
  box-sizing: border-box;
}

.site-page-head {
  margin: 0 0 clamp(20px, 3.2vh, 36px);
  text-align: left;
}

/* World hub + Music hub: same title offset (topbar-stack + 50px inset) */
body.world-hub-page .world-hub-fill > .site-page-head.world-hub-intro,
body.music-page--hub.world-page .music-hub-panel > .site-page-head {
  margin: 0 0 clamp(20px, 3.2vh, 36px);
  padding: var(--hub-title-padding-top) 0 0;
  box-sizing: border-box;
}

.site-page-title {
  margin: 0;
  font-size: clamp(2.9rem, 5.6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #6b9ef5;
  line-height: 1.15;
}

.site-page-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.9rem;
}

.site-page-fictional-note {
  margin: 0;
  font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #d32f2f;
}

.world-ella-pathhead {
  margin: 0 0 clamp(20px, 3.2vh, 36px);
  text-align: left;
}

.world-ella-breadcrumb {
  margin: 0;
}

.world-ella-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.45em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 500;
  color: #9a9cac;
}

.world-ella-breadcrumb__list a {
  color: #c8cad8;
  text-decoration: none;
}

.world-ella-breadcrumb__list a:hover {
  color: var(--pink-soft);
}

.world-ella-breadcrumb__sep {
  color: #6e7080;
  font-weight: 400;
  user-select: none;
}

.world-ella-breadcrumb__current {
  color: #ffffff;
  font-weight: 600;
}

.world-ella-hero {
  display: block;
  width: 100%;
  margin-bottom: clamp(72px, 12vh, 140px);
}

.world-ella-hero__textbox {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  background: #38383f;
  box-shadow: none;
  text-align: left;
}

.world-ella-hero__textbox-media {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #38383f;
}

.world-ella-hero__textbox-media .world-ella-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.world-ella-hero__textbox-content {
  box-sizing: border-box;
  padding: clamp(56px, 8vmin, 100px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(14px, 2.2vh, 22px);
}

.world-ella-hero__index {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #999db0;
}

.world-ella-hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  color: #ffffff;
}

.world-ella-hero__title-ko {
  font-weight: 600;
  font-size: 0.52em;
  letter-spacing: 0;
  color: #aeb2c4;
  vertical-align: 0.08em;
  white-space: nowrap;
}

.world-ella-hero__role {
  margin: 0;
  margin-top: -4px;
  font-size: var(--world-member-role-font-size);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1.35;
  word-break: keep-all;
}

.world-ella-hero__role [lang="ko"] {
  font-size: 1em;
  font-weight: 300;
  color: inherit;
}

.world-ella-hero__role-sep {
  opacity: 0.65;
}

.world-ella-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
  color: #c4c6d4;
}

.world-ella-hero__rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin: clamp(4px, 1vh, 12px) 0;
}

.world-ella-hero__meta {
  margin: 0;
  display: grid;
  gap: 10px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 0.88rem;
}

.world-ella-hero__meta div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.4em;
}

.world-ella-hero__meta dt {
  flex: 0 0 auto;
  font-weight: 500;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.world-ella-hero__meta dd {
  flex: 0 1 auto;
  margin: 0;
  font-weight: 500;
  font-size: inherit;
  color: #ececf4;
}

.world-ella-hero__note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #b4b6c8;
}

.world-ella-hero__note strong {
  font-weight: 700;
  color: #f5f5fa;
}

.world-ella-hero__persona {
  margin-top: clamp(22px, 3.5vh, 44px);
  padding-top: clamp(20px, 3.2vh, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.8vh, 28px);
}

.world-ella-hero__persona-sub {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #c8cad8;
}

.world-ella-hero__persona-block {
  margin: 0;
}

.world-ella-hero__persona-en,
.world-ella-hero__persona-ko {
  margin: 0;
  line-height: 1.78;
  text-wrap: pretty;
}

.world-ella-hero__persona-en {
  font-size: clamp(0.84rem, 1.15vw, 0.96rem);
  color: rgba(238, 240, 252, 0.94);
  margin-bottom: 0.55em;
}

.world-ella-hero__persona-ko {
  font-size: clamp(0.82rem, 1.08vw, 0.93rem);
  color: #aeb2c4;
}

.world-ella-gallery-block {
  margin-top: clamp(8px, 2vh, 24px);
}

.world-ella-gallery__title {
  margin: 0 0 clamp(20px, 3vh, 36px);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #f0f0f8;
  text-align: left;
}

.world-ella-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 1px;
  width: 100%;
}

.world-ella-photo-grid__cell {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: #35353c;
  aspect-ratio: 3 / 4;
}

.world-ella-photo-grid__cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.world-ella-back {
  margin: clamp(56px, 10vh, 120px) 0 0;
  padding-inline: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.world-ella-back__sep {
  color: #6e7080;
  font-weight: 400;
  user-select: none;
}

.world-ella-back a {
  color: var(--pink-soft);
  text-decoration: none;
}

.world-ella-back a:hover {
  color: #c4b5fd;
}

body.world-page.world-member-landing .world-page-tail .content-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

body.world-page.world-hub-page .world-page-tail .content-shell {
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

body.world-page.world-artist-page .world-page-tail .content-shell {
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

body.music-page.world-page .world-page-tail .content-shell {
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

body.folktales-page.world-page .world-page-tail .content-shell {
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

body.music-club-page.world-page .world-page-tail .content-shell {
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* Music: full-bleed photo behind content */
.music-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.music-page-bg__photo {
  position: absolute;
  inset: 0;
  background-image: url("../image/bg_img_2.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
}

body.music-page.world-page,
body.music-page--album-1.world-page,
body.music-page--album-2.world-page,
body.music-page--album-3.world-page,
body.music-page--album-4.world-page,
body.music-page--album-5.world-page {
  background-image: none;
}

.music-page-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 100% 100%, rgba(236, 72, 153, 0.03), transparent 62%),
    radial-gradient(90% 70% at 0% 0%, rgba(108, 92, 231, 0.04), transparent 55%),
    linear-gradient(165deg, rgba(12, 8, 20, 0.18) 0%, rgba(10, 6, 16, 0.22) 45%, rgba(8, 5, 14, 0.26) 100%);
}

.music-video-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.music-video-modal[hidden] {
  display: none !important;
}

.music-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 3, 12, 0.88);
}

.music-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 100%);
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(26, 14, 40, 0.98), rgba(14, 8, 22, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.music-video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.music-video-modal__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(245, 243, 255, 0.92);
}

.music-video-modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f3ff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.music-video-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.music-video-modal__close:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 2px;
}

.music-video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.music-video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.music-video-modal__iframe[hidden] {
  display: none;
}

.music-video-modal__file-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
}

.music-video-modal__file-fallback[hidden] {
  display: none;
}

.music-video-modal__file-fallback-ko,
.music-video-modal__file-fallback-en {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.music-video-modal__file-fallback-en {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.music-video-modal__file-fallback-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: #ff0033;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.music-video-modal__file-fallback-link:hover {
  background: #e6002f;
}

body.music-page.world-page .world-page-top {
  position: relative;
  z-index: 2;
}

body.music-page.world-page .music-main,
body.music-page.world-page .world-page-tail,
body.media-page.world-page .media-main,
body.media-page.world-page .world-page-tail {
  position: relative;
  z-index: 1;
}

/* --- Media page --- */
.media-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-top: var(--topbar-stack);
  box-sizing: border-box;
}

.media-inner {
  width: 100%;
  padding-inline: max(clamp(16px, 4vw, 50px), env(safe-area-inset-left, 0px))
    max(clamp(16px, 4vw, 50px), env(safe-area-inset-right, 0px));
  padding-bottom: clamp(48px, 8vh, 96px);
  box-sizing: border-box;
}

.media-hub-panel {
  width: 100%;
  padding-top: clamp(24px, 4vh, 48px);
  background: #fff;
  box-sizing: border-box;
}

.media-hub-panel > .site-page-head {
  margin: 0 0 clamp(20px, 3vh, 36px);
}

.media-page-lead {
  margin: 0.35em 0 0;
  max-width: 40rem;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
}

.media-behind {
  margin: clamp(40px, 6vh, 64px) 0 0;
  min-height: 0;
  height: auto;
}

body.media-page .media-behind {
  min-height: 0;
}

.media-behind__title {
  margin: 0 0 clamp(16px, 2vh, 24px);
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #333;
}

/* 비하인드 사진·영상: 7열 × n행 (항목 추가 시 자동으로 행 증가) */
.media-behind-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
}

.media-behind-grid__cell {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f2;
  min-width: 0;
}

.media-behind-grid__cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 0.82, 0.32, 1);
}

.media-behind-grid__cell--photo {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.media-behind-grid__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 0.45rem 0.4rem 0.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
  font-size: clamp(0.58rem, 1.1vw, 0.72rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .media-behind-grid__cell--photo:hover .media-behind-grid__caption,
  .media-behind-grid__cell--video:hover .media-behind-grid__caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-behind-grid__cell--photo:focus-visible .media-behind-grid__caption,
.media-behind-grid__cell--video:focus-visible .media-behind-grid__caption {
  opacity: 1;
  transform: translateY(0);
}

.media-behind-grid__cell--photo:hover img {
  transform: scale(1.08);
}

.media-behind-grid__cell--photo:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.media-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.media-photo-modal[hidden] {
  display: none !important;
}

.media-photo-modal__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.media-photo-modal__stage {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  max-width: min(96vw, 1280px);
  max-height: min(92vh, 960px);
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

.media-photo-modal__stage:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.media-photo-modal__img {
  display: block;
  max-width: min(96vw, 1280px);
  max-height: min(92vh, 960px);
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.media-behind-grid__cell--video {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.media-behind-grid__cell--video img {
  filter: brightness(0.92);
}

.media-behind-grid__cell--video:hover img {
  filter: brightness(0.85);
}

.media-behind-grid__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease;
}

.media-behind-grid__cell--video:hover .media-behind-grid__play {
  background: rgba(0, 0, 0, 0.35);
}

.media-behind-grid__play img {
  width: clamp(28px, 18%, 40px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.media-behind-grid__cell--video:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .media-behind-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .media-behind-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .media-behind-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .media-behind-grid__cell img,
  .media-behind-grid__play,
  .media-behind-grid__caption {
    transition: none;
  }

  .media-behind-grid__cell--photo:hover img {
    transform: scale(1);
  }
}

/* --- Shop page --- */
body.shop-page.world-page .shop-main,
body.shop-page.world-page .world-page-tail {
  position: relative;
  z-index: 1;
}

.shop-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-top: var(--topbar-stack);
  box-sizing: border-box;
}

.shop-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(clamp(16px, 4vw, 50px), env(safe-area-inset-left, 0px))
    max(clamp(16px, 4vw, 50px), env(safe-area-inset-right, 0px));
  padding-bottom: clamp(48px, 8vh, 96px);
  box-sizing: border-box;
}

.shop-panel {
  width: 100%;
  padding-top: clamp(24px, 4vh, 48px);
  background: #fff;
  box-sizing: border-box;
}

.shop-panel > .site-page-head {
  margin: 0 0 clamp(24px, 3.5vh, 40px);
}

.shop-page-lead {
  margin: 0.35em 0 0;
  max-width: 40rem;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: clamp(48px, 8vh, 72px);
  width: 100%;
}

.shop-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vh, 14px);
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a.shop-card {
  cursor: pointer;
}

article.shop-card {
  cursor: default;
  opacity: 0.92;
}

a.shop-card--tee:hover .shop-card__media img {
  transform: scale(1.04);
}

a.shop-card--photocard:hover .shop-card__media {
  background: #0a0a0a;
}

a.shop-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.shop-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f2;
}

.shop-card--tee .shop-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 0.82, 0.32, 1);
}

.shop-card--photocard .shop-card__media {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.2vw, 22px);
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.shop-card__photocard-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.shop-card--photocard .shop-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
}

.shop-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.shop-card__title {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.shop-card__subtitle {
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.55);
}

.shop-card__price {
  margin-top: 2px;
  font-size: clamp(0.82rem, 1.15vw, 0.92rem);
  font-weight: 600;
  color: #333;
}

article.shop-card .shop-card__price {
  color: rgba(0, 0, 0, 0.45);
}

.shop-note {
  margin: clamp(40px, 6vh, 56px) 0 0;
  font-size: clamp(0.78rem, 1.1vw, 0.85rem);
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(40px, 7vh, 56px);
  }
}

@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card--tee .shop-card__media img {
    transition: none;
  }

  a.shop-card--tee:hover .shop-card__media img {
    transform: scale(1);
  }
}

/* --- Schedule page --- */
body.schedule-page.world-page .schedule-main,
body.schedule-page.world-page .world-page-tail {
  position: relative;
  z-index: 1;
}

.schedule-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-top: var(--topbar-stack);
  box-sizing: border-box;
}

.schedule-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(clamp(16px, 4vw, 50px), env(safe-area-inset-left, 0px))
    max(clamp(16px, 4vw, 50px), env(safe-area-inset-right, 0px));
  padding-bottom: clamp(48px, 8vh, 96px);
  box-sizing: border-box;
}

.schedule-panel {
  width: 100%;
  padding-top: clamp(24px, 4vh, 48px);
  background: #fff;
  box-sizing: border-box;
}

.schedule-calendar {
  width: 100%;
}

.schedule-panel > .site-page-head {
  margin: 0 0 clamp(24px, 3.5vh, 40px);
}

.schedule-page-lead {
  margin: 0.35em 0 0;
  max-width: 40rem;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
}

.schedule-calendar__toolbar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.schedule-calendar__toolbar-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2.5vw, 24px);
  min-width: 0;
}

.schedule-calendar__month {
  margin: 0;
  min-width: 0;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  white-space: nowrap;
}

.schedule-calendar__nav,
.schedule-calendar__today {
  appearance: none;
  margin: 0;
  padding: 8px 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #333;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.schedule-calendar__nav {
  width: auto;
  min-width: 2rem;
  padding-inline: 4px;
  font-size: 1.35rem;
  font-weight: 400;
  color: #333;
}

.schedule-calendar__today {
  flex: 0 0 auto;
  margin-left: auto;
  padding-inline: 4px;
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.schedule-calendar__nav:hover,
.schedule-calendar__today:hover {
  border: none;
  background: transparent;
  box-shadow: none;
  color: #111;
  opacity: 0.65;
}

.schedule-calendar__nav:focus-visible,
.schedule-calendar__today:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.schedule-calendar__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  box-sizing: border-box;
}

.schedule-calendar__table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.schedule-calendar__table th,
.schedule-calendar__table td {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  vertical-align: top;
}

.schedule-calendar__dow {
  padding: 10px 6px;
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 700;
  text-align: center;
  color: #333;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.schedule-calendar__dow--sun {
  color: #c44;
}

.schedule-calendar__dow--sat {
  color: #36a;
}

.schedule-calendar__day {
  height: clamp(80px, 14vh, 132px);
  padding: 6px;
  background: #fff;
}

.schedule-calendar__day--muted {
  background: #fafafa;
}

.schedule-calendar__day--muted .schedule-calendar__date {
  color: rgba(0, 0, 0, 0.28);
}

.schedule-calendar__day--today {
  background: rgba(108, 92, 231, 0.06);
  box-shadow: inset 0 0 0 2px rgba(108, 92, 231, 0.45);
}

.schedule-calendar__day--sun .schedule-calendar__date {
  color: #c44;
}

.schedule-calendar__day--sat .schedule-calendar__date {
  color: #36a;
}

.schedule-calendar__date {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.schedule-calendar__events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-calendar__event {
  margin: 0 0 3px;
  padding: 2px 4px;
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  background: #6c5ce7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-calendar__event--live {
  background: #e84393;
}

.schedule-calendar__event--broadcast {
  background: #6c5ce7;
}

.schedule-calendar__event--fan {
  background: #00b894;
}

.schedule-calendar__event--etc {
  background: #636e72;
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: clamp(14px, 2vh, 20px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.65);
}

.schedule-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.schedule-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-legend__dot--live {
  background: #e84393;
}

.schedule-legend__dot--broadcast {
  background: #6c5ce7;
}

.schedule-legend__dot--fan {
  background: #00b894;
}

.schedule-legend__dot--etc {
  background: #636e72;
}

.schedule-upcoming {
  width: 100%;
  margin-top: clamp(40px, 6vh, 64px);
  min-height: 0;
  box-sizing: border-box;
}

.schedule-upcoming__title {
  margin: 0 0 clamp(14px, 2vh, 20px);
  font-size: clamp(0.78rem, 1.35vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.schedule-upcoming__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-upcoming__item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: baseline;
  gap: 8px 12px;
  padding: clamp(12px, 2vh, 16px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: clamp(0.84rem, 1.2vw, 0.95rem);
}

.schedule-upcoming__date {
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.schedule-upcoming__badge {
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: #6c5ce7;
}

.schedule-upcoming__badge--live {
  background: #e84393;
}

.schedule-upcoming__badge--broadcast {
  background: #6c5ce7;
}

.schedule-upcoming__badge--fan {
  background: #00b894;
}

.schedule-upcoming__badge--etc {
  background: #636e72;
}

.schedule-upcoming__title {
  color: #333;
}

.schedule-upcoming__time {
  font-size: 0.85em;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.schedule-upcoming__empty {
  padding: 20px 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .schedule-upcoming__item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .schedule-upcoming__date {
    grid-column: 1;
  }

  .schedule-upcoming__badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .schedule-upcoming__title {
    grid-column: 1 / -1;
  }

  .schedule-upcoming__time {
    grid-column: 1 / -1;
  }
}

/* --- Music (트랙리스트) --- */
body.music-page.world-page:not(.site-light) {
  background-image: none;
  background-color: #120818;
  color: #eceaf4;
}

body.music-page.world-page:not(.site-light) .world-page-top .topbar-reveal__drawer {
  background: rgba(12, 6, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.music-page.world-page:not(.site-light) .world-page-top .menu a {
  color: rgba(245, 245, 247, 0.9);
}

body.music-page.world-page:not(.site-light) .menu a.active {
  color: var(--pink-soft);
  border-bottom-color: var(--pink);
}

body.music-page.world-page:not(.site-light) .world-page-top .social {
  color: #c8c4dc;
}

/* --- 한국 민담 (folktales) --- */
.folktales-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.folktales-page-bg__glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(70% 55% at 12% 18%, rgba(251, 191, 36, 0.14), transparent 52%),
    radial-gradient(65% 50% at 88% 12%, rgba(244, 114, 182, 0.12), transparent 48%),
    radial-gradient(90% 70% at 50% 100%, rgba(120, 53, 15, 0.22), transparent 55%);
}

.folktales-page-bg__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    168deg,
    rgba(24, 16, 22, 0.92) 0%,
    rgba(18, 12, 18, 0.94) 45%,
    rgba(12, 8, 14, 0.96) 100%
  );
}

body.folktales-page.world-page .world-page-top {
  position: relative;
  z-index: 2;
}

body.folktales-page.world-page .folktales-main,
body.folktales-page.world-page .world-page-tail {
  position: relative;
  z-index: 1;
}

body.folktales-page.world-page:not(.site-light) {
  background-image: none;
  background-color: #161014;
  color: #f3eee8;
}

body.folktales-page.world-page:not(.site-light) .world-page-top .topbar-reveal__drawer {
  background: rgba(18, 12, 16, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.folktales-page.world-page:not(.site-light) .world-page-top .menu a {
  color: rgba(252, 248, 242, 0.9);
}

body.folktales-page.world-page:not(.site-light) .menu a.active {
  color: #fbbf24;
  border-bottom-color: #f59e0b;
}

body.folktales-page.world-page:not(.site-light) .world-page-top .social {
  color: #d4cec6;
}

.folktales-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-top: var(--topbar-stack);
  padding-bottom: clamp(32px, 6vh, 72px);
  box-sizing: border-box;
}

.folktales-inner {
  width: 100%;
  max-width: min(720px, 100%);
  margin-inline: auto;
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.folktales-head {
  margin-bottom: clamp(20px, 3vh, 32px);
  text-align: center;
}

.folktales-head__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.75);
}

.folktales-head__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0;
  color: #fff8f0;
}

.folktales-head__subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(243, 238, 232, 0.72);
}

.folktales-lead {
  margin: 0 0 clamp(28px, 4vh, 40px);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(243, 238, 232, 0.82);
  text-align: left;
}

.folktales-stories__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.folktales-story {
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 6, 10, 0.45);
  box-sizing: border-box;
}

.folktales-story[open] {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(12, 10, 14, 0.55);
}

.folktales-story__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.folktales-story__summary::-webkit-details-marker {
  display: none;
}

.folktales-story__summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid rgba(251, 191, 36, 0.65);
  border-bottom: 2px solid rgba(251, 191, 36, 0.65);
  transform: rotate(45deg) translateY(-0.1em);
  transition: transform 0.18s ease;
}

.folktales-story[open] .folktales-story__summary::after {
  transform: rotate(225deg) translateY(0.05em);
}

.folktales-story__summary:hover {
  color: #fde68a;
}

.folktales-story__summary:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.75);
  outline-offset: 2px;
}

.folktales-story__body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.folktales-story__body p {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(243, 238, 232, 0.78);
}

/* --- 우리들의 뮤직클럽 --- */
.music-club-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.music-club-page-bg__glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(55% 45% at 8% 25%, rgba(34, 211, 238, 0.16), transparent 50%),
    radial-gradient(50% 42% at 92% 20%, rgba(217, 70, 239, 0.12), transparent 48%),
    radial-gradient(85% 55% at 50% 100%, rgba(59, 130, 246, 0.12), transparent 52%);
}

.music-club-page-bg__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    168deg,
    rgba(8, 14, 26, 0.94) 0%,
    rgba(6, 10, 20, 0.96) 48%,
    rgba(4, 8, 16, 0.98) 100%
  );
}

body.music-club-page.world-page .world-page-top {
  position: relative;
  z-index: 2;
}

body.music-club-page.world-page .music-club-main,
body.music-club-page.world-page .world-page-tail {
  position: relative;
  z-index: 1;
}

body.music-club-page.world-page:not(.site-light) {
  background-image: none;
  background-color: #060a12;
  color: #e8f4fc;
}

body.music-club-page.world-page:not(.site-light) .world-page-top .topbar-reveal__drawer {
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.music-club-page.world-page:not(.site-light) .world-page-top .menu a {
  color: rgba(236, 252, 255, 0.9);
}

body.music-club-page.world-page:not(.site-light) .menu a.active {
  color: #5eead4;
  border-bottom-color: #22d3ee;
}

body.music-club-page.world-page:not(.site-light) .world-page-top .social {
  color: #94a3b8;
}

.music-club-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-top: var(--topbar-stack);
  padding-bottom: clamp(32px, 6vh, 72px);
  box-sizing: border-box;
}

.music-club-inner {
  width: 100%;
  max-width: min(760px, 100%);
  margin-inline: auto;
  padding-inline: max(50px, env(safe-area-inset-left, 0px)) max(50px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.music-club-head {
  margin-bottom: clamp(20px, 3vh, 32px);
  text-align: center;
}

.music-club-head__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(94, 234, 212, 0.85);
}

.music-club-head__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0;
  color: #f0fdfa;
}

.music-club-head__subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(224, 242, 254, 0.72);
}

.music-club-lead {
  margin: 0 0 clamp(26px, 4vh, 38px);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(224, 242, 254, 0.82);
}

.music-club-lead strong {
  font-weight: 600;
  color: #ccfbf1;
}

.music-club-panels__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.music-club-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .music-club-panel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .music-club-panel-list .music-club-panel:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.music-club-panel {
  margin: 0;
  padding: 16px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 12, 24, 0.55);
  box-sizing: border-box;
}

.music-club-panel__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #a5f3fc;
}

.music-club-panel__text {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.68;
  color: rgba(207, 250, 254, 0.78);
}

.music-club-panel__status {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.9);
}

.music-club-footnote {
  margin: clamp(24px, 3.5vh, 36px) 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.88);
  text-align: center;
}

.music-main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-top: var(--topbar-stack);
  /* padding-bottom: clamp(32px, 6vh, 72px); */
  box-sizing: border-box;
}

.music-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline-start: max(var(--site-page-inset), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--site-page-inset), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.music-inner.content-shell {
  padding-inline-start: var(--content-shell-inline-start);
  padding-inline-end: max(var(--site-page-inset), env(safe-area-inset-right, 0px));
}

/* Album detail (music-album-*.html): ~50px page inset — same as world / hub */
body.music-page:not(.music-page--hub) .music-inner {
  padding-inline-end: max(var(--site-page-inset), env(safe-area-inset-right, 0px));
  padding-bottom: max(var(--site-page-inset), env(safe-area-inset-bottom, 0px));
}

body.music-page:not(.music-page--hub) .music-inner.content-shell {
  padding-inline-start: var(--content-shell-inline-start);
}

body.music-page:not(.music-page--hub) .music-hub-back.music-album-nav {
  padding-inline-start: 0;
}

body.music-page:not(.music-page--hub) .music-board {
  padding: 0;
}

body.music-page:not(.music-page--hub) .music-board > .music-board__album-picker {
  padding-top: 20px;
}

body.music-page:not(.music-page--hub) .music-board__intro .music-head__album-name {
  margin: 0;
}

.music-page-head {
  margin: 0 0 clamp(18px, 3vh, 32px);
  text-align: center;
  padding-inline: 0;
  box-sizing: border-box;
}

.music-page-head__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(232, 228, 248, 0.55);
}

.music-page-head__title {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  color: #faf8ff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.music-page-head__lead {
  margin: 0.55rem auto 0;
  max-width: 32rem;
  font-size: clamp(0.8rem, 1.15vw, 0.92rem);
  line-height: 1.55;
  color: rgba(232, 228, 248, 0.72);
}

/* Music hub & album pages: left column (cf. world-ella-pathhead / world-ella-hero__textbox) */
body.music-page.world-page .music-page-head {
  text-align: left;
}

body.music-page.world-page .music-page-head__lead {
  margin: 0.55rem 0 0;
  max-width: 42rem;
}

body.music-page.world-page .music-album-hub,
body.music-page.world-page .music-album-picker {
  justify-content: flex-start;
}

body.music-page.world-page .music-album-thumb__media {
  align-self: flex-start;
}

body.music-page.world-page .music-hub-back {
  text-align: left;
}

body.music-page.world-page .music-section-head.music-section-head--kicker-only {
  text-align: left;
}

body.music-page.world-page .music-section-head--kicker-only .music-section-head__kicker {
  text-align: left;
}

body.music-page.world-page .music-board__intro {
  text-align: left;
}

body.music-page.world-page .music-board__intro .music-section-head__album {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

body.music-page.world-page .music-board__intro .music-section-head__album-line {
  justify-content: flex-start;
}

body.music-page.world-page .music-board__intro .music-head__playlist {
  text-align: left;
}

body.music-page.world-page .music-board__intro .music-section-head__desc {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Music hub (music.html): align horizontal inset with World hub (.world-hub-fill) */
body.music-page--hub.world-page .music-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-inline: max(clamp(16px, 4vw, 50px), env(safe-area-inset-left, 0px))
    max(clamp(16px, 4vw, 50px), env(safe-area-inset-right, 0px));
}

body.music-page--hub.world-page .music-hub-panel {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0;
  padding: 0;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #333;
}

/* Music hub only (music.html): 3 columns */
body.music-page--hub.world-page .music-album-hub {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 100px;
  align-items: start;
  justify-items: start;
  box-sizing: border-box;
  margin-top: clamp(10px, 1.8vh, 18px);
  margin-bottom: 0;
  padding-top: clamp(24px, 4vh, 48px);
  padding-bottom: 50px;
  border: none;
}

body.music-page--hub.world-page .music-page-head__kicker {
  font-size: clamp(0.72rem, 1.15vw, 0.88rem);
  letter-spacing: 0;
  color: #333;
}

body.music-page--hub.world-page .music-page-head__title {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: 1.06;
  color: #333;
  text-shadow: none;
}

body.music-page--hub.world-page .music-page-head__lead {
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
  max-width: 52rem;
  color: #333;
}

body.music-page--hub.world-page .music-album-thumb {
  display: block;
  width: 80%;
  max-width: 80%;
  min-width: 0;
}

body.music-page--hub.world-page .music-album-thumb__media {
  width: 100%;
  max-width: none;
}


.music-album-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(100px, 20vh, 240px);
  width: 100%;
}

.music-section-head {
  margin-bottom: clamp(20px, 3.5vh, 36px);
  text-align: center;
  padding-inline: 0;
  box-sizing: border-box;
}

.music-section-head__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(232, 228, 248, 0.55);
  text-align: center;
}

.music-section-head__album {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: inherit;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  color: #faf8ff; 
}

.music-section-head__album-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  flex-wrap: wrap;
}

.music-section-head__desc {
  margin: 0.85rem auto 0;
  max-width: 42rem;
  padding: 0 0.25rem;
  box-sizing: border-box;
  font-size: clamp(0.8rem, 1.05vw, 0.94rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  color: rgba(220, 214, 248, 0.82);
  text-align: center;
  white-space: pre-wrap;
}

.music-section-head__desc[hidden] {
  display: none !important;
}

.music-section-head.music-section-head--kicker-only {
  margin-bottom: clamp(8px, 1.5vh, 14px);
}

.music-board__intro {
  grid-column: 1 / -1;
  margin: 0 0 clamp(20px, 3vh, 32px);
  /* padding: 0 clamp(4px, 1.2vw, 12px) clamp(18px, 3vh, 28px); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  text-align: center; 
}

.music-board__intro .music-section-head__album {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
  margin: 0;
  text-align: left;
}

.music-board__intro .music-section-head__album-line {
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}

.music-board__intro .music-head__album-name {
  margin: 50px 0; 
}

.music-head__album-type {
  flex-shrink: 0;
  margin: 0;
  font-size: clamp(0.72rem, 1.15vw, 2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(232, 228, 248, 0.72);
}

.music-board__intro .music-head__playlist {
  margin: 0.65rem 0 0;
}

.music-board__intro .music-section-head__desc {
  margin-top: 0.75rem;
}

.music-head {
  margin-bottom: clamp(20px, 3.5vh, 36px);
  text-align: center;
  padding-inline: 0;
  box-sizing: border-box;
}

.music-head__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(232, 228, 248, 0.55);
  text-align: center;
}

.music-head__album {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: inherit;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  color: #faf8ff;
}

.music-head__album-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  flex-wrap: wrap;
}

.music-head__album-icon {
  display: block;
  width: clamp(1.2rem, 2.85vw, 1.75rem);
  height: clamp(1.2rem, 2.85vw, 1.75rem);
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.music-head__listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-inline-start: 0.1em;
  padding: 0.2em;
  border-radius: 999px;
  line-height: 0;
  color: inherit;
  text-decoration: none;
  outline-offset: 2px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.music-head__listen:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.music-head__listen:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
}

.music-head__listen:active {
  transform: scale(0.96);
}

.music-head__listen[hidden] {
  display: none !important;
}

.music-head__listen-icon {
  display: block;
  width: clamp(1.05rem, 2.5vw, 1.55rem);
  height: clamp(1.05rem, 2.5vw, 1.55rem);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.music-head__album-name {
  font-size: clamp(1.72rem, 3.9vw, 2.45rem);
  font-weight: 100;
  letter-spacing: 0;
  line-height: 1.12;
  color: #faf8ff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.music-head__album-ko {
  flex-shrink: 0;
  margin: 0;
  margin-inline-start: 0.25em;
  font-size: clamp(0.86rem, 1.95vw, 1.225rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
  white-space: nowrap;
  color: rgba(232, 228, 248, 0.72);
}

.music-head__album-ko[hidden] {
  display: none !important;
}

.music-head__playlist {
  margin: 0.65rem 0 0;
  text-align: center;
}

.music-head__playlist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: clamp(0.58rem, 0.85vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(162, 155, 254, 0.35);
}

.music-head__playlist-link__icon {
  display: block;
  flex-shrink: 0;
  width: clamp(14px, 1.1vw, 18px);
  height: clamp(10px, 0.85vw, 13px);
  object-fit: contain;
}

.music-head__playlist-link:hover {
  color: #d4cffc;
  border-bottom-color: rgba(212, 207, 252, 0.6);
}

.music-album-picker {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  column-gap: clamp(12px, 2vw, 20px);
  row-gap: clamp(108px, 18vw, 180px);
  margin: 0 0 clamp(18px, 3vh, 32px);
  padding-inline: 0;
  box-sizing: border-box;
}

.music-album-hub {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 100px;
  margin: 0 0 clamp(18px, 3vh, 32px);
  padding-inline: 0;
  box-sizing: border-box;
}

.music-album-hub--album {
  margin-top: 0;
}

.music-hub-back {
  margin: 0 0 clamp(10px, 2vh, 18px);
  text-align: center;
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
}

body.music-page:not(.music-page--hub) .music-hub-back {
  font-size: clamp(1.56rem, 2.2vw, 1.76rem);
}

body.music-page.world-page .music-album-nav {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45em 0.65em;
  text-align: left;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant: normal;
  text-transform: none;
}

.music-album-nav__sep {
  color: rgba(232, 228, 248, 0.42);
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

.music-album-nav__kicker {
  margin: 0;
  font-size: 1em;
  font-weight: 100;
  font-family: inherit;
  font-variant: normal;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(232, 228, 248, 0.72);
}

.music-hub-back a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.music-hub-back a:hover {
  color: #faf8ff;
  border-bottom-color: rgba(212, 207, 252, 0.55);
}

a.music-album-thumb {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.music-album-thumb {
  --thumb-cover-share: calc(877 / 1135);
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  flex-shrink: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.music-album-thumb:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
}

.music-album-thumb__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1135 / 877;
  overflow: visible;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.music-album-thumb__cover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: calc(100% * var(--thumb-cover-share));
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

body.music-page:not(.music-page--hub) .music-album-thumb__media {
  width: 120px;
}

.music-album-thumb__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../image/bg_album-cover.png") left center / contain no-repeat;
  pointer-events: none;
}

.music-album-thumb__cover > img {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  box-sizing: border-box;
  border: 1px solid rgba(107, 158, 245, 0.2);
  transform: none;
  transition:
    filter 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.music-album-thumb:hover .music-album-thumb__cover > img,
.music-album-thumb:focus-visible .music-album-thumb__cover > img {
  opacity: 1;
  transform: none;
  filter: brightness(0.4);
  border-color: #8ec0ff;
  box-shadow: inset 0 0 0 1px rgba(142, 192, 255, 0.95);
}

.music-album-thumb__cover > .music-album-thumb__caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(8px, 1.2vw, 14px);
  box-sizing: border-box;
  background: rgba(5, 7, 14, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, background-color 0.22s ease;
}

.music-album-thumb:hover .music-album-thumb__cover > .music-album-thumb__caption,
.music-album-thumb:focus-visible .music-album-thumb__cover > .music-album-thumb__caption {
  opacity: 1;
  background: rgba(5, 7, 14, 0.72);
}

.music-album-thumb__title {
  display: block;
  margin: 0;
  padding: 0;
  font-size: clamp(0.68rem, 1.1vw, 0.92rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #faf8ff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.music-album-thumb__type {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .music-album-thumb__cover > img,
  .music-album-thumb__cover > .music-album-thumb__caption,
  .music-album-thumb__media {
    transition: none;
  }

  .music-album-thumb:hover .music-album-thumb__cover > .music-album-thumb__caption,
  .music-album-thumb:focus-visible .music-album-thumb__cover > .music-album-thumb__caption {
    opacity: 1;
  }
}

.music-album-panel[hidden] {
  display: none !important;
}

.music-board--secondary .music-board__col--wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: clamp(12px, 2vw, 24px);
}

.music-placeholder-msg {
  margin: 0;
  max-width: 36em;
  text-align: center;
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
  line-height: 1.65;
  color: #8f87ab;
}

.music-hub-cover-link {
  display: block;
  text-decoration: none;
  color: inherit;
  outline-offset: 4px;
}

.music-hub-cover-link:focus-visible {
  outline: 2px solid var(--pink-soft);
}

.music-hub-cover-link .music-cover {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.music-hub-cover-link:hover .music-cover {
  transform: scale(1.02);
  opacity: 0.96;
}

.music-hub-spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vh, 20px);
  min-height: 120px;
  padding: clamp(12px, 2vw, 24px);
  box-sizing: border-box;
  text-align: center;
}

.music-hub-spotlight__lead {
  margin: 0;
  max-width: 30em;
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
  line-height: 1.68;
  color: rgba(214, 208, 240, 0.9);
}

.music-hub-spotlight__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55em 1.15em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--pink-soft);
  text-decoration: none;
  border: 1px solid rgba(162, 155, 254, 0.45);
  background: rgba(108, 92, 231, 0.12);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.music-hub-spotlight__cta:hover {
  color: #ede9fe;
  border-color: rgba(212, 207, 252, 0.55);
  background: rgba(108, 92, 231, 0.22);
}

.music-hub-spotlight__cta:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 3px;
}

.music-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  align-items: start;
  column-gap: clamp(16px, 5vw, 200px);
  row-gap: 0;
  padding: 50px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: none;
  border-right: none;
  background: rgba(5, 7, 14, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #faf8ff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.music-board > .music-board__album-picker {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
  box-sizing: border-box;
}

.music-board .music-board__album-picker.music-album-hub {
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding-bottom: 0;
  row-gap: 20px;
  column-gap: 20px;
}

.music-board__album-title {
  grid-column: 1 / -1;
  margin: 50px 0 50px;
  padding: 0 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  box-sizing: border-box;
}

.music-board__album-title--with-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.music-board__album-title--with-actions .site-page-title {
  flex: 1 1 auto;
  min-width: 0;
}

.music-board__play-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 247, 0.95);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.music-board__play-all-icon {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.music-board__play-all-label {
  line-height: 1.2;
}

.music-board__play-all:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.music-board__play-all:focus-visible {
  outline: 2px solid var(--pink-soft);
  outline-offset: 2px;
}

.music-board__play-all.is-active {
  background: rgba(108, 92, 231, 0.35);
  border-color: rgba(162, 155, 254, 0.65);
  color: #fff;
}

.music-track.is-queue-current {
  background: rgba(108, 92, 231, 0.12);
}

.music-board__album-title.site-page-head {
  margin-bottom: 50px;
}

.music-board__album-title .site-page-title {
  margin: 0;
}

.music-board .music-board__intro {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.music-board__col--cover {
  position: relative;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.music-board__col--tracks {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.music-board:not(.music-board--secondary) .music-board__col--cover + .music-board__col--tracks {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: clamp(12px, 1.8vw, 22px);
}

.music-board--secondary .music-board__col--cover {
  border-right: none;
}

.music-board--secondary .music-board__col--tracks:nth-child(2) {
  border-right: none;
  padding-right: 0;
}

.music-cover-wrap {
  margin: 0;
  position: sticky;
  top: calc(var(--topbar-stack) + 12px);
  box-sizing: border-box;
}

.music-cover-caption {
  margin: 0.55rem 0 0;
  padding: 0 0.2rem;
  text-align: left;
  font-size: clamp(0.61rem, 0.91vw, 0.72rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(190, 182, 218, 0.58);
}

.music-cover-caption__en {
  display: block;
  margin: 0 0 0.25em;
  letter-spacing: 0;
}

.music-cover-caption__ko {
  display: block;
  letter-spacing: 0;
  color: rgba(180, 172, 208, 0.62);
}

.music-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.music-tracks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.music-track {
  margin: 0 0 clamp(14px, 2vh, 20px);
  padding-bottom: clamp(12px, 1.8vh, 16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.music-track:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.music-track__top {
  display: flex;
  align-items: center;
  gap: 0.65em;
}

.music-track__title-block {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 400;
  line-height: 1.45;
  color: #f6f4fc;
}

.music-track__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.15em;
  height: 2.15em;
  min-width: 2.15em;
  margin: 0;
  padding: 0;
  font-size: clamp(0.7rem, 0.95vw, 0.8rem);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: rgba(200, 190, 230, 0.95);
  border: 1px solid rgba(200, 190, 230, 0.5);
  border-radius: 50%;
  box-sizing: border-box;
}

.music-track__title {
  display: inline;
  font-weight: 400;
}

.music-track__title-link {
  color: inherit;
  text-decoration: none;
}

.music-track__title-link:hover,
.music-track__title-link:focus-visible {
  color: var(--pink-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.music-track__title-block:has(.music-track__title-en) .music-track__title::after {
  content: "\00a0·\00a0";
  font-weight: 300;
  font-size: 0.88em;
  color: rgba(180, 172, 210, 0.45);
}

.music-track__title-en {
  display: inline;
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(180, 172, 210, 0.9);
  overflow-wrap: anywhere;
}

.music-track__top > .music-track__play {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  line-height: 0;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.music-track__play {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  line-height: 0;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.music-track__play:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.music-track__play:focus-visible {
  outline: 2px solid rgba(212, 207, 252, 0.85);
  outline-offset: 2px;
}

.music-track__play:active {
  transform: scale(0.96);
}

.music-track__play.is-playing {
  background: rgba(162, 155, 254, 0.22);
  border-color: rgba(200, 190, 255, 0.45);
}

.music-track__play--error {
  border-color: rgba(255, 120, 140, 0.55);
  opacity: 0.75;
}

.music-track__play-img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.music-track__play-img[hidden] {
  display: none !important;
}

.music-track__note {
  margin: 0.35rem 0 0;
  padding-left: 0.15rem;
  font-size: clamp(0.68rem, 1.05vw, 0.78rem);
  font-weight: 400;
  line-height: 1.45;
  color: #6b6288;
}

.music-track__note-ko {
  display: inline;
  font-weight: 400;
  color: #6b6288;
}

.music-track__note-ko::after {
  content: "\00a0·\00a0";
  font-weight: 300;
  font-size: 0.95em;
  color: rgba(107, 98, 136, 0.5);
}

.music-track__note-en {
  display: inline;
  font-size: 0.92em;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(150, 142, 180, 0.95);
  overflow-wrap: anywhere;
}

.music-track__note-en cite {
  font-style: italic;
}

.music-track__note a {
  color: var(--pink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.music-track__note a:hover {
  color: #e9d5ff;
}

@media (max-width: 900px) {
  .music-board {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "picker picker"
      "title title"
      "intro intro"
      "cover cover"
      "left right";
  }

  .music-board__album-picker {
    grid-area: picker;
  }

  .music-board__album-title {
    grid-area: title;
  }

  .music-board__intro {
    grid-area: intro;
  }

  .music-board__col--cover {
    grid-area: cover;
    max-width: min(100%, 320px);
    margin-inline: auto;
    border-right: none;
    padding: 0;
  }

  .music-board__col--tracks:nth-child(4) {
    grid-area: left;
  }

  .music-board__col--tracks:nth-child(5) {
    grid-area: right;
  }

  .music-cover-wrap {
    position: relative;
    top: auto;
    margin: 0;
  }

  .music-board--secondary {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .music-board--secondary .music-board__col--cover {
    grid-area: auto;
    max-width: min(100%, 320px);
    margin-inline: auto;
  }

  .music-board--secondary .music-board__col--wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .music-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "picker"
      "title"
      "intro"
      "cover"
      "left"
      "right";
    row-gap: clamp(12px, 2vh, 20px);
  }

  .music-board__album-picker {
    grid-area: picker;
  }

  .music-board__album-title {
    grid-area: title;
  }

  .music-board__album-title--with-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .music-board__play-all {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .music-board__intro {
    grid-area: intro;
  }

  .music-board:not(.music-board--secondary) .music-board__col--tracks:nth-child(4) {
    padding-right: 0;
  }

  .music-board__col--tracks:nth-child(4) {
    grid-area: left;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: clamp(16px, 2.5vh, 24px);
    margin-bottom: clamp(12px, 2vh, 20px);
  }

  .music-board__col--tracks:nth-child(5) {
    grid-area: right;
  }

  .music-board--secondary .music-board__col--cover {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .music-board--secondary .music-board__col--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .world-ella-hero {
    margin-bottom: clamp(56px, 10vh, 100px);
  }

  .world-ella-hero__textbox {
    grid-template-columns: 1fr;
  }

  .world-ella-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 1px;
  }
}

/* Site-wide unified main menu (all pages) */
.site-main-nav-wrap .topbar-reveal__drawer,
.world-page-top .topbar-reveal__drawer {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.topbar-reveal__drawer .menu,
.topbar-reveal__drawer .site-main-menu {
  display: flex;
  gap: 30px;
  font-size: var(--site-main-menu-font-size);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--site-main-menu-letter-spacing) !important;
}

.topbar-reveal__drawer .menu a,
.topbar-reveal__drawer .site-main-menu a {
  color: var(--site-main-menu-color) !important;
  font-size: inherit;
  font-weight: 900;
  letter-spacing: var(--site-main-menu-letter-spacing) !important;
  text-decoration: none;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.topbar-reveal__drawer .menu a.active,
.topbar-reveal__drawer .site-main-menu a.active {
  color: var(--site-main-menu-color-active) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.site-main-nav-wrap .social,
.world-page-top .social,
.topbar-reveal__drawer .social {
  color: var(--site-main-menu-color);
  font-size: 0.95rem;
  letter-spacing: var(--site-main-menu-letter-spacing);
}

.site-main-nav-wrap .social__link,
.world-page-top .social__link,
.topbar-reveal__drawer .social__link {
  opacity: 1;
}

.site-main-menu {
  display: flex;
  gap: 30px;
  font-size: var(--site-main-menu-font-size);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--site-main-menu-letter-spacing);
}

.site-main-menu a {
  color: var(--site-main-menu-color);
  font-weight: 900;
  letter-spacing: var(--site-main-menu-letter-spacing);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
}

.site-main-menu a.active {
  color: var(--site-main-menu-color-active);
  border-bottom: none;
  padding-bottom: 0;
}

/* Schedule / Shop — 준비중 placeholder */
.site-placeholder-page .music-page-bg__photo {
  background-image: url("../image/bg_img_2.png");
}

.site-placeholder-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(72vh, 720px);
  padding: calc(var(--topbar-stack) + clamp(32px, 6vh, 64px)) max(24px, env(safe-area-inset-right, 0px))
    clamp(48px, 8vh, 96px) max(24px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.site-placeholder-inner {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.site-placeholder-panel {
  padding: clamp(48px, 10vh, 88px) clamp(28px, 5vw, 48px);
  text-align: center;
  background: rgba(5, 7, 14, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.site-placeholder-title {
  margin: 0 0 clamp(16px, 3vh, 28px);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: #faf8ff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.site-placeholder-msg {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: rgba(232, 228, 248, 0.82);
}

/* Site light theme (all pages except index.html) */
body.site-light {
  background-color: #fff;
  background-image: none;
  color: #333;
}

body.site-light.world-page,
body.site-light.folktales-page,
body.site-light.music-club-page {
  background-color: #fff;
  background-image: none;
}

body.site-light.world-page.world-member-landing {
  background-color: #fff;
  background-image: none;
  color: #333;
}

body.site-light .music-page-bg,
body.site-light .folktales-page-bg,
body.site-light .music-club-page-bg {
  display: none;
}


body.site-light .music-hub-back a {
  color: #333;
}

body.site-light .music-album-nav__kicker {
  color: rgba(0, 0, 0, 0.72);
}

body.site-light .music-album-nav__sep {
  color: rgba(0, 0, 0, 0.35);
}

body.site-light .music-board,
body.site-light.music-page:not(.music-page--hub) .music-board {
  padding: 0;
  background: #fff;
  color: #333;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.site-light .music-board > .music-board__album-picker {
  border: none;
}

body.site-light .music-board__album-title {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

body.site-light .music-board__album-title .site-page-title {
  color: #333;
}

body.site-light .music-board__intro,
body.site-light .music-board:not(.music-board--secondary) .music-board__col--cover + .music-board__col--tracks,
body.site-light .music-board--secondary .music-board__col--cover {
  border: none;
}

body.site-light .music-board__intro .music-section-head__album,
body.site-light .music-section-head__album-line,
body.site-light .music-head__album-name,
body.site-light .music-head__album-type,
body.site-light .music-board__intro .music-section-head__desc,
body.site-light .music-head__playlist-link {
  color: #333;
}

body.site-light .music-head__album-type {
  color: rgba(0, 0, 0, 0.65);
}

body.site-light .music-cover-caption,
body.site-light .music-cover-caption__en,
body.site-light .music-cover-caption__ko {
  color: rgba(0, 0, 0, 0.62);
}

body.site-light .music-cover,
body.site-light .music-album-thumb__cover > img,
body.site-light .music-album-thumb:hover .music-album-thumb__cover > img,
body.site-light .music-album-thumb:focus-visible .music-album-thumb__cover > img {
  border: none;
  box-shadow: none;
}

body.site-light .music-track {
  border-bottom: none;
}

body.site-light .music-board__play-all {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.04);
  color: #333;
}

body.site-light .music-board__play-all:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.28);
}

body.site-light .music-board__play-all.is-active {
  background: rgba(108, 92, 231, 0.14);
  border-color: rgba(108, 92, 231, 0.45);
  color: #333;
}

body.site-light .music-board__play-all-icon {
  filter: none;
  opacity: 0.75;
}

body.site-light .music-track.is-queue-current {
  background: rgba(108, 92, 231, 0.08);
}

body.site-light .music-track__title-block,
body.site-light .music-track__title,
body.site-light .music-track__title-en,
body.site-light .music-track__title-link {
  color: #333;
}

body.site-light .music-track__title-link:hover,
body.site-light .music-track__title-link:focus-visible {
  color: #111;
}

body.site-light .music-track__no {
  color: rgba(0, 0, 0, 0.55);
  border-color: rgba(0, 0, 0, 0.22);
}

body.site-light .music-track__title::after {
  color: rgba(0, 0, 0, 0.35);
}

body.site-light .music-track__note,
body.site-light .music-track__note-ko,
body.site-light .music-track__note-en {
  color: rgba(0, 0, 0, 0.55);
}

body.site-light .music-track__note-ko::after {
  color: rgba(0, 0, 0, 0.35);
}

body.site-light .music-track__play,
body.site-light .music-track__play:hover,
body.site-light .music-track__play.is-playing {
  border: none;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.05);
}

body.site-light .music-track__play:hover {
  background: rgba(0, 0, 0, 0.08);
}

body.site-light .music-track__play.is-playing {
  background: rgba(108, 92, 231, 0.12);
}

body.site-light .music-track__play-img {
  filter: none;
  opacity: 0.75;
}

body.site-light .world-page-tail .back-to-top-strip {
  display: none;
}

body.site-light .site-footer {
  background: #fff;
  border: none;
  box-shadow: none;
  color: #333;
}

body.site-light .site-footer nav a,
body.site-light .site-footer__about,
body.site-light .site-footer__copy,
body.site-light .site-footer__ai {
  color: rgba(0, 0, 0, 0.62);
}

body.site-light .site-footer nav a:hover {
  color: #333;
}

/* World hub */
body.site-light .site-page-title {
  color: #333;
  letter-spacing: 0;
}

body.site-light .world-hub-title,
body.site-light .world-hub-title-ko {
  color: #333;
  text-shadow: none;
}

body.site-light .world-hub-intro__en,
body.site-light .world-hub-intro__ko {
  color: rgba(0, 0, 0, 0.72);
}

body.site-light .world-hub-lore {
  border-color: rgba(0, 0, 0, 0.14);
  background: #fff;
  box-shadow: none;
}

body.site-light .world-hub-lore__notice {
  background: #eef0fb;
  border-color: #a8b4e8;
}

body.site-light .world-hub-lore__notice-text {
  color: rgba(0, 0, 0, 0.68);
}

body.site-light .world-hub-lore__notice-em {
  color: #4f5fc4;
}

body.site-light .world-hub-lore__heading,
body.site-light .world-hub-lore__tagline,
body.site-light .world-hub-lore__label {
  color: #333;
}

body.site-light .world-hub-lore__tagline {
  color: #111;
}

body.site-light .world-hub-lore__item .world-hub-intro__ko strong,
body.site-light .world-hub-lore__text strong {
  color: #111;
}

body.site-light .world-hub-lore__text,
body.site-light .world-hub-lore__list {
  color: rgba(0, 0, 0, 0.78);
}

body.site-light .world-hub-lore__member {
  border-top-color: rgba(0, 0, 0, 0.08);
}

body.site-light .world-hub-lore__quote {
  border-left-color: rgba(108, 92, 231, 0.45);
  background: rgba(108, 92, 231, 0.05);
}

body.site-light .world-hub-lore__quote p {
  color: #333;
}

/* Music hub panel */
body.site-light .music-hub-panel,
body.site-light.music-page--hub .music-hub-panel {
  padding: 0;
  background: #fff;
  color: #333;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.site-light.music-page--hub .site-page-title {
  color: #333;
  text-shadow: none;
}

body.site-light.music-page--hub .music-album-hub {
  border: none;
}

/* Schedule / Shop placeholder */
body.site-light .site-placeholder-panel {
  background: #fff;
  color: #333;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* Folktales / music-club main text (light) */
body.site-light .folktales-main,
body.site-light .music-club-main {
  color: #333;
}

body.site-light .folktales-story__summary {
  color: #333;
}

body.site-light .folktales-lead,
body.site-light .folktales-story__body {
  color: rgba(0, 0, 0, 0.72);
}

body.site-light .folktales-story {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

body.site-light .folktales-story[open] {
  border-color: rgba(0, 0, 0, 0.18);
  background: #fff;
}

body.site-light .music-club-panels__heading,
body.site-light .music-club-panel__title {
  color: #333;
}

body.site-light .music-club-panel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

body.site-light .music-club-panel__text,
body.site-light .music-club-footnote {
  color: rgba(0, 0, 0, 0.72);
}

body.site-light .music-club-panel__status {
  color: rgba(0, 0, 0, 0.55);
}

/* World member boxes (hub + member landing) */
body.site-light .world-ella-hero__textbox {
  background: #fff;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

body.site-light .world-ella-hero__textbox-media {
  background: #fff;
  border: none;
}

body.site-light .world-ella-breadcrumb__list,
body.site-light .world-ella-breadcrumb__list a,
body.site-light .world-ella-breadcrumb__sep,
body.site-light .world-ella-breadcrumb__current,
body.site-light .world-ella-hero__index,
body.site-light .world-ella-hero__title,
body.site-light .world-ella-hero__title-ko,
body.site-light .world-ella-hero__lead,
body.site-light .world-ella-hero__meta dd,
body.site-light .world-ella-hero__note,
body.site-light .world-ella-hero__note strong,
body.site-light .world-ella-hero__persona-sub,
body.site-light .world-ella-hero__persona-en,
body.site-light .world-ella-hero__persona-ko,
body.site-light .world-ella-gallery__title,
body.site-light .world-ella-back a {
  color: #333;
}

body.site-light .world-ella-hero__role {
  color: #111;
}

body.site-light .world-ella-hero__meta dt {
  color: rgba(0, 0, 0, 0.4);
}

body.site-light .world-ella-breadcrumb__list a:hover {
  color: #333;
}

body.site-light .world-ella-hero__rule,
body.site-light .world-ella-hero__persona {
  border-color: rgba(0, 0, 0, 0.12);
}

body.site-light .world-ella-photo-grid__cell {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

body.site-light .world-layout {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(0, 0, 0, 0.12);
  color: #333;
}

body.site-light .world-member:first-child .world-layout {
  border-top-color: rgba(0, 0, 0, 0.12);
}

body.site-light .world-index,
body.site-light .world-name,
body.site-light .world-role-script,
body.site-light .world-intro-kicker,
body.site-light .world-intro p,
body.site-light .world-meta dt,
body.site-light .world-meta dd {
  color: #333;
  text-shadow: none;
}

body.site-light .world-rule {
  background: rgba(0, 0, 0, 0.12);
}

body.site-light {
  color: #333;
}

body.site-light .music-album-nav__kicker,
body.site-light .music-album-nav__sep,
body.site-light .music-album-nav a,
body.site-light .music-head__album-type,
body.site-light .music-cover-caption,
body.site-light .music-cover-caption__en,
body.site-light .music-cover-caption__ko,
body.site-light .music-track__no,
body.site-light .music-track__note,
body.site-light .music-track__note-ko,
body.site-light .music-track__note-en,
body.site-light .site-footer nav a,
body.site-light .site-footer__about,
body.site-light .site-footer__copy,
body.site-light .site-footer__ai,
body.site-light .world-hub-intro__en,
body.site-light .world-hub-intro__ko,
body.site-light .folktales-lead,
body.site-light .folktales-story__body,
body.site-light .music-club-panel__text,
body.site-light .music-club-footnote,
body.site-light .music-club-panel__status,
body.site-light .music-track__title::after,
body.site-light .music-track__note-ko::after {
  color: #333;
}

/* =============================================================================
   Responsive — tablet & mobile (site-wide)
   ============================================================================= */

.topbar-menu-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #555;
  border-radius: 0;
  background: #fff;
  color: #555;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.topbar-menu-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 -6px 0 currentColor,
    0 6px 0 currentColor;
}

.topbar-menu-toggle:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.topbar-menu-close {
  display: none;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #555;
  border-radius: 0;
  background: #fff;
  color: #555;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.topbar-menu-close::before,
.topbar-menu-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  margin-top: -1px;
  background: currentColor;
}

.topbar-menu-close::before {
  transform: rotate(45deg);
}

.topbar-menu-close::after {
  transform: rotate(-45deg);
}

.topbar-menu-close:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

body.has-mobile-menu-open {
  overflow: hidden;
}

/* ≤1023px: 상단 인라인 메뉴 숨김, 로고 + 햄버거만 */
@media (max-width: 1023px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle";
    align-items: center;
    gap: 8px 12px;
    height: auto;
    min-height: 64px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  }

  .topbar .brand {
    grid-area: brand;
    width: min(180px, 52vw);
    height: auto;
    min-height: 0;
  }

  .topbar .social {
    display: none;
  }

  .topbar-menu-toggle {
    display: inline-flex;
    grid-area: toggle;
    justify-self: end;
    margin-inline-start: auto;
  }

  .topbar-menu-close {
    display: none;
    grid-area: toggle;
    justify-self: end;
    margin-inline-start: auto;
  }

  .topbar-reveal.is-menu-open .topbar-menu-toggle {
    display: none;
  }

  .topbar-reveal.is-menu-open .topbar-menu-close {
    display: inline-flex;
  }

  .topbar .menu,
  .topbar .site-main-menu {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .topbar .menu a,
  .topbar .site-main-menu a {
    display: block;
    padding: 12px 4px;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .topbar .menu a:last-child,
  .topbar .site-main-menu a:last-child {
    border-bottom: 0;
  }

  .topbar-reveal.is-menu-open {
    inset: 0;
    z-index: 250;
    height: 100vh;
    height: 100dvh;
    height: 100svh;
  }

  .topbar-reveal.is-menu-open .topbar-reveal__drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: none;
    border-bottom: 0;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }

  .topbar-reveal.is-menu-open .topbar {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "brand toggle"
      "menu menu";
    align-items: center;
    align-content: start;
    min-height: 100%;
    box-sizing: border-box;
  }

  .topbar-reveal.is-menu-open .topbar .brand {
    grid-area: brand;
    display: flex;
    justify-self: start;
    align-self: center;
    width: min(220px, 58vw);
  }

  .topbar-reveal.is-menu-open .topbar-menu-toggle,
  .topbar-reveal.is-menu-open .topbar-menu-close {
    grid-area: toggle;
    align-self: center;
    justify-self: end;
  }

  .topbar-reveal.is-menu-open .topbar .menu,
  .topbar-reveal.is-menu-open .topbar .site-main-menu {
    grid-area: menu;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: clamp(28px, 5vh, 56px) 0 clamp(24px, 6vh, 48px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
  }

  .topbar-reveal.is-menu-open .topbar .menu a,
  .topbar-reveal.is-menu-open .topbar .site-main-menu a {
    width: 100%;
    padding: 24px 4px;
    font-size: calc(var(--site-main-menu-font-size) * 2) !important;
    line-height: 2;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .topbar-reveal.is-menu-open .topbar .menu a:last-child,
  .topbar-reveal.is-menu-open .topbar .site-main-menu a:last-child {
    border-bottom: 0;
  }

  .topbar-reveal__drawer {
    max-height: min(100dvh, 100vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  html.scroll-snap-home .topbar-reveal {
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }

  html.scroll-snap-home .topbar-reveal__sentinel {
    display: none !important;
  }

  html.scroll-snap-home .topbar-reveal__drawer {
    transform: translateY(0);
    pointer-events: auto;
    transition: none;
  }

  html.scroll-snap-home .topbar-reveal__drawer::after {
    display: none;
  }

  html.scroll-snap-home .topbar-reveal.is-menu-open .topbar-reveal__drawer,
  html.scroll-snap-home .topbar-reveal:has(.topbar-menu-toggle:focus-visible) .topbar-reveal__drawer {
    transform: translateY(0);
    pointer-events: auto;
  }

  html.scroll-snap-home .topbar-reveal.is-menu-open {
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    pointer-events: auto;
  }

  html.scroll-snap-home:has(.topbar-reveal--auto-hide) {
    --topbar-stack: 0px;
  }

  html.scroll-snap-home.topbar-stack-expanded:has(.topbar-reveal--auto-hide),
  html.scroll-snap-home.topbar-stack-expanded:has(.topbar-reveal.is-menu-open) {
    --topbar-stack: 0px;
  }

  html.scroll-snap-home .topbar-reveal--auto-hide .topbar-reveal__drawer {
    background: transparent;
    box-shadow: none;
    border-bottom: 0;
  }

  html.scroll-snap-home .topbar-reveal--auto-hide.is-menu-open .topbar-reveal__drawer {
    background: #fff;
    box-shadow: none;
    border-bottom: 0;
  }
}

@media (max-width: 1100px) {
  :root {
    --site-page-inset: clamp(20px, 4vw, 40px);
    --content-shell-control-inset: 40px;
    --hub-title-padding-top: clamp(20px, 4vw, 40px);
  }

  .members-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 16px);
    padding-inline: 0;
  }

  .members-grid-cell + .members-grid-cell {
    box-shadow: none;
  }

  .world-hub-members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .music-album-hub {
    row-gap: clamp(48px, 10vw, 100px);
  }
}

@media (max-width: 900px) {
  :root {
    --site-page-inset: clamp(16px, 4vw, 28px);
    --content-shell-control-inset: 0px;
    --section-inline-gutter: clamp(16px, 4vw, 28px);
    --topbar-body-gap: clamp(16px, 2.5vh, 28px);
    --hub-title-padding-top: clamp(16px, 3vw, 28px);
    --section-min-height: 0px;
  }

  html,
  body {
    overflow-x: clip;
  }

  img:not(.latest-media-cell img):not(.stage.stage--carousel .member img),
  video {
    max-width: 100%;
  }

  .section-kicker,
  .panel-head {
    font-size: clamp(1.75rem, 7vw, 2.6rem);
  }

  .homepage-lower > section > .content-shell {
    padding-block: clamp(36px, 7vh, 56px);
  }

  .homepage-lower .about-panel > .content-shell,
  .homepage-lower .latest-media-panel > .content-shell,
  .homepage-lower .members-panel > .content-shell {
    padding-inline: max(var(--site-page-inset), env(safe-area-inset-left, 0px))
      max(var(--site-page-inset), env(safe-area-inset-right, 0px));
  }

  .about-panel {
    --about-nav-frame: 100%;
    padding-top: 20px;
  }

  .about-text h2.about-heading {
    font-size: clamp(1.15rem, 4.8vw + 0.35rem, 2.15rem);
    line-height: 1.14;
    margin: 8px 0 12px;
    gap: 0.3em;
  }

  .about-text p {
    font-size: clamp(0.84rem, 3.2vw, 0.95rem);
    line-height: 1.58;
    margin-bottom: 14px;
  }

  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-artist-inner,
  .world-ella-inner {
    padding-inline-start: max(var(--site-page-inset), env(safe-area-inset-left, 0px));
    padding-inline-end: max(var(--site-page-inset), env(safe-area-inset-right, 0px));
    padding-top: clamp(20px, 4vw, 36px);
    padding-bottom: max(var(--site-page-inset), env(safe-area-inset-bottom, 0px), clamp(32px, 6vh, 64px));
  }

  .world-ella-hero__textbox-content {
    padding: clamp(28px, 6vw, 48px);
  }

  .world-ella-hero__title-ko,
  .world-hub-title-ko,
  .world-hub-namecell__name-ko {
    white-space: normal;
  }

  .world-hub-lore {
    margin-top: clamp(28px, 5vh, 48px);
    padding: clamp(16px, 4vw, 24px);
  }

  .schedule-calendar__toolbar {
    flex-wrap: wrap;
  }

  .schedule-calendar__toolbar-center {
    flex: 1 1 100%;
    order: 3;
    justify-content: center;
  }

  .schedule-calendar__today {
    margin-left: 0;
  }

  .schedule-calendar__day {
    height: clamp(64px, 12vw, 96px);
    padding: 4px;
  }

  .schedule-calendar__event {
    font-size: 0.62rem;
    padding: 2px 3px;
  }

  .music-album-hub,
  .music-board .music-board__album-picker.music-album-hub {
    row-gap: clamp(32px, 8vw, 64px);
    column-gap: 12px;
  }

  .music-video-modal__dialog {
    width: 100%;
    max-height: min(88dvh, 88vh);
  }

  .music-video-modal__title {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .folktales-inner,
  .music-club-inner {
    padding-inline: max(var(--site-page-inset), env(safe-area-inset-left, 0px))
      max(var(--site-page-inset), env(safe-area-inset-right, 0px));
  }

  .site-page-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  html.scroll-snap-home {
    scroll-snap-type: none;
  }

  html.scroll-snap-home .hero,
  html.scroll-snap-home .homepage-lower > section,
  html.scroll-snap-home .site-footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .section-jump__label {
    display: none;
  }

  .section-jump {
    gap: 14px;
    right: max(8px, env(safe-area-inset-right, 0px));
    padding: 16px 10px 16px 14px;
  }

  .section-jump__row {
    grid-template-columns: 32px;
    column-gap: 0;
  }

  .content {
    padding: 16px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px));
  }

  .left-copy {
    margin-top: clamp(24px, 8vh, 48px);
    max-width: 100%;
  }

  .left-copy .title-image img {
    width: min(100%, clamp(130px, 62vw, 280px));
  }

  .now-playing {
    width: 100%;
    max-width: 100%;
  }

  .world-hub-members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-artist-rail {
    --world-rail-h: clamp(72px, 14vh, 120px);
  }

  html.world-snap-page {
    scroll-snap-type: none;
  }

  article.world-member {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

@media (max-width: 640px) {
  .left-copy .title-image img {
    width: min(100%, clamp(120px, 68vw, 240px));
  }

  .topbar .social span:not(:first-child):not(:last-child) {
    display: none;
  }

  .members-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .site-footer__about {
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .site-page-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .world-ella-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-calendar__month {
    font-size: 1rem;
    white-space: normal;
    text-align: left;
  }

  .schedule-calendar__dow {
    padding: 6px 2px;
    font-size: 0.65rem;
  }

  .schedule-calendar__date {
    font-size: 0.72rem;
  }

  .music-track__top {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .music-track__top > .music-track__play {
    margin-left: 0;
  }

  .media-behind-grid__caption {
    font-size: 0.62rem;
    padding: 6px 8px;
  }
}

@media (max-width: 479px) {
  .section-jump {
    display: none;
  }

  .topbar .social {
    display: none;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle";
  }

  .schedule-calendar__day {
    height: 56px;
  }

  .schedule-calendar__event {
    display: none;
  }

  .shop-grid {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-mobile-menu-open {
    overflow: hidden;
  }
}
