*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #0f1512;
  background-image:
    radial-gradient(ellipse 120% 70% at 12% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
    radial-gradient(ellipse 90% 60% at 92% 6%, rgba(216, 58, 130, 0.10), transparent 62%),
    linear-gradient(180deg, #121a16 0%, #0d1310 55%, #0b100d 100%);
  background-attachment: fixed;
  color: #e7dcc2;
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h2, h3 {
  margin: 0;
  font-family: "Heiti SC", "SimHei", "STHeiti", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
p { margin: 0; }
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
dl, dd { margin: 0; }
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #101812 0%, #0d1511 100%);
  border-bottom: 1px solid #2c4034;
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.18), 0 8px 22px -14px #000;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: #e8c34a;
  text-decoration: none;
  font-family: "Heiti SC", "SimHei", "STHeiti", "Noto Sans CJK SC", sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 0 14px rgba(232, 195, 74, 0.28);
}
a[data-contract="site-name"]:hover {
  color: #ffe27a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  color: #b9d8d1;
  text-decoration: none;
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  border: 1px solid #2f4a41;
  border-radius: 1px;
  background: rgba(28, 46, 38, 0.55);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #0f1512;
  background: #46c7d6;
  border-color: #46c7d6;
  text-decoration: none;
}
.movie-page {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 16px 34px;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas:
    "poster identity"
    "player identity"
    "player cast"
    "player synopsis"
    "player status"
    "player details";
  align-items: start;
  gap: 14px 22px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.05), transparent 140px),
    #151d18;
  border: 1px solid #33483c;
  border-radius: 2px;
  box-shadow: 0 22px 44px -30px #000, inset 0 0 0 1px rgba(201, 162, 39, 0.06);
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(216, 58, 130, 0.16);
  pointer-events: none;
}
.overview-poster-wrap {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid #465c4c;
  background: #0a0f0c;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) sepia(0.14);
}
.overview-identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #3a5245;
}
.overview-title {
  font-size: 25px;
  color: #f2e6c6;
  text-shadow: 0 0 18px rgba(216, 58, 130, 0.35);
}
.overview-tagline {
  color: #d83a82;
  font-size: 14px;
  letter-spacing: 0.14em;
  font-family: "Songti SC", "SimSun", serif;
  text-shadow: 0 0 10px rgba(216, 58, 130, 0.45);
}
.overview-player-wrap {
  grid-area: player;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 8px;
  background: #0a0f0c;
  border: 1px solid #3a5245;
}
.overview-player {
  display: block;
  width: 100%;
  background: #000;
  filter: saturate(0.95) contrast(1.04);
}
.overview-player-wrap.is-lights-off {
  background: #000;
  border-color: #000;
}
.overview-player-wrap.is-lights-off .player-controls {
  opacity: 0.35;
  transition: opacity 0.2s;
}
.overview-player-wrap.is-lights-off:hover .player-controls {
  opacity: 1;
}
.overview-player-wrap.is-theater {
  border-color: #d83a82;
  box-shadow: 0 0 0 1px #d83a82, 0 0 28px -6px rgba(216, 58, 130, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
}
.player-button {
  padding: 3px 8px;
  color: #b9d8d1;
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  border: 1px solid #35564a;
  border-radius: 1px;
  background: rgba(23, 38, 31, 0.85);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-button:hover {
  color: #0f1512;
  background: #e8c34a;
  border-color: #e8c34a;
}
.player-button.is-active, .player-button.play.is-active, .player-button.is-active.is-active {
  color: #0f1512;
  background: #46c7d6;
  border-color: #46c7d6;
}
.player-progress, .player-volume {
  height: 5px;
  border: 1px solid #35564a;
  background: #0a0f0c;
  border-radius: 0;
}
.player-progress { flex: 1 1 130px; min-width: 90px; }
.player-volume { flex: 0 1 76px; min-width: 56px; }
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 15px;
  background: #d83a82;
  border: 0;
  border-radius: 0;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 9px;
  height: 15px;
  background: #d83a82;
  border: 0;
  border-radius: 0;
}
.player-progress::-moz-range-track, .player-volume::-moz-range-track {
  height: 5px;
  background: #0a0f0c;
}
.overview-cast {
  grid-area: cast;
  padding-bottom: 12px;
  border-bottom: 1px dashed #3a5245;
}
.overview-subtitle {
  margin: 0 0 8px;
  font-size: 14px;
  color: #e8c34a;
  letter-spacing: 0.18em;
}
.overview-subtitle::before {
  content: "／";
  color: #d83a82;
  margin-right: 2px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  max-width: 68px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border: 1px solid #4a6252;
  border-radius: 1px;
  filter: grayscale(0.65) sepia(0.42) contrast(1.1) brightness(0.92);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}
.cast-name {
  font-size: 12px;
  color: #cfc4a6;
  text-align: center;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.overview-synopsis {
  grid-area: synopsis;
  padding-bottom: 12px;
  border-bottom: 1px dashed #3a5245;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.72;
  color: #cdc3a6;
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.overview-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #3a5245;
}
.status-chip {
  display: inline-block;
  padding: 2px 9px;
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #dfe9e2;
  background: rgba(70, 199, 214, 0.12);
  border: 1px solid #46c7d6;
  border-radius: 1px;
  white-space: nowrap;
}
.status-chip:nth-child(2) {
  color: #ffd9ec;
  background: rgba(216, 58, 130, 0.14);
  border-color: #d83a82;
}
.overview-details {
  grid-area: details;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.5em;
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8fa89b;
  border-right: 1px solid #35564a;
  padding-right: 8px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #e0d6ba;
  overflow-wrap: anywhere;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 17px;
  color: #f2e6c6;
  letter-spacing: 0.2em;
}
.section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 17px;
  background: #d83a82;
  box-shadow: 0 0 10px rgba(216, 58, 130, 0.6);
}
.section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, #3a5245, transparent);
}
.timeline-panel {
  padding: 16px 18px;
  background: #141c17;
  border: 1px solid #33483c;
  border-radius: 2px;
  box-shadow: 0 18px 36px -30px #000;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 58, 130, 0.8), rgba(70, 199, 214, 0.5));
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 14px 16px;
  min-width: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: #e8c34a;
  border: 1px solid #0f1512;
  box-shadow: 0 0 0 1px #e8c34a;
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 8px;
  height: 1px;
  background: #3a5245;
}
.timeline-node {
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #e8c34a;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: #cdc3a6;
  line-height: 1.55;
  border-left: 1px solid #35564a;
  padding-left: 9px;
}
.episodes-panel {
  padding: 16px 18px;
  background: #141c17;
  border: 1px solid #33483c;
  border-radius: 2px;
  box-shadow: 0 18px 36px -30px #000;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 10px 11px;
  background: #182119;
  border: 1px solid #33483c;
  border-left: 2px solid #6b4a2f;
  border-radius: 1px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.episode-card:hover {
  background: #1d2a20;
  border-left-color: #d83a82;
  transform: translateY(-1px);
}
.episode-card-active {
  background: #1e2a21;
  border-color: #e8c34a;
  border-left-color: #e8c34a;
  box-shadow: 0 0 0 1px rgba(232, 195, 74, 0.28), 0 10px 22px -16px #000;
}
.episode-number {
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #46c7d6;
  border: 1px solid #2f4a41;
  padding: 1px 6px;
  border-radius: 1px;
  white-space: nowrap;
}
.episode-card-active .episode-number {
  color: #0f1512;
  background: #e8c34a;
  border-color: #e8c34a;
}
.episode-title {
  font-size: 13.5px;
  color: #f2e6c6;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: #b8ae92;
  text-align: justify;
}
.episode-duration {
  margin-top: auto;
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8fa89b;
  padding-top: 5px;
  border-top: 1px dashed #33483c;
  width: 100%;
}
.comments-panel {
  padding: 16px 18px;
  background: #141c17;
  border: 1px solid #33483c;
  border-radius: 2px;
  box-shadow: 0 18px 36px -30px #000;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  padding: 4px 0 6px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  background: #e4d9bb;
  color: #23281f;
  border: 1px solid #b7a97f;
  border-radius: 1px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.42);
  transition: transform 0.18s, box-shadow 0.18s;
}
.comment-card:nth-child(4n + 2) { transform: rotate(-0.5deg) translateY(3px); background: #ddd0ad; }
.comment-card:nth-child(4n + 3) { transform: rotate(0.45deg) translateY(-2px); background: #ece2c6; }
.comment-card:nth-child(4n + 4) { transform: rotate(-0.3deg) translateY(4px); background: #d9cda9; }
.comment-card:hover {
  transform: translateY(-2px) rotate(0deg);
  box-shadow: 5px 7px 0 rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.comment-nickname {
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #9c2f22;
  border-bottom: 1px solid rgba(156, 47, 34, 0.35);
  padding-bottom: 4px;
  overflow-wrap: anywhere;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: #2b3226;
  text-align: justify;
}
.recommendation-region {
  padding: 16px 18px;
  background: #141c17;
  border: 1px solid #33483c;
  border-radius: 2px;
  box-shadow: 0 18px 36px -30px #000;
}
.recommendation-region-2 {
  background: linear-gradient(180deg, rgba(216, 58, 130, 0.06), transparent 90px), #141c17;
  border-color: #4a3540;
}
.recommendation-region-3 {
  background: linear-gradient(180deg, rgba(70, 199, 214, 0.06), transparent 90px), #141c17;
  border-color: #2f4a4a;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 11px;
}
.recommendation-region-1 .recommendation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: #e7dcc2;
  text-decoration: none;
  background: #182119;
  border: 1px solid #33483c;
  border-radius: 1px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommendation-card:hover {
  background: #1d2a20;
  border-color: #d83a82;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #2b3d33;
  filter: saturate(0.82) contrast(1.05) sepia(0.18);
}
.recommendation-name {
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f2e6c6;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recommendation-blurb {
  font-size: 12px;
  line-height: 1.55;
  color: #a9a189;
  text-align: justify;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  border-top: 1px solid #2c4034;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: #8b8straw;
  color: #8b8570;
  max-width: 74ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"] {
  color: #e8c34a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover {
  color: #ffe27a;
  border-bottom-color: #ffe27a;
}
a[data-contract="footer-sitemap"] {
  color: #46c7d6;
  text-decoration: none;
  border-bottom: 1px dashed #46c7d6;
}
a[data-contract="footer-sitemap"]:hover {
  color: #8ceaf4;
  border-bottom-style: solid;
  border-bottom-color: #8ceaf4;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dashed #2c4034;
}
.friend-links-label {
  font-family: "Heiti SC", "SimHei", "STHeiti", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8fa89b;
  border: 1px solid #35564a;
  padding: 1px 7px;
  border-radius: 1px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: #b9d8d1;
  text-decoration: none;
  border-bottom: 1px dotted #4a6252;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #d83a82;
  border-bottom-color: #d83a82;
}
@media (max-width: 1080px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommendation-region-1 .recommendation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "identity"
      "player"
      "cast"
      "synopsis"
      "status"
      "details";
  }
.overview-poster-wrap {
    max-width: 320px;
  }
.recommendation-grid, .recommendation-region-1 .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 720px) {body { font-size: 14.5px; }
.movie-page { gap: 20px; padding: 16px 12px 26px; }
.header-bar { padding: 8px 12px; }
.movie-overview, .timeline-panel, .episodes-panel, .comments-panel, .recommendation-region { padding: 13px 12px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-title { font-size: 21px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 560px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.recommendation-grid, .recommendation-region-1 .recommendation-grid { grid-template-columns: minmax(0, 1fr); }
.comment-card, .comment-card:nth-child(4n + 2), .comment-card:nth-child(4n + 3), .comment-card:nth-child(4n + 4) {
    transform: none;
  }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-avatar { max-width: 60px; }
.overview-poster-wrap { max-width: 260px; }
.player-progress { flex: 1 1 100%; }
.player-volume { flex: 0 0 60px; }
.overview-title { font-size: 19px; }}

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}
