*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #2b2b2e;
  background-color: #f4f2ee;
  background-image: linear-gradient(180deg, #d9d7d2 0%, #e8e6e1 12%, #f4f2ee 34%, #f7f5f1 70%, #efe9e0 100%);
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(38, 38, 40, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f4e7d6;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ffb46b;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  color: #d8d4cd;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
}
a.runtime-category:hover {
  color: #26262a;
  background: #ffb46b;
  border-color: #ffb46b;
}
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px 0;
  display: block;
}
section {
  margin-bottom: 26px;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 20px 18px 22px;
  background: linear-gradient(135deg, #3a3a3d 0%, #4a4741 42%, #6b5a45 100%);
  border: 1px solid #232326;
  border-radius: 6px;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 62px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 46px);
  pointer-events: none;
}
.movie-overview::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 180, 107, 0) 0%, rgba(255, 180, 107, 0.12) 100%);
  pointer-events: none;
}
.overview-poster-wrap {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  overflow: hidden;
  background: #2a2a2c;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}
.overview-poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: #efeae2;
}
.overview-title {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #fff7ec;
}
.overview-tagline {
  margin-top: 6px;
  padding-left: 10px;
  border-left: 3px solid #ffb46b;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #ffcf9a;
}
.cast-strip {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.cast-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #ffcf9a;
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 76px;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  text-align: center;
}
.cast-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1.1;
  color: #fdf3e6;
  background: linear-gradient(160deg, #6d6357 0%, #38383b 100%);
  border: 1px solid rgba(255, 180, 107, 0.4);
  overflow: hidden;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #fdf3e6;
}
.cast-role {
  font-size: 10px;
  color: #bdb6ab;
}
.synopsis-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.synopsis-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #ffcf9a;
  margin-bottom: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: #ddd7cd;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #ffd9b0;
  white-space: nowrap;
}
.details-panel {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.details-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #ffcf9a;
  margin-bottom: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: #a9a29a;
  letter-spacing: 0.08em;
}
.detail-value {
  min-width: 0;
  font-size: 12.5px;
  color: #f2ece3;
}
.player-section {
  margin-bottom: 26px;
}
.player-wrap {
  position: relative;
  width: 100%;
  padding: 10px;
  background: #26262a;
  border: 1px solid #1c1c1f;
  border-radius: 6px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 3px;
  object-fit: cover;
}
.player-wrap.theater-mode {
  background: #121214;
  border-color: #3b3b40;
}
.player-wrap.lights-off {
  background: #050506;
  border-color: #050506;
}
.player-wrap.lights-off video {
  filter: brightness(0.55);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #e7e1d7;
  background: #3a3a3e;
  border: 1px solid #4c4c52;
  border-radius: 3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ctrl-btn:hover {
  background: #4a4a50;
}
.ctrl-btn.is-active {
  color: #26262a;
  background: #ffb46b;
  border-color: #ffb46b;
}
.ctrl-btn.is-playing {
  color: #26262a;
  background: #ffcf9a;
  border-color: #ffcf9a;
}
.ctrl-btn.is-muted {
  color: #8f8a83;
  background: #2c2c30;
  border-color: #3d3d42;
}
.ctrl-range {
  flex: 1 1 120px;
  min-width: 96px;
  height: 4px;
  margin: 6px 4px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #4b4b51;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffb46b;
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #ffb46b;
}
.ctrl-select {
  padding: 4px 6px;
  font-size: 12px;
  color: #e7e1d7;
  background: #3a3a3e;
  border: 1px solid #4c4c52;
  border-radius: 3px;
}
.timeline-section {
  padding: 16px 16px 20px;
  background: #efede8;
  border: 1px solid #dcd8d1;
  border-radius: 6px;
}
.timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: #33333a;
}
.timeline-heading {
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid #d8d4cc;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px 8px;
  padding-top: 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  border-top: 1px dashed #b9b2a6;
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0 4px;
}
.timeline-node::before {
  content: "";
  width: 9px;
  height: 9px;
  margin: 8px 0 4px;
  border-radius: 50%;
  background: #f4f2ee;
  border: 2px solid #c96f2e;
  box-shadow: 0 0 0 2px #efede8;
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a87240;
}
.node-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #33333a;
}
.episodes-section {
  padding: 16px 16px 18px;
  background: #f7f5f1;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
}
.episodes-heading {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e0dcd4;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px 9px;
  background: #fffdf9;
  border: 1px solid #e2ddd4;
  border-radius: 4px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.episode-card:hover {
  border-color: #d59a63;
  transform: translateY(-1px);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #b0692f;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #2c2c32;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.45;
  color: #6d6960;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  margin-top: 3px;
  font-size: 10.5px;
  color: #9a9489;
  letter-spacing: 0.06em;
}
.comments-section {
  padding: 16px 16px 18px;
  background: #efede8;
  border: 1px solid #dcd8d1;
  border-radius: 6px;
}
.comments-heading {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #d8d4cc;
}
.comments-waterfall {
  columns: 2;
  column-gap: 10px;
}
.comment-bubble {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 9px 11px;
  background: #fffdf9;
  border: 1px solid #e2ddd4;
  border-radius: 10px 10px 10px 3px;
}
.comment-bubble:nth-child(3n + 2) {
  background: #fdf4e8;
  border-color: #efdcc2;
}
.comment-bubble:nth-child(3n) {
  background: #f2f0eb;
}
.comment-nickname {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b0692f;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #4b473f;
}
.recommend-region {
  padding: 14px 14px 16px;
  background: #f7f5f1;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
  margin-bottom: 14px;
}
.recommend-heading {
  padding-bottom: 7px;
  margin-bottom: 10px;
  font-size: 14px;
  border-bottom: 1px solid #e0dcd4;
}
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recommend-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 7px;
  background: #fffdf9;
  border: 1px solid #e2ddd4;
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.recommend-item:hover {
  border-color: #d59a63;
  box-shadow: 0 3px 10px rgba(150, 110, 60, 0.14);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  background: #e5e1da;
  grid-row: 1 / span 2;
  grid-column: 1;
}
.recommend-item [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: #2c2c32;
  line-height: 1.35;
}
.recommend-item [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.45;
  color: #6d6960;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 10px;
  padding: 26px 16px 44px;
  background: linear-gradient(180deg, #efe9e0 0%, #e4ded4 100%);
  border-top: 1px solid #d8d2c7;
  color: #57534a;
}
.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8a847a;
}
.footer-links {
  max-width: 1200px;
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-link {
  padding: 4px 11px;
  font-size: 12px;
  border: 1px solid #c9c2b6;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
}
a[data-contract="footer-home"] {
  color: #a85f26;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #26262a;
  background: #ffcf9a;
  border-color: #ffcf9a;
}
a[data-contract="footer-sitemap"] {
  color: #5c6b74;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a[data-contract="footer-sitemap"]:hover {
  color: #26262a;
}
.friend-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8a847a;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7d7needed;
  color: #7d776d;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #a85f26;
  text-decoration: underline;
}
@media (max-width: 1024px) {.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.overview-poster-wrap {
    max-width: 220px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }}
@media (max-width: 720px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-waterfall {
    columns: 1;
  }
.overview-title {
    font-size: 22px;
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  }}
@media (max-width: 520px) {.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.page-main {
    padding: 14px 12px 0;
  }
.movie-overview {
    padding: 14px 12px 16px;
  }
.overview-poster-wrap {
    max-width: 100%;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-item {
    grid-template-columns: 60px minmax(0, 1fr);
  }
.cast-card {
    width: 68px;
  }
.site-footer {
    padding: 22px 12px 36px;
  }}
@media (max-width: 360px) {.episodes-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}
