:root {
  --ink-deep: #0b1410;
  --ink-deeper: #060d0a;
  --moss: #16332a;
  --moss-lit: #1f4a3b;
  --green-lacquer: #2f6d52;
  --green-bright: #4d9a76;
  --wood: #3a2a1f;
  --wood-dark: #241a12;
  --wood-warm: #5a4232;
  --ivory: #ece3d2;
  --ivory-soft: #d9cdb8;
  --ivory-dim: #a89b85;
  --gold: #c8a24a;
  --gold-dim: #8a6f31;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --gap-tight: 10px;
  --gap: 14px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink-deeper);
}
body {
  background:
    radial-gradient(circle at 12% 4%, rgba(47, 109, 82, 0.28), transparent 42%),
    radial-gradient(circle at 92% 22%, rgba(58, 42, 31, 0.5), transparent 46%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-deeper) 100%);
  color: var(--ivory);
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ivory-soft);
  text-decoration: none;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
}
input, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 10px 20px;
  border-bottom: 1px solid rgba(200, 162, 74, 0.28);
  background: linear-gradient(90deg, rgba(22, 51, 42, 0.85), rgba(11, 20, 16, 0.92));
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}
.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--gold);
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px rgba(200, 162, 74, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ivory-soft);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  padding: 4px 12px;
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: 999px;
  background: rgba(58, 42, 31, 0.45);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--ink-deeper);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px 30px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-heading {
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-left: 12px;
  border-left: 3px solid var(--green-lacquer);
  margin-bottom: 12px;
}
.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0;
  background:
    linear-gradient(120deg, rgba(31, 74, 59, 0.55), rgba(36, 26, 18, 0.72)),
    var(--moss);
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.poster-frame {
  margin: 0;
  position: relative;
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--wood-dark);
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 66%, rgba(22, 51, 42, 0.85) 100%);
  pointer-events: none;
}
.hero-side {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  letter-spacing: 0.14em;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  position: relative;
  padding-bottom: 10px;
}
.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-tagline {
  font-size: 14px;
  color: var(--gold);
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.hero-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ivory-dim);
  border-left: 2px solid rgba(77, 154, 118, 0.5);
  padding-left: 10px;
}
.cast-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(200, 162, 74, 0.24);
  border-radius: var(--radius-md);
  background: rgba(11, 20, 16, 0.5);
  min-width: 0;
}
.cast-name {
  font-size: 14px;
  color: var(--ivory);
  letter-spacing: 0.08em;
}
.cast-note {
  font-size: 11.5px;
  color: var(--ivory-dim);
  line-height: 1.4;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-line {
  font-size: 12.5px;
  color: var(--green-bright);
  letter-spacing: 0.08em;
}
.status-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(236, 227, 210, 0.12);
  overflow: hidden;
}
.status-fill {
  display: block;
  height: 100%;
  width: 66%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-lacquer), var(--gold));
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
  align-items: start;
  border-top: 1px solid rgba(200, 162, 74, 0.22);
  padding-top: 10px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
}
.detail-key {
  flex: 0 0 62px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}
.detail-val {
  color: var(--ivory-soft);
  min-width: 0;
}
.synopsis-group {
  background: linear-gradient(180deg, rgba(36, 26, 18, 0.72), rgba(22, 51, 42, 0.4));
  border: 1px solid rgba(200, 162, 74, 0.24);
  border-radius: var(--radius-lg);
  padding: 14px 18px 16px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ivory-soft);
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.player-shell {
  background: var(--wood-dark);
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(22, 51, 42, 0.85), rgba(11, 20, 16, 0.95));
  border-top: 1px solid rgba(200, 162, 74, 0.22);
}
.ctrl-btn {
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--ivory);
  background: rgba(58, 42, 31, 0.7);
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn.is-active {
  background: var(--gold);
  color: var(--ink-deeper);
  border-color: var(--gold);
}
.ctrl-progress {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  min-width: 120px;
}
.ctrl-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-lacquer), rgba(236, 227, 210, 0.18));
  cursor: pointer;
  outline: none;
}
.ctrl-volume .ctrl-range {
  width: 84px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--wood-dark);
  box-shadow: 0 0 6px rgba(200, 162, 74, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 1px solid var(--wood-dark);
  border-radius: 50%;
  background: var(--gold);
}
.ctrl-select {
  padding: 5px 8px;
  font-size: 12.5px;
  color: var(--ivory);
  background: rgba(58, 42, 31, 0.8);
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.player-playing .ctrl-btn[data-player-action="play"] {
  background: var(--green-lacquer);
  border-color: var(--green-bright);
  color: var(--ivory);
}
.player-muted .ctrl-volume {
  opacity: 0.6;
}
.lights-dimmed .player-shell {
  box-shadow: 0 0 0 1px rgba(200, 162, 74, 0.5), 0 0 60px rgba(77, 154, 118, 0.28);
}
.theater-mode .player-shell {
  max-width: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.theater-mode .page-main {
  gap: 26px;
}
.timeline-section {
  border-radius: var(--radius-lg);
}
.film-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
  padding: 10px 10px 12px;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(90deg, rgba(236, 227, 210, 0.09) 0 2px, transparent 2px 14px) top left / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(236, 227, 210, 0.09) 0 2px, transparent 2px 14px) bottom left / 100% 10px no-repeat,
    linear-gradient(180deg, var(--wood-dark), #1a1109);
  border: 1px solid rgba(200, 162, 74, 0.24);
}
.strip-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.node-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 9px 11px;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(31, 74, 59, 0.9), rgba(22, 51, 42, 0.65));
  border: 1px solid rgba(200, 162, 74, 0.35);
  border-radius: var(--radius-md);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.node-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.node-time {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.node-label {
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--ivory);
}
.node-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ivory-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 2px;
  transition: max-height 0.28s ease, opacity 0.24s ease, padding 0.24s ease;
}
.strip-node.node-open .node-desc {
  max-height: 140px;
  opacity: 1;
  padding: 2px 2px 0;
}
.strip-node.node-open .node-btn {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(47, 109, 82, 0.95), rgba(31, 74, 59, 0.7));
}
.episodes-section {
  border-radius: var(--radius-lg);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(36, 26, 18, 0.95), rgba(22, 51, 42, 0.55));
  border: 1px solid rgba(200, 162, 74, 0.24);
  overflow: hidden;
  min-width: 0;
}
.episode-card::before, .episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(200, 162, 74, 0.35) 0 3px, transparent 3px 9px);
  opacity: 0.6;
  pointer-events: none;
}
.episode-card::before {
  top: 0;
}
.episode-card::after {
  bottom: 0;
}
.episode-num {
  position: absolute;
  right: 8px;
  bottom: -10px;
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  color: rgba(236, 227, 210, 0.07);
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
}
.episode-title {
  position: relative;
  z-index: 1;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
.episode-summary {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ivory-dim);
}
.episode-duration {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: 999px;
  padding: 1px 9px;
}
.comments-section {
  border-radius: var(--radius-lg);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(22, 51, 42, 0.5);
  border: 1px solid rgba(77, 154, 118, 0.3);
  border-left: 3px solid var(--green-lacquer);
  min-width: 0;
}
.comment-nick {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.comment-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ivory-soft);
}
.rec-region {
  border-radius: var(--radius-lg);
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(36, 26, 18, 0.9), rgba(11, 20, 16, 0.85));
  border: 1px solid rgba(200, 162, 74, 0.22);
  color: var(--ivory-soft);
  text-decoration: none;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--wood-dark);
}
.rec-name {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ivory);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ivory-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 26px;
  border-top: 1px solid rgba(200, 162, 74, 0.24);
  background: linear-gradient(180deg, rgba(11, 20, 16, 0.6), var(--ink-deeper));
}
.disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ivory-dim);
  max-width: 90ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ivory-dim);
  text-decoration: none;
  border-bottom: 1px dotted rgba(200, 162, 74, 0.5);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ivory-soft);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.footer-link {
  display: inline-block;
}
@media (max-width: 1024px) {.hero-stage {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
.film-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 760px) {.page-main {
    padding: 14px 12px 22px;
    gap: 16px;
  }
.site-header {
    padding: 9px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
    letter-spacing: 0.1em;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
.poster-frame::after {
    background: linear-gradient(180deg, transparent 70%, rgba(22, 51, 42, 0.85) 100%);
  }
.hero-side {
    padding: 14px 14px 16px;
    gap: 10px;
  }
.hero-title {
    font-size: 24px;
  }
.cast-rail {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid, .comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-row {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.player-controls {
    gap: 6px;
  }
.ctrl-volume .ctrl-range {
    width: 64px;
  }}
@media (max-width: 480px) {.film-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-progress {
    flex: 1 1 100%;
  }
.rec-row {
    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}
