*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --char: #0b0908;
  --char-2: #15100e;
  --char-3: #1d1614;
  --ember: #e2542a;
  --ember-2: #ff7a3c;
  --ember-deep: #7d1f10;
  --ember-glow: rgba(226, 84, 42, 0.55);
  --ash: #d8d2cc;
  --ash-dim: #9a908a;
  --line: rgba(226, 84, 42, 0.22);
  --line-soft: rgba(216, 210, 204, 0.12);
  --serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --pad: 14px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--char);
  color: var(--ash);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  background-image:
    radial-gradient(120% 60% at 82% -8%, rgba(125, 31, 16, 0.55) 0%, rgba(11, 9, 8, 0) 62%),
    radial-gradient(90% 45% at 8% 4%, rgba(226, 84, 42, 0.14) 0%, rgba(11, 9, 8, 0) 58%),
    linear-gradient(180deg, #0d0a09 0%, #0b0908 40%, #090706 100%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0.96) 0%, rgba(11, 9, 8, 0.82) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ember-2);
  text-shadow: 0 0 14px var(--ember-glow);
}
a[data-contract="site-name"]:hover { color: #ffb489; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ash);
  background: rgba(226, 84, 42, 0.07);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  background: rgba(226, 84, 42, 0.28);
  border-color: var(--ember);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px var(--pad) 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(29, 22, 20, 0.92) 0%, rgba(15, 11, 10, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(226, 84, 42, 0.05) 0 2px, transparent 2px 9px),
    radial-gradient(70% 90% at 100% 100%, rgba(125, 31, 16, 0.5) 0%, transparent 60%);
  pointer-events: none;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-column { min-width: 0; }
.poster-frame {
  margin: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 10px 26px rgba(0, 0, 0, 0.7), 0 0 26px rgba(226, 84, 42, 0.18);
  position: relative;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-copy {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 12px 14px;
  overflow: hidden;
  border-radius: 2px;
}
.ember-silhouette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 82% at 74% 42%, rgba(226, 84, 42, 0.42) 0%, rgba(125, 31, 16, 0.32) 34%, transparent 68%),
    radial-gradient(30% 55% at 86% 30%, rgba(255, 122, 60, 0.28) 0%, transparent 70%),
    repeating-linear-gradient(74deg, rgba(226, 84, 42, 0.08) 0 3px, transparent 3px 13px);
  mask-image: radial-gradient(80% 100% at 70% 45%, #000 30%, transparent 88%);
  -webkit-mask-image: radial-gradient(80% 100% at 70% 45%, #000 30%, transparent 88%);
}
.ember-silhouette::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 62%;
  height: 96%;
  background: linear-gradient(180deg, rgba(226, 84, 42, 0.55), rgba(125, 31, 16, 0.1) 72%, transparent);
  border-radius: 50% 46% 40% 42% / 60% 58% 42% 40%;
  filter: blur(10px);
  opacity: 0.75;
}
.movie-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(22px, 4.4vw, 34px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff2e6;
  text-shadow: 0 0 20px rgba(226, 84, 42, 0.6), 0 2px 4px rgba(0,0,0,0.9);
}
.movie-tagline {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ash);
  max-width: 46ch;
  padding-left: 10px;
  border-left: 2px solid var(--ember);
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}
.player-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #050403;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px;
  box-shadow: inset 0 0 60px rgba(226, 84, 42, 0.08);
}
.player-shell video {
  display: block;
  background: #000;
  border-radius: 2px;
  outline: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 2px 2px 0;
}
.player-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 5px;
  accent-color: var(--ember);
  cursor: pointer;
}
.player-volume {
  flex: 0 0 auto;
  width: 84px;
  height: 5px;
  accent-color: var(--ember);
  cursor: pointer;
}
.player-btn {
  flex: 0 0 auto;
  background: rgba(226, 84, 42, 0.1);
  border: 1px solid var(--line);
  color: var(--ash);
  font-size: 12px;
  line-height: 1.2;
  padding: 5px 9px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover, .player-btn.is-active {
  background: rgba(226, 84, 42, 0.34);
  border-color: var(--ember);
  color: #fff;
}
.player-btn.play.is-active { background: var(--ember-deep); }
.player-speed {
  flex: 0 0 auto;
  background: rgba(226, 84, 42, 0.1);
  border: 1px solid var(--line);
  color: var(--ash);
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 2px;
  cursor: pointer;
}
.player-speed option { background: var(--char-2); color: var(--ash); }
.player { position: relative; }
.player.pause { filter: none; }
.player.play { filter: none; }
.player.progress { accent-color: var(--ember); }
.player.volume { accent-color: var(--ember); }
.player.speed { border-color: var(--ember); }
.player.input { outline-color: var(--ember); }
.player.click { opacity: 0.9; }
.player.timeupdate { color: var(--ember-2); }
.player.mute { opacity: 0.75; }
.player.pip { border-color: var(--ember); }
.player.fullscreen { border-radius: 0; }
.player.light { box-shadow: 0 0 30px var(--ember-glow); }
.player.theater { padding: 0; }
.player.change { transition: background 0.2s, border-color 0.2s; }
body.theater-mode .player-shell {
  border-color: var(--ember);
  box-shadow: 0 0 0 1px rgba(226, 84, 42, 0.4), 0 0 48px rgba(226, 84, 42, 0.22);
}
body.lights-off .page-main { filter: brightness(0.72); }
body.lights-off .player-shell { filter: brightness(1.28); }
.detail-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 4px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(226, 84, 42, 0.16);
}
.detail-item dt {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ember-2);
  letter-spacing: 0.04em;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ash);
  overflow-wrap: break-word;
}
.section-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffe6d4;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  text-shadow: 0 0 16px rgba(226, 84, 42, 0.35);
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 15px;
  background: linear-gradient(180deg, var(--ember-2), var(--ember-deep));
  box-shadow: 0 0 10px var(--ember-glow);
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.synopsis-block {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-body {
  display: grid;
  gap: 6px;
  columns: 2;
  column-gap: 20px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ash-dim);
  break-inside: avoid;
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-paragraph:first-of-type { color: var(--ash); }
.synopsis-paragraph::first-letter {
  font-family: var(--serif);
  font-size: 1.6em;
  color: var(--ember-2);
  line-height: 1;
}
.episode-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(125, 31, 16, 0.5), rgba(226, 84, 42, 0.08));
}
.status-label {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ember-2);
  letter-spacing: 0.08em;
}
.status-value {
  font-size: 12.5px;
  color: #fff;
  font-weight: 600;
}
.cast-block {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 12px;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.cast-member:hover {
  border-color: var(--line);
  background: rgba(226, 84, 42, 0.07);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 122, 60, 0.55) 0%, rgba(125, 31, 16, 0.85) 46%, #17100e 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 12px rgba(226, 84, 42, 0.28), inset 0 0 8px rgba(0,0,0,0.7);
}
.cast-name {
  font-size: 12.5px;
  color: var(--ash);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-section {
  background: linear-gradient(180deg, rgba(21, 16, 14, 0.7), rgba(11, 9, 8, 0.4));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 12px 14px 14px;
}
.timeline-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.timeline-axis::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--ember-2), var(--ember) 30%, var(--ember-deep) 80%, transparent);
  box-shadow: 0 0 12px var(--ember-glow);
}
.timeline-node {
  position: relative;
  width: 50%;
  padding: 6px 26px;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline-node-left { align-self: flex-start; text-align: right; align-items: flex-end; padding-right: 26px; padding-left: 0; }
.timeline-node-right { align-self: flex-end; text-align: left; align-items: flex-start; padding-left: 26px; padding-right: 0; }
.timeline-marker {
  position: absolute;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd0b0, var(--ember) 55%, var(--ember-deep));
  box-shadow: 0 0 10px var(--ember), 0 0 22px var(--ember-glow);
  border: 1px solid #2a120c;
}
.timeline-node-left .timeline-marker { right: -6.5px; }
.timeline-node-right .timeline-marker { left: -5.5px; }
.timeline-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ember-2);
  text-shadow: 0 0 12px var(--ember-glow);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ash-dim);
  max-width: 42ch;
}
.timeline-node:hover .timeline-label { color: var(--ash); }
.timeline-node:hover .timeline-marker { box-shadow: 0 0 16px var(--ember), 0 0 34px var(--ember-glow); }
.episodes-section { padding-top: 2px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 12px 10px;
  background: linear-gradient(160deg, rgba(29, 22, 20, 0.82) 0%, rgba(13, 10, 9, 0.86) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(226, 84, 42, 0.16), transparent 46%);
  pointer-events: none;
}
.episode-card:hover {
  border-color: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(226, 84, 42, 0.18);
}
.episode-watermark {
  position: absolute;
  right: 4px;
  bottom: -18px;
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: rgba(226, 84, 42, 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.episode-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffe0cc;
}
.episode-summary {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ash-dim);
  flex: 1 1 auto;
}
.episode-duration {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ember-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 7px;
  background: rgba(125, 31, 16, 0.28);
}
.comments-section { padding-top: 2px; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-list-left { margin-top: 0; }
.comment-list-right { margin-top: 20px; }
.comment-item {
  position: relative;
  padding: 9px 12px;
  background: linear-gradient(120deg, rgba(29, 22, 20, 0.86), rgba(13, 10, 9, 0.7));
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--ember-deep);
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.comment-item:hover {
  border-left-color: var(--ember);
  background: linear-gradient(120deg, rgba(45, 26, 20, 0.9), rgba(13, 10, 9, 0.7));
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ember-2);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ash);
}
.recommend-region { padding-top: 2px; }
.recommend-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-row::-webkit-scrollbar { height: 6px; }
.recommend-row::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.recommend-row::-webkit-scrollbar-thumb { background: var(--ember-deep); border-radius: 3px; }
a.recommend-card {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: linear-gradient(170deg, rgba(29, 22, 20, 0.9), rgba(11, 9, 8, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  text-decoration: none;
  color: var(--ash);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommend-card:hover {
  border-color: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.65), 0 0 18px rgba(226, 84, 42, 0.2);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #0a0807;
  border: 1px solid rgba(0,0,0,0.6);
}
a.recommend-card [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffe0cc;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.recommend-card [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 10, 9, 0.9), #070505);
  padding: 14px var(--pad) 22px;
}
.site-footer > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: #766c66;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ember-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffbf9b;
  border-bottom-color: var(--ember);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ash-dim);
  letter-spacing: 0.08em;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #9c8f87;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(216, 210, 204, 0.1);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ember-2);
  border-color: var(--line);
  background: rgba(226, 84, 42, 0.08);
}
@media (max-width: 900px) {.synopsis-body { columns: 1; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-list-right { margin-top: 0; }}
@media (max-width: 720px) {.overview-hero {
    grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
    gap: 12px;
  }
.hero-copy { min-height: 150px; padding: 10px; }
.movie-tagline { font-size: 12.5px; }
.player-volume { width: 64px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 100%; padding-left: 26px; padding-right: 0; text-align: left; align-items: flex-start; }
.timeline-node-left { align-self: flex-start; text-align: left; align-items: flex-start; padding-left: 26px; }
.timeline-node-right { align-self: flex-start; }
.timeline-node-left .timeline-marker { right: auto; left: -5.5px; }
.timeline-axis::before { left: 0; transform: none; }
.timeline-label { max-width: none; }
.comment-columns { grid-template-columns: 1fr; }
.episode-grid { grid-template-columns: 1fr; }}
@media (max-width: 480px) {.overview-hero { grid-template-columns: 1fr; }
.poster-column { max-width: 170px; margin: 0 auto; }
.hero-copy { min-height: 130px; }
.movie-title { font-size: 22px; }
.header-inner { padding: 7px 10px; }
a.runtime-category { font-size: 11.5px; padding: 2px 7px; }
a.recommend-card { width: 148px; }
.cast-list { grid-template-columns: 1fr; }
.player-btn { font-size: 11.5px; padding: 4px 7px; }}

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}
