:root {
  --bg: #2f3a3c;
  --bg-deep: #232d2f;
  --panel: rgba(19, 26, 28, 0.72);
  --panel-solid: #1c2527;
  --wax: #d9a83a;
  --wax-bright: #ecc257;
  --wax-dim: #8a6f2e;
  --ink: #d8dee0;
  --ink-soft: #9aa6a8;
  --ink-faint: #6f7d80;
  --rule: rgba(216, 222, 224, 0.14);
  --tint: rgba(217, 168, 58, 0.06);
  --radius: 3px;
  --radius-lg: 4px;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 18% 0%, rgba(217, 168, 58, 0.07), transparent 55%),
    radial-gradient(ellipse at 88% 12%, rgba(120, 150, 150, 0.09), transparent 60%),
    linear-gradient(180deg, #33403f 0%, #2b3638 45%, #232d2f 100%);
  color: var(--ink);
  font-family: var(--font-narrow);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input {
  font-family: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 37, 39, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wax);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--wax);
  padding-left: 9px;
}
a[data-contract="site-name"]:hover {
  color: var(--wax-bright);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  margin-left: auto;
}
a.runtime-category {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
a.runtime-category:hover {
  color: var(--wax);
  border-color: var(--wax-dim);
  background-color: var(--tint);
}
.movie-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wax);
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 3px solid var(--wax);
  line-height: 1.2;
}
.movie-overview {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #1a2224;
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.15;
}
.movie-tagline {
  font-size: 15px;
  color: var(--wax-bright);
  letter-spacing: 0.04em;
  padding-left: 10px;
  border-left: 2px solid var(--wax-dim);
  line-height: 1.5;
}
.movie-seo {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
}
.cast-strip {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 74px;
  flex: 0 0 auto;
}
.cast-avatar {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 34%, rgba(236, 194, 87, 0.5), transparent 58%),
    linear-gradient(160deg, #46585a 0%, #2b383a 70%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(48deg, rgba(217, 168, 58, 0.14) 0 2px, transparent 2px 7px);
}
.cast-name {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.synopsis-timeline-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.synopsis-panel, .timeline-panel {
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.synopsis-para {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 2em;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 14px 16px;
  border-left: 1px solid rgba(216, 222, 224, 0.16);
  align-items: baseline;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: var(--wax);
  border-radius: 1px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px rgba(217, 168, 58, 0.16);
}
.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--wax);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.episode-status-panel {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.status-line {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.status-current {
  color: var(--wax-bright);
  font-weight: 700;
  font-size: 17px;
  padding: 0 2px;
}
.status-total {
  color: var(--ink);
  font-weight: 700;
}
.player-frame {
  position: relative;
  width: 100%;
  max-width: 860px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #10181a;
  overflow: hidden;
}
.main-player {
  display: block;
  width: 100%;
  background: #0b1113;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(14, 20, 22, 0.94);
  border-top: 1px solid var(--rule);
}
.pctrl {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-soft);
  padding: 4px 9px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(216, 222, 224, 0.03);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.pctrl:hover {
  color: var(--wax);
  border-color: var(--wax-dim);
  background: var(--tint);
}
.pctrl-play {
  color: var(--wax-bright);
  border-color: var(--wax-dim);
  font-weight: 700;
}
.pctrl-progress {
  flex: 1 1 160px;
  min-width: 110px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(216, 222, 224, 0.14);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
}
.pctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 1px;
  background: var(--wax);
  cursor: pointer;
}
.pctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 1px;
  background: var(--wax);
  cursor: pointer;
}
.pctrl-volume {
  flex: 0 1 96px;
  min-width: 66px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(216, 222, 224, 0.14);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
}
.pctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: var(--wax);
  cursor: pointer;
}
.pctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 1px;
  background: var(--wax);
  cursor: pointer;
}
.pctrl.is-active {
  color: var(--wax-bright);
  border-color: var(--wax);
  background: rgba(217, 168, 58, 0.12);
}
.main-player.is-playing {
  outline: 1px solid var(--wax-dim);
  outline-offset: -1px;
}
.movie-page.is-theater .player-frame {
  max-width: none;
  border-color: var(--wax-dim);
}
.movie-page.is-dim .player-frame {
  filter: brightness(0.72);
}
.movie-page.is-dim .player-frame:hover {
  filter: brightness(1);
}
.details-panel {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 12px 7px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  min-width: 56px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}
.episodes-section {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num summ summ";
  column-gap: 10px;
  row-gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(19, 26, 28, 0.5);
  align-items: start;
}
.episode-number {
  grid-area: num;
  font-size: 15px;
  font-weight: 800;
  color: var(--wax-dim);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  padding-top: 1px;
  min-width: 18px;
  text-align: right;
}
.episode-title {
  grid-area: title;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  min-width: 0;
}
.episode-summary {
  grid-area: summ;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
}
.episode-duration {
  grid-area: dur;
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.episode-card.is-current {
  border-color: var(--wax);
  background: rgba(217, 168, 58, 0.08);
  box-shadow: inset 3px 0 0 var(--wax);
}
.episode-card.is-current .episode-number {
  color: var(--wax-bright);
}
.episode-card.is-current .episode-title {
  color: var(--wax-bright);
}
.recommend-region {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.region-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.region-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--wax);
  padding-left: 9px;
  border-left: 3px solid var(--wax);
  line-height: 1.2;
  min-width: 0;
}
.region-count {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.recommend-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--wax-dim) transparent;
  -webkit-overflow-scrolling: touch;
}
.recommend-strip::-webkit-scrollbar {
  height: 6px;
}
.recommend-strip::-webkit-scrollbar-track {
  background: rgba(216, 222, 224, 0.08);
  border-radius: 3px;
}
.recommend-strip::-webkit-scrollbar-thumb {
  background: var(--wax-dim);
  border-radius: 3px;
}
a.recommend-card {
  flex: 0 0 auto;
  width: 176px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(19, 26, 28, 0.55);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
  align-self: flex-start;
}
a.recommend-card:hover {
  border-color: var(--wax-dim);
  background: rgba(217, 168, 58, 0.07);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #1a2224;
  filter: saturate(0.85);
}
.recommend-thumb {
  display: block;
}
.recommend-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
a.recommend-card:hover .recommend-name {
  color: var(--wax-bright);
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-faint);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.comments-section {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.comment-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.comment-avatar {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 42% 36%, rgba(236, 194, 87, 0.42), transparent 60%),
    linear-gradient(150deg, #3f5052 0%, #263234 70%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.comment-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(52deg, rgba(217, 168, 58, 0.13) 0 2px, transparent 2px 6px);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wax);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.comment-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: justify;
}
.site-footer {
  background: rgba(20, 27, 29, 0.9);
  border-top: 1px solid var(--rule);
  margin-top: 10px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wax);
  font-weight: 700;
  padding-right: 10px;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--wax);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  padding-top: 11px;
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wax);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1080px) {.overview-hero {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.movie-title {
    font-size: 26px;
  }}
@media (max-width: 860px) {.synopsis-timeline-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.movie-page {
    padding: 14px 12px 32px;
    gap: 18px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 10px;
  }
.category-bar {
    margin-left: 0;
    width: 100%;
  }
.movie-overview {
    padding: 13px;
    gap: 16px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-wrap {
    max-width: 210px;
  }
.movie-title {
    font-size: 23px;
  }
.movie-tagline {
    font-size: 14px;
  }
.cast-card {
    width: 64px;
  }
.cast-avatar {
    width: 50px;
    height: 50px;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.pctrl {
    font-size: 11.5px;
    padding: 4px 7px;
  }
.pctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.pctrl-volume {
    flex: 1 1 80px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
a.recommend-card {
    width: 152px;
  }
.footer-inner {
    padding: 14px 12px;
  }}
@media (max-width: 460px) {.movie-title {
    font-size: 21px;
  }
.timeline-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 9px;
    padding-left: 13px;
  }
.episode-card {
    padding: 9px 10px;
  }
a.recommend-card {
    width: 138px;
  }
.friend-label {
    border-right: none;
    padding-right: 0;
    width: 100%;
  }}

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}
