*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, 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, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --bg-deep: #14181f;
  --bg-panel: #1b2028;
  --bg-panel-2: #20262f;
  --bg-light: #e8eaed;
  --bg-light-2: #f2f3f5;
  --ink: #dfe3e8;
  --ink-dim: #8b939e;
  --ink-dark: #1a1e24;
  --ink-dark-dim: #5b6470;
  --line: #2c333d;
  --line-light: #d3d7dc;
  --orange: #e07b39;
  --orange-soft: #f0a068;
  --orange-glow: rgba(224, 123, 57, 0.18);
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --cond: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 24, 31, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--orange);
  text-decoration: none;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
}
a[data-contract="site-name"]:hover { color: var(--orange-soft); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-glow);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.85fr);
  gap: 22px;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  align-self: start;
}
.poster-frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #0d1015;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 31, 0) 42%, rgba(20, 24, 31, 0.72) 100%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-family: var(--cond);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #f4f6f8;
}
.movie-tagline {
  font-size: 13.5px;
  color: var(--orange-soft);
  line-height: 1.5;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
  letter-spacing: 0.02em;
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-player video {
  background: #000;
  border-radius: 3px;
  border: 1px solid var(--line);
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.ctl {
  font-size: 11.5px;
  font-family: var(--sans);
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctl:hover { color: var(--ink); border-color: #3a424e; }
.ctl.is-active, .ctl.play, .ctl.mute, .ctl.pip, .ctl.fullscreen, .ctl.theater, .ctl.light, .ctl.speed, .ctl.volume, .ctl.progress {
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctl.is-active {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-glow);
}
.ctl-play { color: var(--orange); border-color: rgba(224, 123, 57, 0.5); }
.ctl-play.is-active { background: var(--orange); color: #14181f; }
.ctl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #2c333d;
  border: 0;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  border: 0;
  cursor: pointer;
}
.ctl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  border: 0;
  cursor: pointer;
}
.ctl-volume {
  flex: 0 1 70px;
  min-width: 52px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #2c333d;
  border: 0;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
}
.ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-dim);
  border: 0;
  cursor: pointer;
}
.ctl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-dim);
  border: 0;
  cursor: pointer;
}
.ctl-speed { padding: 4px 6px; }
.ctl-speed option { background: var(--bg-panel-2); color: var(--ink); }
body.theater-mode .hero-player video { border-radius: 0; }
body.lights-dimmed .hero-media, body.lights-dimmed .hero-info { opacity: 0.72; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-score {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.meta-year, .meta-region, .meta-genre {
  font-size: 12.5px;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}
.meta-genre { color: #a9b1bc; }
.status-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 2px;
  padding: 9px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
}
.status-heading {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.status-line {
  font-size: 13px;
  color: var(--ink);
}
.status-num {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--orange);
  font-size: 14px;
}
.status-platform {
  font-size: 12px;
  color: var(--ink-dim);
  margin-left: auto;
  letter-spacing: 0.04em;
}
.cast-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px 12px;
}
.cast-heading {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px 12px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #4a545f 0%, #232a33 72%);
  border: 1px solid #39414c;
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(224, 123, 57, 0.55), rgba(224, 123, 57, 0.05));
}
.cast-name {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cast-role-tag {
  font-size: 10.5px;
  color: var(--orange-soft);
  border: 1px solid rgba(224, 123, 57, 0.42);
  border-radius: 2px;
  padding: 0 5px;
  line-height: 1.6;
  white-space: nowrap;
  background: var(--orange-glow);
}
.synopsis-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
}
.synopsis-heading {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #eef1f4;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.synopsis-columns {
  column-count: 2;
  column-gap: 24px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: #b6bdc7;
  margin-bottom: 9px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-para:last-child { margin-bottom: 0; }
.synopsis-para::first-letter {
  font-family: var(--cond);
  font-weight: 800;
  color: var(--orange-soft);
}
.details-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
}
.details-heading {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 0 20px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #2a313a;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  min-width: 48px;
}
.detail-value {
  font-size: 12.5px;
  color: #cdd3da;
  min-width: 0;
  overflow-wrap: anywhere;
}
.section-heading {
  font-family: var(--cond);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: #f0f2f5;
  padding-left: 11px;
  border-left: 4px solid var(--orange);
  margin-bottom: 13px;
  line-height: 1.2;
}
.timeline-section {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0 30px;
}
.timeline-item {
  position: relative;
  padding: 7px 0 7px 20px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(224, 123, 57, 0.16);
}
.timeline-code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--orange-soft);
  letter-spacing: 0.02em;
}
.timeline-label {
  font-size: 13px;
  color: #b6bdc7;
  line-height: 1.6;
}
.episodes-section {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.episode-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(172px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-rail::-webkit-scrollbar { height: 6px; }
.episode-rail::-webkit-scrollbar-track { background: #1a1f26; border-radius: 3px; }
.episode-rail::-webkit-scrollbar-thumb { background: #39414c; border-radius: 3px; }
.episode-card {
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: rgba(224, 123, 57, 0.55);
  background: var(--bg-panel-2);
}
.episode-number {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  color: rgba(224, 123, 57, 0.85);
  line-height: 1;
  letter-spacing: -0.02em;
}
.episode-title {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 800;
  color: #eef1f4;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: #99a1ac;
  flex: 1 1 auto;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  padding-top: 5px;
  border-top: 1px solid var(--line);
}
.comments-section {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.comment-columns {
  column-count: 2;
  column-gap: 14px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 11px 10px;
  margin-bottom: 14px;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-soft);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.comment-nickname::before {
  content: "▍";
  color: rgba(224, 123, 57, 0.6);
  margin-right: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #aab2bc;
}
.rec-section {
  padding: 26px 0 4px;
}
.rec-section:last-child { padding-bottom: 20px; }
.rec-section[data-recommendation-region="1"], .rec-section[data-recommendation-region="2"], .rec-section[data-recommendation-region="3"] {
  background: var(--bg-light);
  color: var(--ink-dark);
  margin: 22px -18px 0;
  padding: 20px 18px 22px;
}
.rec-section[data-recommendation-region="1"] .section-heading, .rec-section[data-recommendation-region="2"] .section-heading, .rec-section[data-recommendation-region="3"] .section-heading {
  color: var(--ink-dark);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 7px;
  text-decoration: none;
  color: var(--ink-dark);
  min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(26, 30, 36, 0.14);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #d8dbe0;
  display: block;
}
.rec-name {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-dark);
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dark-dim);
}
.site-footer {
  background: #10141a;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #6d7681;
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #a9b1bc;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: var(--orange); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-family: var(--cond);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6d7681;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8b939e;
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid #262c35;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--orange-soft);
  border-color: rgba(224, 123, 57, 0.5);
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.hero-media {
    max-width: 260px;
  }
.synopsis-columns { column-count: 1; column-rule: none; }
.comment-columns { column-count: 1; }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }}
@media (max-width: 640px) {body { font-size: 14px; }
.header-inner { padding: 8px 14px; }
.page-main { padding: 0 14px 32px; }
.hero { padding: 16px 0 20px; }
.hero-media { max-width: 200px; }
.movie-title { font-size: 26px; }
.meta-score { font-size: 22px; }
.player-controls { gap: 5px; padding: 6px; }
.ctl { font-size: 11px; padding: 4px 7px; }
.episode-rail { grid-auto-columns: minmax(158px, 1fr); }
.rec-section[data-recommendation-region="1"], .rec-section[data-recommendation-region="2"], .rec-section[data-recommendation-region="3"] {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
.rec-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.footer-inner { padding: 16px 14px; }}
@media (max-width: 420px) {.hero-media { max-width: 168px; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.rec-grid { 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}
