:root {
  --ink: #0d1210;
  --ink-2: #131a16;
  --ink-3: #1a231d;
  --moss: #1d2e23;
  --moss-2: #2a4034;
  --wet-brown: #3d2a20;
  --clay: #5c3227;
  --clay-bright: #7a3a2c;
  --gold: #b08d3f;
  --gold-dim: #8a6d2f;
  --bone: #d8d2c2;
  --bone-dim: #9b9585;
  --line: rgba(176, 141, 63, 0.28);
  --line-soft: rgba(216, 210, 194, 0.12);
  --font-song: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-hei: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ink);
  background-image: radial-gradient(ellipse 120% 70% at 82% -8%, rgba(61, 42, 32, 0.55), transparent 62%),
    radial-gradient(ellipse 90% 60% at 6% 4%, rgba(29, 46, 35, 0.6), transparent 60%),
    linear-gradient(180deg, #0b100d 0%, #10160f 45%, #0d1210 100%);
  background-attachment: fixed;
  color: var(--bone);
  font-family: var(--font-song);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--gold);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 400;
  line-height: 1.35;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 16, 13, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--font-song);
  font-size: 18px;
  letter-spacing: 0.24em;
  color: var(--bone);
  text-decoration: none;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--gold);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  font-family: var(--font-hei);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 18px 40px;
}
.hero-feather {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas:
    "poster title title"
    "poster player player"
    "poster status status"
    "cast cast cast"
    "synopsis synopsis details";
  gap: 14px 22px;
  align-items: start;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(29, 46, 35, 0.86), rgba(13, 18, 16, 0.94) 58%, rgba(61, 42, 32, 0.4));
  background-color: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.hero-feather::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -72deg,
    rgba(176, 141, 63, 0.07) 0 1px,
    transparent 1px 9px
  );
  mix-blend-mode: screen;
}
.poster-frame {
  grid-area: poster;
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  padding: 6px;
  background: rgba(11, 16, 13, 0.7);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.hero-title-block {
  grid-area: title;
  border-right: 1px solid var(--line);
  padding-right: 16px;
  align-self: start;
}
.movie-title {
  font-family: var(--font-song);
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: 0.3em;
  color: var(--bone);
  text-shadow: 0 0 22px rgba(176, 141, 63, 0.22);
}
.movie-tagline {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.movie-seo {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--bone-dim);
  max-width: 62ch;
}
.player-shell {
  grid-area: player;
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #070a08;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.player-shell video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(29, 46, 35, 0.9), rgba(13, 18, 16, 0.9));
}
.ctrl-btn {
  font-family: var(--font-hei);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  background: rgba(13, 18, 16, 0.7);
  border: 1px solid var(--line-soft);
  padding: 3px 9px;
  cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}
.ctrl-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 3px;
  background: var(--line-soft);
  border: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--gold);
  border: none;
  clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--gold);
  border: none;
  border-radius: 0;
}
.ctrl-select {
  font-family: var(--font-hei);
  font-size: 12px;
  color: var(--bone-dim);
  background: rgba(13, 18, 16, 0.85);
  border: 1px solid var(--line-soft);
  padding: 3px 6px;
  cursor: pointer;
}
.ctrl-select:hover {
  color: var(--gold);
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 1px var(--gold-dim), 0 18px 60px rgba(0, 0, 0, 0.8);
}
body.lights-off {
  background-color: #040705;
}
body.lights-off .hero-feather, body.lights-off .site-header {
  filter: brightness(0.62);
}
body.lights-off .player-shell, body.lights-off .player-shell video {
  filter: none;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: start;
}
.status-chip {
  font-family: var(--font-hei);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  border: 1px solid var(--line-soft);
  padding: 2px 10px;
  white-space: nowrap;
}
.status-chip-current {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}
.cast-panel {
  grid-area: cast;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: var(--font-song);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 2px solid var(--clay-bright);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  padding: 8px 8px 10px;
  border: 1px solid var(--line-soft);
  background: rgba(11, 16, 13, 0.5);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.cast-avatar {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--wet-brown);
}
.cast-avatar img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.85) sepia(0.28) brightness(0.82) contrast(1.08);
  transition: filter 0.3s ease;
}
.cast-item:hover .cast-avatar img {
  filter: grayscale(0.15) sepia(0.1) brightness(0.98);
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--bone);
  line-height: 1.35;
}
.cast-role {
  font-family: var(--font-hei);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--clay-bright);
  line-height: 1.35;
}
.synopsis-panel {
  grid-area: synopsis;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.85;
  color: var(--bone-dim);
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-panel {
  grid-area: details;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-soft);
  padding: 12px 0 0 16px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-family: var(--font-hei);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--bone);
  margin-left: auto;
  text-align: right;
  min-width: 0;
}
.timeline-panel {
  margin-top: 18px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(26, 35, 29, 0.85), rgba(13, 18, 16, 0.9));
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
  padding-bottom: 6px;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
.timeline-node {
  position: relative;
  flex: 1 0 172px;
  padding: 22px 14px 8px 14px;
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}
.timeline-node:first-child {
  border-left: 1px solid var(--line);
}
.timeline-marker {
  position: absolute;
  top: 4px;
  left: -7px;
  font-size: 11px;
  line-height: 1;
  color: var(--gold-dim);
  background: var(--ink);
  padding: 2px 0;
}
.timeline-node:first-child .timeline-marker {
  left: -5px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.timeline-timecode {
  font-family: var(--font-hei);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--bone);
}
.timeline-node-current {
  background: linear-gradient(180deg, rgba(92, 50, 39, 0.4), transparent);
}
.timeline-node-current .timeline-marker {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(176, 141, 63, 0.8);
}
.timeline-node-current .timeline-timecode {
  color: var(--gold);
}
.timeline-node-current .timeline-label {
  color: #f0e6cf;
}
.timeline-node-current::before {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.episodes-panel {
  margin-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 3px 10px;
  align-items: baseline;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(26, 35, 29, 0.7), rgba(13, 18, 16, 0.6));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.22s, background-color 0.22s;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--moss-2);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-hei);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--bone);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--font-hei);
  font-size: 11px;
  color: var(--bone-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(216, 210, 194, 0.55);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.28s ease, margin-top 0.28s ease;
}
.episode-card:hover {
  border-color: var(--line);
  background: linear-gradient(120deg, rgba(42, 64, 52, 0.72), rgba(19, 26, 22, 0.8));
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 5px;
}
.episode-card-current {
  border-color: var(--gold-dim);
  background: linear-gradient(120deg, rgba(92, 50, 39, 0.5), rgba(19, 26, 22, 0.85));
}
.episode-card-current::after {
  background: var(--gold);
}
.episode-card-current .episode-number {
  color: var(--gold);
}
.episode-card-current .episode-title {
  color: #f2e8d2;
}
.comments-panel {
  margin-top: 18px;
}
.comments-waterfall {
  columns: 3;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 10px 12px 8px 16px;
  border: 1px solid var(--line-soft);
  background: rgba(19, 26, 22, 0.72);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.comment-card::before {
  content: "“";
  display: block;
  font-family: var(--font-song);
  font-size: 26px;
  line-height: 0.6;
  color: var(--clay-bright);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.78;
  color: rgba(216, 210, 194, 0.86);
}
.comment-meta {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dotted var(--line-soft);
  display: flex;
  justify-content: flex-end;
}
.comment-nickname {
  font-family: var(--font-hei);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
}
.comment-nickname::before {
  content: "— ";
  color: var(--line);
}
.recommend-region {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.recommend-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.recommend-scroller::-webkit-scrollbar {
  height: 5px;
}
.recommend-scroller::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
a.recommend-card {
  flex: 0 0 clamp(150px, 22%, 210px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 9px;
  color: var(--bone);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  background: rgba(19, 26, 22, 0.7);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.22s, background-color 0.22s;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.86) contrast(1.06);
  transition: filter 0.28s ease;
}
a.recommend-card:hover {
  border-color: var(--gold-dim);
  background: rgba(29, 46, 35, 0.85);
}
a.recommend-card:hover img {
  filter: saturate(1) brightness(1) contrast(1.05);
}
.recommend-name {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--bone);
  line-height: 1.4;
}
.recommend-blurb {
  font-family: var(--font-hei);
  font-size: 11px;
  line-height: 1.6;
  color: var(--bone-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 18, 16, 0.9), #080b09);
  padding: 16px 18px 26px;
}
.footer-disclaimer {
  max-width: 1360px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(155, 149, 133, 0.7);
  border-left: 2px solid var(--clay);
  padding-left: 10px;
}
.friend-links {
  max-width: 1360px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-hei);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--font-hei);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-nav {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-hei);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line-soft);
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
@media (max-width: 1080px) {.hero-feather {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
    grid-template-areas:
      "poster title"
      "poster player"
      "poster status"
      "cast cast"
      "synopsis synopsis"
      "details details";
  }
.details-panel {
    border-left: none;
    padding-left: 0;
  }
.cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comments-waterfall {
    columns: 2;
  }}
@media (max-width: 820px) {.hero-feather {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "poster"
      "player"
      "status"
      "cast"
      "synopsis"
      "details";
    padding: 16px 14px 18px;
    gap: 12px;
  }
.poster-frame {
    max-width: 300px;
  }
.movie-title {
    letter-spacing: 0.2em;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-waterfall {
    columns: 1;
  }
.timeline-node {
    flex: 0 0 168px;
  }}
@media (max-width: 560px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 12px 12px 30px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    letter-spacing: 0.16em;
  }
.category-strip {
    justify-content: flex-start;
    flex: 1 1 100%;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-value {
    text-align: right;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }
a.recommend-card {
    flex: 0 0 148px;
  }
.movie-title {
    font-size: 24px;
  }
.timeline-node {
    flex: 0 0 156px;
  }}

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}
