:root {
  --ink: #0d1c22;
  --ink-2: #10262e;
  --ink-3: #14323c;
  --sea-faded: #35535e;
  --sea-line: #27434d;
  --chalk: #f2efe6;
  --chalk-dim: #cfd6d2;
  --warm-gray: #d9d2c2;
  --lamp-yellow: #e8c47a;
  --lamp-soft: #f0d9a4;
  --alert: #e2662f;
  --alert-soft: #f08a4b;
  --note: #efe7d3;
  --note-2: #e9dfc6;
  --note-3: #f3ecdc;
  --gap: 8px;
  --gap-tight: 5px;
  --radius: 3px;
  --font-hand: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(53, 83, 94, 0.5), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(232, 196, 122, 0.12), transparent 38%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 7px);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 28, 34, 0.92);
  border-bottom: 1px solid var(--sea-line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 12px;
}
a[data-contract="site-name"] {
  font-family: var(--font-hand);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--lamp-soft);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(232, 196, 122, 0.25);
}
a[data-contract="site-name"]:hover {
  color: var(--chalk);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 3px 5px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 9px;
  font-size: 12px;
  color: var(--chalk-dim);
  text-decoration: none;
  border: 1px solid var(--sea-line);
  border-radius: 999px;
  background: rgba(53, 83, 94, 0.28);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--lamp-yellow);
  border-color: var(--lamp-yellow);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px 26px;
}
.section-heading {
  font-family: var(--font-hand);
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--lamp-soft);
  padding-left: 12px;
  position: relative;
  margin-bottom: var(--gap);
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--alert-soft);
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--sea-line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(20, 50, 60, 0.72), rgba(13, 28, 34, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 6px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.hero-visual {
  position: relative;
  padding: 14px 10px 34px;
  isolation: isolate;
}
.chalk-circle-figure {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 100%;
  max-width: 260px;
}
.chalk-circle-figure::before {
  content: "";
  position: absolute;
  inset: -12px -14px -12px -14px;
  border: 2px dashed rgba(242, 239, 230, 0.55);
  border-radius: 50%;
  transform: rotate(-7deg);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}
.chalk-circle-figure::after {
  content: "";
  position: absolute;
  inset: -22px -20px -22px -20px;
  border: 1px solid rgba(242, 239, 230, 0.22);
  border-radius: 50%;
  transform: rotate(9deg);
  pointer-events: none;
  z-index: 1;
}
.main-poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  filter: saturate(0.78) contrast(1.05) brightness(0.94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.hero-caption {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 4;
  padding: 1px 10px;
  background: var(--ink-2);
  border: 1px solid var(--sea-line);
  border-radius: 999px;
}
.hero-caption-timecode {
  font-family: var(--font-hand);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lamp-yellow);
  white-space: nowrap;
}
.hero-chalk-ring {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 78%;
  height: 26px;
  border: 1.5px solid rgba(242, 239, 230, 0.28);
  border-radius: 50%;
  z-index: 1;
}
.hero-silhouette-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
}
.silhouette {
  display: block;
  width: 14px;
  background: linear-gradient(180deg, rgba(10, 22, 27, 0.95), rgba(10, 22, 27, 0.6));
  border-radius: 7px 7px 1px 1px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.silhouette-1 { height: 26px; }
.silhouette-2 { height: 32px; }
.silhouette-3 { height: 36px; width: 16px; }
.silhouette-4 { height: 30px; }
.silhouette-5 { height: 24px; }
.hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.movie-title {
  font-family: var(--font-hand);
  font-size: 27px;
  line-height: 1.2;
  color: var(--chalk);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--warm-gray);
  border-left: 2px solid var(--alert);
  padding-left: 9px;
  max-width: 46em;
}
.hero-actor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.actor-chip {
  font-size: 11.5px;
  padding: 1px 8px;
  border-radius: 999px;
  color: var(--chalk-dim);
  background: rgba(53, 83, 94, 0.4);
  border: 1px solid var(--sea-line);
  white-space: nowrap;
}
.cast-grid {
  border-top: 1px dashed var(--sea-line);
  padding-top: var(--gap);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 2px;
  border: 1px solid var(--sea-line);
  border-radius: var(--radius);
  background: rgba(53, 83, 94, 0.22);
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--lamp-yellow);
  background: rgba(232, 196, 122, 0.1);
}
.cast-avatar {
  display: block;
  width: 100%;
  max-width: 52px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 239, 230, 0.4);
  background-color: var(--sea-faded);
  background-image: linear-gradient(140deg, rgba(242, 239, 230, 0.28), rgba(13, 28, 34, 0.6));
}
.cast-avatar-shen { background-image: linear-gradient(140deg, #7d9aa0, #29434c); }
.cast-avatar-lu { background-image: linear-gradient(140deg, #a4b6a8, #2f4a45); }
.cast-avatar-cheng { background-image: linear-gradient(140deg, #c9b286, #4a402c); }
.cast-avatar-pei { background-image: linear-gradient(140deg, #8b9fb5, #263646); }
.cast-avatar-song { background-image: linear-gradient(140deg, #d0a894, #4d3128); }
.cast-avatar-he { background-image: linear-gradient(140deg, #9fb0a4, #2b3d3a); }
.cast-name {
  font-size: 11px;
  color: var(--chalk-dim);
  text-align: center;
  white-space: nowrap;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 9px;
  border: 1px solid var(--sea-line);
  border-left: 3px solid var(--alert);
  border-radius: var(--radius);
  background: rgba(20, 50, 60, 0.5);
}
.status-line {
  font-size: 12.5px;
  color: var(--chalk-dim);
}
.status-current {
  color: var(--lamp-yellow);
}
.status-current::before {
  content: "●";
  font-size: 9px;
  margin-right: 5px;
  color: var(--alert-soft);
  vertical-align: 1px;
}
.synopsis-block, .details-block {
  border-top: 1px dashed var(--sea-line);
  padding-top: var(--gap);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: var(--chalk-dim);
  text-indent: 2em;
  margin-bottom: 4px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(53, 83, 94, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  width: 4.6em;
  font-size: 12px;
  color: var(--sea-faded);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--warm-gray);
}
.player-shell {
  margin-top: 12px;
  padding: 8px;
  border: 1px solid var(--sea-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 50, 60, 0.55), rgba(13, 28, 34, 0.85));
}
.player-shell.theater-mode {
  border-color: var(--lamp-yellow);
  box-shadow: 0 0 0 1px rgba(232, 196, 122, 0.3), 0 8px 26px rgba(0, 0, 0, 0.5);
}
.player-shell.lights-dim {
  background: rgba(6, 14, 18, 0.96);
}
.player-shell.lights-dim .player-controls {
  opacity: 0.55;
}
.player-stage {
  position: relative;
  width: 100%;
  background: #061014;
  border-radius: 2px;
  overflow: hidden;
}
.player-stage video {
  display: block;
  width: 100%;
  height: auto;
  background: #061014;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  transition: opacity 0.2s;
}
.player-btn {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--sea-line);
  background: rgba(53, 83, 94, 0.35);
  color: var(--chalk-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover, .player-btn:focus-visible {
  border-color: var(--lamp-yellow);
  color: var(--chalk);
}
.player-btn.is-active, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.volume, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light {
  border-color: var(--lamp-yellow);
}
.player-btn.is-active {
  background: var(--lamp-yellow);
  color: var(--ink);
}
.player-btn.is-muted {
  background: rgba(226, 102, 47, 0.28);
  border-color: var(--alert);
  color: var(--alert-soft);
}
.player-range {
  flex: 1 1 110px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(53, 83, 94, 0.7);
  border-radius: 999px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lamp-yellow);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--lamp-yellow);
}
.player-select {
  font-size: 12px;
  padding: 3px 6px;
  border-radius: var(--radius);
  border: 1px solid var(--sea-line);
  background: rgba(53, 83, 94, 0.35);
  color: var(--chalk-dim);
  cursor: pointer;
}
.player-select.is-active {
  border-color: var(--lamp-yellow);
  color: var(--lamp-soft);
}
.episodes-section, .timeline-section, .comments-section, .recommend-region {
  margin-top: 14px;
}
.episodes-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episodes-slider::-webkit-scrollbar {
  height: 6px;
}
.episodes-slider::-webkit-scrollbar-thumb {
  background: var(--sea-line);
  border-radius: 999px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 9px;
  min-height: 100%;
  color: var(--chalk-dim);
  background:
    linear-gradient(160deg, rgba(53, 83, 94, 0.5), rgba(13, 28, 34, 0.85));
  border: 1px solid var(--sea-line);
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  scroll-snap-align: start;
  transition: border-color 0.15s, transform 0.15s;
}
.episode-card:hover {
  border-color: var(--lamp-yellow);
  transform: translateY(-2px);
}
.episode-number {
  font-family: var(--font-hand);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--alert-soft);
}
.episode-title {
  font-size: 14px;
  color: var(--chalk);
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--chalk-dim);
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lamp-yellow);
  align-self: flex-start;
  border-top: 1px dashed var(--sea-line);
  padding-top: 3px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 26px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--lamp-yellow), rgba(53, 83, 94, 0.2));
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border: 1px solid var(--sea-line);
  border-radius: var(--radius);
  background: rgba(20, 50, 60, 0.45);
  margin-left: 4px;
}
.timeline-node:nth-child(even) {
  margin-left: 18px;
}
.timeline-chalk-ring {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(242, 239, 230, 0.6);
  border-top-color: transparent;
  font-family: var(--font-hand);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lamp-soft);
  transform: rotate(-6deg);
  background: rgba(13, 28, 34, 0.7);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--warm-gray);
  min-width: 0;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 1px;
  background: var(--note);
  color: #2b2a24;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
  position: relative;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 34px;
  height: 8px;
  background: rgba(242, 239, 230, 0.35);
  border: 1px solid rgba(13, 28, 34, 0.2);
}
.comment-note-a { background: var(--note); transform: rotate(-0.7deg); }
.comment-note-b { background: var(--note-2); transform: rotate(0.9deg) translateY(6px); }
.comment-note-c { background: var(--note-3); transform: rotate(-0.4deg); }
.comment-note-d { background: var(--note-2); transform: rotate(1deg) translateY(-4px); }
.comment-note-e { background: var(--note); transform: rotate(-1deg); }
.comment-note-f { background: var(--note-3); transform: rotate(0.6deg) translateY(4px); }
.comment-nickname {
  font-family: var(--font-hand);
  font-size: 12.5px;
  color: #8a4a20;
  letter-spacing: 0.06em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #2f2e26;
}
.recommend-row {
  display: grid;
  gap: 6px;
  align-items: start;
}
.recommend-row-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--sea-line);
  border-radius: var(--radius);
  background: rgba(20, 50, 60, 0.45);
  color: var(--chalk-dim);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-color: var(--lamp-yellow);
  background: rgba(232, 196, 122, 0.08);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.8) brightness(0.92);
}
.recommend-name {
  font-size: 12.5px;
  color: var(--chalk);
  letter-spacing: 0.02em;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--sea-faded);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--sea-line);
  background: rgba(6, 14, 18, 0.7);
  padding: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  max-width: 1180px;
  margin: 0 auto 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  text-decoration: none;
  padding: 1px 0;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.15s;
}
a[data-contract="footer-home"] {
  color: var(--lamp-soft);
}
a[data-contract="footer-sitemap"] {
  color: var(--chalk-dim);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  border-bottom-color: var(--alert);
  color: var(--chalk);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 6px;
  max-width: 1180px;
  margin: 0 auto 8px;
}
.friend-links-label {
  font-family: var(--font-hand);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--lamp-yellow);
  margin-right: 3px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--sea-line);
  background: rgba(53, 83, 94, 0.28);
  color: var(--chalk-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--chalk);
  border-color: var(--alert-soft);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--sea-faded);
}
.change, .click, .data-player-action, .input, .progress, .timeupdate, .volume, .speed, .play, .pause, .mute, .pip, .fullscreen, .theater, .light {
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
@media (max-width: 900px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-row-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.header-inner {
    padding: 5px 10px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.page-main {
    padding: 8px 10px 20px;
  }
.hero-poster {
    padding: 10px;
    gap: 10px;
  }
.movie-title {
    font-size: 22px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note-a, .comment-note-b, .comment-note-c, .comment-note-d, .comment-note-e, .comment-note-f {
    transform: none;
  }
.episodes-slider {
    grid-auto-columns: minmax(180px, 74%);
  }
.timeline-node:nth-child(even) {
    margin-left: 4px;
  }
.recommend-row-3col {
    grid-template-columns: minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    height: 132px;
  }
.player-controls {
    gap: 4px;
  }
.player-btn {
    padding: 3px 8px;
    font-size: 11.5px;
  }}
@media (max-width: 380px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.silhouette-1, .silhouette-5 {
    display: none;
  }}

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}
