*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, p, ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #10161f;
  --ink-2: #161f2b;
  --panel: #1a2431;
  --panel-2: #1f2a38;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eef5;
  --text-dim: #9aa8ba;
  --text-faint: #6c7b8f;
  --orange: #ff8a3d;
  --orange-deep: #e2662a;
  --orange-soft: rgba(255, 138, 61, 0.14);
  --radius: 12px;
  --radius-s: 8px;
  --gap: 12px;
}
html { background: var(--ink); }
body {
  background:
    radial-gradient(1200px 600px at 15% -5%, rgba(255, 138, 61, 0.10), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(70, 110, 160, 0.14), transparent 55%),
    var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 18, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 9px 18px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--orange);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #ffab6e; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 400;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.5);
  background: var(--orange-soft);
}
.movie-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.movie-overview {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #131c28 0%, #101823 100%);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 232px);
  grid-template-areas:
    "hero poster"
    "body body";
  gap: 0;
  padding: 0;
}
.overview-hero {
  grid-area: hero;
  position: relative;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 24px 22px 20px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 22, 0.15) 0%, rgba(10, 15, 22, 0.72) 62%, #101823 100%),
    repeating-linear-gradient(90deg, rgba(255, 138, 61, 0.22) 0 2px, transparent 2px 46px),
    radial-gradient(520px 220px at 78% 96%, rgba(255, 138, 61, 0.30), transparent 70%),
    radial-gradient(420px 200px at 12% 88%, rgba(90, 140, 200, 0.20), transparent 70%),
    linear-gradient(160deg, #1b2735 0%, #0d131c 78%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 92%;
}
.movie-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 300;
  color: #ffc79b;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.hero-figure {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 26px;
  max-width: 30em;
}
.figure-caption {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-faint);
  border-left: 2px solid rgba(255, 138, 61, 0.6);
  padding-left: 8px;
  letter-spacing: 0.02em;
}
.poster-media {
  grid-area: poster;
  align-self: start;
  justify-self: stretch;
  padding: 14px;
  display: flex;
  justify-content: center;
}
.poster-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  object-fit: cover;
  background: #0c1119;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.movie-overview > .cast-strip, .movie-overview > .detail-table, .movie-overview > .episode-status, .movie-overview > .synopsis-block, .movie-overview > .player-panel {
  grid-area: body;
  padding: 0 22px;
}
.movie-overview > .cast-strip { padding-top: 16px; }
.movie-overview > .player-panel { padding-bottom: 20px; }
.section-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 13px;
  border-radius: 2px;
  background: var(--orange);
  flex: none;
}
section[data-fragment] > .section-heading {
  margin-top: 26px;
}
.movie-overview > section > .section-heading { margin-top: 0; }
section[data-fragment="cast"] > .section-heading, .movie-overview > .cast-strip > .section-heading { margin-top: 22px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 60% at 50% 32%, rgba(255, 178, 122, 0.42), transparent 70%),
    linear-gradient(160deg, #2b3a4d 0%, #1a2532 100%);
  box-shadow: inset 0 -18px 26px rgba(0, 0, 0, 0.35);
  display: block;
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14%;
  width: 62%;
  height: 62%;
  transform: translateX(-50%);
  border-radius: 50% 50% 42% 42%;
  background: rgba(255, 255, 255, 0.08);
}
.cast-name {
  margin-top: -13px;
  position: relative;
  z-index: 1;
  width: calc(100% - 10px);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  padding: 2px 4px 3px;
  border-radius: 0 0 6px 6px;
  background: rgba(11, 16, 23, 0.82);
  color: #f2f6fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 0;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  flex: none;
  width: 5.2em;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: #d5dee9;
  overflow-wrap: anywhere;
}
.episode-status { padding-top: 12px; }
.status-line {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #ffd0ac;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 138, 61, 0.38);
  border-radius: 999px;
  padding: 3px 12px;
}
.synopsis-block {
  padding-top: 4px;
}
.synopsis-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.78;
  color: #b9c5d3;
  text-align: justify;
}
.synopsis-text + .synopsis-text { margin-top: 7px; }
.player-panel {
  padding-top: 18px;
}
.player-panel video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: #05080c;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.025);
}
.player-controls button {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe4ee;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.player-controls button:hover {
  background: var(--orange-soft);
  border-color: rgba(255, 138, 61, 0.55);
  color: #ffcfae;
}
.player-controls input[type="range"] {
  flex: 1 1 120px;
  min-width: 90px;
  max-width: 260px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.22);
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
}
.player-controls select {
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #182130;
  color: #dbe4ee;
  cursor: pointer;
}
.player-controls button.play, .player-controls button.pause, .player-controls button.mute, .player-controls button.pip, .player-controls button.fullscreen, .player-controls button.theater, .player-controls button.light, .player-controls button.speed, .player-controls button.timeupdate, .player-controls button.volume, .player-controls button.progress, .player-controls button.input, .player-controls button.click, .player-controls button.change, .player-controls button.player { border-color: rgba(255, 138, 61, 0.4); }
.movie-overview.is-theater .player-panel video { border-color: rgba(255, 138, 61, 0.55); }
.movie-overview.is-lights-off {
  background: #060a10;
}
.movie-overview.is-lights-off .hero-backdrop { opacity: 0.35; }
.timeline-strip {
  padding-top: 2px;
}
.film-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding-left: 12px;
  padding-right: 12px;
}
.film-track::-webkit-scrollbar { height: 6px; }
.film-track::-webkit-scrollbar-thumb {
  background: rgba(255, 138, 61, 0.4);
  border-radius: 999px;
}
.film-node {
  flex: 0 0 auto;
  width: 148px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.film-node:hover {
  border-color: rgba(255, 138, 61, 0.45);
  background: rgba(255, 138, 61, 0.07);
  transform: translateY(-1px);
}
.film-timecode {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.film-label {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.45;
  color: #c3cede;
}
.film-node.is-active {
  border-color: var(--orange);
  background: var(--orange-soft);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.35), 0 6px 18px rgba(255, 138, 61, 0.14);
}
.film-node.is-active .film-timecode {
  color: #1a1206;
  background: var(--orange);
  border-color: var(--orange);
}
.film-node.is-active .film-label { color: #ffe0c6; }
.episode-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 0;
  align-items: start;
  border-top: 1px solid var(--line);
}
.episode-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 1px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.episode-number {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--orange);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}
.episode-title {
  font-size: 13px;
  font-weight: 600;
  color: #eef3f9;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-region { padding-top: 2px; }
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.shelf-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.shelf-item:hover {
  border-color: rgba(255, 138, 61, 0.5);
  background: rgba(255, 138, 61, 0.07);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0c1119;
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 500;
  color: #eaf0f7;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.comments-flow { padding-top: 2px; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-column:nth-child(2) { margin-top: 18px; }
.comment-card {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 8px;
  row-gap: 2px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.025);
  min-width: 0;
}
.comment-avatar {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 60% at 50% 34%, rgba(255, 178, 122, 0.4), transparent 70%),
    linear-gradient(160deg, #2c3a4c 0%, #1a2431 100%);
  flex: none;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--orange);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  grid-column: 2;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: #c2cdda;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 13, 19, 0.85);
  padding: 20px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 780px;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  border-bottom-color: rgba(255, 138, 61, 0.6);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  max-width: 900px;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: #8b99ab;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.45);
  background: var(--orange-soft);
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
  }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 900px) {.movie-page { padding: 12px 14px 34px; gap: 18px; }
.header-inner { padding: 8px 14px; }
.movie-title { font-size: 26px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.episode-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 760px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "hero"
      "poster"
      "body";
  }
.overview-hero {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 200px;
    padding: 20px 16px 18px;
  }
.poster-media {
    justify-content: flex-start;
    padding: 14px 16px 4px;
  }
.poster-media img { max-width: 190px; }
.movie-overview > .cast-strip, .movie-overview > .detail-table, .movie-overview > .episode-status, .movie-overview > .synopsis-block, .movie-overview > .player-panel { padding-left: 16px; padding-right: 16px; }
.movie-title { font-size: 23px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.detail-pairs { grid-template-columns: minmax(0, 1fr); }
.episode-columns { grid-template-columns: minmax(0, 1fr); }
.shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.comment-column:nth-child(2) { margin-top: 0; }
.film-node { width: 136px; }}
@media (max-width: 520px) {body { font-size: 13.5px; }
.movie-page { padding: 10px 12px 30px; }
.header-inner { padding: 8px 12px; }
.movie-title { font-size: 21px; }
.movie-tagline { font-size: 12.5px; }
.overview-hero { padding: 18px 12px 16px; }
.poster-media { padding: 12px 12px 2px; }
.poster-media img { max-width: 160px; }
.movie-overview > .cast-strip, .movie-overview > .detail-table, .movie-overview > .episode-status, .movie-overview > .synopsis-block, .movie-overview > .player-panel { padding-left: 12px; padding-right: 12px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-name { font-size: 11px; }
.shelf-grid { grid-template-columns: minmax(0, 1fr); }
.synopsis-text { text-align: left; }
.player-controls { gap: 6px; padding: 8px; }
.player-controls input[type="range"] { max-width: none; flex: 1 1 100%; }
.film-node { width: 126px; }
.friend-links { gap: 5px 6px; }}

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}
