:root {
  --metal: #8b8f93;
  --metal-dark: #4a4e52;
  --metal-deep: #26292c;
  --tile-brown: #5c4a3a;
  --tile-green: #3d4f47;
  --night-blue: #10151e;
  --night-blue-2: #1a2230;
  --warm-yellow: #e8b84b;
  --warm-glow: #f5d78a;
  --warm-soft: #c99a3f;
  --text: #d6d2c8;
  --text-dim: #8e8a82;
  --text-bright: #f0ece2;
  --line: #3a3f45;
  --line-warm: #6b5a3a;
  --paper: #2a2e33;
  --paper-2: #1f2429;
  --font-mech: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Heiti SC", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-mech);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--night-blue);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 184, 75, 0.06), transparent 60%),
    linear-gradient(180deg, var(--night-blue) 0%, #0c1017 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 21, 30, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
.brand-link {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm-yellow);
  text-shadow: 0 0 12px rgba(232, 184, 75, 0.35);
  white-space: nowrap;
  transition: color 0.2s;
}
.brand-link:hover {
  color: var(--warm-glow);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--metal);
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.runtime-category:hover {
  color: var(--warm-yellow);
  border-color: var(--line-warm);
  background: rgba(232, 184, 75, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 24px;
}
.movie-overview {
  padding: 16px 0 8px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--night-blue-2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 184, 75, 0.06);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 21, 30, 0.85) 100%);
  pointer-events: none;
}
.hero-claim {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 2px;
}
.movie-title {
  font-size: 26px;
  color: var(--text-bright);
  letter-spacing: 0.04em;
}
.movie-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 30ch;
}
.hero-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.score-chip {
  padding: 2px 9px;
  font-size: 12px;
  color: var(--metal);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}
.score-chip:first-child {
  color: var(--warm-yellow);
  border-color: var(--line-warm);
  background: rgba(232, 184, 75, 0.08);
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-controls button {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--metal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.player-controls button:hover {
  color: var(--warm-yellow);
  border-color: var(--line-warm);
  background: var(--paper-2);
}
.player-controls button.is-active {
  color: var(--night-blue);
  background: var(--warm-yellow);
  border-color: var(--warm-yellow);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  accent-color: var(--warm-yellow);
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-controls input[type="range"][data-player-action="volume"] {
  flex: 0 1 80px;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.panel-heading {
  font-size: 14px;
  color: var(--warm-yellow);
  letter-spacing: 0.08em;
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 2px;
  background: var(--warm-yellow);
}
.synopsis-panel {
  min-width: 0;
}
.seo-line {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}
.synopsis-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.synopsis-step {
  position: relative;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.65;
  padding: 5px 0 5px 0;
}
.synopsis-step::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--metal-dark);
  border: 1px solid var(--line);
}
.synopsis-step:last-child::before {
  background: var(--warm-yellow);
  border-color: var(--warm-yellow);
  box-shadow: 0 0 8px rgba(232, 184, 75, 0.6);
}
.episode-status-panel {
  min-width: 0;
  padding: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.status-line {
  font-size: 13px;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.status-line::before {
  content: "● ";
  color: var(--warm-yellow);
  font-size: 9px;
  vertical-align: 1px;
}
.status-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.meter-item {
  padding: 3px 2px;
  font-size: 11px;
  text-align: center;
  border-radius: 2px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.meter-item-on {
  color: var(--metal);
  background: rgba(139, 143, 147, 0.12);
  border-color: var(--line);
}
.meter-item-current {
  color: var(--night-blue);
  background: var(--warm-yellow);
  border-color: var(--warm-glow);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(232, 184, 75, 0.45);
}
.meter-item-off {
  color: #55595e;
  background: transparent;
  border-color: #2e3237;
}
.cast-panel {
  min-width: 0;
}
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--metal-dark) transparent;
}
.cast-track::-webkit-scrollbar {
  height: 4px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: var(--metal-dark);
  border-radius: 2px;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 108px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 2px solid var(--tile-green);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.cast-card:hover {
  background: var(--paper-2);
  border-left-color: var(--warm-yellow);
}
.cast-name {
  font-size: 14px;
  color: var(--text-bright);
  font-weight: 700;
  white-space: nowrap;
}
.cast-note {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}
.details-panel {
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #2e3237;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-dim);
  min-width: 52px;
}
.detail-value {
  font-size: 12px;
  color: var(--text);
  min-width: 0;
  overflow-wrap: break-word;
}
.timeline-panel {
  padding: 16px 0 8px;
  margin-top: 8px;
}
.timeline-dial {
  position: relative;
  padding: 12px 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--metal-dark) transparent;
}
.timeline-dial::-webkit-scrollbar {
  height: 4px;
}
.timeline-dial::-webkit-scrollbar-thumb {
  background: var(--metal-dark);
  border-radius: 2px;
}
.timeline-scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 0;
  min-width: 840px;
  position: relative;
  border-top: 2px solid var(--metal-dark);
  padding-top: 0;
}
.timeline-scale::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--metal-dark) 0,
    var(--metal-dark) 1px,
    transparent 1px,
    transparent 12px
  );
}
.timeline-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
  min-width: 0;
  border-left: 1px solid #2e3237;
}
.timeline-mark:first-child {
  border-left: none;
}
.timeline-mark::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 8px;
  background: var(--metal);
}
.timeline-mark-up::after {
  top: 0;
  height: 10px;
}
.timeline-mark-down::after {
  top: 0;
  height: 10px;
}
.timeline-mark-up {
  padding-top: 14px;
}
.timeline-mark-down {
  padding-top: 14px;
  flex-direction: column-reverse;
}
.timeline-mark-up .mark-timecode {
  order: 0;
}
.timeline-mark-up .mark-label {
  order: 1;
}
.timeline-mark-down .mark-timecode {
  order: 1;
  margin-top: 4px;
}
.timeline-mark-down .mark-label {
  order: 0;
}
.mark-timecode {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm-yellow);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(232, 184, 75, 0.3);
}
.mark-label {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.55;
  overflow-wrap: break-word;
}
.episodes-panel {
  padding: 16px 0 8px;
  margin-top: 8px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 8px 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.episode-card:hover {
  background: var(--paper);
  border-color: var(--metal-dark);
}
.episode-number {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
  overflow-wrap: break-word;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.55;
  overflow-wrap: break-word;
}
.episode-duration {
  font-size: 10.5px;
  color: #6a6e73;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
  padding-top: 2px;
}
.episode-card-current {
  background: rgba(232, 184, 75, 0.1);
  border-color: var(--warm-soft);
  box-shadow: 0 0 0 1px rgba(232, 184, 75, 0.25), 0 0 16px rgba(232, 184, 75, 0.12);
}
.episode-card-current .episode-number {
  color: var(--warm-yellow);
}
.episode-card-current .episode-title {
  color: var(--warm-glow);
}
.episode-card-current .episode-summary {
  color: #b8a97e;
}
.episode-card-current .episode-duration {
  color: var(--warm-soft);
}
.comments-panel {
  padding: 16px 0 8px;
  margin-top: 8px;
}
.comments-wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comments-column-right {
  margin-top: 18px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  min-width: 0;
  transition: transform 0.2s, border-color 0.2s;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10px;
  width: 18px;
  height: 2px;
  background: var(--tile-brown);
}
.comment-note:hover {
  transform: translateY(-2px);
  border-color: var(--metal-dark);
}
.comments-column-left .comment-note:nth-child(odd) {
  transform: rotate(-0.4deg);
}
.comments-column-left .comment-note:nth-child(even) {
  transform: rotate(0.3deg);
}
.comments-column-right .comment-note:nth-child(odd) {
  transform: rotate(0.35deg);
}
.comments-column-right .comment-note:nth-child(even) {
  transform: rotate(-0.3deg);
}
.comments-column-left .comment-note:nth-child(odd):hover, .comments-column-left .comment-note:nth-child(even):hover, .comments-column-right .comment-note:nth-child(odd):hover, .comments-column-right .comment-note:nth-child(even):hover {
  transform: rotate(0deg) translateY(-2px);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--warm-yellow);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.65;
  overflow-wrap: break-word;
}
.recommend-region {
  padding: 16px 0 8px;
  margin-top: 8px;
}
.recommend-heading {
  font-size: 14px;
  letter-spacing: 0.08em;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.recommend-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 2px;
}
.recommend-region-1 .recommend-heading {
  color: var(--warm-yellow);
}
.recommend-region-1 .recommend-heading::before {
  background: var(--warm-yellow);
}
.recommend-region-2 .recommend-heading {
  color: #6fb3a0;
}
.recommend-region-2 .recommend-heading::before {
  background: #6fb3a0;
}
.recommend-region-3 .recommend-heading {
  color: #b0875e;
}
.recommend-region-3 .recommend-heading::before {
  background: #b0875e;
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-card {
  min-width: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.recommend-card:hover {
  border-color: var(--line-warm);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text);
  min-width: 0;
}
.recommend-poster {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: var(--night-blue-2);
  filter: saturate(0.85);
  transition: filter 0.25s;
}
.recommend-card:hover .recommend-poster {
  filter: saturate(1.05);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-bright);
  padding: 6px 8px 0;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.recommend-blurb {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  padding: 3px 8px 8px;
  overflow-wrap: break-word;
}
[data-runtime="recommendation"] {
  display: block;
  min-width: 0;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}
.site-footer {
  margin-top: 20px;
  padding: 16px 16px 24px;
  border-top: 1px solid var(--line);
  background: rgba(12, 16, 23, 0.7);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 1180px;
  margin: 0 auto 10px;
}
.footer-nav a {
  font-size: 12.5px;
  transition: color 0.2s;
}
a[data-contract="footer-home"] {
  color: var(--warm-yellow);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  text-decoration: underline;
  color: var(--warm-glow);
}
a[data-contract="footer-sitemap"] {
  color: var(--metal);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  text-decoration: underline;
  color: var(--text-bright);
}
a[data-contract="site-name"] {
  text-decoration: none;
}
a.runtime-category {
  text-decoration: none;
}
a.recommend-link {
  text-decoration: none;
}
a.runtime-friend-link {
  color: var(--metal);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: #6fb3a0;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  max-width: 1180px;
  margin: 0 auto 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-2);
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.friend-links .runtime-friend-link {
  font-size: 12px;
  white-space: nowrap;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11px;
  color: #5c6065;
  line-height: 1.6;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--warm-yellow), 0 12px 40px rgba(0, 0, 0, 0.7);
}
body.is-lights-off {
  background-image: linear-gradient(180deg, #05070a 0%, #030405 100%);
}
body.is-lights-off .site-header {
  background: rgba(3, 5, 8, 0.95);
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.overview-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-column-right {
    margin-top: 0;
  }
.movie-title {
    font-size: 22px;
  }
.timeline-scale {
    min-width: 720px;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
  }}
@media (max-width: 480px) {.page-main {
    padding: 0 10px 18px;
  }
.header-band {
    padding: 6px 10px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.status-meter {
    grid-template-columns: repeat(3, 1fr);
  }
.player-controls button {
    padding: 3px 7px;
    font-size: 11px;
  }
.poster-frame {
    max-width: 180px;
  }
.timeline-scale {
    min-width: 620px;
    grid-template-columns: repeat(6, minmax(100px, 1fr));
  }}

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}
