:root {
  --bg: #10151c;
  --bg-2: #161d26;
  --bg-3: #1c242f;
  --bg-4: #222c38;
  --line: #2a3441;
  --line-2: #333f4d;
  --ink: #dfe6ee;
  --ink-2: #9aa7b6;
  --ink-3: #6c7a8b;
  --cold: #e8eef5;
  --silver: #b9c4d1;
  --accent: #ff8a3d;
  --accent-dim: #c25f22;
  --accent-glow: rgba(255, 138, 61, 0.45);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --gap: 8px;
  --pad: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body.lights-off {
  background: #05080c;
}
body.lights-off .site-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.6);
}
body.lights-off .player-shell {
  filter: brightness(1);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--silver);
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 12px;
  font-weight: 600;
  color: var(--cold);
  text-transform: none;
  letter-spacing: 0.08em;
}
ol {
  list-style: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16, 21, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 12px 6px;
  border-bottom: 1px solid var(--line);
}
.site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cold);
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--cold);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--accent);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
a.runtime-category {
  display: inline-block;
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--cold);
  border-color: var(--silver);
  background: var(--bg-4);
}
.site-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px 16px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: var(--pad);
  position: relative;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 60%);
}
.overview-poster {
  justify-self: start;
  width: 100%;
  max-width: 210px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.overview-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cold);
  line-height: 1.2;
}
.hero-tagline {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 8px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.btn-play, .btn-theater, .btn-light {
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ink);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-play {
  background: var(--cold);
  color: #0d1218;
  border-color: var(--cold);
  font-weight: 700;
}
.btn-play:hover {
  background: #ffffff;
}
.btn-theater:hover, .btn-light:hover {
  border-color: var(--silver);
  color: var(--cold);
  background: var(--bg-4);
}
.btn-light {
  border-color: var(--accent-dim);
  color: var(--accent);
}
.btn-light:hover {
  background: rgba(255, 138, 61, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}
.watch-panel {
  grid-column: 1 / -1;
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05080c;
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.player-shell.theater-mode {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 0 30px rgba(255, 138, 61, 0.18);
}
.player-video {
  display: block;
  width: 100%;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
}
.ctrl {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink-2);
  padding: 4px 8px;
  font-size: 11.5px;
  line-height: 1.2;
  cursor: pointer;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--cold);
  border-color: var(--silver);
}
.ctrl.is-active {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: rgba(255, 138, 61, 0.1);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  background: var(--silver);
  border-radius: 50%;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  background: var(--silver);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.ctrl-speed {
  padding-right: 4px;
}
.status-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 8px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.status-label {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--cold);
  font-variant-numeric: tabular-nums;
}
.current-value {
  color: var(--accent);
}
.status-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 6px;
  background: var(--bg-4);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 54%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  box-shadow: 0 0 10px var(--accent-glow);
}
.synopsis-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.synopsis-heading {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.synopsis-lead {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 9px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
  text-align: justify;
}
.cast-panel {
  grid-column: 1 / -1;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.cast-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.cast-card {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scroll-snap-align: start;
}
.cast-avatar {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}
.cast-card:hover .cast-avatar {
  border-color: var(--silver);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cold);
  line-height: 1.3;
}
.cast-note {
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.35;
}
.details-panel {
  grid-column: 1 / -1;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.details-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 8px;
  background: var(--bg-3);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  min-width: 52px;
}
.detail-value {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
  min-width: 0;
  word-break: break-word;
}
.timeline-panel {
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.timeline-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px 7px 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--silver);
  border-radius: 50%;
}
.node-timecode {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.current-node {
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.1), var(--bg-3) 70%);
  border-color: var(--accent-dim);
  box-shadow: 0 0 14px rgba(255, 138, 61, 0.14);
}
.current-node::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.current-node .node-timecode {
  color: var(--accent);
}
.current-node .node-label {
  color: var(--cold);
}
.episodes-panel {
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.episodes-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.episode-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.episode-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 9px;
  background: var(--bg-3);
}
.episode-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cold);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.episode-duration {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.episode-row.current-episode {
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.1), var(--bg-3) 60%);
}
.episode-row.current-episode .episode-number {
  color: var(--accent);
}
.episode-row.current-episode .episode-title {
  color: var(--accent);
}
.episode-row:hover {
  background: var(--bg-4);
}
.comments-panel {
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.comments-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.comments-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.comment-card {
  padding: 7px 9px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.rec-region {
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.rec-heading {
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
a.rec-item:hover {
  border-color: var(--silver);
  background: var(--bg-4);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-4);
  filter: saturate(0.8);
}
.rec-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--cold);
  line-height: 1.3;
  display: block;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-3);
  display: block;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
a.footer-link {
  font-size: 11.5px;
  color: var(--silver);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
}
a.footer-link:hover {
  color: var(--cold);
  border-color: var(--silver);
}
a[data-contract="footer-home"] {
  color: var(--cold);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-2);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.friend-links-label {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ink-3);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--accent);
}
@media (min-width: 560px) {.site-main {
    padding: 12px 16px 18px;
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (min-width: 820px) {body {
    font-size: 13px;
  }
.movie-overview {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.overview-poster {
    max-width: none;
  }
.overview-head {
    justify-content: flex-start;
    gap: 10px;
  }
.hero-title {
    font-size: 24px;
  }
.watch-panel, .status-panel, .synopsis-panel, .cast-panel, .details-panel {
    grid-column: 1 / -1;
  }
.synopsis-panel {
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    row-gap: 8px;
  }
.synopsis-heading {
    grid-column: 1;
    grid-row: 1;
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding-bottom: 0;
    padding-right: 10px;
  }
.synopsis-lead {
    grid-column: 2;
    grid-row: 1;
  }
.synopsis-body {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
  }
.details-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.timeline-node {
    padding: 8px 8px 8px 11px;
  }
.episode-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (min-width: 1100px) {.movie-overview {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 14px;
  }
.hero-title {
    font-size: 28px;
  }
.episode-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comments-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }}
@media (max-width: 400px) {.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px;
  }
.hero-title {
    font-size: 18px;
  }}

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}
