*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ol, ul, dl, dd, dt, figure, figcaption {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --bg: #10151c;
  --bg-deep: #0a0e13;
  --panel: #161d27;
  --panel-2: #1b2430;
  --line: #2b3542;
  --line-soft: #222b36;
  --ink: #d5dde6;
  --ink-dim: #8b99a8;
  --ink-faint: #5f6d7c;
  --steel: #4d6b8a;
  --steel-bright: #7fa6cc;
  --rust: #a8422c;
  --rust-bright: #c85a3f;
  --copper: #b07a3f;
  --copper-bright: #d69a55;
  --font-stack: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html {
  background: var(--bg-deep);
}
body {
  margin: 0;
  background:
    linear-gradient(180deg, #0c1117 0%, #10151c 32%, #0e1319 100%);
  color: var(--ink);
  font-family: var(--font-stack);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-stretch: condensed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.block-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0 0 6px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-title::before {
  content: "";
  width: 3px;
  height: 12px;
  background: var(--rust);
  flex: 0 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 19, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 14px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8eef5;
  padding: 2px 0;
  border-bottom: 2px solid var(--rust);
}
.site-brand:hover {
  color: var(--copper-bright);
  border-bottom-color: var(--copper-bright);
}
a[data-contract="site-name"] {
  color: #e8eef5;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 2px;
  font-size: 12px;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  letter-spacing: 0.08em;
  background: var(--panel);
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
}
.runtime-category:hover {
  color: #eef3f8;
  border-color: var(--steel);
  background: var(--panel-2);
}
.movie-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0 8px;
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 0 22px;
  padding: 18px 14px 20px;
  align-items: start;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(77, 107, 138, 0.22) 0%, rgba(16, 21, 28, 0) 62%),
    linear-gradient(180deg, #131a23 0%, #10151c 100%);
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  isolation: isolate;
}
.hero-still {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  filter: saturate(0.72) contrast(1.08) brightness(0.86);
  background: #0c1117;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      118deg,
      rgba(176, 122, 63, 0) 0 22px,
      rgba(176, 122, 63, 0.05) 22px 24px
    ),
    linear-gradient(200deg, rgba(168, 66, 44, 0.18) 0%, rgba(12, 17, 23, 0.72) 78%);
  mix-blend-mode: multiply;
}
.hero-figure {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 5px 8px;
  background: rgba(10, 14, 19, 0.78);
  border-top: 1px solid var(--line);
}
.hero-caption {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.hero-title-block {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: 4px 0 0;
  max-width: 100%;
}
.hero-title {
  font-size: clamp(26px, 4.4vw, 48px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef3f8;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(77, 107, 138, 0.35);
  font-stretch: condensed;
}
.hero-tagline {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--rust-bright);
  max-width: 46ch;
}
.hero-status {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 20px;
}
.status-key {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.status-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--steel-bright);
  letter-spacing: 0.04em;
  margin-right: 4px;
}
.player-shell {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  margin-top: 16px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  min-width: 0;
  width: 100%;
}
.player-shell.is-theater {
  background: #05080b;
  border-color: var(--copper);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #05080b;
  overflow: hidden;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.ctl-btn {
  appearance: none;
  background: #202a36;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctl-btn:hover {
  color: #eef3f8;
  border-color: var(--steel);
  background: #27333f;
}
.ctl-btn.is-active, .ctl-play.is-active, .ctl-mute.is-active, .ctl-speed.is-active, .ctl-pip.is-active, .ctl-theater.is-active, .ctl-light.is-active, .ctl-fullscreen.is-active {
  color: #f3efe6;
  border-color: var(--rust);
  background: rgba(168, 66, 44, 0.28);
}
.ctl-range {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 130px;
  min-width: 96px;
}
.ctl-range-name {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  flex: 0 0 auto;
}
.ctl-range-input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  height: 3px;
  background: #2f3b49;
  border-radius: 2px;
  cursor: pointer;
}
.ctl-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper-bright);
  border: 1px solid #0a0e13;
}
.ctl-range-input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper-bright);
  border: 1px solid #0a0e13;
}
.ctl-progress-label {
  flex: 2 1 200px;
}
.ctl-volume-label {
  flex: 1 1 110px;
}
.synopsis-block {
  grid-column: 2;
  grid-row: 4;
  margin-top: 18px;
  padding-top: 2px;
  border-top: 1px solid var(--line-soft);
  min-width: 0;
}
.synopsis-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  border-left: 2px solid var(--rust);
  padding-left: 10px;
  margin-bottom: 10px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 14px;
  counter-reset: syn;
}
.synopsis-item {
  position: relative;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
  padding: 7px 9px 7px 24px;
  background: rgba(27, 36, 48, 0.5);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--copper);
  counter-increment: syn;
}
.synopsis-item::before {
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 7px;
  top: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--copper-bright);
}
.cast-block {
  grid-column: 2;
  grid-row: 5;
  margin-top: 18px;
  min-width: 0;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--steel);
  min-width: 0;
}
.cast-card:hover {
  border-top-color: var(--copper-bright);
  background: var(--panel-2);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.05);
  background: #0c1117;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #e2e9f1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-role {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.details-block {
  grid-column: 1;
  grid-row: 4 / span 2;
  margin-top: 18px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  align-self: start;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-align: right;
}
.timeline-section {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0f151c 0%, #121922 100%);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) #10151c;
  position: relative;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #10151c;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #35434f;
  border-radius: 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 16px 12px 4px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  border: 1px solid #0a0e13;
  box-shadow: 0 0 0 2px rgba(176, 122, 63, 0.18);
}
.timeline-time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--steel-bright);
}
.timeline-label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.timeline-node.is-current {
  border-top-color: var(--rust);
}
.timeline-node.is-current::before {
  background: var(--rust);
  height: 2px;
  top: -1px;
}
.timeline-node.is-current .timeline-dot {
  background: var(--rust-bright);
  box-shadow: 0 0 0 3px rgba(200, 90, 63, 0.25), 0 0 12px rgba(200, 90, 63, 0.6);
}
.timeline-node.is-current .timeline-time {
  color: #f2d9cf;
}
.timeline-node.is-current .timeline-label {
  color: #e6edf4;
}
.episodes-section {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.episode-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num summary summary";
  gap: 1px 10px;
  align-items: baseline;
  padding: 7px 2px 8px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--copper-bright);
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: #e4ebf3;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.episode-summary {
  grid-area: summary;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-faint);
  margin-top: 2px;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-card.is-current {
  background: linear-gradient(90deg, rgba(168, 66, 44, 0.22) 0%, rgba(168, 66, 44, 0) 72%);
  border-bottom-color: var(--rust);
}
.episode-card.is-current .episode-number {
  color: var(--rust-bright);
}
.episode-card.is-current .episode-title {
  color: #f6ece7;
}
.episode-card.is-current .episode-summary {
  color: #b6a79f;
}
.comments-section {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 22px;
  align-items: start;
}
.comment-item {
  padding: 6px 9px;
  border-left: 2px solid var(--steel);
  background: rgba(22, 29, 39, 0.72);
  animation: comment-fade-in 0.7s ease both;
}
.comment-item:nth-child(2) { animation-delay: 0.06s; }
.comment-item:nth-child(3) { animation-delay: 0.12s; }
.comment-item:nth-child(4) { animation-delay: 0.18s; }
.comment-item:nth-child(5) { animation-delay: 0.24s; }
.comment-item:nth-child(6) { animation-delay: 0.3s; }
.comment-item:nth-child(7) { animation-delay: 0.36s; }
@keyframes comment-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--copper-bright);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.rec-region {
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.rec-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
  padding: 0 0 6px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-title::before {
  content: "";
  width: 3px;
  height: 12px;
  background: var(--copper);
  flex: 0 0 auto;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  min-width: 0;
}
a.rec-card {
  color: var(--ink);
  text-decoration: none;
}
.rec-card:hover {
  border-color: var(--steel);
  background: var(--panel-2);
}
a.rec-card:hover .rec-name {
  color: var(--copper-bright);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0c1117;
  filter: saturate(0.68) contrast(1.06);
}
.rec-thumb {
  width: 100%;
  object-fit: cover;
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  color: #e4ebf3;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 14px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12px;
  flex: 0 0 auto;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--copper-bright);
  border-bottom-color: var(--copper);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 12px;
  font-size: 11px;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  flex: 0 0 auto;
}
.runtime-friend-link {
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted var(--line);
}
.runtime-friend-link:hover {
  color: var(--steel-bright);
  border-bottom-color: var(--steel);
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 10px;
  line-height: 1.6;
  color: #4c5866;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
@media (max-width: 1080px) {.movie-page {
    padding: 0 0 6px;
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 14px 12px 16px;
  }
.hero-media {
    grid-column: 1;
    grid-row: auto;
    max-width: 260px;
    margin-bottom: 14px;
  }
.hero-title-block, .hero-status, .player-shell, .synopsis-block, .cast-block, .details-block {
    grid-column: 1;
    grid-row: auto;
  }
.details-block {
    margin-top: 16px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 13px;
  }
.header-bar {
    padding: 6px 10px;
    gap: 8px;
  }
.site-brand {
    font-size: 13px;
    letter-spacing: 0.2em;
  }
.hero-poster {
    padding: 12px 10px 14px;
  }
.hero-media {
    max-width: 200px;
  }
.hero-title {
    font-size: clamp(24px, 9vw, 34px);
  }
.hero-tagline {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
.status-row {
    gap: 2px 14px;
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
.cast-name {
    font-size: 11px;
  }
.cast-role {
    font-size: 9px;
  }
.player-controls {
    gap: 3px 5px;
    padding: 5px 6px;
  }
.ctl-btn {
    padding: 3px 6px;
    font-size: 10px;
  }
.ctl-range {
    flex: 1 1 100%;
  }
.ctl-progress-label, .ctl-volume-label {
    flex: 1 1 100%;
  }
.timeline-section, .episodes-section, .comments-section, .rec-region {
    padding: 13px 10px 15px;
  }
.timeline-node {
    width: 148px;
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 12px 10px 20px;
    gap: 8px 16px;
  }
.friend-links {
    flex: 1 1 100%;
    gap: 3px 10px;
  }}
@media (max-width: 420px) {.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }}

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}
