*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:root {
  --ash-white: #f4f1ea;
  --blaze-white: #fbf8f1;
  --char-brown: #2b1d14;
  --ember-brown: #4a2f1d;
  --scorch-brown: #6b4a2f;
  --dark-red: #7d2118;
  --fire-orange: #e2571e;
  --fire-orange-soft: #f07a3a;
  --line: #d8cdbd;
  --line-strong: #b7a58d;
  --shadow-weak: 0 1px 2px rgba(43, 29, 20, 0.12);
  --shadow-mid: 0 2px 6px rgba(43, 29, 20, 0.16);
  --gap-xs: 4px;
  --gap-s: 8px;
  --gap-m: 12px;
  --gap-l: 18px;
  --gap-xl: 26px;
  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "SimHei", sans-serif;
  --font-body: "Songti SC", "SimSun", "Noto Serif SC", "STSong", serif;
}
html, body {
  background: var(--ash-white);
}
body {
  font-family: var(--font-body);
  color: var(--char-brown);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blaze-white);
  border-bottom: 1px solid var(--char-brown);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-l);
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--char-brown);
  border-left: 4px solid var(--fire-orange);
  padding-left: 8px;
  text-decoration: none;
}
a[data-contract="site-name"] {
  color: var(--char-brown);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--fire-orange);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-s);
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ember-brown);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 3px 10px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--blaze-white);
  background: var(--fire-orange);
  border-color: var(--fire-orange);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.movie-overview {
  background: var(--blaze-white);
  border: 1px solid var(--char-brown);
  box-shadow: var(--shadow-mid);
  margin-top: 18px;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  grid-template-areas:
    "media player"
    "caption player"
    "synopsis synopsis"
    "status details"
    "cast cast";
  gap: 0 var(--gap-xl);
  align-items: start;
}
.movie-overview__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--char-brown);
}
.movie-overview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(226, 87, 30, 0.24) 0%, rgba(43, 29, 20, 0.42) 100%);
  mix-blend-mode: multiply;
}
.movie-overview__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.movie-overview__caption {
  grid-area: caption;
  padding: 16px 16px 14px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: var(--blaze-white);
}
.movie-overview__title {
  font-size: 26px;
  letter-spacing: 0.1em;
  color: var(--char-brown);
  border-left: 6px solid var(--fire-orange);
  padding-left: 10px;
}
.movie-overview__tagline {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--dark-red);
  padding-left: 16px;
}
.movie-overview__player {
  grid-area: player;
  padding: 16px 16px 12px;
  min-width: 0;
  background: var(--blaze-white);
}
.movie-overview__player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #17100b;
  border: 1px solid var(--char-brown);
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  min-width: 0;
}
.player-btn {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ember-brown);
  background: var(--ash-white);
  border: 1px solid var(--line-strong);
  padding: 4px 9px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: var(--fire-orange);
  border-color: var(--fire-orange);
  color: var(--blaze-white);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  background: var(--line);
  border: 0;
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 16px;
  background: var(--fire-orange);
  border: 1px solid var(--char-brown);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 16px;
  border-radius: 0;
  background: var(--fire-orange);
  border: 1px solid var(--char-brown);
  cursor: pointer;
}
.player-range--volume {
  flex: 0 1 96px;
  min-width: 72px;
}
.section-title {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--char-brown);
}
.section-title--underline {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}
.section-title--underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 3px;
  background: var(--fire-orange);
}
.synopsis-block {
  grid-area: synopsis;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.synopsis-block__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px var(--gap-xl);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ember-brown);
  text-align: justify;
  border-left: 2px solid var(--line);
  padding-left: 10px;
}
.episode-status {
  grid-area: status;
  padding: 16px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px var(--gap-m);
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 3px;
}
.status-item__key {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--scorch-brown);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.status-item__value {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-red);
  text-align: right;
}
.detail-block {
  grid-area: details;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px var(--gap-m);
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 3px;
}
.detail-item__key {
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--scorch-brown);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.detail-item__value {
  font-size: 13px;
  color: var(--char-brown);
  text-align: right;
  overflow-wrap: anywhere;
}
.cast-block {
  grid-area: cast;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--gap-s);
}
.cast-card {
  border: 1px solid var(--line);
  background: var(--ash-white);
  box-shadow: var(--shadow-weak);
  display: flex;
  flex-direction: column;
}
.cast-card__photo {
  aspect-ratio: 3 / 4;
  width: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(43, 29, 20, 0.16) 0 6px,
      rgba(43, 29, 20, 0.04) 6px 12px
    ),
    linear-gradient(180deg, #c9b596 0%, #8a6f4e 100%);
  border-bottom: 1px solid var(--line-strong);
}
.cast-card__name {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--char-brown);
  padding: 5px 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card__role {
  font-size: 11px;
  color: var(--scorch-brown);
  padding: 0 6px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-block {
  margin-top: 22px;
  padding: 14px 16px 18px;
  background: var(--blaze-white);
  border: 1px solid var(--char-brown);
  box-shadow: var(--shadow-weak);
}
.timeline-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px 4px 10px;
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--fire-orange) var(--line);
}
.timeline-strip::-webkit-scrollbar {
  height: 7px;
}
.timeline-strip::-webkit-scrollbar-track {
  background: var(--line);
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: var(--fire-orange);
  border-radius: 0;
}
.timeline-node {
  position: relative;
  flex: 0 0 172px;
  padding: 18px 12px 0 0;
  border-right: 1px solid var(--line);
  margin-right: 12px;
}
.timeline-node:last-child {
  border-right: 0;
  margin-right: 0;
}
.timeline-node__tick {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 14px;
  background: var(--line-strong);
}
.timeline-node__tick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--line-strong);
}
.timeline-node__time {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--scorch-brown);
  font-variant-numeric: tabular-nums;
}
.timeline-node__label {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ember-brown);
  max-width: 160px;
}
.timeline-node--active .timeline-node__tick, .timeline-node--active .timeline-node__tick::before {
  background: var(--fire-orange);
}
.timeline-node--active .timeline-node__tick {
  height: 20px;
}
.timeline-node--active .timeline-node__time {
  color: var(--dark-red);
}
.timeline-node--active .timeline-node__time::after {
  content: "●";
  font-size: 9px;
  margin-left: 6px;
  color: var(--fire-orange);
  vertical-align: middle;
}
.timeline-node--active .timeline-node__label {
  color: var(--char-brown);
  font-weight: 600;
}
.episodes-block {
  margin-top: 22px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-s);
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "summary summary"
    "duration duration";
  gap: 2px 10px;
  align-items: baseline;
  background: var(--blaze-white);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--scorch-brown);
  box-shadow: var(--shadow-weak);
  padding: 9px 11px;
}
.episode-card__num {
  grid-area: num;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blaze-white);
  background: var(--ember-brown);
  padding: 1px 7px;
  white-space: nowrap;
}
.episode-card__title {
  grid-area: title;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--char-brown);
}
.episode-card__summary {
  grid-area: summary;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ember-brown);
  text-align: justify;
}
.episode-card__duration {
  grid-area: duration;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--scorch-brown);
  border-top: 1px dotted var(--line);
  padding-top: 3px;
}
.comments-block {
  margin-top: 22px;
}
.comments-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: var(--gap-m);
  align-items: start;
}
.comments-summary {
  background: var(--ember-brown);
  color: var(--blaze-white);
  border: 1px solid var(--char-brown);
  box-shadow: var(--shadow-mid);
  padding: 14px 14px 16px;
  position: sticky;
  top: 62px;
}
.comments-summary__score {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fire-orange-soft);
  font-variant-numeric: tabular-nums;
}
.comments-summary__label {
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(251, 248, 241, 0.72);
}
.comments-summary__excerpt {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(251, 248, 241, 0.28);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(251, 248, 241, 0.92);
  text-align: justify;
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-s);
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--fire-orange) var(--line);
}
.comments-list::-webkit-scrollbar {
  width: 7px;
}
.comments-list::-webkit-scrollbar-track {
  background: var(--line);
}
.comments-list::-webkit-scrollbar-thumb {
  background: var(--fire-orange);
  border-radius: 0;
}
.comment-item {
  background: var(--blaze-white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--scorch-brown);
  box-shadow: var(--shadow-weak);
  padding: 8px 10px 9px;
}
.comment-item__nickname {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dark-red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-item__nickname::before {
  content: "▍";
  color: var(--fire-orange);
  margin-right: 4px;
}
.comment-item__text {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ember-brown);
  text-align: justify;
}
.rec-region {
  margin-top: 22px;
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-s);
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  background: var(--blaze-white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-weak);
  padding: 7px;
  color: var(--char-brown);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.rec-card:hover {
  border-color: var(--fire-orange);
  box-shadow: var(--shadow-mid);
  transform: translateY(-2px);
}
.rec-card__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--char-brown);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.rec-card__name {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--char-brown);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-card__blurb {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--scorch-brown);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-card:hover .rec-card__name {
  color: var(--dark-red);
}
.site-footer {
  background: var(--char-brown);
  color: rgba(251, 248, 241, 0.82);
  border-top: 3px solid var(--fire-orange);
  margin-top: 30px;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px var(--gap-xl);
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s) var(--gap-m);
  font-family: var(--font-head);
  font-size: 12.5px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--fire-orange-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--blaze-white);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--gap-m);
  min-width: 0;
}
.friend-links__label {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(251, 248, 241, 0.6);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(251, 248, 241, 0.82);
  text-decoration: none;
  border-bottom: 1px dotted rgba(251, 248, 241, 0.4);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--fire-orange-soft);
  border-bottom-color: var(--fire-orange);
}
.site-footer__disclaimer {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(251, 248, 241, 0.18);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(251, 248, 241, 0.55);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "caption"
      "player"
      "synopsis"
      "status"
      "details"
      "cast";
    gap: 0;
  }
.movie-overview__media {
    border-right: 0;
  }
.movie-overview__media img {
    max-height: 460px;
    object-position: center 22%;
  }
.movie-overview__caption {
    border-right: 0;
  }
.synopsis-block__body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-status {
    border-right: 0;
  }
.cast-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comments-layout {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-summary {
    position: static;
  }}
@media (max-width: 760px) {body {
    font-size: 13.5px;
  }
.site-header__bar {
    flex-wrap: wrap;
    gap: var(--gap-s);
    padding: 8px 12px;
  }
.site-nav {
    justify-content: flex-start;
  }
.page-main {
    padding: 0 12px 32px;
  }
.movie-overview {
    margin-top: 12px;
  }
.movie-overview__title {
    font-size: 21px;
  }
.movie-overview__player {
    padding: 12px 12px 10px;
  }
.synopsis-block, .episode-status, .detail-block, .cast-block {
    padding: 12px;
  }
.detail-list, .status-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-block {
    margin-top: 16px;
    padding: 12px 12px 14px;
  }
.timeline-node {
    flex: 0 0 150px;
  }
.episodes-block, .comments-block, .rec-region {
    margin-top: 16px;
  }
.episodes-grid, .rec-row, .comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-list {
    max-height: 360px;
  }
.site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 12px 18px;
  }}
@media (max-width: 460px) {.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.player-range {
    flex: 1 1 100%;
    min-width: 0;
  }
.player-range--volume {
    flex: 0 1 100%;
  }}

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}
