*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, p, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --copper: #b07343;
  --copper-bright: #d99a5e;
  --copper-dim: #7a5232;
  --deep: #0a1622;
  --deep-2: #0e1f30;
  --deep-3: #12293d;
  --ink: #e9e2d8;
  --ink-dim: #a7b2bd;
  --ink-faint: #6d7d8c;
  --line: rgba(176, 115, 67, 0.28);
  --line-soft: rgba(176, 115, 67, 0.14);
  --gap: 12px;
}
html, body { background: var(--deep); }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(1200px 500px at 80% -10%, rgba(176, 115, 67, 0.10), transparent 70%),
    radial-gradient(900px 600px at 5% 20%, rgba(30, 90, 130, 0.16), transparent 72%),
    linear-gradient(180deg, #081320 0%, #0a1622 40%, #081220 100%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 18, 30, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--copper-bright);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(217, 154, 94, 0.35);
}
a[data-contract="site-name"]:hover { color: #f0bd85; }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-dim);
  text-decoration: none;
  background: rgba(18, 41, 61, 0.5);
}
a.runtime-category:hover {
  color: var(--copper-bright);
  border-color: var(--copper);
  background: rgba(176, 115, 67, 0.14);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--copper);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--copper);
  margin-bottom: 8px;
  line-height: 1.3;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 2fr);
  gap: 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(150deg, rgba(18, 41, 61, 0.72), rgba(8, 18, 30, 0.92) 55%),
    repeating-linear-gradient(115deg, rgba(176, 115, 67, 0.05) 0 2px, transparent 2px 9px);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(176, 115, 67, 0.05) 0 1px, transparent 1px 6px);
  mask-image: linear-gradient(180deg, transparent 45%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 100%);
  opacity: 0.5;
}
.hero-media {
  position: relative;
  width: 100%;
  border: 1px solid var(--copper-dim);
  border-radius: 2px;
  overflow: hidden;
  background: #050d16;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.title-group {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}
.movie-title {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f3ece1;
  text-shadow: 0 0 24px rgba(176, 115, 67, 0.28);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--copper-bright);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  border-left: 2px solid var(--copper-dim);
  padding-left: 9px;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #04090f;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(18, 41, 61, 0.9), rgba(8, 18, 30, 0.95));
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  color: var(--ink-dim);
  background: rgba(176, 115, 67, 0.10);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover { color: var(--copper-bright); border-color: var(--copper); }
.player-btn.is-active, .player-btn.play.is-active, .player-btn.pause.is-active, .player-btn.mute.is-active, .player-btn.fullscreen.is-active, .player-btn.theater.is-active, .player-btn.light.is-active, .player-btn.pip.is-active, .player-btn.speed.is-active {
  color: #0a1622;
  background: var(--copper-bright);
  border-color: var(--copper-bright);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(176, 115, 67, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper-bright);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--copper-bright);
}
.player-volume {
  flex: 0 1 84px;
  min-width: 54px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(176, 115, 67, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-dim);
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--ink-dim);
}
.player-speed {
  font-size: 12px;
  padding: 4px 6px;
  color: var(--ink-dim);
  background: rgba(18, 41, 61, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 1px var(--copper-bright), 0 0 34px rgba(176, 115, 67, 0.35);
  background: #000;
}
.player-shell.lights-off {
  background: #000;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.95);
}
.player-shell.lights-off .player-controls {
  background: rgba(0, 0, 0, 0.9);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: 2px;
  color: var(--copper-bright);
  border: 1px solid var(--copper-dim);
  background: rgba(176, 115, 67, 0.12);
  white-space: nowrap;
}
.status-chip:nth-child(2) {
  color: var(--ink-dim);
  border-color: var(--line);
  background: rgba(18, 41, 61, 0.55);
}
.cast-strip { min-width: 0; }
.cast-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--copper-dim) transparent;
}
.cast-list::-webkit-scrollbar { height: 5px; }
.cast-list::-webkit-scrollbar-thumb { background: var(--copper-dim); border-radius: 3px; }
.cast-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(18, 41, 61, 0.75), rgba(10, 22, 34, 0.9));
  position: relative;
}
.cast-card::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--copper-dim);
  background: radial-gradient(circle at 35% 30%, rgba(217, 154, 94, 0.5), rgba(10, 22, 34, 0.2));
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding-top: 18px;
  white-space: nowrap;
}
.synopsis-panel { min-width: 0; }
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-dim);
  margin-bottom: 6px;
  text-align: justify;
}
.synopsis-para:last-child { margin-bottom: 0; }
.synopsis-para::first-letter { color: var(--copper-bright); }
.details-panel { min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 14px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.detail-key {
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  flex: 0 0 auto;
  min-width: 46px;
}
.detail-value {
  color: var(--ink);
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  letter-spacing: 0.02em;
}
.timeline-panel {
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(6, 14, 23, 0.95), rgba(12, 28, 43, 0.85));
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--copper-dim) transparent;
  position: relative;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--copper-dim); border-radius: 3px; }
.timeline-node {
  flex: 0 0 auto;
  width: 172px;
  scroll-snap-align: start;
  padding: 26px 10px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(18, 41, 61, 0.42);
  position: relative;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 12%;
  background: radial-gradient(circle at 34% 30%, var(--copper-bright), var(--copper-dim) 70%);
  box-shadow: 0 0 10px rgba(217, 154, 94, 0.5);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 24px;
  right: 10px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper-dim), transparent);
}
.node-timecode {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--copper-bright);
  margin-bottom: 4px;
}
.node-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.episodes-panel {
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0.7), rgba(8, 18, 30, 0.9));
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--copper-dim);
  border-radius: 2px;
  background: rgba(18, 41, 61, 0.34);
  position: relative;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-left-color: var(--copper-bright);
  background: rgba(24, 52, 76, 0.6);
  transform: translateX(2px);
}
.episode-number {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--copper-bright);
  margin-right: 8px;
  vertical-align: baseline;
}
.episode-title {
  display: inline;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  margin-top: 5px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 130px;
  opacity: 1;
  margin-top: 6px;
}
.episode-duration {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.comments-panel {
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(6, 14, 23, 0.9), rgba(12, 28, 43, 0.72));
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(18, 41, 61, 0.6), rgba(8, 18, 30, 0.85));
  box-shadow: 0 1px 0 rgba(217, 154, 94, 0.12), 0 6px 16px rgba(0, 0, 0, 0.4);
  position: relative;
}
.comment-card:nth-child(2n) { transform: translateY(4px); }
.comment-card:nth-child(3n) { transform: translateY(-3px); }
.comment-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10px;
  width: 22px;
  height: 2px;
  background: var(--copper);
}
.comment-nickname {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--copper-bright);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--ink-dim);
}
.rec-region {
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(10, 22, 34, 0.55);
}
.rec-region-1 { background: linear-gradient(180deg, rgba(18, 41, 61, 0.5), rgba(8, 18, 30, 0.85)); }
.rec-region-2 { background: linear-gradient(180deg, rgba(14, 31, 48, 0.6), rgba(8, 18, 30, 0.9)); }
.rec-region-3 { background: linear-gradient(180deg, rgba(176, 115, 67, 0.10), rgba(8, 18, 30, 0.9)); }
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-region-3 .rec-list {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.rec-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(6, 14, 23, 0.7);
  color: var(--ink);
  text-decoration: none;
  height: 100%;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--copper);
  background: rgba(18, 41, 61, 0.8);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.9) brightness(0.94);
  background: #04090f;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.4;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--copper-bright);
  border-bottom-color: var(--copper);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--copper);
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}
.site-footer nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--copper-bright);
  text-decoration: underline;
  text-decoration-color: var(--copper-dim);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 900px;
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.hero-media {
    max-width: 260px;
  }
.movie-title { font-size: 26px; }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 14px; }
.page-main { padding: 8px 10px 4px; gap: 10px; }
.header-inner { padding: 7px 10px; }
.hero-panel { padding: 10px; gap: 12px; }
.hero-media { max-width: 200px; }
.movie-title { font-size: 22px; }
.movie-tagline { font-size: 12.5px; }
.player-controls { gap: 5px; padding: 6px; }
.player-btn { font-size: 11px; padding: 3px 7px; }
.player-progress { flex: 1 1 100%; order: 10; }
.player-volume { flex: 1 1 70px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary { max-height: none; opacity: 1; margin-top: 6px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card:nth-child(2n), .comment-card:nth-child(3n) { transform: none; }
.rec-list, .rec-region-3 .rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 150px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.site-footer { padding: 12px 10px 22px; }}
@media (max-width: 380px) {.rec-list, .rec-region-3 .rec-list { grid-template-columns: minmax(0, 1fr); }}

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}
