:root {
  --bg-deep: #0d141c;
  --bg-panel: #121b25;
  --bg-panel-2: #16212d;
  --bg-tint: #0f1821;
  --line: #22303f;
  --line-soft: #1a2634;
  --text: #c7d3de;
  --text-dim: #7d8d9c;
  --text-bright: #e8f0f6;
  --cyan: #2fe0d0;
  --cyan-dim: #1d8f88;
  --orange: #ff7a1a;
  --orange-dim: #b3520d;
  --mono: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", "Courier New", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(47, 224, 208, 0.05) 0%, rgba(13, 20, 28, 0) 22%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.014) 0px, rgba(255, 255, 255, 0.014) 1px, transparent 1px, transparent 3px);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
}
body.lights-off {
  background-color: #05080c;
}
body.lights-off .movie-overview {
  filter: brightness(0.55);
}
img, video {
  max-width: 100%;
  display: block;
}
a {
  color: var(--cyan);
  text-decoration: none;
}
h1, h2, h3, p, ul, ol, figure, table {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
a[data-contract="site-name"] {
  color: var(--text-bright);
  text-decoration: none;
  letter-spacing: 0.04em;
}
a[data-contract="site-name"]:hover {
  color: var(--cyan);
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-category:hover {
  color: var(--cyan);
}
a.action-primary {
  color: #0b1219;
  text-decoration: none;
}
a.action-ghost {
  color: var(--cyan);
  text-decoration: none;
}
a.recommend-card {
  color: var(--text);
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--cyan);
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--cyan);
}
a.runtime-friend-link {
  color: var(--cyan-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--orange);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 16, 23, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
.site-brand {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid var(--cyan-dim);
  border-radius: 2px;
  background: rgba(47, 224, 208, 0.06);
  flex: 0 0 auto;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.category-bar a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
}
.category-bar a.runtime-category:hover {
  border-color: var(--cyan-dim);
  background: rgba(47, 224, 208, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(160deg, rgba(18, 27, 37, 0.96), rgba(13, 20, 28, 0.96));
  border: 1px solid var(--line);
  border-radius: 3px;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  overflow: hidden;
}
.poster-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.poster-figure img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.05);
}
.poster-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--cyan-dim);
  padding-top: 3px;
  border-top: 1px dashed var(--line);
}
.hero-code-rain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(90deg, rgba(47, 224, 208, 0.11) 0px, rgba(47, 224, 208, 0.11) 1px, transparent 1px, transparent 15px),
    repeating-linear-gradient(180deg, rgba(47, 224, 208, 0.09) 0px, rgba(47, 224, 208, 0.09) 2px, transparent 2px, transparent 9px),
    linear-gradient(180deg, rgba(255, 122, 26, 0.05), transparent 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
}
.hero-text {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 4px;
}
.movie-title {
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: 0.01em;
  text-shadow: 0 0 14px rgba(47, 224, 208, 0.22);
}
.movie-tagline {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--mono);
  border-left: 2px solid var(--orange);
  padding-left: 8px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.action-primary {
  display: inline-block;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 2px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.action-primary:hover {
  background: #ff9147;
  border-color: #ff9147;
}
.action-ghost {
  display: inline-block;
  padding: 7px 18px;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  border-radius: 2px;
  background: rgba(47, 224, 208, 0.05);
}
.action-ghost:hover {
  background: rgba(47, 224, 208, 0.14);
  border-color: var(--cyan);
}
.player-shell {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #070c12;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 4px 2px;
  border-top: 1px dashed var(--line);
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-dim);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: var(--cyan);
  border-color: var(--cyan-dim);
  background: rgba(47, 224, 208, 0.1);
}
.ctrl-btn.is-muted {
  color: var(--orange);
  border-color: var(--orange-dim);
}
.ctrl-btn.is-altered {
  color: var(--orange);
  border-color: var(--orange-dim);
  background: rgba(255, 122, 26, 0.1);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  border: none;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  border: none;
}
.player-shell.is-theater {
  border-color: var(--orange-dim);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.25);
}
.section-heading {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.section-heading::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--orange);
  flex: 0 0 auto;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.synopsis-block {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--cyan-dim);
  border-radius: 2px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.synopsis-paragraph::first-letter {
  color: var(--cyan);
}
.details-block {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.35;
}
.details-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.012);
}
.details-key {
  text-align: left;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px 4px 0;
  width: 34%;
  vertical-align: top;
  border-bottom: 1px dashed var(--line-soft);
  white-space: nowrap;
}
.details-value {
  color: var(--text-bright);
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  vertical-align: top;
}
.details-row:last-child .details-key, .details-row:last-child .details-value {
  border-bottom: none;
}
.episode-status {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.status-item {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  padding: 2px 8px;
  border: 1px solid var(--cyan-dim);
  border-radius: 2px;
  background: rgba(47, 224, 208, 0.05);
  white-space: nowrap;
}
.status-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.status-node {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  padding: 3px 8px 3px 14px;
  white-space: nowrap;
}
.status-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 2px var(--bg-tint);
}
.status-node + .status-node {
  border-left: 1px dashed var(--line);
}
.status-node-active {
  color: var(--orange);
  background: rgba(255, 122, 26, 0.1);
  border-radius: 2px;
}
.status-node-active::before {
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--bg-tint), 0 0 8px var(--orange);
}
.cast-block {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  min-width: 0;
}
.cast-card:hover {
  border-color: var(--cyan-dim);
  background: var(--bg-panel-2);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(180deg, rgba(47, 224, 208, 0.35) 0px, rgba(47, 224, 208, 0.35) 1px, transparent 1px, transparent 3px),
    linear-gradient(140deg, #1c2b3a, #101923);
}
.cast-name {
  font-size: 12px;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-block {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.timeline-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-dim) transparent;
}
.timeline-strip::-webkit-scrollbar {
  height: 6px;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: var(--cyan-dim);
  border-radius: 3px;
}
.timeline-strip::-webkit-scrollbar-track {
  background: var(--line-soft);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 210px;
  padding: 0 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 1px dashed var(--line);
}
.timeline-node:first-child {
  border-left: none;
  padding-left: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(255, 122, 26, 0.7);
}
.timeline-node:first-child::before {
  left: -2px;
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episodes-block {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  overflow: hidden;
  min-width: 0;
}
.episode-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 122, 26, 0.18) 0px,
    rgba(255, 122, 26, 0.18) 1px,
    rgba(255, 122, 26, 0.05) 1px,
    rgba(255, 122, 26, 0.05) 3px
  );
  transition: opacity 0.18s ease;
}
.episode-cell:hover {
  border-color: var(--orange-dim);
  background: var(--bg-panel-2);
}
.episode-cell:hover::after {
  opacity: 1;
}
.episode-number {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--cyan-dim);
  text-transform: uppercase;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  flex: 1 1 auto;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  align-self: flex-start;
  border-top: 1px dashed var(--line);
  padding-top: 3px;
  margin-top: 2px;
}
.episode-cell-active {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.1), var(--bg-panel));
}
.episode-cell-active .episode-number {
  color: var(--orange);
}
.episode-cell-active::after {
  opacity: 0.5;
}
.comments-block {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comment-card {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan-dim);
  border-radius: 2px;
  background: var(--bg-panel);
  min-width: 0;
}
.comment-card:hover {
  border-left-color: var(--orange);
  background: var(--bg-panel-2);
}
.comment-nickname {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cyan);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}
.recommend-region {
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.recommend-card:hover {
  border-color: var(--orange-dim);
  background: var(--bg-panel-2);
}
.recommend-card [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.35;
}
.recommend-card [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  display: block;
  background: #0a1119;
}
.recommend-card:hover [data-runtime="name"] {
  color: var(--cyan);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 14, 20, 0.95);
  margin-top: 6px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding-right: 4px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.overview-hero {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 14px;
  }}
@media (max-width: 680px) {.page-main {
    padding: 10px 12px 22px;
    gap: 16px;
  }
.header-inner {
    padding: 8px 12px;
  }
.movie-overview {
    padding: 12px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-figure {
    max-width: 190px;
  }
.hero-code-rain {
    mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.timeline-node {
    width: 180px;
  }
.details-key {
    width: 40%;
  }}
@media (max-width: 420px) {.player-controls {
    gap: 4px;
  }
.ctrl-btn {
    padding: 3px 7px;
    font-size: 10px;
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(120px, 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}
