*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h2, h3, p, ul, ol, li, dl, dt, dd, blockquote {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #0b0d10;
  --panel: #14171b;
  --panel-2: #191d22;
  --line: #262b31;
  --line-soft: #1e2227;
  --text: #c8cdd3;
  --text-dim: #7d858e;
  --text-soft: #9aa2ab;
  --white: #f2f4f6;
  --orange: #ff5a1f;
  --orange-dim: #b83c12;
  --orange-glow: rgba(255, 90, 31, 0.18);
  --font-head: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Oswald", "Arial Narrow", system-ui, sans-serif;
}
html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-off {
  background: #000;
}
body.lights-off .site-header, body.lights-off .site-footer {
  opacity: 0.35;
}
body.lights-off .movie-overview {
  filter: brightness(0.72);
}
::selection {
  background: var(--orange);
  color: #0b0d10;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 18px;
  background: linear-gradient(180deg, #0d1013 0%, #0d1013 78%, rgba(13, 16, 19, 0.86) 100%);
  border-bottom: 1px solid var(--line);
}
.header-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
a[data-contract="site-name"], .brand-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover, .brand-name:hover {
  color: var(--orange);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: color 0.12s linear, border-color 0.12s linear, background 0.12s linear;
}
a.runtime-category:hover {
  color: #0b0d10;
  background: var(--orange);
  border-color: var(--orange);
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 18px 22px;
  max-width: 1560px;
  margin: 0 auto;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 2.3fr) minmax(0, 2.1fr);
  grid-template-areas:
    "poster info player"
    "poster info cast";
  align-items: start;
  gap: 10px 14px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line);
}
.overview-poster-wrap {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  background: #0a0c0e;
  overflow: hidden;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 90, 31, 0.06) 0%, rgba(11, 13, 16, 0) 42%, rgba(11, 13, 16, 0.55) 100%);
}
.overview-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
}
.overview-info {
  grid-area: info;
  align-self: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}
.overview-headline {
  position: relative;
  padding: 4px 0 6px;
  border-bottom: 1px solid var(--line-soft);
}
.overview-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(26px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 0 26px rgba(11, 13, 16, 0.9);
}
.overview-tagline {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--orange);
  line-height: 1.3;
}
.block-heading {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-bottom: 4px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.synopsis-block {
  min-width: 0;
}
.synopsis-paragraph {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.52;
  color: var(--text);
  text-align: justify;
  letter-spacing: 0.005em;
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 5px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.episode-status-current {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0b0d10;
  background: var(--orange);
  padding: 2px 8px;
  white-space: nowrap;
}
.episode-status-total {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  white-space: nowrap;
}
.details-block {
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.details-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  white-space: nowrap;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}
.overview-player-wrap {
  grid-area: player;
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  background: #050608;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  padding: 0;
  overflow: hidden;
}
.overview-player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.overview-player-wrap.is-theater {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange-dim), 0 0 34px var(--orange-glow);
}
.overview-player-wrap.is-fullscreen {
  border: 0;
  background: #000;
}
.overview-player-wrap.is-fullscreen video {
  height: 100%;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: #0e1114;
  border-top: 1px solid var(--line);
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  background: var(--panel-2);
  border: 1px solid var(--line);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s linear, background 0.12s linear, border-color 0.12s linear;
}
.player-btn:hover {
  color: var(--white);
  border-color: var(--orange-dim);
}
.player-btn:active, .player-btn.click {
  background: var(--orange);
  border-color: var(--orange);
  color: #0b0d10;
}
.player-btn.play, .player-btn.pause, .overview-player-wrap.is-playing .player-btn.play {
  color: var(--orange);
  border-color: var(--orange-dim);
}
.player-btn.mute, .player-btn.volume {
  letter-spacing: 0.08em;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.player-range::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--line);
}
.player-range::-moz-range-track {
  height: 2px;
  background: var(--line);
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  margin-top: -5px;
  background: var(--orange);
  border: 0;
  border-radius: 0;
}
.player-range::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--orange);
  border: 0;
  border-radius: 0;
}
.player-range.progress::-webkit-slider-thumb, .player-range.progress::-moz-range-thumb {
  background: var(--white);
}
.player-range.input::-webkit-slider-thumb {
  background: var(--white);
}
.cast-block {
  grid-area: cast;
  align-self: start;
  min-width: 0;
  padding-top: 2px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #2a3037 0%, #1a1e23 100%);
  border: 1px solid var(--line);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(255, 90, 31, 0.35), transparent 62%);
}
.cast-name {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}
.cast-role {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 9px;
  white-space: nowrap;
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 13px;
  background: var(--orange);
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.timeline-section {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 4px 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--orange-dim) 50%, var(--line) 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 7px;
  min-width: 0;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 7px;
  width: 7px;
  height: 7px;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--ink), 0 0 10px var(--orange-glow);
}
.timeline-node-up {
  justify-content: flex-end;
  padding-bottom: 22px;
}
.timeline-node-up::after {
  bottom: 8px;
}
.timeline-node-down {
  justify-content: flex-start;
  padding-top: 22px;
}
.timeline-node-down::after {
  top: 8px;
}
.timeline-timecode {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange);
  line-height: 1;
  white-space: nowrap;
}
.timeline-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}
.episodes-section {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 8px 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  min-width: 0;
  transition: border-color 0.14s linear, background 0.14s linear;
}
.episode-card:hover {
  background: var(--panel-2);
  border-left-color: var(--orange);
}
.episode-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  white-space: nowrap;
}
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.14s linear;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: unset;
  color: var(--text);
}
.episode-duration {
  margin-top: auto;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  white-space: nowrap;
}
.comments-section {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comment-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 6px 0 6px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.comment-item::before {
  content: "“";
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  line-height: 0.8;
  color: var(--orange);
  display: block;
  transform: translateY(2px);
}
.comment-quote {
  grid-column: 2;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.48;
  color: var(--text);
  text-align: justify;
  overflow-wrap: anywhere;
}
.comment-nickname {
  grid-column: 2;
  margin-top: 3px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  white-space: nowrap;
}
.recommend-region {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.recommend-region:last-child {
  border-bottom: 0;
}
.recommend-heading {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 3px solid var(--orange);
  line-height: 1.2;
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.14s linear, background 0.14s linear, transform 0.14s linear;
}
a.recommend-card:hover {
  background: var(--panel-2);
  border-color: var(--orange-dim);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0c0e;
  filter: saturate(0.7) contrast(1.05);
  transition: filter 0.14s linear;
}
a.recommend-card:hover .recommend-poster {
  filter: saturate(0.95) contrast(1.08);
}
.recommend-name {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  display: -webkit-box;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--text-dim);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
a.recommend-card:hover .recommend-blurb {
  color: var(--text-soft);
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 12px 18px 20px;
  border-top: 1px solid var(--line);
  background: #0a0c0e;
}
.footer-disclaimer {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.12s linear, border-color 0.12s linear;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.12s linear;
}
a.runtime-friend-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}
@media (max-width: 1180px) {.movie-overview {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 2fr);
    grid-template-areas:
      "poster info"
      "poster player"
      "cast cast";
  }
.overview-poster-wrap {
    max-width: 300px;
  }
.recommend-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "info"
      "poster"
      "player"
      "cast";
    gap: 12px;
  }
.overview-poster-wrap {
    max-width: 240px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 0;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node-up, .timeline-node-down {
    padding: 8px 0 8px 16px;
    justify-content: flex-start;
  }
.timeline-node::after {
    left: 0;
    top: 12px;
    bottom: auto;
  }
.timeline-node-up::after, .timeline-node-down::after {
    top: 12px;
    bottom: auto;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-5, .recommend-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.site-header {
    padding: 6px 12px;
  }
.page-main {
    padding: 0 12px 18px;
  }
.category-strip {
    justify-content: flex-start;
  }
.overview-title {
    font-size: clamp(24px, 8vw, 34px);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    -webkit-line-clamp: 3;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-5, .recommend-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.site-footer {
    padding: 12px 12px 18px;
  }}
@media (max-width: 420px) {.recommend-grid-5, .recommend-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 3px;
  }
.player-btn {
    padding: 3px 6px;
    font-size: 10px;
  }}

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}
