*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #2a1c12;
  background-image:
    linear-gradient(180deg, #3a2416 0%, #2a1c12 34%, #241710 100%);
  color: #f0e2c8;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-stretch: condensed;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #e8c46a;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
section {
  position: relative;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #1c1109 0%, #2b1a0f 100%);
  border-bottom: 1px solid #6d4322;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 9px 18px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-brand {
  font-family: "STSong", "SimSun", "Songti SC", "FangSong", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #f3c95c;
  padding-right: 14px;
  border-right: 2px solid #a8542a;
  line-height: 1.2;
  text-shadow: 0 1px 0 #1a0e06;
}
a[data-contract="site-name"] {
  color: #f3c95c;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #ff8a4c;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #e6d3ac;
  background: #40281a;
  border: 1px solid #6d4322;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
a.runtime-category:hover {
  color: #2a1c12;
  background: #e8b84b;
  border-color: #e8b84b;
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  background:
    linear-gradient(160deg, #3d2716 0%, #2c1a0f 58%, #351f12 100%);
  border: 1px solid #6d4322;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 205, 120, 0.12), 0 10px 26px rgba(0, 0, 0, 0.45);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "poster scene"
    "poster player";
  align-items: start;
  gap: 14px 18px;
}
.hero-poster {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 340px;
  border: 1px solid #8a5527;
  border-radius: 6px;
  overflow: hidden;
  background: #1a0f07;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}
.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(255, 176, 74, 0.14), transparent 46%, rgba(20, 8, 2, 0.5));
}
.hero-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-scene {
  grid-area: scene;
  position: relative;
  padding: 4px 2px 0;
  border-bottom: 1px dashed #6d4322;
  padding-bottom: 12px;
}
.hero-slogan {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #ffd98a;
  background: linear-gradient(90deg, rgba(168, 84, 42, 0.55), rgba(168, 84, 42, 0));
  border-left: 3px solid #c33b2a;
  padding: 3px 12px 3px 9px;
  margin-bottom: 8px;
}
.hero-title {
  font-family: "STSong", "SimSun", "Songti SC", serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.14;
  letter-spacing: 0.05em;
  color: #ffdf9c;
  text-shadow: 0 2px 0 #4a1f0c, 0 0 22px rgba(255, 160, 60, 0.28);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 10px;
}
.hero-year {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #2a1c12;
  background: #e8b84b;
  border-radius: 3px;
  padding: 1px 9px;
}
.hero-genre {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #d8b98a;
  border: 1px solid #7c4c24;
  border-radius: 3px;
  padding: 1px 9px;
}
.hero-player {
  grid-area: player;
  align-self: start;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: #1d1108;
  border: 1px solid #7c4c24;
  border-radius: 6px;
}
.hero-player video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 4px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  cursor: pointer;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  padding: 4px 9px;
  color: #f0dcae;
  background: #3d2716;
  border: 1px solid #7c4c24;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: #5a331b;
  border-color: #a8542a;
  color: #ffe6ab;
}
.player-btn:active {
  transform: translateY(1px);
}
.player-play {
  background: #a8542a;
  border-color: #d07a3a;
  color: #fff2d0;
  font-weight: 700;
}
.player-play.is-playing {
  background: #c33b2a;
  border-color: #e0684c;
}
.player-btn.is-active {
  background: #e8b84b;
  border-color: #f5cf72;
  color: #2a1c12;
  font-weight: 700;
}
.player-mute.is-muted {
  background: #5c2318;
  border-color: #c33b2a;
  color: #ffcfae;
}
.player-progress {
  flex: 1 1 140px;
  min-width: 0;
  height: 6px;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #c33b2a, #e8b84b);
  border-radius: 3px;
  border: 1px solid #6d4322;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffdf9c;
  border: 1px solid #7c4c24;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #7c4c24;
  border-radius: 50%;
  background: #ffdf9c;
}
.player-volume {
  flex: 0 1 92px;
  min-width: 64px;
  height: 6px;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #6d4322;
  border-radius: 3px;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e8b84b;
}
.player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #e8b84b;
}
body.theater-mode .hero-section {
  background: #140b05;
}
body.theater-mode .hero-player {
  border-color: #e8b84b;
  box-shadow: 0 0 0 1px rgba(232, 184, 75, 0.4), 0 12px 30px rgba(0, 0, 0, 0.6);
}
body.lights-off .page-main > section:not(.hero-section) {
  opacity: 0.32;
  transition: opacity 0.25s;
}
body.lights-off .site-footer {
  opacity: 0.32;
  transition: opacity 0.25s;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas:
    "synopsis cast"
    "synopsis status"
    "synopsis details";
  align-items: start;
  gap: 14px 18px;
  padding-top: 14px;
  border-top: 1px solid #6d4322;
}
.synopsis-panel {
  grid-area: synopsis;
  align-self: start;
  padding: 12px 14px;
  background: linear-gradient(180deg, #3a2416 0%, #2f1d11 100%);
  border: 1px solid #6d4322;
  border-left: 3px solid #c33b2a;
  border-radius: 6px;
}
.synopsis-heading, .cast-heading, .status-heading, .detail-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: "STSong", "SimSun", "Songti SC", serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: #ffd98a;
  padding-left: 10px;
  border-left: 4px solid #e8b84b;
  line-height: 1.25;
  margin-bottom: 10px;
}
.synopsis-heading {
  color: #ffcf7a;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.78;
  color: #e3d0b0;
  text-indent: 2em;
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-strip {
  grid-area: cast;
  align-self: start;
  padding: 12px 14px;
  background: #331f12;
  border: 1px solid #6d4322;
  border-radius: 6px;
}
.cast-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cast-card {
  flex: 1 1 74px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px;
  background: #241509;
  border: 1px solid #5c3a1e;
  border-radius: 6px;
  text-align: center;
}
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #ffd98a 0%, #d07a3a 42%, #8a3b1e 100%);
  border: 2px solid #a8542a;
  box-shadow: inset 0 0 0 2px #241509;
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #ecd9b4;
  white-space: nowrap;
}
.episode-status-panel {
  grid-area: status;
  align-self: start;
  padding: 12px 14px;
  background: #331f12;
  border: 1px solid #6d4322;
  border-radius: 6px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.status-current {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #ff8a4c;
}
.status-total {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #c9ab80;
}
.status-bar {
  position: relative;
  height: 15px;
  background: #1d1108;
  border: 1px solid #6d4322;
  border-radius: 8px;
  overflow: hidden;
}
.status-bar-fill {
  display: block;
  width: 8.33%;
  min-width: 46px;
  height: 100%;
  font-size: 10.5px;
  line-height: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #2a1c12;
  white-space: nowrap;
  background: linear-gradient(90deg, #c33b2a 0%, #e8b84b 100%);
}
.detail-panel {
  grid-area: details;
  align-self: start;
  padding: 12px 14px;
  background: #331f12;
  border: 1px solid #6d4322;
  border-radius: 6px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px dotted #5c3a1e;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #c9ab80;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #f0e2c8;
  overflow-wrap: anywhere;
}
.timeline-panel {
  padding: 14px;
  background: linear-gradient(180deg, #34200f 0%, #29180d 100%);
  border: 1px solid #6d4322;
  border-radius: 8px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding-top: 6px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px 10px;
  background: #241509;
  border: 1px solid #5c3a1e;
  border-top: 3px solid #c33b2a;
  border-radius: 0 0 6px 6px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e8b84b;
  border: 2px solid #7c4c24;
}
.timeline-timecode {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #ffd98a;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: #e0ceae;
}
.episodes-panel {
  padding: 14px;
  background: #2f1d11;
  border: 1px solid #6d4322;
  border-radius: 8px;
}
.episode-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  background: #3a2416;
  border: 1px solid #5c3a1e;
  border-left: 3px solid #a8542a;
  border-radius: 5px;
}
.episode-info {
  min-width: 0;
  flex: 1 1 auto;
}
.episode-number {
  display: inline-block;
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #2a1c12;
  background: #e8b84b;
  border-radius: 3px;
  padding: 0 6px;
  margin-bottom: 4px;
}
.episode-title {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #ffdf9c;
  line-height: 1.3;
  margin-bottom: 4px;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.62;
  color: #d9c6a4;
}
.episode-duration {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #ffb06a;
  background: #241509;
  border: 1px solid #7c4c24;
  border-radius: 3px;
  padding: 1px 6px;
  white-space: nowrap;
}
.comments-panel {
  padding: 14px;
  background: linear-gradient(180deg, #31200f 0%, #29180d 100%);
  border: 1px solid #6d4322;
  border-radius: 8px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: #241509;
  border: 1px solid #5c3a1e;
  border-radius: 5px;
  border-top: 2px solid #c33b2a;
}
.comment-nickname {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #ffd98a;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: #ddcbaa;
}
.recommend-region {
  padding: 14px;
  background: #2f1d11;
  border: 1px solid #6d4322;
  border-radius: 8px;
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-narrow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #3a2416;
  border: 1px solid #5c3a1e;
  border-radius: 6px;
  color: #f0e2c8;
  text-decoration: none;
  transition: border-color 0.16s, transform 0.16s, background 0.16s;
}
a.recommend-card:hover {
  background: #462b19;
  border-color: #e8b84b;
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  background: #1a0f07;
}
.recommend-name {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #ffdf9c;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.6;
  color: #cdb894;
}
.recommend-region-1 {
  border-top: 3px solid #e8b84b;
}
.recommend-region-2 {
  border-top: 3px solid #c33b2a;
}
.recommend-region-3 {
  border-top: 3px solid #a8542a;
}
.site-footer {
  background: linear-gradient(180deg, #1b1008 0%, #120a04 100%);
  border-top: 2px solid #6d4322;
  margin-top: 8px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #e8c46a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ff8a4c;
  border-bottom-color: #ff8a4c;
}
a[data-contract="footer-sitemap"] {
  color: #d8a96a;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 9px 11px;
  background: #241509;
  border: 1px solid #5c3a1e;
  border-radius: 6px;
}
.friend-links-label {
  font-family: "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #e8b84b;
  padding-right: 10px;
  border-right: 1px solid #5c3a1e;
}
a.runtime-friend-link {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #c9b48e;
  text-decoration: none;
  border-bottom: 1px dotted #6d4322;
}
a.runtime-friend-link:hover {
  color: #ffd98a;
  border-bottom-color: #e8b84b;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #8f7a5c;
  max-width: 900px;
}
@media (max-width: 1080px) {.overview-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "synopsis synopsis"
      "cast status"
      "details details";
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "scene"
      "poster"
      "player";
  }
.hero-poster {
    max-width: 300px;
  }
.episode-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-narrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 12px 12px 32px;
    gap: 18px;
  }
.header-inner {
    padding: 8px 12px;
  }
.site-brand {
    font-size: 18px;
    padding-right: 10px;
  }
.hero-section {
    padding: 10px;
  }
.hero-title {
    font-size: 26px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "synopsis"
      "cast"
      "status"
      "details";
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-wide, .recommend-grid-narrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    padding: 16px 12px 20px;
  }}
@media (max-width: 520px) {.hero-slogan {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
.hero-title {
    font-size: 22px;
  }
.hero-poster {
    max-width: 100%;
  }
.cast-card {
    flex: 1 1 60px;
  }
.cast-avatar {
    width: 38px;
    height: 38px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-wide, .recommend-grid-narrow {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    font-size: 12px;
    padding: 4px 8px;
  }
.player-progress {
    flex: 1 1 100%;
  }
.friend-links-label {
    border-right: none;
    padding-right: 0;
  }}

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}
