*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ol, ul, figure, dl, dd { 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; }
:root {
  --ink: #1d242e;
  --ink-soft: #46525f;
  --ink-faint: #6d7b8a;
  --line: #d3dae1;
  --line-soft: #e4e9ee;
  --panel: #f4f6f8;
  --panel-deep: #e8edf1;
  --blue: #40556e;
  --blue-deep: #2b3a4c;
  --blue-tint: #dde5ed;
  --amber: #e07b26;
  --amber-soft: #f6a25a;
  --amber-tint: #fdf0e2;
  --surface: #ffffff;
  --bg: #eef1f4;
  --radius: 4px;
  --tight: 6px;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.01em;
}
h1, h2, h3, .site-brand, .timeline-mark, .status-chip, .episode-number {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.site-header {
  background: var(--blue-deep);
  color: #f2f5f8;
  border-bottom: 2px solid var(--amber);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.site-brand {
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  color: #ffffff;
}
a[data-contract="site-name"] { color: #ffffff; text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--amber-soft); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-left: auto;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: #cfd9e4;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.15s ease, color 0.15s ease;
}
a.runtime-category:hover {
  color: #ffffff;
  background: var(--amber);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-heading {
  font-size: 14px;
  line-height: 1.3;
  color: var(--blue-deep);
  padding-left: 9px;
  border-left: 4px solid var(--amber);
  margin-bottom: var(--tight);
  display: flex;
  align-items: center;
}
.hero-slogan {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber) 0%, var(--blue) 60%, var(--blue-deep) 100%);
}
.hero-poster-col {
  align-self: start;
  position: relative;
  z-index: 1;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--blue-deep);
  box-shadow: 0 6px 16px rgba(43, 58, 76, 0.22);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.04);
}
.poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 8px;
  font-size: 10.5px;
  line-height: 1.35;
  color: #eef2f6;
  background: linear-gradient(180deg, rgba(20, 28, 38, 0) 0%, rgba(20, 28, 38, 0.86) 62%);
  letter-spacing: 0.04em;
}
.hero-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  z-index: 1;
}
.movie-title {
  font-size: 26px;
  line-height: 1.15;
  color: var(--blue-deep);
}
.movie-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}
.movie-seo {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 2px;
  background: #10161e;
  border: 1px solid var(--blue-deep);
  border-radius: 3px;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #0c1219;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 6px 8px;
  background: #1b2530;
  border-top: 1px solid #2b3a4c;
}
.player-scrubber {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 0;
}
.player-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
}
.pc-btn {
  cursor: pointer;
  border: 1px solid #3c4d61;
  background: #26313e;
  color: #dbe4ed;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.pc-btn:hover { background: var(--blue); color: #ffffff; border-color: var(--blue); }
.pc-btn.is-active, .pc-btn:active {
  background: var(--amber);
  border-color: var(--amber);
  color: #24160a;
}
.pc-play { flex: 0 0 auto; }
.pc-progress {
  flex: 1 1 auto;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #3c4d61;
  border-radius: 999px;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.pc-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
.pc-volume {
  flex: 0 1 84px;
  min-width: 56px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #3c4d61;
  border-radius: 999px;
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9fb2c6;
  border: none;
}
.pc-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #9fb2c6;
}
.player-shell.is-theater { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.player-shell.lights-off { background: #05080c; }
.player-shell.lights-off .player-controls { background: #05080c; border-top-color: #16202b; }
.player-shell.is-playing .pc-play { background: var(--amber); border-color: var(--amber); color: #24160a; }
.cast-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-item {
  flex: 0 1 auto;
  width: 92px;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 4px 4px 5px;
}
.cast-avatar {
  width: 100%;
  height: 116px;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  filter: grayscale(0.34) contrast(1.06);
  background: var(--blue-tint);
}
.cast-name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-deep);
  text-align: center;
  white-space: nowrap;
}
.synopsis-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
  counter-reset: syn;
}
.synopsis-item {
  position: relative;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.58;
  color: var(--ink-soft);
  padding-left: 26px;
  border-top: 1px solid var(--line-soft);
  padding-top: 6px;
  text-align: justify;
}
.synopsis-item::before {
  counter-increment: syn;
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.episode-status-panel {
  background: var(--panel-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px 10px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}
.status-chip {
  font-size: 11.5px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue-deep);
  white-space: nowrap;
}
.status-chip:first-child {
  background: var(--amber);
  border-color: var(--amber);
  color: #24160a;
}
.details-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}
.detail-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background: var(--surface);
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.detail-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.3;
  word-break: break-word;
}
.timeline-panel {
  background: var(--blue-deep);
  color: #e7edf3;
  border-radius: var(--radius);
  padding: 10px 12px 14px;
  border: 1px solid var(--blue-deep);
}
.timeline-panel .section-heading {
  color: #f4f7fa;
  border-left-color: var(--amber-soft);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, #6f8499 40%, #4a5d72 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 8px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 2px var(--blue-deep), 0 0 0 3px rgba(224, 123, 38, 0.45);
}
.timeline-mark {
  font-size: 12px;
  color: var(--amber-soft);
  line-height: 1.2;
  white-space: nowrap;
}
.timeline-label {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
  color: #b9c7d4;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 3px;
}
.episodes-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px 8px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  min-width: 0;
  transition: border-left-color 0.14s ease, background 0.14s ease;
}
.episode-card:hover {
  background: var(--amber-tint);
  border-left-color: var(--amber);
}
.episode-number {
  font-size: 10.5px;
  color: var(--amber);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.episode-title {
  font-size: 13px;
  line-height: 1.3;
  color: var(--blue-deep);
}
.episode-summary {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-faint);
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.2;
  margin-top: 1px;
  padding-top: 3px;
  border-top: 1px dashed var(--line);
}
.comments-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px 6px;
  background: var(--panel);
  border-left: 2px solid var(--blue-tint);
  border-radius: 2px;
  min-width: 0;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}
.comment-text {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-soft);
}
.recommend-region {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.recommend-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-rail::-webkit-scrollbar { height: 6px; }
.recommend-rail::-webkit-scrollbar-track { background: var(--panel-deep); border-radius: 999px; }
.recommend-rail::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }
a.recommend-card {
  flex: 0 0 172px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  text-decoration: none;
  color: var(--blue-deep);
  scroll-snap-align: start;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}
a.recommend-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 12px rgba(224, 123, 38, 0.2);
  transform: translateY(-2px);
}
a.recommend-card:hover .recommend-name { color: var(--amber); }
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--blue-tint);
  filter: saturate(0.88);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-deep);
  transition: color 0.14s ease;
}
.recommend-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--blue-deep);
  color: #aebccb;
  border-top: 2px solid var(--amber);
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 860px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.55;
  color: #8fa0b2;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 600;
  color: #dfe7ef;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 123, 38, 0.55);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-soft);
  border-bottom-color: var(--amber-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  justify-content: center;
  max-width: 900px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-soft);
  letter-spacing: 0.06em;
}
a.runtime-friend-link {
  font-size: 11px;
  font-weight: 300;
  color: #93a4b6;
  text-decoration: none;
  border-bottom: 1px dotted #4d6076;
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  border-bottom-color: var(--amber-soft);
}
.player-shell.is-theater video { box-shadow: inset 0 0 0 2px var(--amber); }
.player-shell.lights-off .pc-btn { background: #10161e; border-color: #26313e; }
@media (max-width: 1024px) {.details-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-track::before { right: auto; width: 100%; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-shell { grid-template-columns: minmax(0, 1fr); }
.hero-poster-col { max-width: 260px; }
.movie-title { font-size: 22px; }
.details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.synopsis-list { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
a.recommend-card { flex: 0 0 160px; }}
@media (max-width: 600px) {.page-main { padding: 8px 10px 14px; gap: 10px; }
.header-inner { padding: 6px 10px; gap: 8px; }
.movie-title { font-size: 19px; }
.movie-tagline { font-size: 12px; }
.movie-seo { font-size: 12px; }
.hero-poster-col { max-width: 190px; }
.cast-item { width: 76px; }
.cast-avatar { height: 94px; }
.details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-toggles { gap: 4px; }
.pc-btn { font-size: 10.5px; padding: 5px 6px; }
.pc-volume { flex: 0 1 64px; }
a.recommend-card { flex: 0 0 148px; }}
@media (max-width: 400px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.cast-item { width: 68px; }
.cast-avatar { height: 84px; }
a.recommend-card { flex: 0 0 132px; }
.player-scrubber { flex: 1 1 100%; }}

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}
