:root {
  --red: #8c1c22;
  --red-deep: #5e1016;
  --red-bright: #b52a30;
  --gray: #3c4148;
  --gray-lead: #565c64;
  --gray-light: #8b9199;
  --gray-pale: #d8dade;
  --gray-ghost: #eceef0;
  --warm: #f6f2ec;
  --warm-white: #fbf8f4;
  --ink: #1c1e21;
  --line: #cfd2d6;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--warm);
  line-height: 1.4;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-heading {
  font-size: 1.05rem;
  color: var(--red-deep);
  padding-bottom: 0.35rem;
  margin-bottom: 0.65rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  letter-spacing: -0.01em;
}
.site-header {
  background-color: var(--gray);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--warm-white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-left: 3px solid var(--red-bright);
  padding-left: 0.55rem;
}
a[data-contract="site-name"]:hover {
  color: var(--gray-pale);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
a.runtime-category {
  color: var(--gray-pale);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--gray-lead);
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  background-color: var(--red);
  border-color: var(--red);
  color: var(--warm-white);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.movie-overview {
  background-color: var(--warm-white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: 1rem;
  margin-bottom: 1.1rem;
}
.overview-stage {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  margin-bottom: 1rem;
}
.poster-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray);
  box-shadow: 4px 4px 0 var(--red);
}
.poster-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.title-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  padding-left: 0.9rem;
  border-left: 3px solid var(--red);
}
.movie-title {
  font-size: 1.85rem;
  color: var(--red-deep);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.movie-tagline {
  font-size: 0.98rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
  border-top: 1px solid var(--gray-pale);
  border-bottom: 1px solid var(--gray-pale);
}
.movie-seo {
  font-size: 0.85rem;
  color: var(--gray-lead);
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.player-shell {
  position: relative;
  background-color: var(--ink);
  border: 1px solid var(--gray);
  margin-bottom: 1rem;
  width: 100%;
}
.player-shell.is-theater {
  background-color: #000;
  border-color: var(--red);
}
.player-frame {
  display: block;
  width: 100%;
  background-color: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.5rem;
  background-color: var(--gray);
  border-top: 2px solid var(--red);
}
.player-btn {
  font-size: 0.76rem;
  color: var(--gray-pale);
  background-color: var(--gray-lead);
  border: 1px solid var(--gray-light);
  padding: 0.28rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background-color: var(--red);
  border-color: var(--red-bright);
  color: var(--warm-white);
}
.player-btn.is-active, .player-btn.light, .player-btn.click {
  background-color: var(--red-bright);
  border-color: var(--red);
  color: var(--warm-white);
}
.player-btn.fullscreen.is-active, .player-btn.pip.is-active, .player-btn.theater.is-active, .player-btn.play.is-active, .player-btn.pause.is-active, .player-btn.mute.is-active, .player-btn.volume.is-active, .player-btn.speed.is-active {
  background-color: var(--red-bright);
  color: var(--warm-white);
}
body.is-lights-off .player-shell {
  box-shadow: 0 0 0 3px var(--red-bright);
}
body.is-lights-off .page-main {
  background-color: #1a1c1f;
}
.cast-strip {
  margin-bottom: 1rem;
}
.cast-heading {
  font-size: 0.95rem;
}
.cast-list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-card {
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  scroll-snap-align: start;
}
.cast-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gray-light), var(--gray) 70%);
  border: 2px solid var(--red);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
}
.cast-name {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.episode-status {
  margin-bottom: 1rem;
}
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background-color: var(--gray);
  border-left: 4px solid var(--red);
  padding: 0.45rem 0.8rem;
}
.status-label {
  font-size: 0.78rem;
  color: var(--gray-pale);
  letter-spacing: 0.05em;
}
.status-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--warm-white);
  letter-spacing: -0.01em;
}
.details-panel {
  margin-bottom: 1rem;
}
.details-heading {
  font-size: 0.95rem;
}
.details-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.32rem 0.55rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--warm-white);
  min-width: 0;
}
.detail-key {
  font-size: 0.74rem;
  color: var(--gray-light);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 3.4em;
}
.detail-value {
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.005em;
  min-width: 0;
  overflow-wrap: break-word;
}
.synopsis-panel {
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-pale);
}
.synopsis-heading {
  font-size: 0.95rem;
}
.synopsis-paragraph {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
  letter-spacing: 0.005em;
  margin-bottom: 0.5rem;
  text-align: justify;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.timeline-section {
  background-color: var(--warm-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gray);
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
}
.timeline-heading {
  font-size: 1rem;
}
.timeline-list {
  position: relative;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background-color: var(--gray-pale);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}
.timeline-node {
  position: absolute;
  left: -1.1rem;
  top: 0.62rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--red);
  border: 2px solid var(--warm-white);
  box-shadow: 0 0 0 1px var(--red);
}
.timeline-timecode {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--red-deep);
  letter-spacing: 0.03em;
  background-color: var(--gray-ghost);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.timeline-label {
  font-size: 0.84rem;
  color: var(--gray);
  letter-spacing: 0.005em;
}
.episodes-section {
  margin-bottom: 1.1rem;
}
.episodes-heading {
  font-size: 1rem;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem;
}
.episode-card {
  background-color: var(--warm-white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-self: start;
}
.episode-title {
  font-size: 0.86rem;
  color: var(--gray);
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.episode-number {
  font-size: 0.72rem;
  color: var(--warm-white);
  background-color: var(--gray);
  padding: 0.08rem 0.35rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.episode-summary {
  font-size: 0.78rem;
  color: var(--gray-lead);
  line-height: 1.45;
  letter-spacing: 0.005em;
}
.episode-duration {
  font-size: 0.7rem;
  color: var(--gray-light);
  letter-spacing: 0.04em;
  align-self: flex-start;
  border-top: 1px solid var(--gray-ghost);
  padding-top: 0.2rem;
  width: 100%;
}
.comments-section {
  margin-bottom: 1.1rem;
}
.comments-heading {
  font-size: 1rem;
}
.comment-stack {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 0.7rem;
  -webkit-overflow-scrolling: touch;
}
.comment-card {
  flex: 0 0 250px;
  background-color: var(--warm-white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 0.6rem 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 3px 3px 0 var(--gray-pale);
  position: relative;
}
.comment-card:nth-child(2n) {
  transform: translateY(6px);
}
.comment-card:nth-child(3n) {
  transform: translateY(-4px);
}
.comment-text {
  font-size: 0.81rem;
  color: var(--gray);
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.comment-nickname {
  font-size: 0.72rem;
  color: var(--red-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  align-self: flex-end;
}
.comment-nickname::before {
  content: "—— ";
  color: var(--gray-light);
  font-weight: 400;
}
.recommend-region {
  margin-bottom: 1.1rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--gray-pale);
}
.recommend-heading {
  font-size: 0.95rem;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}
.recommend-item {
  min-width: 0;
}
.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background-color: var(--warm-white);
  border: 1px solid var(--line);
  padding: 0.4rem;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.recommend-link {
  color: var(--gray);
  text-decoration: none;
}
a.runtime-friend-link {
  color: var(--gray-light);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--red);
  text-decoration: underline;
}
a.recommend-link:hover {
  border-color: var(--red);
  box-shadow: 3px 3px 0 var(--red);
  transform: translate(-1px, -1px);
}
[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background-color: var(--warm-white);
  border: 1px solid var(--line);
  padding: 0.4rem;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
[data-runtime="recommendation"]:hover {
  border-color: var(--red);
  box-shadow: 3px 3px 0 var(--red);
  transform: translate(-1px, -1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background-color: var(--gray-ghost);
  border-bottom: 2px solid var(--red);
}
[data-runtime="recommendation"] .recommend-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gray);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.recommend-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gray);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 0.74rem;
  color: var(--gray-light);
  line-height: 1.45;
  letter-spacing: 0.005em;
  flex: 1;
}
.site-footer {
  background-color: var(--gray);
  border-top: 3px solid var(--red);
  color: var(--gray-pale);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.8rem;
  color: var(--warm-white);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--gray-lead);
  padding-bottom: 0.1rem;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.65rem;
}
.friend-links-label {
  font-size: 0.76rem;
  color: var(--gray-light);
  letter-spacing: 0.06em;
  margin-right: 0.15rem;
}
.runtime-friend-link {
  font-size: 0.76rem;
  color: var(--gray-light);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.runtime-friend-link:hover {
  color: var(--warm-white);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--gray-light);
  line-height: 1.5;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--gray-lead);
  padding-top: 0.6rem;
}
@media (max-width: 860px) {.movie-title {
    font-size: 1.55rem;
  }
.overview-stage {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 0.85rem;
  }
.details-table {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }}
@media (max-width: 640px) {html {
    font-size: 15px;
  }
.page-main {
    padding: 0 0.65rem 1.4rem;
  }
.header-bar {
    padding: 0.5rem 0.65rem;
  }
.movie-overview {
    padding: 0.7rem;
  }
.overview-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }
.poster-figure {
    max-width: 60%;
    margin: 0 auto;
  }
.title-stack {
    padding-left: 0.7rem;
  }
.movie-title {
    font-size: 1.4rem;
  }
.movie-tagline {
    font-size: 0.9rem;
  }
.movie-seo {
    font-size: 0.8rem;
  }
.player-controls {
    gap: 0.25rem;
    padding: 0.4rem;
  }
.player-btn {
    font-size: 0.72rem;
    padding: 0.24rem 0.5rem;
  }
.cast-card {
    flex: 0 0 82px;
  }
.cast-avatar {
    width: 58px;
    height: 58px;
  }
.details-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card {
    flex: 0 0 220px;
  }
.comment-card:nth-child(2n), .comment-card:nth-child(3n) {
    transform: none;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 400px) {.details-table {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-figure {
    max-width: 75%;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 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}
