*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, figure, ol {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
:root {
  --ink: #20272f;
  --ink-soft: #4a5563;
  --paper: #eef1f4;
  --paper-warm: #f4f0e9;
  --board: #2b333c;
  --chalk: #e8ecef;
  --cold: #7d93a8;
  --cold-deep: #4a5b6c;
  --warm: #e68a3c;
  --warm-deep: #c96a24;
  --line: #c3ccd4;
  --shadow: 0 1px 0 rgba(32, 39, 47, 0.08), 0 6px 18px rgba(32, 39, 47, 0.08);
  --gap: 10px;
  --radius: 4px;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e7ecf0 0%, #eef1f4 260px, #eef1f4 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 241, 244, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cold-deep);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--warm);
  padding-bottom: 1px;
}
a[data-contract="site-name"]:hover {
  color: var(--warm-deep);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fa;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--cold-deep);
  border-color: var(--cold-deep);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  align-items: stretch;
}
.poster-figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  background: var(--board);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(32, 39, 47, 0.28);
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.poster-figure::before {
  content: "";
  pointer-events: none;
}
.poster-caption {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--chalk);
  background: linear-gradient(90deg, #232a32, #333d48);
  padding: 6px 8px;
  border-top: 1px dashed rgba(232, 236, 239, 0.28);
}
.countdown-strip {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07), transparent 60%),
    #262e37;
  border: 1px solid #1b222a;
  border-radius: var(--radius);
  padding: 8px 6px 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.countdown-digit {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: var(--warm);
  text-shadow: 0 0 10px rgba(230, 138, 60, 0.4);
  font-variant-numeric: tabular-nums;
}
.countdown-unit {
  font-size: 12px;
  color: rgba(232, 236, 239, 0.72);
  margin-left: 2px;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-weight: 800;
}
.movie-title::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--warm), rgba(230, 138, 60, 0));
}
.movie-tagline {
  font-size: 13.5px;
  color: var(--warm-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.movie-seo-description {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  border-left: 3px solid var(--cold);
  padding-left: 9px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 7px 10px;
  background: #e9eef2;
  border-radius: var(--radius);
  border: 1px solid #d6dee5;
}
.status-line {
  font-size: 13px;
  color: var(--ink-soft);
}
.status-number {
  color: var(--warm-deep);
  font-size: 15px;
  font-weight: 800;
}
.status-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 12.5px;
  color: var(--cold-deep);
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.progress-current {
  font-weight: 700;
  color: var(--ink);
}
.progress-total {
  color: var(--cold);
}
.detail-grid {
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  color: var(--cold);
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
  margin: 0;
  overflow-wrap: anywhere;
}
.player-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #12171c;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(18, 23, 28, 0.3);
}
.movie-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #232c35, #1a2129);
  border-top: 1px solid #2f3a45;
}
.player-btn {
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  color: var(--chalk);
  background: #2f3a45;
  border: 1px solid #3c4956;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: #3c4956;
}
.player-btn.is-playing, .player-btn.is-active {
  background: var(--warm);
  border-color: var(--warm-deep);
  color: #1d1206;
  font-weight: 700;
}
.player-btn.is-muted {
  background: var(--cold-deep);
  border-color: var(--cold-deep);
  color: #fff;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: #48545f;
  border-radius: 999px;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm);
  border: 2px solid #1a2129;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #1a2129;
  border-radius: 50%;
  background: var(--warm);
}
.player-wrapper.theater-mode {
  box-shadow: 0 0 0 2px var(--warm), 0 10px 26px rgba(18, 23, 28, 0.45);
}
.player-wrapper.lights-off {
  background: #05080b;
}
.player-wrapper.lights-off .player-controls {
  background: #0c1116;
  border-top-color: #1a2129;
}
.synopsis-block {
  min-width: 0;
}
.section-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.chalk-heading {
  position: relative;
  color: var(--chalk);
  background:
    linear-gradient(180deg, #333c46, #2b333c);
  border-radius: 3px;
  padding: 5px 10px 6px 12px;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "PingFang SC", "Microsoft YaHei", cursive;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 0 6px rgba(232, 236, 239, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.chalk-heading::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  bottom: 7px;
  width: 2px;
  background: var(--warm);
  border-radius: 2px;
}
.synopsis-body {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px 18px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.66;
  color: var(--ink-soft);
  text-indent: 2em;
}
.cast-block {
  min-width: 0;
}
.cast-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px 10px;
  margin-top: 6px;
  scroll-snap-type: x proximity;
  border-top: 1px dashed var(--line);
  -webkit-overflow-scrolling: touch;
}
.cast-scroll::-webkit-scrollbar {
  height: 6px;
}
.cast-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.cast-card {
  flex: 0 0 auto;
  width: 132px;
  scroll-snap-align: start;
  background: #fdfefe;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 7px;
  box-shadow: 0 1px 0 rgba(32, 39, 47, 0.05);
}
.cast-photo {
  position: relative;
  height: 96px;
  border-radius: 2px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 6px, transparent 6px 12px),
    linear-gradient(160deg, var(--cold) 0%, var(--cold-deep) 62%, #38434f 100%);
  border: 1px solid #93a6b6;
  overflow: hidden;
}
.cast-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 62px;
  height: 62px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(238, 241, 244, 0.22);
  box-shadow: 0 -26px 0 -12px rgba(238, 241, 244, 0.28);
}
.cast-id-label {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #26313b;
  background: var(--warm);
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
}
.cast-name {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.cast-role {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--cold-deep);
}
.timeline-block {
  min-width: 0;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px 14px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 0;
  border-top: 1px solid #b9c4cd;
}
.timeline-node {
  position: relative;
  min-width: 0;
  padding-top: 14px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--board);
  box-shadow: 0 0 0 3px #f6f8f9;
}
.timeline-timecode {
  display: inline-block;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "PingFang SC", "Microsoft YaHei", cursive;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--warm-deep);
  border-bottom: 1px dashed rgba(201, 106, 36, 0.45);
  padding-bottom: 1px;
}
.timeline-label {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.timeline-node-crack::before {
  background: transparent;
  border: 2px solid var(--warm);
  box-shadow: 0 0 0 3px #f6f8f9;
}
.timeline-node-crack .timeline-timecode {
  color: #a4421a;
}
.timeline-node-crack .timeline-label {
  color: #8c4a22;
}
.timeline-crack-mark {
  display: inline-block;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--warm);
  padding: 1px 6px;
  border-radius: 2px;
  position: relative;
}
.timeline-crack-mark::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--warm) 0 2px, transparent 2px 4px);
}
.episodes-block {
  min-width: 0;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.episode-card {
  min-width: 0;
}
.episode-drawer {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px 9px 12px;
  background: linear-gradient(180deg, #fdfaf4, #f0ece3);
  border: 1px solid #cfc7b6;
  border-left: 3px solid var(--warm);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.episode-drawer::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: #b9b1a1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}
.episode-number {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cold-deep);
  background: #e3e9ee;
  padding: 1px 7px;
  border-radius: 999px;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  padding-right: 26px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  color: var(--warm-deep);
  font-variant-numeric: tabular-nums;
  border-top: 1px dashed #cfc7b6;
  padding-top: 4px;
  margin-top: 2px;
  width: 100%;
}
.comments-block {
  min-width: 0;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px 14px;
}
.comments-columns {
  column-count: 2;
  column-gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.comment-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 9px;
  padding: 8px 10px;
  background: #fffbe9;
  border: 1px solid #e2d9b8;
  border-radius: 2px;
  box-shadow: 1px 2px 0 rgba(32, 39, 47, 0.08);
}
.comment-card:nth-child(2n) {
  background: #eef4f8;
  border-color: #c8d6e0;
  transform: rotate(-0.35deg);
}
.comment-card:nth-child(3n) {
  background: #fdf1e6;
  border-color: #e8cdb3;
  transform: rotate(0.4deg);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--cold-deep);
  letter-spacing: 0.02em;
}
.comment-nickname::before {
  content: "— ";
  color: var(--warm);
}
.comment-text {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-soft);
}
.recommendation-shelf {
  min-width: 0;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 11px 14px 13px;
}
.shelf-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #c9d3db;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  background: #fdfefe;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.recommendation-card:hover {
  border-color: var(--warm);
  box-shadow: 0 4px 12px rgba(230, 138, 60, 0.22);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #d6dee5;
  border-radius: 1px;
  filter: saturate(0.86) contrast(1.04);
}
.recommendation-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
a.recommendation-card:hover .recommendation-name {
  color: var(--warm-deep);
}
.recommendation-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--cold-deep);
}
.site-footer {
  margin-top: 4px;
  background: linear-gradient(180deg, #2b333c, #222932);
  color: rgba(232, 236, 239, 0.82);
  padding: 16px 14px 22px;
  border-top: 3px solid var(--warm);
}
.site-footer > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(232, 236, 239, 0.62);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px dashed rgba(232, 236, 239, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"] {
  color: #f0b47a;
}
a[data-contract="footer-sitemap"] {
  color: #a9c2d6;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--warm);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(232, 236, 239, 0.14);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--warm);
  font-weight: 700;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(232, 236, 239, 0.72);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid rgba(232, 236, 239, 0.16);
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: #1d1206;
  background: var(--warm);
  border-color: var(--warm-deep);
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-track::before {
    display: none;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 260px;
  }
.comments-columns {
    column-count: 1;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {.page-main {
    padding: 10px 10px 22px;
    gap: 12px;
  }
.movie-overview, .timeline-block, .episodes-block, .comments-block, .recommendation-shelf {
    padding: 10px;
  }
.movie-title {
    font-size: 21px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.shelf-row {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.player-btn {
    font-size: 11.5px;
    padding: 4px 7px;
  }
.player-range {
    flex: 1 1 100%;
  }}
@media (max-width: 420px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.shelf-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.poster-column {
    max-width: 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}
