*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --ink: #0c1116;
  --ink-2: #121a22;
  --panel: #16202a;
  --panel-2: #1b2733;
  --line: #26333f;
  --line-soft: #1e2a35;
  --cold: #7d93a8;
  --cold-bright: #aec2d4;
  --fluorescent: #e9f1f7;
  --fluorescent-dim: #b9c8d4;
  --blood: #e0122b;
  --blood-deep: #8d0a1b;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  background: var(--ink);
  color: var(--fluorescent-dim);
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 17, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 7px 12px;
  max-width: 1320px;
  margin: 0 auto;
}
a.site-name {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--fluorescent);
  text-decoration: none;
  padding-right: 10px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a.site-name:hover { color: #fff; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--cold);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.6;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--fluorescent);
  border-color: var(--cold);
  background: var(--panel);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: start;
  background: linear-gradient(180deg, #131c25 0%, #0f161d 100%);
  border: 1px solid var(--line);
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(224, 18, 43, 0.14), transparent 42%),
    radial-gradient(circle at 82% 88%, rgba(125, 147, 168, 0.1), transparent 46%);
  pointer-events: none;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.poster-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #0a0e12;
  overflow: hidden;
}
.main-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.94);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(224, 18, 43, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(10, 14, 18, 0) 55%, rgba(10, 14, 18, 0.72) 100%);
  pointer-events: none;
}
.poster-timestamp {
  position: absolute;
  right: -6px;
  bottom: 10px;
  z-index: 3;
  background: var(--blood);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px 3px 12px;
  transform: rotate(-1.6deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 16px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #060a0e;
}
.player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 7px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.control-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--cold-bright);
  font-size: 11px;
  line-height: 1.5;
  padding: 3px 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.control-btn:hover {
  background: #22303d;
  color: var(--fluorescent);
  border-color: var(--cold);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 60px;
  min-width: 48px;
  background: #2c3a47;
  border: none;
  outline: none;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--blood);
  border-radius: 50%;
  border: none;
}
.control-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--blood);
  border: none;
  border-radius: 50%;
}
.player-shell.is-playing .control-btn[data-player-action="play"] {
  background: var(--blood-deep);
  color: #fff;
  border-color: var(--blood);
}
.player-shell.is-muted .control-btn[data-player-action="mute"] {
  color: var(--blood);
  border-color: var(--blood-deep);
}
.player-shell.is-theater {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #000;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.player-shell.is-theater .player { max-height: 82vh; object-fit: contain; }
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { background: #05080b; opacity: 0.9; }
.player-shell.is-theater .player-controls {
  background: rgba(8, 12, 16, 0.92);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.movie-title {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--fluorescent);
  text-shadow: 0 0 22px rgba(174, 194, 212, 0.22);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--cold-bright);
  line-height: 1.4;
  padding-left: 9px;
  border-left: 3px solid var(--blood);
}
.movie-seo {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--cold);
  max-width: 68ch;
}
.block-heading {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--fluorescent);
  text-transform: none;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 7px;
  position: relative;
}
.block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--blood);
}
.cast-block { min-width: 0; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 5px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #5d7286, #2a3846 70%);
  border: 1px solid #3b4c5c;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--cold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block { min-width: 0; }
.synopsis-para {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--cold);
  margin-bottom: 4px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-content: start;
}
.status-chip {
  font-size: 11px;
  font-weight: 400;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--cold-bright);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-chip:first-child {
  background: var(--blood);
  border-color: var(--blood);
  color: #fff;
  font-weight: 500;
}
.details-block { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3px 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted var(--line-soft);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: #64798c;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  font-weight: 400;
  color: var(--fluorescent-dim);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section { min-width: 0; }
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 0 18px;
}
.timeline-node {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  border-left: 2px solid var(--line);
  padding: 5px 0 5px 0;
  position: relative;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border: 2px solid var(--cold);
  border-radius: 50%;
}
.timeline-node:hover::before {
  border-color: var(--blood);
  background: var(--blood);
}
.timeline-code {
  flex: 0 0 auto;
  width: 58px;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--fluorescent);
  padding: 1px 0;
  text-align: center;
  align-self: flex-start;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 8px;
  margin-right: 4px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--cold-bright);
  align-self: center;
}
.recommend-region { min-width: 0; }
.recommend-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--fluorescent);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 7px;
  position: relative;
}
.recommend-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--blood);
}
.recommend-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}
.recommend-rail::-webkit-scrollbar { height: 6px; }
.recommend-rail::-webkit-scrollbar-track { background: transparent; }
.recommend-rail::-webkit-scrollbar-thumb { background: #2b3a47; }
a.recommend-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 148px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--cold-bright);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--blood);
  background: var(--panel-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0e12;
  border: 1px solid #22303c;
  filter: saturate(0.72) brightness(0.9);
}
a.recommend-item:hover img.recommend-thumb { filter: saturate(1) brightness(1); }
.recommend-name {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fluorescent);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--cold);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 3px solid #33434f;
  min-width: 0;
}
.episode-number {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cold);
}
.episode-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--fluorescent);
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--cold);
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 300;
  color: #5d7286;
  letter-spacing: 0.06em;
  align-self: flex-start;
  border-top: 1px dotted var(--line);
  padding-top: 3px;
  margin-top: auto;
}
.episode-card-watched {
  background: #05080b;
  border-color: #33434f;
  border-left-color: var(--blood);
  box-shadow: inset 0 0 0 1px rgba(224, 18, 43, 0.28), 0 0 18px rgba(224, 18, 43, 0.08);
}
.episode-card-watched .episode-number {
  color: #fff;
  background: var(--blood);
  padding: 1px 6px;
  align-self: flex-start;
  letter-spacing: 0.12em;
}
.episode-card-watched .episode-title { color: #fff; }
.episode-card-watched .episode-summary { color: var(--cold-bright); }
.episode-card-watched .episode-duration { color: #c76b78; border-top-color: #43202a; }
.comments-section { min-width: 0; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  min-width: 0;
}
.comment-card:nth-child(odd) { margin-top: 0; }
.comment-card:nth-child(even) { margin-top: 11px; }
.comment-nickname {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-nickname::before {
  content: "▍";
  color: var(--blood);
  margin-right: 3px;
}
.comment-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--fluorescent-dim);
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 12px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: #5d7286;
  max-width: 92ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 400;
  color: var(--cold-bright);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--fluorescent);
  border-bottom-color: var(--blood);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  padding-top: 7px;
  border-top: 1px dotted var(--line-soft);
}
.friend-links-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #5d7286;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: #6f8598;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--fluorescent);
  text-decoration: underline;
  text-decoration-color: var(--blood);
}
@media (max-width: 1080px) {.hero-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.movie-title { font-size: 22px; }}
@media (max-width: 860px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame { max-width: 340px; }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.page-main { padding: 8px 9px 2px; gap: 12px; }
.hero-panel { padding: 9px; }
.movie-title { font-size: 20px; }
.poster-frame { max-width: 100%; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.timeline-node { padding-right: 4px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card:nth-child(even) { margin-top: 0; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.recommend-item { width: 132px; }
.header-bar { padding: 6px 9px; }
.site-footer { padding: 10px 9px 22px; }}
@media (max-width: 400px) {.cast-list { grid-template-columns: minmax(0, 1fr); }
.movie-title { font-size: 18px; }
a.recommend-item { width: 118px; }}

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}
