*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: #1c1613;
  background-image:
    radial-gradient(ellipse 90% 60% at 78% 8%, rgba(150, 60, 26, 0.22), transparent 62%),
    radial-gradient(ellipse 70% 50% at 10% 100%, rgba(120, 48, 22, 0.14), transparent 60%),
    linear-gradient(180deg, #221a16 0%, #1a1411 40%, #171210 100%);
  background-attachment: fixed;
  color: #e9dccb;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: #c96a3c;
  text-decoration: none;
}
a:hover {
  color: #e08a55;
  text-decoration: underline;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #f2e4d2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background:
    linear-gradient(180deg, rgba(28, 22, 19, 0.97), rgba(24, 18, 15, 0.93));
  border-bottom: 1px solid #4a2a1c;
  box-shadow: 0 1px 0 rgba(201, 106, 60, 0.18), 0 8px 22px -14px #000;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-brand, a[data-contract="site-name"] {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0dfc8;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(190, 84, 40, 0.35);
  border-left: 3px solid #a8412a;
  padding-left: 10px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ffb27a;
  text-decoration: none;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  flex: 1 1 240px;
  min-width: 0;
}
.runtime-category, a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #d3b79b;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid #4d2c1d;
  background: rgba(60, 34, 22, 0.45);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #ffc79a;
  border-color: #b4472a;
  background: rgba(120, 48, 26, 0.5);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero {
  position: relative;
  border: 1px solid #46281a;
  background:
    linear-gradient(120deg, rgba(30, 22, 18, 0.92) 0%, rgba(38, 26, 20, 0.86) 46%, rgba(58, 28, 16, 0.72) 100%);
  box-shadow: inset 0 0 60px -20px rgba(190, 84, 40, 0.35), 0 10px 30px -18px #000;
  overflow: hidden;
}
.hero-backdrop {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  align-items: start;
  position: relative;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 108%, rgba(214, 96, 38, 0.28), transparent 68%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 6px);
  pointer-events: none;
}
.hero-media-wrap {
  position: relative;
  grid-column: 1;
  align-self: start;
  width: 100%;
  border: 1px solid #5a3320;
  background: #120d0a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 26px -16px #000;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.hero-info {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.movie-title {
  font-size: 30px;
  letter-spacing: 0.08em;
  color: #fbeada;
  text-shadow: 0 0 22px rgba(200, 90, 44, 0.45), 0 1px 0 #000;
  border-bottom: 1px solid #4a2a1c;
  padding-bottom: 7px;
}
.movie-tagline {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #e5915a;
  padding-left: 10px;
  border-left: 2px solid #a8412a;
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.7;
  color: #c8b6a2;
  max-width: 62ch;
}
.player-shell {
  margin-top: 3px;
  border: 1px solid #4d2c1d;
  background: #100c09;
  padding: 6px;
  box-shadow: inset 0 0 34px -14px rgba(200, 90, 44, 0.5);
}
.player-frame {
  position: relative;
  width: 100%;
  max-width: none;
  background: #000;
  border: 1px solid #33200f;
  overflow: hidden;
}
.player-frame video, [data-contract="player"] {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 1px 1px;
}
.player-btn {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #dcc4ab;
  background: linear-gradient(180deg, #35221a, #291a13);
  border: 1px solid #4f2d1c;
  padding: 4px 10px;
  min-height: 28px;
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}
.player-btn:hover {
  color: #ffd0a4;
  border-color: #a8412a;
  background: linear-gradient(180deg, #4a2a1a, #351d13);
}
.player-btn.is-active, .player-btn.click, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.speed, .player-btn.progress, .player-btn.volume, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light {
  color: #ffca9c;
  border-color: #b4472a;
  background: linear-gradient(180deg, #5b2c18, #3c1d11);
}
body.theater-mode .hero-backdrop {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .hero-media-wrap {
  display: none;
}
body.lights-off .player-shell {
  box-shadow: 0 0 0 1px #7a3a1e, 0 0 46px -8px rgba(214, 96, 38, 0.55);
}
body.lights-off .player-frame {
  border-color: #8a3f1f;
}
.cast {
  margin-top: 4px;
  border-top: 1px solid #4a2a1c;
  padding-top: 9px;
}
.cast-heading, .cast-panel-heading, .synopsis-heading, .episode-status-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #e8c9a4;
  margin-bottom: 7px;
  padding-left: 9px;
  border-left: 3px solid #a8412a;
  position: relative;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  align-items: center;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cast-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid #5a3320;
  background:
    radial-gradient(circle at 34% 30%, rgba(220, 120, 60, 0.5), transparent 60%),
    linear-gradient(135deg, #3a2418, #221610);
  box-shadow: inset 0 0 8px -2px #000;
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.55));
}
.cast-name {
  font-size: 12.5px;
  color: #d8c2a8;
  white-space: nowrap;
}
.synopsis {
  border-top: 1px solid #4a2a1c;
  padding-top: 9px;
}
.synopsis-body {
  column-count: 2;
  column-gap: 20px;
  column-rule: 1px solid #3a2318;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: #cbb9a4;
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  border-top: 1px solid #4a2a1c;
  padding-top: 9px;
}
.episode-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  font-size: 13px;
}
.status-label {
  color: #9d8570;
  letter-spacing: 0.08em;
}
.status-value {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 16px;
  color: #f0a468;
  letter-spacing: 0.04em;
  padding-right: 14px;
  border-right: 1px solid #402518;
}
.episode-status-line .status-value:last-child {
  border-right: none;
  padding-right: 0;
}
.details {
  border-top: 1px solid #4a2a1c;
  padding-top: 9px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dotted #3c2417;
  padding: 3px 0;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: #9d8570;
  letter-spacing: 0.1em;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: #dcc9b2;
  text-align: right;
  min-width: 0;
}
.timeline {
  border: 1px solid #402619;
  background: linear-gradient(180deg, rgba(40, 28, 22, 0.75), rgba(28, 20, 16, 0.85));
  padding: 12px 14px 14px;
  position: relative;
}
.timeline-heading {
  margin-bottom: 14px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #6d3a22 0 6px, #2a1a12 6px 11px);
  border-top: 1px solid #7d4426;
  border-bottom: 1px solid #1c110c;
}
.timeline-node {
  position: relative;
  padding: 10px 8px 0 0;
  border-right: 1px solid #352017;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.timeline-node:last-child {
  border-right: none;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  width: 9px;
  height: 9px;
  background: #b4472a;
  border: 1px solid #e5915a;
  box-shadow: 0 0 10px rgba(214, 96, 38, 0.7);
  transform: rotate(45deg);
}
.timeline-timecode {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e08a55;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: #bda893;
}
.mid-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 14px;
  align-items: start;
}
.episodes, .cast-panel {
  border: 1px solid #402619;
  background: linear-gradient(180deg, rgba(38, 27, 21, 0.7), rgba(26, 19, 15, 0.82));
  padding: 12px 14px 14px;
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  border: 1px solid #3d2417;
  border-left: 3px solid #7f3a20;
  background: rgba(30, 21, 17, 0.72);
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: #7f3a20;
  border-left-color: #d4682f;
  background: rgba(48, 29, 20, 0.8);
}
.episode-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(315deg, rgba(214, 96, 38, 0.35), transparent 70%);
  pointer-events: none;
}
.episode-number {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #d4682f;
}
.episode-title {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #f0dfc8;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #b09d89;
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #9d8570;
  border-top: 1px solid #3a2318;
  padding-top: 4px;
  width: 100%;
}
.cast-inline-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
}
.cast-inline-item {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #362117;
  background: rgba(30, 21, 17, 0.6);
  padding: 5px 7px;
  min-width: 0;
}
.cast-inline-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid #5a3320;
  background:
    radial-gradient(circle at 32% 28%, rgba(220, 120, 60, 0.55), transparent 62%),
    linear-gradient(135deg, #40281a, #211510);
  position: relative;
}
.cast-inline-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.5));
}
.cast-inline-name {
  font-size: 12.5px;
  color: #d8c2a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comments {
  border: 1px solid #402619;
  background: linear-gradient(180deg, rgba(36, 26, 20, 0.66), rgba(24, 18, 14, 0.8));
  padding: 12px 14px 12px;
}
.comment-list {
  display: flex;
  flex-direction: column;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px solid #5c2f1c;
  min-width: 0;
}
.comment-item:first-child {
  padding-top: 2px;
}
.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.comment-nickname {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #e08a55;
}
.comment-nickname::before {
  content: "▍";
  color: #a8412a;
  margin-right: 4px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: #cab8a3;
  max-width: 78ch;
}
.recommendations {
  border: 1px solid #402619;
  background: linear-gradient(180deg, rgba(38, 27, 21, 0.72), rgba(25, 18, 14, 0.85));
  padding: 12px 14px 14px;
}
.recommendation-title {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #e8c9a4;
  margin-bottom: 10px;
  padding-bottom: 6px;
  padding-left: 9px;
  border-left: 3px solid #a8412a;
  border-bottom: 1px solid #3d2417;
}
.recommendation-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #3a2318;
  background: rgba(28, 20, 16, 0.75);
  padding: 6px;
  color: #d8c2a8;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.recommendation-item:hover {
  color: #ffd0a4;
  border-color: #a8412a;
  background: rgba(56, 30, 20, 0.85);
  text-decoration: none;
}
.recommendation-item[data-runtime="recommendation"] img, .recommendation-pic {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid #2c1b12;
  background: #120d0a;
  filter: saturate(0.9) contrast(1.05);
}
.recommendation-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: #f2dfc6;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommendation-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: #a8947f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid #4a2a1c;
  background: linear-gradient(180deg, rgba(24, 18, 15, 0.9), rgba(16, 12, 10, 0.98));
  padding: 14px 16px 26px;
  margin-top: 6px;
}
.footer-nav, .friend-links {
  max-width: 1180px;
  margin: 0 auto 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.footer-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #c9a884;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffc79a;
  border-bottom-color: #a8412a;
  text-decoration: none;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #8d7663;
  padding-right: 8px;
  border-right: 1px solid #3d2417;
}
.runtime-friend-link, a.runtime-friend-link {
  font-size: 12px;
  color: #b08a68;
  text-decoration: none;
  border: 1px solid #382217;
  background: rgba(38, 26, 20, 0.6);
  padding: 2px 8px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #ffc79a;
  border-color: #a8412a;
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: #7d6a59;
  border-top: 1px solid #2c1c14;
  padding-top: 10px;
}
@media (max-width: 980px) {.hero-backdrop {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  }
.mid-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-inline-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media-wrap {
    max-width: 260px;
  }
.hero-info {
    grid-column: 1;
  }
.movie-title {
    font-size: 24px;
  }
.synopsis-body {
    column-count: 1;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
    padding-top: 0;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    padding: 0 10px 0 14px;
    border-right: none;
    border-left: 2px solid #4a2a1c;
  }
.timeline-node::before {
    top: 3px;
    left: -5px;
    width: 8px;
    height: 8px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-inline-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 520px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 10px 26px;
    gap: 11px;
  }
.header-inner {
    padding: 8px 10px;
    gap: 10px;
  }
.site-brand, a[data-contract="site-name"] {
    font-size: 17px;
  }
.hero-backdrop {
    padding: 11px;
    gap: 11px;
  }
.movie-title {
    font-size: 21px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-inline-row {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-column {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    font-size: 12px;
    padding: 4px 8px;
  }}
@media (min-width: 1180px) {.hero-backdrop {
    grid-template-columns: minmax(0, 320px) 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}
