*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, dt, ol, li {
  margin: 0;
  padding: 0;
}
ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink: #0a0e14;
  --ink-2: #0f151d;
  --panel: #121a24;
  --panel-2: #17212d;
  --line: #26323f;
  --line-soft: #1c2733;
  --steel: #8fa3b8;
  --steel-dim: #6a7d92;
  --fog: #cdd8e3;
  --paper: #e8eef5;
  --blood: #b71f2b;
  --blood-bright: #e0242f;
  --rust: #7c4a32;
  --radius: 2px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 15% -10%, #16202c 0%, transparent 60%),
    linear-gradient(180deg, #0a0e14 0%, #0b1017 100%);
  background-color: var(--ink);
  color: var(--fog);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(10, 14, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-brand { display: flex; align-items: center; min-width: 0; }
a[data-contract="site-name"] {
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 10px;
  position: relative;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 15px;
  background: var(--blood);
}
.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--steel);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--paper);
  border-color: var(--steel-dim);
  background: var(--panel-2);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 34px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 -14px auto -14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 31, 43, 0.55), transparent);
}
.hero-poster-wrap {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0) 55%, rgba(10, 14, 20, 0.55) 100%),
    repeating-linear-gradient(115deg, rgba(143, 163, 184, 0.05) 0 1px, transparent 1px 7px);
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.8);
}
.movie-tagline {
  font-size: 13px;
  color: var(--blood-bright);
  letter-spacing: 0.1em;
  font-weight: 700;
  padding-left: 9px;
  border-left: 2px solid var(--blood);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--steel);
  max-width: 68ch;
}
.player-shell {
  position: relative;
  border: 1px solid var(--line);
  background: #05080c;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(18, 26, 36, 0.9), rgba(10, 14, 20, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--steel);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl-btn:hover { color: var(--paper); border-color: var(--steel-dim); }
.ctrl-btn:active { background: #0d141c; }
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  appearance: none;
  background: #1d2836;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blood-bright);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--blood-bright);
}
.ctrl-volume {
  flex: 0 1 76px;
  width: 76px;
  min-width: 54px;
  height: 4px;
  appearance: none;
  background: #1d2836;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--steel);
  border: none;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--steel);
}
.ctrl-speed {
  appearance: none;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: var(--radius);
  cursor: pointer;
}
.player-shell.theater-mode {
  border-color: var(--blood);
  box-shadow: 0 0 0 1px rgba(183, 31, 43, 0.35), 0 24px 50px -26px rgba(0, 0, 0, 1);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  background: #000;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.player-shell.lights-off:hover .player-controls { opacity: 1; }
.player-shell.is-playing .ctrl-btn[data-player-action="play"] {
  color: var(--blood-bright);
  border-color: rgba(224, 36, 47, 0.5);
}
.player-shell.is-playing {
  border-color: var(--line);
}
.player-shell.player { width: 100%; }
.player-shell .progress, .player-shell .volume, .player-shell .speed, .player-shell .play, .player-shell .pause, .player-shell .click, .player-shell .change, .player-shell .input, .player-shell .timeupdate, .player-shell .fullscreen, .player-shell .pip { transition: opacity 0.15s ease, color 0.15s ease; }
.episode-status-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blood);
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.status-current {
  color: var(--blood-bright);
  font-weight: 800;
}
.status-total { color: var(--steel); }
.status-platform {
  margin-left: auto;
  color: var(--steel-dim);
  font-size: 11px;
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.cast-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--steel-dim);
  margin-bottom: 9px;
  text-transform: uppercase;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cast-card:hover {
  border-color: var(--steel-dim);
  background: var(--panel-2);
}
.cast-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #3d4d5e 0%, #1a2431 62%, #101821 100%);
  border: 1px solid #33414f;
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border-top: 1px solid rgba(143, 163, 184, 0.35);
}
.cast-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
}
.synopsis-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--steel-dim);
  text-transform: uppercase;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--steel);
  max-width: 76ch;
}
.details-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--steel-dim);
  text-transform: uppercase;
  margin-bottom: 9px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.details-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: var(--panel);
  min-width: 0;
}
.details-item dt {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--steel-dim);
  letter-spacing: 0.08em;
}
.details-item dd {
  font-size: 12px;
  color: var(--fog);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
}
.timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--paper);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--blood);
  margin-bottom: 12px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 22px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel-dim);
  box-shadow: 0 0 0 3px var(--ink);
}
.timeline-item:first-child::before, .timeline-item:nth-child(3)::before {
  background: var(--blood-bright);
}
.timeline-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--blood-bright);
  letter-spacing: 0.02em;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--steel);
}
.episodes-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  background: var(--panel);
  min-width: 0;
  transition: background 0.16s ease;
}
.episode-card:hover { background: var(--panel-2); }
.episode-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blood-bright);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--steel-dim);
  letter-spacing: 0.08em;
  margin-top: 1px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--steel);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.2s ease, margin 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin-top: 5px;
}
.comments-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid #2c3948;
  border-radius: var(--radius);
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7fb2d8;
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #b6c2cf;
}
.rec-region {
  padding: 20px 0 0;
}
.rec-region:last-child { padding-bottom: 4px; }
.rec-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--fog);
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: var(--steel-dim);
  background: var(--panel-2);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0b1017;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.02em;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.55;
  color: var(--steel-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 14px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--steel-dim);
  max-width: 90ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"] { color: var(--steel); }
a[data-contract="footer-sitemap"] { color: var(--steel-dim); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible {
  color: var(--blood-bright);
  border-bottom-color: var(--blood-bright);
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--steel-dim);
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--steel-dim);
  text-transform: uppercase;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #66788c;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--blood-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 16px;
  }
.movie-title { font-size: 26px; }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 680px) {.site-header { padding: 7px 10px; }
.page-main { padding: 0 10px 26px; }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0 20px;
  }
.hero-poster-wrap { max-width: 220px; }
.movie-title { font-size: 22px; }
.timeline-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.rec-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.status-platform { margin-left: 0; border-left: none; padding-left: 0; }}
@media (max-width: 430px) {.rec-columns { grid-template-columns: minmax(0, 1fr); }
.hero-poster-wrap { max-width: 170px; }
.cast-card { flex: 1 1 calc(50% - 8px); }
.movie-title { font-size: 20px; }
.footer-friend-links { gap: 5px 10px; }}

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}
