/* ==========================================================================
   麻豆魔改短剧 · madoudj-gw.cn
   Editorial cinema landing page — original layout & copy
   ========================================================================== */

/* ---------- 01. Tokens ---------- */
:root {
  --bg: #0b0a09;
  --bg-2: #0e0c0a;
  --surface: #15120e;
  --surface-2: #1c1812;
  --surface-3: #241f17;
  --paper: #e9dfcf;
  --paper-2: #f1e8d9;
  --ink: #17120c;
  --ink-soft: #4b4134;
  --text: #f3ecdf;
  --text-soft: #cfc2ae;
  --muted: #a89c89;
  --dim: #7d7262;
  --gold: #e7bb73;
  --gold-2: #f6d9a5;
  --gold-deep: #b8894b;
  --ember: #ff6a3d;
  --ember-2: #ff8e66;
  --violet: #8b7bff;
  --line: rgba(243, 236, 223, 0.12);
  --line-strong: rgba(243, 236, 223, 0.22);
  --line-gold: rgba(231, 187, 115, 0.32);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --shell: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* ---------- 02. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 640px at 8% -6%, rgba(255, 106, 61, 0.10), transparent 62%),
    radial-gradient(760px 620px at 96% 8%, rgba(139, 123, 255, 0.08), transparent 66%),
    linear-gradient(180deg, #0b0a09 0%, #0d0b09 48%, #0a0908 100%);
}

::selection { background: var(--gold); color: #140f09; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--gold);
  color: #140f09;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 18px; }

.shell {
  width: min(100% - 64px, var(--shell));
  margin-inline: auto;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("./img/noise.png");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 1100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--ember));
}

/* ---------- 03. Top bar / header ---------- */
.topbar {
  position: relative;
  z-index: 120;
  border-bottom: 1px solid rgba(243, 236, 223, 0.08);
  background: #080706;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-note { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar-note b { color: var(--gold); font-weight: 600; }
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.7);
  animation: livePulse 2.4s infinite;
}
@keyframes livePulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 106, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 61, 0); }
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.2s;
}
.topbar-link span { color: var(--gold); border-bottom: 1px solid rgba(231, 187, 115, 0.4); }
.topbar-link i { font-style: normal; color: var(--dim); }
.topbar-link:hover { color: #fff; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(11, 10, 9, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.site-head.is-scrolled {
  background: rgba(10, 9, 8, 0.93);
  border-color: var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}
.head-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; }
.brand-text small {
  margin-top: 5px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.3em;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 8px 0 18px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.head-cta i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #171006;
  font-style: normal;
  font-size: 11px;
  transition: transform 0.3s var(--ease);
}
.head-cta:hover { background: var(--gold); border-color: var(--gold); color: #171006; }
.head-cta:hover i { background: #171006; color: var(--gold); transform: rotate(45deg); }
.menu-btn {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, top 0.3s;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.nav-open .menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- 04. Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 0;
  overflow: hidden;
}
.hero-aura {
  position: absolute;
  z-index: -1;
  width: 1100px;
  height: 900px;
  right: -180px;
  top: -260px;
  background:
    radial-gradient(closest-side, rgba(139, 123, 255, 0.18), transparent 70%),
    radial-gradient(closest-side, rgba(255, 106, 61, 0.1), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(44px, 5.2vw, 78px);
  align-items: center;
  padding-bottom: 58px;
}
.hero-visual { position: relative; min-width: 0; }
.hero-frame {
  position: relative;
  width: min(100%, 548px);
  margin: 0 auto;
  padding: 0;
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 30px;
  border: 1px solid rgba(231, 187, 115, 0.22);
  border-radius: 3px;
  z-index: -1;
}
.hero-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(231, 187, 115, 0.3);
  border-radius: 3px 42px 3px 3px;
  background: #0c0a09;
  box-shadow: 0 46px 90px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.hero-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.005);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.42) 0%, transparent 22%, transparent 47%, rgba(8, 7, 6, 0.94) 79%, #080706 100%),
    linear-gradient(90deg, rgba(8, 7, 6, 0.32), transparent 34%, transparent 72%, rgba(8, 7, 6, 0.22));
}
.hero-vertical {
  position: absolute;
  top: 28px;
  left: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 44px;
  padding: 13px 0;
  border: 1px solid rgba(231, 187, 115, 0.26);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.48);
  backdrop-filter: blur(4px);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hero-vertical i { display: block; width: 1px; height: 20px; background: rgba(231, 187, 115, 0.4); }
.hero-vertical b { font-weight: 500; }
.hero-stamp {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(231, 187, 115, 0.42);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.64);
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}
.hero-stamp::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember);
}
.hero-play {
  position: absolute;
  right: 20px;
  bottom: 208px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(243, 236, 223, 0.22);
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.54);
  backdrop-filter: blur(12px);
  color: var(--text);
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-play:hover { background: rgba(231, 187, 115, 0.16); border-color: var(--gold); transform: translateY(-2px); }
.hero-play > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.hero-play b { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; }
.hero-play small { margin-top: 3px; color: var(--dim); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; }
.play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #171006;
}
.play-icon.small { width: 25px; height: 25px; background: var(--gold); }
.play-icon.small::before { border-top-width: 4px; border-bottom-width: 4px; border-left-width: 6px; }
.hero-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 56px 26px 24px;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.9) 28%, #080706 64%);
}
.hero-caption > p:first-child { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 9.5px; letter-spacing: 0.18em; }
.hero-caption > p:first-child span + span::before { content: "·"; margin-right: 14px; color: var(--gold); }
.hero-caption h2,
.hero-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.12em;
}
.hero-caption-desc { margin-top: 7px; color: var(--text-soft); font-size: 11.5px; letter-spacing: 0.04em; }

.hero-inset {
  position: absolute;
  z-index: 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 236, 223, 0.24);
  border-radius: 2px;
  background: #0b0a09;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 18px 9px 8px;
  background: linear-gradient(transparent, rgba(8, 7, 6, 0.92));
  font-size: 8.5px;
  letter-spacing: 0.08em;
}
.hero-inset figcaption span { color: var(--gold); font-family: var(--mono); font-size: 7px; }
.inset-a {
  width: 148px;
  aspect-ratio: 4 / 5;
  top: 34px;
  right: -38px;
  transform: rotate(4.5deg);
}
.inset-b {
  width: 164px;
  aspect-ratio: 4 / 5;
  left: -54px;
  bottom: 132px;
  transform: rotate(-4deg);
}
.hero-orbit {
  position: absolute;
  z-index: 6;
  left: -34px;
  top: 29%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(231, 187, 115, 0.4);
  border-radius: 50%;
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(8px);
  transform: rotate(-8deg);
}
.hero-orbit span { font-family: var(--serif); font-size: 25px; color: var(--gold); line-height: 1; }
.hero-orbit small { margin-top: 6px; color: var(--dim); font-family: var(--mono); font-size: 5.5px; letter-spacing: 0.14em; text-align: center; line-height: 1.5; }
.hero-score {
  position: absolute;
  z-index: 6;
  right: -30px;
  bottom: 314px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(231, 187, 115, 0.28);
  background: rgba(11, 10, 9, 0.86);
  backdrop-filter: blur(8px);
}
.hero-score b { color: var(--gold); font-family: var(--serif); font-size: 25px; line-height: 1; }
.hero-score span { color: var(--dim); font-size: 7px; line-height: 1.5; letter-spacing: 0.08em; }
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.hero-footnote span { color: var(--gold); font-family: var(--mono); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow-line { width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-copy h1 {
  margin: 21px 0 24px;
  font-family: var(--serif);
  font-size: clamp(50px, 5.1vw, 72px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0.012em;
  text-wrap: balance;
}
.h1-brand {
  display: block;
  margin-bottom: 15px;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.38em;
}
.h1-brand::before { content: "— "; color: var(--gold); }
.hero-copy h1 em {
  position: relative;
  color: var(--ember);
  white-space: nowrap;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -7px;
  height: 1px;
  background: linear-gradient(90deg, var(--ember), rgba(255, 106, 61, 0.12));
  transform: rotate(-0.6deg);
}
.lead { max-width: 560px; color: var(--text-soft); font-size: 15.5px; line-height: 1.95; }
.lead-sub { max-width: 540px; margin-top: 10px; color: var(--dim); font-size: 12.5px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn i { font-style: normal; font-size: 15px; line-height: 1; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translate(2px, -2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--ember), #e9512c);
  color: #170b06;
  box-shadow: 0 16px 38px rgba(255, 106, 61, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(255, 106, 61, 0.3); }
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(231, 187, 115, 0.08); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before { content: ""; width: 4px; height: 4px; border: 1px solid var(--gold); transform: rotate(45deg); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 33px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-stats div { min-width: 0; }
.hero-stats dt { color: var(--text); font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hero-stats dt sup { color: var(--gold); font-family: var(--sans); font-size: 9px; font-weight: 400; }
.hero-stats dd { margin-top: 5px; color: var(--dim); font-size: 9px; letter-spacing: 0.08em; white-space: nowrap; }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 15px 0;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { color: var(--muted); font-size: 9.5px; letter-spacing: 0.26em; white-space: nowrap; }
.marquee i { color: var(--gold-deep); font-size: 5px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 05. Section primitives ---------- */
.section { position: relative; padding: 112px 0; }
.section-head { margin-bottom: 54px; }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
  align-items: end;
  gap: clamp(40px, 6vw, 90px);
}
.sec-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sec-kicker span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 8px;
}
.sec-kicker.dark { color: #8f3b20; }
.sec-kicker.dark span { border-color: rgba(23, 18, 12, 0.3); color: #8f3b20; }
.section h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
}
.sec-note {
  max-width: 440px;
  padding-left: 24px;
  border-left: 1px solid var(--line-gold);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(231, 187, 115, 0.38);
  color: var(--gold-2);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover { color: #fff; border-color: #fff; }
.text-link:hover span { transform: translateX(3px); }
.dark-link { color: #7f3118; border-color: rgba(127, 49, 24, 0.35); }
.dark-link:hover { color: #17120c; border-color: #17120c; }

/* ---------- 06. Feature ---------- */
.feature {
  background:
    radial-gradient(760px 460px at 6% 20%, rgba(231, 187, 115, 0.05), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, #0e0c0a 100%);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}
.feature-media { position: relative; padding-left: 18px; }
.feature-poster {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(231, 187, 115, 0.28);
  border-radius: 2px;
  background: #0b0a09;
  box-shadow: var(--shadow);
}
.feature-poster > img { width: 100%; height: 100%; object-fit: cover; }
.media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 8, 7, 0.24), transparent 25%, transparent 52%, rgba(9, 8, 7, 0.92) 86%, #090807),
    linear-gradient(90deg, rgba(9, 8, 7, 0.22), transparent 34%);
}
.media-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 11px;
  border: 1px solid rgba(231, 187, 115, 0.36);
  background: rgba(9, 8, 7, 0.58);
  backdrop-filter: blur(8px);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
}
.media-play {
  position: absolute;
  top: 45%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(243, 236, 223, 0.4);
  border-radius: 50%;
  background: rgba(9, 8, 7, 0.34);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.media-play .play-icon { width: 48px; height: 48px; }
.media-play:hover { background: rgba(231, 187, 115, 0.18); border-color: var(--gold); transform: translate(-50%, -50%) scale(1.05); }
.media-caption { position: absolute; inset: auto 0 0; padding: 26px; }
.media-caption span { display: block; color: var(--gold); font-size: 9px; letter-spacing: 0.2em; }
.media-caption b { display: block; margin: 8px 0 4px; font-family: var(--serif); font-size: 31px; letter-spacing: 0.1em; }
.media-caption small { color: var(--muted); font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; }
.feature-quote {
  position: absolute;
  right: -26px;
  bottom: 58px;
  z-index: 4;
  width: min(330px, 82%);
  padding: 20px 22px;
  border: 1px solid rgba(231, 187, 115, 0.3);
  background: rgba(22, 18, 13, 0.94);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}
.feature-quote p { font-family: var(--serif); font-size: 14px; line-height: 1.75; color: var(--gold-2); }
.feature-quote cite { display: block; margin-top: 10px; color: var(--dim); font-size: 8.5px; font-style: normal; letter-spacing: 0.12em; }
.feature-disc {
  position: absolute;
  left: -20px;
  bottom: 150px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gold);
  color: #171006;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}
.tag-row span:first-child { border-color: var(--line-gold); color: var(--gold-2); }
.feature-copy h3 {
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: clamp(44px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
}
.feature-deck { max-width: 620px; color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.8; }
.feature-body { max-width: 620px; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.beats { margin-top: 32px; border-top: 1px solid var(--line); }
.beats li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.beat-no { color: var(--gold); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.beats b { display: block; color: var(--text); font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; }
.beats p { margin-top: 4px; color: var(--dim); font-size: 11.5px; line-height: 1.7; }
.beat-time { color: var(--dim); font-family: var(--mono); font-size: 8px; text-align: right; line-height: 1.9; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 24px; padding: 17px 0; color: var(--dim); font-size: 9.5px; letter-spacing: 0.06em; }
.feature-meta b { color: var(--gold-2); font-family: var(--serif); font-size: 17px; font-weight: 700; margin-right: 5px; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }

/* ---------- 07. Library ---------- */
.library {
  background: #0c0a09;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.library-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 36px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filters button sup { margin-left: 4px; color: var(--dim); font-family: var(--mono); font-size: 7px; }
.filters button:hover { border-color: var(--line-strong); color: var(--text); }
.filters button.is-active { background: var(--gold); border-color: var(--gold); color: #171006; }
.filters button.is-active sup { color: rgba(23, 16, 6, 0.56); }
.library-count { color: var(--dim); font-size: 9.5px; letter-spacing: 0.1em; white-space: nowrap; }
.library-count b { color: var(--gold); font-family: var(--mono); font-size: 11px; }
.library-count span { margin: 0 6px; color: var(--line-strong); }
.drama-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.drama-card { min-width: 0; transition: opacity 0.35s, transform 0.35s; }
.drama-card.is-hidden { display: none; }
.drama-more {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100%;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(420px 280px at 100% 0%, rgba(231, 187, 115, 0.16), transparent 66%),
    linear-gradient(145deg, #17130e, #0e0c09);
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s;
}
.drama-more:hover { border-color: var(--gold); transform: translateY(-4px); }
.drama-more.is-hidden { display: none; }
.more-kicker { color: var(--gold); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.2em; }
.drama-more strong { position: relative; z-index: 2; margin: 12px 0 9px; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; }
.drama-more p { position: relative; z-index: 2; max-width: 330px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.more-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid rgba(231, 187, 115, 0.38); color: var(--gold-2); font-size: 10.5px; letter-spacing: 0.08em; }
.more-cta i { font-style: normal; transition: transform 0.25s var(--ease); }
.drama-more:hover .more-cta i { transform: translate(2px, -2px); }
.more-mark { position: absolute; right: -14px; bottom: -54px; color: rgba(231, 187, 115, 0.07); font-family: var(--serif); font-size: 240px; font-weight: 700; line-height: 1; pointer-events: none; }
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(243, 236, 223, 0.12);
  border-radius: 2px;
  background: #12100d;
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.4s;
}
.poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.93);
}
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.34), transparent 18%, transparent 38%, rgba(8, 7, 6, 0.87) 65%, #0a0908 88%),
    linear-gradient(270deg, rgba(8, 7, 6, 0.34), transparent 18%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.5), transparent 30%);
}
.poster-top {
  position: absolute;
  z-index: 3;
  inset: 12px 12px auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(243, 236, 223, 0.24);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.48);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.badge.gold { border-color: rgba(231, 187, 115, 0.4); color: var(--gold-2); }
.badge.new { border-color: rgba(255, 106, 61, 0.46); color: var(--ember-2); }
.score {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.score::after { content: "分"; color: var(--dim); font-family: var(--sans); font-size: 7px; font-weight: 400; }
.poster-copy { position: absolute; z-index: 3; inset: auto 0 0; padding: 20px 18px 17px; }
.poster-kicker { color: var(--gold); font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.18em; }
.poster h3 { margin-top: 5px; font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); font-weight: 700; line-height: 1.3; letter-spacing: 0.05em; }
.poster-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}
.poster-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(243, 236, 223, 0.14); color: var(--dim); font-size: 8px; letter-spacing: 0.06em; }
.poster-play {
  position: absolute;
  z-index: 4;
  right: 16px;
  top: 41%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(243, 236, 223, 0.38);
  border-radius: 50%;
  background: rgba(8, 7, 6, 0.42);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 9px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
}
.drama-card:hover .poster { transform: translateY(-6px); border-color: rgba(231, 187, 115, 0.48); box-shadow: 0 26px 52px rgba(0, 0, 0, 0.52); }
.drama-card:hover .poster > img { transform: scale(1.045); filter: saturate(1.02); }
.drama-card:hover .poster-play { opacity: 1; transform: translateY(0); background: rgba(231, 187, 115, 0.18); }
.drama-card.is-picked .poster { animation: picked 1.3s var(--ease); border-color: var(--gold); }
@keyframes picked {
  0% { box-shadow: 0 0 0 0 rgba(231, 187, 115, 0.6); }
  60% { box-shadow: 0 0 0 8px rgba(231, 187, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 187, 115, 0); }
}
.library-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.library-foot p { display: flex; align-items: center; gap: 9px; color: var(--dim); font-size: 10px; letter-spacing: 0.08em; }
.pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(231, 187, 115, 0.5); animation: goldPulse 2.6s infinite; }
@keyframes goldPulse {
  70% { box-shadow: 0 0 0 6px rgba(231, 187, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 187, 115, 0); }
}

/* ---------- 08. Craft / paper section ---------- */
.craft {
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 92% 18%, rgba(255, 255, 255, 0.4), transparent 65%),
    linear-gradient(135deg, var(--paper) 0%, #e3d6c1 56%, #d8c8b0 100%);
  padding: 118px 0;
}
.craft::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: url("./img/noise.png");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
}
.craft-word {
  position: absolute;
  right: -40px;
  top: 6px;
  color: rgba(23, 18, 12, 0.045);
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
}
.craft-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 7vw, 94px);
  align-items: center;
}
.craft-media { position: relative; }
.craft-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 13px;
  border: 1px solid rgba(23, 18, 12, 0.25);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 20px 22px 0 rgba(23, 18, 12, 0.08);
}
.craft-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.03); }
.craft-frame::after { content: ""; position: absolute; inset: 13px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 7, 6, 0.08), transparent 36%, rgba(8, 7, 6, 0.84) 82%, rgba(8, 7, 6, 0.96)); }
.craft-frame-line { position: absolute; inset: 22px; z-index: 2; border: 1px solid rgba(243, 236, 223, 0.2); pointer-events: none; }
.craft-frame-copy { position: absolute; z-index: 3; left: 30px; right: 30px; bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: var(--text); }
.craft-frame-copy span { font-family: var(--mono); font-size: 7px; letter-spacing: 0.18em; writing-mode: vertical-rl; }
.craft-frame-copy b { font-family: var(--serif); font-size: 26px; line-height: 1.3; letter-spacing: 0.08em; text-align: right; }
.craft-sticker {
  position: absolute;
  top: 24px;
  right: -26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(7deg);
  box-shadow: 0 16px 30px rgba(23, 18, 12, 0.22);
}
.craft-sticker b { color: var(--gold); font-family: var(--serif); font-size: 29px; line-height: 1; }
.craft-sticker span { margin-top: 5px; font-size: 7px; line-height: 1.5; letter-spacing: 0.1em; text-align: center; }
.craft-caption { margin-top: 17px; color: rgba(23, 18, 12, 0.52); font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.14em; }
.craft-copy h2 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(38px, 4vw, 52px); font-weight: 700; line-height: 1.24; letter-spacing: 0.015em; }
.craft-copy h2 em { color: #a23e1f; }
.craft-intro { max-width: 580px; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.craft-list { margin-top: 30px; border-top: 1px solid rgba(23, 18, 12, 0.18); }
.craft-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(23, 18, 12, 0.16); }
.craft-list .num { color: #a23e1f; font-family: var(--mono); font-size: 10px; line-height: 1.9; }
.craft-list h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.04em; }
.craft-list h3 span { color: rgba(23, 18, 12, 0.54); font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: 0.08em; }
.craft-list p { margin-top: 6px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.craft-quote { margin-top: 28px; padding-left: 20px; border-left: 2px solid #a23e1f; color: #2d2419; font-family: var(--serif); font-size: 17px; line-height: 1.8; }
.craft-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; }
.craft-foot > span { color: rgba(23, 18, 12, 0.5); font-size: 9px; letter-spacing: 0.08em; }

/* ---------- 09. Playlists ---------- */
.playlists { background: var(--bg); }
.playlist-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 342px 342px;
  gap: 22px;
}
.play-card {
  position: relative;
  grid-column: span 5;
  overflow: hidden;
  border: 1px solid rgba(243, 236, 223, 0.13);
  border-radius: 2px;
  background: #12100d;
}
.play-card.large { grid-column: span 7; grid-row: span 2; }
.play-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.play-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.35), transparent 30%, rgba(8, 7, 6, 0.88) 86%, #090807),
    linear-gradient(90deg, rgba(8, 7, 6, 0.42), transparent 56%);
}
.play-top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.play-top b { color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 700; }
.play-top small { color: rgba(243, 236, 223, 0.52); font-family: var(--mono); font-size: 7px; letter-spacing: 0.2em; }
.play-copy { position: absolute; inset: auto 0 0; padding: 26px 28px; }
.play-copy > p:first-child { color: var(--gold-2); font-size: 9px; letter-spacing: 0.2em; }
.play-copy h3 { margin: 10px 0 11px; font-family: var(--serif); font-size: clamp(27px, 2.6vw, 36px); font-weight: 700; line-height: 1.25; letter-spacing: 0.04em; }
.play-card.large .play-copy h3 { font-size: clamp(36px, 3.6vw, 52px); }
.play-copy h3 em { color: var(--gold-2); }
.play-desc { max-width: 520px; color: var(--text-soft); font-size: 11.5px; line-height: 1.8; }
.play-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(243, 236, 223, 0.18); color: var(--dim); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; }
.play-meta i { color: var(--gold); font-family: var(--sans); font-style: normal; letter-spacing: 0.08em; transition: transform 0.25s var(--ease); }
.play-card:hover > img { transform: scale(1.04); }
.play-card:hover .play-meta i { transform: translateX(4px); }
.play-card:hover { border-color: rgba(231, 187, 115, 0.38); }

/* ---------- 10. Ranking ---------- */
.ranking {
  background: #0c0a09;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ranking-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 44px;
}
.ranking-head h2 { margin-top: 0; }
.rank-side > p { max-width: 430px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.rank-tabs { display: flex; gap: 28px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.rank-tabs button {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.rank-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.rank-tabs button.is-active { color: var(--gold-2); }
.rank-tabs button.is-active::after { transform: scaleX(1); }
.rank-panel { display: none; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: 44px; }
.rank-panel.is-active { display: grid; animation: panelIn 0.5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.rank-feature { position: relative; min-height: 596px; overflow: hidden; border: 1px solid rgba(231, 187, 115, 0.26); background: #0b0a09; }
.rank-poster { position: absolute; inset: 0; }
.rank-poster > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(0.88); }
.rank-poster::before { content: ""; position: absolute; z-index: 1; top: 0; right: 0; width: 106px; height: 66px; background: radial-gradient(120% 120% at 100% 0%, rgba(8, 7, 6, 0.94), rgba(8, 7, 6, 0.55) 58%, transparent); pointer-events: none; }
.rank-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 7, 6, 0.32), transparent 26%, rgba(8, 7, 6, 0.82) 68%, #080706 100%); }
.rank-big {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 20px;
  color: rgba(243, 236, 223, 0.32);
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  padding: 6px 11px;
  border: 1px solid rgba(231, 187, 115, 0.36);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.5);
  backdrop-filter: blur(8px);
  color: var(--gold-2);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.rank-feature-copy { position: absolute; z-index: 2; inset: auto 0 0; padding: 28px; }
.rank-kicker { color: var(--gold); font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; }
.rank-feature-copy h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: 38px; font-weight: 700; letter-spacing: 0.08em; }
.rank-feature-copy > p:not(.rank-kicker) { color: var(--text-soft); font-size: 11.5px; line-height: 1.8; }
.rank-feature-copy dl { display: flex; gap: 24px; margin: 20px 0 18px; padding: 14px 0; border-top: 1px solid rgba(243, 236, 223, 0.18); border-bottom: 1px solid rgba(243, 236, 223, 0.18); }
.rank-feature-copy dt { color: var(--gold-2); font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.2; }
.rank-feature-copy dd { margin-top: 4px; color: var(--dim); font-size: 8px; letter-spacing: 0.08em; }
.rank-list { border-top: 1px solid var(--line); }
.rank-list li {
  display: grid;
  grid-template-columns: 30px 64px minmax(0, 1fr) 42px 46px;
  gap: 14px;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.rank-list li:hover { background: rgba(243, 236, 223, 0.03); }
.r-no { color: var(--dim); font-family: var(--serif); font-size: 17px; }
.rank-list li:first-child .r-no { color: var(--gold); }
.rank-list img { width: 64px; height: 80px; object-fit: cover; border: 1px solid rgba(243, 236, 223, 0.14); }
.r-info { min-width: 0; }
.r-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.r-info span { display: block; margin-top: 4px; color: var(--dim); font-size: 8.5px; letter-spacing: 0.06em; }
.r-score { color: var(--gold-2); font-family: var(--serif); font-size: 18px; font-weight: 700; text-align: right; }
.r-trend { color: var(--dim); font-family: var(--mono); font-size: 8px; text-align: right; }
.r-trend.up { color: #b7d68b; }
.r-trend.down { color: #e49a85; }
.r-trend.new { color: var(--ember-2); }

/* ---------- 11. Voices ---------- */
.voices { background: var(--bg); }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.voice-card {
  display: flex;
  flex-direction: column;
  min-height: 264px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.voice-card:hover { border-color: var(--line-strong); }
.voice-lead {
  grid-row: span 2;
  justify-content: space-between;
  background:
    radial-gradient(480px 300px at 100% 0%, rgba(231, 187, 115, 0.12), transparent 64%),
    linear-gradient(160deg, #1a1611, #100d0a);
  border-color: var(--line-gold);
}
.voice-score { display: flex; align-items: flex-end; gap: 7px; }
.voice-score b { color: var(--gold-2); font-family: var(--serif); font-size: 78px; font-weight: 700; line-height: 0.86; letter-spacing: -0.04em; }
.voice-score span { color: var(--dim); font-family: var(--mono); font-size: 8px; line-height: 1.5; }
.voice-lead-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-soft); font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.voice-bars { margin: 18px 0 20px; }
.voice-bars p { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9.5px; }
.voice-bars p b { color: var(--gold); font-family: var(--mono); font-size: 9px; font-weight: 500; }
.voice-bars i { display: block; height: 2px; margin: 8px 0 14px; background: rgba(243, 236, 223, 0.1); overflow: hidden; }
.voice-bars i b { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.voice-count { color: var(--dim); font-size: 8px; letter-spacing: 0.1em; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 0.18em; }
.stars.four { color: var(--gold-deep); }
.voice-card blockquote { flex: 1; margin: 16px 0 24px; color: var(--text-soft); font-family: var(--serif); font-size: 14.5px; line-height: 1.95; }
.voice-card footer { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.voice-card footer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: saturate(0.8); }
.voice-card footer div { min-width: 0; }
.voice-card footer b { display: block; font-size: 11px; font-weight: 500; }
.voice-card footer span { display: block; margin-top: 3px; color: var(--dim); font-size: 8px; letter-spacing: 0.05em; }
.voice-card footer time { margin-left: auto; color: var(--dim); font-family: var(--mono); font-size: 8px; }

/* ---------- 12. FAQ ---------- */
.faq {
  background: #0c0a09;
  border-top: 1px solid var(--line);
}
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(44px, 6vw, 88px); align-items: start; }
.faq-intro h2 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(46px, 5vw, 64px); font-weight: 700; line-height: 1.15; }
.faq-intro > p { max-width: 330px; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
.faq-figure { position: relative; max-width: 340px; aspect-ratio: 4 / 5; margin-top: 34px; overflow: hidden; border: 1px solid var(--line); }
.faq-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82); }
.faq-figure figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(8, 7, 6, 0.94)); }
.faq-figure figcaption span { display: block; color: var(--gold); font-family: var(--mono); font-size: 7px; letter-spacing: 0.2em; }
.faq-figure figcaption b { display: block; margin: 5px 0 3px; font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; }
.faq-figure figcaption small { color: var(--dim); font-size: 8px; letter-spacing: 0.08em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.015em;
}
.faq-q > span { display: flex; align-items: baseline; gap: 14px; }
.faq-q i { color: var(--gold); font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: 0.08em; }
.faq-q b { position: relative; flex: none; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color 0.25s, transform 0.35s var(--ease); }
.faq-q b::before, .faq-q b::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: var(--gold); transform: translate(-50%, -50%); transition: transform 0.3s, opacity 0.3s; }
.faq-q b::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover { color: var(--gold-2); }
.faq-q:hover b { border-color: var(--gold); }
.faq-item.is-open .faq-q b { border-color: var(--gold); transform: rotate(180deg); }
.faq-item.is-open .faq-q b::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a > div { padding: 0 38px 22px 0; }
.faq-a p { color: var(--muted); font-size: 12px; line-height: 1.95; }
.faq-a p + p { margin-top: 9px; }

/* ---------- 13. Download ---------- */
.download { padding: 112px 0; background: var(--bg); }
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  min-height: 620px;
  padding: 64px 58px;
  overflow: hidden;
  border: 1px solid rgba(231, 187, 115, 0.28);
  border-radius: 3px 44px 3px 3px;
  background:
    radial-gradient(760px 500px at 84% 38%, rgba(255, 106, 61, 0.14), transparent 64%),
    radial-gradient(620px 400px at 4% 0%, rgba(231, 187, 115, 0.1), transparent 60%),
    linear-gradient(135deg, #19140e, #0f0c09 62%, #15110c);
}
.download-card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(243, 236, 223, 0.08); border-radius: 2px 34px 2px 2px; pointer-events: none; }
.download-aura { position: absolute; right: 6%; top: 12%; width: 460px; height: 460px; border: 1px solid rgba(231, 187, 115, 0.1); border-radius: 50%; box-shadow: 0 0 120px rgba(255, 106, 61, 0.1) inset; pointer-events: none; }
.download-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; }
.download-copy h2 { margin: 2px 0 18px; font-family: var(--serif); font-size: clamp(48px, 5.2vw, 68px); font-weight: 700; line-height: 1.14; }
.download-copy h2 em { color: var(--ember); }
.download-copy > p { max-width: 480px; color: var(--text-soft); font-size: 13px; line-height: 1.95; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.download-qr { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.download-qr img { width: 92px; height: 92px; padding: 5px; background: #fff; border-radius: 2px; }
.download-qr b { display: block; color: var(--text); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.download-qr span { display: block; margin-top: 4px; color: var(--dim); font-size: 9px; line-height: 1.7; }
.device-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.device-pills li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); font-size: 8.5px; letter-spacing: 0.08em; }
.phone-stage { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 520px; }
.phone {
  position: relative;
  width: 292px;
  height: 596px;
  padding: 8px;
  border: 1px solid rgba(243, 236, 223, 0.24);
  border-radius: 42px;
  background: #252019;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(5deg);
}
.phone-notch { position: absolute; z-index: 5; top: 16px; left: 50%; width: 74px; height: 22px; border-radius: 999px; background: #0b0907; transform: translateX(-50%); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 34px; background: #0b0a09; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88) brightness(0.9); }
.phone-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 18px 22px; background: linear-gradient(180deg, rgba(8, 7, 6, 0.6), transparent 24%, transparent 52%, rgba(8, 7, 6, 0.9)); }
.phone-status { display: flex; align-items: center; justify-content: space-between; color: rgba(243, 236, 223, 0.74); font-family: var(--mono); font-size: 7px; letter-spacing: 0.1em; }
.phone-top { display: flex; align-items: center; gap: 9px; margin-top: 4px; }
.phone-top span { padding: 3px 7px; border: 1px solid rgba(231, 187, 115, 0.4); color: var(--gold-2); font-family: var(--mono); font-size: 6px; letter-spacing: 0.12em; }
.phone-top b { color: var(--text); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; }
.phone-bottom { padding: 12px; border: 1px solid rgba(243, 236, 223, 0.14); border-radius: 10px; background: rgba(9, 8, 7, 0.72); backdrop-filter: blur(10px); }
.phone-bottom p { font-family: var(--serif); font-size: 18px; letter-spacing: 0.08em; }
.phone-bottom > span { display: block; margin-top: 4px; color: var(--muted); font-size: 7.5px; line-height: 1.6; }
.phone-progress { height: 2px; margin-top: 11px; background: rgba(243, 236, 223, 0.16); }
.phone-progress i { display: block; width: 72%; height: 100%; background: var(--gold); }
.phone-time { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; color: var(--dim); font-family: var(--mono); font-size: 6px; }
.phone-glow { position: absolute; left: 50%; bottom: -20%; width: 70%; height: 40%; background: rgba(255, 106, 61, 0.24); filter: blur(38px); transform: translateX(-50%); pointer-events: none; }
.phone-note {
  position: absolute;
  z-index: 5;
  padding: 10px 14px;
  border: 1px solid rgba(231, 187, 115, 0.3);
  background: rgba(15, 12, 9, 0.9);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.phone-note b { display: block; color: var(--text); font-family: var(--serif); font-size: 15px; letter-spacing: 0.06em; }
.note-a { top: 80px; right: 2%; transform: rotate(-5deg); }
.note-b { bottom: 94px; left: 0; transform: rotate(4deg); }

/* ---------- 13b. Partners ---------- */
.partners {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #080706;
}
.partners-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.partners-label { flex: none; color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.partners-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.partners-list li {
  padding: 8px 21px;
  border: 1px solid rgba(231, 187, 115, 0.32);
  border-radius: 999px;
  background: rgba(231, 187, 115, 0.03);
  color: var(--gold-2);
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.partners-list li:hover { border-color: var(--gold); background: rgba(231, 187, 115, 0.13); color: #fff; transform: translateY(-2px); }

/* ---------- 14. Footer ---------- */
.site-foot { padding: 68px 0 26px; border-top: 1px solid var(--line); background: #070605; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1.35fr 0.75fr; gap: 60px; padding-bottom: 52px; }
.foot-brand p { max-width: 310px; margin: 20px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.foot-domain { color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-cols h3 { margin-bottom: 15px; color: var(--text); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; }
.foot-cols a { display: block; width: fit-content; margin-bottom: 9px; color: var(--dim); font-size: 10px; letter-spacing: 0.05em; transition: color 0.2s, transform 0.2s; }
.foot-cols a:hover { color: var(--gold-2); transform: translateX(2px); }
.foot-note { border-left: 1px solid var(--line); padding-left: 26px; }
.foot-mark { color: var(--gold); font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: 0.04em; }
.foot-mark span { color: var(--dim); font-size: 18px; margin: 0 4px; }
.foot-note > p:last-child { margin-top: 16px; color: var(--dim); font-size: 8.5px; line-height: 1.8; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-bottom p, .foot-bottom nav a, .to-top { color: var(--dim); font-size: 8.5px; letter-spacing: 0.06em; }
.foot-bottom nav { display: flex; gap: 20px; }
.foot-bottom nav a:hover, .to-top:hover { color: var(--gold-2); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 9px; }

/* ---------- 15. Toast / reveal ---------- */
.toast {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 30px;
  max-width: min(90vw, 460px);
  padding: 12px 20px;
  border: 1px solid rgba(231, 187, 115, 0.36);
  border-radius: 999px;
  background: rgba(17, 14, 10, 0.96);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 15b. Floating download dock + back to top ---------- */
.dl-dock {
  position: fixed;
  z-index: 1150;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(392px, calc(100vw - 48px));
  padding: 12px 16px;
  border: 1px solid rgba(231, 187, 115, 0.34);
  border-radius: 4px 18px 4px 4px;
  background:
    radial-gradient(240px 130px at 0% 0%, rgba(231, 187, 115, 0.15), transparent 70%),
    linear-gradient(145deg, rgba(24, 20, 14, 0.98), rgba(10, 9, 7, 0.98));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: dockIn 0.65s 0.45s var(--ease) both;
}
@keyframes dockIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.dl-dock.is-hidden { display: none; }
.dl-dock-logo {
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid rgba(231, 187, 115, 0.32);
  border-radius: 10px;
  object-fit: cover;
}
.dl-dock-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.dl-dock-copy b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dl-dock-copy span { color: var(--dim); font-size: 9px; letter-spacing: 0.07em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #171006;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.dl-dock-btn i { font-style: normal; font-size: 12px; }
.dl-dock-btn:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(231, 187, 115, 0.24); }
.dl-dock-close {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #14110d;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.dl-dock-close:hover { color: #171006; border-color: var(--gold); background: var(--gold); }

.to-top-fab {
  position: fixed;
  z-index: 1150;
  right: 24px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(231, 187, 115, 0.36);
  border-radius: 50%;
  background: rgba(16, 13, 9, 0.92);
  color: var(--gold-2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.25s, color 0.25s, border-color 0.25s;
}
.to-top-fab span { font-size: 18px; line-height: 1; }
.to-top-fab:hover { background: var(--gold); border-color: var(--gold); color: #171006; }
.to-top-fab.is-visible { opacity: 1; visibility: visible; transform: none; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .drama-card:nth-child(2n).reveal { transition-delay: 0.06s; }
.js .drama-card:nth-child(3n).reveal { transition-delay: 0.12s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 19px; }
  .nav a { font-size: 11.5px; }
  .hero-copy h1 { font-size: clamp(48px, 5.4vw, 64px); }
  .inset-a { width: 130px; right: -20px; }
  .inset-b { width: 156px; left: -36px; }
  .hero-orbit { left: -18px; width: 86px; height: 86px; }
  .hero-score { right: -14px; }
  .drama-grid { gap: 18px; }
  .playlist-mosaic { grid-template-rows: 320px 320px; }
  .download-card { padding: 54px 44px; }
}

@media (max-width: 1020px) {
  .shell { width: min(100% - 48px, var(--shell)); }
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav-open .nav {
    position: fixed;
    inset: 80px 0 auto;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 24px 30px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 9, 8, 0.98);
    backdrop-filter: blur(20px);
  }
  .nav-open .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-open .nav a::after { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { order: 1; max-width: 720px; }
  .hero-visual { order: 2; width: min(100%, 620px); margin: 0 auto; }
  .hero-frame { width: min(100%, 500px); }
  .hero-stats { max-width: 620px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-media { max-width: 620px; }
  .feature-copy { max-width: 720px; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-media { max-width: 560px; }
  .craft-copy { max-width: 760px; }
  .rank-panel { grid-template-columns: 1fr; gap: 30px; }
  .rank-feature { min-height: 560px; }
  .ranking-head { grid-template-columns: 1fr; gap: 26px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { display: grid; grid-template-columns: 1fr 260px; column-gap: 34px; align-items: end; }
  .faq-intro .sec-kicker, .faq-intro h2, .faq-intro > p { grid-column: 1; }
  .faq-figure { grid-column: 2; grid-row: 1 / span 4; max-width: 260px; margin-top: 0; }
  .download-card { grid-template-columns: 1fr; min-height: 0; }
  .phone-stage { min-height: 590px; margin-top: 10px; }
  .phone { transform: rotate(3deg); }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-note { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .foot-note > p:last-child { max-width: 520px; }
}

@media (max-width: 820px) {
  .section { padding: 86px 0; }
  .hero { padding-top: 36px; }
  .hero-copy h1 { font-size: clamp(42px, 8vw, 58px); }
  .hero-frame { width: min(100%, 450px); }
  .section-head.split { grid-template-columns: 1fr; gap: 24px; }
  .sec-note { max-width: 560px; }
  .drama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .drama-more { grid-column: 1 / -1; }
  .poster h3 { font-size: 24px; }
  .playlist-mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .play-card, .play-card.large { grid-column: auto; grid-row: auto; min-height: 430px; }
  .play-card.large { min-height: 500px; }
  .voices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice-lead { grid-row: auto; grid-column: 1 / -1; min-height: 300px; }
  .download-card { padding: 44px 30px 34px; }
  .download-copy h2 { font-size: 52px; }
  .foot-cols { gap: 18px; }
  .foot-bottom { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .topbar-inner { min-height: 34px; justify-content: center; }
  .topbar-link { display: none; }
  .topbar-note { font-size: 8.5px; letter-spacing: 0.1em; }
  .head-inner { min-height: 68px; gap: 12px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text b { font-size: 13px; }
  .brand-text small { font-size: 6.5px; }
  .head-cta { height: 36px; padding: 0 6px 0 12px; font-size: 9.5px; gap: 8px; }
  .head-cta i { width: 22px; height: 22px; }
  .nav-open .nav { top: 68px; }
  .hero { padding-top: 30px; }
  .hero-grid { gap: 40px; padding-bottom: 40px; }
  .eyebrow { font-size: 7.5px; letter-spacing: 0.16em; }
  .hero-copy h1 { margin: 16px 0 20px; font-size: clamp(38px, 10.4vw, 48px); line-height: 1.18; }
  .h1-brand { margin-bottom: 12px; font-size: 9px; letter-spacing: 0.24em; }
  .lead { font-size: 14px; }
  .lead-sub { font-size: 11.5px; }
  .hero-actions { gap: 9px; margin-top: 24px; }
  .btn { min-height: 46px; padding: 0 19px; font-size: 11px; }
  .hero-points { gap: 7px 14px; font-size: 9px; }
  .hero-stats { gap: 10px; margin-top: 26px; }
  .hero-stats dt { font-size: 19px; }
  .hero-stats dd { font-size: 8px; }
  .hero-frame { width: min(100%, 390px); }
  .hero-frame::before { inset: 14px -12px -14px 18px; }
  .hero-main { border-radius: 2px 28px 2px 2px; }
  .hero-caption { padding: 45px 18px 18px; }
  .hero-caption h2, .hero-title { font-size: 28px; }
  .hero-caption-desc { font-size: 10px; }
  .hero-play, .hero-score, .inset-b, .hero-orbit { display: none; }
  .inset-a { width: 96px; top: 18px; right: -6px; }
  .hero-vertical { left: 44%; width: 38px; top: 18px; }
  .hero-footnote { margin-top: 22px; font-size: 8px; }
  .marquee-track { gap: 18px; padding: 12px 0; }
  .marquee span { font-size: 8px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .section h2 { font-size: clamp(32px, 8.3vw, 40px); }
  .sec-kicker { margin-bottom: 14px; font-size: 7.5px; letter-spacing: 0.16em; }
  .sec-kicker span { width: 21px; height: 21px; }
  .sec-note { padding-left: 16px; font-size: 12px; }
  .feature-media { padding-left: 0; }
  .feature-quote { position: static; width: auto; margin-top: 16px; }
  .feature-disc { display: none; }
  .media-play { width: 62px; height: 62px; }
  .media-play .play-icon { width: 40px; height: 40px; }
  .feature-copy h3 { font-size: 42px; }
  .feature-deck { font-size: 16px; }
  .feature-body { font-size: 12px; }
  .beats li { grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 8px; }
  .beats b { font-size: 12.5px; }
  .feature-meta { gap: 15px; }
  .feature-actions { gap: 16px; }
  .library-bar { align-items: flex-start; flex-direction: column; gap: 13px; }
  .library-count { white-space: normal; }
  .filters button { min-height: 33px; padding: 0 13px; font-size: 10px; }
  .drama-grid { gap: 12px; }
  .poster-copy { padding: 16px 13px 13px; }
  .poster h3 { font-size: 21px; }
  .poster-line { font-size: 9px; }
  .poster-meta { font-size: 7px; }
  .poster-kicker { font-size: 5.5px; }
  .poster-top { inset: 9px 9px auto; }
  .badge { padding: 4px 7px; font-size: 7px; }
  .score { font-size: 14px; }
  .library-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .craft { padding: 76px 0; }
  .craft-media { max-width: 100%; }
  .craft-sticker { right: -6px; width: 86px; height: 86px; }
  .craft-sticker b { font-size: 24px; }
  .craft-copy h2 { font-size: 36px; }
  .craft-list li { grid-template-columns: 30px 1fr; gap: 10px; }
  .craft-list h3 { font-size: 19px; }
  .craft-quote { font-size: 15px; }
  .craft-foot { align-items: flex-start; flex-direction: column; }
  .play-card, .play-card.large { min-height: 420px; }
  .play-copy { padding: 20px; }
  .play-card.large .play-copy h3 { font-size: 36px; }
  .play-copy h3 { font-size: 28px; }
  .play-desc { font-size: 10.5px; }
  .rank-feature { min-height: 500px; }
  .rank-feature-copy { padding: 20px; }
  .rank-feature-copy h3 { font-size: 31px; }
  .rank-feature-copy dl { gap: 16px; }
  .rank-list li { grid-template-columns: 22px 50px minmax(0, 1fr) 36px 40px; gap: 9px; padding: 12px 2px; }
  .rank-list img { width: 50px; height: 64px; }
  .r-info b { font-size: 14px; }
  .r-info span { font-size: 7.5px; }
  .r-score { font-size: 15px; }
  .rank-tabs { gap: 20px; }
  .voices-grid { grid-template-columns: 1fr; }
  .voice-lead { grid-column: auto; min-height: 280px; }
  .voice-card { min-height: 230px; padding: 22px; }
  .faq-intro { display: block; }
  .faq-figure { max-width: 280px; margin-top: 26px; }
  .faq-q { font-size: 12.5px; padding: 18px 0; gap: 12px; }
  .faq-q > span { gap: 9px; }
  .faq-q i { font-size: 7px; }
  .faq-q b { width: 23px; height: 23px; }
  .faq-a > div { padding-right: 8px; }
  .faq-a p { font-size: 11.5px; }
  .download { padding: 76px 0; }
  .download-card { padding: 34px 22px 20px; border-radius: 2px 28px 2px 2px; }
  .download-card::before { inset: 9px; }
  .download-copy h2 { font-size: 44px; }
  .download-qr { gap: 12px; }
  .download-qr img { width: 82px; height: 82px; }
  .phone-stage { min-height: 540px; margin-top: 4px; }
  .phone { width: 250px; height: 510px; transform: rotate(3deg); }
  .phone-note { display: none; }
  .site-foot { padding-top: 50px; }
  .foot-top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
  .foot-cols { gap: 16px; }
  .foot-cols a { font-size: 9.5px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-bottom nav { flex-wrap: wrap; gap: 13px; }
  .dl-dock { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 10px 12px; gap: 10px; border-radius: 4px 14px 4px 4px; }
  .dl-dock-logo { width: 42px; height: 42px; }
  .dl-dock-copy b { font-size: 13.5px; }
  .dl-dock-copy span { display: none; }
  .dl-dock-btn { height: 38px; padding: 0 14px; font-size: 10.5px; }
  .to-top-fab { right: 12px; bottom: 92px; width: 42px; height: 42px; }
  .partners { padding: 20px 0; }
  .partners-inner { gap: 10px 16px; }
  .partners-label { font-size: 15px; }
  .partners-list { gap: 8px; }
  .partners-list li { padding: 7px 15px; font-size: 11.5px; }
  .toast { bottom: 104px; font-size: 10px; }
}

@media (max-width: 380px) {
  .hero-inset { display: none; }
  .hero-copy h1 { font-size: 35px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .drama-grid { grid-template-columns: 1fr; }
  .drama-more { grid-column: auto; min-height: 300px; }
  .poster h3 { font-size: 25px; }
}
