*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #0b0e12;
  --ink-2: #10151c;
  --panel: #141a22;
  --panel-2: #1a212b;
  --line: rgba(198, 162, 74, 0.22);
  --gold: #c6a24a;
  --gold-hi: #e6c873;
  --gold-dim: #8a7130;
  --jade: #1d2b33;
  --jade-2: #263a44;
  --text: #d8d2c4;
  --text-dim: #8e8a7e;
  --text-faint: #6a675e;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
}
body {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(198, 162, 74, 0.14), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(29, 43, 51, 0.9), transparent 70%),
    var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 14, 18, 0.96), rgba(11, 14, 18, 0.86));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-hi);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(198, 162, 74, 0.35);
}
a[data-contract="site-name"] {
  color: var(--gold-hi);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #fff2cf;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(198, 162, 74, 0.05);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-hi);
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(198, 162, 74, 0.25);
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  grid-template-areas:
    "poster lead"
    "player player";
  gap: 16px 20px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(29, 43, 51, 0.55), rgba(11, 14, 18, 0.4)),
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(198, 162, 74, 0.05) 46px 47px);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(198, 162, 74, 0.05) 26px 27px),
    linear-gradient(180deg, rgba(198, 162, 74, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}
.hero-poster-shell {
  grid-area: poster;
  position: relative;
  z-index: 1;
  align-self: start;
}
.movie-poster {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel);
  overflow: hidden;
}
.movie-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}
.poster-caption {
  padding: 8px 9px 9px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 26, 34, 0.96), rgba(11, 14, 18, 0.96));
}
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  font-size: 0.7rem;
  line-height: 1.35;
}
.detail-key {
  color: var(--text-faint);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-value {
  color: var(--text);
  min-width: 0;
}
.hero-lead {
  grid-area: lead;
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: clamp(1.4rem, 3.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #f3e6c4;
  text-shadow: 0 0 22px rgba(198, 162, 74, 0.28);
}
.movie-tagline {
  font-size: 0.86rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid var(--gold-dim);
}
.movie-seo {
  font-size: 0.78rem;
  line-height: 1.62;
  color: var(--text-dim);
  text-align: justify;
}
.cast-strip {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-heading {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 8px;
}
.cast-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.cast-track::-webkit-scrollbar {
  height: 5px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 62px;
}
.cast-avatar {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background:
    radial-gradient(circle at 50% 38%, rgba(198, 162, 74, 0.35), transparent 58%),
    linear-gradient(160deg, var(--jade-2), var(--ink-2));
  box-shadow: 0 0 0 3px rgba(11, 14, 18, 0.9), 0 0 16px rgba(198, 162, 74, 0.18);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text);
  line-height: 1;
}
.synopsis-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.synopsis-heading {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 7px;
}
.synopsis-text {
  font-size: 0.76rem;
  line-height: 1.68;
  color: var(--text-dim);
  text-align: justify;
  margin-bottom: 6px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}
.status-chip {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  color: var(--gold-hi);
  background: rgba(198, 162, 74, 0.07);
  white-space: nowrap;
}
.player-shell {
  grid-area: player;
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #05070a;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(20, 26, 34, 0.98), rgba(11, 14, 18, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  color: var(--gold);
  background: rgba(198, 162, 74, 0.06);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: #fff2cf;
  border-color: var(--gold);
  background: rgba(198, 162, 74, 0.16);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--gold-dim), rgba(198, 162, 74, 0.15));
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-hi);
  border: 1px solid var(--ink);
  box-shadow: 0 0 8px rgba(198, 162, 74, 0.6);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-hi);
  border: 1px solid var(--ink);
}
.ctrl-progress {
  flex: 2 1 160px;
}
.ctrl-volume {
  flex: 1 1 70px;
  max-width: 130px;
}
.ctrl-play.is-playing {
  color: #fff2cf;
  border-color: var(--gold);
  background: rgba(198, 162, 74, 0.2);
}
.ctrl-mute.is-muted {
  color: #d98b6a;
  border-color: rgba(217, 139, 106, 0.6);
  background: rgba(217, 139, 106, 0.12);
}
.ctrl-btn.is-active {
  color: #fff2cf;
  border-color: var(--gold);
  background: rgba(198, 162, 74, 0.2);
  box-shadow: inset 0 0 10px rgba(198, 162, 74, 0.2);
}
.player-shell.is-theater {
  box-shadow: 0 0 34px rgba(198, 162, 74, 0.28);
  border-color: var(--gold);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off video {
  filter: brightness(0.82);
}
.player .play, .player .pause, .player .progress, .player .volume, .player .mute, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .timeupdate, .player .input, .player .click {
  transition: opacity 0.15s ease, color 0.15s ease;
}
.player.is-active .play, .player.is-active .pause {
  color: var(--gold-hi);
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(198, 162, 74, 0.7), rgba(198, 162, 74, 0.08));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 132px) minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 7px 0 7px 0;
  border-bottom: 1px dashed rgba(198, 162, 74, 0.12);
}
.timeline-node:last-child {
  border-bottom: none;
}
.node-icon {
  grid-column: 1;
  position: relative;
  z-index: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 0.7rem;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-dim));
  border: 1px solid var(--gold-hi);
  clip-path: polygon(0 100%, 0 22%, 50% 0, 100% 22%, 100% 100%);
  box-shadow: 0 0 12px rgba(198, 162, 74, 0.4);
}
.node-timecode {
  grid-column: 2;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
.node-label {
  grid-column: 3;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
  min-width: 0;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(26, 33, 43, 0.7), rgba(16, 21, 28, 0.7));
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-cell::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-dim);
  opacity: 0.5;
}
.episode-cell:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(38, 58, 68, 0.85), rgba(16, 21, 28, 0.85));
}
.episode-cell:hover::after {
  opacity: 1;
  background: var(--gold-hi);
}
.episode-number {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.episode-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #eae2cf;
  letter-spacing: 0.03em;
  line-height: 1.25;
}
.episode-duration {
  font-size: 0.64rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin-top 0.22s ease;
  margin-top: 0;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary {
  max-height: 14em;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  align-content: start;
}
.comment-item {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 9px;
  align-items: stretch;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(198, 162, 74, 0.12);
}
.comment-bar {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-dim));
  opacity: 0.75;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-nickname {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.comment-text {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.recommend-heading {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-hi);
  margin-bottom: 11px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(26, 33, 43, 0.72), rgba(16, 21, 28, 0.72));
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
a.recommend-card:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(38, 58, 68, 0.9), rgba(16, 21, 28, 0.9));
  transform: translateY(-2px);
  text-decoration: none;
}
.recommend-card img, [data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: var(--ink-2);
  filter: saturate(0.85);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.78rem;
  font-weight: 700;
  color: #eae2cf;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 14px 14px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--text-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dashed rgba(198, 162, 74, 0.12);
}
.friend-links-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.hero-section {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 10px 10px 0;
    gap: 18px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "lead"
      "player";
    gap: 14px;
    padding: 12px;
  }
.hero-poster-shell {
    max-width: 240px;
  }
.timeline-node {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "icon time"
      "icon label";
    row-gap: 2px;
    align-items: start;
  }
.node-icon {
    grid-area: icon;
    align-self: start;
  }
.node-timecode {
    grid-area: time;
  }
.node-label {
    grid-area: label;
  }
.timeline-track::before {
    left: 20px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-range {
    flex: 1 1 120px;
  }
.ctrl-volume {
    max-width: none;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-shell {
    max-width: 200px;
  }
.movie-title {
    font-size: 1.3rem;
  }
.ctrl-btn {
    padding: 3px 7px;
    font-size: 0.66rem;
  }}
@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}
