*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: #0a1128;
  color: #e8eaf0;
  line-height: 1.5;
  min-height: 100vh;
}
header {
  background-color: #0d1530;
  border-bottom: 1px solid #c9a84c;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
a[data-contract="site-name"] {
  color: #f0d98c;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-left: 3px solid #c9a84c;
  padding-left: 0.75rem;
}
a[data-contract="site-name"]:hover {
  color: #fff3c4;
  text-decoration: underline;
}
nav[data-contract="categories"] {
  display: flex;
  gap: 0.4rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 70%;
}
a.runtime-category {
  color: #b8c0d8;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}
a.runtime-category:hover {
  color: #0a1128;
  background-color: #c9a84c;
  border-color: #c9a84c;
  text-decoration: none;
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}
.movie-overview-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 1.5rem;
  background-color: #0d1530;
  border: 1px solid #1e2a4d;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.poster-wrapper {
  position: relative;
}
img.main-poster {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #c9a84c;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.25);
}
.overview-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}
.title-block {
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 0.75rem;
}
h1.movie-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f0d98c;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
p.tagline {
  font-size: 0.9rem;
  color: #b8c0d8;
  font-style: italic;
  letter-spacing: 0.15em;
}
.details-panel {
  background-color: transparent;
  border: none;
  padding: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 1rem;
  margin: 0;
}
.detail-item {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.8rem;
}
.detail-item dt {
  color: #8b94b0;
  flex-shrink: 0;
  font-weight: 500;
}
.detail-item dd {
  color: #dfe4f0;
  margin: 0;
  font-weight: 600;
}
.cast-panel {
  margin-top: 0.2rem;
}
.panel-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c9a84c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  border-left: 2px solid #c9a84c;
  padding-left: 0.5rem;
}
.cast-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.cast-item {
  background-color: rgba(201, 168, 76, 0.12);
  border-radius: 16px;
  padding: 0.25rem 0.9rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.cast-name {
  font-size: 0.85rem;
  color: #e8eaf0;
  font-weight: 500;
}
.episode-status-panel {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}
.total-episodes {
  background-color: #c9a84c;
  color: #0a1128;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.current-episode-label {
  color: #b8c0d8;
  font-size: 0.8rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}
.synopsis-section {
  margin-top: 0.3rem;
}
.section-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0d98c;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  border-left: 4px solid #c9a84c;
  padding-left: 0.75rem;
}
.synopsis-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.synopsis-paragraph {
  font-size: 0.8rem;
  color: #c0c8dc;
  line-height: 1.6;
  text-align: justify;
}
.player-wrapper {
  margin-top: 0.4rem;
  width: 100%;
  max-width: 640px;
  min-width: 0;
}
video[data-contract="player"] {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  background-color: #050a18;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.control-btn {
  background-color: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: #e8eaf0;
  font-size: 0.72rem;
  padding: 0.28rem 0.65rem;
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.control-btn:hover {
  background-color: #c9a84c;
  border-color: #c9a84c;
  color: #0a1128;
}
.player-wrapper.theater-mode {
  max-width: 100%;
  position: relative;
}
.player-wrapper.theater-mode video {
  border-radius: 0;
}
.player-wrapper.lights-off video {
  filter: brightness(0.5);
  transition: filter 0.3s ease;
}
.episodes-section {
  padding: 1.5rem 0;
  margin: 0;
}
.episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.episode-item {
  background-color: #0d1530;
  border: 1px solid #1e2a4d;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  transition: border-color 0.2s ease;
}
.episode-item:hover {
  border-color: rgba(201, 168, 76, 0.6);
}
.episode-header {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}
.episode-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #c9a84c;
  font-style: italic;
}
.episode-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8eaf0;
}
.episode-duration {
  font-size: 0.75rem;
  color: #8b94b0;
  text-align: right;
}
.episode-summary {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #b0b8d0;
  line-height: 1.5;
  padding-left: 3.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.timeline-section {
  padding: 1.5rem 0;
  margin: 0;
}
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2.5%;
  right: 2.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.8), rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.8));
  z-index: 0;
}
.timeline-item {
  background-color: #0d1530;
  border: 1px solid #1e2a4d;
  border-radius: 8px;
  padding: 0.7rem;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s ease;
}
.timeline-item:hover {
  border-color: #c9a84c;
}
.timeline-time {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #c9a84c;
  margin-bottom: 0.3rem;
}
.timeline-label {
  font-size: 0.78rem;
  color: #b8c0d8;
  line-height: 1.4;
  display: block;
}
.comments-section {
  padding: 1.5rem 0;
  margin: 0;
}
.comments-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  align-items: start;
}
.comment-card {
  background-color: #0d1530;
  border: 1px solid #1e2a4d;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease;
}
.comment-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
}
.comment-nickname {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 0.35rem;
}
.comment-text {
  font-size: 0.78rem;
  color: #c0c8dc;
  line-height: 1.5;
}
.recommendation-region {
  padding: 1.5rem 0;
  margin: 0;
}
.recommendation-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  background-color: #0d1530;
  border: 1px solid #1e2a4d;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: fit-content;
}
a.recommendation-card:hover {
  border-color: #c9a84c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.15);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background-color: #1e2a4d;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}
.recommendation-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f0d98c;
  padding: 0.5rem 0.6rem 0.2rem;
  line-height: 1.3;
}
.recommendation-blurb {
  font-size: 0.72rem;
  color: #8b94b0;
  padding: 0 0.6rem 0.6rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
footer {
  background-color: #0d1530;
  border-top: 1px solid #c9a84c;
  padding: 1.5rem 1.5rem 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
.footer-disclaimer {
  font-size: 0.7rem;
  color: #8b94b0;
  max-width: 720px;
  text-align: center;
  margin-bottom: 0.5rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #b8c0d8;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-right: 1px solid rgba(201, 168, 76, 0.3);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #c9a84c;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}
.friend-links-label {
  font-size: 0.7rem;
  color: #8b94b0;
  margin-right: 0.3rem;
}
a.runtime-friend-link {
  color: #b8c0d8;
  text-decoration: none;
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
  text-decoration: none;
}
@media (max-width: 1024px) {.movie-overview-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.2rem;
  }
.timeline-list {
    grid-template-columns: repeat(3, 1fr);
  }
.comments-masonry {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 768px) {header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
  }
nav[data-contract="categories"] {
    max-width: 100%;
    width: 100%;
  }
.movie-overview-shell {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
.poster-wrapper {
    max-width: 260px;
    margin: 0 auto;
  }
.overview-content {
    gap: 0.8rem;
  }
.details-list {
    grid-template-columns: 1fr 1fr;
  }
.episode-header {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
.episode-duration {
    grid-column: 2;
    text-align: left;
    padding-left: 2.5rem;
    margin-top: -0.2rem;
  }
.episode-summary {
    padding-left: 0;
  }
.timeline-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
.timeline-list::before {
    display: none;
  }
.comments-masonry {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
.recommendation-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
  }}
@media (max-width: 480px) {main {
    padding: 0 0.5rem;
  }
.movie-overview-shell {
    margin: 0.8rem 0;
    padding: 0.8rem;
  }
h1.movie-title {
    font-size: 1.2rem;
  }
.details-list {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
.detail-item {
    font-size: 0.78rem;
  }
.cast-list {
    gap: 0.3rem;
  }
.episode-header {
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: 0.5rem;
  }
.episode-number {
    font-size: 1rem;
  }
.episode-title {
    font-size: 0.82rem;
  }
.episode-duration {
    font-size: 0.7rem;
  }
.timeline-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
.recommendation-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
.recommendation-name {
    font-size: 0.78rem;
    padding: 0.35rem 0.4rem 0.15rem;
  }
.recommendation-blurb {
    font-size: 0.68rem;
    padding: 0 0.4rem 0.4rem;
  }
.player-controls {
    gap: 0.2rem;
  }
.control-btn {
    font-size: 0.68rem;
    padding: 0.22rem 0.5rem;
  }
footer {
    padding: 1rem 0.8rem 1.5rem;
  }
.friend-links {
    gap: 0.2rem 0.4rem;
  }}

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}
