*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ol, ul, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0b0c0e;
  --ink-2: #101215;
  --ink-3: #16191d;
  --panel: #121417;
  --line: #23272d;
  --line-soft: #1b1f24;
  --amber: #f0a52a;
  --amber-dim: #8a5c14;
  --cool: #d8e2ea;
  --cool-2: #9fb0bd;
  --muted: #6b7683;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
html { background: var(--ink); }
body {
  background: var(--ink);
  color: var(--cool-2);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 12, 14, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"].site-name {
  color: var(--cool);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-left: 3px solid var(--amber);
  padding-left: 8px;
  line-height: 1.1;
}
a[data-contract="site-name"].site-name:hover { color: var(--amber); }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-2);
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-dim);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--amber);
  flex: none;
}
.hero-shell {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0e1013 0%, #0b0c0e 62%);
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr) minmax(0, 26%);
  align-items: end;
  gap: 0;
  min-height: 240px;
  padding: 18px 18px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 12% 100%, rgba(240, 165, 42, 0.12) 0%, rgba(240, 165, 42, 0) 58%),
    linear-gradient(180deg, #14171b 0%, #0b0c0e 100%);
}
.poster-column {
  position: relative;
  z-index: 3;
  align-self: end;
  width: 100%;
}
.poster-wrapper {
  width: 100%;
  border: 1px solid var(--line);
  background: #0a0b0d;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
img.main-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-figure {
  position: absolute;
  inset: 0 0 0 150px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(216, 226, 234, 0.1) 0%, rgba(216, 226, 234, 0) 34%),
    radial-gradient(70% 120% at 88% 40%, rgba(216, 226, 234, 0.09) 0%, rgba(216, 226, 234, 0) 70%);
}
.hero-figure::after {
  content: "";
  position: absolute;
  right: 26%;
  top: 0;
  bottom: 0;
  width: 108px;
  background: radial-gradient(52% 60% at 50% 42%, rgba(216, 226, 234, 0.16) 0%, rgba(216, 226, 234, 0) 72%);
  filter: blur(2px);
}
.hero-timeline-overlay {
  position: absolute;
  left: 12px;
  right: 10px;
  bottom: 26px;
  z-index: 2;
  pointer-events: none;
}
.hero-timeline-ruler {
  position: relative;
  height: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(159, 176, 189, 0.28);
}
.ruler-tick {
  width: 1px;
  height: 7px;
  background: rgba(159, 176, 189, 0.42);
  flex: none;
}
.hero-timeline-nodes {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px 2px 0;
}
.hero-node {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--amber);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(240, 165, 42, 0.55);
}
.hero-gap {
  width: 68px;
  height: 1px;
  flex: none;
  align-self: center;
  background: repeating-linear-gradient(90deg, rgba(240, 165, 42, 0.16) 0 3px, rgba(240, 165, 42, 0) 3px 8px);
}
.hero-tagline-column {
  position: relative;
  z-index: 3;
  align-self: end;
  justify-self: end;
  max-width: 100%;
  padding: 0 0 22px 10px;
  border-right: 1px solid var(--amber);
}
.hero-tagline {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--cool);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.35;
  max-height: 190px;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px 18px;
  background: var(--panel);
}
.movie-title {
  color: var(--cool);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero-breath {
  height: 14px;
  border-top: 1px solid var(--line-soft);
}
.player-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: #0a0b0d;
  border: 1px solid var(--line);
}
video.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.control-button {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cool-2);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  line-height: 1.2;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.control-button:hover {
  color: var(--amber);
  border-color: var(--amber-dim);
}
.control-button.is-playing, .control-button.is-active {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.control-button.is-muted, .control-button.mute {
  color: var(--amber);
  border-color: var(--amber-dim);
}
.control-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.control-progress::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 1px;
  transform: rotate(45deg);
}
.control-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border: 0;
  border-radius: 1px;
}
.control-volume {
  flex: 0 1 84px;
  min-width: 56px;
  height: 4px;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.control-volume::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 9px;
  background: var(--cool-2);
  border-radius: 50%;
}
.control-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  background: var(--cool-2);
  border: 0;
  border-radius: 50%;
}
.hero-shell.theater-mode .hero-visual { min-height: 160px; }
.hero-shell.theater-mode .poster-column { opacity: 0.25; }
.hero-shell.theater-mode .player-wrapper { border-color: var(--amber-dim); }
.hero-shell.lights-off .hero-visual { filter: brightness(0.42); }
.hero-shell.lights-off .player-wrapper { box-shadow: 0 0 0 1px var(--amber-dim); }
.episode-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 6px 14px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.status-line {
  grid-column: 1 / -1;
  color: var(--cool);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.status-current, .status-total {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.status-current { color: var(--amber); font-weight: 700; }
.status-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: var(--line);
  overflow: hidden;
}
.status-progress {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--amber);
}
.cast-strip {
  padding-top: 2px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  align-self: start;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 38% 34%, rgba(216, 226, 234, 0.5) 0%, rgba(216, 226, 234, 0.06) 60%),
    linear-gradient(160deg, #23272d 0%, #14171b 100%);
  border: 1px solid var(--line);
}
.cast-name {
  color: var(--cool);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.cast-role {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.synopsis {
  padding-top: 2px;
}
.synopsis-para {
  color: var(--cool-2);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 7px;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para:last-child { margin-bottom: 0; }
.details {
  padding-top: 2px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: var(--ink-2);
}
.detail-key {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  flex: none;
}
.detail-value {
  color: var(--cool);
  font-size: 12px;
  letter-spacing: 0;
  min-width: 0;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.timeline-ruler {
  position: relative;
  padding: 12px 0 4px;
  background:
    repeating-linear-gradient(90deg, rgba(159, 176, 189, 0.13) 0 1px, rgba(159, 176, 189, 0) 1px 44px);
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  align-items: start;
  gap: 14px 0;
  position: relative;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 10px 0 0;
  min-width: 0;
}
.timeline-node {
  width: 8px;
  height: 8px;
  background: var(--amber);
  transform: rotate(45deg);
  margin-bottom: 6px;
  box-shadow: 0 0 8px rgba(240, 165, 42, 0.5);
}
.timeline-item::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 12px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-dim) 0%, rgba(240, 165, 42, 0.22) 100%);
}
.timeline-item:last-child::after { display: none; }
.timeline-timecode {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  color: var(--cool-2);
  font-size: 12px;
  letter-spacing: 0;
}
.timeline-gap {
  min-height: 56px;
  background:
    repeating-linear-gradient(90deg, rgba(240, 165, 42, 0.2) 0 3px, rgba(240, 165, 42, 0) 3px 9px);
  border-top: 1px dashed var(--amber-dim);
  align-self: stretch;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px 8px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  min-width: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover, .episode-card.is-active {
  border-color: var(--amber-dim);
  background: var(--ink-3);
}
.episode-number {
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
}
.episode-title {
  color: var(--cool);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-summary {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card.is-active .episode-summary {
  max-height: 76px;
  opacity: 1;
  margin-top: 2px;
}
.episode-duration {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber-dim);
  background: var(--ink-2);
  min-width: 0;
}
.comment-nickname {
  color: var(--cool);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.comment-text {
  color: var(--cool-2);
  font-size: 12.5px;
  line-height: 1.5;
}
.comment-timecode {
  align-self: flex-start;
  color: var(--amber);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  padding: 1px 6px;
  border: 1px solid var(--amber-dim);
  border-radius: 2px;
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.region-heading {
  color: var(--cool);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.region-heading::before {
  content: "";
  width: 3px;
  height: 13px;
  background: var(--amber);
  flex: none;
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item[data-runtime="recommendation"], a.recommend-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--cool-2);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.recommend-item:hover {
  border-color: var(--amber-dim);
  background: var(--ink-3);
}
.recommend-thumb {
  grid-row: 1 / span 2;
  width: 54px;
  height: 100%;
  min-height: 54px;
  max-height: 74px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #0a0b0d;
}
.recommend-name {
  color: var(--cool);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #090a0c;
  margin-top: 6px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a.footer-link {
  color: var(--cool-2);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a.footer-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.friend-label {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  flex: none;
}
a.runtime-friend-link {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cool);
  text-decoration: underline;
}
.footer-disclaimer {
  color: #4d5763;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
  max-width: 720px;
}
.player .click, .player .input, .player .timeupdate, .player .progress, .player .volume, .player .speed, .player .play, .player .pause, .player .fullscreen, .player .pip, .player .mute, .player .light, .lights-off, .theater-mode {
  transition: all 0.18s ease;
}
@media (max-width: 1024px) {.episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 860px) {.hero-visual {
    grid-template-columns: minmax(0, 130px) minmax(0, 1fr) minmax(0, 22%);
    padding: 14px 14px 0;
    min-height: 200px;
  }
.hero-figure { inset: 0 0 0 118px; }
.hero-tagline { max-height: 150px; font-size: 12px; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 620px) {.page-main { padding: 12px 11px 22px; gap: 18px; }
.header-inner { padding: 8px 11px; }
.hero-visual {
    grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: end;
    min-height: 0;
    padding: 12px 12px 0;
    row-gap: 10px;
  }
.poster-column { grid-column: 1; grid-row: 1; }
.hero-figure { inset: 0 0 0 84px; }
.hero-tagline-column {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    padding: 0 0 6px 8px;
  }
.hero-tagline {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
    max-width: 100%;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-align: right;
  }
.hero-info { padding: 11px 12px 14px; }
.movie-title { font-size: 20px; }
.player-wrapper { padding: 6px; }
.control-progress { flex: 1 1 100%; }
.control-volume { flex: 1 1 60px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.recommend-strip { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 380px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}

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}
