:root {
  --paper: #d9d2c4;
  --paper-dark: #b8ae9c;
  --ink: #2c251d;
  --ink-soft: #4a3f33;
  --ink-faint: #6b5f4f;
  --brown: #3d3327;
  --brown-deep: #241d15;
  --green: #6f7a58;
  --green-dim: #586147;
  --rust: #8a5a3b;
  --line: rgba(44, 37, 29, 0.28);
  --line-soft: rgba(44, 37, 29, 0.14);
  --card-bg: rgba(60, 51, 39, 0.06);
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Heiti SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #1a1610;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(120, 108, 88, 0.22), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(90, 100, 70, 0.14), transparent 55%),
    linear-gradient(160deg, #211b13 0%, #171310 55%, #1d1811 100%);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(26, 22, 16, 0.97), rgba(26, 22, 16, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(3px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
a[data-contract="site-name"] {
  color: #e8dfcc;
  text-decoration: none;
  font-size: 21px;
  letter-spacing: 0.16em;
  text-shadow: 0 0 12px rgba(200, 180, 140, 0.18);
}
a[data-contract="site-name"]:hover {
  color: #fff3dc;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-family: var(--sans);
  font-size: 13px;
}
a.runtime-category {
  color: var(--paper-dark);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(120, 108, 88, 0.1);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.runtime-category:hover {
  color: #f2e8d4;
  background: rgba(140, 120, 90, 0.28);
  border-color: rgba(200, 180, 140, 0.4);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.hero-stage {
  padding-top: 22px;
}
.hero-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #14110c;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.poster-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}
img.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: sepia(0.34) saturate(0.72) brightness(0.82) contrast(0.98);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  padding: 26px 30px;
  background:
    linear-gradient(90deg, rgba(20, 16, 10, 0.1) 0%, rgba(20, 16, 10, 0.55) 55%, rgba(20, 16, 10, 0.86) 100%),
    linear-gradient(0deg, rgba(20, 16, 10, 0.82) 0%, transparent 62%);
}
.movie-title {
  font-size: clamp(24px, 3.6vw, 42px);
  color: #f4ead4;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
  max-width: 15em;
}
.movie-tagline {
  margin-top: 6px;
  font-size: clamp(12px, 1.3vw, 15px);
  color: #cfc2a7;
  letter-spacing: 0.1em;
  max-width: 26em;
}
.movie-seo {
  margin-top: 10px;
  max-width: 30em;
  font-size: 12px;
  line-height: 1.62;
  color: rgba(216, 205, 182, 0.78);
  font-family: var(--sans);
  max-height: 5.1em;
  overflow: hidden;
}
.hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.btn {
  cursor: pointer;
  border-radius: 3px;
  padding: 7px 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(200, 180, 140, 0.4);
  background: rgba(60, 50, 36, 0.55);
  color: #e6dcc4;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover {
  background: rgba(140, 120, 90, 0.4);
  color: #fff4dd;
  border-color: rgba(220, 200, 155, 0.65);
}
.btn:active {
  transform: translateY(1px);
}
.btn-play {
  background: rgba(138, 90, 59, 0.85);
  border-color: rgba(180, 130, 90, 0.7);
  color: #fdf2dc;
}
.btn-play:hover {
  background: rgba(164, 108, 70, 0.95);
}
.btn-light {
  background: rgba(30, 26, 20, 0.6);
}
.player-shell {
  margin-top: 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(44, 36, 27, 0.6), rgba(28, 23, 17, 0.85));
  padding: 10px;
}
.player-frame {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.player-frame video {
  display: block;
  background: #000;
}
.player-frame.is-theater, .player-frame.lights-off {
  box-shadow: 0 0 0 1px rgba(200, 180, 140, 0.4), 0 0 34px -8px rgba(0, 0, 0, 0.95);
}
.player-frame.lights-off video {
  filter: brightness(0.7) contrast(1.05);
}
.player-controls {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl {
  cursor: pointer;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: rgba(90, 78, 60, 0.22);
  color: #d9cfb8;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ctrl:hover {
  background: rgba(140, 120, 90, 0.4);
  color: #fff3dc;
}
button.ctrl.is-active, .ctrl.play.is-active {
  background: rgba(138, 90, 59, 0.85);
  border-color: rgba(190, 140, 95, 0.7);
  color: #fdf2dc;
}
input.ctrl-progress {
  flex: 1 1 140px;
  min-width: 120px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: rgba(120, 108, 88, 0.35);
  appearance: none;
  -webkit-appearance: none;
}
input.ctrl-progress::-webkit-slider-thumb, input.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9a878;
  border: 1px solid #6b5433;
  cursor: pointer;
}
input.ctrl-progress::-moz-range-thumb, input.ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9a878;
  border: 1px solid #6b5433;
  cursor: pointer;
}
input.ctrl-volume {
  flex: 0 1 90px;
  min-width: 70px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: rgba(120, 108, 88, 0.35);
  appearance: none;
  -webkit-appearance: none;
}
.overview-body {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas:
    "status status"
    "detail synopsis"
    "cast synopsis";
  gap: 12px 22px;
  align-items: start;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
  padding: 16px 18px 20px;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.status-current {
  font-size: 17px;
  color: #ecd9ae;
  letter-spacing: 0.06em;
}
.status-total {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-faint);
  color: #a2977f;
  letter-spacing: 0.08em;
}
.detail-grid {
  grid-area: detail;
}
.detail-heading, .synopsis-heading, .cast-heading {
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #d9c9a6;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-heading::after, .synopsis-heading::after, .cast-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-soft);
  font-size: 13px;
}
.detail-row dt {
  color: #9c9078;
  font-family: var(--sans);
  letter-spacing: 0.06em;
}
.detail-row dd {
  color: #d9d0bd;
}
.synopsis-block {
  grid-area: synopsis;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: #c8bfa9;
  margin-bottom: 7px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.cast-block {
  grid-area: cast;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.cast-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 34% 30%, rgba(200, 180, 140, 0.55), transparent 55%),
    linear-gradient(160deg, #6b5f4a, #3a3126);
  border: 1px solid rgba(200, 180, 140, 0.35);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-size: 12px;
  color: #c4b9a1;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.section-heading {
  font-size: 18px;
  letter-spacing: 0.28em;
  color: #e2d3ad;
  margin: 30px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.timeline-section {
  margin-top: 4px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 16px 16px 16px 30px;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 14px;
  width: 8px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(180deg, rgba(200, 180, 140, 0.28) 0 6px, transparent 6px 12px),
    linear-gradient(180deg, #3d3327, #241d15);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "timecode label"
    "dot label";
  align-items: start;
  gap: 2px 8px;
  padding: 6px 8px 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  background: rgba(40, 33, 24, 0.42);
}
.node-dot {
  grid-area: dot;
  width: 8px;
  height: 8px;
  margin-top: 2px;
  margin-left: 4px;
  border-radius: 50%;
  background: #c9a878;
  box-shadow: 0 0 0 3px rgba(201, 168, 120, 0.16);
}
.node-timecode {
  grid-area: timecode;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #cbb589;
  padding: 1px 5px;
  border: 1px solid rgba(200, 180, 140, 0.28);
  border-radius: 2px;
  justify-self: start;
}
.node-label {
  grid-area: label;
  font-size: 12.5px;
  line-height: 1.5;
  color: #c6bda7;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  border-radius: 5px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(52, 43, 32, 0.55), rgba(30, 25, 18, 0.7));
  padding: 10px 12px 11px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: repeating-linear-gradient(180deg, rgba(200, 180, 140, 0.35) 0 5px, transparent 5px 10px);
}
.episode-card:hover {
  border-color: rgba(200, 180, 140, 0.45);
  background: linear-gradient(180deg, rgba(70, 58, 43, 0.6), rgba(36, 30, 22, 0.78));
}
.episode-title {
  font-size: 14px;
  color: #e3d6b6;
  letter-spacing: 0.05em;
  padding-left: 6px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #b6ac95;
  padding-left: 6px;
  margin-top: 5px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease, margin-top 0.28s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 8em;
  opacity: 1;
}
.episode-duration {
  display: inline-block;
  margin-top: 7px;
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9d9179;
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.episode-card-active {
  border-color: rgba(201, 168, 120, 0.6);
  background: linear-gradient(180deg, rgba(90, 72, 50, 0.62), rgba(46, 37, 26, 0.85));
  box-shadow: 0 0 20px -8px rgba(201, 168, 120, 0.5);
}
.episode-card-active .episode-title {
  color: #f6e9c4;
}
.episode-card-active::before {
  background: repeating-linear-gradient(180deg, rgba(230, 205, 150, 0.85) 0 5px, transparent 5px 10px);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 180, 140, 0.4) transparent;
}
.comment-column::-webkit-scrollbar {
  width: 6px;
}
.comment-column::-webkit-scrollbar-thumb {
  background: rgba(200, 180, 140, 0.35);
  border-radius: 3px;
}
.comment-column:first-child {
  margin-top: 14px;
}
.comment-card {
  border-radius: 5px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid rgba(201, 168, 120, 0.45);
  background: rgba(48, 40, 30, 0.5);
  padding: 9px 12px;
}
.comment-nickname {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #cbb589;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: #c2b9a2;
}
.recommend-region {
  margin-top: 26px;
}
.recommend-title {
  font-size: 15px;
  letter-spacing: 0.18em;
  color: #dccca6;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid rgba(201, 168, 120, 0.5);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  border: 1px solid var(--line-soft);
  background: rgba(44, 37, 28, 0.55);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
a.recommend-item:hover {
  border-color: rgba(200, 180, 140, 0.5);
  background: rgba(66, 55, 41, 0.65);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: sepia(0.28) saturate(0.75) brightness(0.85);
}
.recommend-name {
  display: block;
  font-size: 12.5px;
  color: #ddd2b6;
  padding: 7px 9px 2px;
  line-height: 1.4;
}
.recommend-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  color: #9d927b;
  padding: 0 9px 9px;
  font-family: var(--sans);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 34px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--sans);
  font-size: 13px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #bdb29a;
  text-decoration: none;
  border-bottom: 1px dotted rgba(200, 180, 140, 0.35);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2e6cc;
  border-bottom-color: rgba(242, 230, 204, 0.7);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-family: var(--sans);
  font-size: 12px;
}
.friend-links-label {
  color: #8f846e;
  letter-spacing: 0.1em;
  margin-right: 4px;
}
a.runtime-friend-link {
  color: #a89c83;
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: color 0.18s, border-color 0.18s;
}
a.runtime-friend-link:hover {
  color: #efe3c8;
  border-color: rgba(200, 180, 140, 0.5);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: #7c7260;
  font-family: var(--sans);
  max-width: 70ch;
}
body.is-theater .page-main {
  max-width: 100%;
}
body.lights-off {
  background-image: none;
}
body.lights-off .site-header {
  opacity: 0.55;
}
@media (max-width: 1024px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "status"
      "detail"
      "synopsis"
      "cast";
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 14px;
  }
.hero-overlay {
    padding: 16px 16px;
    background:
      linear-gradient(0deg, rgba(18, 14, 9, 0.94) 0%, rgba(18, 14, 9, 0.5) 55%, rgba(18, 14, 9, 0.18) 100%);
  }
img.main-poster {
    aspect-ratio: 16 / 11;
  }
.movie-seo {
    display: none;
  }
.hero-actions {
    justify-content: flex-start;
  }
.hero-overlay {
    align-items: flex-start;
    text-align: left;
  }
.overview-body {
    padding: 14px 12px 16px;
  }
.cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-summary {
    max-height: 8em;
    opacity: 1;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-column {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
.comment-column:first-child {
    margin-top: 0;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 520px) {.header-inner {
    padding: 8px 12px;
  }
.page-main, .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 26px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.ctrl {
    padding: 5px 8px;
    font-size: 11.5px;
  }}
@media (max-width: 380px) {.cast-list {
    grid-template-columns: repeat(2, 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}
