*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ash: #0c0b0a;
  --ash-2: #141210;
  --ash-3: #1c1815;
  --char: #241f1b;
  --ember: #8e1f14;
  --ember-hi: #c9381f;
  --ember-glow: rgba(201, 56, 31, 0.5);
  --smoke: #6f6660;
  --cold: #8fa0ad;
  --cold-2: #b9c6d0;
  --cold-tint: rgba(143, 160, 173, 0.09);
  --bone: #ded7ce;
  --line: rgba(143, 160, 173, 0.18);
  --line-hot: rgba(201, 56, 31, 0.35);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-stretch: condensed;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(142, 31, 20, 0.22), transparent 60%),
    radial-gradient(900px 600px at 96% 4%, rgba(143, 160, 173, 0.10), transparent 58%),
    linear-gradient(180deg, var(--ash) 0%, #0a0908 100%);
  color: var(--bone);
  font-size: 14px;
  line-height: 1.38;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.22; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.96), rgba(12, 11, 10, 0.96));
  border-bottom: 1px solid var(--line-hot);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}
.site-brand-link {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bone);
  padding-left: 10px;
  border-left: 3px solid var(--ember-hi);
  text-shadow: 0 0 14px rgba(201, 56, 31, 0.35);
}
.site-header__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  justify-content: flex-end;
}
.runtime-category {
  color: var(--cold-2);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cold-tint);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.runtime-category:hover {
  color: #fff;
  border-color: var(--ember-hi);
  background: rgba(201, 56, 31, 0.16);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.page-main > section {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.page-main > section:last-child { border-bottom: 0; }
.hero-shell {
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(36, 31, 27, 0.55) 0%, rgba(12, 11, 10, 0.9) 78%),
    radial-gradient(700px 380px at 20% 30%, rgba(142, 31, 20, 0.20), transparent 70%);
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: start;
}
.hero-stage__backdrop {
  position: absolute;
  inset: -16px -16px auto -16px;
  height: 78%;
  background:
    radial-gradient(420px 220px at 26% 40%, rgba(201, 56, 31, 0.30), transparent 68%),
    radial-gradient(520px 260px at 8% 18%, rgba(143, 160, 173, 0.14), transparent 72%),
    linear-gradient(115deg, rgba(60, 52, 46, 0.7) 0%, rgba(16, 14, 13, 0.1) 62%, transparent 100%);
  filter: blur(3px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hero-stage__portrait {
  position: relative;
  z-index: 1;
  align-self: start;
}
.poster-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line-hot);
  background: var(--char);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(0, 0, 0, 0.6) inset;
  overflow: hidden;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(9, 8, 7, 0.82) 100%);
  pointer-events: none;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-stage__slogan {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.movie-title {
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #f2ece4;
  text-shadow: 0 0 22px rgba(201, 56, 31, 0.45), 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-size: 13px;
  color: var(--ember-hi);
  letter-spacing: 0.06em;
  padding-left: 9px;
  border-left: 2px solid var(--ember);
}
.hero-rating {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line-hot);
  background: linear-gradient(90deg, rgba(142, 31, 20, 0.30), rgba(142, 31, 20, 0.04));
  align-self: start;
  width: max-content;
}
.hero-rating__score {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffd9c9;
  text-shadow: 0 0 16px var(--ember-glow);
}
.hero-rating__label {
  font-size: 11px;
  color: var(--cold);
  letter-spacing: 0.2em;
}
.hero-desc {
  font-size: 13px;
  line-height: 1.36;
  color: #b7aea5;
  max-width: 62ch;
}
.hero-player {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: #080706;
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset, 0 12px 30px rgba(0, 0, 0, 0.5);
}
.hero-player video {
  display: block;
  background: #000;
  border: 1px solid rgba(143, 160, 173, 0.12);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 2px 2px;
}
.player-btn {
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  color: var(--cold-2);
  background: rgba(143, 160, 173, 0.08);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--ember-hi);
  background: rgba(201, 56, 31, 0.2);
}
.player-btn--play {
  color: #ffe3d8;
  border-color: var(--line-hot);
  background: linear-gradient(90deg, rgba(142, 31, 20, 0.5), rgba(142, 31, 20, 0.14));
  font-weight: 700;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(143, 160, 173, 0.22);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.player-range--progress {
  flex: 1 1 160px;
  min-width: 110px;
}
.player-range--volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember-hi);
  box-shadow: 0 0 8px var(--ember-glow);
  border: 0;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--ember-hi);
  box-shadow: 0 0 8px var(--ember-glow);
}
.player-range--volume::-webkit-slider-thumb { background: var(--cold); box-shadow: none; }
.player-range--volume::-moz-range-thumb { background: var(--cold); box-shadow: none; }
.hero-player.is-playing { border-color: var(--line-hot); }
.hero-player.is-muted .player-btn--mute { color: #fff; border-color: var(--ember-hi); }
.hero-player.is-speed-changed .player-btn--speed { color: #fff; border-color: var(--ember-hi); }
.hero-player.is-theater {
  width: 100%;
  max-width: none;
  border-color: var(--ember-hi);
  box-shadow: 0 0 40px rgba(201, 56, 31, 0.28);
}
.hero-player.is-lights-off { background: #000; }
.hero-player.is-lights-off video { filter: brightness(1.14) contrast(1.06); }
.cast-strip {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}
.cast-strip__heading, .synopsis-block__heading, .episode-status__heading, .details-block__heading, .timeline-section__heading, .episodes-section__heading, .comments-section__heading, .rec-region__title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ece4da;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.cast-strip__heading::before, .synopsis-block__heading::before, .episode-status__heading::before, .details-block__heading::before, .timeline-section__heading::before, .episodes-section__heading::before, .comments-section__heading::before, .rec-region__title::before {
  content: "";
  width: 3px;
  height: 13px;
  background: linear-gradient(180deg, var(--ember-hi), var(--ember));
  box-shadow: 0 0 10px var(--ember-glow);
  flex: none;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  min-width: 0;
  background: linear-gradient(180deg, rgba(143, 160, 173, 0.10), rgba(143, 160, 173, 0.03));
  border: 1px solid var(--line);
  border-left: 2px solid rgba(201, 56, 31, 0.5);
  align-self: start;
}
.cast-card__avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(222, 215, 206, 0.5), transparent 55%),
    linear-gradient(150deg, #4a423c, #1a1715);
  border: 1px solid var(--line);
}
.cast-card__name {
  font-size: 12px;
  font-weight: 700;
  color: #e6ded4;
  white-space: nowrap;
}
.cast-card__role {
  font-size: 10px;
  color: var(--cold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.synopsis-block__para {
  font-size: 12.5px;
  line-height: 1.36;
  color: #ada49b;
  margin-bottom: 6px;
  max-width: 96ch;
}
.synopsis-block__para:last-child { margin-bottom: 0; }
.episode-status, .details-block {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.episode-status__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.episode-status__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(142, 31, 20, 0.10);
  border: 1px solid var(--line-hot);
}
.episode-status__key {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cold);
}
.episode-status__val {
  font-size: 13px;
  font-weight: 800;
  color: #ffd9c9;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 4px 14px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(143, 160, 173, 0.16);
  min-width: 0;
}
.details-row__key {
  flex: none;
  width: 68px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cold);
}
.details-row__val {
  font-size: 12px;
  color: #ded7ce;
  min-width: 0;
}
.timeline-section { display: flex; flex-direction: column; }
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(201, 56, 31, 0.55) 0 14px,
    rgba(143, 160, 173, 0.28) 14px 26px);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 18px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 10px;
  width: 11px;
  height: 11px;
  background: radial-gradient(circle at 40% 36%, #3a332e, #100d0c 72%);
  border: 1px solid rgba(143, 160, 173, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(143, 160, 173, 0.06);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 56, 31, 0.42), transparent 66%);
  filter: blur(3px);
  opacity: 0.55;
}
.timeline-node__timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cold-2);
  padding-left: 2px;
}
.timeline-node__label {
  font-size: 11.5px;
  line-height: 1.34;
  color: #9c938b;
  padding-left: 2px;
}
.timeline-node.is-current::before {
  background: radial-gradient(circle at 40% 36%, #ff6a3d, #7e1a10 74%);
  border-color: #ff8a5c;
  box-shadow: 0 0 12px var(--ember-glow), 0 0 0 3px rgba(201, 56, 31, 0.18);
}
.timeline-node.is-current::after {
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.7), transparent 68%);
}
.timeline-node.is-current .timeline-node__timecode {
  color: #ffb094;
  text-shadow: 0 0 12px var(--ember-glow);
}
.timeline-node.is-current .timeline-node__label { color: #d8cfc6; }
.episodes-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 duration"
    "summary summary summary";
  align-items: baseline;
  gap: 4px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(143, 160, 173, 0.09), rgba(12, 11, 10, 0.4));
  border: 1px solid var(--line);
  border-top: 2px solid rgba(143, 160, 173, 0.35);
  align-self: start;
}
.episode-card__num {
  grid-area: num;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cold);
  white-space: nowrap;
}
.episode-card__title {
  grid-area: title;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ece4da;
  min-width: 0;
}
.episode-card__summary {
  grid-area: summary;
  font-size: 11.5px;
  line-height: 1.34;
  color: #9c938b;
}
.episode-card__duration {
  grid-area: duration;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--smoke);
  white-space: nowrap;
}
.episode-card.is-current {
  border-top-color: var(--ember-hi);
  border-color: var(--line-hot);
  background: linear-gradient(180deg, rgba(142, 31, 20, 0.26), rgba(12, 11, 10, 0.5));
  box-shadow: 0 0 0 1px rgba(201, 56, 31, 0.18), 0 6px 18px rgba(0, 0, 0, 0.45);
}
.episode-card.is-current .episode-card__num { color: #ffb094; }
.episode-card.is-current .episode-card__title { color: #fff1e9; }
.comments-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #efe7da, #e2d8c8);
  color: #2a231d;
  border-left: 3px solid var(--ember);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  align-self: start;
}
.comment-note:nth-child(3n + 1) { transform: rotate(-1.1deg); }
.comment-note:nth-child(3n + 2) { transform: rotate(0.85deg); }
.comment-note:nth-child(3n) { transform: rotate(-0.4deg); }
.comment-note__nick {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #7e1a10;
}
.comment-note__text {
  font-size: 11.5px;
  line-height: 1.34;
  color: #322a23;
}
.rec-region { display: flex; flex-direction: column; }
.rec-region__title { margin-bottom: 9px; }
.rec-region__title::after {
  content: counter(rec-item);
  counter-reset: rec-item 0;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(143, 160, 173, 0.10), rgba(12, 11, 10, 0.5));
  border: 1px solid var(--line);
  align-self: start;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.rec-card:hover {
  border-color: var(--ember-hi);
  background: linear-gradient(180deg, rgba(142, 31, 20, 0.22), rgba(12, 11, 10, 0.5));
  transform: translateY(-2px);
}
.rec-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0908;
  border: 1px solid rgba(143, 160, 173, 0.14);
}
.rec-card__name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #e6ded4;
}
.rec-card__blurb {
  font-size: 10.5px;
  line-height: 1.32;
  color: #9c938b;
}
.site-footer {
  padding: 14px 16px 22px;
  border-top: 1px solid var(--line-hot);
  background: linear-gradient(180deg, rgba(142, 31, 20, 0.10), transparent 60%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-nav__link {
  font-size: 12px;
  color: var(--cold-2);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: var(--cold-tint);
  transition: color 0.15s, border-color 0.15s;
}
.footer-nav__link:hover { color: #fff; border-color: var(--ember-hi); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--smoke);
  margin-right: 2px;
}
.runtime-friend-link {
  font-size: 11px;
  color: #8d847b;
  text-decoration: none;
  transition: color 0.15s;
}
.runtime-friend-link:hover { color: var(--ember-hi); }
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.36;
  color: #6b635c;
  max-width: 92ch;
}
@media (max-width: 980px) {.hero-stage { grid-template-columns: minmax(0, 1fr); }
.poster-wrap { max-width: 210px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.timeline-track::before { display: none; }
.comments-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 760px) {.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }}
@media (max-width: 560px) {.site-header { padding: 7px 12px; }
.page-main > section { padding: 12px 12px; }
.hero-shell { padding: 12px !important; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note { transform: none !important; }
.rec-grid { grid-template-columns: minmax(0, 1fr); }
.player-btn { font-size: 10.5px; padding: 4px 7px; }
.player-range--volume { flex: 1 1 70px; }}
@media (max-width: 380px) {.cast-list { grid-template-columns: minmax(0, 1fr); }
.timeline-track { 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}
