*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
:root {
  --warm-gray: #a89c8f;
  --warm-gray-deep: #6e655c;
  --dim: #4a443d;
  --dusk: #241f1b;
  --dusk-soft: #2f2823;
  --wood: #8a6a45;
  --wood-deep: #5b432b;
  --lamp: #f2c069;
  --lamp-soft: #f7d795;
  --paper: #efe9e0;
  --paper-dim: #d8cfc2;
  --line: rgba(168, 156, 143, 0.28);
  --line-soft: rgba(168, 156, 143, 0.16);
  --radius: 3px;
  --font-song: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-hei: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-hei);
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-dim);
  background-color: var(--dusk);
  background-image:
    radial-gradient(120% 90% at 15% 0%, rgba(242, 192, 105, 0.07), transparent 55%),
    radial-gradient(90% 70% at 90% 12%, rgba(242, 192, 105, 0.05), transparent 60%),
    linear-gradient(180deg, #241f1b 0%, #201b17 60%, #1c1814 100%);
  min-height: 100vh;
}
body.is-lights-off {
  background-image: linear-gradient(180deg, #100d0b 0%, #0c0a08 100%);
}
body.is-lights-off .hero-media::after {
  opacity: 0.82;
}
.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(28, 23, 19, 0.92);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-brand {
  font-family: var(--font-song);
  font-size: 19px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--lamp);
}
a[data-contract="site-name"] {
  color: var(--lamp);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp-soft);
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--lamp);
  border-color: rgba(242, 192, 105, 0.5);
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  padding: 18px 20px 30px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  grid-template-areas:
    "media copy"
    "media details"
    "media status"
    "synopsis synopsis";
  align-items: start;
  gap: 14px 22px;
  padding-bottom: 8px;
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dusk-soft);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 25, 21, 0.12) 0%, rgba(22, 18, 15, 0.55) 72%, rgba(18, 15, 12, 0.86) 100%),
    radial-gradient(60% 40% at 78% 24%, rgba(242, 192, 105, 0.16), transparent 70%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.92) contrast(1.02);
}
.hero-copy {
  grid-area: copy;
  align-self: start;
  padding-top: 4px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
}
.movie-title {
  font-family: var(--font-song);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--paper);
  font-weight: 700;
}
.movie-tagline {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--lamp-soft);
  letter-spacing: 0.03em;
}
.detail-card {
  grid-area: details;
  align-self: start;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(48, 40, 33, 0.5);
  padding: 10px 12px 12px;
}
.detail-card-heading {
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--warm-gray);
  padding-bottom: 7px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list {
  display: block;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(168, 156, 143, 0.14);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12.5px;
  color: var(--paper-dim);
}
.episode-status {
  grid-area: status;
  align-self: start;
  border-left: 2px solid var(--lamp);
  background: rgba(242, 192, 105, 0.07);
  padding: 8px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.status-line {
  font-size: 13px;
  color: var(--lamp-soft);
  letter-spacing: 0.02em;
}
.synopsis-block {
  grid-area: synopsis;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-heading {
  font-family: var(--font-song);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  margin-bottom: 10px;
}
.synopsis-lead {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--paper);
  padding-left: 12px;
  border-left: 2px solid var(--wood);
  margin-bottom: 10px;
}
.synopsis-body {
  columns: 2;
  column-gap: 28px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.9;
  color: var(--warm-gray);
  margin-bottom: 9px;
  break-inside: avoid;
}
.watch-panel {
  display: block;
  width: 100%;
  margin: 20px 0 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(20, 16, 13, 0.6);
  padding: 8px;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0d0b09;
  border-radius: var(--radius);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.player-btn {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--warm-gray);
  background: rgba(48, 40, 33, 0.4);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover {
  color: var(--lamp-soft);
  border-color: rgba(242, 192, 105, 0.45);
}
.player-btn.is-active, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.volume, .player-btn.progress, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.click {
  color: var(--lamp);
  border-color: rgba(242, 192, 105, 0.6);
  background: rgba(242, 192, 105, 0.1);
}
.watch-panel.is-theater {
  background: #100d0b;
}
.player-video.play, .player-video.pause {
  cursor: pointer;
}
.player {
  position: relative;
}
.timeline-section {
  margin: 22px 0 6px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.timeline-heading, .cast-heading, .episodes-heading, .comments-heading {
  font-family: var(--font-song);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  margin-bottom: 12px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  position: relative;
  align-items: start;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 156, 143, 0.35), rgba(242, 192, 105, 0.4) 68%, rgba(168, 156, 143, 0.2));
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 6px;
}
.timeline-node::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm-gray-deep);
  border: 1px solid var(--dusk);
  box-shadow: 0 0 0 1px rgba(168, 156, 143, 0.5);
  margin-top: 5px;
}
.node-timecode {
  font-family: var(--font-song);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-dim);
  padding-right: 4px;
}
.timeline-node.is-current::before {
  background: var(--lamp);
  box-shadow: 0 0 0 1px var(--lamp), 0 0 12px 3px rgba(242, 192, 105, 0.5);
}
.timeline-node.is-current .node-timecode {
  color: var(--lamp);
}
.timeline-node.is-current .node-label {
  color: var(--lamp-soft);
}
.cast-block {
  margin: 22px 0 6px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(48, 40, 33, 0.34);
  align-self: start;
}
.cast-photo {
  flex: 0 0 44px;
  width: 44px;
  height: 58px;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(138, 106, 69, 0.55), rgba(36, 31, 27, 0.9)),
    radial-gradient(70% 50% at 50% 30%, rgba(242, 192, 105, 0.22), transparent 70%);
  border: 1px solid var(--line-soft);
}
.cast-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.cast-name {
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--warm-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episodes-section {
  margin: 22px 0 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(48, 40, 33, 0.3);
  align-self: start;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: rgba(242, 192, 105, 0.35);
  background: rgba(58, 48, 39, 0.42);
}
.episode-title {
  font-family: var(--font-song);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lamp-soft);
  line-height: 1.4;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--warm-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 3.3em;
  transition: max-height 0.25s ease;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: unset;
  max-height: 12em;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wood);
  padding-top: 3px;
  border-top: 1px dotted rgba(168, 156, 143, 0.2);
}
.comments-section {
  margin: 22px 0 6px;
}
.comments-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.comments-slider::-webkit-scrollbar {
  height: 6px;
}
.comments-slider::-webkit-scrollbar-track {
  background: rgba(168, 156, 143, 0.1);
  border-radius: 3px;
}
.comments-slider::-webkit-scrollbar-thumb {
  background: rgba(242, 192, 105, 0.35);
  border-radius: 3px;
}
.comment-card {
  flex: 0 0 258px;
  width: 258px;
  scroll-snap-align: start;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(52, 43, 35, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}
.comment-card:nth-child(odd) {
  transform: rotate(-0.7deg);
}
.comment-card:nth-child(even) {
  transform: rotate(0.6deg);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--paper-dim);
}
.comment-nickname {
  font-family: var(--font-song);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lamp);
  align-self: flex-end;
}
.recommend-region {
  margin: 22px 0 6px;
}
.recommend-region + .recommend-region {
  margin-top: 14px;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-gray);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  align-self: start;
}
.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(48, 40, 33, 0.3);
  transition: border-color 0.18s ease, background 0.18s ease;
}
a.recommend-link {
  color: var(--paper-dim);
  text-decoration: none;
}
a.recommend-link:hover {
  color: var(--lamp-soft);
  border-color: rgba(242, 192, 105, 0.4);
  background: rgba(58, 48, 39, 0.45);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.8) brightness(0.9);
}
.recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--dusk-soft);
}
.recommend-name {
  font-family: var(--font-song);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--warm-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--line-soft);
  background: rgba(24, 20, 16, 0.75);
  font-size: 12px;
  color: var(--warm-gray);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--lamp-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 192, 105, 0.35);
  padding-bottom: 1px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--lamp-soft);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--warm-gray-deep);
  max-width: 62ch;
  margin-bottom: 14px;
}
.friend-links {
  padding-top: 12px;
  border-top: 1px dotted rgba(168, 156, 143, 0.2);
}
.friend-links-heading {
  font-family: var(--font-song);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-gray);
  margin-bottom: 7px;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.friend-links-item {
  line-height: 1.7;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--warm-gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  border-bottom-color: rgba(242, 192, 105, 0.45);
  text-decoration: none;
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 12px;
  }
.timeline-track::before {
    display: none;
  }
.synopsis-body {
    columns: 2;
  }}
@media (max-width: 760px) {.page-main {
    padding: 14px 14px 24px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "copy"
      "details"
      "status"
      "synopsis";
    gap: 12px;
  }
.hero-media {
    max-width: 320px;
  }
.movie-title {
    font-size: 25px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-card {
    flex: 0 0 230px;
    width: 230px;
  }}
@media (max-width: 520px) {.site-header {
    padding: 9px 13px;
    gap: 6px 12px;
  }
.site-brand {
    font-size: 17px;
  }
.movie-title {
    font-size: 22px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.cast-photo {
    flex: 0 0 38px;
    width: 38px;
    height: 50px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.comment-card {
    flex: 0 0 210px;
    width: 210px;
  }
.player-controls {
    gap: 4px;
  }
.player-btn {
    font-size: 11px;
    padding: 3px 8px;
  }}
@media (max-width: 380px) {.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
