:root {
  --ink: #120c0c;
  --ink-soft: #1c1313;
  --ink-panel: #1a1112;
  --red: #8f1d24;
  --red-bright: #c2262f;
  --red-glow: rgba(210, 40, 50, 0.55);
  --cyan: #7d99a1;
  --cyan-dim: #4f666d;
  --orange: #d98a4a;
  --orange-dim: #a2663a;
  --paper: #e8dcd2;
  --paper-dim: #b3a49a;
  --paper-faint: #7d6f68;
  --line: rgba(232, 220, 210, 0.16);
  --line-strong: rgba(232, 220, 210, 0.28);
  --gap-tight: 8px;
  --gap: 14px;
  --gap-wide: 24px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(143, 29, 36, 0.22), transparent 60%),
    linear-gradient(180deg, #150e0e 0%, #100a0a 55%, #0c0808 100%);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl {
  list-style: none;
}
a {
  color: var(--paper);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 9, 9, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--red-bright);
}
.category-bar {
  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: 12px;
  font-weight: 400;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: var(--orange-dim);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper-dim);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--red-bright);
}
.movie-overview {
  background: linear-gradient(180deg, rgba(30, 18, 18, 0.72) 0%, rgba(20, 13, 13, 0.55) 100%);
  border: 1px solid var(--line);
  border-top: none;
  padding: 20px 16px 18px;
  margin-bottom: 26px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: var(--gap-wide);
  align-items: start;
  margin-bottom: 22px;
}
.poster-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.poster-frame {
  width: 100%;
  position: relative;
  border: 1px solid var(--line-strong);
  padding: 4px;
  background: rgba(10, 6, 6, 0.6);
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.filmstrip-overlay {
  display: flex;
  gap: 3px;
  width: 100%;
  margin-top: 6px;
  padding: 4px 3px;
  background: #080505;
  border: 1px solid var(--line);
}
.filmstrip-cell {
  flex: 1 1 0;
  min-width: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    rgba(217, 138, 74, 0.16) 0 2px,
    rgba(217, 138, 74, 0.05) 2px 6px
  );
  border-left: 1px solid rgba(210, 40, 50, 0.28);
  border-right: 1px solid rgba(210, 40, 50, 0.28);
}
.title-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-shadow: 0 0 18px rgba(143, 29, 36, 0.5);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--orange);
  letter-spacing: 0.12em;
  padding-left: 10px;
  border-left: 2px solid var(--red);
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: none;
  margin-top: 6px;
  padding: 8px;
  background: #0a0606;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(143, 29, 36, 0.18), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.main-player {
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.control-button {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  background: rgba(143, 29, 36, 0.14);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.control-button:hover, .control-button.is-active, .control-button.is-playing, .control-button.is-muted {
  color: #fff;
  background: rgba(194, 38, 47, 0.42);
  border-color: var(--red-bright);
}
.control-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--cyan-dim);
  border-radius: 2px;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-glow);
  border: none;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-glow);
}
.control-select {
  flex: 0 0 auto;
  padding: 4px 6px;
  font-size: 12px;
  background: rgba(10, 6, 6, 0.9);
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.is-theater {
  background: #050303;
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 0 40px rgba(143, 29, 36, 0.4);
}
.details-panel {
  margin-bottom: 22px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 var(--gap-wide);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  width: 68px;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper);
  line-height: 1.4;
}
.synopsis-panel {
  margin-bottom: 22px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px var(--gap-wide);
  align-items: start;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.62;
  color: var(--paper-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.cast-panel {
  margin-bottom: 22px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}
.cast-card {
  flex: 0 0 auto;
  margin-left: -10px;
  padding: 8px 14px;
  background: linear-gradient(160deg, #241717 0%, #170f0f 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.55);
  transform: rotate(-1.2deg);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cast-card:first-child {
  margin-left: 0;
}
.cast-card:nth-child(even) {
  transform: rotate(1.4deg);
  z-index: 1;
}
.cast-card:hover {
  transform: rotate(0deg) translateY(-2px);
  border-color: var(--red);
  z-index: 3;
}
.cast-name {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--paper);
  white-space: nowrap;
}
.episode-status-panel {
  margin-bottom: 4px;
}
.episode-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}
.status-label {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.status-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}
.status-divider {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
}
.timeline-section {
  margin-bottom: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
  padding: 14px 0 6px;
  background: repeating-linear-gradient(
    90deg,
    rgba(232, 220, 210, 0.05) 0 1px,
    transparent 1px 22px
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 8px 8px;
  min-width: 0;
}
.timeline-perf {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-faint);
}
.timeline-node-current {
  background: linear-gradient(180deg, rgba(143, 29, 36, 0.22), rgba(143, 29, 36, 0.04));
  border-left: 1px solid var(--red);
  border-right: 1px solid rgba(143, 29, 36, 0.35);
}
.timeline-node-current .timeline-perf {
  top: 2px;
  left: 6px;
  width: 15px;
  height: 15px;
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 14px 3px var(--red-glow);
}
.timeline-node-current .timeline-timecode {
  color: var(--orange);
  font-size: 13px;
}
.timeline-node-current .timeline-label {
  color: var(--paper);
}
.episodes-section {
  margin-bottom: 26px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 var(--gap-wide);
  align-items: start;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 2px 8px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.episode-number {
  grid-area: num;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red-bright);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 400;
  color: var(--paper);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 11.5px;
  color: var(--cyan-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.55;
  color: var(--paper-faint);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.comments-section {
  margin-bottom: 26px;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px;
  background: rgba(24, 16, 16, 0.66);
  border-left: 2px solid var(--red);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--paper-dim);
}
.recommend-section {
  margin-bottom: 22px;
}
.recommend-heading {
  display: block;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: rgba(22, 14, 14, 0.7);
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}
a.recommend-card:hover {
  border-color: var(--red-bright);
  background: rgba(143, 29, 36, 0.16);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.recommend-index {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--paper);
  background: rgba(10, 6, 6, 0.86);
  border: 1px solid var(--red);
  border-radius: 1px;
  z-index: 2;
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--paper-faint);
}
body.is-lights-off {
  background: #050303;
}
body.is-lights-off .movie-overview {
  background: #0a0606;
  border-color: rgba(143, 29, 36, 0.5);
}
body.is-lights-off .main-player {
  filter: brightness(0.86);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 6, 6, 0.9);
  margin-top: 10px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-faint);
  max-width: 760px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  border-bottom-color: var(--orange-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--paper-faint);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--cyan-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  text-decoration: underline;
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 16px;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 680px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.movie-overview {
    padding: 16px 12px 14px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-column {
    max-width: 200px;
  }
.movie-title {
    font-size: 26px;
  }
.detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-card {
    margin-left: -6px;
  }}
@media (max-width: 420px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    margin-left: 0;
    transform: none;
  }
.cast-card:nth-child(even) {
    transform: none;
  }}

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}
