*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: #17130f;
  background-image:
    linear-gradient(180deg, #211b15 0%, #17120d 38%, #14100c 72%, #100c09 100%);
  color: #cfc6bb;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img, video {
  display: block;
  max-width: 100%;
}
h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.section-heading {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  color: #e6dccd;
  padding-left: 12px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: linear-gradient(180deg, #e2913f, #8a5320);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(19, 15, 11, 0.94);
  border-bottom: 1px solid #2c241b;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-name {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: #f0e5d4;
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: #f0e5d4;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f0a95a;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b8a894;
  padding: 3px 10px;
  border: 1px solid #3a2f24;
  border-radius: 2px;
  background: #1d1712;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: #f3c07c;
  border-color: #7a5225;
  background: #241c14;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.movie-overview-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  padding: 20px 18px 22px;
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(226, 145, 63, 0.10), transparent 58%),
    linear-gradient(180deg, #1e1812 0%, #191410 100%);
  border: 1px solid #2e251b;
  border-radius: 3px;
  overflow: hidden;
}
.movie-overview-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6d4a22, transparent);
}
.overview-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid #33291e;
  border-radius: 2px;
  overflow: hidden;
  background: #0f0b08;
}
.overview-poster-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(226, 145, 63, 0.16) 0%, transparent 42%);
  mix-blend-mode: screen;
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.overview-title {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: 0.06em;
  color: #f2e8d8;
}
.overview-tagline {
  position: relative;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #d99b52;
  padding: 5px 10px 5px 14px;
  border-left: 2px solid #a4661f;
  background: linear-gradient(90deg, rgba(190, 118, 42, 0.16), transparent 78%);
}
.player-wrap {
  position: relative;
  width: 100%;
  background: #0b0906;
  border: 1px solid #31281d;
  border-radius: 2px;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: #16110d;
  border-top: 1px solid #2a2118;
}
.player-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 3px 9px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #b9ab99;
  background: #1f1813;
  border: 1px solid #362b20;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.player-btn:hover {
  color: #f4c184;
  border-color: #7c5324;
  background: #251c14;
}
input.player-btn[type="range"] {
  width: 84px;
  min-width: 60px;
  padding: 0 2px;
  height: 22px;
  background: transparent;
  border-color: transparent;
  accent-color: #d68c3c;
  cursor: pointer;
}
select.player-btn {
  padding-right: 6px;
}
.player-btn.is-playing {
  color: #f0aa56;
  border-color: #8a5a24;
}
.player-btn.is-muted {
  color: #7d7365;
  border-color: #2c241b;
  text-decoration: line-through;
}
.player-btn.is-theater {
  color: #f0aa56;
  border-color: #8a5a24;
  background: #2a1f14;
}
.player-btn.is-lights-off {
  color: #f5d9a8;
  border-color: #b1782c;
  background: #33240f;
}
.player-wrap.player-theater {
  border-color: #7c5324;
  box-shadow: 0 0 0 1px rgba(226, 145, 63, 0.28), 0 12px 30px -18px rgba(0, 0, 0, 0.9);
}
.player-wrap.player-lights-off {
  background: #000;
}
.player-wrap.player-lights-off .player-controls {
  background: #0a0806;
}
.cast-shell {
  padding-top: 12px;
  border-top: 1px solid #2a2118;
}
.cast-heading, .synopsis-heading, .details-heading {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #c9a878;
  margin-bottom: 8px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
}
.cast-portrait {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 6px 4px;
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #d9ccb8;
  text-align: center;
  background:
    linear-gradient(180deg, #2a2219 0%, #1b1510 62%, #241a10 100%);
  border: 1px solid #34291d;
  border-radius: 2px;
  overflow: hidden;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(226, 145, 63, 0.20), transparent 52%);
  pointer-events: none;
}
.cast-role {
  font-size: 11px;
  line-height: 1.35;
  color: #96897a;
  letter-spacing: 0.03em;
}
.synopsis-shell {
  padding-top: 12px;
  border-top: 1px solid #2a2118;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.62;
  color: #b3a795;
  letter-spacing: 0.02em;
  text-indent: 1.6em;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 5px;
}
.episode-status-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  padding: 9px 11px;
  background: #1c1610;
  border: 1px solid #2e2519;
  border-left: 2px solid #a4661f;
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8d8272;
}
.status-value {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #eab97a;
  margin-right: 12px;
}
.status-value:last-child {
  margin-right: 0;
}
.details-shell {
  padding-top: 12px;
  border-top: 1px solid #2a2118;
}
.details-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 14px;
  font-size: 12.5px;
  line-height: 1.5;
}
.details-key {
  color: #857a6b;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.details-value {
  color: #c4b6a3;
}
.timeline-shell {
  padding-top: 4px;
}
.timeline-shell .section-heading {
  margin-bottom: 12px;
}
.timeline-list {
  position: relative;
  margin-left: 6px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, #6d4a22 0%, #3b2d1e 62%, #241c14 100%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 6px 10px 6px 0;
  border-bottom: 1px solid rgba(64, 51, 37, 0.55);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d68c3c;
  box-shadow: 0 0 0 3px rgba(214, 140, 60, 0.16);
}
.timeline-timecode {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #d99b52;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.5;
  color: #b7ab9a;
}
.timeline-node:last-child .timeline-label {
  color: #ddd0bb;
}
.timeline-node:last-child::before {
  background: #f0b063;
  box-shadow: 0 0 0 4px rgba(240, 176, 99, 0.18);
}
.episodes-shell {
  padding-top: 4px;
}
.episodes-shell .section-heading {
  margin-bottom: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-cell {
  align-self: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 8px 8px;
  background: #1b1510;
  border: 1px solid #2b2218;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-cell:hover, .episode-cell:focus-within, .episode-cell.change {
  border-color: #7c5324;
  background: #221a12;
}
.episode-number {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #c08b45;
}
.episode-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #ddd1bd;
}
.episode-detail {
  display: none;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #3a2e21;
  flex-direction: column;
  gap: 5px;
}
.episode-cell:hover .episode-detail, .episode-cell:focus-within .episode-detail, .episode-cell.change .episode-detail {
  display: flex;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: #a2968a;
  letter-spacing: 0.01em;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8a6b3d;
}
.comments-shell {
  padding-top: 4px;
}
.comments-shell .section-heading {
  margin-bottom: 12px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comment-column:first-child {
  padding-top: 0;
}
.comment-column:last-child {
  padding-top: 26px;
}
.comment-card {
  position: relative;
  padding: 9px 11px 10px 13px;
  background: #1c1610;
  border: 1px solid #2c2318;
  border-left: 2px solid #5e4525;
  border-radius: 2px;
}
.comment-card:nth-child(2n) {
  background: #1a1510;
  border-left-color: #7c5324;
}
.comment-card:nth-child(3n) {
  border-left-color: #3f3221;
}
.comment-nickname {
  display: block;
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #d99b52;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #aea394;
  letter-spacing: 0.01em;
}
.recommend-region {
  padding-top: 4px;
}
.recommend-region .section-heading {
  margin-bottom: 10px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 7px;
  background: #1a1510;
  border: 1px solid #2a2118;
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-item:hover {
  border-color: #7c5324;
  background: #211a12;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #100c08;
  filter: saturate(0.7) brightness(0.92);
}
a.recommend-item:hover .recommend-thumb {
  filter: saturate(0.95) brightness(1);
}
.recommend-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #e2d6c1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #94897b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid #2a2118;
  background: linear-gradient(180deg, #17120d 0%, #100c09 100%);
  padding: 20px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.friend-links-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  max-width: 1180px;
}
.friend-links-label {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #6f6558;
  padding-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8f8476;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 2px;
  transition: color 0.18s, background 0.18s;
}
a.runtime-friend-link:hover {
  color: #eab97a;
  background: #221a12;
}
.footer-disclaimer {
  max-width: 760px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #6f6558;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #a99d8c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"] {
  color: #cfa165;
}
a[data-contract="footer-sitemap"] {
  color: #9c9384;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0b063;
  border-bottom-color: #7c5324;
}
@media (max-width: 1024px) {.movie-overview-shell {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 16px;
  }
.episode-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 14px 18px;
  }
.overview-poster-wrap {
    max-width: 240px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 14px 12px 30px;
    gap: 20px;
  }
.header-inner {
    padding: 7px 12px;
  }
.overview-title {
    font-size: 20px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-column:last-child {
    padding-top: 0;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }
.details-list {
    font-size: 12px;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
input.player-btn[type="range"] {
    width: 100%;
    min-width: 0;
    flex: 1 1 80px;
  }
.overview-poster-wrap {
    max-width: 200px;
  }}

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}
