*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #ff7a1a;
  --orange-deep: #e85d04;
  --orange-soft: #ffb066;
  --amber: #ffd166;
  --cool: #2b3440;
  --cool-2: #38424f;
  --cool-3: #4a5666;
  --mist: #8b98a8;
  --paper: #f4f1ea;
  --ink: #1a1f26;
  --line: rgba(255, 122, 26, 0.35);
  --dash: rgba(139, 152, 168, 0.55);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: var(--paper);
  background-color: var(--cool);
  background-image:
    linear-gradient(180deg, rgba(255, 122, 26, 0.06), rgba(43, 52, 64, 0) 420px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, rgba(0, 0, 0, 0) 1px 96px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, rgba(0, 0, 0, 0) 1px 34px);
  font-weight: 400;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--orange-soft); text-decoration: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
button, input { font: inherit; color: inherit; }
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(232, 93, 4, 0.22), rgba(43, 52, 64, 0.9) 60%);
  border-bottom: 2px solid var(--orange);
  position: relative;
  z-index: 5;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 14px, rgba(0,0,0,0) 14px 28px);
  opacity: 0.5;
  pointer-events: none;
}
a[data-contract="site-name"].brand-mark {
  font-size: 19px;
  font-weight: 800;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 2px 10px 2px 0;
  border-right: 3px solid var(--orange);
}
a[data-contract="site-name"].brand-mark:hover { color: var(--amber); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  padding: 3px 10px;
  background: rgba(255, 122, 26, 0.16);
  border-left: 3px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
a.runtime-category:hover { background: var(--orange); color: #16191e; }
.page-main { padding: 12px 14px 20px; }
.block-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.1em;
  padding: 3px 0 3px 10px;
  margin-bottom: 8px;
  border-left: 4px solid var(--orange);
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.14), rgba(255, 122, 26, 0));
}
.slogan-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas:
    "title    poster"
    "tagline  poster"
    "seo      poster"
    "stage    poster"
    "cast     cast"
    "synopsis synopsis"
    "status   status"
    "details  details";
  column-gap: 16px;
  row-gap: 10px;
  align-items: start;
  position: relative;
}
.movie-title {
  grid-area: title;
  font-size: clamp(28px, 5.6vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  color: #fff;
  text-shadow: 3px 3px 0 rgba(232, 93, 4, 0.85), 0 0 26px rgba(255, 122, 26, 0.3);
  letter-spacing: -0.02em;
}
.movie-tagline {
  grid-area: tagline;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  max-width: 34em;
}
.seo-note {
  grid-area: seo;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mist);
  max-width: 46em;
}
.poster-column {
  grid-area: poster;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  position: relative;
  min-width: 0;
}
.poster-frame {
  position: relative;
  border: 2px solid var(--orange);
  border-right: 6px solid var(--orange);
  background: var(--cool-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(255, 122, 26, 0.34) 0%, rgba(255, 122, 26, 0) 42%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, rgba(0, 0, 0, 0) 1px 26px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.12);
}
.beat-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 5px 8px;
  background: repeating-linear-gradient(90deg, rgba(139, 152, 168, 0.14) 0 1px, rgba(0,0,0,0) 1px 12px);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.beat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(255, 122, 26, 0.8);
  flex: 0 0 auto;
}
.beat-dot:nth-child(odd) { background: var(--mist); box-shadow: none; }
.beat-dot:nth-child(4) { width: 11px; height: 11px; background: var(--amber); box-shadow: 0 0 10px rgba(255, 209, 102, 0.9); }
.stage-shell {
  grid-area: stage;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
  position: relative;
}
.player-frame {
  position: relative;
  width: 100%;
  border: 2px solid var(--cool-3);
  border-top: 3px solid var(--orange);
  background: #0c0f13;
  overflow: hidden;
}
.player-frame video { width: 100%; height: auto; background: #000; }
.player-frame.is-theater {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.35);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(90deg, rgba(43, 52, 64, 0.96), rgba(56, 66, 79, 0.96));
  border-left: 3px solid var(--orange);
}
.ctrl-btn {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  color: var(--paper);
  background: rgba(255, 122, 26, 0.14);
  border: 1px solid rgba(255, 122, 26, 0.45);
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: background 0.14s, color 0.14s;
}
.ctrl-btn:hover { background: var(--orange); color: #14181d; }
.ctrl-btn.is-active { background: var(--orange); color: #14181d; border-color: var(--amber); }
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 5px;
  background: linear-gradient(90deg, var(--orange), rgba(139, 152, 168, 0.5));
  border-radius: 0;
}
.ctrl-range::-moz-range-track {
  height: 5px;
  background: linear-gradient(90deg, var(--orange), rgba(139, 152, 168, 0.5));
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -3.5px;
  background: var(--amber);
  border-radius: 50%;
  border: 1px solid #14181d;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--amber);
  border: 1px solid #14181d;
  border-radius: 50%;
}
.stage-shell.is-lights-off { background: #05070a; }
.stage-shell.is-lights-off .player-frame { border-color: #05070a; }
.stage-shell.is-lights-off .player-controls { background: #05070a; border-left-color: var(--amber); }
.cast-block { grid-area: cast; min-width: 0; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px;
}
.cast-card {
  display: grid;
  grid-template-columns: 6px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: start;
  padding: 7px 8px 7px 0;
  background: rgba(56, 66, 79, 0.66);
  border: 1px solid rgba(139, 152, 168, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.cast-swatch {
  grid-row: 1 / -1;
  align-self: stretch;
  width: 6px;
  min-height: 34px;
  background: var(--orange);
}
.cast-card:nth-child(2) .cast-swatch { background: var(--amber); }
.cast-card:nth-child(3) .cast-swatch { background: var(--cool-3); }
.cast-card:nth-child(4) .cast-swatch { background: var(--orange-deep); }
.cast-card:nth-child(5) .cast-swatch { background: var(--mist); }
.cast-card:nth-child(6) .cast-swatch { background: var(--orange-soft); }
.cast-name { font-size: 13.5px; font-weight: 800; color: #fff; }
.cast-role { grid-column: 2; font-size: 11.5px; color: var(--mist); }
.synopsis-block { grid-area: synopsis; min-width: 0; }
.synopsis-line {
  font-size: 12.5px;
  line-height: 1.5;
  color: #d8dde4;
  padding: 5px 0 5px 10px;
  border-left: 2px solid rgba(255, 122, 26, 0.4);
  margin-bottom: 4px;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.05), rgba(0,0,0,0));
}
.synopsis-line:last-child { margin-bottom: 0; }
.episode-status-block { grid-area: status; min-width: 0; }
.status-line {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
  padding: 5px 12px;
  margin: 0 8px 6px 0;
  background: rgba(232, 93, 4, 0.18);
  border: 1px solid rgba(255, 122, 26, 0.5);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.details-block { grid-area: details; min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(139, 152, 168, 0.28);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-soft);
}
.detail-value { font-size: 12.5px; color: #dfe4ea; }
.episodes-block { margin-top: 14px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  background: rgba(56, 66, 79, 0.6);
  border: 1px solid rgba(139, 152, 168, 0.2);
  border-top: 3px solid var(--cool-3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.episode-card:hover {
  background: rgba(255, 122, 26, 0.1);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.episode-number {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #14181d;
  background: var(--orange);
  padding: 1px 7px 1px 6px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.episode-card:nth-child(4n/**/+2) .episode-number { background: var(--amber); }
.episode-card:nth-child(4n/**/+3) .episode-number { background: var(--orange-soft); }
.episode-card:nth-child(4n) .episode-number { background: var(--mist); color: #10141a; }
.episode-card:nth-child(6) { border-top-color: var(--amber); }
.episode-card:nth-child(6) .episode-number { background: var(--amber); box-shadow: 0 0 10px rgba(255, 209, 102, 0.6); }
.episode-title { font-size: 13.5px; font-weight: 800; color: #fff; }
.episode-summary { font-size: 11.5px; line-height: 1.45; color: #c6ccd4; }
.episode-duration {
  margin-top: auto;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mist);
  padding-top: 3px;
  border-top: 1px dashed rgba(139, 152, 168, 0.35);
}
.timeline-block { margin-top: 14px; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  position: relative;
  padding: 4px 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  border-top: 2px dashed var(--dash);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  font-size: 11.5px;
  background: rgba(43, 52, 64, 0.9);
  border: 1px solid rgba(139, 152, 168, 0.25);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 16px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(43, 52, 64, 0.9), 0 0 10px rgba(255, 122, 26, 0.7);
}
.timeline-node-upper {
  grid-row: 1;
  border-top: 3px solid var(--orange);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.timeline-node-upper::after { bottom: -21px; }
.timeline-node-lower {
  grid-row: 2;
  margin-top: 26px;
  border-bottom: 3px solid var(--cool-3);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.timeline-node-lower::after { top: -21px; background: var(--amber); }
.timeline-timecode {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #14181d;
  background: var(--amber);
  padding: 1px 6px;
}
.timeline-label { font-size: 12.5px; font-weight: 700; color: #eef1f4; line-height: 1.35; }
.timeline-mood {
  font-size: 11px;
  color: var(--mist);
  font-style: italic;
  padding-top: 3px;
  border-top: 1px dashed rgba(139, 152, 168, 0.35);
}
.split-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
.comments-block { min-width: 0; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: rgba(56, 66, 79, 0.55);
  border-left: 3px solid var(--orange);
}
.comment-item:nth-child(even) { border-left-color: var(--cool-3); }
.comment-nick {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.comment-text { font-size: 11.5px; line-height: 1.45; color: #ccd2da; }
.recommend-region-1 { min-width: 0; }
.recommend-region-2, .recommend-region-3 { margin-top: 14px; }
.recommend-line-list {
  display: grid;
  gap: 5px;
}
.recommend-line-list { grid-template-columns: minmax(0, 1fr); }
.recommend-region-2 .recommend-line-list, .recommend-region-3 .recommend-line-list {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.recommend-line { min-width: 0; }
a[data-runtime="recommendation"] {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding: 5px 8px 5px 5px;
  color: var(--paper);
  text-decoration: none;
  background: rgba(43, 52, 64, 0.9);
  border: 1px solid rgba(139, 152, 168, 0.22);
  border-left: 3px solid var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 0.15s, border-color 0.15s;
}
a[data-runtime="recommendation"] img {
  grid-row: 1 / -1;
  width: 44px;
  height: 44px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-column: 2;
  font-size: 11px;
  line-height: 1.35;
  color: var(--mist);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(255, 122, 26, 0.14);
  border-color: var(--orange);
}
.recommend-badge {
  grid-row: 1 / -1;
  align-self: center;
  font-size: 11px;
  font-weight: 800;
  color: #14181d;
  background: var(--amber);
  padding: 2px 7px;
  min-width: 22px;
  text-align: center;
}
.site-footer {
  margin-top: 16px;
  padding: 12px 14px 16px;
  background: linear-gradient(180deg, rgba(43, 52, 64, 0.4), rgba(12, 15, 19, 0.9));
  border-top: 3px solid var(--orange);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 8px 20px;
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(255, 209, 102, 0.35);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #fff; border-bottom-color: var(--orange); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--orange-soft);
  letter-spacing: 0.08em;
  padding-right: 6px;
  border-right: 2px solid rgba(255, 122, 26, 0.5);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--mist);
  text-decoration: none;
  padding: 1px 6px;
  background: rgba(139, 152, 168, 0.12);
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: #14181d; background: var(--orange); }
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(139, 152, 168, 0.85);
  padding-top: 8px;
  border-top: 1px dashed rgba(139, 152, 168, 0.3);
  max-width: 90ch;
}
@media (max-width: 1024px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-node-upper::after { bottom: -21px; }}
@media (max-width: 860px) {.slogan-lead {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "tagline"
      "seo"
      "poster"
      "stage"
      "cast"
      "synopsis"
      "status"
      "details";
    column-gap: 0;
    row-gap: 10px;
  }
.poster-column { max-width: 320px; }
.split-columns { grid-template-columns: minmax(0, 1fr); gap: 12px; }}
@media (max-width: 720px) {.page-main { padding: 10px 10px 16px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track::before { display: none; }
.timeline-node-lower { margin-top: 0; }
.timeline-node::after { display: none; }
.timeline-node-upper, .timeline-node-lower {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.site-footer { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }}
@media (max-width: 480px) {body { font-size: 13.5px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.cast-row { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: 100%; }
.player-controls { gap: 4px; }
.ctrl-btn { font-size: 11.5px; padding: 3px 7px; }
.ctrl-range { flex: 1 1 100%; }
.movie-title { text-shadow: 2px 2px 0 rgba(232, 93, 4, 0.85); }
.recommend-region-2 .recommend-line-list, .recommend-region-3 .recommend-line-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}
