*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, a {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  text-decoration: none;
}
:root {
  --ink: #1c1f22;
  --ink-soft: #3a3f44;
  --muted: #6f767d;
  --line: #cfd4d8;
  --line-soft: #dfe3e6;
  --ground: #e7eaec;
  --ground-2: #f0f2f3;
  --panel: #f7f8f9;
  --wine: #8c1f2b;
  --wine-deep: #6d1620;
  --wine-fade: rgba(140, 31, 43, 0.14);
  --shadow: 0 1px 0 rgba(28, 31, 34, 0.08);
}
html {
  background: var(--ground);
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Heiti SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #dfe3e6 0%, #e7eaec 42%, #e3e6e8 100%);
  font-size: 13px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(28, 31, 34, 0.96);
  border-bottom: 2px solid var(--wine);
  backdrop-filter: blur(4px);
}
.site-header-top {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  color: #f4f5f6;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-left: 3px solid var(--wine);
  padding-left: 9px;
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover {
  color: #ffffff;
  background: var(--wine);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: #c9ced2;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid #454b51;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #ffffff;
  background: var(--wine);
  border-color: var(--wine);
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 26px;
}
.panel-heading {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
  padding-left: 9px;
  border-left: 4px solid var(--wine);
  margin-bottom: 9px;
  line-height: 1.15;
}
.movie-overview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wine);
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.poster-frame {
  width: 100%;
  max-width: 232px;
  align-self: start;
  background: #d6dade;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  line-height: 0;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.06);
}
.overview-headline {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.movie-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--ink);
}
.movie-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--wine);
  margin-top: 7px;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.05em;
  line-height: 1.35;
}
.movie-seo {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #14171a;
  border: 1px solid #2b3034;
  padding: 0;
  display: block;
}
.player-shell.is-theater {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: auto;
  margin: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4vw;
  background: #0a0c0e;
}
.player-shell.is-lights-off {
  background: #000000;
}
.player-shell.is-lights-off .movie-player {
  opacity: 0.82;
}
.movie-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 8px;
  background: #1d2124;
  border-top: 1px solid #2b3034;
}
.player-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #d7dbde;
  background: #2a2f33;
  border: 1px solid #3a4045;
  border-radius: 2px;
  padding: 4px 9px;
  line-height: 1.25;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.player-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #ffffff;
}
.player-btn.is-active, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.volume, .player-btn.progress, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.input, .player-btn.timeupdate, .player-btn.x, .player-btn.click {
  color: #ffffff;
  background: var(--wine);
  border-color: var(--wine);
}
.player-progress {
  flex: 1 1 150px;
  min-width: 90px;
  height: 16px;
  accent-color: var(--wine);
  background: transparent;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 92px;
  min-width: 64px;
  height: 16px;
  accent-color: var(--wine);
  background: transparent;
  cursor: pointer;
}
.cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  position: relative;
  display: block;
  background: #dcdfe2;
  border: 1px solid var(--line);
  overflow: hidden;
  line-height: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 34%, #b9bfc4 0%, #a7aeb4 46%, #8f979e 100%);
  filter: saturate(0.6);
}
.cast-avatar::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 23, 26, 0) 46%, rgba(20, 23, 26, 0.72) 100%);
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 4px 6px 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f6f7f8;
  background: linear-gradient(180deg, rgba(20, 23, 26, 0) 0%, rgba(20, 23, 26, 0.86) 74%);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card:nth-child(1) .cast-avatar, .cast-card:nth-child(5) .cast-avatar {
  filter: saturate(0.5) hue-rotate(-6deg);
}
.synopsis-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  display: block;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 7px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para::first-letter {
  color: var(--wine-deep);
  font-weight: 800;
}
.episode-status-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.episode-status-value {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--wine);
  padding: 5px 12px;
  border-radius: 2px;
  line-height: 1.3;
}
.details-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2px 14px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 3px 0;
}
.detail-label {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.detail-label::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--wine);
  vertical-align: middle;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.timeline-panel {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 13px 14px 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 3px 22px;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  gap: 0 10px;
  padding: 5px 0 5px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 3px var(--wine-fade);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 19px;
  bottom: -6px;
  width: 1px;
  background: var(--line);
}
.timeline-node:last-child {
  border-bottom: 0;
}
.timeline-node:last-child::after {
  display: none;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--wine-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.episodes-panel {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 13px 14px 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  align-items: start;
}
.episode-card {
  position: relative;
  min-width: 0;
  padding: 8px 0 9px 0;
  border-bottom: 1px solid var(--line-soft);
  display: block;
}
.episode-number {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: var(--ink);
  padding: 2px 6px;
  border-radius: 2px;
  line-height: 1.35;
}
.episode-title {
  display: inline-block;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.3;
  vertical-align: baseline;
  position: relative;
}
.episode-card:hover .episode-title, .episode-card:focus-within .episode-title {
  color: var(--wine-deep);
}
.episode-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}
.episode-card:hover .episode-title::after, .episode-card:focus-within .episode-title::after {
  transform: scaleX(1);
}
.episode-summary {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.episode-duration {
  display: inline-block;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.episode-duration::before {
  content: "◷";
  margin-right: 4px;
  color: var(--wine);
}
.comments-panel {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 13px 14px 14px;
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  align-items: start;
}
.comment-item {
  position: relative;
  min-width: 0;
  padding: 7px 0 8px 11px;
  border-left: 2px solid var(--line);
}
.comment-item:hover {
  border-left-color: var(--wine);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wine);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 13px 14px 14px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-card {
  min-width: 0;
  display: block;
  background: #eceeef;
  border: 1px solid var(--line);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.recommend-card:hover {
  border-color: var(--wine);
  background: #f4f5f6;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
a[data-runtime="recommendation"]:hover {
  color: var(--wine-deep);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #c9ced2;
  filter: saturate(0.7) contrast(1.04);
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  display: block;
  padding: 6px 8px 1px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  display: block;
  padding: 0 8px 7px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  background: #1c1f22;
  color: #9aa1a7;
  border-top: 2px solid var(--wine);
  padding: 14px 16px 20px;
  font-size: 11.5px;
  line-height: 1.6;
}
.site-footer > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  color: #868d93;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2c3135;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #d7dbde;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffffff;
  border-bottom-color: var(--wine);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.footer-friends-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--wine);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #9aa1a7;
  text-decoration: none;
  white-space: nowrap;
  font-size: 11.5px;
  border-bottom: 1px dotted #4a5055;
  transition: color 0.14s ease, border-color 0.14s ease;
}
a.runtime-friend-link:hover {
  color: #ffffff;
  border-bottom-color: var(--wine);
}
@media (max-width: 900px) {.movie-title {
    font-size: 26px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
.comments-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }}
@media (min-width: 760px) {.overview-hero {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 18px;
  }
.poster-frame {
    max-width: none;
  }}
@media (min-width: 960px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 18px 18px;
  }
.overview-hero {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 22px;
  }
.movie-title {
    font-size: 34px;
  }
.details-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 12px 12px 22px;
  }
.movie-overview, .timeline-panel, .episodes-panel, .comments-panel, .recommend-region {
    padding: 12px 12px 13px;
  }
.poster-frame {
    max-width: 200px;
  }
.movie-title {
    font-size: 24px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
.timeline-node {
    grid-template-columns: 46px minmax(0, 1fr);
    padding-left: 13px;
  }
.player-controls {
    gap: 4px 5px;
    padding: 6px 6px;
  }
.player-btn {
    font-size: 10.5px;
    padding: 4px 7px;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 6px;
  }
.cast-name {
    font-size: 11px;
    padding: 3px 5px 4px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }}

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}
