:root {
  --sand: #8a6f47;
  --sand-dim: #6b5638;
  --rust: #8c3a24;
  --rust-hot: #b04a2c;
  --rust-deep: #5e2416;
  --snow: #ced6d8;
  --night: #1a1c1f;
  --night-2: #23262b;
  --night-3: #2e3238;
  --ink: #d9d2c4;
  --ink-dim: #a89e8c;
  --line: #3a352d;
  --paper: #d8cfba;
  --paper-ink: #2a241c;
  --font-title: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 22, 25, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--sand);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--rust);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--snow);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 94% 100%, 0 100%);
  background: linear-gradient(180deg, #262a2f, #1d2024);
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--rust);
  border-color: var(--rust-hot);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 32px;
}
.section-heading {
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--snow);
  padding-left: 10px;
  margin-bottom: 10px;
  border-left: 4px solid var(--rust);
  text-shadow: 0 1px 0 #000;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas:
    "figure title"
    "figure status"
    "player cast"
    "player synopsis"
    "details details";
  gap: 14px 18px;
  padding: 16px 0 6px;
}
.hero-shell.is-theater .hero-figure, .hero-shell.is-lights-off {
  filter: brightness(0.75);
}
.hero-shell.is-lights-off .hero-figure {
  filter: brightness(0.35) saturate(0.6);
}
.hero-figure {
  grid-area: figure;
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #14161a;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 0 100%);
}
.poster-frame {
  position: relative;
  width: 100%;
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: sepia(0.28) saturate(0.85) contrast(1.05) brightness(0.86);
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(140, 58, 36, 0.1) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}
.hero-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(220, 228, 230, 0.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 74% 9%, rgba(220, 228, 230, 0.6), transparent 60%),
    radial-gradient(1.6px 1.6px at 43% 42%, rgba(220, 228, 230, 0.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 88% 63%, rgba(220, 228, 230, 0.55), transparent 60%),
    radial-gradient(1.4px 1.4px at 27% 77%, rgba(220, 228, 230, 0.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 62% 88%, rgba(220, 228, 230, 0.5), transparent 60%);
  background-size: 100% 100%;
  opacity: 0.85;
}
.hero-title-block {
  grid-area: title;
  position: relative;
  align-self: start;
  padding: 12px 14px;
  background: linear-gradient(160deg, rgba(46, 50, 56, 0.92), rgba(26, 28, 31, 0.92));
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 3% 100%, 0 92%);
}
.movie-title {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--snow);
  text-shadow: 0 2px 0 var(--rust-deep), 0 0 18px rgba(176, 74, 44, 0.25);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--sand);
}
.movie-seo {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  text-align: justify;
}
.hero-player-slot {
  grid-area: player;
  align-self: start;
  min-width: 0;
  background: #101215;
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust);
  padding: 8px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: var(--ink);
  background: linear-gradient(180deg, #2c3037, #1e2126);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 92% 100%, 0 100%);
  transition: background 0.15s, color 0.15s;
}
.ctrl-btn:hover {
  color: var(--snow);
  background: linear-gradient(180deg, #3a3f47, #262a30);
  border-color: var(--sand-dim);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: #f2e6d8;
  background: linear-gradient(180deg, var(--rust-hot), var(--rust-deep));
  border-color: var(--rust-hot);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #33383f;
  border: none;
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: var(--rust-hot);
  border: 1px solid #e0d6c4;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--rust-hot);
  border: 1px solid #e0d6c4;
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 80px;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 56px;
}
.episode-status {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 8px 12px;
  background: rgba(35, 38, 43, 0.7);
  border: 1px solid var(--line);
  border-right: 3px solid var(--rust);
}
.status-line {
  font-size: 12.5px;
  color: var(--sand);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cast-strip {
  grid-area: cast;
  align-self: start;
  padding: 10px 12px;
  background: rgba(35, 38, 43, 0.55);
  border: 1px solid var(--line);
}
.cast-heading {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--snow);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: #191c20;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 88% 100%, 0 100%);
}
.cast-portrait {
  width: 46px;
  height: 60px;
  overflow: hidden;
  flex: 0 0 auto;
  border-right: 1px solid var(--line);
}
.cast-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: sepia(0.35) saturate(0.8) brightness(0.82) contrast(1.06);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  padding: 5px 4px;
  color: var(--ink);
  line-height: 1;
}
.synopsis-block {
  grid-area: synopsis;
  align-self: start;
  padding: 10px 12px;
  background: rgba(26, 28, 31, 0.75);
  border: 1px solid var(--line);
}
.synopsis-paragraphs {
  columns: 2;
  column-gap: 20px;
  column-rule: 1px solid var(--line);
}
.synopsis-p {
  font-size: 12.8px;
  line-height: 1.66;
  color: var(--ink-dim);
  text-align: justify;
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-p:first-of-type::first-letter {
  font-family: var(--font-title);
  font-size: 30px;
  float: left;
  line-height: 0.9;
  margin: 2px 6px 0 0;
  color: var(--rust-hot);
}
.details-block {
  grid-area: details;
  align-self: start;
  padding: 10px 12px;
  background: rgba(35, 38, 43, 0.55);
  border: 1px solid var(--line);
  border-top: 2px solid var(--sand-dim);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted #38342c;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-family: var(--font-title);
  font-size: 12.5px;
  color: var(--sand);
  letter-spacing: 0.1em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
}
.timeline-section {
  margin-top: 22px;
  padding: 12px 0 4px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0;
  padding: 14px 4px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(140, 58, 36, 0.16) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, rgba(26, 28, 31, 0), rgba(140, 58, 36, 0.06));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 6px 6px;
  cursor: pointer;
  text-align: center;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -6px;
  right: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--sand-dim) 0 5px, transparent 5px 9px);
  transform: rotate(-1.5deg);
}
.timeline-node:first-child::before {
  display: none;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  right: -6px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--sand-dim) 0 5px, transparent 5px 9px);
  transform: rotate(1.8deg);
}
.timeline-node:last-child::after {
  display: none;
}
.node-mark {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: var(--sand-dim);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.node-timecode {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--sand);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.node-label {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timeline-node:hover .node-mark {
  background: var(--rust-hot);
}
.timeline-node.node-current .node-mark {
  background: var(--rust-hot);
  box-shadow: 0 0 10px rgba(176, 74, 44, 0.7);
}
.timeline-node.node-current .node-timecode {
  color: var(--rust-hot);
}
.timeline-node.node-current .node-label {
  color: var(--snow);
}
.episodes-section {
  margin-top: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  cursor: pointer;
  background: linear-gradient(150deg, #24272c, #1b1e22);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sand-dim);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 95% 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--rust-hot);
  background: linear-gradient(150deg, #2b2f35, #212429);
}
.episode-card.is-active {
  border-left-color: var(--rust-hot);
  background: linear-gradient(150deg, #3a2a22, #241d19);
}
.episode-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.episode-number {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--sand);
  letter-spacing: 0.1em;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.episode-title {
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--snow);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.58;
  color: var(--ink-dim);
  text-align: justify;
}
.comments-section {
  margin-top: 22px;
}
.comment-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  padding: 14px 6px 18px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 12px 12px 10px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 3px 5px 0 rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, 100% 2%, 99% 100%, 1% 98%);
}
.comment-note:nth-child(1) {
  transform: rotate(-2.2deg);
  background: #d8cfba;
}
.comment-note:nth-child(2) {
  transform: rotate(1.6deg);
  background: #cfc3a8;
}
.comment-note:nth-child(3) {
  transform: rotate(-1.1deg);
  background: #dbd3c1;
}
.comment-note:nth-child(4) {
  transform: rotate(2.4deg);
  background: #c9bda3;
}
.comment-text {
  font-size: 12.8px;
  line-height: 1.6;
  text-align: justify;
}
.comment-nick {
  display: block;
  margin-top: 8px;
  padding-top: 5px;
  border-top: 1px dashed rgba(42, 36, 28, 0.35);
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #6a4a2c;
  text-align: right;
}
.rec-region {
  margin-top: 20px;
}
.rec-title {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--sand);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--line);
  border-left: 4px solid var(--rust);
  padding-left: 10px;
}
.rec-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
a.rec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(150deg, #23262b, #1a1d21);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 96% 100%, 0 100%);
  transition: border-color 0.15s, transform 0.15s;
}
a.rec-item:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: 50% 20%;
  filter: sepia(0.3) saturate(0.82) brightness(0.84) contrast(1.05);
  flex: 0 0 auto;
}
a.rec-item .rec-thumb {
  width: 56px;
  min-width: 56px;
  max-width: 56px;
  border: 1px solid #14161a;
}
.rec-name {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--snow);
  margin-bottom: 3px;
}
.rec-blurb {
  display: block;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
a.rec-item > .rec-name, a.rec-item > .rec-blurb {
  min-width: 0;
}
.site-footer {
  margin-top: 28px;
  border-top: 2px solid var(--rust-deep);
  background: #14161a;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-hot);
  border-bottom-color: var(--rust-hot);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-label {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sand-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid #2b2e33;
}
a.runtime-friend-link:hover {
  color: var(--snow);
  border-color: var(--rust);
  background: rgba(140, 58, 36, 0.22);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6f6759;
  text-align: justify;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas:
      "figure title"
      "figure status"
      "player player"
      "cast cast"
      "synopsis synopsis"
      "details details";
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.header-inner {
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 24px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "title"
      "status"
      "player"
      "cast"
      "synopsis"
      "details";
    gap: 12px;
  }
.movie-title {
    font-size: 23px;
  }
.synopsis-paragraphs {
    columns: 1;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 4px;
    border-top: none;
    background: none;
  }
.timeline-node::before, .timeline-node::after {
    display: none;
  }
.timeline-node {
    align-items: flex-start;
    text-align: left;
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
.timeline-node .node-mark {
    position: absolute;
    left: -7px;
    top: 4px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.comment-note:nth-child(n) {
    transform: rotate(0deg);
  }
.rec-column {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }}
@media (max-width: 480px) {.movie-title {
    font-size: 20px;
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 4px 7px;
    font-size: 11.5px;
  }
.comment-board {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    gap: 6px;
  }
.cast-portrait {
    width: 40px;
    height: 54px;
  }
.rec-column {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
