*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #0d1319;
  --ink-2: #161f28;
  --panel: #1b2530;
  --panel-2: #202c38;
  --steel: #3d4d5c;
  --steel-soft: #55697a;
  --mist: #9fb0be;
  --mist-dim: #7c8c99;
  --paper: #e6ecf1;
  --paper-dim: #c3ccd4;
  --red: #d9261f;
  --red-deep: #8f1512;
  --red-soft: #f0554b;
  --line: #2c3a47;
  --line-soft: #24303b;
  --gap: 10px;
  --pad: 12px;
  --shell: 1240px;
}
html {
  background: var(--ink);
}
body {
  font-family: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--paper-dim);
  background:
    linear-gradient(180deg, #0d1319 0%, #101821 40%, #0c1218 100%);
  background-attachment: fixed;
  font-feature-settings: "tnum" 1;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 17, 23, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--paper);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--red-soft);
}
.categories-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-2);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--paper);
  border-color: var(--red);
  background: #24191a;
}
.page-main {
  display: block;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 14px 0;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 0 0 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 13px;
  background: var(--red);
  flex: none;
}
.hero-carriage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  grid-template-areas:
    "media  tagline"
    "media  player"
    "cast   cast"
    "syn    details"
    "status details";
  gap: var(--gap) 18px;
  padding: 14px;
  margin-bottom: 18px;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(30, 44, 56, 0.85) 0%, rgba(12, 18, 24, 0.96) 62%, #090d12 100%),
    linear-gradient(90deg, #0b1015 0%, #16202a 50%, #0b1015 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.hero-carriage::before, .hero-carriage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 2;
}
.hero-carriage::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 8, 11, 0.92), rgba(5, 8, 11, 0));
}
.hero-carriage::after {
  right: 0;
  background: linear-gradient(270deg, rgba(5, 8, 11, 0.92), rgba(5, 8, 11, 0));
}
.hero-carriage::before {
  display: none;
}
.hero-media-wrap {
  grid-area: media;
  align-self: start;
  position: relative;
  width: 100%;
  max-width: 190px;
  border: 1px solid var(--line);
  background: #0a0f14;
  box-shadow: 0 0 0 1px rgba(217, 38, 31, 0.14), 0 10px 26px rgba(0, 0, 0, 0.5);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-tagline-block {
  grid-area: tagline;
  align-self: end;
  padding-bottom: 2px;
  max-width: 100%;
}
.hero-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--red-soft);
  border-left: 2px solid var(--red);
  padding-left: 8px;
}
.hero-player-wrap {
  grid-area: player;
  position: relative;
  align-self: start;
  width: 100%;
  background: #05080b;
  border: 1px solid var(--line);
}
.hero-player-wrap.is-theater {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}
.hero-player-wrap.is-lights-off {
  background: #000;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #0e151c;
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--mist);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-2);
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-btn:hover {
  color: var(--paper);
  border-color: var(--steel-soft);
}
.player-btn.is-active, .player-btn:active {
  color: #fff;
  background: var(--red-deep);
  border-color: var(--red);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 96px;
  min-width: 74px;
  background: var(--steel);
  border-radius: 2px;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid #ffb3ae;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid #ffb3ae;
  cursor: pointer;
}
.player-select {
  font-size: 11px;
  font-weight: 600;
  color: var(--mist);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 6px;
}
.hero-cast {
  grid-area: cast;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--steel);
  border-radius: 2px;
  min-width: 0;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--mist-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-synopsis {
  grid-area: syn;
  align-self: start;
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-dim);
  margin-bottom: 7px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.episode-status {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 7px 10px;
  background: linear-gradient(90deg, rgba(143, 21, 18, 0.32), rgba(20, 28, 36, 0.9));
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-transform: uppercase;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  margin-right: 6px;
}
.hero-details {
  grid-area: details;
  align-self: start;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
  min-width: 0;
}
.detail-key {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mist-dim);
  letter-spacing: 0.02em;
  flex: none;
}
.detail-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-bottom: 18px;
  padding: 12px 14px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 3px;
  background-image: linear-gradient(90deg, var(--steel) 0 46%, transparent 46% 54%, var(--steel) 54% 100%);
  background-size: 22px 3px;
  background-repeat: repeat-x;
  opacity: 0.75;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 9px 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--steel-soft);
  border-radius: 2px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel-soft);
  border: 2px solid var(--ink-2);
}
.timeline-node--safe {
  border-top-color: #4f7f8c;
}
.timeline-node--safe::before {
  background: #6fa7b5;
}
.timeline-node--danger {
  background: linear-gradient(180deg, rgba(143, 21, 18, 0.34), rgba(27, 37, 48, 0.96));
  border-color: #4a2320;
  border-top-color: var(--red);
}
.timeline-node--danger::before {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 38, 31, 0.18);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.timeline-node--danger .timeline-timecode {
  color: var(--red-soft);
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--paper-dim);
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-bottom: 18px;
  padding: 12px 14px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.episode-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head   dur"
    "sum    sum";
  gap: 4px 16px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 2px;
}
.episode-number {
  grid-area: head;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--red-soft);
  white-space: nowrap;
  padding-right: 8px;
}
.episode-title {
  grid-area: head;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  padding-left: 68px;
  min-width: 0;
}
.episode-summary {
  grid-area: sum;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  align-self: start;
  justify-self: end;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mist);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.comments-section {
  margin-bottom: 18px;
  padding: 12px 14px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px 10px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  min-width: 0;
}
.comment-grid .comment-card:nth-child(3n + 1) {
  border-left: none;
  padding-left: 0;
}
.comment-grid .comment-card:nth-child(3n) {
  padding-right: 0;
}
.comment-card:nth-child(-n + 3) {
  border-top: none;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--red-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--paper-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-bottom: 18px;
  padding: 12px 14px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.recommend-heading::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.recommend-link:hover, a.recommend-link:focus-visible {
  border-color: var(--red);
  background: var(--panel-2);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #0a0f14;
  border: 1px solid var(--line-soft);
}
.recommend-pic {
  display: block;
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mist-dim);
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 14px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 24px;
}
.footer-disclaimer {
  flex: 1 1 340px;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mist-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--steel);
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-soft);
  border-bottom-color: var(--red);
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px dotted var(--line);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mist-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--red-soft);
  text-decoration: underline;
}
.is-playing .player-video {
  outline: 1px solid rgba(217, 38, 31, 0.4);
  outline-offset: -1px;
}
.is-ready .player-controls {
  border-top-color: var(--steel);
}
.is-lights-off .player-controls {
  background: #05080b;
  border-top-color: var(--red-deep);
}
.is-theater .player-video {
  max-height: 78vh;
  object-fit: contain;
}
.player-controls .is-active {
  color: #fff;
  background: var(--red-deep);
  border-color: var(--red);
}
@media (max-width: 1080px) {.cast-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-carriage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "tagline"
      "player"
      "status"
      "cast"
      "syn"
      "details";
    gap: 12px;
  }
.hero-media-wrap {
    max-width: 160px;
  }
.hero-details {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-track::before {
    display: none;
  }
.timeline-node::before {
    display: none;
  }
.comment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-grid .comment-card:nth-child(3n + 1) {
    border-left: 1px solid var(--line-soft);
    padding-left: 12px;
  }
.comment-grid .comment-card:nth-child(3n) {
    padding-right: 12px;
  }
.comment-grid .comment-card:nth-child(2n + 1) {
    border-left: none;
    padding-left: 0;
  }
.comment-grid .comment-card:nth-child(2n) {
    padding-right: 0;
  }
.comment-card:nth-child(-n + 3) {
    border-top: 1px solid var(--line-soft);
  }
.comment-card:nth-child(-n + 2) {
    border-top: none;
  }}
@media (max-width: 720px) {.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 10px 10px 0;
  }
.hero-carriage, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 10px;
    margin-bottom: 12px;
  }
.hero-media-wrap {
    max-width: 132px;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "dur"
      "sum";
    gap: 5px;
  }
.episode-title {
    padding-left: 0;
  }
.episode-duration {
    justify-self: start;
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid .comment-card {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }
.comment-grid .comment-card:nth-child(-n + 2) {
    border-top: 1px solid var(--line-soft);
  }
.comment-grid .comment-card:first-child {
    border-top: none;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.player-controls {
    gap: 5px;
  }
.player-range {
    flex: 1 1 100%;
  }}
@media (max-width: 400px) {.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    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}
