*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #0d0a09;
  color: #ecdfd0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(1200px 460px at 18% -6%, rgba(150, 52, 24, 0.30), rgba(13, 10, 9, 0) 68%),
    radial-gradient(900px 420px at 100% 4%, rgba(108, 40, 20, 0.22), rgba(13, 10, 9, 0) 70%),
    linear-gradient(180deg, #140f0d 0%, #0d0a09 44%, #0c0807 100%);
  background-attachment: fixed;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 11, 10, 0.97), rgba(16, 11, 10, 0.86));
  border-bottom: 1px solid #33211a;
  box-shadow: 0 1px 0 rgba(196, 128, 58, 0.12), 0 8px 18px -14px #000 inset;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0d9a8;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(196, 128, 58, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ffcf8a;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  color: #d9b98c;
  text-decoration: none;
  border: 1px solid #3d271d;
  background: rgba(64, 32, 20, 0.42);
  border-radius: 1px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #ffd9a0;
  border-color: #7a4622;
  background: rgba(120, 54, 24, 0.55);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 22px;
}
.movie-overview {
  position: relative;
  margin: 12px 0 0;
  padding: 14px 14px 16px;
  background:
    linear-gradient(180deg, rgba(38, 20, 14, 0.86), rgba(20, 13, 11, 0.92)),
    linear-gradient(90deg, rgba(150, 52, 24, 0.16), rgba(0, 0, 0, 0) 60%);
  border: 1px solid #3a2418;
  border-radius: 2px;
  box-shadow: 0 20px 40px -34px #000 inset;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: start;
}
.poster-column {
  min-width: 0;
  align-self: start;
}
.poster-frame {
  position: relative;
  margin: 0;
  border: 1px solid #4a2c1b;
  background: #120c0a;
  box-shadow: 0 0 0 1px rgba(196, 128, 58, 0.10), 0 18px 34px -22px #000;
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(150, 52, 24, 0.32), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 34%);
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-banner {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fbe6bd;
  text-shadow: 0 0 18px rgba(190, 96, 38, 0.42), 0 2px 0 #2a1610;
}
.movie-tagline {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #d09a63;
  padding-left: 9px;
  border-left: 2px solid #8c3f1d;
}
.movie-seo {
  font-size: 12px;
  line-height: 1.6;
  color: #b9a898;
  text-align: justify;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 2px;
  background: #080605;
  border: 1px solid #3d2418;
  box-shadow: 0 0 26px -8px rgba(190, 96, 38, 0.22) inset;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #1a1210, #120c0a);
  border-top: 1px solid #33201a;
}
.pi-btn {
  padding: 2px 7px;
  font-size: 11px;
  line-height: 1.6;
  color: #d6b78e;
  background: rgba(58, 32, 20, 0.6);
  border: 1px solid #43291c;
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.pi-btn:hover {
  color: #ffd9a0;
  border-color: #7d4a22;
  background: rgba(120, 56, 24, 0.6);
}
.pi-btn.is-active {
  color: #1a0f0a;
  background: #c4803a;
  border-color: #e0a35a;
}
.pi-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 12px;
  accent-color: #b8542a;
  cursor: pointer;
}
.pi-volume {
  flex: 0 1 70px;
  min-width: 56px;
  height: 12px;
  accent-color: #8c6a35;
  cursor: pointer;
}
.pi-speed {
  font-size: 11px;
  padding: 2px 4px;
  color: #d6b78e;
  background: rgba(58, 32, 20, 0.6);
  border: 1px solid #43291c;
  border-radius: 1px;
  cursor: pointer;
}
.pi-speed option {
  background: #1a1210;
  color: #ecdfd0;
}
.episode-status {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #33211a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.status-head {
  display: flex;
  align-items: baseline;
}
.status-title {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #c8863f;
  font-weight: 700;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  padding: 1px 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #e2c69d;
  background: rgba(74, 38, 20, 0.5);
  border: 1px solid #4b2d1c;
  border-radius: 1px;
  white-space: nowrap;
}
.status-chip:first-child {
  color: #f4d9a4;
  border-color: #7a4a22;
  background: rgba(122, 58, 24, 0.55);
}
.details-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #33211a;
}
.detail-heading, .cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #d29a52;
  margin-bottom: 8px;
}
.detail-heading::before, .cast-heading::before, .synopsis-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 12px;
  margin-right: 7px;
  vertical-align: -1px;
  background: linear-gradient(180deg, #e0a35a, #8c3f1d);
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 2px 12px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted #2e1e17;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8f7a6a;
  white-space: nowrap;
}
.detail-key::after {
  content: "／";
  color: #4a3428;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  color: #e6d5c2;
  overflow-wrap: anywhere;
}
.cast-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #33211a;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 6px 8px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 4px 6px;
  background: linear-gradient(90deg, rgba(52, 28, 18, 0.55), rgba(24, 15, 12, 0.35));
  border: 1px solid #33201a;
  border-left: 2px solid #6c3418;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #6a4230, #2a1a14 72%),
    #1a110d;
  border: 2px solid #0a0706;
  box-shadow: 0 0 0 1px #4a2c1b, 0 0 8px -2px rgba(190, 96, 38, 0.5);
}
.cast-name {
  min-width: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #e8d6bf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #33211a;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px 18px;
  align-items: start;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.62;
  color: #bcab99;
  text-align: justify;
  text-indent: 2em;
}
.synopsis-para:first-child {
  color: #d8c6b1;
}
.timeline-block {
  margin: 22px 0 0;
  padding-top: 12px;
  border-top: 1px solid #3a2418;
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px 0 14px;
  scrollbar-color: #6c3418 #1a1210;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar {
  height: 8px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #150e0c;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #5e2c14;
  border-radius: 4px;
}
.timeline-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 2px;
  min-width: 100%;
  background: linear-gradient(90deg, rgba(140, 63, 29, 0.15), #8c3f1d 12%, #c4803a 50%, #8c3f1d 88%, rgba(140, 63, 29, 0.15));
  box-shadow: 0 0 14px -2px rgba(196, 128, 58, 0.55);
}
.torch-light {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffdca0 0%, #e08a34 46%, rgba(140, 63, 29, 0) 72%);
  box-shadow: 0 0 12px 3px rgba(224, 138, 52, 0.6), 0 0 26px 8px rgba(150, 52, 24, 0.32);
  animation: torch-flicker 2.6s ease-in-out infinite;
}
@keyframes torch-flicker {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  45% { opacity: 1; transform: scale(1.22); }
  70% { opacity: 0.7; transform: scale(0.94); }
}
.timeline-list {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 0 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 186px;
  padding: 0 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4803a;
  border: 1px solid #1a0f0a;
  box-shadow: 0 0 10px 2px rgba(196, 128, 58, 0.55);
}
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #e0a35a;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #b4a292;
}
.episodes-block {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #3a2418;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(42, 24, 17, 0.72), rgba(22, 14, 12, 0.72));
  border: 1px solid #33201a;
  border-radius: 1px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-color: #5e2c14;
  background: linear-gradient(180deg, rgba(62, 32, 20, 0.8), rgba(26, 16, 13, 0.8));
}
.episode-card-current {
  border-color: #8c3f1d;
  background: linear-gradient(180deg, rgba(84, 40, 20, 0.78), rgba(30, 17, 13, 0.85));
  box-shadow: 0 0 0 1px rgba(196, 128, 58, 0.28), 0 0 20px -8px rgba(196, 128, 58, 0.6);
}
.episode-index {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 3px 5px;
  background: rgba(12, 8, 7, 0.72);
  border: 1px solid #3d2418;
  border-left: 2px solid #8c3f1d;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #dca45c;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-card-current .episode-number {
  color: #ffd9a0;
}
.episode-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.episode-title {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ecd9bd;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: #a99786;
  letter-spacing: 0.01em;
}
.episode-duration {
  margin-top: 1px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #976f45;
  font-variant-numeric: tabular-nums;
}
.episode-duration::before {
  content: "◷ ";
  color: #6c3418;
}
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
  gap: 16px;
  align-items: start;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #3a2418;
}
.comments-block {
  min-width: 0;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-card {
  padding: 6px 9px;
  background: linear-gradient(180deg, rgba(38, 22, 16, 0.6), rgba(20, 13, 11, 0.62));
  border: 1px solid #2f1e17;
  border-left: 2px solid #4a2c1b;
  border-radius: 1px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #cf9450;
  margin-bottom: 2px;
}
.comment-nickname::before {
  content: "— ";
  color: #6c3418;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: #bdaa97;
  text-align: justify;
}
.recommend-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recommend-region {
  min-width: 0;
}
.recommend-heading {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #c8863f;
  margin-bottom: 7px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
}
a.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  min-width: 0;
  color: #e3d2bd;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(40, 23, 17, 0.72), rgba(19, 12, 10, 0.75));
  border: 1px solid #33201a;
  border-radius: 1px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.recommend-card:hover {
  color: #ffe1b4;
  text-decoration: none;
  border-color: #8c3f1d;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -14px #000, 0 0 16px -6px rgba(196, 128, 58, 0.5);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0706;
  border: 1px solid #2a1a13;
}
.recommend-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  min-width: 18px;
  padding: 0 5px;
  font-size: 10.5px;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #1a0f0a;
  background: linear-gradient(180deg, #e0a35a, #b8542a);
  border: 1px solid #1a0f0a;
  border-radius: 1px;
  box-shadow: 0 1px 6px -2px #000;
}
.recommend-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ecd9bd;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #9c8b7b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 20px;
  border-top: 1px solid #2f1e17;
  font-size: 11px;
  color: #7d6c5e;
}
.footer-disclaimer {
  line-height: 1.6;
  color: #837164;
  margin-bottom: 8px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  padding: 6px 0;
  border-top: 1px dotted #2a1a13;
  border-bottom: 1px dotted #2a1a13;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b07c3f;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8d7a69;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.14s ease;
}
a.runtime-friend-link:hover {
  color: #e0a35a;
  text-decoration: none;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a98a5c;
  text-decoration: none;
  transition: color 0.14s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0c887;
  text-decoration: none;
}
body.lights-off .movie-overview {
  box-shadow: 0 0 60px -20px #000 inset;
}
body.lights-off .poster-frame::after {
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(150, 52, 24, 0.42), rgba(0, 0, 0, 0.1) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25) 34%);
}
body.theater-mode .overview-hero {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .poster-column {
  display: none;
}
.player-shell video.is-playing {
  box-shadow: 0 0 30px -8px rgba(196, 128, 58, 0.35);
}
@media (max-width: 980px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 12px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.split-layout {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 0 10px 18px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 220px;
  }
.movie-title {
    font-size: 20px;
    letter-spacing: 0.06em;
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  }}
@media (max-width: 480px) {.header-inner {
    gap: 8px;
    padding: 7px 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.category-bar {
    justify-content: flex-start;
  }
.movie-overview {
    padding: 10px 10px 12px;
  }
.poster-column {
    max-width: 168px;
  }
.movie-title {
    font-size: 18px;
  }
.detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
.cast-name {
    font-size: 11.5px;
  }
.timeline-node {
    width: 164px;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  }
.pi-btn {
    padding: 2px 6px;
    font-size: 10.5px;
  }}

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}
