:root {
  --header-height: 82px;
  --gold-1: #fff7bf;
  --gold-2: #ffe27a;
  --gold-3: #c89a2d;
  --bg-black: #030303;
  --shadow-strong: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.28);
  --panel-border: rgba(255, 225, 162, 0.20);
  --panel-border-strong: rgba(241, 197, 103, 0.42);
  --panel-line: rgba(255, 222, 146, 0.82);
  --panel-shell-bg:
    linear-gradient(155deg, rgba(255, 248, 227, 0.08) 0%, rgba(255, 223, 135, 0.03) 11%, rgba(10, 14, 24, 0.96) 24%, rgba(6, 8, 15, 0.94) 52%, rgba(12, 18, 31, 0.97) 76%, rgba(5, 7, 12, 0.98) 100%),
    radial-gradient(circle at 14% 18%, rgba(255, 226, 148, 0.11), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(141, 182, 255, 0.13), transparent 24%),
    radial-gradient(circle at 50% 118%, rgba(255, 206, 92, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 213, 111, 0.03) 100%);
  --panel-shell-shadow:
    0 28px 68px rgba(0, 0, 0, 0.42),
    0 0 40px rgba(95, 139, 225, 0.07),
    inset 0 1px 0 rgba(255, 248, 227, 0.10),
    inset 0 -1px 0 rgba(255, 214, 120, 0.05);
  --panel-inner-bg:
    linear-gradient(145deg, rgba(255, 249, 228, 0.06) 0%, rgba(255, 221, 130, 0.03) 16%, rgba(8, 11, 20, 0.95) 34%, rgba(6, 8, 14, 0.97) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 226, 148, 0.08), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(141, 182, 255, 0.10), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 210, 98, 0.05), transparent 30%);
  --panel-inner-shadow:
    inset 0 0 0 1px rgba(255, 240, 191, 0.15),
    inset 0 1px 0 rgba(255, 248, 228, 0.10),
    0 28px 52px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(99, 138, 214, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
}

body {
  position: relative;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
  background-color: #000;
  touch-action: pan-y;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(circle at 20% 16%, rgba(255, 214, 138, 0.07), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(255, 240, 191, 0.05), transparent 24%),
    url("./assets/image/top/background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.12)),
    radial-gradient(circle at 18% 22%, rgba(255, 225, 156, 0.04), transparent 20%),
    radial-gradient(circle at 72% 16%, rgba(255, 236, 189, 0.03), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.10), transparent 52%);
  pointer-events: none;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.46) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 217, 139, 0.06), transparent 20%),
    radial-gradient(circle at 82% 20%, rgba(255, 239, 197, 0.04), transparent 20%),
    url("./assets/image/top/background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 14%, transparent 82%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.16) 68%, rgba(0, 0, 0, 0.34) 100%);
  pointer-events: none;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen__inner {
  position: relative;
  z-index: 3;
  width: min(74vw, 660px);
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-logo-wrap {
  width: min(50vw, 50vh);
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(255, 221, 134, 0.10));
}

.loading-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(0.84);
  opacity: 0;
  animation: loadingLogoZoom 3s ease forwards;
}

.loading-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.14em;
  margin: 18px 0 0;
  min-height: 1.8em;
  font-family: "Cinzel", serif;
  font-size: clamp(15px, 1.35vw, 20px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 245, 212, 0.92);
  text-shadow:
    0 0 12px rgba(255, 232, 161, 0.26),
    0 0 26px rgba(255, 217, 108, 0.14),
    0 2px 6px rgba(0, 0, 0, 0.5);
}

.loading-copy .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: revealChar 0.55s ease forwards;
}

.loading-copy .char.space {
  width: 0.55em;
}

.loading-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 28%, rgba(0, 0, 0, 0.18) 66%, rgba(0, 0, 0, 0.48) 100%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.88) 42%, rgba(0, 0, 0, 0) 100%);
  box-shadow: none;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.88) 42%, rgba(0, 0, 0, 0) 100%);
  box-shadow: none;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.site-header__title {
  margin: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-family: "Cinzel", serif;
  font-size: clamp(22px, 2.6vw, 37px);
  line-height: 1;
  letter-spacing: clamp(0.08em, 0.2vw, 0.18em);
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 36%, #f4d061 58%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 2px rgba(255, 245, 184, 0.2),
    0 0 10px rgba(255, 210, 96, 0.22),
    0 0 20px rgba(255, 199, 80, 0.12),
    0 2px 14px rgba(0, 0, 0, 0.55);
}

.page-main {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

body.is-loading .site-header,
body.is-loading .page-main {
  visibility: hidden;
}

.hero {
  position: relative;
}

.hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(140px, 20vw, 320px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.10) 24%, rgba(0, 0, 0, 0.46) 62%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
}

.title-stage {
  position: relative;
  z-index: 1;
}

.title-stage__backdrop {
  position: relative;
  z-index: 1;
  height: clamp(180px, 22vw, 340px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 100%
  );
}

.title-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(-52px, -6vw, -96px);
  padding: 0;
  background: transparent;
}

.title-panel__image {
  width: min(50%, 680px);
  margin: 0 auto;
  transform: translateY(-25vw);
  filter:
    drop-shadow(0 0 20px rgba(255, 211, 92, 0.12))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.58));
}


.scroll-reveal {
  overflow: visible;
}

.scroll-reveal--title {
  opacity: 0;
  transform: translate3d(0, clamp(48px, 7vw, 92px), 0);
  filter: blur(10px);
  will-change: transform, opacity, filter;
  transition:
    transform 0.88s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.72s ease,
    filter 0.88s ease;
}

.scroll-reveal--title.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.scroll-reveal--header .scroll-reveal__item {
  opacity: 0;
  transform: translate3d(0, clamp(34px, 5vw, 72px), 0);
  filter: blur(8px);
  will-change: transform, opacity, filter;
  transition:
    transform 0.84s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.66s ease,
    filter 0.84s ease;
  transition-delay: calc(var(--reveal-order, 0) * 90ms);
}

.scroll-reveal--header.is-revealed .scroll-reveal__item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@keyframes loadingLogoZoom {
  0% {
    opacity: 0;
    transform: scale(0.84);
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealChar {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}




.story-stack {
  display: grid;
  gap: clamp(56px, 8vw, 92px);
}

.luxury-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  --marquee-item-gap: clamp(18px, 2.6vw, 30px);
  --marquee-frame-pad: 2px;
  --marquee-height: clamp(240px, 28vw, 380px);
  --marquee-duration: 54s;
  --marquee-slot-step: 9s;
}

.luxury-marquee::before,
.luxury-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 214, 120, 0), rgba(255, 214, 120, 0.30), rgba(255, 214, 120, 0));
  pointer-events: none;
  z-index: 4;
}

.luxury-marquee::before {
  top: 0;
}

.luxury-marquee::after {
  bottom: 0;
}

.luxury-marquee__shell {
  position: relative;
  padding: clamp(10px, 1.3vw, 16px) 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(8, 8, 8, 0.36) 48%, rgba(0, 0, 0, 0.14) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 201, 0.04),
    inset 0 -1px 0 rgba(255, 209, 105, 0.04);
  overflow: hidden;
}

.luxury-marquee__shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, transparent 26%, transparent 74%, rgba(255, 218, 125, 0.03) 100%),
    radial-gradient(circle at 18% 50%, rgba(255, 211, 98, 0.04), transparent 24%),
    radial-gradient(circle at 82% 50%, rgba(255, 211, 98, 0.04), transparent 24%);
  pointer-events: none;
  z-index: 2;
}

.luxury-marquee__viewport {
  position: relative;
  height: var(--marquee-height);
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
}

.luxury-marquee__viewport::before,
.luxury-marquee__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(18px, 7vw, 84px);
  pointer-events: none;
  z-index: 3;
}

.luxury-marquee__viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
}

.luxury-marquee__viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
}

.luxury-marquee__lane {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--marquee-item-gap);
  width: max-content;
  min-width: 100%;
  height: 100%;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  will-change: transform;
}

.luxury-marquee__group {
  display: flex;
  align-items: center;
  gap: var(--marquee-item-gap);
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  height: 100%;
}

.luxury-marquee__item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: var(--marquee-frame-pad);
  border: 1px solid rgba(232, 187, 77, 0.64);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 243, 199, 0.92) 0%, rgba(219, 171, 58, 0.94) 22%, rgba(123, 82, 16, 0.95) 74%, rgba(245, 214, 117, 0.9) 100%);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 245, 212, 0.22);
  opacity: 1;
}


.luxury-marquee__item::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 238, 191, 0.18);
  pointer-events: none;
}

.luxury-marquee__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.12)),
    #070707;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 222, 0.06);
}

.luxury-marquee__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 215, 112, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.luxury-marquee__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(82vw, 980px);
  max-height: calc(var(--marquee-height) - 10px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes marqueeTrackLeft {
  0% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(var(--marquee-loop-distance, 0px) * -1), 0, 0);
    -webkit-transform: translate3d(calc(var(--marquee-loop-distance, 0px) * -1), 0, 0);
  }
}

@keyframes marqueeTrackRight {
  0% {
    transform: translate3d(calc(var(--marquee-loop-distance, 0px) * -1), 0, 0);
    -webkit-transform: translate3d(calc(var(--marquee-loop-distance, 0px) * -1), 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
}

.story-section {
  position: relative;
  padding: 0;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.14) 52%, rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(circle at 18% 14%, rgba(255, 223, 145, 0.05), transparent 24%),
    radial-gradient(circle at 84% 36%, rgba(255, 232, 178, 0.03), transparent 26%);
  pointer-events: none;
}

.story-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
}

.story-slide {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.story-slide__header {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 38px);
  padding: 0 clamp(18px, 3vw, 26px);
}

.story-slide__eyebrow {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 236, 194, 0.68);
}

.story-slide__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6d4 0%, #ffd974 46%, #b8862b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255, 211, 102, 0.1);
}

.story-slide__lead {
  margin: 0;
  color: rgba(255, 248, 233, 0.86);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.story-card {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(32px, 4.4vw, 50px) clamp(34px, 5.6vw, 72px) clamp(36px, 4.8vw, 50px);
  border: 1px solid var(--panel-border);
  background: var(--panel-shell-bg);
  box-shadow: var(--panel-shell-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.story-card,
.contents-showcase,
.riddle-showcase,
.site-footer__card {
  isolation: isolate;
}

.story-card::selection,
.contents-showcase::selection,
.riddle-showcase::selection,
.site-footer__card::selection {
  background: rgba(255, 225, 154, 0.22);
}

.story-card::before,
.story-card::after {
  content: "";
  position: absolute;
  left: clamp(18px, 3vw, 26px);
  right: clamp(18px, 3vw, 26px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 219, 132, 0), var(--panel-line), rgba(255, 219, 132, 0));
}

.story-card::before {
  top: 14px;
}

.story-card::after {
  bottom: 14px;
}

.story-card__halo {
  position: absolute;
  inset: auto auto 24px 26px;
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  background:
    radial-gradient(circle, rgba(255, 214, 115, 0.14) 0%, rgba(255, 214, 115, 0) 68%),
    radial-gradient(circle at 62% 36%, rgba(139, 181, 255, 0.10), rgba(139, 181, 255, 0) 58%);
  pointer-events: none;
}

.story-card__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-family: "Cinzel", serif;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 236, 194, 0.68);
  text-align: center;
}

.story-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  background: linear-gradient(180deg, #fff6d4 0%, #ffd974 46%, #b8862b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255, 211, 102, 0.1);
  text-align: center;
}

.story-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.story-card__copy p {
  margin: 0;
  color: rgba(255, 251, 240, 0.94);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 2.05;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.story-card__lead-text {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #fff6dc;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal--title,
  .scroll-reveal--header .scroll-reveal__item {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .luxury-marquee__lane {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    animation: none !important;
    -webkit-animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
  }

  .luxury-marquee__item {
    opacity: 1;
    animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
  }
}
@media (min-width: 901px) {
  .contents-showcase {
    --content-visual-max-height: max(260px, calc(100vh - var(--header-height) - 240px));
    --character-visual-max-height: max(260px, calc(100vh - var(--header-height) - 190px));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .loading-copy {
    letter-spacing: 0.16em;
  }

  .title-stage__backdrop {
    height: clamp(120px, 24vw, 220px);
  }

  .title-panel {
    margin-top: clamp(-44px, -8vw, -72px);
  }

  .title-panel__image {
    width: min(58%, 560px);
  }

  .story-section__inner {
    width: 100%;
  }

  .luxury-marquee {
    --marquee-height: clamp(220px, 34vw, 330px);
    --marquee-duration: 54s;
    --marquee-slot-step: 9s;
  }

  .luxury-marquee__media img {
    max-width: min(86vw, 820px);
  }

  .story-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .loading-screen__inner {
    width: min(88vw, 520px);
    padding: 30px 18px 22px;
  }

  .loading-copy {
    margin-top: 15px;
    gap: 0.12em;
    font-size: clamp(13px, 3.2vw, 15px);
    letter-spacing: 0.12em;
  }

  .site-header__title {
    font-size: clamp(12px, 3.5vw, 16px);
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
  }

  .hero__shade {
    height: clamp(92px, 24vw, 150px);
  }

  .title-stage__backdrop {
    height: clamp(96px, 26vw, 168px);
  }

  .title-panel {
    margin-top: clamp(-34px, -7.2vw, -56px);
    padding-bottom: 0;
  }

  .title-panel__image {
    width: min(68%, 420px);
  }

  .story-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .story-stack {
    gap: 44px;
  }

  .luxury-marquee {
    --marquee-item-gap: 34px;
    --marquee-height: clamp(236px, 62vw, 320px);
    --marquee-duration: 60s;
    --marquee-slot-step: 10s;
    --marquee-frame-pad: 2px;
  }

  .luxury-marquee__shell {
    padding: 8px 0;
  }

  .luxury-marquee__viewport::before,
  .luxury-marquee__viewport::after {
    width: 24px;
  }

  .luxury-marquee__media img {
    max-width: min(92vw, 520px);
    max-height: calc(var(--marquee-height) - 6px);
  }

  .story-card {
    width: 100%;
    padding: 30px 24px 32px;
  }

  .story-card__title {
    margin-bottom: 18px;
  }

  .story-card__copy {
    gap: 14px;
  }

  .story-card__copy p {
    font-size: 14px;
    line-height: 1.95;
  }

  .story-card__lead-text {
    font-size: 18px;
  }
}


/* marquee stability + mobile rendering fix */
.luxury-marquee.is-marquee-ready .luxury-marquee__lane {
  animation: none !important;
  -webkit-animation: none !important;
}

.luxury-marquee__viewport {
  contain: layout style;
}

.luxury-marquee__lane {
  overflow: visible;
  flex-wrap: nowrap;
}

.luxury-marquee__group {
  flex-wrap: nowrap;
}

.luxury-marquee__viewport,
.luxury-marquee__lane {
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

@media (max-width: 900px) {
  .luxury-marquee {
    --marquee-item-gap: 20px;
  }
}

@media (max-width: 640px) {
  .luxury-marquee {
    --marquee-item-gap: 14px;
    --marquee-height: clamp(236px, 62vw, 320px);
  }
}
/* marquee boundary fix */
.luxury-marquee__lane {
  gap: 0 !important;
  column-gap: 0 !important;
  flex-wrap: nowrap;
}

.luxury-marquee__sequence {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  max-width: none;
  height: 100%;
  gap: var(--marquee-item-gap);
  column-gap: var(--marquee-item-gap);
  flex-wrap: nowrap;
}

.luxury-marquee__tail-gap {
  flex: 0 0 var(--marquee-item-gap);
  width: var(--marquee-item-gap);
  min-width: var(--marquee-item-gap);
  max-width: var(--marquee-item-gap);
  height: 1px;
  opacity: 0;
  pointer-events: none;
}


/* ---- contents showcase ---- */
.luxury-marquee__lane {
  gap: var(--marquee-sequence-gap, 0px) !important;
  column-gap: var(--marquee-sequence-gap, 0px) !important;
}

.luxury-marquee__tail-gap {
  flex: 0 0 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
}

.contents-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(18px, 3vw, 36px) 0 0;
}

.contents-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.14) 52%, rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(circle at 18% 14%, rgba(255, 223, 145, 0.05), transparent 24%),
    radial-gradient(circle at 84% 36%, rgba(255, 232, 178, 0.03), transparent 26%);
  pointer-events: none;
}

.contents-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.contents-section__header {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.contents-section__eyebrow {
  margin: 0 0 14px;
  font-family: "Cinzel", serif;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 236, 194, 0.68);
}

.contents-section__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6d4 0%, #ffd974 46%, #b8862b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255, 211, 102, 0.1);
}

.contents-section__lead {
  margin: 16px auto 0;
  max-width: 720px;
  color: rgba(255, 251, 240, 0.84);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.contents-showcase {
  --showcase-pad-x: clamp(34px, 5.6vw, 72px);
  --content-visual-max-height: clamp(680px, calc(100svh - var(--header-height) - 42px), 1100px);
  --character-visual-max-height: clamp(760px, calc(100svh - var(--header-height) - 40px), 1280px);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(32px, 4.4vw, 50px) var(--showcase-pad-x) clamp(36px, 4.8vw, 50px);
  border: 1px solid var(--panel-border);
  background: var(--panel-shell-bg);
  box-shadow: var(--panel-shell-shadow);
  overflow: hidden;
}

.contents-showcase::before,
.contents-showcase::after {
  content: "";
  position: absolute;
  left: clamp(18px, 3vw, 26px);
  right: clamp(18px, 3vw, 26px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 219, 132, 0), var(--panel-line), rgba(255, 219, 132, 0));
}

.contents-showcase::before { top: 14px; }
.contents-showcase::after { bottom: 14px; }

.contents-carousel__viewport {
  position: relative;
  width: auto;
  max-width: none;
  min-width: 0;
  margin-left: calc(var(--showcase-pad-x) * -1);
  margin-right: calc(var(--showcase-pad-x) * -1);
  overflow: hidden;
  padding: 4px 0 24px;
  touch-action: pan-y pinch-zoom;
}

.contents-carousel__track {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 30px);
  width: max-content;
  padding-left: 0;
  padding-right: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.52s cubic-bezier(0.22, 0.72, 0.2, 1);
}

.content-card {
  --card-pad: clamp(22px, 2.6vw, 30px);
  --content-card-width: clamp(420px, 54vw, 760px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--content-card-width);
  min-width: var(--content-card-width);
  max-width: min(100%, var(--content-card-width));
  border: 0;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.58), rgba(6, 8, 14, 0.48));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 0.72, 0.2, 1), opacity 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.content-card[data-state="active"] {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.30), 0 0 24px rgba(255, 213, 120, 0.05);
}

.content-card[data-state="near"] {
  opacity: 0.82;
  transform: scale(0.98);
}

.content-card[data-state="far"] {
  opacity: 0.58;
  transform: scale(0.955);
}

.content-card__media {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: center;
  width: var(--content-media-width, 100%);
  min-width: var(--content-media-width, 100%);
  max-width: var(--content-media-width, 100%);
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(232, 187, 77, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 191, 0.16);
  background: transparent;
  overflow: hidden;
}

.content-card__media img {
  display: block;
  width: var(--content-media-width, 100%);
  min-width: var(--content-media-width, 100%);
  max-width: var(--content-media-width, 100%);
  height: var(--content-media-height, auto);
  max-height: var(--content-media-height, var(--content-visual-max-height));
  object-fit: contain;
  filter: none;
  box-shadow: none;
}

.content-card__media::after {
  display: none;
}

.content-card__label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 247, 228, 0.26);
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fffaf0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.content-card__label.is-new {
  background: linear-gradient(135deg, rgba(162, 26, 26, 0.96), rgba(226, 84, 78, 0.82));
}

.content-card__label.is-play {
  background: linear-gradient(135deg, rgba(141, 89, 24, 0.92), rgba(228, 177, 63, 0.72));
}

.content-card__label.is-comming-soon,
.content-card__label.is-coming-soon {
  background: linear-gradient(135deg, rgba(90, 96, 112, 0.92), rgba(149, 156, 171, 0.76));
}

.content-card__body {
  position: relative;
  display: grid;
  width: 100%;
  gap: 16px;
  padding: 18px var(--card-pad) 24px;
}

.content-card__title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #fff6df;
}

.content-card__meta {
  display: grid;
  gap: 14px;
}

.content-card__meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.content-card__meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.content-card__meta-label {
  flex: 0 0 auto;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 236, 194, 0.74);
  text-transform: uppercase;
}

.content-card__type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 224, 159, 0.18);
  color: #ffefcb;
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-card__type-pill.is-line {
  background: linear-gradient(135deg, rgba(34, 98, 46, 0.92), rgba(84, 166, 96, 0.76));
}

.content-card__type-pill.is-web {
  background: linear-gradient(135deg, rgba(28, 68, 136, 0.92), rgba(69, 140, 222, 0.76));
}

.content-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rating-star {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 213, 106, 0.18)) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.34));
}

.content-card__time {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 249, 238, 0.92);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.duration-clock {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.contents-carousel__controls {
  --controls-nav-size: 54px;
  --controls-gap: clamp(14px, 2vw, 24px);
  --controls-side-space: calc(var(--controls-nav-size) + var(--controls-gap));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--controls-nav-size);
  padding: 0 var(--controls-side-space);
  margin-top: 6px;
}

.contents-nav {
  --nav-size: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--nav-size);
  width: var(--nav-size);
  min-width: var(--nav-size);
  height: var(--nav-size);
  min-height: var(--nav-size);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 226, 170, 0.24);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 226, 170, 0.12) 0%, rgba(255, 226, 170, 0.03) 100%), rgba(8, 10, 16, 0.86);
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contents-nav span {
  display: block;
  width: 22px;
  height: 10px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-indent: -9999px;
  background: #fff4d0;
}

.contents-nav--prev span {
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  margin-left: -2px;
}

.contents-nav--next span {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-right: -2px;
}

.contents-nav:hover,
.contents-nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 228, 179, 0.44);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26), 0 0 20px rgba(255, 213, 113, 0.08);
  outline: none;
}

.contents-carousel__controls .contents-nav,
.contents-character-carousel__controls .contents-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.contents-carousel__controls .contents-nav--prev,
.contents-character-carousel__controls .contents-nav--prev {
  left: 0;
}

.contents-carousel__controls .contents-nav--next,
.contents-character-carousel__controls .contents-nav--next {
  right: 0;
}

.contents-carousel__controls .contents-nav:hover,
.contents-carousel__controls .contents-nav:focus-visible,
.contents-character-carousel__controls .contents-nav:hover,
.contents-character-carousel__controls .contents-nav:focus-visible {
  transform: translateY(calc(-50% - 2px));
}

.contents-carousel__indicators,
.contents-character-carousel__indicators {
  --indicator-width: 28px;
  --indicator-height: 8px;
  --indicator-gap: 10px;
  --indicator-row-gap: 8px;
  --indicator-max-count: 7;
  --indicator-columns: 7;
  display: grid;
  grid-template-columns: repeat(var(--indicator-columns), max-content);
  grid-auto-rows: max-content;
  justify-content: center;
  align-content: center;
  column-gap: var(--indicator-gap);
  row-gap: var(--indicator-row-gap);
  min-width: 0;
  width: fit-content;
  max-width: calc((var(--indicator-width) * var(--indicator-max-count)) + (var(--indicator-gap) * (var(--indicator-max-count) - 1)) + 12px);
  margin-left: auto;
  margin-right: auto;
  padding: 4px 6px;
  overflow: visible;
}

.contents-indicator {
  width: var(--indicator-width);
  height: var(--indicator-height);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 238, 205, 0.14);
  cursor: pointer;
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  flex: 0 0 auto;
}

.contents-indicator.is-active {
  background: linear-gradient(90deg, rgba(255, 241, 204, 1), rgba(255, 212, 101, 0.92));
  box-shadow: 0 0 18px rgba(255, 210, 95, 0.18);
  transform: scaleX(1.14);
}

.contents-showcase__actions,
.contents-details__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(18px, 3vw, 24px);
}

.contents-more-button,
.contents-play-button {
  --contents-action-width: min(100%, 320px);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--contents-action-width);
  min-width: var(--contents-action-width);
  max-width: 100%;
  min-height: 56px;
  padding: 14px 30px;
  overflow: hidden;
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.42s ease, box-shadow 0.42s ease, border-color 0.42s ease, opacity 0.42s ease, background 0.42s ease;
}

.contents-more-button {
  border: 1px solid rgba(255, 229, 181, 0.22);
  background: linear-gradient(180deg, rgba(255, 244, 210, 0.12) 0%, rgba(255, 214, 106, 0.10) 28%, rgba(126, 78, 13, 0.36) 100%), rgba(10, 12, 18, 0.92);
  color: #fff4d4;
}

.contents-more-button:hover,
.contents-more-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 229, 181, 0.44);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28), 0 0 22px rgba(255, 210, 95, 0.10);
  outline: none;
}

.contents-play-button {
  border: 1px solid rgba(255, 220, 132, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 244, 217, 0.96) 0%, rgba(255, 222, 133, 0.95) 36%, rgba(193, 140, 35, 0.95) 100%);
  color: #171109;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 249, 234, 0.82),
    inset 0 -1px 0 rgba(124, 80, 13, 0.34);
}

.contents-play-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0.44) 48%, rgba(255, 255, 255, 0) 78%);
  transform: translateX(-135%);
  pointer-events: none;
  animation: riddleAnswerButtonShine 3.6s ease-in-out infinite;
}

.contents-play-button::after {
  content: none;
}

.contents-play-button:hover,
.contents-play-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(255, 214, 115, 0.14),
    inset 0 1px 0 rgba(255, 249, 234, 0.84),
    inset 0 -1px 0 rgba(124, 80, 13, 0.34);
  filter: saturate(1.04) brightness(1.02);
  outline: none;
}

.contents-play-button.is-disabled {
  opacity: 0.56;
  cursor: default;
  pointer-events: none;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    0 0 14px rgba(255, 214, 102, 0.08);
}

.contents-details {
  width: 100%;
  min-width: 0;
  margin-top: clamp(18px, 2.6vw, 26px);
  overflow: visible;
}

.contents-details[hidden] {
  display: none;
}

.contents-details__inner {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: clamp(26px, 3.4vw, 34px);
}

.contents-details__story,
.contents-details__characters,
.contents-details__actions,
.contents-details__copy,
.contents-character-carousel,
.contents-character-carousel__viewport,
.contents-character-carousel__track,
.contents-character-slide {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contents-details__story {
  overflow-x: hidden;
  overflow-y: visible;
}

.contents-details__characters {
  overflow: visible;
}

.contents-details__section-title {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fff6d4 0%, #ffd974 46%, #b8862b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(255, 211, 102, 0.08);
  text-align: center;
}

.contents-details__copy {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 0 clamp(12px, 2vw, 24px);
}

.contents-details__copy p {
  margin: 0;
  color: rgba(255, 251, 240, 0.94);
  font-size: clamp(14px, 1.28vw, 18px);
  line-height: 2;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contents-character-carousel {
  --character-frame-width: min(100%, 760px);
  --character-frame-height: clamp(320px, 42vw, 640px);
  --character-gap-width: clamp(12px, 2vw, 18px);
  --character-visual-height: min(var(--character-frame-height), var(--character-visual-max-height));
  width: calc(100% + (var(--showcase-pad-x) * 2));
  max-width: none;
  min-width: 0;
  margin: 0 calc(var(--showcase-pad-x) * -1);
  overflow: visible;
}

.contents-character-carousel__viewport {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.contents-character-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.contents-character-carousel__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: var(--character-gap-width);
  align-items: stretch;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.52s cubic-bezier(0.22, 0.72, 0.2, 1);
}

.contents-character-slide {
  position: relative;
  flex: 0 0 var(--character-frame-width);
  width: var(--character-frame-width);
  min-width: var(--character-frame-width);
  max-width: var(--character-frame-width);
  margin: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  contain: layout paint;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.contents-character-slide__media {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: var(--character-frame-width);
  height: auto;
  max-height: var(--character-visual-height);
  margin: 0 auto;
  border: 1px solid rgba(232, 187, 77, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 191, 0.16);
  background: #05070b;
  overflow: hidden;
  contain: paint;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.contents-character-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.16) 62%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.contents-character-slide__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: calc(var(--character-frame-width) - 2px);
  max-height: calc(var(--character-visual-height) - 2px);
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
}

.contents-character-carousel__controls {
  --controls-nav-size: 54px;
  --controls-gap: clamp(14px, 2vw, 24px);
  --controls-side-space: calc(var(--controls-nav-size) + var(--controls-gap));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - (var(--showcase-pad-x) * 2));
  min-height: var(--controls-nav-size);
  padding: 0 var(--controls-side-space);
  margin: 24px auto 0;
}


.contents-carousel__viewport.is-dragging .contents-carousel__track,
.contents-character-carousel__viewport.is-dragging .contents-character-carousel__track {
  transition: none !important;
}

.contents-carousel__viewport.is-dragging .content-card {
  transition: none !important;
}

.contents-carousel__track,
.contents-character-carousel__track,
.content-card,
.contents-character-slide__media img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}


.contents-character-carousel.is-single .contents-character-carousel__controls {
  display: none;
}

@keyframes contentsPlayButtonShine {
  0% {
    transform: translateX(-135%);
    opacity: 0;
  }
  10% {
    opacity: 0.22;
  }
  45% {
    transform: translateX(135%);
    opacity: 0.92;
  }
  100% {
    transform: translateX(135%);
    opacity: 0;
  }
}

.contents-character__name {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  z-index: 3;
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #fff6df;
  text-align: center;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.62),
    0 0 10px rgba(255, 235, 191, 0.12);
}

@media (max-width: 900px) {
  .content-card {
    --content-card-width: min(100%, clamp(360px, 74vw, 620px));
  }
}

@media (max-width: 640px) {
  .contents-section__lead {
    padding: 0 20px;
  }

  .contents-showcase {
    --showcase-pad-x: 18px;
    padding: 30px var(--showcase-pad-x) 34px;
  }

  .content-card {
    --card-pad: 14px;
    --content-card-width: min(100%, calc(100vw - 36px));
  }

  .content-card[data-state="near"],
  .content-card[data-state="far"] {
    opacity: 0.72;
    transform: scale(0.98);
  }

  .content-card__title {
    font-size: 23px;
  }

  .contents-nav {
    --nav-size: 44px;
  }

  .contents-nav span {
    width: 20px;
    height: 8px;
  }

  .contents-carousel__controls {
    --controls-nav-size: 44px;
    gap: 10px;
  }

  .contents-carousel__indicators,
  .contents-character-carousel__indicators {
    --indicator-width: 18px;
    --indicator-height: 6px;
    --indicator-gap: 8px;
    --indicator-row-gap: 7px;
    width: fit-content;
    max-width: calc((var(--indicator-width) * var(--indicator-max-count)) + (var(--indicator-gap) * (var(--indicator-max-count) - 1)) + 12px);
  }

  .contents-details__copy p {
    font-size: 14px;
    line-height: 1.95;
  }

  .contents-character-carousel {
    width: calc(100% + (var(--showcase-pad-x) * 2));
    max-width: none;
    margin-left: calc(var(--showcase-pad-x) * -1);
    margin-right: calc(var(--showcase-pad-x) * -1);
  }

  .contents-character-carousel__controls {
    --controls-nav-size: 44px;
    gap: 10px;
    width: calc(100% - (var(--showcase-pad-x) * 2));
    margin: 22px auto 0;
  }

  
  .contents-character-slide__media {
    max-height: var(--character-visual-height);
  }

  .contents-character-slide__media img {
    max-width: calc(var(--character-frame-width) - 2px);
    max-height: calc(var(--character-visual-height) - 2px);
  }
}


@media (min-width: 901px) {
  .contents-showcase.is-compact-height {
    --showcase-pad-x: clamp(28px, 4.2vw, 58px);
    padding-top: clamp(22px, 3vh, 32px);
    padding-bottom: clamp(24px, 3.2vh, 34px);
  }

  .contents-showcase.is-compact-height .contents-carousel__viewport {
    padding-top: 2px;
    padding-bottom: clamp(12px, 1.8vh, 18px);
  }

  .contents-showcase.is-compact-height .content-card {
    --card-pad: clamp(16px, 1.9vw, 22px);
    width: var(--compact-content-card-width, clamp(520px, 56vw, 920px));
    min-width: var(--compact-content-card-width, clamp(520px, 56vw, 920px));
  }

  .contents-showcase.is-compact-height .content-card__body {
    gap: clamp(10px, 1.5vh, 14px);
    padding: 14px var(--card-pad) 18px;
  }

  .contents-showcase.is-compact-height .content-card__title {
    font-size: clamp(22px, 1.9vw, 30px);
    line-height: 1.28;
  }

  .contents-showcase.is-compact-height .content-card__meta {
    gap: 10px;
  }

  .contents-showcase.is-compact-height .content-card__type-pill {
    min-height: 32px;
    padding: 6px 12px;
  }

  .contents-showcase.is-compact-height .rating-star {
    width: 18px;
    height: 18px;
  }

  .contents-showcase.is-compact-height .content-card__time {
    gap: 8px;
    font-size: 13px;
  }

  .contents-showcase.is-compact-height .contents-carousel__controls,
  .contents-showcase.is-compact-height .contents-character-carousel__controls {
    --controls-nav-size: clamp(42px, 5.2vh, 50px);
    gap: clamp(12px, 1.4vw, 20px);
    margin-top: clamp(14px, 2vh, 20px);
  }

  .contents-showcase.is-compact-height .contents-showcase__actions,
  .contents-showcase.is-compact-height .contents-details__actions {
    margin-top: clamp(14px, 2vh, 20px);
  }

  .contents-showcase.is-compact-height .contents-more-button,
  .contents-showcase.is-compact-height .contents-play-button {
    min-height: 46px;
    padding: 10px 22px;
    font-size: clamp(12px, 1vw, 14px);
  }

  .contents-showcase.is-compact-height .contents-details {
    margin-top: clamp(16px, 2.2vh, 22px);
  }

  .contents-showcase.is-compact-height .contents-details__inner {
    gap: clamp(18px, 2.6vh, 26px);
  }

  .contents-showcase.is-compact-height .contents-details__section-title {
    margin-bottom: 14px;
    font-size: clamp(18px, 1.6vw, 22px);
  }

  .contents-showcase.is-compact-height .contents-details__copy {
    gap: 12px;
  }

  .contents-showcase.is-compact-height .contents-details__copy p {
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.82;
  }

  .contents-showcase.is-compact-height .contents-character__name {
    bottom: 8px;
    font-size: clamp(18px, 1.7vw, 22px);
  }
}


/* ---- riddle section ---- */
.riddle-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(18px, 3vw, 36px) 0 0;
}

.riddle-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.14) 52%, rgba(0, 0, 0, 0.08) 100%),
    radial-gradient(circle at 16% 22%, rgba(255, 223, 145, 0.05), transparent 24%),
    radial-gradient(circle at 78% 34%, rgba(157, 198, 255, 0.04), transparent 26%);
  pointer-events: none;
}

.riddle-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.riddle-section__header {
  margin-bottom: clamp(26px, 4vw, 42px);
}

.riddle-showcase {
  --showcase-pad-x: clamp(34px, 5.6vw, 72px);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(32px, 4.4vw, 50px) var(--showcase-pad-x) clamp(36px, 4.8vw, 54px);
  border: 1px solid var(--panel-border);
  background: var(--panel-shell-bg);
  box-shadow: var(--panel-shell-shadow);
  overflow: hidden;
}

.riddle-showcase::before,
.riddle-showcase::after {
  content: "";
  position: absolute;
  left: clamp(18px, 3vw, 26px);
  right: clamp(18px, 3vw, 26px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 219, 132, 0), var(--panel-line), rgba(255, 219, 132, 0));
}

.riddle-showcase::before {
  top: 14px;
}

.riddle-showcase::after {
  bottom: 14px;
}

.riddle-showcase__halo {
  position: absolute;
  inset: auto auto 20px 20px;
  width: clamp(150px, 18vw, 220px);
  height: clamp(150px, 18vw, 220px);
  background:
    radial-gradient(circle, rgba(255, 214, 115, 0.18) 0%, rgba(255, 214, 115, 0) 68%),
    radial-gradient(circle at 62% 36%, rgba(139, 181, 255, 0.12), rgba(139, 181, 255, 0) 58%);
  pointer-events: none;
}

.riddle-showcase__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  gap: clamp(22px, 3vw, 30px);
}

.riddle-gallery {
  position: relative;
  border: 1px solid rgba(255, 223, 146, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 249, 228, 0.06) 0%, rgba(255, 221, 130, 0.03) 16%, rgba(8, 11, 20, 0.95) 34%, rgba(6, 8, 14, 0.97) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 226, 148, 0.06), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(141, 182, 255, 0.08), transparent 26%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 191, 0.12),
    0 30px 60px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(99, 138, 214, 0.06);
  overflow: hidden;
}

.riddle-gallery::before,
.riddle-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.riddle-gallery::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 216, 124, 0.02) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 32%, transparent 72%, rgba(255, 224, 130, 0.04) 100%);
}

.riddle-gallery::after {
  inset: 12px;
  border: 1px solid rgba(255, 230, 176, 0.1);
}

.riddle-gallery__frame {
  position: relative;
  z-index: 1;
}

.riddle-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.riddle-answer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 1.7vw, 18px);
  align-items: stretch;
  width: min(100%, 760px);
  margin: 0 auto;
}

.riddle-answer__input,
.riddle-answer__button {
  min-height: clamp(54px, 6.2vw, 62px);
  border-radius: 0;
}

.riddle-answer__input {
  width: 100%;
  padding: 0 clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 221, 138, 0.36);
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 14, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 191, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.24);
  color: rgba(255, 248, 235, 0.96);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.08em;
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.riddle-answer__input::placeholder {
  color: rgba(255, 241, 207, 0.46);
}

.riddle-answer__input:focus {
  border-color: rgba(255, 221, 138, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 191, 0.16),
    0 0 0 4px rgba(255, 214, 115, 0.08),
    0 16px 28px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(255, 214, 115, 0.12);
  transform: translateY(-1px);
}

.riddle-answer__button {
  position: relative;
  min-width: clamp(128px, 14vw, 156px);
  padding: 0 clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 220, 132, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 244, 217, 0.96) 0%, rgba(255, 222, 133, 0.95) 36%, rgba(193, 140, 35, 0.95) 100%);
  color: #171109;
  font-family: "Cinzel", serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 249, 234, 0.82),
    inset 0 -1px 0 rgba(124, 80, 13, 0.34);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.riddle-answer__button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0.44) 48%, rgba(255, 255, 255, 0) 78%);
  transform: translateX(-135%);
  animation: riddleAnswerButtonShine 3.6s ease-in-out infinite;
}

.riddle-answer__button:hover,
.riddle-answer__button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(255, 214, 115, 0.14),
    inset 0 1px 0 rgba(255, 249, 234, 0.84),
    inset 0 -1px 0 rgba(124, 80, 13, 0.34);
  filter: saturate(1.04) brightness(1.02);
}

.riddle-answer__button:active {
  transform: translateY(0);
}

.riddle-judge {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.riddle-judge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 215, 120, 0.05), rgba(0, 0, 0, 0.24) 60%, rgba(0, 0, 0, 0.44) 100%);
}

.riddle-judge.is-visible {
  opacity: 1;
  visibility: visible;
}

.riddle-judge__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(18px, 3vw, 34px) clamp(16px, 4vw, 38px);
  border: 1px solid rgba(255, 227, 156, 0.34);
  background:
    linear-gradient(155deg, rgba(255, 248, 227, 0.12) 0%, rgba(255, 223, 135, 0.05) 12%, rgba(10, 14, 24, 0.96) 30%, rgba(6, 8, 15, 0.95) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 226, 148, 0.11), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(141, 182, 255, 0.12), transparent 24%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(255, 214, 115, 0.08),
    inset 0 1px 0 rgba(255, 248, 227, 0.16),
    inset 0 -1px 0 rgba(255, 214, 120, 0.06);
  text-align: center;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.riddle-judge.is-visible .riddle-judge__panel {
  transform: translateY(0) scale(1);
}

.riddle-judge__panel::before,
.riddle-judge__panel::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 219, 132, 0), rgba(255, 233, 179, 0.84), rgba(255, 219, 132, 0));
}

.riddle-judge__panel::before {
  top: 12px;
}

.riddle-judge__panel::after {
  bottom: 12px;
}

.riddle-judge__icon {
  width: clamp(250px, 62vw, 320px);
  margin: 0 auto 18px;
}

.riddle-judge__icon svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(255, 214, 115, 0.20));
}

.riddle-judge__text {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 248, 235, 0.96);
}

.riddle-judge.is-correct .riddle-judge__text {
  color: rgba(255, 244, 217, 0.98);
}

.riddle-judge.is-incorrect .riddle-judge__text {
  color: rgba(235, 243, 255, 0.96);
}

@keyframes riddleAnswerButtonShine {
  0% {
    transform: translateX(-135%);
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  32%,
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .riddle-showcase {
    --showcase-pad-x: 18px;
    padding: 30px var(--showcase-pad-x) 34px;
  }

  .riddle-gallery::after {
    inset: 8px;
  }

  .riddle-answer {
    gap: 10px;
  }

  .riddle-answer__input,
  .riddle-answer__button {
    min-height: 50px;
  }

  .riddle-answer__button {
    min-width: 104px;
    padding-inline: 16px;
    letter-spacing: 0.1em;
  }
}

/* ---- footer ---- */
.site-footer {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(56px, 8vw, 92px) 0 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.site-footer__card {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(32px, 4.4vw, 50px) clamp(34px, 5.6vw, 72px) clamp(36px, 4.8vw, 50px);
  border: 1px solid var(--panel-border);
  background: var(--panel-shell-bg);
  box-shadow: var(--panel-shell-shadow);
  text-align: center;
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.site-footer__card::before,
.site-footer__card::after {
  content: "";
  position: absolute;
  left: clamp(18px, 3vw, 26px);
  right: clamp(18px, 3vw, 26px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 219, 132, 0), var(--panel-line), rgba(255, 219, 132, 0));
}

.site-footer__card::before {
  top: 14px;
}

.site-footer__card::after {
  bottom: 14px;
}

.site-footer__lead,
.site-footer__card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 248, 233, 0.82);
  font-size: clamp(12px, 1.08vw, 15px);
  line-height: 2;
  letter-spacing: 0.04em;
}

.site-footer__lead {
  color: rgba(255, 249, 238, 0.94);
}

@media (max-width: 640px) {
  .riddle-showcase {
    --showcase-pad-x: 18px;
    min-height: 212px;
    padding: 30px var(--showcase-pad-x) 34px;
  }

  .riddle-showcase__panel {
    min-height: 140px;
  }

  .riddle-showcase__panel::after {
    inset: 12px;
  }

  .site-footer {
    padding: 44px 0 0;
  }

  .site-footer__card {
    padding: 30px 24px 32px;
  }
}
