:root {
  --ink: #0d1117;
  --ink-soft: #161c26;
  --panel: #1a2230;
  --panel-2: #202a3a;
  --line: #2c3849;
  --mist: #8a99ad;
  --paper: #d7dee8;
  --bright: #eef3f9;
  --amber: #d9a441;
  --amber-soft: #e8c176;
  --amber-dim: rgba(217, 164, 65, 0.28);
  --blue: #5c7ba6;
  --blue-dim: rgba(92, 123, 166, 0.3);
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --gap: 14px;
  --gap-s: 9px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -180px, rgba(92, 123, 166, 0.16), transparent 70%),
    linear-gradient(180deg, #0b0f16 0%, #0d1117 40%, #0a0d13 100%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, figure, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 22, 0.82);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--bright);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-left: 12px;
  position: relative;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, var(--amber), var(--blue));
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
a.runtime-category {
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(32, 42, 58, 0.5);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--amber-soft);
  border-color: var(--amber-dim);
  background: rgba(217, 164, 65, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.overview-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  position: relative;
  padding-bottom: 6px;
}
.overview-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-dim), var(--blue-dim) 45%, transparent);
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 5px;
  border-radius: 2px;
  align-self: start;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}
.poster-caption {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: none;
  padding: 3px 2px 1px;
  border-top: 1px dashed var(--line);
}
.overview-lede {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding-top: 4px;
}
.movie-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--bright);
  text-shadow: 0 0 26px rgba(92, 123, 166, 0.28);
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber-soft);
  font-weight: 300;
  border-left: 2px solid var(--amber);
  padding-left: 9px;
  line-height: 1.5;
}
.movie-seo {
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.72;
  max-width: 62ch;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
a.btn-primary {
  display: inline-block;
  color: #10151d;
  text-decoration: none;
  background: linear-gradient(180deg, var(--amber-soft), var(--amber));
  border: 1px solid var(--amber);
  border-radius: 2px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  transition: filter 0.18s, transform 0.18s;
}
a.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-block;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.btn-ghost:hover, .btn-ghost.is-active {
  color: var(--amber-soft);
  border-color: var(--amber-dim);
  background: rgba(217, 164, 65, 0.07);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
  width: 100%;
}
.status-current, .status-total, .status-note {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--mist);
}
.status-current {
  color: var(--amber-soft);
  border-color: var(--amber-dim);
  background: rgba(217, 164, 65, 0.07);
}
.status-total {
  background: rgba(32, 42, 58, 0.6);
}
.status-note {
  background: rgba(92, 123, 166, 0.1);
  border-color: var(--blue-dim);
}
.player-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(26, 34, 48, 0.55);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px;
}
.player-wrapper {
  width: 100%;
  background: #05070b;
  border: 1px solid #000;
  border-radius: 2px;
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.player-controls button {
  background: rgba(32, 42, 58, 0.85);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1;
  padding: 7px 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-controls button:hover, .player-controls button.is-active {
  color: var(--amber-soft);
  border-color: var(--amber-dim);
  background: rgba(217, 164, 65, 0.09);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
  min-width: 90px;
  flex: 1 1 120px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-controls select {
  background: rgba(32, 42, 58, 0.85);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  font-size: 11.5px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}
.player-controls input.click, .player-controls input:active, .player-controls .input, .player-controls .INPUT, .player-controls .SELECT {
  outline: none;
}
body.lights-off .player-block {
  background: #04060a;
}
body.lights-off .overview-hero, body.lights-off .details-panel, body.lights-off .cast-panel, body.lights-off .synopsis-panel {
  opacity: 0.42;
  transition: opacity 0.3s;
}
body.theater-mode .player-block {
  border-color: var(--amber-dim);
  box-shadow: 0 0 0 1px rgba(217, 164, 65, 0.16), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.details-panel, .cast-panel, .synopsis-panel {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.72), rgba(20, 27, 39, 0.72));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
}
.details-heading, .cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bright);
  padding-bottom: 7px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.details-heading::after, .cast-heading::after, .synopsis-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after, .rec-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--amber);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 4px 16px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(44, 56, 73, 0.7);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.detail-row dd {
  margin: 0;
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px 10px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.cast-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(232, 193, 118, 0.45), transparent 58%),
    linear-gradient(160deg, #33445c, #1b2431);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px rgba(11, 15, 22, 0.75), 0 3px 10px rgba(0, 0, 0, 0.45);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: 0.04em;
}
.cast-keyword {
  font-size: 11px;
  color: var(--mist);
  line-height: 1.5;
  max-width: 15ch;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px 22px;
  align-items: start;
}
.synopsis-body p {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--mist);
  padding: 6px 0 6px 11px;
  border-left: 1px solid var(--line);
}
.synopsis-body p:first-child {
  color: var(--paper);
}
.timeline-section {
  background:
    linear-gradient(180deg, rgba(232, 193, 118, 0.05), rgba(92, 123, 166, 0.05)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 0;
  position: relative;
  align-items: start;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-dim) 6%, var(--amber-dim) 50%, var(--blue-dim) 94%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  text-align: center;
}
.timeline-frame {
  width: 100%;
  max-width: 96px;
  height: 52px;
  border-radius: 1px;
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 193, 118, 0.32), transparent 62%),
    linear-gradient(150deg, #2b3a50, #161d29);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px rgba(11, 15, 22, 0.8);
  position: relative;
  z-index: 1;
}
.timeline-frame::before, .timeline-frame::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, rgba(11, 15, 22, 0.9) 0 4px, transparent 4px 9px);
}
.timeline-frame::before {
  top: -1px;
}
.timeline-frame::after {
  bottom: -1px;
}
.timeline-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
  line-height: 1;
}
.timeline-label {
  font-size: 11.5px;
  color: var(--mist);
  line-height: 1.55;
  max-width: 20ch;
}
.episodes-section {
  background: rgba(22, 28, 38, 0.6);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.episodes-layout {
  display: grid;
  grid-template-columns: minmax(0, 88px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.episode-index-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 62px;
}
.episode-index-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber-dim);
  border-radius: 1px;
  background: rgba(32, 42, 58, 0.5);
  text-align: center;
}
.episode-card-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  background: linear-gradient(180deg, rgba(32, 42, 58, 0.62), rgba(22, 28, 38, 0.62));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
  transition: border-color 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: var(--amber-dim);
  transform: translateY(-2px);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--bright);
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.episode-number {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
  border: 1px solid var(--amber-dim);
  border-radius: 1px;
  padding: 2px 5px;
  white-space: nowrap;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.66;
  color: var(--mist);
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-top: auto;
  padding-top: 3px;
  border-top: 1px dashed rgba(44, 56, 73, 0.8);
}
.comments-section {
  background: linear-gradient(180deg, rgba(20, 26, 37, 0.9), rgba(13, 17, 23, 0.9));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.comment-card {
  background: rgba(32, 42, 58, 0.42);
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue-dim);
  border-radius: 2px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--amber-soft);
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mist);
}
.rec-section {
  background: rgba(22, 28, 38, 0.55);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 11px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--paper);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(32, 42, 58, 0.6), rgba(20, 27, 39, 0.6));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px;
  align-self: start;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.rec-card:hover {
  border-color: var(--amber-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  border: 1px solid var(--line);
  filter: saturate(0.88) contrast(1.05);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bright);
  line-height: 1.45;
  border-bottom: 1px solid var(--amber-dim);
  padding-bottom: 3px;
  align-self: flex-start;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--mist);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 12, 17, 0.9);
  padding: 18px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 720px;
  font-size: 11px;
  line-height: 1.7;
  color: #6b7a8d;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-soft);
  border-bottom-color: var(--amber-dim);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
}
.friends-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #5b6a7d;
  text-transform: none;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7d8ea3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: 18px;
  }
.episodes-layout {
    grid-template-columns: minmax(0, 74px) minmax(0, 1fr);
  }}
@media (max-width: 700px) {.page-main {
    padding: 14px 12px 26px;
    gap: 20px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-frame {
    max-width: 230px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episodes-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.episode-index-column {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
  }
.episode-index-item {
    flex: 1 1 auto;
    min-width: 66px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-frame {
    max-width: 100%;
  }}
@media (max-width: 480px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 8px 12px;
  }
.category-nav {
    margin-left: 0;
    width: 100%;
  }
.movie-title {
    font-size: 22px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px 8px;
  }
.cast-avatar {
    width: 50px;
    height: 50px;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls input[type="range"] {
    flex: 1 1 100%;
  }}

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}
