:root {
  --cold-white: #d7e6e6;
  --dim-white: #9fb3b3;
  --blood-red: #6f1414;
  --blood-glow: #a41f1f;
  --neon-red: #c62b2b;
  --screen-green: #4c6152;
  --screen-green-deep: #2c3a31;
  --ink: #0b0d0d;
  --panel: #111414;
  --panel-2: #171b1b;
  --line: #232a2a;
  --line-bright: #384343;
  --noise: #1f2626;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", "Heiti SC", sans-serif;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #0b0d0d 0%, #0e1111 40%, #090b0b 100%);
  color: var(--dim-white);
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cold-white);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #0d1010, #0a0c0c);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #eef6f6;
  text-decoration: none;
  text-transform: uppercase;
  border-left: 3px solid var(--neon-red);
  padding-left: 8px;
  text-shadow: 0 0 10px rgba(198,43,43,0.35);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--dim-white);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line-bright);
  background: #121616;
  letter-spacing: 0.04em;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--neon-red);
  background: #1c1010;
}
.movie-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 14px 20px;
  padding: 16px 16px 18px;
  margin-top: 12px;
  background:
    linear-gradient(180deg, rgba(76,97,82,0.10), rgba(76,97,82,0.02) 40%, transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blood-red);
  position: relative;
}
.overview::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 46%;
  background: linear-gradient(180deg, var(--blood-glow), transparent);
  opacity: 0.7;
}
.overview-poster-wrap {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  width: 100%;
  position: relative;
  border: 1px solid var(--line-bright);
  background: #050707;
  overflow: hidden;
}
.overview-poster-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(215,230,230,0.10) 0%, transparent 34%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 2px);
  mix-blend-mode: screen;
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.12) brightness(0.9);
}
.overview-head {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f2fbfb;
  text-shadow: 0 0 16px rgba(164,31,31,0.45), 0 0 2px rgba(215,230,230,0.5);
}
.movie-tagline {
  font-size: 13px;
  color: var(--blood-glow);
  letter-spacing: 0.12em;
  font-weight: 700;
  border-left: 3px solid var(--blood-red);
  padding-left: 8px;
  text-shadow: 0 0 10px rgba(164,31,31,0.4);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.55;
  color: #8ba0a0;
  max-width: 62ch;
  border-top: 1px solid var(--line);
  padding-top: 6px;
  margin-top: 2px;
}
.cast-strip {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  min-width: 0;
}
.cast-heading {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--screen-green);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 34%, rgba(215,230,230,0.18), transparent 46%),
    linear-gradient(180deg, #1a2020 0%, #0d1111 100%);
  border: 1px solid var(--line-bright);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(76,97,82,0.16) 0 1px, transparent 1px 3px);
}
.cast-name {
  font-size: 11px;
  color: #b9cccc;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.synopsis {
  grid-column: 1 / -1;
  grid-row: 3;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 2px;
}
.synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--cold-white);
  font-weight: 800;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--blood-red);
  text-transform: uppercase;
}
.synopsis-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.62;
  color: #93a8a8;
  text-align: justify;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}
.synopsis-para-a { border-top-color: var(--blood-red); }
.synopsis-para-b { border-top-color: var(--screen-green); margin-top: 10px; }
.synopsis-para-c { border-top-color: var(--line-bright); margin-top: 20px; }
.episode-status {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: start;
}
.status-item {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: #121717;
  border: 1px solid var(--line);
  color: #9fb3b3;
  white-space: nowrap;
}
.status-current {
  color: #f2fbfb;
  border-color: var(--blood-red);
  background: #1a0f0f;
}
.status-score {
  color: #d8e6c8;
  border-color: var(--screen-green);
  background: var(--screen-green-deep);
}
.status-total {
  color: #c3d3d3;
}
.details {
  grid-column: 1 / -1;
  grid-row: 5;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.details-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--screen-green);
  letter-spacing: 0.08em;
  min-width: 4.5em;
}
.details-value {
  font-size: 12px;
  color: #c5d6d6;
  min-width: 0;
  word-break: break-word;
}
.player-shell {
  margin-top: 12px;
  background: #080a0a;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blood-red);
  position: relative;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid var(--line-bright);
}
.player-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(180deg, transparent 68%, rgba(0,0,0,0.5) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 2px);
}
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #121616, #0b0e0e);
}
.ctrl-btn {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a9bcbc;
  padding: 4px 9px;
  border: 1px solid var(--line-bright);
  background: #141919;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.ctrl-btn:hover {
  color: #fff;
  border-color: var(--neon-red);
  background: #1d1010;
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  color: #fff;
  border-color: var(--neon-red);
  background: #2a0f0f;
  box-shadow: inset 0 0 8px rgba(198,43,43,0.35);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--blood-red), var(--screen-green-deep));
  border: 1px solid var(--line-bright);
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 14px;
  background: var(--cold-white);
  border: 1px solid var(--blood-red);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 8px;
  height: 14px;
  border-radius: 0;
  background: var(--cold-white);
  border: 1px solid var(--blood-red);
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--screen-green-deep);
  border: 1px solid var(--line-bright);
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 14px;
  background: var(--screen-green);
  border: 1px solid var(--cold-white);
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 14px;
  border-radius: 0;
  background: var(--screen-green);
  border: 1px solid var(--cold-white);
}
.player-shell.theater-mode {
  border-left-color: var(--neon-red);
  box-shadow: 0 0 0 1px var(--blood-red), 0 12px 40px rgba(0,0,0,0.8);
}
.player-shell.theater-mode .player-frame {
  max-width: 100%;
}
body.lights-off {
  background: #040505;
}
body.lights-off .movie-page > *:not(.player-shell) {
  opacity: 0.28;
  transition: opacity 0.3s;
}
body.lights-off .player-shell {
  box-shadow: 0 0 60px rgba(198,43,43,0.25);
}
.timeline-section {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 12px;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 0 5px 8px;
  border-left: 2px solid var(--screen-green);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.timeline-time {
  font-size: 11px;
  color: var(--blood-glow);
  letter-spacing: 0.05em;
  font-weight: 700;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  color: #9db0b0;
  line-height: 1.45;
}
.episodes-section {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-bright);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-top-color: var(--neon-red);
  background: #1b1f1f;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blood-glow);
  font-weight: 800;
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  color: #eef6f6;
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: #8ea2a2;
  text-align: justify;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--screen-green);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--line);
  padding-top: 3px;
  margin-top: 2px;
}
.comments-section {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.comments-masonry {
  columns: 3;
  column-gap: 6px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 6px;
  padding: 8px 9px;
  background: linear-gradient(180deg, #141919, #101414);
  border: 1px solid var(--line);
  border-left: 2px solid var(--screen-green);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cold-white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: #93a8a8;
  text-align: justify;
}
.rec-region {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.rec-heading {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--cold-white);
  font-weight: 800;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--blood-red);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--dim-white);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--neon-red);
  background: #1b1f1f;
}
a.rec-card:hover .rec-name {
  color: #fff;
  text-shadow: 0 0 10px rgba(198,43,43,0.5);
}
.rec-pic {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050707;
  border: 1px solid var(--line);
  filter: saturate(0.7) contrast(1.1) brightness(0.88);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: #dfecec;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: #879b9b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region-1 .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-region-2 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-3 .rec-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rec-region-1 { border-top-color: var(--blood-red); }
.rec-region-2 { border-top-color: var(--screen-green); }
.rec-region-3 { border-top-color: var(--line-bright); }
.site-footer {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 12px 14px 20px;
  border-top: 2px solid var(--blood-red);
  background: linear-gradient(180deg, #0c0f0f, #080a0a);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b9cccc;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line-bright);
  background: #121616;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--cold-white);
  border-color: var(--blood-red);
}
a[data-contract="footer-sitemap"] {
  color: var(--screen-green);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-color: var(--neon-red);
  background: #1d1010;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #6f8282;
  max-width: 90ch;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-bottom: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--screen-green);
  font-weight: 700;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8ea2a2;
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--line);
  background: #111515;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: var(--neon-red);
}
@media (max-width: 1024px) {.movie-title { font-size: 22px; }
.details-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episodes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-1 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-3 .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 820px) {.overview {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.synopsis-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.synopsis-para-b { margin-top: 0; }
.synopsis-para-c { margin-top: 0; }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-masonry { columns: 2; }
.rec-region-1 .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-region-2 .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-region-3 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 560px) {body { font-size: 12px; }
.site-header { gap: 8px; padding: 7px 10px; }
.overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px 10px 14px;
  }
.overview-poster-wrap {
    grid-column: 1;
    grid-row: 1;
    max-width: 180px;
  }
.overview-head { grid-column: 1; grid-row: 2; }
.cast-strip { grid-column: 1; grid-row: 3; }
.synopsis { grid-row: 4; }
.episode-status { grid-row: 5; }
.details { grid-row: 6; }
.movie-title { font-size: 19px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.synopsis-columns { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.player-controls { gap: 4px; padding: 7px 8px; }
.ctrl-btn { padding: 4px 7px; font-size: 10.5px; }
.ctrl-progress { flex: 1 1 100%; order: -1; }
.ctrl-volume { flex: 0 1 70px; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comments-masonry { columns: 1; }
.rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer { padding: 12px 10px 18px; }}
@media (max-width: 360px) {.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid { 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}
