:root {
  --ink-900: #070b14;
  --ink-800: #0b1220;
  --ink-700: #111a2c;
  --ink-600: #182338;
  --steel-500: #2c3a52;
  --steel-400: #46566f;
  --steel-300: #6d7f99;
  --steel-200: #9aa9bf;
  --steel-100: #c8d2e0;
  --blood-600: #8c1c22;
  --blood-500: #b3222a;
  --blood-400: #d13a3f;
  --edge: rgba(120, 140, 170, 0.18);
  --edge-strong: rgba(140, 160, 190, 0.32);
  --panel: #0d1524;
  --panel-2: #101a2c;
  --text: #d5dde9;
  --text-dim: #8b99b0;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(140, 28, 34, 0.16), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(44, 58, 82, 0.35), transparent 62%),
    linear-gradient(180deg, #070b14 0%, #080d17 40%, #060a12 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--steel-100);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: rgba(179, 34, 42, 0.5);
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.96), rgba(7, 11, 20, 0.82));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--edge);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}
.brand-name, a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--steel-100);
  text-decoration: none;
  padding-left: 10px;
  border-left: 3px solid var(--blood-500);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--steel-200);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: rgba(24, 35, 56, 0.5);
  line-height: 1.3;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--blood-500);
  background: rgba(140, 28, 34, 0.35);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--steel-200);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--blood-500);
  margin-bottom: 8px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
  background:
    linear-gradient(150deg, rgba(24, 35, 56, 0.85) 0%, rgba(13, 21, 36, 0.9) 46%, rgba(10, 15, 26, 0.96) 100%);
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(179, 34, 42, 0.16) 0%, transparent 38%);
  pointer-events: none;
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  align-self: start;
}
.hero-media {
  position: relative;
  width: 100%;
  border: 1px solid var(--edge-strong);
  border-radius: 3px;
  overflow: hidden;
  background: #05070d;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  align-self: start;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(13, 21, 36, 0) 42%, rgba(7, 11, 20, 0.72) 100%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.94);
}
.hero-player {
  width: 100%;
  border: 1px solid var(--edge);
  border-radius: 3px;
  overflow: hidden;
  background: #04060b;
}
.hero-player video {
  display: block;
  width: 100%;
  background: #04060b;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.movie-title {
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.03em;
  color: #f2f6fb;
  text-shadow: 0 2px 0 rgba(140, 28, 34, 0.55), 0 10px 30px rgba(0, 0, 0, 0.7);
  margin: 0;
}
.movie-tagline {
  font-size: 13.5px;
  letter-spacing: 0.16em;
  color: var(--blood-400);
  border-left: 2px solid var(--blood-600);
  padding-left: 9px;
  line-height: 1.5;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding: 8px 0;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.9), rgba(11, 18, 32, 0.92));
  border: 1px solid var(--edge);
  border-radius: 3px;
}
.ctrl {
  border: 1px solid var(--edge);
  background: rgba(24, 35, 56, 0.65);
  color: var(--steel-100);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ctrl:hover {
  border-color: var(--blood-500);
  background: rgba(140, 28, 34, 0.4);
  color: #fff;
}
.ctrl-play, .ctrl-mute, .ctrl-pip, .ctrl-fullscreen, .ctrl-theater, .ctrl-light {
  flex: 0 0 auto;
}
.ctrl-play {
  background: linear-gradient(180deg, #a5242b, #77161c);
  border-color: #b3222a;
  color: #fff;
  font-weight: 700;
}
.ctrl-play:hover {
  background: linear-gradient(180deg, #c02b33, #8c1c22);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--blood-500);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--steel-300);
  cursor: pointer;
}
.ctrl-speed {
  flex: 0 0 auto;
  padding: 3px 4px;
  background: rgba(17, 26, 44, 0.9);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-speed option {
  background: #0d1524;
  color: var(--steel-100);
}
.ctrl.is-active, .ctrl.is-active:hover {
  border-color: var(--blood-400);
  background: rgba(179, 34, 42, 0.55);
  color: #fff;
}
.is-lights-off {
  filter: brightness(0.42) contrast(1.08);
  transition: filter 0.3s ease;
}
.is-lights-off .hero-section {
  filter: none;
}
.is-theater .hero-section, .hero-section.is-theater {
  grid-template-columns: 1fr;
}
.is-theater .hero-visual, .hero-section.is-theater .hero-visual {
  max-width: 100%;
}
.cast-section {
  margin-top: 4px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  background: rgba(24, 35, 56, 0.42);
  border: 1px solid var(--edge);
  border-left: 2px solid var(--steel-500);
  border-radius: 2px;
  align-self: start;
}
.cast-card:hover {
  border-left-color: var(--blood-500);
  background: rgba(30, 44, 68, 0.6);
}
.cast-actor {
  font-size: 13px;
  font-weight: 700;
  color: var(--steel-100);
  letter-spacing: 0.02em;
}
.cast-role {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.synopsis-section {
  margin-top: 4px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px 18px;
  border-top: 1px solid var(--edge);
  padding-top: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--steel-200);
  text-align: justify;
}
.episode-status {
  margin-top: 4px;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: rgba(24, 35, 56, 0.38);
}
.status-current {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blood-400);
  letter-spacing: 0.05em;
}
.status-total {
  font-size: 12px;
  color: var(--text-dim);
  padding-left: 10px;
  border-left: 1px solid var(--edge-strong);
}
.details-section {
  margin-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--edge);
  padding-top: 6px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(120, 140, 170, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12.5px;
  color: var(--steel-100);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  border-top: 1px solid var(--edge);
  padding-top: 12px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  position: relative;
  padding-top: 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel-500) 12%, var(--steel-500) 88%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px 8px;
  text-align: center;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 2px solid var(--blood-500);
  box-shadow: 0 0 0 3px rgba(140, 28, 34, 0.18), 0 0 12px rgba(179, 34, 42, 0.55);
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}
.timeline-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blood-400);
  order: -1;
  margin-bottom: 2px;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--steel-200);
  overflow-wrap: anywhere;
}
.episodes-section {
  border-top: 1px solid var(--edge);
  padding-top: 12px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 4px 14px;
  align-items: start;
}
.episode-row {
  border-bottom: 1px solid rgba(120, 140, 170, 0.12);
  align-self: start;
}
.episode-details {
  width: 100%;
}
.episode-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  min-width: 0;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary:hover {
  background: rgba(24, 35, 56, 0.5);
}
.episode-number {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--blood-400);
  letter-spacing: 0.06em;
  min-width: 46px;
}
.episode-title {
  flex: 1 1 auto;
  color: var(--steel-100);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.episode-text {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--steel-200);
  padding: 2px 2px 9px 54px;
  border-left: 1px solid var(--edge);
  margin-left: 2px;
}
.comments-section {
  border-top: 1px solid var(--edge);
  padding-top: 12px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.comment-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(100deg, rgba(24, 35, 56, 0.5), rgba(13, 21, 36, 0.28));
  border: 1px solid var(--edge);
  border-radius: 2px;
  align-self: start;
}
.comment-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 0 0 auto;
}
.comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(200, 210, 224, 0.5), transparent 58%),
    linear-gradient(140deg, var(--steel-400), var(--ink-700) 72%);
  border: 1px solid var(--edge-strong);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.65);
  display: block;
  flex: 0 0 auto;
}
.comment-nickname {
  font-size: 11px;
  color: var(--steel-300);
  letter-spacing: 0.04em;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--steel-200);
  text-align: right;
  border-right: 2px solid rgba(140, 28, 34, 0.5);
  padding-right: 8px;
}
.recommend-region {
  border-top: 1px solid var(--edge);
  padding-top: 12px;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--steel-200);
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--blood-500);
}
.recommend-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-500) transparent;
}
.recommend-rail::-webkit-scrollbar {
  height: 6px;
}
.recommend-rail::-webkit-scrollbar-thumb {
  background: var(--steel-500);
  border-radius: 3px;
}
.recommend-rail::-webkit-scrollbar-track {
  background: rgba(24, 35, 56, 0.4);
}
a.recommend-card {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(24, 35, 56, 0.62), rgba(13, 21, 36, 0.72));
  border: 1px solid var(--edge);
  border-radius: 3px;
  color: var(--steel-100);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}
a.recommend-card:hover {
  border-color: var(--blood-500);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(34, 48, 74, 0.7), rgba(17, 26, 44, 0.8));
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(120, 140, 170, 0.16);
  background: #05070d;
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #e6edf6;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 18px 30px;
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(9, 14, 24, 0.6), rgba(6, 10, 18, 0.9));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--steel-200);
  text-decoration: none;
  letter-spacing: 0.06em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--blood-500);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  padding-right: 8px;
  border-right: 1px solid var(--edge-strong);
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--steel-300);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(120, 140, 170, 0.14);
  border-radius: 2px;
  white-space: nowrap;
  background: rgba(24, 35, 56, 0.34);
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: var(--blood-500);
  background: rgba(140, 28, 34, 0.34);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #6b7789;
  border-top: 1px dashed rgba(120, 140, 170, 0.14);
  padding-top: 8px;
  max-width: 900px;
}
@media (max-width: 1080px) {.hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 14px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 0;
  }
.timeline-track::before {
    display: none;
  }}
@media (max-width: 860px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-visual {
    max-width: 340px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 12px 20px;
    gap: 14px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.brand-name, a[data-contract="site-name"] {
    font-size: 15px;
  }
.hero-section {
    padding: 10px;
    gap: 10px;
  }
.hero-visual {
    max-width: 260px;
  }
.movie-title {
    font-size: 24px;
  }
.movie-tagline {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
.cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 5px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 0;
  }
.timeline-node {
    padding: 0 4px 8px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.episode-text {
    padding-left: 18px;
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-text {
    text-align: left;
    border-right: none;
    border-left: 2px solid rgba(140, 28, 34, 0.5);
    padding-right: 0;
    padding-left: 8px;
  }
a.recommend-card {
    flex: 0 0 148px;
    width: 148px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 0;
  }
.site-footer {
    padding: 14px 12px 26px;
  }}
@media (max-width: 420px) {.hero-visual {
    max-width: 100%;
  }
.cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: 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}
