:root {
  --ink: #0b1220;
  --ink-2: #101a2c;
  --ink-3: #16233a;
  --line: #253650;
  --line-soft: #1d2c44;
  --gold: #c9a86a;
  --gold-soft: #9d8552;
  --gold-dim: #6e5d3c;
  --text: #d7dee9;
  --text-2: #9aa8bc;
  --text-3: #6d7c92;
  --white: #f3f6fb;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #0a111e 0%, #0c1526 100%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 16px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(201, 168, 106, 0.22);
}
a[data-contract="site-name"].site-brand:hover {
  color: #e8cd93;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}
.movie-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 16px 22px;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  padding-left: 9px;
  margin-bottom: 8px;
  border-left: 3px solid var(--gold);
  letter-spacing: 0.06em;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas:
    "still player panel"
    "still player panel";
  gap: 14px;
  align-items: start;
  background: linear-gradient(150deg, #0d1727 0%, #0a111e 62%, #101a2c 100%);
  border: 1px solid var(--line);
  padding: 14px;
}
.hero-still {
  grid-area: still;
  position: relative;
  align-self: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #060b14;
}
.hero-still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 20, 0) 38%, rgba(6, 11, 20, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 11, 20, 0.55) 0%, rgba(6, 11, 20, 0) 42%);
  pointer-events: none;
}
img.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-overlay-text {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 12px 13px;
  width: 100%;
  border-top: 1px solid rgba(201, 168, 106, 0.42);
  background: linear-gradient(180deg, rgba(9, 15, 26, 0.05) 0%, rgba(9, 15, 26, 0.86) 46%);
}
.hero-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.15;
  max-height: 100%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}
.hero-player-slot {
  grid-area: player;
  position: relative;
  align-self: start;
  min-width: 0;
  width: 100%;
  background: #05090f;
  border: 1px solid var(--line);
}
.movie-player {
  width: 100%;
  height: auto;
  background: #05090f;
  display: block;
}
.player-fallback {
  padding: 12px;
  font-size: 12px;
  color: var(--text-2);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 7px;
  background: var(--ink-3);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  background: #0d1729;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--white);
  border-color: var(--gold-soft);
  background: #16233a;
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #223css;
  background: #22334d;
  border: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
}
.hero-player-slot.is-theater {
  box-shadow: 0 0 0 1px var(--gold-soft), 0 10px 34px rgba(0, 0, 0, 0.6);
}
.hero-player-slot.is-lights-off {
  background: #000;
}
.hero-player-slot.is-lights-off .movie-player {
  filter: brightness(1.04);
}
.movie-player.is-muted {
  opacity: 0.96;
}
.hero-info-panel {
  grid-area: panel;
  align-self: start;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "syn status"
    "syn details"
    "cast cast";
  gap: 12px;
  background: linear-gradient(180deg, #121d31 0%, #0e1727 100%);
  border: 1px solid var(--line);
  padding: 13px 13px 14px;
}
.hero-synopsis {
  grid-area: syn;
  min-width: 0;
}
.hero-episode-status {
  grid-area: status;
  min-width: 0;
}
.hero-details {
  grid-area: details;
  min-width: 0;
}
.hero-cast {
  grid-area: cast;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-lead {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.55;
  padding-bottom: 7px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.synopsis-para {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.62;
  text-align: justify;
}
.status-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
}
.status-item:last-child {
  border-bottom: none;
}
.status-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.status-val {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.detail-val {
  flex: 1 1 auto;
  text-align: right;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
}
.cast-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.cast-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  background: #0c1626;
  border: 1px solid var(--line-soft);
  white-space: nowrap;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #3d4d68 0%, #1a2639 62%, #101a2c 100%);
  border: 1px solid var(--gold-dim);
}
.cast-name {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-section {
  background: linear-gradient(180deg, #0f1a2c 0%, #0c1524 100%);
  border: 1px solid var(--line);
  padding: 13px 14px 16px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  position: relative;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 10px 0 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-dim);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0c1524;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(12, 21, 36, 1);
}
.timeline-node.is-active::after {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.22), 0 0 12px rgba(201, 168, 106, 0.55);
}
.timeline-node.is-active::before {
  background: var(--gold);
  height: 2px;
  top: 3.5px;
}
.node-timecode {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.timeline-node.is-active .node-timecode {
  color: #f0d79c;
}
.node-label {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.42;
  padding-right: 4px;
}
.timeline-node.is-active .node-label {
  color: var(--white);
  font-weight: 700;
}
.episodes-section {
  background: linear-gradient(180deg, #0e1828 0%, #0b1422 100%);
  border: 1px solid var(--line);
  padding: 13px 14px 15px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  text-align: left;
  padding: 9px 10px;
  background: #101b2d;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-dim);
  transition: border-color 0.16s, background 0.16s;
}
.episode-card:hover {
  background: #14213a;
  border-left-color: var(--gold);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  text-align: left;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.5;
  text-align: left;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding-top: 2px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
}
.comments-section {
  background: linear-gradient(180deg, #0f1a2c 0%, #0c1524 100%);
  border: 1px solid var(--line);
  padding: 13px 14px 15px;
}
.comment-stream {
  columns: 2;
  column-gap: 8px;
  column-fill: balance;
}
.comment-card {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 8px;
  padding: 8px 9px;
  background: #101b2d;
  border: 1px solid var(--line-soft);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #46586f 0%, #1b2740 66%, #0f1929 100%);
  border: 1px solid var(--gold-dim);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.55;
  text-align: justify;
}
.rec-region {
  background: linear-gradient(180deg, #0e1828 0%, #0b1422 100%);
  border: 1px solid var(--line);
  padding: 12px 13px 13px;
}
.rec-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  padding-left: 9px;
  margin-bottom: 9px;
  border-left: 3px solid var(--gold);
  letter-spacing: 0.06em;
}
.rec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rec-item {
  display: block;
  min-width: 0;
}
.rec-item + .rec-item {
  border-top: 1px solid var(--line-soft);
}
a.rec-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  align-items: center;
  gap: 2px 8px;
  padding: 7px 2px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
a.rec-link:hover {
  background: rgba(201, 168, 106, 0.06);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  filter: saturate(0.85) brightness(0.95);
}
.rec-name {
  grid-area: name;
  align-self: end;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-link:hover .rec-name {
  color: var(--gold);
}
.rec-blurb {
  grid-area: blurb;
  align-self: start;
  min-width: 0;
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.movie-main > .rec-region {
  display: block;
}
.site-footer {
  background: linear-gradient(180deg, #0a111e 0%, #070d18 100%);
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  justify-content: space-between;
}
.footer-disclaimer {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.footer-nav a {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
}
a[data-contract="footer-home"] {
  color: var(--text-2);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--gold);
}
a[data-contract="footer-sitemap"] {
  color: var(--gold-soft);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  text-decoration: underline;
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  text-decoration: none;
}
.click, .data-player-action, .fullscreen, .fullscreenchange, .input, .light, .mute, .pause, .pip, .play, .player, .progress, .speed, .theater, .timeupdate, .volume, .x {
  box-sizing: border-box;
}
@media (min-width: 1024px) {.movie-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }
.hero-shell, .timeline-section, .episodes-section, .comments-section {
    grid-column: 1 / -1;
  }
.movie-main > .rec-region {
    grid-column: auto;
  }}
@media (max-width: 1023px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "still panel"
      "player panel";
    align-items: start;
  }
.hero-still {
    max-width: 340px;
  }
.hero-info-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "syn"
      "status"
      "details"
      "cast";
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 10px;
  }}
@media (max-width: 767px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 7px 12px;
  }
.movie-main {
    padding: 12px 12px 18px;
    gap: 12px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "still"
      "player"
      "panel";
    padding: 12px;
    gap: 12px;
  }
.hero-still {
    max-width: 100%;
  }
.hero-tagline {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.1em;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stream {
    columns: 1;
  }
.footer-inner {
    padding: 12px 12px 16px;
  }}
@media (max-width: 420px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    flex-wrap: nowrap;
  }
.hero-title {
    font-size: 17px;
  }
.player-controls {
    gap: 3px;
  }
.ctrl-btn {
    padding: 3px 6px;
    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}
