*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, dt, figure, ol, ul, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:root {
  --ink: #10161f;
  --ink-2: #1a2330;
  --slate: #26303e;
  --slate-2: #39465a;
  --steel: #5c6b80;
  --mist: #aeb9c8;
  --paper: #e9edf2;
  --paper-2: #dde3ea;
  --alert: #ff6a1f;
  --alert-dim: #d14f0e;
  --line: rgba(120, 140, 165, 0.32);
  --mono: "SFMono-Regular", "Cascadia Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--paper);
  background-color: #0c1119;
  background-image:
    radial-gradient(1200px 620px at 18% -8%, rgba(92, 107, 128, 0.28), transparent 70%),
    radial-gradient(900px 520px at 100% 12%, rgba(255, 106, 31, 0.09), transparent 72%),
    linear-gradient(180deg, #0d131c 0%, #0a0e15 60%, #0c1119 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.page-main, .site-header, .site-footer { position: relative; z-index: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 17, 25, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  border-left: 3px solid var(--alert);
  padding-left: 9px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--alert); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(38, 48, 62, 0.5);
  transition: color .16s, border-color .16s, background .16s;
}
a.runtime-category:hover {
  color: var(--alert);
  border-color: var(--alert);
  background: rgba(255, 106, 31, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 6px;
}
.movie-overview { margin-bottom: 26px; }
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(38, 48, 62, 0.72), rgba(16, 22, 31, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.016) 0 2px, transparent 2px 6px);
  position: relative;
  overflow: hidden;
}
.overview-shell::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at 100% 0, rgba(255, 106, 31, 0.16), transparent 68%);
  pointer-events: none;
}
.poster-column { position: relative; }
.poster-frame {
  position: relative;
  border: 1px solid var(--slate-2);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.poster-column::after {
  content: "";
  position: absolute;
  right: -34%;
  bottom: -12%;
  width: 62%;
  height: 46%;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(90deg, var(--alert) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  transform: skewY(-3deg);
}
.overview-info-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f3f6fa;
  text-shadow: 0 2px 18px rgba(255, 106, 31, 0.24);
}
.movie-tagline {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--alert);
  padding-left: 9px;
  border-left: 2px solid var(--alert);
}
.movie-seo-description {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--slate-2);
  border-radius: 3px;
  background: #070a0f;
  overflow: hidden;
  transition: background .2s, border-color .2s;
}
.player-video {
  width: 100%;
  height: auto;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(26, 35, 48, 0.94), rgba(12, 17, 25, 0.98));
  border-top: 1px solid var(--line);
}
.player-button {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
  background: rgba(57, 70, 90, 0.55);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .14s, border-color .14s, background .14s;
}
.player-button:hover {
  color: #fff;
  border-color: var(--alert);
  background: rgba(255, 106, 31, 0.2);
}
.player-button:active { transform: translateY(1px); }
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--slate);
  border-radius: 2px;
  cursor: pointer;
  min-width: 0;
}
.player-progress { flex: 1 1 140px; }
.player-volume { flex: 0 1 80px; }
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--alert);
  border: none;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px; height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--alert);
}
.player-shell.player-shell-theater {
  border-color: var(--alert);
  box-shadow: 0 0 0 1px rgba(255, 106, 31, 0.4), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.player-shell.player-shell-lights-off { background: #000; }
.player-shell.player-shell-lights-off .player-controls {
  background: #000;
  border-top-color: rgba(255, 106, 31, 0.35);
}
.player-shell.player-shell-lights-off .player-button {
  background: #0b0e13;
  color: var(--alert);
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 10px;
  border: 1px dashed rgba(255, 106, 31, 0.4);
  border-radius: 2px;
  background: rgba(255, 106, 31, 0.06);
  align-self: start;
}
.status-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alert);
}
.status-value {
  font-size: 12px;
  color: var(--paper-2);
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--alert);
  margin-bottom: 11px;
}
.cast-section { margin-top: 4px; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  padding: 8px 8px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(38, 48, 62, 0.42);
  transition: border-color .16s, background .16s;
}
.cast-card:hover {
  border-color: rgba(255, 106, 31, 0.6);
  background: rgba(255, 106, 31, 0.07);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background:
    linear-gradient(145deg, rgba(92, 107, 128, 0.75), rgba(26, 35, 48, 0.95)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 3px, transparent 3px 7px);
  border: 1px solid var(--slate-2);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%; top: 26%;
  width: 34%; aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(233, 237, 242, 0.22);
  box-shadow: 0 26px 0 6px rgba(233, 237, 242, 0.16);
}
.cast-name {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--paper-2);
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 5px;
}
.synopsis-section { margin-top: 16px; }
.synopsis-body {
  column-count: 2;
  column-gap: 20px;
  column-rule: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-paragraph:first-child::first-letter {
  color: var(--alert);
  font-weight: 700;
}
.details-section { margin-top: 16px; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.detail-key {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  color: var(--paper-2);
  min-width: 0;
}
.timeline-section { margin-bottom: 26px; }
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  padding-left: 14px;
  border-left: 2px solid var(--slate-2);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 7px 0 7px 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--slate-2);
  border: 2px solid #0c1119;
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--steel);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--paper-2);
}
.timeline-item-highlight {
  background: linear-gradient(90deg, rgba(255, 106, 31, 0.14), transparent 78%);
}
.timeline-item-highlight::before {
  background: var(--alert);
  box-shadow: 0 0 0 3px rgba(255, 106, 31, 0.22);
}
.timeline-item-highlight .timeline-timecode { color: var(--alert); }
.timeline-item-highlight .timeline-label { color: #fff; }
.episodes-section { margin-bottom: 26px; }
.episodes-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  align-items: start;
}
.episode-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--alert);
  border-radius: 2px;
  background: rgba(38, 48, 62, 0.5);
  padding: 12px 14px;
}
.episode-card-columns {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.episode-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--alert);
}
.episode-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #f2f5f9;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--steel);
}
.episode-card-right { min-width: 0; }
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}
.comments-section { margin-bottom: 26px; }
.comments-masonry {
  columns: 3;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 12px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(26, 35, 48, 0.66);
  transition: border-color .16s, background .16s;
}
.comment-card:hover {
  border-color: rgba(255, 106, 31, 0.55);
  background: rgba(38, 48, 62, 0.8);
}
.comment-nickname {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--alert);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region { margin-bottom: 22px; }
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(26, 35, 48, 0.6);
  padding: 8px;
  transition: border-color .16s, transform .16s, background .16s;
}
a.recommend-item:hover {
  border-color: var(--alert);
  background: rgba(255, 106, 31, 0.08);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #0a0e15;
  filter: saturate(0.9);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--steel);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommend-item:hover .recommend-name { color: var(--alert); }
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 13, 19, 0.92);
  margin-top: 8px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--steel);
  max-width: 76ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  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(--alert);
  border-bottom-color: var(--alert);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--alert);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 900px) {.overview-shell {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }
.movie-title { font-size: 24px; }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments-masonry { columns: 2; }
.timeline-track { gap: 0 18px; }}
@media (max-width: 640px) {.page-main { padding: 14px 12px 4px; }
.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.poster-column { max-width: 220px; }
.poster-column::after { display: none; }
.movie-title { font-size: 21px; }
.synopsis-body { column-count: 1; column-rule: none; }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.episode-card-columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.episode-card-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 6px;
  }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-masonry { columns: 1; }
.recommend-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.player-progress { flex: 1 1 100%; order: -1; }}
@media (max-width: 420px) {.header-inner { padding: 8px 12px; gap: 10px; }
.footer-inner { padding: 14px 12px; }
.player-button { padding: 3px 6px; }}

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}
