*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --ember: #7a1410;
  --ember-bright: #c0251b;
  --gold: #d9a441;
  --gold-bright: #f2c860;
  --ash: #1a0e0c;
  --ash-mid: #2a1512;
  --steel: #10151d;
  --steel-soft: #1a2230;
  --ink: #e8dcd2;
  --ink-dim: #b09a90;
  --line: rgba(217, 164, 65, 0.28);
  --font-heavy: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
}
body {
  font-family: var(--font-heavy);
  font-weight: 500;
  color: var(--ink);
  background: var(--ash);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #140807 0%, #1c0d0b 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-decoration: none;
  text-shadow: 0 0 1px #000, 0 1px 0 #6b2a12, 0 0 12px rgba(217, 164, 65, 0.45);
}
a[data-contract="site-name"]:hover { color: #fff2cf; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: rgba(122, 20, 16, 0.45);
  border: 1px solid var(--line);
  border-radius: 3px;
}
a.runtime-category:hover {
  color: #ffe9b8;
  background: rgba(192, 37, 27, 0.55);
  border-color: var(--gold);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.block-heading {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  padding: 2px 0 2px 10px;
  margin-bottom: 10px;
  border-left: 4px solid var(--ember-bright);
  text-shadow: 0 0 1px #000, 0 1px 0 #4a1a0a;
}
.overview-block {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "poster media"
    "status status"
    "details details"
    "synopsis synopsis"
    "cast cast";
  gap: 12px 18px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(122, 20, 16, 0.55) 0%, rgba(26, 14, 12, 0) 62%),
    linear-gradient(180deg, #1c0e0c 0%, #180d0b 60%, #150b0a 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(217, 164, 65, 0.16), 0 6px 24px rgba(0, 0, 0, 0.5);
}
.overview-head { grid-area: head; min-width: 0; }
.movie-title {
  font-size: clamp(22px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.16;
  color: #ffe6b0;
  text-shadow: 0 0 2px #000, 0 2px 0 #6d2210, 0 0 20px rgba(192, 37, 27, 0.6);
  -webkit-text-stroke: 0.6px rgba(217, 164, 65, 0.7);
}
.movie-tagline {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ember-bright);
}
.movie-seo {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  line-height: 1.65;
  max-width: 78ch;
}
.poster-column { grid-area: poster; min-width: 0; }
.poster-column img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 8px 26px rgba(122, 20, 16, 0.55);
}
.media-slot {
  grid-area: media;
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0a0706;
  overflow: hidden;
}
.media-slot video {
  background: #000;
}
.media-slot.lights-off { box-shadow: 0 0 0 2px var(--gold), 0 0 34px rgba(217, 164, 65, 0.55); }
.media-slot.theater-mode { outline: 2px solid var(--ember-bright); outline-offset: -2px; }
.media-slot.is-playing .ctl-play { color: var(--gold-bright); }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #241110 0%, #170c0b 100%);
  border-top: 1px solid var(--line);
}
.ctl {
  appearance: none;
  border: 1px solid rgba(217, 164, 65, 0.3);
  background: rgba(122, 20, 16, 0.42);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.ctl:hover { background: rgba(192, 37, 27, 0.6); color: #ffe9b8; }
.ctl.is-active { background: var(--ember-bright); color: #fff4d8; border-color: var(--gold-bright); }
.ctl-play { min-width: 74px; }
.ctl-progress {
  flex: 1 1 140px;
  min-width: 110px;
  height: 6px;
  padding: 0;
  background: transparent;
  border: none;
  accent-color: var(--ember-bright);
  cursor: pointer;
}
.ctl-volume {
  flex: 0 1 84px;
  min-width: 64px;
  height: 6px;
  padding: 0;
  background: transparent;
  border: none;
  accent-color: var(--gold);
  cursor: pointer;
}
.ctl-fullscreen { order: 9; }
.ctl-theater { order: 10; }
.ctl-light { order: 11; }
.episode-status { grid-area: status; min-width: 0; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(122, 20, 16, 0.28);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.status-key { font-size: 12px; font-weight: 700; color: var(--ink-dim); letter-spacing: 0.08em; }
.status-value { font-size: 13px; font-weight: 900; color: var(--gold-bright); }
.details-panel { grid-area: details; min-width: 0; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(24, 13, 11, 0.92);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #f0dfc0;
  text-align: right;
}
.synopsis-panel { grid-area: synopsis; min-width: 0; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 20px;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 500;
  color: #cdbcb2;
  line-height: 1.75;
  padding-left: 10px;
  border-left: 2px solid rgba(192, 37, 27, 0.55);
}
.cast-panel { grid-area: cast; min-width: 0; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 8px 4px;
  background: rgba(42, 21, 18, 0.6);
  border: 1px solid rgba(217, 164, 65, 0.2);
  border-radius: 3px;
}
.cast-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #f2c860 0%, #c0251b 42%, #45100c 100%);
  border: 2px solid rgba(217, 164, 65, 0.72);
  box-shadow: 0 0 12px rgba(192, 37, 27, 0.5), inset 0 -6px 12px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-size: 13px;
  font-weight: 900;
  color: #f4e2bb;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-dim);
  line-height: 1.35;
}
.timeline-strip {
  margin-top: 14px;
  padding: 12px 14px 6px;
  background: linear-gradient(180deg, #1d0f0d 0%, #221410 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.timeline-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 62px 4px 14px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--ember-bright) transparent;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--ember-bright), var(--gold) 60%, rgba(217, 164, 65, 0.2));
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 10px 10px 8px;
  background: rgba(42, 21, 18, 0.85);
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 3px;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe6a8, #c0251b 70%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.7);
}
.node-pop {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ecd7bd;
  line-height: 1.5;
}
.node-time {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.episodes-panel {
  margin-top: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #171114 0%, #14161f 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 8px;
  padding: 8px 10px;
  background: rgba(26, 22, 30, 0.78);
  border: 1px solid rgba(217, 164, 65, 0.2);
  border-left: 3px solid var(--ember-bright);
  border-radius: 3px;
}
.episode-number {
  grid-area: num;
  font-size: 12px;
  font-weight: 900;
  color: var(--ember-bright);
  letter-spacing: 0.04em;
}
.episode-title {
  grid-area: title;
  font-size: 14px;
  font-weight: 900;
  color: #f6e6c4;
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #a99aa4;
  line-height: 1.62;
}
.comments-panel {
  margin-top: 14px;
  padding: 12px 14px 18px;
  background: linear-gradient(180deg, #14161f 0%, #121820 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.comment-stack {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.comment-card {
  flex: 0 0 262px;
  padding: 10px 12px;
  background: rgba(24, 30, 42, 0.9);
  border: 1px solid rgba(217, 164, 65, 0.24);
  border-top: 2px solid rgba(192, 37, 27, 0.7);
  border-radius: 3px;
}
.comment-card:nth-child(odd) { margin-top: 10px; }
.comment-card:nth-child(even) { margin-top: 0; }
.comment-nick {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.comment-text {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #b9c2cf;
  line-height: 1.66;
}
.rec-region {
  margin-top: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #121820 0%, #161a22 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.rec-region-1 { border-top: 2px solid rgba(192, 37, 27, 0.85); }
.rec-region-2 { border-top: 2px solid rgba(217, 164, 65, 0.6); }
.rec-region-3 { border-top: 2px solid rgba(242, 200, 96, 0.85); }
.rec-heading {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 10px;
  text-shadow: 0 1px 0 #3b1a08;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "img name"
    "img blurb";
  align-items: start;
  gap: 2px 10px;
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(26, 32, 44, 0.75);
  border: 1px solid rgba(217, 164, 65, 0.2);
  border-radius: 3px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
a.rec-card:hover {
  background: rgba(58, 26, 22, 0.8);
  border-color: var(--gold);
}
[data-runtime="recommendation"] img {
  grid-area: img;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.rec-name {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 900;
  color: #f4e3bd;
  line-height: 1.4;
}
a.rec-card:hover .rec-name { color: var(--gold-bright); }
.rec-blurb {
  grid-area: blurb;
  font-size: 11px;
  font-weight: 500;
  color: #96a1b0;
  line-height: 1.55;
}
.site-footer {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #0e1219 0%, #090c11 100%);
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  max-width: 1440px;
  margin: 0 auto 10px;
  font-size: 12px;
  font-weight: 500;
  color: #7f8a99;
  line-height: 1.7;
}
.footer-nav {
  max-width: 1440px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 164, 65, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}
.friend-links {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(217, 164, 65, 0.14);
}
.friend-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--ember-bright);
  letter-spacing: 0.08em;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 500;
  color: #8d97a4;
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(217, 164, 65, 0.16);
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: #ffe9b8;
  border-color: var(--gold);
  background: rgba(122, 20, 16, 0.35);
}
@media (max-width: 1024px) {.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 860px) {.overview-block {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "poster"
      "media"
      "status"
      "details"
      "synopsis"
      "cast";
  }
.poster-column { max-width: 240px; }}
@media (max-width: 720px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.rec-grid { grid-template-columns: minmax(0, 1fr); }
.detail-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 560px) {.page-main { padding: 0 10px 20px; }
.header-bar { padding: 8px 10px; }
.overview-block { padding: 10px; gap: 10px; }
.details-panel, .synopsis-panel, .episodes-panel, .comments-panel, .rec-region, .timeline-strip { padding: 10px; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.cast-avatar { width: 46px; height: 46px; }
.comment-card { flex-basis: 226px; }
.timeline-node { width: 150px; }
.detail-value { text-align: left; }
.detail-pair { flex-wrap: wrap; gap: 2px 8px; }
.ctl { font-size: 11px; padding: 4px 7px; }
.ctl-play { min-width: 62px; }}
@media (max-width: 400px) {.movie-title { font-size: 20px; }
.movie-tagline { font-size: 12px; letter-spacing: 0.14em; }
.episode-card { grid-template-columns: auto 1fr; grid-template-areas: "num title" "dur dur" "sum sum"; }
.episode-duration { grid-area: dur; }
a.rec-card { grid-template-columns: 72px 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}
