:root {
  --bone: #ece7dd;
  --bone-dim: #c9c2b4;
  --bone-deep: #9d968a;
  --slate: #3d4753;
  --slate-deep: #232a33;
  --slate-void: #14181e;
  --steel: #5a6875;
  --glow: #b8c6d1;
  --line: #2f3841;
  --line-soft: #252c34;
  --ink: #d7d2c7;
  --ink-dim: #8b8579;
  --accent: #7f9aab;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--slate-void);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lights-off {
  background: #0a0c0f;
}
body.theater-mode {
  background: #08090c;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 30%, 40% 50%, 100% 70%, 0 100%, 30% 50%);
  flex: 0 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 24, 30, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.14em;
  text-decoration: none;
  position: relative;
  padding-left: 12px;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 18%, 30% 50%, 100% 82%, 0 100%);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--bone);
  border-color: var(--steel);
  background: var(--slate-deep);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 26px;
  display: block;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 20px;
  align-items: start;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--slate-deep);
  overflow: hidden;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(20, 24, 30, 0.85) 100%),
    linear-gradient(90deg, rgba(127, 154, 171, 0.12), transparent 40%);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}
.hero-player {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #000;
}
.hero-player video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--slate-deep);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 11px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--bone);
  border-color: var(--steel);
}
.ctrl-btn.is-active, .ctrl-btn.play, .ctrl-btn.pause {
  color: var(--slate-void);
  background: var(--bone);
  border-color: var(--bone);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  background: var(--bone);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.ctrl-progress::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  background: var(--bone);
  border-radius: 0;
}
.ctrl-volume {
  flex: 0 1 70px;
  min-width: 52px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  background: var(--steel);
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--steel);
}
.ctrl-speed {
  font-size: 11px;
  color: var(--ink-dim);
  background: var(--slate-void);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 4px;
  cursor: pointer;
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 34px;
  line-height: 1.1;
  color: var(--bone);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 8px;
}
.movie-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.08em;
  border-left: 2px solid var(--steel);
  padding-left: 9px;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  font-weight: 300;
}
.cast-strip {
  margin-top: 2px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  background: var(--slate-deep);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--steel);
  border-radius: 2px;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-dim);
  line-height: 1.35;
}
.synopsis-block {
  margin-top: 2px;
}
.synopsis-line {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--ink-dim);
  font-weight: 300;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  margin-bottom: 6px;
}
.synopsis-line:last-child {
  margin-bottom: 0;
}
.episode-status {
  margin-top: 2px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  font-size: 12px;
  font-weight: 300;
  color: var(--bone-dim);
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: var(--slate-deep);
  border-radius: 2px;
  white-space: nowrap;
}
.status-item:first-child {
  color: var(--slate-void);
  background: var(--bone);
  border-color: var(--bone);
  font-weight: 700;
}
.details-block {
  margin-top: 2px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: var(--slate-deep);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
}
.detail-value {
  font-size: 12px;
  font-weight: 400;
  color: var(--bone-dim);
  min-width: 0;
}
.timeline-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 22px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--steel), var(--line) 55%, var(--line-soft));
}
.timeline-item {
  position: relative;
  display: flex;
}
.timeline-node {
  position: absolute;
  left: -22px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--slate-deep);
  border: 1px solid var(--steel);
  clip-path: polygon(50% 0, 100% 38%, 68% 100%, 32% 100%, 0 38%);
}
.timeline-item:nth-child(odd) .timeline-node {
  background: var(--bone-dim);
  border-color: var(--bone);
}
.timeline-card {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1 1 auto;
  padding: 6px 10px;
  background: var(--slate-deep);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--steel);
  border-radius: 2px;
  min-width: 0;
}
.timeline-timecode {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--bone-dim);
  min-width: 0;
}
.timeline-item:nth-child(n + 5) .timeline-card {
  background: #1b2129;
  border-color: var(--line);
}
.timeline-item:nth-child(n + 5) .timeline-label {
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}
.episodes-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  padding: 8px 10px;
  background: var(--slate-deep);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--steel);
}
.episode-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.3;
}
.episode-number {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.episode-title {
  font-weight: 400;
  color: var(--bone);
  min-width: 0;
}
.episode-duration {
  margin-left: auto;
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-dim);
  white-space: nowrap;
}
.episode-summary {
  margin-top: 5px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink-dim);
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 120px;
  opacity: 1;
}
.episode-card.is-current {
  background: var(--bone);
  border-color: var(--bone);
}
.episode-card.is-current .episode-number, .episode-card.is-current .episode-title {
  color: var(--slate-deep);
}
.episode-card.is-current .episode-duration, .episode-card.is-current .episode-summary {
  color: #4d5560;
}
.episode-card.is-current .episode-summary {
  max-height: 120px;
  opacity: 1;
}
.comments-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px;
  background: var(--slate-deep);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  border-radius: 2px;
  min-width: 0;
}
.comment-nick {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink-dim);
}
.comment-long {
  border-left-color: var(--steel);
}
.comment-long .comment-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.2s;
}
.comment-long:hover .comment-text, .comment-long:focus-within .comment-text {
  -webkit-line-clamp: 10;
}
.rec-region {
  padding: 22px 0 0;
}
.rec-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.page-main > .rec-region + .rec-region {
  padding-top: 18px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--slate-deep);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
  transition: border-color 0.15s, background 0.15s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--steel);
  background: #1b2129;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--slate-void);
  filter: saturate(0.68) contrast(1.05);
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.02em;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.42;
  color: var(--ink-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--slate-deep);
  margin-top: 26px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-nav a {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--bone-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.footer-nav a:hover {
  color: var(--bone);
}
a[data-contract="footer-home"] {
  color: var(--bone);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--bone);
  text-decoration-color: var(--steel);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  padding-right: 8px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
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(--accent);
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: #6f6a60;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 960px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-visual {
    max-width: 520px;
  }
.episode-grid, .rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.header-inner {
    padding: 9px 14px;
  }
.page-main {
    padding: 0 14px 22px;
  }
.movie-title {
    font-size: 26px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }
.footer-inner {
    padding: 16px 14px 20px;
  }}
@media (max-width: 560px) {.episode-grid, .rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-visual {
    max-width: none;
  }
.episode-summary {
    max-height: 120px;
    opacity: 1;
  }
.timeline-card {
    flex-direction: column;
    gap: 2px;
  }
.ctrl-progress {
    flex-basis: 100%;
  }
.movie-title {
    font-size: 22px;
  }}
@media (max-width: 400px) {.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.status-item {
    font-size: 11px;
    padding: 4px 8px;
  }}

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}
