:root {
  --sea-deep: #061119;
  --sea-mid: #0b2233;
  --sea-edge: #123448;
  --ember: #e8611f;
  --ember-hot: #ff8a3c;
  --ember-dim: #a83f12;
  --ash: #e8e2da;
  --ash-dim: #9aa2a6;
  --rust: #7a3f22;
  --line: rgba(232, 226, 218, 0.14);
  --line-strong: rgba(232, 226, 218, 0.28);
  --panel: #081a26;
  --font-stack: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--sea-deep);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-stack);
  font-stretch: condensed;
  background:
    linear-gradient(180deg, #0a1c28 0%, #061119 40%, #04101a 100%);
  color: var(--ash);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ul {
  list-style: none;
}
dl, dd, dt {
  margin: 0;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
::selection {
  background: var(--ember);
  color: #061119;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 17, 25, 0.96), rgba(6, 17, 25, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px clamp(10px, 2.4vw, 28px);
  max-width: 1440px;
  margin: 0 auto;
}
.site-header__brand {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash);
  padding-left: 10px;
  border-left: 4px solid var(--ember);
  transform: skewX(-8deg);
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--ash);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--ember-hot);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  color: var(--ash-dim);
  background: rgba(18, 52, 72, 0.35);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category {
  color: var(--ash-dim);
  text-decoration: none;
}
a.runtime-category:hover {
  color: #061119;
  background: var(--ember);
  border-color: var(--ember);
}
.page-main {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(10px, 2.4vw, 28px) 28px;
}
.section-heading {
  font-size: clamp(15px, 1.3vw, 18px);
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--ember);
  line-height: 1.2;
}
.section-heading--compact {
  font-size: 13px;
  margin-bottom: 8px;
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
  grid-template-areas:
    "media overlay"
    "player overlay"
    "body body";
  gap: 10px 16px;
  align-items: start;
  padding: 14px 0 4px;
  border-bottom: 1px solid var(--line);
}
.hero-panel__media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  background: var(--sea-mid);
}
.hero-panel__poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.08) contrast(1.06);
}
.hero-panel__overlay {
  grid-area: overlay;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 14px;
  background:
    linear-gradient(160deg, rgba(232, 97, 31, 0.16) 0%, rgba(6, 17, 25, 0.55) 55%),
    var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.hero-panel__title {
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--ash);
  text-shadow: 0 2px 18px rgba(232, 97, 31, 0.45);
}
.hero-panel__tagline {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--ember-hot);
  font-weight: 700;
}
.hero-panel__seo {
  font-size: 12.5px;
  color: var(--ash-dim);
  line-height: 1.6;
}
.hero-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ember);
  border-color: var(--ember);
  color: #061119;
  font-weight: 800;
}
.btn--primary:hover {
  background: var(--ember-hot);
  border-color: var(--ember-hot);
}
.btn--ghost {
  color: var(--ash);
  border-color: var(--line-strong);
  background: rgba(18, 52, 72, 0.4);
}
.btn--ghost:hover {
  border-color: var(--ember);
  color: var(--ember-hot);
}
.player-shell {
  grid-area: player;
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(11, 34, 51, 0.9), rgba(6, 17, 25, 0.98));
  border-top: 1px solid var(--line);
}
.player-controls__btn {
  font-size: 11.5px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 52, 72, 0.5);
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.15s, border-color 0.15s;
}
.player-controls__btn:hover {
  color: var(--ember-hot);
  border-color: var(--ember);
}
.player-controls__range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  background: var(--sea-edge);
  border-radius: 0;
  cursor: pointer;
}
.player-controls__range--volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.player-controls__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: var(--ember);
  border: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.player-controls__range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--ember);
  border: none;
  border-radius: 0;
}
.player-controls__select {
  font-size: 11.5px;
  padding: 4px 6px;
  background: rgba(18, 52, 72, 0.5);
  border: 1px solid var(--line-strong);
  color: var(--ash);
  cursor: pointer;
}
.player-controls__select option {
  background: var(--sea-deep);
  color: var(--ash);
}
.overview-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.75fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 14px;
  background:
    linear-gradient(200deg, rgba(18, 52, 72, 0.5), rgba(8, 26, 38, 0.9)),
    var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.cast-strip {
  min-width: 0;
}
.cast-strip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.cast-strip__item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  border-left: 3px solid var(--ember-dim);
  background: rgba(6, 17, 25, 0.55);
  min-width: 0;
}
.cast-strip__name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ash);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-strip__tag {
  font-size: 11px;
  color: var(--ash-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-block__body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.synopsis-block__para {
  font-size: 12.5px;
  color: #c8cfd2;
  line-height: 1.65;
  text-indent: 1.6em;
}
.episode-status, .details-block {
  min-width: 0;
}
.episode-status__list, .details-block__list {
  display: flex;
  flex-direction: column;
}
.episode-status__row, .details-block__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}
.episode-status__row:last-child, .details-block__row:last-child {
  border-bottom: none;
}
.episode-status__key, .details-block__key {
  color: var(--ash-dim);
  flex: 0 0 auto;
  white-space: nowrap;
}
.episode-status__val, .details-block__val {
  color: var(--ash);
  font-weight: 700;
  text-align: right;
  min-width: 0;
}
.details-block__val {
  font-weight: 600;
}
.episode-status__val {
  color: var(--ember-hot);
}
.timeline-section {
  margin-top: 22px;
  padding-top: 6px;
}
.timeline-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4px 16px;
  scroll-snap-type: x proximity;
  background:
    linear-gradient(90deg, rgba(232, 97, 31, 0.08), rgba(6, 17, 25, 0) 40%),
    rgba(8, 26, 38, 0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--ember-dim) var(--sea-deep);
}
.timeline-rail::-webkit-scrollbar {
  height: 6px;
}
.timeline-rail::-webkit-scrollbar-track {
  background: var(--sea-deep);
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--ember-dim);
}
.timeline-node {
  position: relative;
  flex: 0 0 178px;
  scroll-snap-align: start;
  padding: 16px 10px 10px;
  background: rgba(6, 17, 25, 0.72);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s;
}
.timeline-node__dot {
  position: absolute;
  top: 6px;
  left: 10px;
  width: 9px;
  height: 9px;
  background: var(--ember-dim);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 6px rgba(232, 97, 31, 0.5);
}
.timeline-node__time {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ash-dim);
  margin-bottom: 4px;
}
.timeline-node__label {
  font-size: 12px;
  color: #c3cace;
  line-height: 1.5;
}
.timeline-node.is-current {
  border-color: var(--ember);
  background: linear-gradient(165deg, rgba(232, 97, 31, 0.2), rgba(6, 17, 25, 0.85));
}
.timeline-node.is-current .timeline-node__dot {
  background: var(--ember-hot);
  box-shadow: 0 0 12px rgba(255, 138, 60, 0.9);
}
.timeline-node.is-current .timeline-node__time {
  color: var(--ember-hot);
}
.episodes-section {
  margin-top: 22px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 12px;
  background: rgba(8, 26, 38, 0.72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  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;
}
.episode-card:hover {
  border-color: var(--line-strong);
  border-left-color: var(--ember);
  background: rgba(18, 52, 72, 0.6);
}
.episode-card.is-current {
  border-left-color: var(--ember-hot);
  background: linear-gradient(120deg, rgba(232, 97, 31, 0.16), rgba(8, 26, 38, 0.85));
}
.episode-card__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-card__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ember-hot);
  white-space: nowrap;
}
.episode-card__title {
  font-size: 14px;
  color: var(--ash);
}
.episode-card__summary {
  font-size: 12px;
  color: #b6bfc3;
  line-height: 1.55;
}
.episode-card__duration {
  font-size: 11px;
  color: var(--ash-dim);
  letter-spacing: 0.04em;
}
.comments-section {
  margin-top: 22px;
}
.comments-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(6, 17, 25, 0.75);
  border: 1px solid var(--line);
  min-width: 0;
}
.comment-card--left {
  border-left: 3px solid var(--sea-edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.comment-card--right {
  border-right: 3px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transform: translateY(10px);
}
.comments-mosaic > .comment-card:nth-child(4n + 3) {
  transform: translateY(-4px);
}
.comments-mosaic > .comment-card--right:nth-child(4n) {
  transform: translateY(16px);
}
.comment-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-card__avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--ember-dim), var(--sea-edge));
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.comment-card__nickname {
  font-size: 12px;
  font-weight: 800;
  color: var(--ember-hot);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-card__text {
  font-size: 12.5px;
  color: #c6cdd0;
  line-height: 1.6;
}
.rec-region {
  margin-top: 22px;
}
.rec-region__title {
  margin-bottom: 9px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: rgba(8, 26, 38, 0.7);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-item {
  color: var(--ash);
  text-decoration: none;
}
a.rec-item:hover {
  color: var(--ash);
  text-decoration: none;
  border-color: var(--ember);
  background: rgba(18, 52, 72, 0.65);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.rec-item__name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ash);
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-item__blurb {
  font-size: 11.5px;
  color: var(--ash-dim);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-region--1 .rec-region__title {
  border-left-color: var(--ember-hot);
}
.rec-region--2 .rec-region__title {
  border-left-color: var(--sea-edge);
}
.rec-region--3 .rec-region__title {
  border-left-color: var(--rust);
}
.rec-region--4 .rec-region__title {
  border-left-color: var(--ash-dim);
}
.site-footer {
  margin-top: 26px;
  background: linear-gradient(180deg, rgba(8, 26, 38, 0.6), #04101a);
  border-top: 1px solid var(--line-strong);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px clamp(10px, 2.4vw, 28px) 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}
.footer-nav__link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ash);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
.footer-nav__link:hover {
  color: var(--ember-hot);
  border-bottom-color: var(--ember-hot);
}
a[data-contract="footer-home"] {
  color: var(--ash);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--ember-hot);
}
a[data-contract="footer-sitemap"] {
  color: var(--ash-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--ember-hot);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-links__label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ember);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ash-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 7px;
  border: 1px solid var(--line);
  background: rgba(6, 17, 25, 0.5);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ember-hot);
  border-color: var(--ember);
}
.site-footer__disclaimer {
  flex: 1 1 100%;
  font-size: 11.5px;
  color: #6f787c;
  line-height: 1.6;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.player-video.is-playing {
  outline: 1px solid var(--ember-dim);
  outline-offset: -1px;
}
.player-video.is-muted {
  opacity: 0.92;
}
.player-video.is-pip {
  outline: 2px solid var(--ember-hot);
  outline-offset: -2px;
}
.player-shell.is-fullscreen {
  width: 100%;
  height: 100%;
  border: none;
  clip-path: none;
}
.player-shell.is-fullscreen .player-video {
  height: calc(100% - 44px);
  object-fit: contain;
}
body.is-theater .hero-panel {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "player"
    "overlay"
    "media"
    "body";
}
body.is-theater .player-shell {
  max-width: none;
}
body.is-lights-off .page-main {
  filter: brightness(0.55) contrast(1.08);
  transition: filter 0.3s ease;
}
body.is-lights-off .hero-panel__overlay, body.is-lights-off .player-shell {
  filter: brightness(1.5);
}
@media (max-width: 1080px) {.overview-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-block {
    grid-column: 1 / -1;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "overlay"
      "player"
      "body";
  }
.hero-panel__poster {
    aspect-ratio: 9 / 16;
    max-height: 62vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
.hero-panel__media {
    display: flex;
    justify-content: center;
  }
.comments-mosaic {
    gap: 10px;
  }
.comment-card--right, .comments-mosaic > .comment-card:nth-child(4n + 3), .comments-mosaic > .comment-card--right:nth-child(4n) {
    transform: none;
  }}
@media (max-width: 720px) {.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-mosaic {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 10px;
  }
.synopsis-block {
    grid-column: auto;
  }
.rec-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.timeline-node {
    flex: 0 0 158px;
  }
.player-controls__range {
    flex: 1 1 100%;
  }
.player-controls__range--volume {
    flex: 1 1 60px;
  }}
@media (max-width: 520px) {.site-header__inner {
    gap: 10px;
  }
.hero-panel__overlay {
    padding: 10px;
  }
.cast-strip__list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls__btn {
    font-size: 11px;
    padding: 4px 8px;
  }
.site-footer__inner {
    gap: 10px 16px;
  }}

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}
