:root {
  --stone-900: #10161a;
  --stone-850: #141c21;
  --stone-800: #1a242a;
  --stone-700: #24313a;
  --stone-600: #33444f;
  --stone-500: #4a5d68;
  --stone-400: #6f8391;
  --stone-300: #9aacb6;
  --stone-200: #c3d0d6;
  --stone-100: #e2e9ec;
  --river-900: #071418;
  --river-800: #0b1f24;
  --river-700: #0f2c33;
  --cyan: #5fd2d6;
  --cyan-dim: #2e7d84;
  --blood: #7a1f22;
  --blood-bright: #a32b2c;
  --font: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--river-900);
  background-image:
    linear-gradient(180deg, rgba(95, 210, 214, 0.04) 0%, rgba(7, 20, 24, 0) 22%),
    radial-gradient(120% 60% at 50% 0%, rgba(51, 68, 79, 0.28) 0%, rgba(7, 20, 24, 0) 70%);
  color: var(--stone-200);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, p, figure, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(7, 20, 24, 0.96) 0%, rgba(11, 31, 36, 0.82) 100%);
  border-bottom: 1px solid var(--stone-700);
  position: relative;
  z-index: 20;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 210, 214, 0) 0%, rgba(95, 210, 214, 0.5) 30%, rgba(95, 210, 214, 0) 100%);
}
a[data-contract="site-name"].site-brand {
  color: var(--stone-100);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 2px 0;
  border-bottom: 1px solid var(--cyan-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--stone-300);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  border: 1px solid var(--stone-600);
  background: rgba(26, 36, 42, 0.6);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
  background: rgba(15, 44, 51, 0.9);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px 4px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--stone-100);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--stone-700);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--cyan);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.9fr);
  gap: 18px;
  align-items: start;
  background: linear-gradient(175deg, rgba(20, 28, 33, 0.85) 0%, rgba(7, 20, 24, 0.9) 100%);
  border: 1px solid var(--stone-800);
  border-top: 2px solid var(--stone-600);
  padding: 16px;
  margin-bottom: 16px;
}
.poster-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.poster-frame {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--river-800);
  border: 1px solid var(--stone-600);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(95, 210, 214, 0.06);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 24, 0.35) 0%, rgba(7, 20, 24, 0) 26%, rgba(7, 20, 24, 0) 58%, rgba(7, 20, 24, 0.72) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.title-block {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stone-700);
}
.movie-title {
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.05em;
  color: var(--stone-100);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.movie-tagline {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--stone-400);
  max-width: 42ch;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid var(--stone-700);
  box-shadow: 0 20px 46px -26px rgba(0, 0, 0, 1);
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(95, 210, 214, 0.35), 0 26px 60px -24px rgba(0, 0, 0, 1);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.28;
  transition: opacity 0.25s ease;
}
.player-shell.is-lights-off .player-controls:hover, .player-shell.is-lights-off .player-controls:focus-within {
  opacity: 1;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(11, 31, 36, 0.96) 0%, rgba(7, 20, 24, 0.98) 100%);
  border-top: 1px solid var(--stone-700);
}
.ctrl-btn {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone-200);
  background: rgba(36, 49, 58, 0.7);
  border: 1px solid var(--stone-600);
  padding: 4px 10px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan-dim);
  background: rgba(15, 44, 51, 0.92);
}
.ctrl-btn.is-active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(15, 44, 51, 0.95);
  box-shadow: inset 0 0 0 1px rgba(95, 210, 214, 0.28);
}
.ctrl-field {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 110px;
  min-width: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--stone-400);
  white-space: nowrap;
}
.ctrl-field input[type="range"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 60px;
  height: 3px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: var(--stone-700);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--cyan);
  border: 0;
  border-radius: 0;
}
.ctrl-field input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--cyan);
  border: 0;
  border-radius: 0;
}
.ctrl-field select {
  flex: 0 0 auto;
  background: rgba(36, 49, 58, 0.85);
  border: 1px solid var(--stone-600);
  color: var(--stone-200);
  font-size: 11px;
  padding: 3px 4px;
  letter-spacing: 0.06em;
}
.ctrl-field select:focus-visible, .ctrl-btn:focus-visible, input[type="range"]:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 1px;
}
.episode-status {
  min-width: 0;
}
.status-line {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--stone-200);
  background: rgba(15, 44, 51, 0.55);
  border-left: 2px solid var(--cyan);
  padding: 5px 12px;
}
.cast-strip {
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 8px;
}
.cast-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 74px;
  padding: 8px 4px 6px;
  background: linear-gradient(160deg, var(--stone-700) 0%, var(--river-800) 68%, var(--river-900) 100%);
  border: 1px solid var(--stone-600);
  overflow: hidden;
}
.cast-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, var(--stone-400) 0%, var(--stone-600) 62%, var(--stone-800) 100%);
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.9);
}
.cast-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan-dim);
  opacity: 0.5;
}
.cast-name {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone-100);
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--stone-300);
  letter-spacing: 0.015em;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(51, 68, 79, 0.9);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-panel {
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--stone-800);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 10px 4px 0;
  border-bottom: 1px solid rgba(36, 49, 58, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 52px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--stone-500);
  text-transform: uppercase;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--stone-200);
  letter-spacing: 0.04em;
}
.timeline-section {
  margin-bottom: 16px;
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, rgba(20, 28, 33, 0.72) 0%, rgba(7, 20, 24, 0.72) 100%);
  border: 1px solid var(--stone-800);
  overflow: hidden;
}
.timeline-band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding-top: 26px;
}
.timeline-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--stone-600) 0%, var(--stone-500) 42%, var(--cyan-dim) 76%, var(--blood-bright) 100%);
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 16px;
  min-width: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--river-900);
  border: 1px solid var(--stone-400);
  transform: rotate(45deg);
}
.timeline-item:last-child::before {
  background: var(--blood);
  border-color: var(--blood-bright);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(95, 210, 214, 0.35);
}
.timeline-label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 148px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: var(--stone-300);
  line-height: 1.1;
}
.episodes-section {
  margin-bottom: 16px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(20, 28, 33, 0.72) 0%, rgba(7, 20, 24, 0.72) 100%);
  border: 1px solid var(--stone-800);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  min-width: 0;
  background: rgba(11, 31, 36, 0.55);
  border: 1px solid var(--stone-800);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: var(--stone-600);
  background: rgba(15, 44, 51, 0.6);
}
.episode-card-current {
  border: 1px solid var(--blood);
  box-shadow: inset 0 0 0 1px rgba(163, 43, 44, 0.28);
  background: linear-gradient(90deg, rgba(122, 31, 34, 0.22) 0%, rgba(11, 31, 36, 0.6) 60%);
}
.episode-card-current .episode-title {
  color: var(--stone-100);
}
a.episode-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 10px;
  padding: 7px 10px 8px;
  color: var(--stone-300);
  text-decoration: none;
  transition: color 0.16s ease;
}
a.episode-link:hover {
  color: var(--cyan);
}
a.episode-link:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: -2px;
}
.episode-number {
  grid-area: num;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan-dim);
  white-space: nowrap;
}
.episode-card-current .episode-number {
  color: var(--cyan);
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--stone-100);
  min-width: 0;
  overflow-wrap: break-word;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--stone-400);
  letter-spacing: 0.01em;
}
.comments-section {
  margin-bottom: 16px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(20, 28, 33, 0.72) 0%, rgba(7, 20, 24, 0.72) 100%);
  border: 1px solid var(--stone-800);
}
.comment-list {
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid rgba(51, 68, 79, 0.6);
}
.comment-item {
  break-inside: avoid;
  display: block;
  padding: 7px 0 8px;
  border-bottom: 1px solid rgba(36, 49, 58, 0.85);
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--stone-300);
  letter-spacing: 0.015em;
}
.recommend-region {
  margin-bottom: 16px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(20, 28, 33, 0.72) 0%, rgba(7, 20, 24, 0.72) 100%);
  border: 1px solid var(--stone-800);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  color: var(--stone-200);
  text-decoration: none;
  background: rgba(11, 31, 36, 0.6);
  border: 1px solid var(--stone-800);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  border-color: var(--cyan-dim);
  background: rgba(15, 44, 51, 0.75);
  transform: translateY(-2px);
}
a.recommend-card:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 1px;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--river-800);
  border: 1px solid var(--stone-700);
  filter: saturate(0.8) contrast(1.05);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--stone-100);
  line-height: 1.35;
  overflow-wrap: break-word;
}
.recommend-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--stone-400);
  letter-spacing: 0.01em;
}
.site-footer {
  margin-top: 8px;
  padding: 16px 18px 22px;
  background: linear-gradient(180deg, rgba(11, 31, 36, 0.7) 0%, rgba(7, 20, 24, 0.98) 100%);
  border-top: 1px solid var(--stone-700);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--stone-300);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  min-width: 0;
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--stone-500);
  text-transform: uppercase;
  padding-right: 6px;
  border-right: 1px solid var(--stone-700);
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--stone-400);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--stone-500);
  max-width: 92ch;
  padding-top: 8px;
  border-top: 1px solid rgba(36, 49, 58, 0.8);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr);
    gap: 14px;
  }
.timeline-label {
    max-height: 132px;
  }}
@media (max-width: 860px) {.page-main {
    padding: 12px 14px 4px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.poster-column {
    align-items: stretch;
    max-width: 240px;
  }
.timeline-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-band::before {
    right: auto;
    width: 100%;
  }}
@media (max-width: 620px) {body {
    font-size: 13px;
  }
.site-header {
    padding: 9px 12px;
    gap: 10px;
  }
.page-main {
    padding: 10px 12px 4px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    column-count: 1;
    column-rule: none;
  }
.timeline-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-label {
    max-height: 118px;
    letter-spacing: 0.18em;
  }
.details-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
.ctrl-field {
    flex: 1 1 90px;
  }}
@media (max-width: 420px) {.movie-title {
    font-size: 24px;
    letter-spacing: 0.03em;
  }
.movie-tagline {
    letter-spacing: 0.2em;
  }
.poster-column {
    max-width: 200px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  }
.timeline-label {
    max-height: 104px;
    font-size: 10px;
  }
.player-controls {
    gap: 4px 6px;
    padding: 7px 8px;
  }
.ctrl-btn {
    font-size: 10px;
    padding: 4px 7px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }}

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}
