/* =========================================================
1. 변수 & 기본 스타일 (PC > 1080px 기준)
   ========================================================= */
:root {
  --ink: #f5f7ff;
  --muted: #c5ccea;
  --gold: #f0c56a;
  --line: rgba(176, 190, 255, 0.32);
  --card: rgba(14, 20, 58, 0.82);
  --sans: "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Song Myung", "Batang", serif;
  --logo: "Jua", "Malgun Gothic", sans-serif;
  --header: 76px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: #0e1d33;
  line-height: 1.65;
  overflow-x: clip;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; }

a { color: inherit; }

button, input, textarea, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid #ffb15e;
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
2. 상단 헤더 & 내비게이션
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 12px;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: #0e1d33;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.brand {
  display: none !important;
  text-decoration: none;
  color: white;
  flex: 0 0 auto;
}

.brand-word {
  font-family: var(--logo);
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 6px 18px rgba(40, 70, 160, 0.45);
}

.brand-o { position: relative; display: inline-block; }

.flame {
  position: absolute;
  left: 50%;
  bottom: 62%;
  width: 14px;
  height: 20px;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 6px rgba(190, 220, 255, 0.85));
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  padding: 4px 2px;
}

.nav a:hover,
.nav a.is-active,
.nav a[aria-current="page"] { color: white; }

.nav a.is-active,
.nav a[aria-current="page"] {
  text-shadow: 0 0 14px rgba(190, 210, 255, 0.85);
}

.sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.38);
}

/* =========================================================
3. 히어로 영역
   ========================================================= */
.hero {
  position: relative;
  min-height: max(680px, 100vh);
  display: flex;
  background: #0e1d33;
  overflow: hidden;
}

.hero-bg,
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/common/bg_night.png") center top / cover no-repeat;
}

/* 배경 건물(.hero-island): 화면 크기가 줄어들어도 축소하지 않고 원본 비율 그대로 유지 */
.hero-island {
  position: absolute;
  z-index: 1;
  top: 20%;
  left: 50%;
  width: min(680px, 58vw);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 20, 0.35));
}

/* 스카이라인 기본 / PC: 좌우로 늘어나며 찌그러져도 최대 1/3(33.333vh) 높이 제한 */
.city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: min(240px, 33.333vh);
  max-height: 33.333vh;
  z-index: 2;
  pointer-events: none;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 2;
  background: linear-gradient(transparent, #0e1d33);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 4;
  flex: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(280px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 108px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 6;
  padding-left: 100px;
}

.hero .hero-logo,
.hero .hero-logo-pc,
.hero img[src*="illust_logo"] {
  position: relative;
  z-index: 6;
  background: transparent;
  transform: translateY(-80px);
  margin-bottom: 12px;
}

.hero-logo img,
.hero-logo-pc,
.hero img[src*="illust_logo"] {
  display: block;
  width: 120%;
  max-width: 650px;
  height: auto;
}

.hero-copy p {
  margin: 0 0 16px;
  color: #e4e9ff;
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(8, 12, 40, 0.45);
}

.btn-play-img {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn-play-img:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
}

.btn-play-img:active {
  transform: translateY(1px) scale(0.98);
  filter: brightness(0.96);
}

.btn-play-img img {
  display: block;
  width: 65vw;
  min-width: 120px;
  max-width: 450px;
  height: auto;
}

.btn-play-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-family: var(--logo);
  font-size: clamp(40px, 3vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.hero-cast {
  position: relative;
  z-index: 3;
  justify-self: end;
  width: auto;
  height: auto;
  max-width: none;
  max-height: min(78vh, 760px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 20, 0.28));
  pointer-events: none;
  transform: translateX(var(--cast-x, 0px));
}

.cloud-divider {
  display: block;
  width: min(1080px, calc(100% - 32px));
  margin: -28px auto 8px;
  position: relative;
  z-index: 5;
  opacity: 0.95;
}

.band { padding: 10px 0 18px; background: #0e1d33; }

.panel {
  background: #0e1d33;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 20px 20px 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.panel-head h2,
.shot-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.en {
  margin: 0;
  color: #a9b4de;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #e7ecff;
  background: #0e1d33;
  border: 1px solid rgba(190, 205, 255, 0.32);
  flex: 0 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 1.7fr 0.86fr;
  gap: 16px;
  align-items: stretch;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
  align-items: center;
}

.lead {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
}

.lead em {
  font-style: normal;
  color: var(--gold);
}

.story-copy p { margin: 0 0 14px; color: #e6ebff; font-size: 14px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(198, 210, 255, 0.55);
  background: #0e1d33;
  color: white;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover { background: #162c4d; transform: translateY(-1px); }

.island-link {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  line-height: 0;
}

.island-link img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.island-link:hover img,
.island-link:focus-visible img { transform: scale(1.06); }

.char-panel {
  display: flex;
  flex-direction: column;
}

.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-decoration: none;
}

.portrait-grid img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.portrait-grid:hover img { transform: scale(1.035); filter: brightness(1.06); }

.char-panel .btn-ghost {
  align-self: center;
  margin-top: 14px;
}

.trio {
  display: grid;
  grid-template-columns: 1.52fr 1.36fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.trio-img,
.rank-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.rank-link {
  display: block;
  border-radius: 16px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.rank-link:hover { transform: translateY(-3px); filter: brightness(1.08); }

.shot-panel {
  position: relative;
  aspect-ratio: 361 / 213;
  border-radius: 16px;
  overflow: hidden;
  background: #0e1d33;
  border: 1px solid rgba(176, 190, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.shot-view { position: absolute; inset: 0; }

.shot-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.shot-view img.is-active { opacity: 1; }

.shot-head {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.shot-head .badge { width: 30px; height: 30px; border-radius: 10px; }

.shot-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: #0e1d33;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.shot-nav:hover { background: #162c4d; }

.shot-nav.prev { left: 8px; }
.shot-nav.next { right: 8px; }

.shot-dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.shot-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.shot-dots button[aria-current="true"] {
  width: 18px;
  background: white;
}

.shot-shade,
.shot-shade-top {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.shot-shade-top {
  top: 0;
  height: 58px;
  background: linear-gradient(#0e1d33, transparent);
}

.shot-shade {
  bottom: 0;
  height: 36px;
  background: linear-gradient(transparent, #0e1d33);
}

.site-footer {
  position: relative;
  margin-top: 28px;
  padding: 26px 0 28px;
  background: #0e1d33;
}

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  top: -70px;
  width: 100%;
  height: 80px;
  pointer-events: none;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; }

.footer-actions button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-actions img {
  height: 54px;
  width: auto;
  display: block;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.footer-actions button:hover img {
  filter: brightness(1.35);
  transform: translateY(-2px);
}

.footer-brand { text-align: right; }

.footer-brand .brand-word { font-size: 28px; }

.footer-brand small {
  display: block;
  margin-top: 4px;
  color: #b7c0e4;
  font-size: 12px;
}

.page-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 130px 0 54px;
  background: #0e1d33;
  overflow: hidden;
}

.page-hero .hero-bg { background-position: center 20%; }

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #0e1d33);
  pointer-events: none;
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-kicker {
  margin: 0;
  color: #c9d4ff;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.page-hero h1 {
  margin: 8px 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.25;
}

.page-hero .lede {
  margin: 0;
  max-width: 460px;
  color: #e5eaff;
}

.page-float {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: -6%;
  width: min(540px, 48vw);
  pointer-events: none;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}

.page-main { padding: 8px 0 56px; background: #0e1d33; }

.stack { display: grid; gap: 16px; }

.chapter {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px 16px;
  align-items: start;
}

.chapter .num {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}

.chapter h2 { margin: 6px 0 6px; font-size: 20px; }
.chapter p { margin: 0; color: #e4e9ff; }

.pull {
  margin: 0;
  padding: 8px 4px 4px 16px;
  border-left: 2px solid var(--gold);
  color: #f3efe2;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.6;
}

.roster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.char-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  align-items: center;
}

.char-card img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.char-card h2 { margin: 0 0 2px; font-size: 24px; }
.role { margin: 0 0 8px; color: var(--gold); font-size: 13px; }
.quote { margin: 0 0 8px; color: #f4f1e6; }
.char-card p { margin: 0; color: #e4e9ff; font-size: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.tags span {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(190, 205, 255, 0.35);
  font-size: 12px;
  color: #d5def8;
}

.board-wrap { overflow-x: auto; }

.board {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.board th {
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: #b7c2ea;
  padding: 8px 12px 12px;
}

.board td {
  padding: 13px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.board tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.rank-no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.top1 { background: #0e1d33; }
.top2 { background: #0e1d33; }
.top3 { background: #0e1d33; }

.top1 .rank-no { background: #f0c56a; color: #2a2110; }
.top2 .rank-no { background: #d5deef; color: #243044; }
.top3 .rank-no { background: #d08a5c; color: #2a160e; }

#home, #story, #characters, #screenshots, #ranking { scroll-margin-top: 84px; }

.note { margin: 12px 4px 0; color: #aeb6d8; font-size: 13px; }

.week {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}

.week h2 { margin: 0; font-size: 22px; }
.week p { margin: 4px 0 0; color: var(--gold); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(4, 6, 18, 0.72);
}

.modal[hidden] { display: none; }

.modal-card {
  width: min(640px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 26px 26px 22px;
  border-radius: 20px;
  background: #0e1d33;
  border: 1px solid rgba(186, 198, 255, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.modal-card h2 { margin: 0 0 6px; font-size: 22px; }
.modal-card .en { margin-bottom: 14px; }

.modal-card h3 { margin: 16px 0 8px; font-size: 15px; }

.modal-card p,
.modal-card li { color: #e6ebff; font-size: 14px; }

.keys {
  width: 100%;
  border-collapse: collapse;
}

.keys th,
.keys td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.keys th { color: #b7c2ea; font-weight: 500; }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid { display: grid; gap: 10px; }

.form-grid label { display: grid; gap: 4px; font-size: 13px; color: #d5def8; }

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(190, 205, 255, 0.35);
  background: #0e1d33;
  color: white;
  padding: 10px 12px;
}

.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.form-note { margin: 8px 0 0; color: var(--gold); font-size: 13px; }

.modal-close {
  float: right;
  border: 0;
  background: transparent;
  color: white;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.end-cta { text-align: center; padding: 8px 0 4px; }

@media (min-width: 1081px) {
  .city {
    width: 100%;
    max-width: 100%;
    height: min(240px, 33.333vh);
    max-height: 33.333vh;
  }

  .hero-copy p {
    position: relative;
    z-index: 6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(-130px);
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: 0;
  }

  /* 배경 건물(.hero-island): 축소하지 않고 원본 비율 그대로 유지 */
.hero-island {
    position: absolute;
    z-index: 1;
    top: 20%;
    left: 50%;
    width: 560px;          /* 패드 폭이 바뀌어도 이 크기로 고정 */
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    transform: translateX(-50%);
    pointer-events: none;
  }

  /* 패드 / 1080px 이하: 중앙 기준으로 양쪽 동일하게 잘려나가며 사라짐 + 1/3 높이 상한 유지 */
  .city {
    left: 50%;
    right: auto;
    bottom: 0;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: min(210px, 33.333vh);
    max-height: 33.333vh;
    transform: translateX(-50%);
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(600px, calc(100% - 32px));
    padding-top: 48px;
    padding-bottom: 12px;
    gap: 10px;
    text-align: center;
  }

  .hero-copy {
    display: contents;
  }

  /* 1. 로고 */
  .hero .hero-logo,
  .hero .hero-logo-pc,
  .hero img[src*="illust_logo"] {
    order: 1;
    margin: 0 auto;
    max-width: min(350px, 76vw);
    transform: translateY(-28px);
  }

  /* 2. 설명 문구 */
  .hero-copy p {
    order: 2;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    transform: translateY(-22px);
  }

  /* 3. 캐릭터 이미지: 버튼과 겹치지 않도록 하단 마진 확보 */
  .hero-cast {
    order: 3;
    width: auto;
    max-width: 100%;
    max-height: clamp(230px, 50vh, 600px);
    margin: 0 auto 6px;
    justify-self: center;
    transform: translateY(-16px);
  }

  /* 4. 시작 버튼: 동일한 간격 룰 유지 */
  .btn-play-img {
    order: 4;
    margin: 0 auto;
    transform: translateY(-14px);
  }

  .btn-play-img:hover {
    transform: translateY(-16px) scale(1.02);
  }

  .btn-play-img:active {
    transform: translateY(-12px) scale(0.98);
  }

  .btn-play-img img {
    display: block;
    width: min(300px, 75vw);
    max-width: 300px;
    min-width: 0;
    height: auto;
    margin: 0 auto;
  }

  .btn-play-text {
    font-size: clamp(20px, 5vw, 28px);
    letter-spacing: 0.04em;
  }

  .cloud-divider {
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .hero + .cloud-divider + .band,
  .band:first-of-type {
    padding-top: 2px;
  }

  .split,
  .story-grid,
  .roster,
  .cols { grid-template-columns: 1fr; }

  .trio { grid-template-columns: 1fr; }

  .shot-panel { aspect-ratio: 16 / 9; }

  .char-card { grid-template-columns: 140px 1fr; }

  .page-float { opacity: 0.9; width: min(380px, 54vw); }
}

@media (max-width: 760px) {
.hero-island {
    top: 20%;
    left: 50%;
    width: min(560px, 100vw);
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    transform: translateX(-50%);
  }

  /* 폰 / 760px 이하: 중앙 기준 양쪽 동일 사라짐 유지 + 1/3 높이 상한 유지 */
  .city {
    left: 50%;
    right: auto;
    bottom: 0;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: min(180px, 33.333vh);
    max-height: 33.333vh;
    transform: translateX(-50%);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: auto;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 4px 8px;
    background: transparent;
    border-bottom-color: transparent;
  }

  .site-header.is-scrolled {
    width: 100%;
    right: 0;
    background: #0e1d33;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .brand-word { font-size: 28px; }

  .nav {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    font-size: 13px;
  }

  .hero { min-height: 0; }

  /* 1080px과 동일한 간격 룰 유지 */
  .hero-layout {
    width: min(560px, calc(100% - 32px));
    padding-top: 44px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .hero .hero-logo,
  .hero .hero-logo-pc,
  .hero img[src*="illust_logo"] {
    margin-top: 0;
    transform: translateY(-24px);
  }

  .hero-copy p {
    transform: translateY(-20px);
  }

  .hero-cast {
    max-height: clamp(210px, 50vh, 460px);
    margin: 0 auto 6px;
    transform: translateY(-14px);
  }

  .btn-play-img {
    margin-top: 0;
    transform: translateY(-14px);
  }

  .btn-play-img img {
    width: min(260px, 70vw);
    max-width: 260px;
  }

  .btn-play-text {
    font-size: clamp(18px, 5vw, 24px);
  }

  .cloud-divider {
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .chapter { grid-template-columns: 1fr; }
  .chapter .num { font-size: 28px; }

  .char-card { grid-template-columns: 1fr; }

  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-brand { text-align: left; }

  .footer-actions img { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}