*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, dl, dd, dt, nav, header, footer, section, article, main {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --coal: #0d0e10;
  --coal-2: #14161a;
  --slate: #1c1f24;
  --ash: #2a2e34;
  --ice: #c9d2da;
  --ice-dim: #7d8891;
  --warm: #f0e9df;
  --ember: #e86a2c;
  --ember-dim: #b04a1c;
  --gap: 14px;
  --gap-tight: 8px;
}
html {
  background: var(--coal);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--coal);
  color: var(--ice);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  padding: 0 12px 32px;
  min-height: 100vh;
}
h1, h2, h3 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-stretch: condensed;
}
.section-heading {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--ice-dim);
  font-weight: 600;
  margin-bottom: var(--gap-tight);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ash);
}
.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap);
  border-bottom: 1px solid var(--ash);
}
.header-bar {
  display: flex;
  align-items: baseline;
  gap: var(--gap-tight);
  flex: 0 0 auto;
}
a[data-contract="site-name"] {
  color: var(--warm);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
a[data-contract="site-name"]:hover {
  color: var(--ember);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  display: inline-block;
  color: var(--ice-dim);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  border: 1px solid var(--ash);
  border-radius: 2px;
}
a.runtime-category:hover {
  color: var(--coal);
  background: var(--ice);
  border-color: var(--ice);
}
.movie-main {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 18px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 20px;
  align-items: start;
  background: linear-gradient(160deg, #101215 0%, #0a0b0d 100%);
  border: 1px solid var(--ash);
  padding: 16px;
}
.poster-column {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 12px;
}
.poster-figure {
  display: block;
  width: 100%;
  background: var(--slate);
  overflow: hidden;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.78) contrast(1.08);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  line-height: 1.15;
  color: var(--warm);
  letter-spacing: 0.04em;
}
.movie-tagline {
  margin-top: -8px;
  font-size: 12px;
  color: var(--ember);
  letter-spacing: 0.1em;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ice-dim);
  max-width: 62ch;
}
.cast-block, .synopsis-block, .episode-status-block, .details-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap-tight);
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.cast-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(155deg, #33383f 0%, #1a1d22 60%, #101216 100%);
  filter: brightness(0.6) grayscale(0.4);
  border: 1px solid var(--ash);
}
.cast-name {
  font-size: 11px;
  color: var(--ice);
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.65;
  color: var(--ice-dim);
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.status-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-left: 2px solid var(--ember-dim);
  padding-left: 8px;
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ice-dim);
}
.status-value {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 15px;
  color: var(--warm);
}
.detail-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px 14px;
  border-top: 1px solid var(--ash);
  padding-top: 8px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  border-left: 1px solid var(--ash);
  padding-left: 7px;
}
.detail-key {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ice-dim);
  text-transform: uppercase;
}
.detail-value {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--ice);
  overflow-wrap: break-word;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  background: var(--coal-2);
  border: 1px solid var(--ash);
  padding: 10px;
}
.player-wrapper {
  width: 100%;
  background: #000;
  overflow: hidden;
  line-height: 0;
}
.movie-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-tight);
}
.player-button {
  background: transparent;
  border: 1px solid var(--ash);
  color: var(--ice);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-button:hover {
  border-color: var(--ice-dim);
  color: var(--warm);
}
.player-button.is-active {
  background: var(--ember);
  border-color: var(--ember);
  color: #14100c;
}
.player-button.play {
  background: var(--ember);
  border-color: var(--ember);
  color: #14100c;
}
.player-button.mute, .player-button.light, .player-button.theater, .player-button.fullscreen, .player-button.pip {
  color: var(--ice-dim);
}
.player-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--ash);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ice);
  border: none;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ice);
  border: none;
  cursor: pointer;
}
.player-progress.progress, .player-progress.timeupdate {
  accent-color: var(--ember);
}
.player-volume {
  flex: 0 1 90px;
  min-width: 56px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--ash);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice-dim);
  border: none;
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice-dim);
  border: none;
  cursor: pointer;
}
.player-volume.volume, .player-volume.mute {
  accent-color: var(--ice-dim);
}
.player-speed {
  background: var(--coal);
  border: 1px solid var(--ash);
  color: var(--ice);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.player-speed.speed {
  border-color: var(--ice-dim);
}
.player-panel.is-theater {
  background: #050506;
  border-color: #000;
  padding: 6px;
}
.player-panel.is-lights-off {
  background: #000;
  border-color: #000;
}
.player-panel.is-lights-off .player-controls {
  opacity: 0.55;
}
.player-panel.is-lights-off .player-controls:hover {
  opacity: 1;
}
.player-panel.is-theater, .player-panel.is-lights-off {
  transition: background 0.25s;
}
.movie-player.play, .movie-player.input {
  outline: none;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 20px;
  border-left: 1px solid var(--ash);
  margin-left: 6px;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 8px 7px 18px;
  border-bottom: 1px dotted rgba(125, 136, 145, 0.25);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 13px;
  width: 11px;
  height: 1px;
  background: var(--ice-dim);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--ash);
  border-radius: 50%;
}
.timeline-timecode {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--ice-dim);
  letter-spacing: 0.06em;
}
.timeline-label {
  font-size: 13px;
  color: var(--warm);
  letter-spacing: 0.02em;
}
.timeline-item:hover .timeline-label {
  color: var(--ember);
}
.timeline-item:hover::after {
  background: var(--ember);
}
.timeline-item.change .timeline-label, .timeline-item.click .timeline-label {
  color: var(--ember);
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.episodes-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episodes-scroll::-webkit-scrollbar {
  height: 5px;
}
.episodes-scroll::-webkit-scrollbar-track {
  background: var(--coal-2);
}
.episodes-scroll::-webkit-scrollbar-thumb {
  background: var(--ash);
}
.episode-card {
  position: relative;
  flex: 0 0 auto;
  width: 216px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 9px;
  background: linear-gradient(150deg, #171a1e 0%, #0e1013 100%);
  border: 1px solid var(--ash);
  border-top: 2px solid var(--ash);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-top-color: var(--ember);
  transform: translateY(-2px);
}
.episode-number {
  position: absolute;
  right: -6px;
  bottom: -18px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 76px;
  line-height: 1;
  font-weight: 700;
  color: rgba(201, 210, 218, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.episode-title {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--warm);
  letter-spacing: 0.06em;
}
.episode-summary {
  position: relative;
  z-index: 1;
  font-size: 11px;
  line-height: 1.55;
  color: var(--ice-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  color: var(--ember);
  letter-spacing: 0.08em;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
  border-top: 1px solid var(--ash);
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 12px;
  align-items: start;
  margin-top: 4px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: #15181c;
  border: 1px solid var(--ash);
  border-left: 3px solid var(--ember-dim);
  position: relative;
}
.comment-note:nth-child(2n) {
  transform: translateY(6px);
  margin-top: -6px;
}
.comment-note:nth-child(3n) {
  transform: translateY(-4px);
  margin-top: 4px;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.08em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #b3bcc4;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 10px;
  border-top: 1px solid var(--ash);
}
.recommend-region:first-of-type {
  margin-top: 10px;
}
.recommend-title {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--warm);
  margin-bottom: var(--gap-tight);
}
.recommend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recommend-item {
  flex: 0 1 auto;
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 152px;
  padding: 6px;
  background: #131619;
  border: 1px solid var(--ash);
  color: var(--ice);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--ember);
  background: #191c20;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--slate);
  filter: brightness(0.82) grayscale(0.25);
}
a[data-runtime="recommendation"]:hover img {
  filter: brightness(1) grayscale(0);
}
[data-runtime="name"] {
  font-size: 12px;
  color: var(--warm);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ice-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--ash);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ice-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ember);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ice-dim);
  padding-right: 6px;
  border-right: 1px solid var(--ash);
}
a.runtime-friend-link {
  font-size: 11px;
  color: #6f7a83;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--ember);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: #5a636b;
  max-width: 90ch;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-column {
    position: static;
    max-width: 260px;
  }
.cast-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.movie-title {
    font-size: 22px;
  }}
@media (max-width: 640px) {body {
    padding: 0 9px 24px;
    font-size: 12.5px;
  }
.movie-main {
    gap: 14px;
    padding-top: 14px;
  }
.movie-overview {
    padding: 11px;
  }
.poster-column {
    max-width: 200px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.movie-title {
    font-size: 19px;
  }
.detail-strip {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 5px 10px;
  }
.player-controls {
    gap: 6px;
  }
.player-button {
    padding: 4px 8px;
    font-size: 10.5px;
  }
.player-progress {
    flex: 1 1 100%;
    order: -1;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card {
    width: 186px;
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(2n), .comment-note:nth-child(3n) {
    transform: none;
    margin-top: 0;
  }
a[data-runtime="recommendation"] {
    width: calc(50vw - 26px);
    max-width: 200px;
  }}
@media (max-width: 400px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.movie-title {
    font-size: 17px;
  }}

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}
