*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink-900: #060d10;
  --ink-800: #0a1519;
  --ink-700: #0f2027;
  --ink-600: #143038;
  --ink-500: #1b3d47;
  --line: #1f4a54;
  --line-soft: #17343c;
  --text: #c9d6d8;
  --text-dim: #8ba3a7;
  --text-faint: #617b80;
  --amber: #ff9a3c;
  --amber-hot: #ffb867;
  --amber-deep: #d97516;
  --crack: #3a6b74;
  --pad: 12px;
  --gap: 10px;
  --radius: 4px;
  --font-narrow: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans SC", sans-serif;
}
html {
  background: var(--ink-900);
}
body {
  font-family: var(--font-narrow);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(255, 154, 60, 0.07), transparent 62%),
    radial-gradient(900px 520px at 8% 18%, rgba(27, 61, 71, 0.55), transparent 68%),
    linear-gradient(180deg, #071013 0%, #060d10 55%, #050a0c 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 13, 16, 0.96), rgba(6, 13, 16, 0.82));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 6px,
    rgba(255, 154, 60, 0.35) 6px 8px,
    transparent 8px 14px
  );
  opacity: 0.5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--amber-hot);
  text-transform: uppercase;
  padding: 2px 0;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 94% 100%, 0 100%);
}
a[data-contract="site-name"] {
  color: var(--amber-hot);
  text-decoration: none;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: #ffd7a6;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 4px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(27, 61, 71, 0.4), rgba(15, 32, 39, 0.5));
  clip-path: polygon(0 0, 100% 0, 100% 68%, 92% 100%, 0 100%);
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--ink-900);
  background: var(--amber);
  border-color: var(--amber);
  text-decoration: none;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(10, 21, 25, 0.92), rgba(6, 13, 16, 0.96));
  padding: 14px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 22px) 100%, 0 100%);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.clocktower-silhouette {
  position: absolute;
  right: 2%;
  top: 0;
  width: 44%;
  height: 72%;
  background:
    linear-gradient(180deg, rgba(27, 61, 71, 0.85), rgba(9, 19, 23, 0.95));
  clip-path: polygon(
    42% 0%, 58% 0%, 58% 8%, 66% 8%, 66% 20%, 74% 20%, 74% 46%,
    86% 46%, 86% 100%, 14% 100%, 14% 46%, 26% 46%, 26% 20%, 34% 20%,
    34% 8%, 42% 8%
  );
  opacity: 0.5;
  filter: blur(0.4px);
}
.clocktower-silhouette::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 26%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 60, 0.55), rgba(255, 154, 60, 0) 72%);
}
.star-dust-field {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255, 184, 103, 0.85), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 62%, rgba(201, 214, 216, 0.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 44% 14%, rgba(255, 154, 60, 0.75), transparent 60%),
    radial-gradient(1.1px 1.1px at 62% 48%, rgba(201, 214, 216, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 26%, rgba(255, 184, 103, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 72%, rgba(201, 214, 216, 0.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 18% 84%, rgba(255, 154, 60, 0.6), transparent 60%),
    radial-gradient(1.1px 1.1px at 54% 88%, rgba(201, 214, 216, 0.5), transparent 60%);
  opacity: 0.85;
  animation: dust-drift 14s linear infinite alternate;
}
@keyframes dust-drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.75; }
  50% { transform: translate3d(-8px, -6px, 0); opacity: 0.95; }
  100% { transform: translate3d(6px, 4px, 0); opacity: 0.8; }
}
.hero-figure {
  position: relative;
  z-index: 2;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  margin-bottom: 4px;
  border: 1px solid rgba(31, 74, 84, 0.7);
  background:
    linear-gradient(180deg, rgba(15, 32, 39, 0.2) 0%, rgba(6, 13, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(20, 48, 56, 0.7), rgba(10, 21, 25, 0.9));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 26px) 100%, 0 100%);
}
.hero-figure::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 8%;
  width: 34%;
  height: 78%;
  background: linear-gradient(180deg, rgba(58, 107, 116, 0.55), rgba(6, 13, 16, 0));
  clip-path: polygon(28% 0, 72% 4%, 88% 30%, 70% 62%, 82% 100%, 18% 100%, 30% 62%, 12% 30%);
  opacity: 0.7;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 46%, rgba(255, 154, 60, 0.14) 46.6%, transparent 47.4%),
    linear-gradient(72deg, transparent 62%, rgba(201, 214, 216, 0.09) 62.4%, transparent 63.2%);
  pointer-events: none;
}
.whistle-glow {
  position: absolute;
  left: 30%;
  bottom: 24%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 60, 0.5) 0%, rgba(255, 154, 60, 0.16) 38%, rgba(255, 154, 60, 0) 72%);
  animation: glow-pulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
.whistle-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50% 40% 55% 45%;
  background: radial-gradient(circle at 40% 38%, #ffd7a6, #d97516 62%, #6b3208 100%);
  box-shadow: 0 0 18px 4px rgba(255, 154, 60, 0.45);
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.72; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero-figure-caption {
  position: relative;
  z-index: 3;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--amber-hot);
  text-transform: uppercase;
  padding: 3px 9px;
  background: rgba(6, 13, 16, 0.72);
  border-left: 3px solid var(--amber);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.hero-info {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr);
  gap: 14px;
  align-items: start;
}
.poster-column {
  min-width: 0;
}
.poster-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  background: var(--ink-700);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 14px) 100%, 0 100%);
}
.hero-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: clamp(24px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #eef5f5;
  text-shadow: 0 0 26px rgba(255, 154, 60, 0.22);
}
.movie-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 7px;
  background: linear-gradient(90deg, var(--amber), rgba(255, 154, 60, 0));
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.movie-tagline {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding-left: 10px;
  border-left: 2px solid var(--line);
}
.player-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.85), rgba(6, 13, 16, 0.92));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 14px) 100%, 0 100%);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #03080a;
  border: 1px solid var(--line-soft);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  background: linear-gradient(180deg, rgba(27, 61, 71, 0.7), rgba(15, 32, 39, 0.85));
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 90% 100%, 0 100%);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--ink-900);
  background: var(--amber-hot);
  border-color: var(--amber-hot);
}
.player-btn.is-active, .player-btn.is-playing {
  color: var(--ink-900);
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 154, 60, 0.5), 0 0 14px rgba(255, 154, 60, 0.35);
}
.player-btn.is-muted {
  color: var(--amber-hot);
  border-color: var(--amber-deep);
}
.player-range {
  flex: 1 1 140px;
  min-width: 90px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--amber) 0%, var(--line) 0%);
  background-color: var(--line-soft);
  border-radius: 0;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--amber-hot);
  border: none;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--amber-hot);
  border: none;
  border-radius: 0;
}
.player-range-volume {
  flex: 0 1 90px;
}
.player-select {
  flex: 0 0 auto;
  padding: 4px 8px;
  font-size: 12.5px;
  color: var(--text);
  background: rgba(15, 32, 39, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-select option {
  background: #0b1a1f;
  color: var(--text);
}
.player-wrapper.is-lights-off {
  background: #020507;
  border-color: var(--amber-deep);
}
.player-wrapper.is-lights-off .player-video {
  box-shadow: 0 0 0 1px rgba(255, 154, 60, 0.4), 0 0 34px rgba(255, 154, 60, 0.18);
}
.player-wrapper.is-theater {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 154, 60, 0.25), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.player-wrapper:fullscreen {
  display: flex;
  justify-content: center;
  background: #000;
}
.section-heading {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #e3eef0;
  text-transform: uppercase;
  padding-left: 10px;
  margin-bottom: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%);
}
.section-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 7px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 5px,
    transparent 5px 9px,
    var(--crack) 9px 11px,
    transparent 11px 18px
  );
  opacity: 0.85;
}
.synopsis-panel {
  position: relative;
  z-index: 2;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.6), rgba(6, 13, 16, 0.75));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.synopsis-columns {
  column-count: 2;
  column-gap: 22px;
  column-rule: 1px dashed var(--line);
}
.synopsis-para {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.68;
  color: var(--text);
  margin-bottom: 10px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para::first-letter {
  color: var(--amber-hot);
  font-weight: 800;
}
.cast-strip {
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.5), rgba(6, 13, 16, 0.7));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 0;
}
.cast-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 184, 103, 0.5), rgba(255, 154, 60, 0) 58%),
    linear-gradient(140deg, var(--ink-500), var(--ink-800));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px rgba(6, 13, 16, 0.6), 0 0 12px rgba(255, 154, 60, 0.12);
  position: relative;
  flex: 0 0 auto;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 154, 60, 0.35);
}
.cast-name {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e6f0f1;
  white-space: nowrap;
}
.cast-role {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-faint);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--amber);
  background: linear-gradient(90deg, rgba(27, 61, 71, 0.5), rgba(6, 13, 16, 0.6));
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.status-current {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber-hot);
}
.status-total {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
}
.status-badge {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  padding: 2px 9px;
  color: var(--ink-900);
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 64%, 88% 100%, 0 100%);
}
.details-panel {
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.5), rgba(6, 13, 16, 0.72));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 20px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 74px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.detail-key::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  background: var(--crack);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  vertical-align: middle;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text);
}
.timeline-panel {
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.55), rgba(6, 13, 16, 0.75));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) var(--ink-700);
}
.timeline-scroll::-webkit-scrollbar {
  height: 7px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--ink-700);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding: 6px 4px 2px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--crack) 0 14px,
    transparent 14px 20px
  );
  opacity: 0.85;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 0 8px;
}
.timeline-mark {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  background: linear-gradient(140deg, var(--amber-hot), var(--amber-deep));
  clip-path: polygon(48% 0, 60% 32%, 100% 26%, 70% 52%, 92% 88%, 54% 70%, 34% 100%, 30% 62%, 0 52%, 34% 40%);
  box-shadow: 0 0 12px rgba(255, 154, 60, 0.4);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber-hot);
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.4;
}
.episodes-panel {
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.5), rgba(6, 13, 16, 0.72));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(20, 48, 56, 0.55), rgba(8, 17, 21, 0.8));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: var(--amber-deep);
  background: linear-gradient(180deg, rgba(31, 74, 84, 0.7), rgba(8, 17, 21, 0.9));
  transform: translateY(-2px);
}
.episode-number {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e6f0f1;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.26s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 2px;
}
.episode-duration {
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding-top: 3px;
  border-top: 1px dashed var(--line-soft);
}
.recommend-region {
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.45), rgba(6, 13, 16, 0.7));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.recommend-heading {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--amber-deep);
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}
.recommend-heading::after {
  background: repeating-linear-gradient(
    90deg,
    var(--amber-deep) 0 4px,
    transparent 4px 7px,
    var(--crack) 7px 9px,
    transparent 9px 16px
  );
  opacity: 0.7;
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(20, 48, 56, 0.5), rgba(8, 17, 21, 0.82));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 12px) 100%, 0 100%);
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  color: var(--text);
  text-decoration: none;
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(31, 74, 84, 0.72), rgba(8, 17, 21, 0.9));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--ink-700);
  border: 1px solid var(--line-soft);
}
.recommend-name {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e6f0f1;
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-faint);
}
a.recommend-card:hover .recommend-blurb, a.recommend-card:focus-visible .recommend-blurb {
  color: var(--text-dim);
}
.comments-panel {
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(15, 32, 39, 0.45), rgba(6, 13, 16, 0.7));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 16px) 100%, 0 100%);
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--crack);
  background: linear-gradient(180deg, rgba(20, 48, 56, 0.55), rgba(8, 17, 21, 0.82));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 12px) 100%, 0 100%);
  min-width: 0;
}
.comment-card-1 { transform: translateY(0); }
.comment-card-2 { transform: translateY(12px); border-left-color: var(--amber-deep); }
.comment-card-3 { transform: translateY(4px); }
.comment-card-4 { transform: translateY(16px); }
.comment-card-5 { transform: translateY(2px); border-left-color: var(--amber-deep); }
.comment-card-6 { transform: translateY(10px); }
.comment-nickname {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber-hot);
  padding-bottom: 3px;
  border-bottom: 1px dashed var(--line-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.58;
  color: var(--text-dim);
}
.site-footer {
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(6, 13, 16, 0.9), rgba(3, 8, 10, 0.98));
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--crack) 0 8px,
    transparent 8px 15px,
    var(--amber-deep) 15px 17px,
    transparent 17px 26px
  );
  opacity: 0.6;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-link {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(15, 32, 39, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% 64%, 88% 100%, 0 100%);
}
a[data-contract="footer-home"] {
  color: var(--amber-hot);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible {
  color: var(--ink-900);
  background: var(--amber-hot);
  border-color: var(--amber-hot);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--amber-hot);
  border-color: var(--amber-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 300;
  color: var(--amber-hot);
  text-decoration: none;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(255, 154, 60, 0.4);
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #ffd7a6;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-bottom-color: transparent;
}
@media (max-width: 1024px) {.hero-info {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-card-1, .comment-card-3, .comment-card-5 {
    transform: translateY(0);
  }
.comment-card-2, .comment-card-4, .comment-card-6 {
    transform: translateY(8px);
  }}
@media (max-width: 720px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 10px 10px 20px;
    gap: 10px;
  }
.hero-shell {
    padding: 10px;
  }
.hero-info {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 220px;
  }
.hero-figure {
    min-height: 150px;
  }
.whistle-glow {
    width: 96px;
    height: 96px;
    left: 22%;
  }
.synopsis-columns {
    column-count: 1;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 2px;
  }
.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card-2, .comment-card-4, .comment-card-6 {
    transform: translateY(0);
  }
.detail-item {
    gap: 8px;
  }
.detail-key {
    flex-basis: 68px;
  }}
@media (max-width: 420px) {.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-avatar {
    width: 54px;
    height: 54px;
  }
.player-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
.player-range-volume {
    flex: 1 1 100%;
  }}
@media (prefers-reduced-motion: reduce) {.star-dust-field, .whistle-glow {
    animation: none;
  }
.episode-summary, .episode-card, a.recommend-card, .player-btn {
    transition: none;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
