:root {
  --rain: #0d1510;
  --rain-deep: #070d09;
  --moss: #1b2a1d;
  --mud: #3a2c1e;
  --mud-light: #5c452c;
  --rust: #8a3a22;
  --rust-bright: #b04a28;
  --steel: #5a6c78;
  --steel-light: #8a9ca8;
  --bone: #c9c0ad;
  --bone-dim: #8f8778;
  --blood: #6e1f14;
  --line: rgba(138, 108, 72, 0.28);
  --line-soft: rgba(138, 108, 72, 0.14);
  --ink: #d8d2c2;
  --ink-dim: #9a9182;
  --panel: rgba(22, 33, 24, 0.72);
  --panel-solid: #121b15;
  --gap: 12px;
  --gap-tight: 8px;
  --gap-loose: 20px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(58, 44, 30, 0.55), transparent 60%),
    radial-gradient(ellipse 90% 50% at 85% 110%, rgba(27, 42, 29, 0.7), transparent 65%),
    linear-gradient(180deg, #0b120d 0%, #0d1510 40%, #080e0a 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--bone);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(7, 13, 9, 0.94), rgba(9, 16, 11, 0.82));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(176, 74, 40, 0.35);
}
a[data-contract="site-name"]:hover {
  color: #e8dfc8;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--steel-light);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(27, 42, 29, 0.4);
}
a.runtime-category:hover {
  color: #dfe6ea;
  border-color: var(--steel);
  background: rgba(90, 108, 120, 0.24);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 30px;
  width: 100%;
}
.movie-overview {
  display: block;
  background: linear-gradient(180deg, rgba(20, 31, 22, 0.68), rgba(13, 21, 14, 0.86));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 14px;
  margin-bottom: var(--gap-loose);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 2fr);
  gap: var(--gap-loose);
  align-items: start;
  margin-bottom: 16px;
}
.poster-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.5);
  align-self: start;
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 21, 16, 0.12) 0%, rgba(10, 16, 11, 0.55) 100%);
  pointer-events: none;
}
.poster-shell img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.hero-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-tight);
  min-width: 0;
}
.movie-title {
  font-size: clamp(24px, 4.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.12;
  color: #e6ddc6;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8), 0 0 42px rgba(110, 31, 20, 0.4);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--rust-bright);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.movie-seo {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.68;
  color: var(--ink-dim);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.hero-actions button {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(58, 44, 30, 0.6), rgba(24, 20, 14, 0.8));
  color: var(--bone);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-play {
  background: linear-gradient(180deg, #a8442a, #6e2416) !important;
  border-color: #b8512e !important;
  color: #f4ead4 !important;
  box-shadow: 0 0 18px rgba(176, 74, 40, 0.4);
}
.btn-play:hover, .btn-play.is-playing {
  background: linear-gradient(180deg, #c05a34, #8a2f1c) !important;
  box-shadow: 0 0 26px rgba(200, 90, 50, 0.55);
}
.btn-theater:hover, .btn-theater.is-active {
  border-color: var(--steel);
  color: #dfe7ec;
  background: linear-gradient(180deg, rgba(90, 108, 120, 0.5), rgba(30, 40, 46, 0.7));
}
.btn-light:hover, .btn-light.is-active {
  border-color: #c9a24a;
  color: #f0dc9e;
  background: linear-gradient(180deg, rgba(120, 96, 40, 0.55), rgba(40, 32, 14, 0.75));
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #05090a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px rgba(176, 74, 40, 0.55), 0 18px 48px rgba(0, 0, 0, 0.85);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(18, 27, 21, 0.9), rgba(8, 13, 9, 0.98));
  border-top: 1px solid var(--line-soft);
}
.player-controls button {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--steel-light);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(27, 42, 29, 0.42);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.player-controls button:hover, .player-controls button.is-active {
  color: #e4ecf0;
  border-color: var(--steel);
  background: rgba(90, 108, 120, 0.3);
}
.ctrl-progress {
  flex: 1 1 auto;
  text-align: left;
  min-width: 0;
}
.ctrl-fullscreen {
  margin-left: auto;
}
.episode-status {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
  padding: 6px 10px;
  border-left: 2px solid var(--rust);
  background: linear-gradient(90deg, rgba(110, 31, 20, 0.24), transparent 80%);
}
.status-line {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #d5cbb2;
  padding-left: 10px;
  border-left: 3px solid var(--rust);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cast-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-tight) var(--gap);
  align-items: start;
}
.cast-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  min-width: 0;
}
.cast-avatar {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(138, 156, 168, 0.5), transparent 62%),
    linear-gradient(150deg, var(--moss), var(--mud));
  border: 1px solid var(--line);
  align-self: start;
  flex: none;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #dcd3bd;
  line-height: 1.3;
  min-width: 0;
}
.cast-role {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-dim);
  min-width: 0;
}
.synopsis-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--bone-dim);
  max-width: 88ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
}
.details-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(14, 22, 16, 0.86);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--steel-light);
  opacity: 0.8;
}
.detail-value {
  font-size: 12px;
  font-weight: 300;
  color: var(--bone);
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  margin-bottom: var(--gap-loose);
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 27, 21, 0.6), rgba(11, 17, 12, 0.82));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.timeline-track {
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--mud-light) transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--mud-light);
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 8px 14px;
  margin-right: 26px;
  background: linear-gradient(180deg, rgba(27, 42, 29, 0.6), rgba(15, 23, 17, 0.85));
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust);
  border-radius: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--rust-bright);
  box-shadow: 0 0 10px rgba(176, 74, 40, 0.75);
  z-index: 1;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--mud-light) 0 5px, transparent 5px 9px);
  transform: translateY(-1px);
  opacity: 0.75;
}
.timeline-node:last-child {
  margin-right: 0;
}
.timeline-node:last-child::after {
  display: none;
}
.node-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust-bright);
  white-space: nowrap;
}
.node-label {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--bone-dim);
}
.episodes-section {
  margin-bottom: var(--gap-loose);
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 27, 21, 0.6), rgba(11, 17, 12, 0.82));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(24, 36, 26, 0.62), rgba(13, 20, 15, 0.88));
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: var(--rust);
  background: linear-gradient(180deg, rgba(34, 46, 32, 0.75), rgba(18, 26, 19, 0.92));
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel-light);
  white-space: nowrap;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ddd4bd;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--bone-dim);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin 0.24s ease;
  margin: 0;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin-top: 2px;
}
.comments-section {
  margin-bottom: var(--gap-loose);
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 27, 21, 0.55), rgba(11, 17, 12, 0.8));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.comment-item {
  padding: 7px 9px;
  border-left: 2px solid var(--line);
  background: rgba(14, 22, 16, 0.6);
  border-radius: 0 2px 2px 0;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--steel-light);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--bone-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  margin-bottom: var(--gap-loock, 18px);
  margin-bottom: 18px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(20, 30, 22, 0.55), rgba(11, 17, 12, 0.82));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recommend-item {
  display: block;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-item:last-child {
  border-bottom: none;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 1px;
  align-items: start;
  padding: 6px 2px;
  color: var(--bone);
  text-decoration: none;
  min-width: 0;
  transition: color 0.16s ease, background 0.16s ease;
}
a[data-runtime="recommendation"]:hover {
  color: #e9e0c8;
  background: rgba(138, 58, 34, 0.1);
}
a[data-runtime="recommendation"] img {
  grid-row: span 2;
  width: 100%;
  max-width: 52px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  filter: saturate(0.8) brightness(0.88);
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #d9d0b9;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-dim);
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--steel-light);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover {
  color: #e4ecf0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: var(--bone-dim);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mud-light);
  flex: none;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(143, 135, 120, 0.62);
  max-width: 92ch;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
body.lights-off {
  background: #040705;
}
body.lights-off .page-main {
  filter: brightness(0.55) contrast(1.05);
}
body.lights-off .player-shell {
  filter: brightness(1) contrast(1.02);
  box-shadow: 0 0 0 1px rgba(176, 74, 40, 0.5), 0 0 60px rgba(0, 0, 0, 0.95);
}
.player-shell.is-theater video {
  max-height: 78vh;
}
@media (max-width: 900px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    width: 160px;
    margin-right: 22px;
  }
.timeline-node::after {
    width: 22px;
  }}
@media (max-width: 720px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-shell {
    max-width: 210px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-actions button {
    padding: 6px 13px;
    font-size: 12px;
  }}
@media (max-width: 520px) {.page-main {
    padding: 10px 10px 22px;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 10px;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    padding: 6px;
  }
.player-controls button {
    padding: 5px 8px;
    font-size: 11px;
  }
.ctrl-fullscreen {
    margin-left: 0;
  }
.timeline-node {
    width: 150px;
    margin-right: 18px;
  }
.timeline-node::after {
    width: 18px;
  }
.movie-title {
    letter-spacing: 0.02em;
  }
a[data-runtime="recommendation"] {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 8px;
  }
a[data-runtime="recommendation"] img {
    max-width: 46px;
  }}

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}
