:root {
  color-scheme: dark;
  --ink: #f9f6ff;
  --muted: #aaaabd;
  --dim: #73768e;
  --night: #050a16;
  --night-soft: #0a1121;
  --panel: rgba(9, 16, 31, 0.78);
  --panel-solid: #0c1426;
  --line: rgba(198, 207, 255, 0.13);
  --line-bright: rgba(212, 194, 255, 0.34);
  --pink: #f195d7;
  --lilac: #ba9df7;
  --blue: #83d9f2;
  --warn: #ef9c9c;
  --ok: #a8e4d4;
  --font-ja: "Noto Serif JP", serif;
  --font-display: "Zen Old Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
  --page-pad: clamp(20px, 4vw, 64px);
  --content-max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(186, 157, 247, 0.35) transparent;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 79% 3%, rgba(41, 91, 144, 0.24), transparent 28rem),
    radial-gradient(circle at 18% 26%, rgba(71, 35, 101, 0.13), transparent 32rem),
    var(--night);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 0.7px, transparent 0.9px),
    radial-gradient(circle, rgba(131, 217, 242, 0.62) 0 0.6px, transparent 0.8px);
  background-position: 0 0, 47px 53px;
  background-size: 97px 97px, 139px 139px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.28);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.sky-glow {
  position: fixed;
  top: -220px;
  right: -100px;
  z-index: -2;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(44, 109, 160, 0.17);
  filter: blur(120px);
  pointer-events: none;
}

.container {
  width: min(100%, calc(var(--content-max) + var(--page-pad) * 2));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: linear-gradient(to bottom, rgba(3, 7, 15, 0.74), rgba(3, 7, 15, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand__mark {
  position: relative;
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 43px;
  place-items: center;
  color: var(--pink);
  font-size: 30px;
  filter: drop-shadow(0 0 12px rgba(241, 149, 215, 0.7));
}

.brand__mark::after {
  position: absolute;
  top: 2px;
  right: -2px;
  content: "◆";
  color: var(--blue);
  font-size: 8px;
}

.brand__names {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.brand__ja {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.65vw, 27px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__en {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 13px;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding-block: 10px;
  color: #dddae8;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--pink), var(--lilac));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.production-state {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid rgba(204, 197, 246, 0.25);
  border-radius: 999px;
  background: rgba(10, 18, 35, 0.62);
  font-size: 11px;
  line-height: 1.3;
}

.production-state__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
  box-shadow: 0 0 0 4px rgba(115, 118, 142, 0.1);
}

.production-state--running .production-state__dot {
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink), 0 0 0 4px rgba(241, 149, 215, 0.11);
  animation: state-pulse 2.8s ease-in-out infinite;
}

.production-state--done .production-state__dot {
  background: var(--ok);
  box-shadow: 0 0 12px rgba(168, 228, 212, 0.7);
}

.production-state--failed .production-state__dot {
  background: var(--warn);
}

.production-state__label {
  font-weight: 500;
}

.production-state__note {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: clamp(760px, 92svh, 980px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 62% 16%, rgba(105, 106, 211, 0.12), transparent 27%),
    linear-gradient(115deg, #050a16 0%, #07101f 52%, #0a1121 100%);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -3;
  width: 68%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 27%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 27%, #000 100%);
}

.hero__media-asset {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 49% 30%;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.012);
}

.hero__media-image {
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero__media-image.is-loaded {
  opacity: 1;
}

.hero__media-wash {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, #050a16 0%, rgba(5, 10, 22, 0.74) 8%, transparent 31%),
    linear-gradient(to bottom, rgba(3, 7, 15, 0.3), transparent 24%),
    linear-gradient(to left, rgba(5, 10, 22, 0.08), transparent 25%);
  pointer-events: none;
}

.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero__aurora::before,
.hero__aurora::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0.58;
}

.hero__aurora::before {
  top: 4%;
  right: 41%;
  width: 25vw;
  height: 25vw;
  background: rgba(239, 125, 211, 0.17);
}

.hero__aurora::after {
  right: 4%;
  bottom: 8%;
  width: 29vw;
  height: 22vw;
  background: rgba(120, 178, 244, 0.15);
}

.hero__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px rgba(201, 225, 255, 0.95);
  animation: star-twinkle 4.8s ease-in-out infinite;
}

.hero__star:nth-child(3n) {
  width: 2px;
  height: 2px;
  background: #f6b8e6;
  box-shadow: 0 0 9px rgba(241, 149, 215, 0.9);
  animation-delay: -2.1s;
}

.hero__star:nth-child(4n) {
  animation-delay: -3.4s;
  animation-duration: 6.2s;
}

.hero__star--1 { top: 11%; left: 7%; }
.hero__star--2 { top: 18%; left: 38%; }
.hero__star--3 { top: 8%; left: 58%; }
.hero__star--4 { top: 30%; left: 94%; }
.hero__star--5 { top: 41%; left: 44%; }
.hero__star--6 { top: 57%; left: 91%; }
.hero__star--7 { top: 72%; left: 7%; }
.hero__star--8 { top: 79%; left: 61%; }
.hero__star--9 { top: 89%; left: 84%; }
.hero__star--10 { top: 23%; left: 74%; }
.hero__star--11 { top: 48%; left: 16%; }
.hero__star--12 { top: 65%; left: 52%; }
.hero__star--13 { top: 13%; left: 27%; }
.hero__star--14 { top: 35%; left: 67%; }

.hero__shooting-star {
  position: absolute;
  top: 15%;
  left: 34%;
  width: 150px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(180, 224, 255, 0.8), #fff);
  box-shadow: 0 0 9px rgba(151, 211, 255, 0.65);
  transform: rotate(-34deg) translateX(-260px);
  transform-origin: right center;
  animation: shooting-star 9s cubic-bezier(0.3, 0, 0.65, 1) 2.2s infinite;
}

.hero__fallback {
  position: absolute;
  top: 23%;
  right: 7%;
  z-index: -1;
  width: min(39vw, 560px);
  padding: clamp(40px, 6vw, 84px);
  border: 1px solid rgba(208, 198, 246, 0.16);
  border-radius: 48% 12px 48% 12px;
  color: #c8c5d3;
  background: radial-gradient(circle at 30% 20%, rgba(241, 149, 215, 0.14), transparent 34%), rgba(12, 22, 42, 0.56);
}

.hero__fallback p:last-child {
  margin: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 30px;
  min-height: inherit;
  padding-top: clamp(66px, 9svh, 112px);
  padding-bottom: clamp(34px, 5svh, 60px);
}

.hero__copy {
  align-self: center;
  min-width: 0;
  width: min(55%, 780px);
  padding: 18px 0 30px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #b9cce4;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  align-items: center;
}

.hero__kicker > span:not(:last-child)::after {
  margin-left: 13px;
  content: "・";
  color: var(--pink);
}

.hero__title {
  max-width: 10em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 6.6vw, 108px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.36);
}

.hero__title-gradient {
  color: transparent;
  background: linear-gradient(105deg, #fff 0%, #f2c4e7 28%, #cfabf4 60%, #8ddcf3 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 8px 28px rgba(7, 10, 24, 0.32));
}

.hero__title-en {
  margin: 17px 0 0;
  color: #e4dff0;
  font-family: var(--font-en);
  font-size: clamp(22px, 2.25vw, 36px);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0.015em;
}

.hero__logline {
  max-width: 600px;
  margin: 22px 0 0;
  color: #dddbe5;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 2;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.hero__handwritten {
  position: absolute;
  top: 12%;
  right: 3%;
  z-index: 3;
  width: min(18vw, 270px);
  margin: 0;
  color: rgba(255, 246, 255, 0.94);
  font-family: "Caveat", cursive;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: 0 2px 12px rgba(5, 10, 22, 0.86), 0 0 24px rgba(238, 181, 228, 0.34);
  transform: rotate(-8deg);
}

.episode-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(940px, 72vw);
  min-height: 88px;
  padding: 16px 18px 16px 26px;
  border: 1px solid rgba(223, 218, 255, 0.58);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(9, 16, 31, 0.82), rgba(17, 20, 40, 0.56));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.3), inset 0 0 34px rgba(165, 146, 234, 0.055);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.episode-bar__stats {
  display: flex;
  align-items: center;
  min-width: 0;
}

.episode-stat {
  display: grid;
  min-width: 0;
  padding: 0 clamp(18px, 2.7vw, 42px);
  border-right: 1px solid var(--line);
}

.episode-stat:first-child {
  padding-left: 0;
}

.episode-stat:last-child {
  border-right: 0;
}

.episode-stat__label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.episode-stat__value {
  overflow: hidden;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 56px;
  padding: 12px 25px;
  border: 0;
  border-radius: 13px;
  color: #090b18;
  background: linear-gradient(105deg, #f2a7dc, #c9aff9 55%, #92def3);
  box-shadow: 0 0 30px rgba(224, 147, 221, 0.42), inset 0 1px rgba(255, 255, 255, 0.46);
  font-weight: 600;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}

.play-button:not(:disabled):hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.play-button:disabled {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  cursor: default;
}

.play-button__icon {
  font-size: 14px;
}

.process {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 9, 18, 0.5);
}

.process__inner {
  padding-top: 28px;
  padding-bottom: 30px;
}

.process__label {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--dim);
  font-size: 12px;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 16px;
  right: -9px;
  width: 7px;
  height: 1px;
  content: "";
  background: var(--line);
}

.step__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(159, 163, 195, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-en);
  font-size: 13px;
}

.step--done {
  color: #e3dfea;
}

.step--done .step__icon {
  border-color: rgba(186, 157, 247, 0.34);
  color: var(--lilac);
  background: rgba(186, 157, 247, 0.09);
}

.step--now {
  color: #fff;
}

.step--now .step__icon {
  border-color: var(--pink);
  color: #fff;
  background: linear-gradient(135deg, rgba(241, 149, 215, 0.26), rgba(131, 217, 242, 0.13));
  box-shadow: 0 0 22px rgba(241, 149, 215, 0.3);
  animation: step-glow 2.8s ease-in-out infinite;
}

.section {
  padding-top: clamp(72px, 8.3vw, 122px);
}

.section--cuts {
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading__copy {
  max-width: 780px;
}

.section-heading .eyebrow {
  margin-bottom: 9px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-index {
  flex: 0 0 auto;
  color: rgba(193, 190, 215, 0.38);
  font-family: var(--font-en);
  font-size: 42px;
  font-style: italic;
  line-height: 1;
}

.cuts-scroller {
  display: flex;
  gap: 24px;
  width: calc(100% + var(--page-pad));
  margin-right: calc(var(--page-pad) * -1);
  padding: 3px var(--page-pad) 24px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(186, 157, 247, 0.34) rgba(255, 255, 255, 0.03);
}

.cut-card {
  flex: 0 0 clamp(300px, 27vw, 390px);
  min-width: 0;
  scroll-snap-align: start;
  transition: transform 260ms ease, filter 260ms ease;
}

.cut-card:hover,
.cut-card:focus-within {
  filter: brightness(1.04);
  transform: translateY(-8px);
}

.cut-card__screen {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(218, 219, 255, 0.2);
  border-radius: 25px;
  background: #0b1324;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3), 0 0 0 rgba(205, 155, 242, 0);
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.cut-card:hover .cut-card__screen,
.cut-card:focus-within .cut-card__screen {
  border-color: rgba(232, 192, 244, 0.36);
  box-shadow: 0 30px 66px rgba(0, 0, 0, 0.4), 0 0 34px rgba(193, 144, 236, 0.12);
}

.cut-card__screen::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  box-shadow: inset 0 -72px 80px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.cut-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.cut-card__image.is-loaded {
  opacity: 1;
}

.cut-card:hover .cut-card__image,
.cut-card:focus-within .cut-card__image {
  transform: scale(1.025);
}

.frame-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 21%, rgba(165, 127, 206, 0.22), transparent 25%),
    linear-gradient(145deg, #101b31, #080e1d 52%, #131025);
}

.frame-pending::before {
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: -80%;
  width: 40%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(205, 187, 255, 0.12), transparent);
  transform: skewX(-13deg);
  animation: pending-light 5.5s ease-in-out infinite;
}

.frame-pending__mark {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: rgba(221, 221, 241, 0.62);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.frame-pending__mark::before {
  width: 38px;
  height: 38px;
  content: "✦";
  color: rgba(241, 149, 215, 0.54);
  font-size: 27px;
  text-align: center;
  filter: drop-shadow(0 0 16px rgba(241, 149, 215, 0.38));
}

.cut-card__title-overlay {
  position: absolute;
  top: 6.5%;
  right: 8%;
  left: 8%;
  z-index: 2;
  text-align: center;
  text-shadow: 0 2px 9px #000, 0 0 20px #000;
}

.cut-card__title-ja {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.35;
}

.cut-card__title-en {
  display: block;
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.06em;
}

.cut-card__captions {
  position: absolute;
  top: 69%;
  right: 0;
  left: 0;
  z-index: 3;
  transform: translateY(-50%);
  text-align: center;
  text-shadow: 0 1px 4px #000;
}

.cut-card__caption-ja {
  display: block;
  padding: 7px 11px 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.64);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 600;
  line-height: 1.55;
}

.cut-card__caption-en {
  display: block;
  padding: 5px 11px 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.46);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
}

.cut-card__duration {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 5;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 9, 19, 0.72);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.vidu-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  padding: 6px 10px;
  border: 1px solid rgba(242, 184, 224, 0.34);
  border-radius: 999px;
  color: #ffe2f7;
  background: rgba(17, 11, 30, 0.76);
  box-shadow: 0 0 20px rgba(241, 149, 215, 0.16);
  font-size: 9px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.cut-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
}

.cut-card__number {
  color: var(--pink);
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 600;
}

.cut-card__meta-separator {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--dim);
}

.cut-card__action {
  display: -webkit-box;
  width: 100%;
  margin-top: 7px;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #d4d1dc;
  background: none;
  font-size: 12px;
  line-height: 1.9;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  cursor: pointer;
}

.cut-card__action.is-expanded {
  display: block;
  overflow: visible;
}

.cut-card__action:focus-visible {
  outline: 1px solid var(--pink);
  outline-offset: 4px;
}

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

.cast-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 7% 55%, rgba(216, 143, 220, 0.09), transparent 26%),
    linear-gradient(145deg, rgba(17, 27, 48, 0.82), rgba(8, 14, 27, 0.82));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.cast-card:hover {
  border-color: rgba(207, 177, 242, 0.3);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.cast-card__sheet {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1729;
}

.cast-card__sheet::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 14, 27, 0.74), transparent 48%);
  pointer-events: none;
}

.cast-card__sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 650ms ease;
}

.cast-card__sheet img.is-loaded {
  opacity: 1;
}

.sheet-pending {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  background:
    linear-gradient(120deg, transparent, rgba(197, 163, 242, 0.09), transparent),
    radial-gradient(circle at 28% 35%, rgba(104, 179, 211, 0.13), transparent 30%);
  font-size: 12px;
}

.cast-card__body {
  position: relative;
  padding: 22px 24px 27px;
}

.cast-card__identity {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 106px;
}

.cast-card__avatar {
  position: relative;
  display: block;
  width: 106px;
  height: 106px;
  overflow: hidden;
  border: 3px solid rgba(241, 214, 247, 0.86);
  border-radius: 50%;
  background: #eee9e3;
  box-shadow: 0 0 0 5px rgba(186, 157, 247, 0.1), 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 28px rgba(230, 155, 219, 0.18);
}

.cast-card__avatar-image {
  position: absolute;
  top: 16%;
  left: -258%;
  width: 370%;
  height: auto;
  max-width: none;
  opacity: 0;
  transition: opacity 650ms ease, transform 400ms ease;
}

.cast-card__avatar-image.is-loaded {
  opacity: 1;
}

.cast-card:hover .cast-card__avatar-image {
  transform: scale(1.025);
}

.cast-card__identity-copy {
  min-width: 0;
}

.cast-card__topline {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 6px;
}

.cast-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

.cast-card__role {
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.cast-card__en {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 16px;
  font-style: italic;
}

.cast-card__age {
  margin-left: 7px;
  color: var(--dim);
  font-family: var(--font-ja);
  font-size: 10px;
  font-style: normal;
}

.cast-card__vibe {
  margin: 15px 0 0;
  color: #bfbdc8;
  font-size: 12px;
  line-height: 1.9;
}

.cast-card__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  margin: 17px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #ddd8e5;
  font-size: 11px;
  line-height: 1.8;
}

.cast-card__item-label {
  color: var(--lilac);
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.score-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(35px, 6vw, 95px);
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(154, 111, 199, 0.12), transparent 32%),
    rgba(8, 14, 27, 0.63);
}

.score-hero {
  position: relative;
  align-self: start;
  padding-bottom: 30px;
}

.score-hero__label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.score-hero__number {
  display: block;
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(135deg, #fff 9%, var(--pink) 54%, var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--font-en);
  font-size: clamp(92px, 12vw, 168px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.score-hero__unit {
  margin-left: 8px;
  color: var(--muted);
  font-size: 14px;
}

.score-hero__pass {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 30px;
  padding: 8px 13px;
  border: 1px solid rgba(168, 228, 212, 0.22);
  border-radius: 999px;
  color: var(--ok);
  font-size: 11px;
}

.score-hero__pass--fail {
  border-color: rgba(239, 156, 156, 0.25);
  color: var(--warn);
}

.score-hero__pass::before {
  content: "◆";
  font-size: 7px;
}

.score-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 30px;
}

.score-item {
  min-width: 0;
}

.score-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
}

.score-item__label {
  overflow: hidden;
  color: #dedbe5;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-item__value {
  flex: 0 0 auto;
  color: var(--pink);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.score-item--warning .score-item__value {
  color: var(--warn);
}

.score-bar {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.085);
}

.score-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lilac), var(--pink));
  box-shadow: 0 0 10px rgba(241, 149, 215, 0.25);
}

.score-item--warning .score-bar__fill {
  background: var(--warn);
}

.score-bar__must {
  position: absolute;
  top: -3px;
  width: 1px;
  height: 9px;
  background: rgba(255, 255, 255, 0.58);
}

.score-item__must-label {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.score-item__comment {
  margin: 4px 0 0;
  color: #9e9eae;
  font-size: 10px;
  line-height: 1.75;
}

.score-summary {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding: 24px 28px;
  border-top: 1px solid var(--line-bright);
  color: #cac7d1;
  font-size: 12px;
  line-height: 2;
  white-space: pre-line;
}

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

.episode-card {
  min-width: 0;
}

.episode-card__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  text-align: left;
}

.episode-card__button:not(:disabled) {
  cursor: pointer;
}

.episode-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(circle at 78% 28%, rgba(241, 149, 215, 0.14), transparent 22%),
    linear-gradient(145deg, #16233c, #090f1d 62%);
}

.episode-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 8, 16, 0.7), transparent 60%);
}

.episode-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 650ms ease, transform 400ms ease;
}

.episode-card__media img.is-loaded {
  opacity: 1;
}

.episode-card__button:not(:disabled):hover img {
  transform: scale(1.025);
}

.episode-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(223, 217, 236, 0.42);
  font-family: var(--font-en);
  font-size: 38px;
  font-style: italic;
}

.episode-card__duration,
.episode-card__score {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 7, 15, 0.72);
  font-size: 9px;
  backdrop-filter: blur(8px);
}

.episode-card__duration {
  left: 12px;
}

.episode-card__score {
  right: 12px;
}

.episode-card__body {
  padding: 13px 4px 0;
}

.episode-card__title {
  margin: 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episode-card__en {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 13px;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episode-card__date {
  display: block;
  margin-top: 7px;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.empty-note {
  padding: 54px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.site-footer {
  margin-top: clamp(90px, 10vw, 150px);
  padding: 25px var(--page-pad) 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
}

.video-modal {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 208, 255, 0.27);
  border-radius: 20px;
  color: var(--ink);
  background: #080e1c;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.75);
}

.video-modal::backdrop {
  background: rgba(2, 5, 12, 0.82);
  backdrop-filter: blur(12px);
}

.video-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 24px;
}

.video-modal__head .eyebrow {
  margin: 0 0 3px;
}

.video-modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  padding: 8px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: #ddd9e6;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  cursor: pointer;
}

.video-modal video {
  width: 100%;
  max-height: calc(100vh - 170px);
  background: #000;
}

.boot-screen {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.boot-mark {
  color: var(--pink);
  font-size: 34px;
  filter: drop-shadow(0 0 18px rgba(241, 149, 215, 0.6));
  animation: step-glow 2.8s ease-in-out infinite;
}

.load-error {
  display: grid;
  min-height: 100vh;
  padding: 30px;
  place-content: center;
  text-align: center;
}

.load-error h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 54px);
}

.load-error p {
  max-width: 34em;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 13px;
}

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

@keyframes state-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; box-shadow: 0 0 18px var(--pink), 0 0 0 5px rgba(241, 149, 215, 0.1); }
}

@keyframes step-glow {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; filter: brightness(1.13); }
}

@keyframes pending-light {
  0% { left: -80%; }
  46%, 100% { left: 145%; }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.28; transform: scale(0.72); }
  48% { opacity: 1; transform: scale(1.35); }
}

@keyframes shooting-star {
  0%, 70% { opacity: 0; transform: rotate(-34deg) translateX(-260px); }
  73% { opacity: 1; }
  82% { opacity: 0; transform: rotate(-34deg) translateX(460px); }
  100% { opacity: 0; transform: rotate(-34deg) translateX(460px); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(180px, 1fr) auto;
    min-height: 84px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    justify-content: flex-start;
    width: calc(100% + var(--page-pad) * 2);
    margin-left: calc(var(--page-pad) * -1);
    padding: 1px var(--page-pad) 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .step:nth-child(5)::after {
    display: none;
  }

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

@media (max-width: 820px) {
  .hero {
    min-height: max(820px, calc(100svh - 10px));
  }

  .hero__media {
    right: 0;
    bottom: auto;
    width: 100%;
    height: 68svh;
    min-height: 520px;
    max-height: 680px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 67%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 67%, transparent 100%);
  }

  .hero__media-asset {
    object-position: center 24%;
  }

  .hero__media-wash {
    background:
      linear-gradient(to top, #050a16 0%, rgba(5, 10, 22, 0.7) 10%, transparent 38%),
      linear-gradient(to bottom, rgba(3, 7, 15, 0.32), transparent 26%);
  }

  .hero__inner {
    display: block;
    min-height: inherit;
    padding-top: clamp(390px, 47svh, 490px);
    padding-bottom: 32px;
  }

  .hero__copy {
    width: 100%;
    max-width: 680px;
    padding: 0;
  }

  .hero__handwritten {
    top: 7%;
    right: 5%;
    width: min(43vw, 260px);
    font-size: clamp(29px, 7vw, 44px);
  }

  .hero__fallback {
    top: 8%;
    right: var(--page-pad);
    left: var(--page-pad);
    width: auto;
  }

  .episode-bar {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    margin-top: 25px;
  }

  .episode-bar > * {
    min-width: 0;
  }

  .play-button {
    width: 100%;
  }

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

  .step:nth-child(5)::after {
    display: block;
  }

  .step:nth-child(3n)::after {
    display: none;
  }

  .score-layout {
    grid-template-columns: 1fr;
  }

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

  .score-hero__number {
    display: inline-block;
    font-size: 112px;
  }

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

@media (max-width: 580px) {
  :root {
    --page-pad: 18px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    flex-basis: 27px;
    width: 27px;
    font-size: 24px;
  }

  .brand__ja {
    font-size: 17px;
  }

  .brand__en {
    max-width: 175px;
    font-size: 8px;
  }

  .production-state {
    gap: 7px;
    padding: 7px 9px;
  }

  .production-state__note {
    display: none;
  }

  .main-nav {
    gap: 23px;
    font-size: 11px;
  }

  .hero__inner {
    min-height: inherit;
    padding-top: clamp(330px, 44svh, 390px);
    padding-bottom: 27px;
  }

  .hero__media {
    height: 66svh;
    min-height: 470px;
    max-height: 590px;
  }

  .hero__media-asset {
    object-position: center 22%;
  }

  .hero__handwritten {
    top: 5.5%;
    right: 18px;
    width: min(54vw, 210px);
    font-size: clamp(26px, 7.6vw, 32px);
    text-align: right;
  }

  .hero__kicker {
    gap: 5px 8px;
    letter-spacing: 0.16em;
  }

  .hero__kicker > span:not(:last-child)::after {
    margin-left: 8px;
  }

  .hero__title {
    max-width: 8em;
    font-size: clamp(42px, 12.9vw, 56px);
    line-height: 1.1;
  }

  .hero__title-en {
    font-size: 22px;
  }

  .hero__logline {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero__fallback {
    padding: 38px 28px;
  }

  .episode-bar {
    padding: 17px;
    border-radius: 16px;
  }

  .episode-bar__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    width: 100%;
  }

  .episode-stat {
    overflow: hidden;
    padding: 0 8px;
  }

  .episode-stat__label {
    font-size: 8px;
  }

  .episode-stat__value {
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
  }

  .play-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .step {
    gap: 7px;
    font-size: 10px;
  }

  .step__icon {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }

  .step:not(:last-child)::after {
    top: 14px;
  }

  .section {
    padding-top: 77px;
  }

  .section-heading {
    align-items: start;
    margin-bottom: 25px;
  }

  .section-index {
    padding-top: 5px;
    font-size: 28px;
  }

  .section-title {
    font-size: 31px;
  }

  .section-lede {
    font-size: 11px;
  }

  .cuts-scroller {
    gap: 16px;
  }

  .cut-card {
    flex-basis: min(82vw, 330px);
  }

  .cast-grid,
  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .cast-card__body {
    padding: 19px 20px 23px;
  }

  .cast-card__identity {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
    min-height: 92px;
  }

  .cast-card__avatar {
    width: 92px;
    height: 92px;
  }

  .score-layout {
    gap: 35px;
    padding: 26px 20px;
  }

  .score-items {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .score-summary {
    padding: 22px 5px 0;
  }

  .video-modal__head {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
