:root {
  --fire: #D2691E;
  --fire-deep: #A54E12;
  --night: #1A1A2E;
  --night-deep: #10101C;
  --night-soft: #23233B;
  --patina: #5B7A5A;
  --cream: #F2E8D5;
  --cream-dim: #C9BFA9;
  --line: rgba(210, 105, 30, 0.28);
  --shadow-warm: 0 4px 18px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(210, 105, 30, 0.14);
  --serif-hand: "Songti SC", "STSong", "SimSun", Georgia, "Noto Serif SC", serif;
  --round: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 720px at 18% -8%, rgba(210, 105, 30, 0.16), transparent 62%),
    radial-gradient(900px 640px at 92% 12%, rgba(26, 26, 46, 0.9), transparent 70%),
    linear-gradient(178deg, #14141F 0%, #1A1A2E 46%, #12121D 100%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--round);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--fire); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif-hand); font-weight: 700; line-height: 1.25; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 16, 28, 0.96), rgba(26, 26, 46, 0.86));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--serif-hand);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(210, 105, 30, 0.55);
  border-bottom: 2px solid transparent;
}
a[data-contract="site-name"]:hover {
  color: var(--fire);
  border-bottom-color: var(--fire);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 12.5px;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(35, 35, 59, 0.6);
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--night-deep);
  background: var(--fire);
  border-color: var(--fire);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2fr);
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(150deg, rgba(26, 26, 46, 0.94) 0%, rgba(16, 16, 28, 0.98) 62%),
    radial-gradient(560px 420px at 78% 6%, rgba(210, 105, 30, 0.18), transparent 68%);
  border: 1px solid rgba(210, 105, 30, 0.22);
  border-radius: 6px;
  padding: 14px;
  box-shadow: var(--shadow-warm);
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -12%;
  width: 46%;
  height: 180%;
  background: linear-gradient(96deg, transparent, rgba(210, 105, 30, 0.10), transparent);
  transform: rotate(6deg);
  pointer-events: none;
}
.hero-poster-col { min-width: 0; }
.poster-wrapper {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(210, 105, 30, 0.34);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
}
.poster-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26, 26, 46, 0.10) 0%, transparent 34%, rgba(16, 16, 28, 0.62) 100%),
    radial-gradient(70% 46% at 22% 78%, rgba(210, 105, 30, 0.32), transparent 70%);
  mix-blend-mode: screen;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.06);
}
.hero-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--cream);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 26px rgba(210, 105, 30, 0.4);
}
.movie-tagline {
  position: relative;
  font-family: var(--serif-hand);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #FFE1BE;
  padding: 6px 10px 6px 14px;
  border-left: 3px solid var(--fire);
  background: linear-gradient(90deg, rgba(210, 105, 30, 0.26), rgba(210, 105, 30, 0.02));
  border-radius: 0 3px 3px 0;
  text-shadow: 0 0 16px rgba(210, 105, 30, 0.72);
  align-self: start;
}
.player-wrapper {
  position: relative;
  width: 100%;
  border: 1px solid rgba(210, 105, 30, 0.3);
  border-radius: 5px;
  background: #08080F;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.66);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.player-wrapper.theater-mode {
  box-shadow: 0 0 0 1px var(--fire), 0 14px 40px rgba(210, 105, 30, 0.36);
  border-color: var(--fire);
}
.player-wrapper.lights-off {
  box-shadow: 0 0 0 1px rgba(210, 105, 30, 0.7), 0 0 52px rgba(0, 0, 0, 0.95) inset;
  background: #000;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.94), rgba(16, 16, 28, 0.98));
  border-top: 1px solid rgba(210, 105, 30, 0.22);
}
.player-btn {
  padding: 4px 9px;
  font-size: 12px;
  color: var(--cream-dim);
  background: rgba(35, 35, 59, 0.86);
  border: 1px solid rgba(210, 105, 30, 0.3);
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.player-btn:hover {
  color: var(--night-deep);
  background: var(--fire);
  border-color: var(--fire);
}
.player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.click, .player-btn.input, .player-btn.change, .player-btn.light, .player-btn.play:active, .player-btn.pause:active {
  color: var(--night-deep);
  background: var(--fire);
  border-color: var(--fire);
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fire), rgba(210, 105, 30, 0.16));
  outline: none;
  cursor: pointer;
}
.player-progress { flex: 1 1 130px; min-width: 70px; }
.player-volume { flex: 0 1 84px; min-width: 56px; }
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--fire);
  box-shadow: 0 0 8px rgba(210, 105, 30, 0.85);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid var(--fire);
  border-radius: 50%;
  background: var(--cream);
}
.player-speed {
  padding: 3px 6px;
  font-size: 12px;
  color: var(--cream-dim);
  background: rgba(35, 35, 59, 0.9);
  border: 1px solid rgba(210, 105, 30, 0.3);
  border-radius: 3px;
  cursor: pointer;
}
.section-heading {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--fire);
  padding-left: 9px;
  border-left: 3px solid var(--fire);
  margin-bottom: 8px;
  text-shadow: 0 0 14px rgba(210, 105, 30, 0.35);
}
.cast-section { margin-top: 2px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px;
  background: rgba(35, 35, 59, 0.62);
  border: 1px solid rgba(210, 105, 30, 0.18);
  border-radius: 4px;
  transition: border-color 0.18s, transform 0.18s;
}
.cast-card:hover {
  border-color: var(--fire);
  transform: translateY(-2px);
}
.cast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(242, 232, 213, 0.55), transparent 44%),
    linear-gradient(140deg, var(--fire) 0%, var(--fire-deep) 40%, var(--night) 100%);
  box-shadow: 0 0 0 1px rgba(210, 105, 30, 0.55), 0 3px 10px rgba(0, 0, 0, 0.6);
  flex: 0 0 auto;
}
.cast-name {
  font-size: 12px;
  color: var(--cream);
  text-align: center;
  line-height: 1.3;
}
.synopsis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream-dim);
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(35, 35, 59, 0.5), rgba(26, 26, 46, 0.34));
  border-top: 2px solid rgba(210, 105, 30, 0.42);
  border-radius: 0 0 4px 4px;
}
.synopsis-para:first-child { color: var(--cream); }
.episode-status-section, .details-section { margin-top: 0; }
.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.status-row {
  padding: 6px 9px;
  background: rgba(35, 35, 59, 0.55);
  border: 1px solid rgba(210, 105, 30, 0.2);
  border-left: 3px solid var(--fire);
  border-radius: 3px;
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--patina);
  text-transform: none;
}
.status-value {
  font-family: var(--serif-hand);
  font-size: 16px;
  color: var(--cream);
  margin-top: 1px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 10px;
}
.detail-row {
  display: flex;
  gap: 7px;
  align-items: baseline;
  padding: 4px 2px;
  border-bottom: 1px dashed rgba(210, 105, 30, 0.2);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--patina);
  letter-spacing: 0.06em;
}
.detail-key::after { content: "·"; margin-left: 4px; color: rgba(210, 105, 30, 0.5); }
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--cream);
  line-height: 1.45;
}
.timeline-section {
  border-top: 1px solid rgba(210, 105, 30, 0.18);
  padding-top: 12px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 4px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(210, 105, 30, 0.12);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--fire);
  box-shadow: 0 0 10px rgba(210, 105, 30, 0.8);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 25px;
  bottom: -9px;
  width: 1px;
  background: linear-gradient(180deg, rgba(210, 105, 30, 0.5), rgba(210, 105, 30, 0.06));
}
.timeline-item:last-child::after { display: none; }
.timeline-timecode {
  font-family: var(--serif-hand);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--fire);
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: var(--cream-dim);
  line-height: 1.5;
}
.episodes-section {
  border-top: 1px solid rgba(210, 105, 30, 0.18);
  padding-top: 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  padding: 9px 11px;
  background: linear-gradient(158deg, rgba(35, 35, 59, 0.72), rgba(16, 16, 28, 0.8));
  border: 1px solid rgba(210, 105, 30, 0.18);
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.44);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.episode-card:hover {
  border-color: rgba(210, 105, 30, 0.6);
  box-shadow: 0 4px 16px rgba(210, 105, 30, 0.18);
}
.episode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px dashed rgba(210, 105, 30, 0.26);
}
.episode-number {
  font-family: var(--serif-hand);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fire);
}
.episode-duration {
  font-size: 11px;
  color: var(--patina);
  white-space: nowrap;
}
.episode-title {
  font-size: 14px;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cream-dim);
}
.comments-section {
  border-top: 1px solid rgba(210, 105, 30, 0.18);
  padding-top: 12px;
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 8px 11px 9px;
  background:
    linear-gradient(150deg, rgba(242, 232, 213, 0.05), rgba(26, 26, 46, 0.86)),
    repeating-linear-gradient(0deg, rgba(210, 105, 30, 0.05) 0 1px, transparent 1px 22px);
  border: 1px solid rgba(210, 105, 30, 0.2);
  border-left: 3px solid rgba(210, 105, 30, 0.55);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.comment-card:nth-child(odd) { transform: rotate(-0.5deg); }
.comment-card:nth-child(even) { transform: rotate(0.55deg); margin-top: 6px; }
.comment-card:hover {
  transform: rotate(0deg);
  border-color: var(--fire);
  z-index: 2;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.comment-nickname {
  font-family: var(--serif-hand);
  font-size: 13px;
  color: var(--fire);
  letter-spacing: 0.05em;
}
.comment-nickname::before {
  content: "▍";
  color: var(--patina);
  margin-right: 3px;
  font-size: 11px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cream-dim);
}
.recommend-region {
  border-top: 1px solid rgba(210, 105, 30, 0.18);
  padding-top: 12px;
}
.recommend-scroller {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--fire) rgba(26, 26, 46, 0.6);
}
.recommend-scroller::-webkit-scrollbar { height: 6px; }
.recommend-scroller::-webkit-scrollbar-track { background: rgba(26, 26, 46, 0.7); border-radius: 3px; }
.recommend-scroller::-webkit-scrollbar-thumb { background: var(--fire-deep); border-radius: 3px; }
a.recommend-card {
  flex: 0 0 210px;
  width: 210px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--cream);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(35, 35, 59, 0.9), rgba(16, 16, 28, 0.94));
  border: 1px solid rgba(210, 105, 30, 0.2);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommend-card:hover {
  border-color: var(--fire);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(210, 105, 30, 0.26);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  background: #08080F;
  filter: saturate(0.92) contrast(1.05);
}
.recommend-name {
  font-family: var(--serif-hand);
  font-size: 13px;
  color: var(--cream);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 16, 28, 0.9), rgba(10, 10, 18, 0.98));
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(201, 191, 169, 0.72);
  max-width: 72ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid rgba(210, 105, 30, 0.22);
  border-radius: 3px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--fire);
  border-color: var(--fire);
  background: rgba(210, 105, 30, 0.1);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  padding-top: 8px;
  border-top: 1px dashed rgba(210, 105, 30, 0.16);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--patina);
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(201, 191, 169, 0.82);
  text-decoration: none;
  border-bottom: 1px dotted rgba(210, 105, 30, 0.4);
  transition: color 0.16s, border-color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--fire);
  border-bottom-color: var(--fire);
}
.player.progress, .player.volume, .player.timeupdate, .player.speed, .player.fullscreen, .player.pip, .player.theater, .player.light, .player.theater-mode {
  outline: none;
}
.player.theater-mode, .player.theater {
  border-color: var(--fire);
  box-shadow: 0 0 0 1px var(--fire), 0 12px 34px rgba(210, 105, 30, 0.3);
}
.player.lights-off, .player.light {
  background: #000;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.92) inset;
}
.player.mute { opacity: 0.82; }
.player.play, .player.pause, .player.click, .player.input, .player.change { transition: background 0.18s, color 0.18s, border-color 0.18s; }
@media (max-width: 1000px) {.hero-section { grid-template-columns: minmax(0, 1fr); }
.hero-poster-col { max-width: 260px; }
.synopsis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {.cast-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comments-list { grid-template-columns: minmax(0, 1fr); }
.comment-card:nth-child(odd), .comment-card:nth-child(even) { transform: none; margin-top: 0; }
.timeline-item { grid-template-columns: 68px minmax(0, 1fr); gap: 9px; }}
@media (max-width: 560px) {body { font-size: 13.5px; }
.page-main { padding: 12px 10px 6px; gap: 14px; }
.hero-section { padding: 10px; gap: 12px; }
.hero-poster-col { max-width: 200px; }
.movie-title { font-size: 24px; }
.synopsis-grid { grid-template-columns: minmax(0, 1fr); }
.status-list { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.cast-avatar { width: 34px; height: 34px; }
.cast-name { font-size: 11px; }
a.recommend-card { flex: 0 0 168px; width: 168px; }
.player-controls { gap: 5px; padding: 6px; }
.player-btn { padding: 3px 7px; font-size: 11.5px; }}
@media (max-width: 400px) {.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.timeline-timecode { font-size: 12px; }}

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}
