*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #05090f;
  --ink-2: #0a121d;
  --ink-3: #0e1a28;
  --line: #1d3346;
  --line-soft: #16283a;
  --cyan: #4ff0e0;
  --cyan-dim: #2bb9ae;
  --cool: #dbe9f2;
  --cool-dim: #9db4c4;
  --grey: #8b9dab;
  --warm: #e6a866;
  --gap: 10px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(79, 240, 224, 0.06), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(230, 168, 102, 0.05), transparent 55%),
    var(--ink);
  color: var(--cool);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(5, 9, 15, 0.96), rgba(5, 9, 15, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar { display: flex; align-items: center; min-width: 0; }
a[data-contract="site-name"] {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line);
  position: relative;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "▮";
  color: var(--cyan);
  margin-right: 6px;
  animation: blink 1.6s steps(1, end) infinite;
}
a[data-contract="site-name"]:hover { border-color: var(--cyan-dim); color: #a8fff5; }
.category-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}
a.runtime-category {
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
  color: var(--cool-dim);
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(14, 26, 40, 0.6);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
  background: rgba(43, 185, 174, 0.1);
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.15; } }
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.main-content {
  display: block;
  padding: var(--gap) 14px;
  max-width: 1320px;
  margin: 0 auto;
}
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 26, 40, 0.72), rgba(8, 15, 24, 0.72));
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: var(--gap);
}
.panel::before, .panel::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan-dim);
  pointer-events: none;
  opacity: 0.8;
}
.panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.section-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.movie-overview { padding-top: 14px; }
.movie-title {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #f2fafd;
  font-weight: 700;
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--cyan);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.movie-seo-desc {
  font-size: 12px;
  color: var(--grey);
  margin-top: 5px;
  max-width: 78ch;
}
.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 12px;
}
.poster-shell {
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 3px;
  overflow: hidden;
}
.poster-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  background: var(--ink-3);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(180deg, transparent 40%, rgba(79, 240, 224, 0.16));
  pointer-events: none;
  mix-blend-mode: screen;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(10, 18, 29, 0.95), rgba(5, 9, 15, 0.95));
  border-top: 1px solid var(--line-soft);
}
.ctrl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  padding: 4px 7px;
  color: var(--cool-dim);
  background: rgba(14, 26, 40, 0.85);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.ctrl:hover { color: var(--cyan); border-color: var(--cyan-dim); }
.ctrl.is-active, .ctrl.play.is-active {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, var(--cyan-dim), var(--line));
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 13px;
  background: var(--cyan);
  border: 0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--cyan);
  border: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 56px;
  height: 4px;
  padding: 0;
  border: 0;
  background: var(--line);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 13px;
  background: var(--cool-dim);
  border: 0;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--cool-dim);
  border: 0;
  cursor: pointer;
}
.ctrl-speed { padding-right: 4px; }
.player-video.is-theater, .player-shell.is-theater {
  border-color: var(--cyan-dim);
}
body.lights-off {
  background: #010304;
}
body.lights-off .panel {
  opacity: 0.42;
  transition: opacity 0.2s;
}
body.lights-off .movie-overview {
  opacity: 1;
}
.player-shell.fullscreen, .player-shell:fullscreen {
  border-color: var(--cyan);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: rgba(14, 26, 40, 0.7);
  color: var(--cool-dim);
  white-space: nowrap;
}
.chip-current { color: var(--cyan); border-color: var(--cyan-dim); }
.chip-total { color: var(--cool); }
.chip-rating { color: var(--warm); border-color: rgba(230, 168, 102, 0.4); }
.chip-year { color: var(--grey); }
.cast-strip { margin-top: 2px; }
.cast-title { font-size: 10px; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 14px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 52px;
}
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 30%, rgba(79, 240, 224, 0.28), transparent 60%),
    linear-gradient(160deg, #16303f, #0a1622);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(79, 240, 224, 0.1) 0 1px, transparent 1px 3px);
}
.cast-name {
  font-size: 11px;
  color: var(--cool-dim);
  text-align: center;
  white-space: nowrap;
}
.synopsis-block { margin-top: 2px; }
.synopsis-title { font-size: 10px; }
.synopsis-para {
  font-size: 12.5px;
  color: var(--cool-dim);
  line-height: 1.6;
  margin-bottom: 6px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.detail-grid { margin-top: 2px; }
.details-title { font-size: 10px; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--grey);
  letter-spacing: 0.06em;
  flex: 0 0 62px;
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  color: var(--cool);
  min-width: 0;
}
.timeline-block { padding-bottom: 14px; }
.timeline-title { font-size: 10px; }
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 7px 0 7px 16px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--line), var(--cyan-dim), var(--line));
  animation: pulseLine 2.8s ease-in-out infinite;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.timeline-node:hover::after { background: var(--cyan); }
.node-episode {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
  white-space: nowrap;
}
.node-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cool-dim);
  letter-spacing: 0.02em;
  min-width: 0;
}
.episodes-title { font-size: 10px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 8px;
  padding: 5px 6px 5px 7px;
  border-left: 2px solid var(--line-soft);
  background: rgba(10, 18, 29, 0.4);
  transition: background 0.15s, border-color 0.15s;
  min-width: 0;
}
.episode-card:hover {
  background: rgba(43, 185, 174, 0.08);
  border-left-color: var(--cyan);
}
.ep-number {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ep-title {
  font-size: 12.5px;
  color: var(--cool);
  min-width: 0;
}
.ep-duration {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--grey);
  white-space: nowrap;
}
.ep-summary {
  grid-column: 2 / -1;
  font-size: 11.5px;
  color: var(--grey);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 3px;
}
.comments-title { font-size: 10px; }
.comment-stream {
  columns: 2;
  column-gap: 14px;
}
.comment-card {
  break-inside: avoid;
  page-break-inside: avoid;
  padding: 6px 0 6px 8px;
  margin-bottom: 6px;
  border-left: 1px solid var(--line);
}
.comment-card:hover { border-left-color: var(--cyan-dim); }
.comment-nick {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  color: #b9c8d3;
  line-height: 1.5;
}
.rec-region {
  margin-bottom: var(--gap);
}
.rec-region .rec-title {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cool-dim);
  text-align: right;
  padding-bottom: 5px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}
.rec-row-1 .rec-title { color: var(--cyan); }
.rec-row-2 .rec-title { color: var(--warm); }
.rec-row-3 .rec-title { color: var(--cool-dim); }
.rec-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rec-track::-webkit-scrollbar { height: 6px; }
.rec-track::-webkit-scrollbar-track { background: transparent; }
.rec-track::-webkit-scrollbar-thumb { background: var(--line); }
.rec-track::-webkit-scrollbar-thumb:hover { background: var(--cyan-dim); }
.rec-card {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
}
.rec-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 18, 29, 0.6);
  color: var(--cool-dim);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.rec-link:hover {
  border-color: var(--cyan-dim);
  background: rgba(43, 185, 174, 0.08);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .rec-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
}
.rec-name {
  font-size: 12px;
  color: var(--cool);
  line-height: 1.35;
}
.rec-blurb {
  font-size: 10.5px;
  color: var(--grey);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 15, 24, 0.9), rgba(3, 6, 10, 0.98));
  padding: 12px 14px 20px;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.55;
  max-width: 90ch;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--cyan); }
a[data-contract="footer-home"]:hover { color: #a8fff5; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: var(--cool-dim); }
a[data-contract="footer-sitemap"]:hover { color: var(--cyan); text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.friend-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--grey);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--cool-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-dim);
}
body.lights-off .player-shell { box-shadow: 0 0 0 1px var(--cyan-dim), 0 0 40px rgba(79, 240, 224, 0.12); }
.ctrl.play.is-active, .ctrl.mute.is-active, .ctrl.pip.is-active, .ctrl.fullscreen.is-active, .ctrl.theater.is-active, .ctrl.light.is-active {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}
.player-shell.is-theater { border-color: var(--cyan-dim); }
@media (max-width: 980px) {.overview-layout {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 12px;
  }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stream { columns: 2; }}
@media (max-width: 720px) {.main-content { padding: 10px; }
.overview-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.poster-shell {
    width: 100%;
    max-width: 220px;
  }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stream { columns: 1; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.movie-title { font-size: 19px; }
.player-controls { gap: 4px; }
.ctrl { padding: 3px 6px; font-size: 10px; }
.rec-track { scroll-snap-type: x mandatory; }
.rec-card { width: 150px; }}
@media (max-width: 420px) {.main-content { padding: 8px; }
.panel { padding: 10px; }
.cast-list { gap: 6px 10px; }
.cast-item { width: 46px; }
.cast-avatar { width: 38px; height: 38px; }
.chip { font-size: 10px; padding: 2px 6px; }
.rec-card { width: 140px; }
.ctrl-progress { flex-basis: 100%; }
.footer-disclaimer { font-size: 10.5px; }}

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}
