:root {
  --ink: #0b0d0e;
  --ink-2: #12161a;
  --ink-3: #171d22;
  --stone: #1d2a33;
  --stone-2: #24343f;
  --stone-line: #33454f;
  --bronze: #b07a2e;
  --bronze-hi: #d9a44a;
  --bronze-dim: #7a5518;
  --gold: #e6c07a;
  --paper: #e8e2d6;
  --paper-dim: #b9b1a2;
  --muted: #7d8a92;
  --sharp: 2px;
  --edge: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --sans: "Heiti SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(29, 42, 51, 0.85) 0%, rgba(11, 13, 14, 0.96) 46%, rgba(11, 13, 14, 1) 100%),
    radial-gradient(1200px 420px at 12% -8%, rgba(176, 122, 46, 0.16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  padding-bottom: 0;
}
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--bronze-hi); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--bronze); color: #0b0d0e; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 17, 20, 0.97), rgba(13, 17, 20, 0.86));
  border-bottom: 1px solid var(--stone-line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 14px;
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid rgba(176, 122, 46, 0.28);
  border-right: 1px solid rgba(176, 122, 46, 0.28);
}
.brand-mark {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 2px 12px 2px 10px;
  border-left: 3px solid var(--bronze);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  background: linear-gradient(90deg, rgba(176, 122, 46, 0.18), transparent 82%);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark:hover { color: #f6dcae; }
.header-ledger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  padding: 3px 10px;
  border: 1px solid var(--stone-line);
  background: rgba(36, 52, 63, 0.5);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.runtime-category:hover {
  color: var(--ink);
  background: var(--bronze-hi);
  border-color: var(--bronze-hi);
}
.movie-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px 26px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-left: 11px;
  margin: 0 0 9px;
  border-left: 3px solid var(--bronze);
  line-height: 1.2;
}
.player-shell {
  position: relative;
  padding: 20px 0 14px;
  margin: 0 auto 18px;
  max-width: 1080px;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #05070a;
  border: 1px solid var(--stone-line);
  border-top: 2px solid var(--bronze-dim);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.6);
  clip-path: none;
}
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(23, 29, 34, 0.98), rgba(13, 17, 20, 0.98));
  border-top: 1px solid var(--stone-line);
}
.player-controls button {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: var(--paper-dim);
  background: rgba(36, 52, 63, 0.55);
  border: 1px solid var(--stone-line);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}
.player-controls button:hover { color: var(--gold); border-color: var(--bronze-dim); }
.player-controls button.is-active {
  color: var(--ink);
  background: var(--bronze-hi);
  border-color: var(--bronze-hi);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--stone-2);
  border: none;
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 90px;
  outline: none;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 15px;
  background: var(--bronze-hi);
  border: 1px solid var(--bronze-dim);
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: var(--bronze-hi);
  border: 1px solid var(--bronze-dim);
  cursor: pointer;
}
.player-controls input[type="range"]:first-of-type { flex: 3 1 200px; }
.player-controls input[type="range"]:last-of-type { flex: 1 1 80px; }
.player-controls select {
  cursor: pointer;
  font-size: 12px;
  padding: 4px 6px;
  color: var(--paper-dim);
  background: rgba(36, 52, 63, 0.55);
  border: 1px solid var(--stone-line);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.player-shell.is-theater { max-width: 1440px; }
.player-shell.is-lights-off .player-frame {
  box-shadow: 0 0 0 1px var(--bronze), 0 0 60px rgba(176, 122, 46, 0.25);
  border-color: var(--bronze);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(29, 42, 51, 0.62), rgba(18, 22, 26, 0.9)),
    var(--ink-2);
  border: 1px solid var(--stone-line);
  border-top: 2px solid var(--bronze-dim);
  border-left: 1px solid var(--bronze-dim);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.poster-frame {
  margin: 0;
  position: relative;
  border: 1px solid var(--stone-line);
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(176, 122, 46, 0.16), transparent 42%);
  mix-blend-mode: screen;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.movie-title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.18;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--bronze-hi);
  padding-left: 9px;
  border-left: 2px solid var(--bronze);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(51, 69, 79, 0.7);
}
.cast-panel { min-width: 0; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cast-card {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper);
  padding: 3px 10px;
  background: rgba(36, 52, 63, 0.72);
  border: 1px solid var(--stone-line);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.14s, background 0.14s;
}
.cast-card:hover { color: var(--ink); background: var(--bronze-hi); }
.synopsis-panel { min-width: 0; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  padding: 10px 12px;
  background: rgba(11, 13, 14, 0.45);
  border-left: 2px solid var(--stone-line);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--paper-dim);
  text-align: justify;
}
.episode-status-panel { min-width: 0; }
.status-line {
  font-size: 13px;
  color: var(--paper-dim);
  padding: 7px 11px;
  background: rgba(176, 122, 46, 0.1);
  border-left: 3px solid var(--bronze);
  letter-spacing: 0.04em;
}
.status-value {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--bronze-hi);
  letter-spacing: 0.03em;
}
.status-sep { color: var(--bronze-dim); margin: 0 6px; }
.details-panel { min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(51, 69, 79, 0.6);
  border: 1px solid var(--stone-line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(18, 22, 26, 0.92);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.detail-item dd {
  font-size: 12.5px;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin: 22px 0;
  padding: 16px 14px 20px;
  background: linear-gradient(180deg, rgba(29, 42, 51, 0.5), rgba(11, 13, 14, 0.6));
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  padding-top: 26px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--bronze-dim), var(--bronze-hi) 45%, var(--bronze-dim));
}
.timeline-node {
  position: relative;
  padding: 0 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--bronze-hi);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 2px rgba(176, 122, 46, 0.3);
  transform: rotate(45deg);
}
.node-time {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--bronze-hi);
  letter-spacing: 0.06em;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.episodes-section { margin: 0 0 22px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: linear-gradient(160deg, rgba(29, 42, 51, 0.7), rgba(18, 22, 26, 0.95));
  border: 1px solid var(--stone-line);
  border-top: 2px solid var(--bronze-dim);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: border-color 0.15s, transform 0.15s;
}
.episode-card:hover {
  border-color: var(--bronze);
  border-top-color: var(--bronze-hi);
}
.episode-number {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bronze-hi);
}
.episode-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper);
  line-height: 1.25;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: justify;
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  padding: 1px 7px;
  border: 1px solid var(--stone-line);
  background: rgba(36, 52, 63, 0.5);
}
.comments-section { margin: 0 0 24px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 9px 12px 9px 15px;
  background: rgba(23, 29, 34, 0.92);
  border: 1px solid var(--stone-line);
  border-left: 3px solid var(--bronze-dim);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: border-left-color 0.15s, transform 0.15s;
}
.comment-card:hover { border-left-color: var(--bronze-hi); transform: translateX(2px); }
.comment-card:nth-child(even) { margin-left: 14px; }
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bronze-hi);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-dim);
}
.recommend-section { margin: 0 0 20px; }
.recommend-rail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-rail::-webkit-scrollbar { height: 6px; }
.recommend-rail::-webkit-scrollbar-track { background: var(--ink-2); }
.recommend-rail::-webkit-scrollbar-thumb { background: var(--bronze-dim); }
.recommend-rail::-webkit-scrollbar-thumb:hover { background: var(--bronze-hi); }
.recommend-card {
  flex: 0 0 auto;
  width: 208px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 8px;
  background: linear-gradient(170deg, rgba(29, 42, 51, 0.72), rgba(18, 22, 26, 0.96));
  border: 1px solid var(--stone-line);
  border-top: 2px solid var(--bronze-dim);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s;
}
.recommend-card:hover { border-color: var(--bronze-hi); border-top-color: var(--bronze-hi); }
.recommend-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #000;
  border: 1px solid rgba(51, 69, 79, 0.8);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.site-footer {
  margin-top: 8px;
  padding: 18px 14px 24px;
  background: linear-gradient(180deg, rgba(18, 22, 26, 0.9), var(--ink));
  border-top: 2px solid var(--bronze-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  max-width: 1440px;
  margin: 0 auto 12px;
}
.footer-label {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--bronze-hi);
  padding-right: 10px;
  border-right: 1px solid var(--stone-line);
}
.runtime-friend-link {
  font-size: 12px;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.runtime-friend-link:hover { color: var(--bronze-hi); border-bottom-color: var(--bronze-hi); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 69, 79, 0.7);
}
.footer-meta a {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--bronze-hi);
  text-decoration: none;
}
.footer-meta a:hover { color: var(--gold); text-decoration: underline; }
.footer-disclaimer {
  max-width: 1440px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.6;
  color: #5f6a71;
}
@media (max-width: 1024px) {.movie-overview { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 768px) {body { font-size: 13.5px; }
.movie-main { padding: 0 10px 20px; }
.header-bar { padding: 7px 10px; gap: 12px; }
.brand-mark { font-size: 18px; }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }
.poster-frame { max-width: 240px; }
.movie-title { font-size: 22px; }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
.timeline-track::before { display: none; }
.timeline-node { padding-top: 14px; }
.timeline-node::before { top: 0; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card:nth-child(even) { margin-left: 0; }
.recommend-card { width: 176px; }}
@media (max-width: 560px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
.player-controls { gap: 5px; padding: 6px 7px; }
.player-controls input[type="range"]:first-of-type { flex: 1 1 100%; order: -1; }
.player-controls input[type="range"]:last-of-type { flex: 1 1 60px; }
.player-controls button { padding: 4px 8px; }
.recommend-card { width: 152px; }
.movie-title { font-size: 20px; }
.footer-nav { gap: 5px 10px; }}
@media (max-width: 400px) {.recommend-card { width: 138px; }
.player-controls button { font-size: 11.5px; 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}
