*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, figcaption, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
:root {
  --rust: #8c2f1c;
  --rust-deep: #5c1d10;
  --rust-bright: #c04a24;
  --lamp: #e7a93c;
  --lamp-soft: #f3c766;
  --night: #0d1a2b;
  --night-mid: #16273d;
  --night-soft: #22384f;
  --paper: #e8e0d0;
  --paper-dim: #b7ad9b;
  --line: rgba(231, 169, 60, 0.28);
  --hair: rgba(232, 224, 208, 0.16);
  --ink: #e8e0d0;
  --ink-dim: #9d9484;
  --shell-max: 1180px;
}
html {
  background: var(--night);
}
body {
  min-height: 100%;
  background:
    radial-gradient(1200px 520px at 15% -8%, rgba(192, 74, 36, 0.22), transparent 62%),
    radial-gradient(900px 420px at 92% 4%, rgba(34, 56, 79, 0.6), transparent 68%),
    linear-gradient(180deg, #0a1522 0%, #0d1a2b 42%, #0b1624 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-stretch: condensed;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body.lights-off {
  background: #04080e;
}
body.lights-off .hero-visual {
  filter: brightness(0.42) contrast(1.12);
}
body.lights-off .page-main {
  filter: saturate(0.86);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 15, 25, 0.96), rgba(11, 22, 36, 0.88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 8px 16px;
  min-height: 44px;
}
.site-logo {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp);
  padding-right: 12px;
  border-right: 1px solid var(--line);
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
a[data-contract="site-name"] {
  color: var(--lamp);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-strip {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  border: 1px solid var(--hair);
  background: rgba(34, 56, 79, 0.28);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--lamp);
  border-color: var(--lamp);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px 16px 40px;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lamp);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--rust-bright);
}
.block-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp-soft);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--rust-bright);
}
.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
  grid-template-areas:
    "visual info"
    "strip  strip";
  gap: 18px 22px;
  align-items: start;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--hair);
}
.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0b1624, #060d16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(6, 13, 22, 0) 0%, rgba(6, 13, 22, 0.82) 46%, rgba(6, 13, 22, 0.96) 100%);
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--lamp);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.hero-slogan {
  font-size: 13px;
  line-height: 1.55;
  color: var(--paper);
  border-left: 2px solid var(--rust-bright);
  padding-left: 8px;
}
.hero-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 4px;
}
.movie-title {
  font-size: clamp(24px, 4.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.16;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(140, 47, 28, 0.5);
}
.movie-tagline {
  font-size: 13px;
  color: var(--lamp-soft);
  letter-spacing: 0.05em;
  padding: 5px 10px;
  background: rgba(140, 47, 28, 0.24);
  border-left: 3px solid var(--rust-bright);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-dim);
  text-align: justify;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--hair);
}
.player-shell {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #060d16;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}
.player-shell.is-theater {
  border-color: var(--lamp);
  box-shadow: 0 0 0 1px rgba(231, 169, 60, 0.4), 0 16px 40px rgba(0, 0, 0, 0.6);
}
.player-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  line-height: 0;
}
.player-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #101f32, #0a1626);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  background: rgba(34, 56, 79, 0.5);
  border: 1px solid var(--hair);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.ctrl-btn:hover {
  color: var(--night);
  background: var(--lamp);
  border-color: var(--lamp);
}
.ctrl-btn.is-active, .ctrl-btn.play {
  color: var(--night);
  background: var(--lamp-soft);
  border-color: var(--lamp-soft);
}
.ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: var(--paper);
  background: var(--rust);
  border-color: var(--rust-bright);
}
.ctrl-btn.is-dimmed {
  opacity: 0.7;
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(232, 224, 208, 0.22);
  border-radius: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  margin-top: -5px;
  background: var(--lamp);
  border: none;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: rgba(232, 224, 208, 0.22);
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--lamp);
  border: none;
  border-radius: 0;
}
.ctrl-range.input {
  outline: none;
}
.cast-strip {
  grid-area: strip;
  border-top: 1px solid var(--hair);
  padding-top: 12px;
}
.strip-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--lamp);
  margin-bottom: 8px;
}
.cast-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
}
.cast-rail::-webkit-scrollbar {
  height: 6px;
}
.cast-rail::-webkit-scrollbar-track {
  background: rgba(232, 224, 208, 0.08);
}
.cast-rail::-webkit-scrollbar-thumb {
  background: var(--rust);
}
.cast-item {
  flex: 0 0 auto;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 60px;
}
.cast-avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(0.24) contrast(1.05);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.cast-name {
  font-size: 11.5px;
  line-height: 1.15;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 74px;
}
.synopsis-block {
  padding: 18px 0 4px;
  border-bottom: 1px solid var(--hair);
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
.synopsis-item {
  position: relative;
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-dim);
  padding-left: 20px;
  text-align: justify;
}
.synopsis-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 1px;
  background: var(--rust-bright);
}
.synopsis-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 7px;
  background: var(--lamp);
}
.episode-status {
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--hair);
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
}
.status-current {
  color: var(--night);
  background: var(--lamp);
  padding: 3px 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.status-total {
  color: var(--paper-dim);
  letter-spacing: 0.1em;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.details-block {
  padding: 16px 0 6px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--hair);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--lamp-soft);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper);
  margin: 0;
}
.timeline-section {
  padding: 22px 0 6px;
}
.timeline-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  position: relative;
  padding-top: 4px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 0 8px 0 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--rust-bright), rgba(231, 169, 60, 0.35));
}
.node-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp);
}
.node-tick {
  position: relative;
  z-index: 1;
  display: block;
  width: 3px;
  height: 14px;
  background: var(--lamp);
  box-shadow: 0 0 8px rgba(231, 169, 60, 0.5);
}
.timeline-node:nth-child(even) .node-tick {
  background: var(--rust-bright);
  box-shadow: 0 0 8px rgba(192, 74, 36, 0.5);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  padding-top: 4px;
}
.episodes-section {
  padding: 22px 0 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(22, 39, 61, 0.55);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--rust);
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: rgba(34, 56, 79, 0.6);
  border-left-color: var(--lamp);
}
.episode-number {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lamp);
  padding: 2px 6px;
  border: 1px solid var(--line);
  background: rgba(13, 26, 43, 0.7);
  white-space: nowrap;
}
.episode-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.56;
  color: var(--ink-dim);
  text-align: justify;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--lamp-soft);
  padding-top: 2px;
  border-top: 1px solid var(--hair);
}
.comments-section {
  padding: 22px 0 6px;
}
.comment-columns {
  columns: 2;
  column-gap: 20px;
  column-rule: 1px solid var(--hair);
}
.comment-item {
  break-inside: avoid;
  margin-bottom: 8px;
  padding: 7px 9px 8px;
  background: rgba(22, 39, 61, 0.42);
  border-left: 2px solid var(--line);
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lamp-soft);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  text-align: justify;
}
.recommend-region {
  padding: 20px 0 6px;
}
.region-title {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp);
  margin-bottom: 10px;
  padding: 3px 34px 3px 10px;
  background: rgba(140, 47, 28, 0.26);
  border-left: 3px solid var(--rust-bright);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.region-title::after {
  content: attr(data-recommendation-title);
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  letter-spacing: 0;
  opacity: 0;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--paper);
  text-decoration: none;
  background: rgba(22, 39, 61, 0.5);
  border: 1px solid var(--hair);
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.rec-card:hover {
  background: rgba(34, 56, 79, 0.72);
  border-color: var(--lamp);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(231, 169, 60, 0.16);
  filter: saturate(0.9) contrast(1.04);
}
a.rec-card .rec-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper);
  line-height: 1.35;
}
a.rec-card .rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 15, 25, 0.9), rgba(5, 10, 17, 0.98));
}
.footer-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lamp-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: var(--rust-bright);
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.66;
  color: var(--ink-dim);
  max-width: 720px;
  text-align: justify;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--hair);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lamp);
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 980px) {.hero-scene {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "info"
      "strip";
    gap: 16px;
  }
.hero-visual {
    max-width: 320px;
  }
.details-grid, .synopsis-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.region-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 12px 12px 32px;
  }
.header-bar {
    padding: 7px 12px;
    gap: 10px;
  }
.movie-title {
    font-size: 24px;
  }
.comment-columns {
    columns: 1;
    column-rule: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.timeline-node::before {
    display: none;
  }
.region-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }
.player-controls {
    gap: 4px;
  }
.ctrl-btn {
    padding: 4px 7px;
    font-size: 11px;
  }}
@media (max-width: 460px) {.hero-visual {
    max-width: 100%;
  }
.region-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.cast-figure {
    width: 54px;
  }
.cast-avatar {
    width: 54px;
    height: 54px;
  }
.status-line {
    font-size: 12px;
  }}

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}
