:root {
  --ink: #221d18;
  --ink-soft: #4a3f34;
  --ink-faint: #6f6152;
  --earth: #b08d57;
  --earth-deep: #8a6a3b;
  --ochre: #c98a3c;
  --ember: #d97a35;
  --dust: #cfc0a6;
  --clay: #d9c9ad;
  --paper: #efE6d5;
  --paper-dim: #e4d8c2;
  --dusk: #4a5a66;
  --dusk-deep: #333f49;
  --night: #15120e;
  --line: rgba(90, 74, 54, 0.28);
  --line-soft: rgba(90, 74, 54, 0.16);
  --glow: rgba(217, 122, 53, 0.22);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 120% 60% at 15% -5%, rgba(217, 122, 53, 0.14), transparent 60%),
    radial-gradient(ellipse 90% 50% at 100% 10%, rgba(74, 90, 102, 0.16), transparent 65%),
    linear-gradient(180deg, #e9dfcb 0%, #eee5d3 40%, #e6dac2 100%);
  color: var(--ink);
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(233, 223, 203, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 2px solid var(--ember);
  padding-bottom: 2px;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--ember);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
}
a.runtime-category {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: var(--earth-deep);
  border-bottom-color: var(--earth);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading, .block-heading {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  padding-left: 12px;
  position: relative;
}
.section-heading::before, .block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: linear-gradient(180deg, var(--ember), var(--earth-deep));
}
.section-heading {
  margin: 26px 0 12px;
}
.block-heading {
  font-size: 14px;
  margin-bottom: 8px;
}
.hero-shell {
  position: relative;
  margin-top: 22px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(150deg, rgba(176, 141, 87, 0.14) 0%, rgba(228, 216, 194, 0.6) 45%, rgba(74, 90, 102, 0.12) 100%);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 62%;
  height: 130%;
  background: linear-gradient(118deg, transparent 32%, var(--glow) 46%, rgba(217, 122, 53, 0.06) 60%, transparent 74%);
  transform: skewX(-10deg);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(200px, 258px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.poster-column {
  align-self: start;
  min-width: 0;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--earth-deep);
  padding: 6px;
  background: rgba(239, 230, 213, 0.7);
  box-shadow: 0 10px 24px -18px rgba(21, 18, 14, 0.7);
  max-width: 258px;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(217, 122, 53, 0.3);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-size: 34px;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 250, 240, 0.6);
}
.movie-tagline {
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--earth-deep);
  padding-left: 14px;
  border-left: 2px solid var(--ember);
}
.movie-seo {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  text-align: justify;
  max-width: 62ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(239, 230, 213, 0.6);
}
.status-current {
  color: #fdf6e9;
  background: linear-gradient(120deg, var(--earth-deep), var(--ochre));
  border-color: var(--earth-deep);
}
.status-total {
  color: var(--dusk-deep);
  border-color: rgba(74, 90, 102, 0.4);
}
.cast-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-item {
  min-width: 0;
}
.cast-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cast-avatar img {
  width: 100%;
  max-width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--earth);
  padding: 2px;
  background: var(--paper-dim);
  filter: saturate(0.8) sepia(0.12);
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
  white-space: nowrap;
}
.synopsis-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 2em;
  position: relative;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px dotted var(--line);
}
.detail-key {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  flex: 0 0 auto;
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-shell {
  width: 100%;
  border: 1px solid var(--earth-deep);
  border-radius: 3px;
  background: var(--night);
  overflow: hidden;
  box-shadow: 0 12px 28px -22px rgba(21, 18, 14, 0.9);
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0a07;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #241e17, #17130e);
  border-top: 1px solid rgba(217, 122, 53, 0.28);
}
.ctrl-btn {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: var(--clay);
  background: rgba(176, 141, 87, 0.12);
  border: 1px solid rgba(176, 141, 87, 0.4);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ctrl-btn:hover {
  background: rgba(217, 122, 53, 0.26);
  color: #fdf2e0;
  border-color: var(--ochre);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(207, 192, 166, 0.28);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember);
  border: 1px solid #fdf2e0;
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #fdf2e0;
  border-radius: 50%;
  background: var(--ember);
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(207, 192, 166, 0.28);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--clay);
}
.ctrl-speed {
  font-size: 12px;
  padding: 4px 6px;
  color: var(--clay);
  background: rgba(176, 141, 87, 0.12);
  border: 1px solid rgba(176, 141, 87, 0.4);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-speed option {
  color: var(--ink);
  background: var(--paper);
}
.player-shell.is-playing .ctrl-btn[data-player-action="play"], .player-shell.is-muted .ctrl-btn[data-player-action="mute"], .player-shell.is-fast .ctrl-speed {
  border-color: var(--ochre);
  color: #fdf2e0;
}
.player-shell.is-theater {
  border-color: var(--ember);
  box-shadow: 0 0 0 1px rgba(217, 122, 53, 0.5), 0 18px 40px -24px rgba(217, 122, 53, 0.6);
}
.ctrl-btn.is-active {
  background: rgba(217, 122, 53, 0.32);
  color: #fdf6e9;
  border-color: var(--ember);
}
body.lights-off {
  background-image: linear-gradient(180deg, #100d0a 0%, #14110d 100%);
  color: #e6dac4;
}
body.lights-off .site-header {
  background: rgba(16, 13, 10, 0.88);
}
body.lights-off .movie-title, body.lights-off .detail-value {
  color: #f1e6d1;
}
body.lights-off .hero-shell {
  background: linear-gradient(150deg, rgba(176, 141, 87, 0.1), rgba(20, 17, 13, 0.7));
}
.timeline-section {
  margin-top: 24px;
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 4px 16px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(176, 141, 87, 0.08), transparent 70%);
  scrollbar-width: thin;
}
.timeline-scroller::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: rgba(138, 106, 59, 0.5);
  border-radius: 999px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 0 8px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  padding: 0 14px 0 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 4px;
  align-items: start;
}
.timeline-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ochre);
  box-shadow: 0 0 0 4px rgba(217, 122, 53, 0.12);
  position: relative;
  z-index: 2;
}
.timeline-line {
  position: absolute;
  left: 9px;
  top: 5px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--earth-deep), rgba(138, 106, 59, 0.25));
}
.timeline-node:last-child .timeline-line {
  background: linear-gradient(90deg, var(--earth-deep), transparent);
}
.timeline-timecode {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--earth-deep);
  margin-top: 8px;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-right: 12px;
}
.episodes-section {
  margin-top: 24px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  border-top: 1px solid var(--line);
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  column-gap: 10px;
  row-gap: 3px;
  padding: 10px 2px 11px;
  border-bottom: 1px solid var(--line-soft);
}
.episode-number {
  grid-area: num;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fdf6e9;
  background: linear-gradient(120deg, var(--earth-deep), var(--ochre));
  padding: 1px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.episode-duration {
  grid-area: dur;
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.episode-status {
  display: none;
}
.comments-section {
  margin-top: 24px;
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 34px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.comment-card {
  position: relative;
  padding: 9px 13px;
  background: rgba(228, 216, 194, 0.55);
  border-left: 2px solid var(--earth);
  border-radius: 0 3px 3px 0;
  max-width: 92%;
}
.comment-card::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 0;
  height: 0;
  border: 7px solid transparent;
}
.comment-left {
  justify-self: start;
}
.comment-left::after {
  left: -14px;
  border-right-color: rgba(176, 141, 87, 0.5);
}
.comment-right {
  justify-self: end;
  background: rgba(74, 90, 102, 0.14);
  border-left: none;
  border-right: 2px solid var(--dusk);
  border-radius: 3px 0 0 3px;
}
.comment-right::after {
  right: -14px;
  border-left-color: rgba(74, 90, 102, 0.42);
}
.comment-nickname {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--earth-deep);
  margin-bottom: 3px;
}
.comment-right .comment-nickname {
  color: var(--dusk-deep);
  text-align: right;
}
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.comment-right .comment-text {
  text-align: right;
}
.recommend-region {
  margin-top: 26px;
}
.recommend-title {
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  padding-left: 12px;
  position: relative;
  margin-bottom: 10px;
}
.recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: linear-gradient(180deg, var(--dusk), var(--earth-deep));
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.recommend-region + .recommend-region .recommend-column {
  border-top-color: var(--line-soft);
}
a.recommend-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-areas:
    "img name"
    "img blurb";
  align-items: start;
  column-gap: 10px;
  row-gap: 3px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s ease;
}
a.recommend-item:hover {
  background: rgba(217, 122, 53, 0.08);
}
[data-runtime="recommendation"] img {
  grid-area: img;
  width: 76px;
  max-width: 100%;
  height: 52px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.85) sepia(0.08);
}
.recommend-name {
  grid-area: name;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.4;
}
.recommend-blurb {
  grid-area: blurb;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region .recommend-column {
  align-items: start;
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(74, 90, 102, 0.1), rgba(21, 18, 14, 0.05));
  padding: 18px 18px 26px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--earth-deep);
  border-bottom-color: var(--earth);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px dotted var(--line);
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--dusk);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--earth-deep);
  border-bottom-color: var(--earth);
}
@media (max-width: 1000px) {.hero-inner {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 20px;
  }
.poster-frame {
    max-width: 220px;
  }
.synopsis-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }}
@media (max-width: 760px) {body {
    font-size: 14.5px;
  }
.header-inner {
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 9px 14px;
  }
.categories-bar {
    justify-content: flex-start;
  }
.page-main {
    padding: 0 14px 30px;
  }
.hero-shell {
    padding: 16px 14px;
  }
.hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-column {
    justify-self: start;
  }
.poster-frame {
    max-width: 210px;
  }
.movie-title {
    font-size: 26px;
  }
.movie-tagline {
    letter-spacing: 0.14em;
  }
.movie-seo {
    max-width: none;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.synopsis-para {
    border-left: none;
    padding-left: 0;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-card {
    max-width: 100%;
  }
.comment-left, .comment-right {
    justify-self: stretch;
  }
.comment-right .comment-text, .comment-right .comment-nickname {
    text-align: left;
  }
.comment-left::after, .comment-right::after {
    display: none;
  }
.comment-right {
    border-right: none;
    border-left: 2px solid var(--dusk);
    border-radius: 0 3px 3px 0;
  }
.recommend-column {
    grid-template-columns: minmax(0, 1fr);
  }
a.recommend-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    width: 88px;
    height: 58px;
  }}
@media (max-width: 420px) {.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "sum sum"
      "dur dur";
  }
.episode-duration {
    justify-self: start;
    margin-top: 2px;
  }
.player-controls {
    gap: 5px 8px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.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}
