*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: #f7f2ea;
  color: #3d322a;
  line-height: 1.5;
  font-size: 15px;
}
img, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffaf2;
  border-bottom: 1px solid #e5d9c8;
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}
.brand-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: #b25a2c;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.brand-link:hover { color: #8e4520; }
.brand-link:visited { color: #b25a2c; }
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: #f0e7da;
  border: 1px solid #dccbb4;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #6b5540;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.runtime-category:hover {
  background: #e3d2bd;
  border-color: #b89a78;
  color: #4d3a28;
}
.runtime-category:visited { color: #6b5540; }
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
}
.hero-panel {
  position: relative;
}
.hero-illustration {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(178, 90, 44, 0.12) 0, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(92, 132, 78, 0.16) 0, transparent 35%),
    radial-gradient(circle at 60% 20%, rgba(228, 186, 120, 0.18) 0, transparent 25%),
    radial-gradient(circle at 30% 80%, rgba(92, 132, 78, 0.10) 0, transparent 25%),
    radial-gradient(circle at 70% 50%, rgba(178, 90, 44, 0.08) 0, transparent 40%);
  border-radius: 50% 50% 0 0;
  opacity: 0.7;
  z-index: 0;
}
.movie-overview-block {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  background: #fffaf2;
  border: 1px solid #e0d2be;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 8px rgba(61, 50, 42, 0.06);
}
.poster-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.poster-frame {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e0d2be;
  box-shadow: 0 4px 12px rgba(61, 50, 42, 0.12);
}
.player-wrapper {
  width: 100%;
  min-width: 0;
  background: #1e1813;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dccbb4;
}
.player-wrapper video {
  display: block;
  background: #000;
}
.player-wrapper.theater-mode video {
  max-width: none;
}
.player-wrapper.lights-off video {
  filter: brightness(0.75);
}
.movie-info-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.movie-title {
  font-size: 1.65rem;
  color: #8e4520;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.tagline {
  font-size: 1rem;
  color: #7a6a58;
  font-style: italic;
  border-left: 3px solid #8fae6b;
  padding-left: 0.75rem;
  margin-top: -0.4rem;
}
.section-subheading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8e4520;
  border-bottom: 1px solid #e8dcc9;
  padding-bottom: 0.3rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.section-subheading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #8fae6b;
  border-radius: 2px;
  transform: rotate(45deg);
}
.cast-panel .cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.actor-chip {
  background: #f0e7da;
  border: 1px solid #dccbb4;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #4d3a28;
}
.synopsis-panel .synopsis-para {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a3d31;
  margin-bottom: 0.5rem;
}
.synopsis-para:last-child { margin-bottom: 0; }
.timeline-panel .timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  background: #f4ede1;
  border-radius: 10px;
  padding: 0.6rem 0.6rem 0.8rem;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: #d9c7ae;
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  padding-top: 1.4rem;
  text-align: center;
  background: #fffaf2;
  border-radius: 8px;
  border: 1px solid #e0d2be;
  padding: 1.4rem 0.4rem 0.5rem;
  transition: border-color 0.2s;
}
.timeline-node:hover { border-color: #8fae6b; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #8fae6b;
  border: 2px solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #d9c7ae;
  z-index: 1;
}
.timecode {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b25a2c;
  margin-bottom: 0.2rem;
}
.label {
  display: block;
  font-size: 0.75rem;
  color: #6b5540;
  line-height: 1.3;
}
.episode-status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f4ede1;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  border-left: 4px solid #8fae6b;
  font-size: 0.85rem;
}
.episode-progress-text {
  font-weight: 600;
  color: #4d3a28;
}
.episode-meta {
  color: #7a6a58;
  background: #fffaf2;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 0.75rem;
  background: #faf4ea;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.detail-item dt {
  font-size: 0.68rem;
  color: #8a7a67;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.detail-item dd {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3d322a;
}
.episodes-fragment {
  margin-top: 2rem;
  background: #fffaf2;
  border: 1px solid #e0d2be;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.5rem;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.episode-card {
  background: #faf4ea;
  border: 1px solid #e5d9c8;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s, border-color 0.15s;
}
.episode-card:hover {
  border-color: #b89a78;
  transform: translateY(-2px);
}
.episode-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b25a2c;
  background: #f0e7da;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  align-self: flex-start;
}
.episode-title {
  font-size: 1rem;
  color: #3d322a;
  line-height: 1.3;
}
.episode-summary {
  font-size: 0.82rem;
  color: #7a6a58;
  line-height: 1.4;
}
.episode-duration {
  font-size: 0.72rem;
  color: #8a7a67;
  align-self: flex-end;
  background: #f0e7da;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.comments-fragment {
  margin-top: 2rem;
  background: #fffaf2;
  border: 1px solid #e0d2be;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.5rem;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.comment-bubble {
  background: #f4ede1;
  border-radius: 14px 14px 14px 4px;
  padding: 0.75rem 1rem;
  border: 1px solid #e0d2be;
  position: relative;
}
.comment-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 14px;
  width: 10px;
  height: 10px;
  background: #f4ede1;
  border-right: 1px solid #e0d2be;
  border-bottom: 1px solid #e0d2be;
  transform: rotate(45deg);
}
.comment-nickname {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b25a2c;
  margin-bottom: 0.25rem;
}
.comment-text {
  font-size: 0.85rem;
  color: #4a3d31;
  line-height: 1.5;
}
.recommendation-region {
  margin-top: 2rem;
  background: #fffaf2;
  border: 1px solid #e0d2be;
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.5rem;
}
.recommendation-row {
  display: grid;
  gap: 0.75rem;
}
.three-col-grid {
  grid-template-columns: repeat(4, 1fr);
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #faf4ea;
  border: 1px solid #e5d9c8;
  border-radius: 12px;
  padding: 0.75rem;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.rec-card:hover {
  border-color: #b89a78;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(61, 50, 42, 0.08);
}
.rec-card .rec-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #e8dcc9;
}
.rec-card span:not([data-runtime]) {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3d322a;
}
.rec-card span[data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d322a;
}
.rec-card span[data-runtime="blurb"] {
  font-size: 0.75rem;
  color: #7a6a58;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-card:visited { color: inherit; }
.horizontal-list {
  grid-template-columns: repeat(5, 1fr);
}
.rec-h-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #faf4ea;
  border: 1px solid #e5d9c8;
  border-radius: 12px;
  padding: 0.6rem;
  transition: transform 0.15s, border-color 0.15s;
}
.rec-h-item:hover {
  border-color: #8fae6b;
  transform: translateY(-2px);
}
.rec-h-item .rec-thumb-sm {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #e8dcc9;
}
.rec-h-item span[data-runtime="name"] {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d322a;
}
.rec-h-item span[data-runtime="blurb"] {
  font-size: 0.7rem;
  color: #7a6a58;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-h-item:visited { color: inherit; }
.mixed-grid {
  grid-template-columns: repeat(3, 1fr);
}
.mixed-grid .rec-card .rec-thumb-wide {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  background: #e8dcc9;
}
.site-footer {
  background: #fffaf2;
  border-top: 1px solid #e0d2be;
  padding: 1.5rem 1.25rem 2rem;
  margin-top: 2rem;
}
.disclaimer {
  font-size: 0.72rem;
  color: #8a7a67;
  line-height: 1.5;
  max-width: 1200px;
  margin: 0 auto 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e8dcc9;
}
.footer-links {
  display: flex;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 0.75rem;
}
.footer-link {
  font-size: 0.85rem;
  color: #6b5540;
}
.footer-link:hover { color: #b25a2c; }
.footer-link:visited { color: #6b5540; }
.friend-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  font-size: 0.8rem;
}
.friend-label {
  color: #8a7a67;
  font-weight: 600;
}
.runtime-friend-link {
  color: #6b5540;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.runtime-friend-link:hover {
  background: #f0e7da;
  color: #b25a2c;
}
.runtime-friend-link:visited { color: #6b5540; }
.custom-controls {
  display: none;
}
@media (max-width: 1024px) {.movie-overview-block {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 1.25rem;
    padding: 1.25rem;
  }
.timeline-track {
    grid-template-columns: repeat(3, 1fr);
  }
.timeline-node:nth-child(4), .timeline-node:nth-child(5) {
    margin-top: 0.5rem;
  }
.detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
.three-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.horizontal-list {
    grid-template-columns: repeat(3, 1fr);
  }
.mixed-grid {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 768px) {.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
  }
.categories-nav {
    justify-content: flex-start;
  }
.page-main {
    padding: 1rem 0.75rem 1.5rem;
  }
.movie-overview-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1rem;
  }
.poster-col {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
.poster-frame {
    max-width: 220px;
  }
.movie-title {
    font-size: 1.35rem;
  }
.timeline-track {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
.timeline-node {
    text-align: left;
    padding: 0.6rem 0.8rem 0.6rem 2rem;
  }
.timeline-node::before {
    top: 50%;
    left: 0.6rem;
    transform: translateY(-50%);
  }
.timeline-node:nth-child(4), .timeline-node:nth-child(5) {
    margin-top: 0;
  }
.detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.comment-list {
    grid-template-columns: 1fr;
  }
.three-col-grid {
    grid-template-columns: 1fr;
  }
.horizontal-list {
    grid-template-columns: 1fr;
  }
.mixed-grid {
    grid-template-columns: 1fr;
  }
.hero-illustration {
    width: 100%;
    opacity: 0.35;
  }
.site-footer {
    padding: 1.25rem 1rem 1.5rem;
  }
.friend-links {
    gap: 0.3rem 0.6rem;
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.movie-overview-block {
    padding: 1rem 0.75rem;
  }
.poster-col {
    max-width: 280px;
  }
.detail-grid {
    grid-template-columns: 1fr 1fr;
  }
.episode-card {
    padding: 0.75rem;
  }
.episodes-fragment, .comments-fragment, .recommendation-region {
    padding: 1rem 0.75rem;
  }
.movie-overview-block {
    border-radius: 12px;
  }
.episodes-fragment, .comments-fragment, .recommendation-region {
    border-radius: 12px;
  }}
@media (min-width: 481px) {.player-wrapper {
    min-width: 480px;
  }}
@media (max-width: 480px) {.player-wrapper {
    min-width: 0;
    width: 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}
