:root {
  --earth: #b98a4f;
  --ochre: #8a5a2b;
  --sienna: #6b3f22;
  --deep: #0d1a1f;
  --deep-2: #11262c;
  --teal: #1d4a52;
  --teal-deep: #16363c;
  --ink: #10171a;
  --sand: #d9c7a8;
  --bone: #e8e0d2;
  --muted: #8b8a80;
  --line: #2a3a3e;
  --line-soft: #24322f;
  --highlight: #f0e6d2;
  --gap-xs: 4px;
  --gap-sm: 8px;
  --gap-md: 12px;
  --gap-lg: 20px;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    linear-gradient(180deg, #0b1417 0%, #0e1c20 40%, #0b1417 100%);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, p, figure, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 17, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--highlight);
  text-decoration: none;
  border-left: 3px solid var(--ochre);
  padding-left: 10px;
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--earth);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: #0f1d21;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
a.runtime-category:hover {
  color: var(--highlight);
  border-color: var(--ochre);
  background: #16282c;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: start;
  background:
    linear-gradient(160deg, #132327 0%, #0d1a1e 55%, #101d1f 100%);
  border: 1px solid var(--line);
  padding: 16px;
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      118deg,
      rgba(185, 138, 79, 0.05) 0px,
      rgba(185, 138, 79, 0.05) 1px,
      transparent 1px,
      transparent 26px
    );
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  min-width: 0;
}
.poster-frame {
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  background: #0a1215;
  padding: 6px;
}
.poster-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border: 1px solid #1d2c30;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.poster-caption {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--sand);
  background: rgba(10, 18, 21, 0.78);
  border-top: 1px solid rgba(185, 138, 79, 0.4);
  padding: 4px 8px;
  text-align: center;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #05090b;
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05090b;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 9px;
  background: linear-gradient(180deg, #0e1c20, #0a1417);
  border-top: 1px solid var(--line);
}
.ctl {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--sand);
  background: #14262a;
  border: 1px solid #24413f;
  padding: 4px 8px;
  line-height: 1.35;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}
.ctl:hover {
  color: var(--highlight);
  border-color: var(--ochre);
  background: #1b3236;
}
.ctl-play {
  background: var(--ochre);
  border-color: var(--earth);
  color: #1a1206;
  font-weight: 700;
}
.ctl-play:hover {
  background: var(--earth);
  color: #140d04;
}
.ctl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 6px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--earth);
}
.ctl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 6px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--teal);
}
.ctl-speed {
  padding: 4px 6px;
  background: #14262a;
  border: 1px solid #24413f;
  color: var(--sand);
  font-size: 11px;
}
.ctl-light, .ctl-theater {
  border-color: #3a2e1c;
}
.player-shell.is-theater {
  outline: 1px solid var(--earth);
  box-shadow: 0 0 0 1px rgba(185, 138, 79, 0.35), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  background: #000;
  border-top-color: #1a1a1a;
}
.ctl-play.is-playing {
  background: var(--teal);
  border-color: #2c6a6f;
  color: var(--highlight);
}
.ctl.is-active {
  background: var(--teal-deep);
  border-color: var(--teal);
  color: var(--highlight);
}
.ctl.is-muted {
  color: #d98a6a;
  border-color: #6a3a2c;
}
.ctl.play, .ctl.pause, .ctl.mute, .ctl.volume, .ctl.progress, .ctl.speed, .ctl.pip, .ctl.fullscreen, .ctl.theater, .ctl.light, .ctl.input, .ctl.change, .ctl.click, .ctl.timeupdate {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  min-width: 0;
}
.movie-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--highlight);
  line-height: 1.15;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.movie-tagline {
  font-size: 13px;
  color: var(--earth);
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding-left: 10px;
  border-left: 2px solid var(--ochre);
}
.block-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--sand);
  text-transform: uppercase;
  margin-bottom: var(--gap-sm);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.cast-block {
  min-width: 0;
}
.cast-track {
  display: flex;
  gap: var(--gap-sm);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--ochre) transparent;
}
.cast-track::-webkit-scrollbar {
  height: 6px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: var(--ochre);
}
.cast-card {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}
.cast-figure {
  width: 100%;
  border: 1px solid var(--line);
  background: #0a1215;
  padding: 3px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) contrast(1.05) brightness(0.92);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: #c9c1b1;
  text-align: justify;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 1px solid #23343a;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  border: 1px solid var(--line);
  background: #0f1e22;
  padding: 10px 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.status-line {
  font-size: 15px;
  font-weight: 700;
  color: var(--earth);
  letter-spacing: 0.06em;
}
.status-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 3px;
  font-family: var(--mono);
}
.details-block {
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap-md);
}
.detail-row {
  display: flex;
  gap: var(--gap-sm);
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dotted #223135;
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--bone);
  min-width: 0;
  word-break: break-word;
}
.panel-head {
  display: flex;
  align-items: baseline;
  gap: var(--gap-sm);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.panel-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--highlight);
  border-left: 3px solid var(--ochre);
  padding-left: 9px;
  line-height: 1.2;
}
.panel-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--earth);
  border: 1px solid #3a2e1c;
  padding: 1px 7px;
  background: #16120a;
  white-space: nowrap;
}
.episodes-panel {
  border: 1px solid var(--line);
  background: #0c191d;
  padding: 12px 14px 14px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap-lg);
}
.episode-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: center;
  gap: 2px var(--gap-sm);
  padding: 7px 0;
  border-bottom: 1px solid #1b2a2e;
  min-width: 0;
}
.episode-row::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 12px;
  width: 3px;
  height: 3px;
  background: var(--ochre);
}
.episode-number {
  grid-area: num;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--earth);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11px;
  line-height: 1.5;
  color: #9aa0a0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.22s ease, opacity 0.18s ease, margin 0.22s ease;
}
.episode-row:hover .episode-summary, .episode-row:focus-within .episode-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 3px;
  color: #b9bcb6;
}
.episode-row:hover {
  background: #101f23;
}
.timeline-panel {
  border: 1px solid var(--line);
  background: #0b171a;
  padding: 12px 14px 14px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap-lg);
  position: relative;
}
.timeline-node {
  display: grid;
  grid-template-columns: auto 22px 1fr;
  align-items: baseline;
  gap: 4px var(--gap-sm);
  padding: 6px 0 6px 2px;
  border-bottom: 1px solid #1b2a2e;
  position: relative;
  min-width: 0;
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--earth);
  white-space: nowrap;
}
.timeline-marker {
  font-size: 13px;
  color: var(--teal);
  text-align: center;
  line-height: 1;
  text-shadow: 0 0 6px rgba(29, 74, 82, 0.9);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: #c2bcae;
  min-width: 0;
}
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: start;
}
.comments-panel {
  border: 1px solid var(--line);
  background: #0c191d;
  padding: 12px 14px 14px;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-card {
  background: #101f23;
  border-left: 2px solid #2c4a4e;
  padding: 7px 10px;
}
.comment-card:nth-child(odd) {
  background: #0e1b1f;
}
.comment-card:hover {
  border-left-color: var(--ochre);
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--earth);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #b6b1a4;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  min-width: 0;
}
.recommend-region {
  border: 1px solid var(--line);
  background: #0c191d;
  padding: 12px 14px 14px;
}
.region-head {
  display: flex;
  align-items: baseline;
  gap: var(--gap-sm);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 5px;
  margin-bottom: 9px;
}
.region-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--sand);
  text-transform: uppercase;
  line-height: 1.25;
}
.region-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--earth);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-sm);
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: #0f1e22;
  border: 1px solid #1e2f33;
  padding: 5px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
a.recommend-card:hover {
  border-color: var(--ochre);
  background: #14262b;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid #1c2b2f;
  filter: saturate(0.8) brightness(0.92);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #080f11;
  padding: 16px 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: var(--gap-md) var(--gap-lg);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: #6f7370;
  letter-spacing: 0.03em;
  max-width: 62ch;
}
.footer-nav {
  display: flex;
  gap: var(--gap-md);
  align-items: center;
  justify-content: flex-end;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 3px 0;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"] {
  color: var(--earth);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--highlight);
  border-bottom-color: var(--earth);
}
a[data-contract="footer-sitemap"] {
  color: var(--teal);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: #4f9aa2;
  border-bottom-color: var(--teal);
}
.friend-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  border-top: 1px solid #14201f;
  padding-top: 10px;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border-right: 1px solid #24322f;
  padding-right: 10px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #7f8a86;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px dotted #2a3a3a;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--sand);
  border-bottom-color: var(--ochre);
}
@media (max-width: 1000px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 340px;
  }
.split-layout {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 760px) {.page-main {
    padding: 12px 12px 22px;
    gap: 16px;
  }
.episode-list, .timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    flex-basis: 72px;
  }
.movie-title {
    font-size: 24px;
  }
.site-footer {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 12px 20px;
  }
.footer-nav {
    justify-content: flex-start;
  }}
@media (max-width: 560px) {.header-inner {
    padding: 8px 12px;
    gap: var(--gap-md);
  }
.poster-frame {
    max-width: none;
  }
.region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 5px;
    padding: 7px 6px 8px;
  }
.ctl {
    font-size: 10px;
    padding: 3px 6px;
  }
.ctl-progress {
    flex-basis: 100%;
    order: 3;
  }}
@media (max-width: 380px) {.region-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    flex-basis: 84px;
  }}
@media (hover: none) {.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 3px;
    color: #9aa0a0;
  }}

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}
