:root {
  --bg: #08090b;
  --surface: rgba(16, 18, 24, 0.82);
  --surface-strong: rgba(22, 25, 33, 0.94);
  --text: #f3f1ec;
  --muted: #aaa7a0;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #f3d18b;
  --accent-soft: rgba(243, 209, 139, 0.18);
  --accent-alt: #b88cff;
  --accent-gold: #c59d54;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 22px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --max-width: 1320px;
  --text-body: clamp(0.95rem, 0.28vw + 0.9rem, 1.02rem);
  --text-small: clamp(0.82rem, 0.16vw + 0.78rem, 0.9rem);
  --text-lead: clamp(1rem, 0.42vw + 0.94rem, 1.12rem);
  --title-section: clamp(2rem, 3.4vw, 3.4rem);
  --media-column: 280px;
  --media-column-wide: 300px;
}

@media (max-width: 860px) {
  body[data-page="community"] .section-heading.split {
    grid-template-columns: 1fr;
  }

  body[data-page="community"] .news-summary-grid,
  body[data-page="community"] .news-article-grid,
  body[data-page="community"] .news-activity-list,
  body[data-page="community"] .news-summary-item,
  body[data-page="community"] .news-article-card,
  body[data-page="community"] .news-activity-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="community"] .news-summary-item p,
  body[data-page="community"] .news-section-note,
  body[data-page="community"] .news-article-card h3,
  body[data-page="community"] .news-article-card > p,
  body[data-page="community"] .news-activity-item h3,
  body[data-page="community"] .news-activity-item p {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(243, 209, 139, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(169, 106, 255, 0.14), transparent 22%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 32%),
    linear-gradient(180deg, #060709 0%, #0a0c10 42%, #050608 100%);
  color: var(--text);
  overflow-x: hidden;
  font-size: var(--text-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  opacity: 0.35;
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding-bottom: 120px;
  position: relative;
}

main {
  display: grid;
  gap: 18px;
}

section[id],
.album-entry[id] {
  scroll-margin-top: 120px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 14, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.34);
}

.topbar > * {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 210px;
}

.brand-text {
  display: inline-block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #f6efe6;
  white-space: nowrap;
}

.brand-logo-mark {
  display: none;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 180px;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  letter-spacing: 0.12em;
  font-family: "Bebas Neue", sans-serif;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(243, 209, 139, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav a,
.cta-link,
.mobile-nav a {
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.cta-link:hover,
.mobile-nav a:hover,
.main-nav a.is-active,
.mobile-nav a.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

.main-nav a.is-current,
.mobile-nav a.is-current {
  opacity: 1;
}

.main-nav a,
.mobile-nav a {
  opacity: 0.72;
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-picker::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.language-picker select {
  width: 104px;
  height: 42px;
  padding: 0 30px 0 12px;
  border: 1px solid rgba(243, 209, 139, 0.24);
  border-radius: 8px;
  appearance: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.language-picker select:hover {
  border-color: rgba(243, 209, 139, 0.5);
  background: rgba(243, 209, 139, 0.08);
}

.language-picker select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.data-placeholder {
  margin: 0;
  padding: 18px 20px;
  border: 1px dashed rgba(243, 209, 139, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.data-placeholder-error {
  border-color: rgba(219, 120, 120, 0.36);
  color: #e6c0c0;
}

.cta-link {
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.18), rgba(243, 209, 139, 0.08));
  border: 1px solid rgba(243, 209, 139, 0.3);
  font-size: 0.98rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.1em;
  opacity: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  min-height: calc(100vh - 120px);
  padding: 72px 0 40px;
  align-items: center;
  overflow: hidden;
}

.page-hero {
  min-height: auto;
}

.home-hero {
  min-height: calc(100vh - 72px);
  padding-top: 72px;
  padding-bottom: 18px;
}

body[data-page="home"] .topbar {
  padding: 13px 18px;
  border-radius: 16px;
}

body[data-page="home"] .brand-logo {
  width: 180px;
  height: 60px;
}

body[data-page="home"] .brand {
  flex-basis: 238px;
}

body[data-page="home"] .brand-text {
  font-size: 1.7rem;
}

body[data-page="home"] .cta-link {
  padding: 10px 16px;
}

.hero-copy,
.hero-panel {
  align-self: stretch;
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  max-width: 760px;
  min-height: 100%;
  padding: 10px 0 24px;
}

body[data-page="home"] .hero-copy {
  max-width: 780px;
  padding: 0;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 20px 0 auto auto;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(243, 209, 139, 0.24), rgba(243, 209, 139, 0.03) 48%, transparent 72%);
  filter: blur(10px);
  opacity: 0.9;
}

.page-intro {
  position: relative;
  padding: 84px 0 18px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.page-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 209, 139, 0.18), transparent 70%);
  filter: blur(10px);
  opacity: 0.9;
}

.page-kicker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.page-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(243, 209, 139, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
}

.page-badge {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4.8rem, 12vw, 10rem);
  line-height: 0.85;
  color: rgba(243, 209, 139, 0.08);
  letter-spacing: 0.08em;
  pointer-events: none;
}

body[data-page="home"] .page-shell {
  position: relative;
}

body[data-page="profile"] .page-intro h1 {
  color: var(--text);
}

body[data-page="albums"] .page-intro h1 {
  color: var(--text);
}

body[data-page="works"] .page-intro h1 {
  color: var(--text);
}

body[data-page="community"] .page-intro h1 {
  color: var(--text);
}

.page-intro h1 {
  margin: 0 0 14px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.page-intro p:last-child {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
  font-size: var(--text-lead);
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-text,
.section-intro,
.news-card p,
.album-card p,
.timeline-item p,
.activity-card p,
.community-panel p,
.shop-card p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--text-body);
}

.home-archive-links {
  display: grid;
  gap: 10px;
  width: min(100%, 760px);
  min-height: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(13, 15, 21, 0.88);
}

.home-archive-links-head {
  display: grid;
  gap: 4px;
}

.home-archive-links-head .eyebrow {
  margin: 0;
}

.home-archive-links-head h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.03em;
}

.home-archive-groups {
  display: grid;
  gap: 8px;
}

.home-archive-group {
  display: grid;
  gap: 6px;
}

.home-archive-group strong {
  color: rgba(243, 241, 236, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.home-archive-chip-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.07em;
  font-size: 1rem;
}

.button-primary {
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.24), rgba(243, 209, 139, 0.08));
  color: var(--text);
  border-color: rgba(243, 209, 139, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

body[data-page="home"] .hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  align-self: end;
}

body[data-page="home"] .home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: 16px;
  min-height: 0;
  padding-top: 20px;
  padding-bottom: 4px;
  align-items: stretch;
}

body[data-page="home"] .home-hero::before {
  inset: -20px -60px auto auto;
  width: min(48vw, 640px);
  height: min(48vw, 640px);
  background:
    radial-gradient(circle, rgba(243, 209, 139, 0.26), rgba(243, 209, 139, 0.04) 44%, transparent 72%);
}

body[data-page="home"] .hero-copy {
  max-width: 620px;
  padding: 0;
  align-self: stretch;
  align-content: stretch;
}

body[data-page="home"] .button-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats div,
.feature-card,
.news-card,
.album-card,
.activity-card,
.community-panel,
.shop-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px 18px 17px;
  border-radius: var(--radius-md);
  min-height: 88px;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
  align-content: stretch;
  min-height: 100%;
}

body[data-page="home"] .hero-panel {
  gap: 12px;
  padding-bottom: 0;
  grid-template-rows: 1fr;
  align-self: stretch;
}

.home-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  min-height: 100%;
  width: 100%;
}

.home-hero-feature,
.home-hero-mini {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(243, 209, 139, 0.16);
  background: #101318;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.home-hero-feature {
  min-height: 100%;
  aspect-ratio: 4 / 4.6;
}

.home-hero-rail {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-hero-feature::before,
.home-hero-mini::before,
.home-primary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.06) 0%, rgba(5, 7, 10, 0.14) 38%, rgba(5, 7, 10, 0.88) 100%);
  z-index: 1;
}

.home-hero-feature img,
.home-hero-mini img,
.home-primary-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-feature img,
.home-hero-mini img,
.home-primary-card img {
  transition: transform 260ms ease;
}

.home-hero-feature img {
  object-position: center top;
}

.home-hero-feature:hover img,
.home-hero-mini:hover img,
.home-primary-card:hover img {
  transform: scale(1.04);
}

.home-hero-feature-copy {
  position: absolute;
  inset: auto 16px 16px 16px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.home-hero-feature-copy span,
.home-hero-mini span,
.home-primary-copy span {
  display: inline-block;
  color: #f3d18b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero-feature-copy strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.25rem, 1.9vw, 1.9rem);
  font-weight: 400;
  line-height: 1.04;
  color: #fff8ef;
}

.home-hero-feature-copy p {
  margin: 0;
  max-width: 34ch;
  color: rgba(243, 241, 236, 0.82);
  font-size: 0.82rem;
  line-height: 1.48;
}

.home-hero-mini {
  min-height: 0;
  aspect-ratio: 4 / 4.5;
}

@media (min-width: 861px) {
  body[data-page="home"] .home-hero-feature {
    width: 100%;
    justify-self: stretch;
  }
}

.home-hero-mini div {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.home-hero-mini strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: #fff8ef;
}

.home-primary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.home-primary-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(243, 209, 139, 0.14);
  aspect-ratio: 5 / 6;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.home-primary-copy {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.home-primary-copy h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.25rem, 1.6vw, 1.7rem);
  line-height: 0.98;
  color: #fff8ef;
}

.home-primary-copy p {
  margin: 0;
  color: rgba(243, 241, 236, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--surface);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 209, 139, 0.2), transparent 70%);
}

.feature-card-lg {
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(243, 209, 139, 0.18), rgba(20, 24, 32, 0.92)),
    var(--surface);
}

.feature-card:not(.feature-card-lg) {
  min-height: 160px;
}

body[data-page="home"] .feature-card {
  padding: 22px;
}

body[data-page="home"] .feature-card-lg {
  min-height: 188px;
}

body[data-page="home"] .feature-card:not(.feature-card-lg) {
  min-height: 112px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 96px rgba(0, 0, 0, 0.52);
  border-color: rgba(243, 209, 139, 0.28);
}

.hero-badge {
  position: absolute;
  right: -16px;
  bottom: 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 0.8;
  color: rgba(243, 209, 139, 0.08);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.hero-poster-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(108px, 0.8fr);
  grid-template-rows: 1fr auto;
  gap: 14px;
  align-items: stretch;
  width: min(28vw, 286px);
  margin-top: 8px;
  pointer-events: none;
}

body[data-page="home"] .hero-poster-stack {
  width: min(24vw, 264px);
  margin-top: 4px;
}

.hero-poster {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(243, 209, 139, 0.24);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster-main {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 260px;
  transform: rotate(-2deg);
  z-index: 3;
}

body[data-page="home"] .hero-poster-main {
  min-height: 222px;
}

.hero-poster-side {
  grid-column: 2;
  grid-row: 1;
  min-height: 122px;
  transform: rotate(3deg);
  z-index: 2;
}

body[data-page="home"] .hero-poster-side {
  min-height: 104px;
}

.hero-poster-bottom {
  grid-column: 2;
  grid-row: 2;
  min-height: 108px;
  padding: 16px 18px 15px;
  transform: rotate(1deg);
  z-index: 1;
}

body[data-page="home"] .hero-poster-bottom {
  min-height: 78px;
  padding: 12px 12px 11px;
}

.hero-poster-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  background:
    linear-gradient(145deg, rgba(28, 25, 38, 0.98), rgba(15, 17, 24, 0.94)),
    radial-gradient(circle at top left, rgba(243, 209, 139, 0.22), transparent 52%);
}

.hero-poster-note span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 209, 139, 0.86);
}

.hero-poster-note strong {
  font-size: 0.96rem;
  line-height: 1.15;
  color: #fff8ef;
}

.hero-poster-note p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(241, 232, 222, 0.72);
}

.card-label,
.news-card span,
.album-card span,
.shop-card span,
.activity-card strong {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-card h2,
.feature-card h3,
.news-card h3,
.album-card h3,
.timeline-item h3,
.activity-card h3,
.community-panel h3,
.shop-card h3,
.footer strong {
  margin: 12px 0 8px;
}

.feature-card h2,
.feature-card h3,
.section-heading h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.9rem);
  line-height: 0.98;
  text-wrap: balance;
}

body[data-page="home"] .feature-card h2 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

body[data-page="home"] .feature-card h3 {
  font-size: 1.08rem;
}

body[data-page="home"] .hero-stats div {
  padding: 16px 18px;
  min-height: 96px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(20, 24, 32, 0.96), rgba(9, 11, 16, 0.96));
  border-color: rgba(243, 209, 139, 0.14);
}

body[data-page="home"] .hero-stats dt {
  font-size: 0.72rem;
  margin-bottom: 6px;
}

body[data-page="home"] .hero-stats dd {
  font-size: 0.96rem;
}

.feature-card h3,
.news-card h3,
.album-card h3,
.timeline-item h3,
.activity-card h3,
.community-panel h3,
.shop-card h3 {
  font-size: 1.25rem;
}

.section {
  padding: 38px 0 18px;
}

.section-wash::before {
  content: "";
  position: absolute;
  inset: 8px auto auto -40px;
  width: min(36vw, 420px);
  height: 180px;
  background: radial-gradient(circle at left center, rgba(243, 209, 139, 0.12), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hero-banner span,
.preview-card span,
.notice-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-banner h2,
.preview-card h3,
.notice-card h3 {
  margin: 0;
}

.hero-banner p,
.preview-card p,
.notice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.banner-home {
  background:
    linear-gradient(130deg, rgba(233, 204, 195, 0.7), rgba(255, 250, 245, 0.92)),
    var(--surface);
}

.banner-profile {
  background:
    linear-gradient(130deg, rgba(227, 214, 198, 0.72), rgba(255, 250, 244, 0.94)),
    var(--surface);
}

.banner-albums {
  background:
    linear-gradient(130deg, rgba(232, 209, 214, 0.72), rgba(255, 250, 252, 0.94)),
    var(--surface);
}

.banner-works {
  background:
    linear-gradient(130deg, rgba(203, 221, 231, 0.74), rgba(247, 252, 255, 0.94)),
    var(--surface);
}

.banner-community {
  background:
    linear-gradient(130deg, rgba(235, 222, 187, 0.72), rgba(255, 251, 244, 0.94)),
    var(--surface);
}

.visual-mosaic,
.visual-board,
.photo-strip,
.merch-grid,
.mini-gallery,
.showcase-grid,
.album-line-grid {
  display: grid;
  gap: 18px;
}

.visual-mosaic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mosaic-card,
.board-card,
.photo-card,
.merch-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 240px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.mosaic-card.tall {
  grid-row: span 2;
}

.mosaic-card.wide,
.board-card.wide {
  grid-column: span 2;
}

.mosaic-card img,
.board-card img,
.photo-card img,
.merch-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.mosaic-card figcaption,
.board-card figcaption,
.merch-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 19, 15, 0.82) 100%);
  color: #fff;
}

.mosaic-card figcaption strong,
.mosaic-card figcaption span,
.board-card figcaption strong,
.board-card figcaption span,
.merch-card figcaption strong,
.merch-card figcaption span {
  display: block;
}

.mosaic-card figcaption span,
.board-card figcaption span,
.merch-card figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.photo-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  min-height: 252px;
}

.photo-card figcaption {
  padding: 14px 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.visual-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-gallery-card {
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.86);
  box-shadow: var(--shadow);
}

.mini-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.mini-gallery-card figcaption {
  padding-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.album-line-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.album-line-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 280px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.88);
  box-shadow: var(--shadow);
}

.album-line-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.album-line-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 19, 15, 0.82) 100%);
  color: #fff;
}

.album-line-card figcaption strong,
.album-line-card figcaption span {
  display: block;
}

.album-line-card figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.showcase-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.88);
  box-shadow: var(--shadow);
}

.showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.showcase-card div {
  padding: 22px;
}

.showcase-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-card h3 {
  margin: 0 0 8px;
}

.showcase-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.split {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.split > * {
  min-width: 0;
}

.section-heading h2 {
  font-size: var(--title-section);
  line-height: 0.98;
  text-wrap: balance;
}

.section-intro {
  max-width: 520px;
  margin: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.profile-jump-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.profile-jump-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(243, 209, 139, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(19, 22, 30, 0.96), rgba(10, 12, 18, 0.96));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease;
}

.profile-jump-link:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 209, 139, 0.28);
}

.profile-jump-link span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.profile-jump-link strong {
  font-size: 1rem;
  line-height: 1.2;
}

.overview-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(20, 24, 32, 0.96), rgba(9, 11, 16, 0.96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.overview-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: #f3d18b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overview-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.2;
}

.overview-card p {
  margin: 0;
  color: rgba(243, 241, 236, 0.78);
  line-height: 1.65;
  font-size: var(--text-small);
}

.news-grid,
.activity-grid,
.shop-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-entry-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-map {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.home-map-main,
.home-map-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.home-map-side .detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-spotlight-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  min-height: 168px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
  position: relative;
  overflow: hidden;
}

.category-card::before,
.hero-banner::after,
.news-card::after,
.activity-card::after,
.community-panel::after,
.profile-card::after,
.history-card::after,
.works-panel::after,
.keyword-card::after,
.table-card::after,
.notice-card::after,
.showcase-card::after,
.page-nav-card::after,
.route-card::after,
.highlight-card::after,
.preview-card::after,
.album-entry::after,
.shop-card::after,
.mosaic-card::after,
.board-card::after,
.photo-card::after,
.merch-card::after,
.mini-gallery-card::after,
.album-line-card::after,
.gallery-card::after,
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.035);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  pointer-events: none;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.8;
}

.category-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: var(--text-small);
}

.category-card:hover,
.highlight-card:hover,
.route-card:hover,
.page-nav-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.52);
  border-color: rgba(243, 209, 139, 0.24);
}

body[data-page="home"] .category-card,
body[data-page="home"] .route-card,
body[data-page="home"] .news-card {
  border-color: rgba(243, 209, 139, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(20, 24, 32, 0.96), rgba(9, 11, 16, 0.96));
}

body[data-page="home"] .category-card h3,
body[data-page="home"] .route-card h3,
body[data-page="home"] .news-card h3 {
  color: #fff8ef;
}

body[data-page="home"] .category-card p,
body[data-page="home"] .route-card p,
body[data-page="home"] .news-card p {
  color: rgba(243, 241, 236, 0.72);
}

.home-spotlight-card {
  min-height: 220px;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(22, 26, 36, 0.98), rgba(8, 10, 15, 0.98));
  border-color: rgba(243, 209, 139, 0.14);
}

.home-spotlight-card.primary {
  min-height: 256px;
  background:
    linear-gradient(135deg, rgba(243, 209, 139, 0.16), rgba(22, 26, 36, 0.92) 46%, rgba(8, 10, 15, 0.98)),
    linear-gradient(150deg, rgba(22, 26, 36, 0.98), rgba(8, 10, 15, 0.98));
}

.shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(243, 209, 139, 0.24);
  background:
    radial-gradient(circle at top, rgba(243, 209, 139, 0.24), rgba(243, 209, 139, 0.04) 58%, transparent 100%),
    rgba(255, 255, 255, 0.03);
  color: #f3d18b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.shortcut-icon svg {
  width: 18px;
  height: 18px;
}

.home-chip-grid {
  display: grid;
  gap: 8px;
}

.home-chip-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(15, 18, 24, 0.92);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-chip-link h3 {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #fff8ef;
}

.home-chip-link:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 209, 139, 0.26);
  background:
    linear-gradient(180deg, rgba(243, 209, 139, 0.08), rgba(243, 209, 139, 0.02)),
    rgba(15, 18, 24, 0.96);
}

body[data-page="profile"] .overview-grid,
body[data-page="albums"] .overview-grid,
body[data-page="works"] .overview-grid,
body[data-page="dramas"] .overview-grid,
body[data-page="movies"] .overview-grid,
body[data-page="ost"] .overview-grid,
body[data-page="awards"] .overview-grid,
body[data-page="uaena"] .overview-grid,
body[data-page="chants"] .overview-grid,
body[data-page="concerts"] .overview-grid,
body[data-page="community"] .overview-grid {
  margin-bottom: 20px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.album-card,
.activity-card,
.shop-card,
.community-panel,
.profile-card,
.history-card,
.works-panel,
.keyword-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.news-card,
.activity-card,
.community-panel,
.profile-card,
.history-card,
.works-panel,
.keyword-card,
.table-card,
.notice-card,
.showcase-card,
.page-nav-card,
.route-card,
.highlight-card,
.preview-card,
.album-entry,
.shop-card,
.hero-banner,
.mosaic-card,
.board-card,
.photo-card,
.merch-card,
.mini-gallery-card,
.album-line-card,
.gallery-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--surface);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.hero-banner:hover,
.news-card:hover,
.activity-card:hover,
.community-panel:hover,
.profile-card:hover,
.history-card:hover,
.works-panel:hover,
.keyword-card:hover,
.table-card:hover,
.notice-card:hover,
.showcase-card:hover,
.album-entry:hover,
.shop-card:hover,
.mosaic-card:hover,
.board-card:hover,
.photo-card:hover,
.merch-card:hover,
.mini-gallery-card:hover,
.album-line-card:hover,
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.48);
  border-color: rgba(243, 209, 139, 0.24);
}

.hero,
.page-intro,
.section {
  position: relative;
}

.hero::after,
.page-intro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(180px, 22vw);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.highlight-strip,
.route-grid,
.page-nav,
.preview-grid,
.notice-grid {
  display: grid;
  gap: 18px;
}

.highlight-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card,
.route-card,
.page-nav-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
  min-height: 200px;
}

.highlight-card span,
.route-card span,
.page-nav-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highlight-card h3,
.route-card h3,
.page-nav-card h3 {
  margin: 0 0 8px;
}

.highlight-card p,
.route-card p,
.page-nav-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body[data-page="home"] .route-card {
  min-height: 210px;
}

.preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-card,
.notice-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.preview-card {
  min-height: 240px;
}

.preview-profile {
  background:
    linear-gradient(180deg, rgba(236, 227, 215, 0.9), rgba(255, 252, 247, 0.92));
}

.preview-albums {
  background:
    linear-gradient(180deg, rgba(245, 213, 196, 0.88), rgba(255, 250, 245, 0.92));
}

.preview-works {
  background:
    linear-gradient(180deg, rgba(212, 230, 240, 0.88), rgba(248, 252, 255, 0.92));
}

.preview-community {
  background:
    linear-gradient(180deg, rgba(235, 222, 187, 0.88), rgba(255, 251, 244, 0.92));
}

.route-card a,
.page-nav-card.next {
  color: var(--text);
}

.route-card a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.95rem;
}

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

.page-nav-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 236, 227, 0.9));
}

.page-nav-card.next {
  background:
    linear-gradient(160deg, rgba(154, 183, 201, 0.24), rgba(255, 250, 244, 0.94));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.profile-grid,
.history-grid,
.keyword-grid,
.table-like-grid {
  display: grid;
  gap: 18px;
}

.profile-visual-layout {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.profile-fact-chip {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(155deg, rgba(21, 24, 32, 0.96), rgba(9, 11, 16, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.profile-fact-chip p {
  margin: 0;
  color: rgba(243, 241, 236, 0.82);
  line-height: 1.6;
  font-size: 0.94rem;
}

.profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-spotlight {
  display: grid;
  grid-template-columns: minmax(240px, var(--media-column)) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(243, 209, 139, 0.14);
  background:
    radial-gradient(circle at top left, rgba(243, 209, 139, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(22, 24, 32, 0.98), rgba(10, 12, 18, 0.98));
  box-shadow: var(--shadow);
}

.profile-spotlight-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.04);
}

.profile-spotlight-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.profile-spotlight-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-spotlight-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.3vw, 2.3rem);
  line-height: 1.02;
  color: var(--text);
}

.profile-spotlight-copy p {
  margin: 0;
  color: rgba(243, 241, 236, 0.82);
  line-height: 1.75;
}

.profile-spotlight-copy .link-list {
  margin-top: 16px;
}

.profile-card,
.history-card,
.works-panel,
.keyword-card,
.table-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body[data-page="profile"] .profile-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, rgba(18, 21, 29, 0.96), rgba(10, 12, 17, 0.96));
  border-color: rgba(243, 209, 139, 0.14);
}

body[data-page="profile"] .profile-card h3,
body[data-page="profile"] .summary-copy h3,
body[data-page="profile"] .summary-copy p,
body[data-page="profile"] .profile-list dd,
body[data-page="profile"] .summary-stats strong {
  color: var(--text);
}

.profile-card.wide {
  grid-column: span 3;
}

.profile-list,
.album-meta {
  display: grid;
  gap: 10px;
}

.profile-list div,
.album-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

body[data-page="profile"] .profile-list div {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(243, 209, 139, 0.12);
}

.profile-list dt,
.album-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

body[data-page="profile"] .profile-list dt,
body[data-page="profile"] .summary-copy p,
body[data-page="profile"] .profile-points {
  color: rgba(243, 241, 236, 0.78);
}

.profile-list dd,
.album-meta dd {
  margin: 0;
  font-weight: 700;
}

.profile-points {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.profile-points.compact li + li {
  margin-top: 4px;
}

.summary-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(154, 183, 201, 0.18), rgba(255, 250, 244, 0.92));
}

body[data-page="profile"] .summary-band {
  border-color: rgba(243, 209, 139, 0.18);
  background:
    radial-gradient(circle at top left, rgba(243, 209, 139, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(28, 25, 38, 0.98), rgba(12, 14, 20, 0.98));
}

.summary-copy h3 {
  margin-top: 0;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

body[data-page="profile"] .summary-stats div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(243, 209, 139, 0.14);
}

.summary-stats span,
.era-strip span,
.milestone-item span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.source-note {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.album-filter-panel {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 18px 22px;
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 247, 0.82);
  box-shadow: var(--shadow);
}

.album-search-field {
  display: grid;
  gap: 10px;
}

.album-search-field span,
.album-filter-title {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.album-search-field input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(8, 9, 11, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: #17181d;
}

.album-search-field input::placeholder {
  color: #7b7872;
}

.album-filter-meta {
  display: grid;
  align-content: start;
  gap: 8px;
}

.album-filter-meta strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #17181d;
}

.album-filter-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.album-filter-chip {
  padding: 11px 16px;
  border: 1px solid rgba(8, 9, 11, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #35363d;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.album-filter-chip.is-active {
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.3), rgba(243, 209, 139, 0.12));
  color: #17181d;
  transform: translateY(-1px);
}

.album-archive {
  display: grid;
  gap: 22px;
}

.album-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.album-jump-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
}

.album-entry {
  display: grid;
  grid-template-columns: minmax(240px, var(--media-column-wide)) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 251, 247, 0.86);
  box-shadow: var(--shadow);
}

.album-entry.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(240px, var(--media-column-wide));
}

.album-entry.reverse img {
  order: 2;
}

.album-entry.reverse .album-copy {
  order: 1;
}

.album-entry img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.album-cover-fallback {
  display: grid;
  align-content: end;
  gap: 10px;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(243, 209, 139, 0.24), transparent 42%),
    linear-gradient(155deg, rgba(67, 85, 110, 0.82), rgba(14, 17, 26, 0.96));
}

.album-cover-fallback span,
.album-cover-fallback strong,
.album-cover-fallback em {
  display: block;
}

.album-cover-fallback span {
  margin: 0;
  color: rgba(243, 241, 236, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-cover-fallback strong {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.album-cover-fallback em {
  color: rgba(243, 241, 236, 0.86);
  font-style: normal;
}

.album-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-copy h3 {
  margin: 0 0 10px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.album-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 18px;
}

.album-tracks {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.album-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.album-action-button {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
}

.album-meta-action-card {
  display: grid;
  gap: 10px;
}

.album-meta-button {
  width: 100%;
  margin: 0;
}

body.is-layer-open {
  overflow: hidden;
}

.album-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.album-layer.is-open {
  display: block;
}

.album-layer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(10px);
}

.album-layer-panel {
  position: relative;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 24px;
  border: 1px solid rgba(243, 209, 139, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.98), rgba(10, 12, 18, 0.98));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4);
}

.album-layer-close {
  display: inline-flex;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid rgba(243, 209, 139, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.album-layer-scroll {
  margin-top: 16px;
  overflow-y: auto;
  max-height: calc(100vh - 150px);
  padding-right: 6px;
}

.album-layer-header {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.album-layer-body {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.album-layer-header img,
.album-layer-header .album-cover-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
}

.album-layer-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: #f3d18b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-layer-copy h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.album-layer-copy p {
  margin: 0 0 18px;
  color: rgba(243, 241, 236, 0.8);
  line-height: 1.75;
}

.album-layer-track-list,
.album-layer-lyric-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(243, 241, 236, 0.82);
  line-height: 1.78;
}

.album-layer-track-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.album-layer-track-list {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.album-layer-track-list li + li,
.album-layer-lyric-list li + li {
  margin-top: 5px;
}

.album-layer-track-list li + li {
  margin-top: 0;
}

.album-layer-track-list li {
  margin: 0;
}

.album-track-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(243, 241, 236, 0.84);
  text-align: left;
  cursor: pointer;
}

.album-track-button.is-active {
  border-color: rgba(243, 209, 139, 0.28);
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.18), rgba(243, 209, 139, 0.08));
  color: var(--text);
}

.album-track-number,
.album-track-arrow {
  color: rgba(243, 209, 139, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.album-track-name {
  min-width: 0;
}

.album-track-detail {
  padding: 18px;
  border: 1px solid rgba(243, 209, 139, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.97), rgba(10, 12, 18, 0.97));
}

.album-track-detail-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #f3d18b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-track-detail h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.15rem;
}

.album-track-detail p {
  margin: 0;
  color: rgba(243, 241, 236, 0.82);
  line-height: 1.72;
}

.album-track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.album-track-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(243, 209, 139, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.88rem;
}

.album-layer-lyric-list strong {
  color: var(--text);
}

.album-layer-lyric-list p {
  margin: 4px 0 0;
}

.album-lyrics-notice {
  margin: 18px 0 0;
  color: rgba(243, 241, 236, 0.56);
  font-size: 0.88rem;
  line-height: 1.65;
}

.album-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--text);
  color: #fff;
  font-size: 0.92rem;
}

body[data-page="albums"] .source-note,
body[data-page="albums"] .album-tracks,
body[data-page="albums"] .highlight-card p,
body[data-page="albums"] .showcase-card p {
  color: rgba(243, 241, 236, 0.8);
}

body[data-page="albums"] .album-filter-panel,
body[data-page="albums"] .album-entry,
body[data-page="albums"] .highlight-card,
body[data-page="albums"] .showcase-card {
  border-color: rgba(243, 209, 139, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.97), rgba(10, 12, 18, 0.97));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="albums"] .album-filter-title,
body[data-page="albums"] .album-search-field span,
body[data-page="albums"] .album-copy span,
body[data-page="albums"] .highlight-card span,
body[data-page="albums"] .showcase-card span {
  color: #f3d18b;
}

body[data-page="albums"] .album-filter-meta strong,
body[data-page="albums"] .album-copy h3,
body[data-page="albums"] .highlight-card h3,
body[data-page="albums"] .showcase-card h3 {
  color: var(--text);
}

body[data-page="albums"] .album-search-field input {
  border-color: rgba(243, 209, 139, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

body[data-page="albums"] .album-search-field input::placeholder {
  color: rgba(243, 241, 236, 0.48);
}

body[data-page="albums"] .album-filter-chip,
body[data-page="albums"] .album-jump-list button,
body[data-page="albums"] .album-meta div,
body[data-page="albums"] .album-meta-action-card,
body[data-page="albums"] .album-action-button,
body[data-page="albums"] .album-layer-close {
  border-color: rgba(243, 209, 139, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(243, 241, 236, 0.82);
}

body[data-page="albums"] .album-filter-chip.is-active {
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.24), rgba(243, 209, 139, 0.1));
  color: var(--text);
}

body[data-page="albums"] .album-meta dt {
  color: rgba(243, 241, 236, 0.6);
}

body[data-page="albums"] .album-meta dd {
  color: var(--text);
}

body[data-page="albums"] .album-entry img,
body[data-page="albums"] .album-cover-fallback,
body[data-page="albums"] .showcase-card img {
  border-color: rgba(243, 209, 139, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="albums"] .album-link {
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.24), rgba(243, 209, 139, 0.1));
  border-color: rgba(243, 209, 139, 0.24);
  color: var(--text);
}

body[data-page="profile"] .profile-grid {
  gap: 16px;
}

body[data-page="profile"] #profile-summary {
  padding-bottom: 8px;
}

body[data-page="profile"] #profile-summary .section-heading {
  gap: 12px;
  margin-bottom: 8px;
}

body[data-page="profile"] .pill-tabs {
  gap: 8px;
}

body[data-page="profile"] .pill-tab {
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(243, 209, 139, 0.14);
  color: rgba(243, 241, 236, 0.72);
}

body[data-page="profile"] .pill-tab.is-active {
  background: linear-gradient(180deg, rgba(243, 209, 139, 0.24), rgba(243, 209, 139, 0.1));
  border-color: rgba(243, 209, 139, 0.28);
  color: var(--text);
}

body[data-page="profile"] .profile-tab-panel {
  padding-top: 10px;
}

body[data-page="profile"] .section[id] {
  scroll-margin-top: 120px;
}

body[data-page="profile"] .summary-band {
  grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.72fr);
  gap: 16px;
  padding: 20px;
}

body[data-page="profile"] .summary-copy p {
  max-width: 40ch;
}

body[data-page="profile"] .profile-spotlight {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

body[data-page="profile"] .profile-spotlight-copy h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

body[data-page="profile"] .profile-spotlight-copy p,
body[data-page="profile"] .profile-spotlight-copy .link-list {
  max-width: 60ch;
}

body[data-page="profile"] .profile-spotlight-figure {
  aspect-ratio: 7 / 10;
}

body[data-page="profile"] .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="profile"] .profile-card,
body[data-page="profile"] .keyword-card,
body[data-page="profile"] .summary-band,
body[data-page="profile"] .profile-list div,
body[data-page="profile"] .profile-fact-chip,
body[data-page="profile"] .profile-spotlight,
body[data-page="profile"] .profile-spotlight-figure,
body[data-page="profile"] .gallery-card,
body[data-page="profile"] .era-strip div,
body[data-page="profile"] .milestone-item,
body[data-page="profile"] .timeline {
  border: none;
  box-shadow: none;
}

body[data-page="profile"] .timeline-item {
  border-top: none;
  border-bottom: none;
}

body[data-page="profile"] .profile-card::after,
body[data-page="profile"] .keyword-card::after,
body[data-page="profile"] .gallery-card::after {
  content: none;
}

body[data-page="profile"] .gallery-card {
  aspect-ratio: 7 / 10;
  min-height: 0;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(14, 17, 24, 0.96);
}

body[data-page="profile"] .gallery-card img {
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

body[data-page="albums"] .album-line-grid {
  gap: 14px;
}

body[data-page="albums"] .album-line-card {
  min-height: 248px;
  aspect-ratio: 4 / 5;
}

body[data-page="albums"] .album-line-card img {
  min-height: 0;
}

body[data-page="albums"] .showcase-grid {
  gap: 16px;
}

body[data-page="albums"] .showcase-card img {
  aspect-ratio: 5 / 4;
}

body[data-page="albums"] .showcase-card div {
  padding: 18px;
}

body[data-page="albums"] .album-entry {
  gap: 20px;
  padding: 20px;
  border: none;
}

body[data-page="albums"] .album-filter-panel {
  border: none;
}

body[data-page="albums"] main > .section:first-child {
  border: none;
  box-shadow: none;
}

body[data-page="albums"] main > .section {
  border: none;
  box-shadow: none;
}

body[data-page="albums"] main *,
body[data-page="albums"] main *::before,
body[data-page="albums"] main *::after {
  border-color: transparent !important;
}

body[data-page="albums"] .album-entry,
body[data-page="albums"] .album-entry img,
body[data-page="albums"] .album-cover-fallback,
body[data-page="albums"] .album-line-card,
body[data-page="albums"] .highlight-card,
body[data-page="albums"] .showcase-card {
  border: none;
  box-shadow: none;
}

body[data-page="albums"] .album-entry img,
body[data-page="albums"] .album-cover-fallback,
body[data-page="albums"] .album-line-card,
body[data-page="albums"] .showcase-card {
  border: none;
}

body[data-page="albums"] .album-filter-panel,
body[data-page="albums"] .showcase-card,
body[data-page="albums"] .album-entry {
  box-shadow: none;
}

body[data-page="albums"] .showcase-card::after,
body[data-page="albums"] .highlight-card::after,
body[data-page="albums"] .album-entry::after,
body[data-page="albums"] .album-line-card::after {
  content: none;
}

body[data-page="albums"] .album-entry img,
body[data-page="albums"] .album-cover-fallback {
  aspect-ratio: 1 / 1;
}

body[data-page="albums"] .album-copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

body[data-page="albums"] .album-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="profile"] .profile-card {
  min-height: 100%;
}

body[data-page="profile"] .profile-jump-link,
body[data-page="profile"] .profile-fact-chip {
  min-height: 100%;
}

body[data-page="concerts"] .highlight-strip,
body[data-page="works"] .highlight-strip {
  gap: 16px;
}

body[data-page="concerts"] .highlight-card,
body[data-page="works"] .highlight-card {
  min-height: 176px;
  padding: 20px;
}

body[data-page="concerts"] .highlight-card {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.98), rgba(10, 12, 18, 0.98));
  border-color: rgba(243, 209, 139, 0.16);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="concerts"] .highlight-card span {
  color: #f3d18b;
  font-size: 0.88rem;
}

body[data-page="concerts"] .highlight-card h3 {
  color: #fff8ef;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

body[data-page="concerts"] .highlight-card p {
  color: rgba(243, 241, 236, 0.9);
  font-size: 1rem;
  line-height: 1.75;
}

body[data-page="concerts"] .table-grid,
body[data-page="works"] .table-grid {
  gap: 16px;
}

body[data-page="concerts"] .table-card,
body[data-page="works"] .table-card {
  padding: 20px;
}

body[data-page="concerts"] .table-card {
  padding: 24px;
}

body[data-page="concerts"] .table-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

body[data-page="concerts"] .gallery-grid,
body[data-page="works"] .gallery-grid,
body[data-page="profile"] .gallery-grid {
  gap: 16px;
}

body[data-page="concerts"] .gallery-card,
body[data-page="works"] .gallery-card,
body[data-page="profile"] .gallery-card {
  min-height: 200px;
}

body[data-page="concerts"] .gallery-card img,
body[data-page="works"] .gallery-card img,
body[data-page="profile"] .gallery-card img {
  min-height: 200px;
}

body[data-page="works"] .works-hub-card,
body[data-page="works"] .activity-card {
  min-height: 200px;
}

body[data-page="works"] .works-poster-card {
  border-color: rgba(243, 209, 139, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.97), rgba(10, 12, 18, 0.97));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="works"] .works-poster-card img,
body[data-page="works"] .works-poster-fallback,
body[data-page="dramas"] .works-poster-card img,
body[data-page="dramas"] .works-poster-fallback {
  border-color: rgba(243, 209, 139, 0.12);
  background-color: rgba(255, 255, 255, 0.04);
}

body[data-page="works"] .works-poster-copy span,
body[data-page="dramas"] .works-poster-copy span {
  color: #f3d18b;
}

body[data-page="works"] .works-poster-copy h3,
body[data-page="works"] .works-poster-role,
body[data-page="dramas"] .works-poster-copy h3,
body[data-page="dramas"] .works-poster-role {
  color: var(--text);
}

body[data-page="works"] .works-poster-copy p,
body[data-page="dramas"] .works-poster-copy p {
  color: rgba(243, 241, 236, 0.8);
}

body[data-page="dramas"] .works-poster-card {
  border-color: rgba(243, 209, 139, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.97), rgba(10, 12, 18, 0.97));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="works"] .works-layout,
body[data-page="concerts"] .works-layout {
  gap: 16px;
}

.glow-coral {
  background:
    linear-gradient(180deg, rgba(233, 204, 195, 0.92), rgba(255, 251, 247, 0.9));
}

.glow-gold {
  background:
    linear-gradient(180deg, rgba(235, 222, 187, 0.92), rgba(255, 251, 244, 0.9));
}

.glow-blue {
  background:
    linear-gradient(180deg, rgba(203, 221, 231, 0.94), rgba(250, 252, 255, 0.88));
}

.glow-peach {
  background:
    linear-gradient(180deg, rgba(245, 213, 196, 0.9), rgba(255, 250, 245, 0.92));
}

.glow-sky {
  background:
    linear-gradient(180deg, rgba(212, 230, 240, 0.94), rgba(247, 252, 255, 0.88));
}

.glow-rose {
  background:
    linear-gradient(180deg, rgba(232, 209, 214, 0.94), rgba(255, 250, 252, 0.9));
}

.glow-mint {
  background:
    linear-gradient(180deg, rgba(218, 235, 224, 0.94), rgba(250, 255, 252, 0.9));
}

.glow-ivory {
  background:
    linear-gradient(180deg, rgba(236, 227, 215, 0.94), rgba(255, 251, 246, 0.9));
}

.glow-latte {
  background:
    linear-gradient(180deg, rgba(227, 214, 198, 0.94), rgba(255, 251, 247, 0.9));
}

.story-section {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 19, 15, 0.82) 100%);
  color: #fff;
}

.gallery-card figcaption strong,
.gallery-card figcaption span {
  display: block;
}

.gallery-card figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
}

.era-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.era-strip div,
.milestone-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 28px rgba(58, 42, 32, 0.06);
}

.era-strip strong {
  display: block;
  margin-top: 8px;
}

body[data-page="profile"] .era-strip div {
  border-color: rgba(243, 209, 139, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(14, 17, 24, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

body[data-page="profile"] .era-strip span {
  color: #f3d18b;
}

body[data-page="profile"] .era-strip strong {
  color: #fff8ef;
  font-size: 1rem;
  line-height: 1.45;
}

.history-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table-like-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.history-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 18px;
  padding: 10px 0 0;
  border-radius: 28px;
  border: 1px solid rgba(243, 209, 139, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    linear-gradient(155deg, rgba(19, 22, 30, 0.94), rgba(9, 11, 16, 0.94));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 24px;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.year {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pill-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  cursor: pointer;
}

.pill-tab.is-active {
  background: var(--text);
  color: #fff;
}

.activity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-card {
  min-height: 220px;
}

.activity-card.is-hidden {
  display: none;
}

.community-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.works-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.works-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.works-hub-card {
  min-height: 240px;
}

.filmography-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.works-poster-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.works-poster-media,
.works-poster-card img,
.works-poster-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid var(--line);
}

.works-poster-media {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.04);
}

.works-poster-card img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.works-poster-fallback {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(243, 209, 139, 0.24), transparent 42%),
    linear-gradient(155deg, rgba(67, 85, 110, 0.82), rgba(14, 17, 26, 0.96));
}

.works-poster-media .works-poster-fallback {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.works-poster-media.is-image-missing .works-poster-fallback {
  opacity: 1;
}

.works-poster-fallback span,
.works-poster-fallback strong {
  display: block;
}

.works-poster-fallback span {
  color: rgba(243, 241, 236, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.works-poster-fallback strong {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

.works-poster-copy {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.works-poster-copy span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.works-poster-copy h3 {
  margin: 0;
}

.works-poster-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.works-poster-role {
  color: var(--text) !important;
  font-weight: 700;
}

.screen-gallery-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-gallery-grid .gallery-card {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.screen-gallery-grid .gallery-card img {
  min-height: 0;
}

.table-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.table-card h3 {
  margin: 0 0 8px;
}

.table-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.milestone-list {
  display: grid;
  gap: 14px;
}

.milestone-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
}

.milestone-item h3 {
  margin: 0 0 8px;
}

.milestone-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.milestone-list-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.milestone-list-featured .milestone-item {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, rgba(27, 31, 43, 0.98), rgba(11, 13, 19, 0.98));
  border: 1px solid rgba(243, 209, 139, 0.18);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.milestone-list-featured .milestone-item span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(243, 209, 139, 0.12);
  border: 1px solid rgba(243, 209, 139, 0.22);
  color: #f6ddb0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
}

.milestone-list-featured .milestone-item h3 {
  margin: 0 0 10px;
  color: #fff8ed;
}

.milestone-list-featured .milestone-item p {
  color: rgba(243, 241, 236, 0.84);
}

body[data-page="profile"] .milestone-item {
  border-color: rgba(243, 209, 139, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(22, 24, 34, 0.97), rgba(10, 12, 18, 0.97));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="profile"] .milestone-item span {
  color: #f3d18b;
}

body[data-page="profile"] .milestone-item h3 {
  color: var(--text);
}

body[data-page="profile"] .milestone-item p {
  color: rgba(243, 241, 236, 0.8);
}

body[data-page="works"] .milestone-item,
body[data-page="concerts"] .milestone-item,
body[data-page="awards"] .milestone-item,
body[data-page="uaena"] .milestone-item,
body[data-page="chants"] .milestone-item,
body[data-page="dramas"] .milestone-item,
body[data-page="movies"] .milestone-item,
body[data-page="ost"] .milestone-item,
body[data-page="works"] .award-year,
body[data-page="awards"] .award-year,
body[data-page="uaena"] .award-year,
body[data-page="chants"] .award-year,
body[data-page="works"] .table-card,
body[data-page="concerts"] .table-card,
body[data-page="awards"] .table-card,
body[data-page="uaena"] .table-card,
body[data-page="chants"] .table-card,
body[data-page="dramas"] .highlight-card,
body[data-page="movies"] .highlight-card,
body[data-page="ost"] .highlight-card,
body[data-page="dramas"] .works-panel,
body[data-page="movies"] .works-panel,
body[data-page="ost"] .works-panel,
body[data-page="works"] .showcase-card,
body[data-page="concerts"] .works-panel,
body[data-page="awards"] .highlight-card,
body[data-page="uaena"] .highlight-card,
body[data-page="chants"] .highlight-card,
body[data-page="awards"] .works-panel,
body[data-page="uaena"] .works-panel,
body[data-page="chants"] .works-panel {
  border-color: rgba(243, 209, 139, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.97), rgba(10, 12, 18, 0.97));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="works"] .milestone-item span,
body[data-page="concerts"] .milestone-item span,
body[data-page="awards"] .milestone-item span,
body[data-page="uaena"] .milestone-item span,
body[data-page="chants"] .milestone-item span,
body[data-page="dramas"] .milestone-item span,
body[data-page="movies"] .milestone-item span,
body[data-page="ost"] .milestone-item span,
body[data-page="works"] .award-year span,
body[data-page="awards"] .award-year span,
body[data-page="uaena"] .award-year span,
body[data-page="chants"] .award-year span,
body[data-page="works"] .table-card span,
body[data-page="concerts"] .table-card span,
body[data-page="awards"] .table-card span,
body[data-page="uaena"] .table-card span,
body[data-page="chants"] .table-card span,
body[data-page="dramas"] .highlight-card span,
body[data-page="movies"] .highlight-card span,
body[data-page="ost"] .highlight-card span,
body[data-page="dramas"] .works-panel h3,
body[data-page="movies"] .works-panel h3,
body[data-page="ost"] .works-panel h3,
body[data-page="works"] .showcase-card span,
body[data-page="concerts"] .works-panel h3,
body[data-page="awards"] .highlight-card span,
body[data-page="uaena"] .highlight-card span,
body[data-page="chants"] .highlight-card span,
body[data-page="uaena"] .works-panel h3,
body[data-page="chants"] .works-panel h3 {
  color: #f3d18b;
}

body[data-page="works"] .milestone-item h3,
body[data-page="concerts"] .milestone-item h3,
body[data-page="awards"] .milestone-item h3,
body[data-page="uaena"] .milestone-item h3,
body[data-page="chants"] .milestone-item h3,
body[data-page="dramas"] .milestone-item h3,
body[data-page="movies"] .milestone-item h3,
body[data-page="ost"] .milestone-item h3,
body[data-page="works"] .award-year h3,
body[data-page="awards"] .award-year h3,
body[data-page="uaena"] .award-year h3,
body[data-page="chants"] .award-year h3,
body[data-page="works"] .table-card h3,
body[data-page="concerts"] .table-card h3,
body[data-page="awards"] .table-card h3,
body[data-page="uaena"] .table-card h3,
body[data-page="chants"] .table-card h3,
body[data-page="dramas"] .highlight-card h3,
body[data-page="movies"] .highlight-card h3,
body[data-page="ost"] .highlight-card h3,
body[data-page="dramas"] .works-panel li,
body[data-page="movies"] .works-panel li,
body[data-page="ost"] .works-panel li,
body[data-page="works"] .showcase-card h3,
body[data-page="concerts"] .works-panel li,
body[data-page="awards"] .highlight-card h3,
body[data-page="uaena"] .highlight-card h3,
body[data-page="chants"] .highlight-card h3,
body[data-page="uaena"] .works-panel li,
body[data-page="chants"] .works-panel li,
body[data-page="awards"] .source-note,
body[data-page="works"] .source-note,
body[data-page="concerts"] .source-note {
  color: var(--text);
}

body[data-page="works"] .milestone-item p,
body[data-page="concerts"] .milestone-item p,
body[data-page="awards"] .milestone-item p,
body[data-page="uaena"] .milestone-item p,
body[data-page="chants"] .milestone-item p,
body[data-page="dramas"] .milestone-item p,
body[data-page="movies"] .milestone-item p,
body[data-page="ost"] .milestone-item p,
body[data-page="works"] .award-year p,
body[data-page="awards"] .award-year p,
body[data-page="uaena"] .award-year p,
body[data-page="chants"] .award-year p,
body[data-page="works"] .table-card p,
body[data-page="concerts"] .table-card p,
body[data-page="awards"] .table-card p,
body[data-page="uaena"] .table-card p,
body[data-page="chants"] .table-card p,
body[data-page="dramas"] .highlight-card p,
body[data-page="movies"] .highlight-card p,
body[data-page="ost"] .highlight-card p,
body[data-page="dramas"] .works-panel p,
body[data-page="movies"] .works-panel p,
body[data-page="ost"] .works-panel p,
body[data-page="dramas"] .works-panel ul,
body[data-page="movies"] .works-panel ul,
body[data-page="ost"] .works-panel ul,
body[data-page="works"] .showcase-card p,
body[data-page="awards"] .highlight-card p,
body[data-page="uaena"] .highlight-card p,
body[data-page="chants"] .highlight-card p,
body[data-page="concerts"] .works-panel p,
body[data-page="concerts"] .works-panel ul,
body[data-page="awards"] .works-panel ul,
body[data-page="uaena"] .works-panel ul,
body[data-page="chants"] .works-panel ul,
body[data-page="works"] .section-intro,
body[data-page="awards"] .section-intro,
body[data-page="concerts"] .section-intro {
  color: rgba(243, 241, 236, 0.8);
}

body[data-page="dramas"] .highlight-strip,
body[data-page="movies"] .highlight-strip,
body[data-page="ost"] .highlight-strip,
body[data-page="awards"] .highlight-strip {
  align-items: stretch;
}

body[data-page="dramas"] .highlight-card,
body[data-page="movies"] .highlight-card,
body[data-page="ost"] .highlight-card,
body[data-page="awards"] .highlight-card,
body[data-page="uaena"] .highlight-card,
body[data-page="chants"] .highlight-card {
  min-height: 200px;
}

body[data-page="dramas"] .works-panel,
body[data-page="movies"] .works-panel,
body[data-page="ost"] .works-panel {
  min-height: 100%;
}

body[data-page="dramas"] .milestone-list,
body[data-page="movies"] .milestone-list,
body[data-page="ost"] .milestone-list,
body[data-page="awards"] .milestone-list,
body[data-page="uaena"] .milestone-list,
body[data-page="chants"] .milestone-list {
  gap: 16px;
}

body[data-page="dramas"] .milestone-item,
body[data-page="movies"] .milestone-item,
body[data-page="ost"] .milestone-item,
body[data-page="awards"] .milestone-item,
body[data-page="uaena"] .milestone-item,
body[data-page="chants"] .milestone-item {
  grid-template-columns: 130px 1fr;
  min-height: 148px;
}

body[data-page="awards"] .table-card,
body[data-page="uaena"] .table-card,
body[data-page="chants"] .table-card,
body[data-page="awards"] .works-panel,
body[data-page="uaena"] .works-panel,
body[data-page="chants"] .works-panel,
body[data-page="awards"] .award-year,
body[data-page="uaena"] .award-year {
  min-height: 100%;
}

body[data-page="uaena"] .section-intro {
  color: rgba(243, 241, 236, 0.8);
}

body[data-page="uaena"] main {
  gap: 10px;
}

body[data-page="uaena"] .section {
  padding: 34px 0 12px;
}

body[data-page="uaena"] main > .section:first-child {
  padding-top: 44px;
}

body[data-page="uaena"] main > .section {
  border: none;
  box-shadow: none;
}

body[data-page="uaena"] main *,
body[data-page="uaena"] main *::before,
body[data-page="uaena"] main *::after {
  border-color: transparent !important;
}

body[data-page="uaena"] .section-heading {
  margin-bottom: 20px;
}

body[data-page="uaena"] .eyebrow {
  margin-bottom: 8px;
  color: #e1e429;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

body[data-page="uaena"] .section-heading h2 {
  color: #fff8ef;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(2.15rem, 3.1vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: balance;
}

body[data-page="uaena"] .highlight-strip,
body[data-page="uaena"] .works-layout,
body[data-page="uaena"] .table-like-grid,
body[data-page="uaena"] .award-timeline,
body[data-page="uaena"] .milestone-list,
body[data-page="uaena"] .screen-gallery-grid {
  gap: 16px;
  min-width: 0;
}

body[data-page="uaena"] .highlight-card,
body[data-page="uaena"] .works-panel,
body[data-page="uaena"] .table-card,
body[data-page="uaena"] .award-year,
body[data-page="uaena"] .milestone-item {
  min-width: 0;
  border: none;
  border-radius: 8px;
  box-shadow: none;
}

body[data-page="uaena"] .gallery-card {
  border: none;
  box-shadow: none;
}

body[data-page="uaena"] .highlight-card::after,
body[data-page="uaena"] .works-panel::after,
body[data-page="uaena"] .table-card::after,
body[data-page="uaena"] .award-year::after,
body[data-page="uaena"] .milestone-item::after,
body[data-page="uaena"] .gallery-card::after {
  content: none;
}

body[data-page="uaena"] .highlight-card,
body[data-page="uaena"] .works-panel,
body[data-page="uaena"] .table-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}

body[data-page="uaena"] .highlight-card {
  min-height: 168px;
}

body[data-page="uaena"] .highlight-card span,
body[data-page="uaena"] .table-card span,
body[data-page="uaena"] .award-year span,
body[data-page="uaena"] .milestone-item span {
  margin-bottom: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
}

body[data-page="uaena"] .highlight-card h3,
body[data-page="uaena"] .works-panel h3,
body[data-page="uaena"] .table-card h3,
body[data-page="uaena"] .award-year h3,
body[data-page="uaena"] .milestone-item h3 {
  margin: 0 0 10px;
  color: #fff8ef;
  font-size: 1.12rem;
  line-height: 1.32;
}

body[data-page="uaena"] .highlight-card p,
body[data-page="uaena"] .works-panel p,
body[data-page="uaena"] .works-panel ul,
body[data-page="uaena"] .table-card p,
body[data-page="uaena"] .award-year p,
body[data-page="uaena"] .milestone-item p {
  color: rgba(243, 241, 236, 0.82);
  font-size: 0.96rem;
  line-height: 1.72;
}

body[data-page="uaena"] .works-panel ul {
  margin: 0;
  padding-left: 1.15rem;
}

body[data-page="uaena"] .works-panel li + li {
  margin-top: 6px;
}

body[data-page="uaena"] .table-card {
  min-height: 176px;
}

body[data-page="uaena"] .award-year,
body[data-page="uaena"] .milestone-item {
  padding: 20px 22px;
}

body[data-page="uaena"] .gallery-card figcaption {
  background: linear-gradient(180deg, rgba(8, 9, 11, 0), rgba(8, 9, 11, 0.86));
}

body[data-page="chants"] .section-intro {
  color: rgba(243, 241, 236, 0.8);
}

body[data-page="chants"] main {
  gap: 8px;
}

body[data-page="chants"] .section {
  padding: 30px 0 10px;
}

body[data-page="chants"] main > .section:first-child {
  padding-top: 42px;
}

body[data-page="chants"] .section::after {
  width: min(120px, 18vw);
  opacity: 0.72;
}

body[data-page="chants"] .section-heading {
  margin-bottom: 18px;
}

body[data-page="chants"] .eyebrow {
  margin-bottom: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

body[data-page="chants"] .section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

body[data-page="chants"] .highlight-strip,
body[data-page="chants"] .works-layout,
body[data-page="chants"] .detail-grid,
body[data-page="chants"] .table-like-grid {
  gap: 14px;
  min-width: 0;
}

body[data-page="chants"] .highlight-card,
body[data-page="chants"] .works-panel,
body[data-page="chants"] .category-card,
body[data-page="chants"] .table-card {
  border-color: transparent;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  min-width: 0;
}

body[data-page="chants"] .highlight-card,
body[data-page="chants"] .category-card,
body[data-page="chants"] .table-card {
  padding: 20px;
}

body[data-page="chants"] .works-panel {
  padding: 22px 24px;
}

body[data-page="chants"] .highlight-card {
  min-height: 160px;
}

body[data-page="chants"] .category-card {
  min-height: 148px;
}

body[data-page="chants"] .table-card {
  min-height: 172px;
}

body[data-page="chants"] .highlight-card span,
body[data-page="chants"] .category-card span,
body[data-page="chants"] .table-card span {
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

body[data-page="chants"] .highlight-card h3,
body[data-page="chants"] .category-card h3,
body[data-page="chants"] .table-card h3,
body[data-page="chants"] .works-panel h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.28;
}

body[data-page="chants"] .highlight-card p,
body[data-page="chants"] .category-card p,
body[data-page="chants"] .table-card p,
body[data-page="chants"] .section-intro {
  font-size: 0.94rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

body[data-page="chants"] .section-intro {
  max-width: 780px;
  margin: -4px 0 18px;
}

body[data-page="chants"] .works-panel ul {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  line-height: 1.7;
}

body[data-page="chants"] .works-panel li {
  padding-left: 0.15rem;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

body[data-page="chants"] .source-note {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
}

body[data-page="chants"] .fanchant-detail-button {
  width: 100%;
  margin-top: 16px;
}

body[data-page="chants"] .fanchant-layer .album-layer-panel {
  width: min(860px, calc(100vw - 32px));
}

body[data-page="chants"] .fanchant-layer-copy h3 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.fanchant-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fanchant-detail-panel,
.fanchant-source-box {
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(15, 18, 24, 0.78);
}

.fanchant-detail-panel span {
  display: inline-block;
  margin-bottom: 8px;
  color: #f3d18b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.fanchant-detail-panel h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.28;
}

.fanchant-detail-panel ol {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(243, 241, 236, 0.82);
  font-size: 0.94rem;
  line-height: 1.68;
}

.fanchant-detail-panel li + li {
  margin-top: 8px;
}

.fanchant-cue-list {
  display: grid;
  gap: 10px;
}

.fanchant-cue-list article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.fanchant-cue-list strong {
  color: #fff8ef;
  font-size: 0.92rem;
}

.fanchant-cue-list p {
  margin: 0;
  color: rgba(243, 241, 236, 0.84);
  font-size: 0.94rem;
  line-height: 1.55;
}

.fanchant-cue-list em {
  color: rgba(243, 241, 236, 0.62);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.55;
}

.fanchant-source-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.fanchant-source-box strong {
  color: var(--text);
  font-size: 1rem;
}

.fanchant-source-box p {
  margin: 0;
  color: rgba(243, 241, 236, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.fanchant-source-box a {
  display: inline-flex;
  justify-content: center;
  justify-self: start;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 209, 139, 0.18);
  background: rgba(243, 209, 139, 0.1);
  color: var(--text);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  body[data-page="chants"] .section {
    padding: 24px 0 8px;
  }

  body[data-page="chants"] main > .section:first-child {
    padding-top: 34px;
  }

  body[data-page="chants"] .section-heading {
    margin-bottom: 14px;
  }

  body[data-page="chants"] .section-heading h2 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  body[data-page="chants"] .highlight-card,
  body[data-page="chants"] .category-card,
  body[data-page="chants"] .table-card {
    min-height: 0;
    padding: 18px;
  }

  body[data-page="chants"] .works-panel {
    padding: 18px;
  }

  .fanchant-detail-grid {
    grid-template-columns: 1fr;
  }

  .fanchant-detail-panel,
  .fanchant-source-box {
    padding: 18px;
  }
}

body[data-page="chants"] .highlight-card::after,
body[data-page="chants"] .works-panel::after,
body[data-page="chants"] .category-card::after,
body[data-page="chants"] .table-card::after {
  display: none;
}

.glow-lime {
  border-color: rgba(225, 228, 41, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, rgba(25, 29, 12, 0.96), rgba(12, 14, 8, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

.glow-rose {
  border-color: rgba(201, 178, 223, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, rgba(27, 18, 34, 0.96), rgba(12, 10, 20, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

body[data-page="uaena"] .highlight-card span,
body[data-page="uaena"] .page-kicker span:first-child,
body[data-page="uaena"] .page-badge {
  color: #e1e429;
}

.keyword-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.award-timeline {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.award-year {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(58, 42, 32, 0.06);
}

.award-year span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.award-year h3 {
  margin: 0 0 8px;
}

.award-year p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.community-panel.highlight {
  background:
    linear-gradient(160deg, rgba(154, 183, 201, 0.3), rgba(255, 250, 244, 0.92));
}

.link-list,
.route-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notice-card {
  background: rgba(255, 252, 247, 0.9);
}

.notice-card.accent {
  background:
    linear-gradient(160deg, rgba(154, 183, 201, 0.24), rgba(255, 250, 244, 0.94));
}

.notice-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

body[data-page="community"] main {
  gap: 10px;
}

body[data-page="community"] .section {
  padding: 34px 0 12px;
}

body[data-page="community"] main > .section:first-child {
  padding-top: 44px;
}

body[data-page="community"] .section-heading {
  margin-bottom: 20px;
}

body[data-page="community"] .eyebrow {
  margin-bottom: 8px;
  color: #f3d18b;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

body[data-page="community"] .section-heading h2 {
  color: #fff8ef;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.16;
  text-wrap: balance;
}

body[data-page="community"] .community-layout,
body[data-page="community"] .works-layout,
body[data-page="community"] .notice-grid,
body[data-page="community"] .shop-grid,
body[data-page="community"] .keyword-grid {
  gap: 16px;
  align-items: stretch;
}

body[data-page="community"] .news-overview-section {
  padding-top: clamp(44px, 7vh, 76px);
}

.news-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-summary-item {
  min-width: 0;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.news-summary-item:last-child {
  border-right: 0;
}

.news-summary-item span,
.news-activity-item > span {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.news-summary-item strong {
  display: block;
  margin: 10px 0 6px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.news-summary-item p,
.news-section-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.news-section-note {
  max-width: 420px;
  align-self: end;
  font-size: 0.86rem;
  text-align: right;
}

.news-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.news-article-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-article-card:nth-child(2n) {
  border-right: 0;
}

.news-article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.75rem;
}

.news-article-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-article-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.news-article-card h3 a,
.news-activity-item h3 a {
  color: inherit;
  text-decoration: none;
}

.news-article-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-read-link {
  width: fit-content;
  margin-top: auto;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.news-activity-list {
  border-top: 1px solid var(--line);
}

.news-activity-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.news-activity-item div > p:first-child {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.news-activity-item h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.news-activity-item div > p:last-child {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .news-summary-grid,
  .news-article-grid {
    grid-template-columns: 1fr;
  }

  .news-summary-item,
  .news-article-card,
  .news-article-card:nth-child(2n) {
    border-right: 0;
  }

  .news-summary-item:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .news-section-note {
    text-align: left;
  }

  .news-activity-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

body[data-page="community"] .community-panel,
body[data-page="community"] .community-panel.highlight,
body[data-page="community"] .works-panel,
body[data-page="community"] .notice-card,
body[data-page="community"] .notice-card.accent,
body[data-page="community"] .shop-card,
body[data-page="community"] .keyword-card {
  border-color: rgba(243, 209, 139, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    linear-gradient(150deg, rgba(21, 24, 33, 0.97), rgba(10, 12, 18, 0.98));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

body[data-page="community"] .community-panel,
body[data-page="community"] .works-panel,
body[data-page="community"] .notice-card,
body[data-page="community"] .shop-card,
body[data-page="community"] .keyword-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
}

body[data-page="community"] .shop-card {
  justify-content: flex-start;
  min-height: 180px;
}

body[data-page="community"] .community-panel h3,
body[data-page="community"] .works-panel h3,
body[data-page="community"] .notice-card h3,
body[data-page="community"] .shop-card h3,
body[data-page="community"] .keyword-card h3 {
  margin: 0 0 14px;
  color: #fff8ef;
  font-size: 1.16rem;
  line-height: 1.3;
}

body[data-page="community"] .notice-card span,
body[data-page="community"] .shop-card span {
  margin-bottom: 10px;
  color: #f3d18b;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
}

body[data-page="community"] .shop-card strong {
  margin-top: auto;
  color: rgba(243, 209, 139, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

body[data-page="community"] .link-list,
body[data-page="community"] .route-list,
body[data-page="community"] .notice-list,
body[data-page="community"] .works-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(243, 241, 236, 0.84);
  font-size: 0.96rem;
  line-height: 1.8;
}

body[data-page="community"] .link-list li + li,
body[data-page="community"] .route-list li + li,
body[data-page="community"] .notice-list li + li,
body[data-page="community"] .works-panel li + li {
  margin-top: 6px;
}

body[data-page="community"] .notice-card p,
body[data-page="community"] .shop-card p,
body[data-page="community"] .keyword-card p {
  margin: 0;
  color: rgba(243, 241, 236, 0.82);
  font-size: 0.96rem;
  line-height: 1.72;
}

body[data-page="community"] .keyword-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="community"] .keyword-card {
  min-height: 132px;
}

.shop-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 234, 224, 0.92));
}

.promo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.38)),
    linear-gradient(140deg, rgba(243, 209, 139, 0.2), rgba(255, 255, 255, 0.02));
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 209, 139, 0.14), transparent 70%);
}

.promo-card strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243, 209, 139, 0.24);
  color: var(--accent);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}

.promo-card-featured {
  transform: translateY(-18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.42)),
    linear-gradient(145deg, rgba(115, 82, 177, 0.28), rgba(243, 209, 139, 0.18));
}

body[data-page="community"] .shop-card {
  justify-content: flex-start;
  min-height: 180px;
  transform: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 0;
  padding: 32px 0 72px;
  border-top: 1px solid var(--line);
}

.footer-note {
  max-width: 360px;
  text-align: right;
}

.mobile-nav {
  position: fixed;
  top: 84px;
  right: 10px;
  z-index: 30;
  display: grid;
  gap: 8px;
  min-width: 200px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(14, 17, 24, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero,
  .news-grid,
  .activity-grid,
  .shop-grid,
  .community-layout,
  .profile-grid,
  .history-grid,
  .keyword-grid,
  .table-like-grid,
  .works-layout,
  .highlight-strip,
  .route-grid,
  .page-nav,
  .overview-grid,
  .preview-grid,
  .notice-grid,
  .visual-board,
  .merch-grid,
  .mini-gallery,
  .showcase-grid,
  .works-hub-grid,
  .filmography-poster-grid,
  .detail-grid,
  .home-entry-grid,
  .home-primary-grid,
  .home-map,
  .album-line-grid,
  .table-grid,
  .category-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-jump-grid,
  .profile-fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-mosaic,
  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-banner {
    grid-template-columns: 1fr;
  }

  .profile-spotlight {
    grid-template-columns: 1fr;
  }

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

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .home-hero-panel,
  .home-map {
    grid-template-columns: 1fr;
  }

  .home-hero-panel {
    min-height: auto;
  }

  .home-hero-feature {
    min-height: 420px;
  }

  .home-hero-mini {
    aspect-ratio: 3 / 2;
  }

  .hero-badge {
    right: 0;
    font-size: clamp(6rem, 22vw, 10rem);
  }

  .hero-poster-stack {
    width: min(100%, 340px);
  }

  .hero-poster-main {
    min-height: 236px;
  }

  .hero-poster-side {
    min-height: 116px;
  }

  .hero-poster-bottom {
    min-height: 92px;
  }

  .page-intro {
    min-height: 300px;
  }

  .page-badge {
    font-size: clamp(4.2rem, 14vw, 7rem);
  }

  .promo-card-featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .home-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 0;
  }

  body[data-page="home"] .hero-copy {
    max-width: none;
    width: 100%;
    padding: 0;
    align-self: start;
  }

  body[data-page="home"] .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 0.94;
  }

  body[data-page="home"] .hero h1 span {
    margin-top: 10px;
    font-size: 0.36em;
    line-height: 1.26;
    max-width: 24ch;
  }

  body[data-page="home"] .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: none;
  }

  body[data-page="home"] .hero-stats div {
    min-height: 0;
    padding: 14px 10px;
  }

  body[data-page="home"] .hero-panel,
  body[data-page="home"] .home-hero-panel {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    gap: 12px;
    width: 100%;
  }

  body[data-page="home"] .home-hero-feature {
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }

  body[data-page="home"] .home-hero-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  body[data-page="home"] .home-hero-mini {
    aspect-ratio: 4 / 4.6;
    min-height: 0;
  }

  body[data-page="home"] .home-primary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="home"] .home-primary-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .shortcut-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .shortcut-icon svg {
    width: 16px;
    height: 16px;
  }

  .home-archive-links {
    gap: 8px;
    padding: 8px;
  }

  body[data-page="profile"] .pill-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  body[data-page="profile"] .pill-tabs::-webkit-scrollbar {
    display: none;
  }

  body[data-page="profile"] .pill-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .home-archive-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-chip-link {
    min-height: 46px;
    padding: 6px 8px;
    gap: 6px;
  }

  .home-chip-link h3 {
    font-size: 0.76rem;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-bottom: 120px;
  }

  .topbar {
    border-radius: 28px;
    padding: 16px;
  }

  .main-nav,
  .cta-link {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .language-picker {
    margin-left: auto;
  }

  .language-picker + .menu-toggle {
    margin-left: 0;
  }

  .language-picker select {
    width: 96px;
  }

  .hero,
  .news-grid,
  .activity-grid,
  .shop-grid,
  .community-layout,
  .profile-grid,
  .history-grid,
  .keyword-grid,
  .table-like-grid,
  .works-layout,
  .highlight-strip,
  .route-grid,
  .page-nav,
  .overview-grid,
  .preview-grid,
  .notice-grid,
  .visual-board,
  .merch-grid,
  .mini-gallery,
  .showcase-grid,
  .works-hub-grid,
  .filmography-poster-grid,
  .screen-gallery-grid,
  .detail-grid,
  .home-entry-grid,
  .home-map,
  .home-primary-grid,
  .home-hero-panel,
  .album-line-grid,
  .category-grid,
  .gallery-grid,
  .profile-jump-grid,
  .profile-fact-strip,
  .hero-stats,
  .milestone-list-featured {
    grid-template-columns: 1fr;
  }

  .album-filter-panel {
    grid-template-columns: 1fr;
  }

  .visual-mosaic,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .mosaic-card.tall,
  .mosaic-card.wide,
  .board-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .summary-band,
  .era-strip,
  .summary-stats,
  .milestone-item,
  .award-year {
    grid-template-columns: 1fr;
  }

  .gallery-card.tall,
  .gallery-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .profile-spotlight-figure,
  .profile-spotlight-figure img {
    min-height: 320px;
  }

  .profile-card.wide {
    grid-column: span 1;
  }

  .split,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 24px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 6px;
  }

  body[data-page="home"] .topbar {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    display: none;
  }

  .brand-logo-mark {
    display: block;
    width: 46px;
    height: 46px;
  }

  .hero-panel {
    padding-bottom: 0;
  }

  body[data-page="home"] .hero-panel {
    gap: 12px;
    grid-template-rows: auto;
  }

  .home-hero-feature,
  .home-primary-card {
    min-height: 0;
    aspect-ratio: 4 / 3.2;
  }

  .home-hero-mini {
    aspect-ratio: 4 / 3.1;
  }

  body[data-page="profile"] .summary-band {
    padding: 16px;
    gap: 12px;
  }

  body[data-page="profile"] .profile-card,
  body[data-page="profile"] .profile-fact-chip {
    padding: 16px;
  }

  .hero-poster-stack {
    width: 100%;
    max-width: 360px;
    margin-top: 6px;
  }

  body[data-page="home"] .hero-poster-stack {
    margin-top: 2px;
  }

  .hero-poster-main {
    min-height: 188px;
  }

  body[data-page="home"] .hero-poster-main {
    min-height: 176px;
  }

  .hero-poster-side {
    min-height: 96px;
  }

  body[data-page="home"] .hero-poster-side {
    min-height: 88px;
  }

  .hero-poster-bottom {
    min-height: 78px;
  }

  body[data-page="home"] .hero-poster-bottom {
    min-height: 66px;
  }

  .page-intro {
    min-height: 250px;
    padding: 42px 0 8px;
  }

  .page-intro h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .page-kicker {
    gap: 8px;
    margin-bottom: 12px;
  }

  .page-kicker span {
    padding: 6px 10px;
    font-size: 0.84rem;
  }

  .page-badge {
    right: -4px;
    bottom: 16px;
    font-size: clamp(3.2rem, 16vw, 5.4rem);
  }

  body[data-page="uaena"] .page-intro {
    overflow: hidden;
  }

  body[data-page="uaena"] .page-badge {
    right: 10px;
    bottom: 14px;
    font-size: clamp(2.2rem, 11vw, 3.6rem);
    opacity: 0.6;
  }

  .hero-banner,
  .feature-card,
  .highlight-card,
  .route-card,
  .preview-card,
  .page-nav-card,
  .profile-card,
  .history-card,
  .works-panel,
  .keyword-card,
  .notice-card,
  .showcase-card,
  .album-entry,
  .shop-card,
  .community-panel {
    padding: 20px;
    border-radius: 16px;
  }

  body[data-page="home"] .feature-card {
    padding: 18px;
  }

  body[data-page="home"] .feature-card-lg {
    min-height: 184px;
  }

  body[data-page="home"] .feature-card:not(.feature-card-lg) {
    min-height: 118px;
  }

  .hero-banner h2,
  .section-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .section {
    padding: 30px 0 12px;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-intro,
  .hero-text,
  .page-intro p:last-child {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  body[data-page="home"] .hero-stats {
    gap: 10px;
    max-width: none;
  }

  body[data-page="home"] .hero-stats div {
    padding: 13px;
  }

  body[data-page="home"] .home-map-main,
  body[data-page="home"] .home-map-side {
    padding: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .album-entry,
  .album-entry.reverse {
    grid-template-columns: 1fr;
  }

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

  .album-entry.reverse img,
  .album-entry.reverse .album-copy {
    order: initial;
  }

  .album-meta {
    grid-template-columns: 1fr;
  }

  .album-layer-panel {
    width: min(960px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 18px;
  }

  .album-layer-scroll {
    max-height: calc(100vh - 110px);
  }

  .album-layer-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .album-layer-track-layout {
    grid-template-columns: 1fr;
  }

  .album-jump-list {
    gap: 8px;
  }

  .album-jump-list button {
    font-size: 0.84rem;
    padding: 8px 12px;
  }

  .mosaic-card,
  .board-card,
  .photo-card,
  .merch-card,
  .album-line-card,
  .gallery-card {
    min-height: 220px;
  }

  .mosaic-card img,
  .board-card img,
  .photo-card img,
  .merch-card img,
  .album-line-card img,
  .gallery-card img {
    min-height: 220px;
  }

  .screen-gallery-grid .gallery-card {
    aspect-ratio: auto;
  }

  .screen-gallery-grid .gallery-card img {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

body[data-page="uaena"] .gallery-card figcaption {
  padding: 12px;
}

body[data-page="uaena"] .gallery-card figcaption strong {
  font-size: 0.98rem;
}

body[data-page="uaena"] .gallery-card figcaption span {
  font-size: 0.8rem;
  line-height: 1.55;
}

body[data-page="uaena"] .screen-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="uaena"] .screen-gallery-grid .gallery-card {
  aspect-ratio: 1 / 1.18;
}

  body[data-page="uaena"] .works-panel p a {
    word-break: keep-all;
  }

  .photo-card {
    min-height: 240px;
  }

  .photo-card img {
    min-height: 240px;
  }

  .mobile-nav {
    top: 84px;
    right: 10px;
    left: 10px;
    min-width: 0;
  }

  .mobile-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .footer-note {
    text-align: left;
  }

  .hero-badge {
    right: -6px;
    bottom: 36px;
    font-size: 5.4rem;
  }

  body[data-page="home"] .home-entry-grid.home-chip-grid,
  body[data-page="home"] .detail-grid.home-chip-grid,
  body[data-page="home"] .home-archive-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body[data-page="home"] .home-archive-chip-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-chip-link h3 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 860px) {
  body[data-page="uaena"] .page-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  body[data-page="uaena"] main,
  body[data-page="uaena"] .section,
  body[data-page="uaena"] .section-heading {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="uaena"] .highlight-strip,
  body[data-page="uaena"] .works-layout,
  body[data-page="uaena"] .table-like-grid,
  body[data-page="uaena"] .award-timeline,
  body[data-page="uaena"] .milestone-list,
  body[data-page="uaena"] .screen-gallery-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  body[data-page="uaena"] .section {
    padding: 26px 0 8px;
  }

  body[data-page="uaena"] main > .section:first-child {
    padding-top: 34px;
  }

  body[data-page="uaena"] .section-heading {
    margin-bottom: 14px;
  }

  body[data-page="uaena"] .section-heading h2 {
    max-width: 10em;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.24;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  body[data-page="uaena"] .highlight-card,
  body[data-page="uaena"] .works-panel,
  body[data-page="uaena"] .table-card,
  body[data-page="uaena"] .award-year,
  body[data-page="uaena"] .milestone-item {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 18px;
  }

  body[data-page="uaena"] .award-year,
  body[data-page="uaena"] .milestone-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body[data-page="uaena"] .highlight-card p,
  body[data-page="uaena"] .works-panel li,
  body[data-page="uaena"] .works-panel p,
  body[data-page="uaena"] .table-card p,
  body[data-page="uaena"] .award-year p,
  body[data-page="uaena"] .milestone-item p,
  body[data-page="uaena"] .gallery-card figcaption span {
    font-size: 0.94rem;
    line-height: 1.72;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  body[data-page="uaena"] .screen-gallery-grid .gallery-card {
    aspect-ratio: 1 / 1.15;
  }
}

@media (max-width: 860px) {
  body[data-page="chants"] .page-shell {
    width: min(calc(100% - 40px), var(--max-width));
  }

  body[data-page="chants"] main,
  body[data-page="chants"] .section,
  body[data-page="chants"] .section-heading,
  body[data-page="chants"] .section-intro {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="chants"] .highlight-strip,
  body[data-page="chants"] .works-layout,
  body[data-page="chants"] .detail-grid,
  body[data-page="chants"] .table-like-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  body[data-page="chants"] .highlight-card,
  body[data-page="chants"] .works-panel,
  body[data-page="chants"] .category-card,
  body[data-page="chants"] .table-card {
    width: 100%;
    max-width: 100%;
  }

  body[data-page="chants"] .highlight-card p,
  body[data-page="chants"] .works-panel li,
  body[data-page="chants"] .category-card p,
  body[data-page="chants"] .table-card p,
  body[data-page="chants"] .source-note {
    word-break: break-all;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 860px) {
  body[data-page="community"] .page-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  body[data-page="community"] main,
  body[data-page="community"] .section,
  body[data-page="community"] .section-heading {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="community"] .community-layout,
  body[data-page="community"] .works-layout,
  body[data-page="community"] .notice-grid,
  body[data-page="community"] .shop-grid,
  body[data-page="community"] .keyword-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  body[data-page="community"] .section {
    padding: 26px 0 8px;
  }

  body[data-page="community"] main > .section:first-child {
    padding-top: 34px;
  }

  body[data-page="community"] .section-heading {
    margin-bottom: 14px;
  }

  body[data-page="community"] .section-heading h2 {
    max-width: 9.5em;
    font-size: clamp(1.95rem, 8vw, 2.35rem);
    line-height: 1.22;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  body[data-page="community"] .community-panel,
  body[data-page="community"] .works-panel,
  body[data-page="community"] .notice-card,
  body[data-page="community"] .shop-card,
  body[data-page="community"] .keyword-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 20px;
  }

  body[data-page="community"] .link-list,
  body[data-page="community"] .route-list,
  body[data-page="community"] .notice-list,
  body[data-page="community"] .works-panel ul,
  body[data-page="community"] .notice-card p,
  body[data-page="community"] .shop-card p,
  body[data-page="community"] .keyword-card p {
    word-break: break-all;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 860px) {
  body[data-page="profile"] .page-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  body[data-page="profile"] main,
  body[data-page="profile"] .section,
  body[data-page="profile"] .section-heading,
  body[data-page="profile"] .profile-visual-layout,
  body[data-page="profile"] .profile-spotlight,
  body[data-page="profile"] .gallery-grid {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="profile"] .profile-spotlight {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
  }

  body[data-page="profile"] .profile-spotlight-figure {
    width: min(100%, 280px);
    min-height: 0;
    margin: 0 auto;
    aspect-ratio: 7 / 10;
    border-radius: 10px;
  }

  body[data-page="profile"] .profile-spotlight-figure img {
    min-height: 0;
  }

  body[data-page="profile"] .profile-spotlight-copy {
    justify-content: flex-start;
  }

  body[data-page="profile"] .profile-spotlight-copy h3 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
    line-height: 1.22;
  }

  body[data-page="profile"] .profile-spotlight-copy p,
  body[data-page="profile"] .profile-spotlight-copy .link-list {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  body[data-page="profile"] .gallery-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 14px;
  }

  body[data-page="profile"] .gallery-card {
    width: min(100%, 280px);
    min-height: 0;
    margin: 0 auto;
    aspect-ratio: 7 / 10;
    border-radius: 10px;
  }

  body[data-page="profile"] .gallery-card img {
    min-height: 0;
  }
}
