*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #141b18;
  background-image:
    linear-gradient(180deg, #0e1513 0%, #16201c 42%, #1a2521 68%, #121917 100%);
  color: #cfd6cf;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
button, input, select, summary {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: rgba(214, 173, 96, 0.28);
  color: #f2efe6;
}
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(120% 60% at 78% -6%, rgba(214, 173, 96, 0.08) 0%, rgba(214, 173, 96, 0) 58%),
    radial-gradient(90% 50% at 8% 4%, rgba(96, 138, 118, 0.12) 0%, rgba(96, 138, 118, 0) 60%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 22, 20, 0.88);
  border-bottom: 1px solid rgba(122, 143, 128, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-brand {
  font-family: "Kaiti SC", "KaiTi", "STKaiti", "Songti SC", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #e7e3d6;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(214, 173, 96, 0.5);
  white-space: nowrap;
}
.site-brand:hover {
  color: #f0d79a;
  border-bottom-color: #d6ad60;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  color: #b9c6bb;
  text-decoration: none;
  background: rgba(64, 92, 78, 0.28);
  border: 1px solid rgba(122, 143, 128, 0.32);
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.runtime-category:hover {
  color: #f2e3bb;
  background: rgba(96, 138, 118, 0.34);
  border-color: rgba(214, 173, 96, 0.55);
}
.page-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(122, 143, 128, 0.26);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(30, 42, 37, 0.94) 0%, rgba(24, 34, 30, 0.94) 100%);
}
.overview-poster-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(122, 143, 128, 0.3);
  background: #0f1614;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(214, 173, 96, 0.16) 0%, rgba(214, 173, 96, 0) 34%),
    linear-gradient(0deg, rgba(14, 21, 19, 0.5) 0%, rgba(14, 21, 19, 0) 42%);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}
.overview-info-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.overview-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122, 143, 128, 0.22);
}
.movie-title {
  font-family: "Kaiti SC", "KaiTi", "STKaiti", "Songti SC", Georgia, serif;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: #eee9db;
  letter-spacing: 0.04em;
}
.movie-tagline {
  font-size: 13px;
  color: #cbb479;
  letter-spacing: 0.06em;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.7;
  color: #98a79c;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.6;
  color: #d8e0d6;
  border: 1px solid rgba(122, 143, 128, 0.38);
  border-radius: 3px;
  background: rgba(64, 92, 78, 0.24);
  white-space: nowrap;
}
.status-chip:last-child {
  color: #f0d79a;
  border-color: rgba(214, 173, 96, 0.5);
  background: rgba(214, 173, 96, 0.1);
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.strip-heading, .block-heading {
  font-family: "Kaiti SC", "KaiTi", "STKaiti", "Songti SC", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #dccfa8;
  padding-left: 8px;
  border-left: 2px solid rgba(214, 173, 96, 0.65);
  line-height: 1.3;
}
.cast-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 143, 128, 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-rail::-webkit-scrollbar {
  height: 4px;
}
.cast-rail::-webkit-scrollbar-thumb {
  background: rgba(122, 143, 128, 0.45);
  border-radius: 2px;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 96px;
  padding: 6px 10px;
  border: 1px solid rgba(122, 143, 128, 0.26);
  border-radius: 4px;
  background: rgba(41, 56, 49, 0.6);
}
.cast-name {
  font-size: 13px;
  color: #e6e2d5;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  color: #8fa094;
  white-space: nowrap;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.synopsis-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  padding-top: 2px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: #a9b6ab;
  text-indent: 2em;
}
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid rgba(122, 143, 128, 0.2);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(122, 143, 128, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 12px;
  color: #7f9185;
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #c9d2c8;
}
.overview-player-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  min-width: 0;
}
.player-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(122, 143, 128, 0.32);
  border-radius: 4px;
  overflow: hidden;
  background: #0b100e;
}
.player-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(214, 173, 96, 0.1) 0%, rgba(214, 173, 96, 0) 30%);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0b100e;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(122, 143, 128, 0.24);
  border-radius: 4px;
  background: rgba(33, 46, 40, 0.72);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: #c4cfc4;
  background: rgba(58, 82, 69, 0.5);
  border: 1px solid rgba(122, 143, 128, 0.32);
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: #f2e3bb;
  border-color: rgba(214, 173, 96, 0.5);
  background: rgba(88, 116, 96, 0.55);
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active {
  color: #16201c;
  background: #d6ad60;
  border-color: #d6ad60;
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(122, 143, 128, 0.3);
  border-radius: 2px;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d6ad60;
  border: none;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #d6ad60;
  cursor: pointer;
}
.ctrl-range.is-active {
  background: rgba(214, 173, 96, 0.4);
}
.ctrl-select {
  flex: 0 0 auto;
  padding: 3px 6px;
  font-size: 12px;
  color: #c4cfc4;
  background: rgba(58, 82, 69, 0.5);
  border: 1px solid rgba(122, 143, 128, 0.32);
  border-radius: 3px;
}
.ctrl-select.is-active {
  border-color: rgba(214, 173, 96, 0.55);
  color: #f2e3bb;
}
.player-video.is-theater {
  box-shadow: 0 0 0 1px rgba(214, 173, 96, 0.4);
}
body.lights-dim {
  background-image: linear-gradient(180deg, #0a0f0d 0%, #0d1413 60%, #0a0f0d 100%);
}
body.lights-dim .page-main {
  opacity: 0.96;
}
body.lights-dim .player-frame {
  box-shadow: 0 0 22px rgba(214, 173, 96, 0.16);
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(122, 143, 128, 0.24);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(28, 40, 34, 0.9) 0%, rgba(22, 32, 28, 0.9) 100%);
}
.timeline-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  position: relative;
  padding-top: 6px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 8px 8px 12px;
  border-top: 1px solid rgba(122, 143, 128, 0.35);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7a8f80;
  box-shadow: 0 0 0 3px rgba(28, 40, 34, 0.9);
}
.timeline-node:first-child {
  padding-left: 8px;
}
.timeline-node:first-child::before {
  left: 0;
}
.timeline-node-breath {
  background: rgba(214, 173, 96, 0.09);
  border-top-color: rgba(214, 173, 96, 0.6);
  border-radius: 0 0 4px 4px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.timeline-node-breath::before {
  background: #d6ad60;
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8ba294;
  white-space: nowrap;
}
.timeline-node-breath .node-timecode {
  color: #e2c37d;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: #c3cec3;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(122, 143, 128, 0.24);
  border-radius: 5px;
  background: rgba(24, 34, 30, 0.86);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  align-items: start;
}
.episode-cell {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(122, 143, 128, 0.16);
  min-width: 0;
}
.episode-number {
  flex: 0 0 auto;
  min-width: 40px;
  font-family: "Kaiti SC", "KaiTi", "STKaiti", "Songti SC", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #d6ad60;
  padding-top: 1px;
  white-space: nowrap;
}
.episode-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.episode-title {
  font-size: 13px;
  font-weight: 500;
  color: #dfe4da;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.episode-fold {
  font-size: 12px;
}
.episode-summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  color: #7f9185;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::before {
  content: "＋ ";
  color: #6f8577;
}
.episode-fold[open] .episode-summary::before {
  content: "－ ";
}
.episode-summary:hover {
  color: #cbb479;
}
.episode-text {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.65;
  color: #9dab9f;
  padding-left: 8px;
  border-left: 1px solid rgba(122, 143, 128, 0.3);
}
.episode-duration {
  font-size: 11px;
  color: #77897d;
  letter-spacing: 0.04em;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px 16px;
  border: 1px solid rgba(122, 143, 128, 0.24);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(26, 37, 32, 0.9) 0%, rgba(21, 30, 26, 0.9) 100%);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-bubble {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(122, 143, 128, 0.26);
  border-radius: 5px;
  background: rgba(38, 52, 45, 0.72);
  min-width: 0;
}
.comment-tilt-a {
  transform: rotate(-0.5deg);
}
.comment-tilt-b {
  transform: rotate(0.4deg);
  margin-top: 10px;
}
.comment-tilt-c {
  transform: rotate(-0.25deg);
  margin-top: 4px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  color: #16201c;
  background: linear-gradient(160deg, #d6ad60 0%, #9fb08d 100%);
  border: 1px solid rgba(214, 173, 96, 0.5);
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.comment-nick {
  font-size: 11.5px;
  color: #e0d3ab;
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #a7b3a8;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(122, 143, 128, 0.22);
  border-radius: 5px;
  background: rgba(23, 33, 29, 0.86);
}
.recommend-heading {
  font-family: "Kaiti SC", "KaiTi", "STKaiti", "Songti SC", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #dccfa8;
  padding-left: 8px;
  border-left: 2px solid rgba(122, 143, 128, 0.6);
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recommend-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(122, 143, 128, 0.14);
  color: #c6d0c6;
  text-decoration: none;
  min-width: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.recommend-item:last-child {
  border-bottom: none;
}
.recommend-item:hover {
  background: rgba(64, 92, 78, 0.24);
  border-bottom-color: rgba(214, 173, 96, 0.4);
}
.recommend-item[data-runtime="recommendation"] img, .recommend-pic {
  flex: 0 0 auto;
  width: 60px;
  height: 34px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(122, 143, 128, 0.32);
  background: #0f1614;
}
.recommend-name {
  display: block;
  flex: 0 0 auto;
  max-width: 34%;
  font-size: 12.5px;
  color: #e3e0d3;
  line-height: 1.6;
  padding-top: 1px;
}
.recommend-item:hover .recommend-name {
  color: #f0d79a;
}
.recommend-blurb {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #93a297;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-region-1 .recommend-heading {
  border-left-color: rgba(214, 173, 96, 0.7);
}
.recommend-region-2 .recommend-heading {
  border-left-color: rgba(96, 138, 118, 0.85);
}
.recommend-region-3 .recommend-heading {
  border-left-color: rgba(122, 143, 128, 0.6);
}
.site-footer {
  flex: 0 0 auto;
  margin-top: 4px;
  border-top: 1px solid rgba(122, 143, 128, 0.26);
  background: rgba(14, 20, 18, 0.9);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #6f8076;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(122, 143, 128, 0.16);
}
.friend-label {
  font-size: 11.5px;
  color: #8b9c90;
  letter-spacing: 0.1em;
  margin-right: 2px;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: #9fb0a4;
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid rgba(122, 143, 128, 0.24);
  border-radius: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.runtime-friend-link:hover {
  color: #e0c98d;
  border-color: rgba(214, 173, 96, 0.5);
}
.footer-nav {
  display: flex;
  gap: 12px;
  padding-top: 6px;
}
.footer-link {
  font-size: 12px;
  color: #a9b8ac;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(122, 143, 128, 0.35);
  padding-bottom: 1px;
}
.footer-link:hover {
  color: #f0d79a;
  border-bottom-color: rgba(214, 173, 96, 0.6);
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.synopsis-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 10px 10px 16px;
    gap: 10px;
  }
.header-inner {
    padding: 7px 10px;
  }
.site-brand {
    font-size: 16px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }
.overview-poster-col {
    max-width: 190px;
  }
.movie-title {
    font-size: 20px;
  }
.timeline-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comment-tilt-a, .comment-tilt-b, .comment-tilt-c {
    transform: none;
    margin-top: 0;
  }
.recommend-item {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
.recommend-name {
    max-width: none;
    flex: 1 1 auto;
  }
.recommend-blurb {
    flex: 1 1 100%;
    -webkit-line-clamp: 3;
  }
.footer-inner {
    padding: 10px 10px 16px;
  }}
@media (max-width: 400px) {.timeline-rail {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 3px 7px;
  }}

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}
