*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, figcaption, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --rust: #a8422c;
  --rust-deep: #7d2f1f;
  --rust-bright: #c4562f;
  --sky: #8ea3b5;
  --sky-deep: #5f7a90;
  --tent: #b6bb5a;
  --tent-deep: #8b9136;
  --bg: #161d24;
  --bg-soft: #1d262f;
  --panel: #e8e9e4;
  --panel-dim: #d3d5cd;
  --ink: #14181c;
  --ink-soft: #3d454d;
  --line: rgba(232, 233, 228, 0.14);
  --line-strong: rgba(232, 233, 228, 0.32);
  --text: #dfe3e2;
  --text-dim: #98a3ab;
  --pad: 14px;
  --gap: 10px;
  --radius: 3px;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, sans-serif;
}
body {
  font-family: var(--sans);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(95, 122, 144, 0.16) 0%, rgba(22, 29, 36, 0) 340px),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 5px
    );
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 26, 33, 0.94);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--panel);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-right: 12px;
  border-right: 2px solid var(--rust);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--tent);
}
.categories-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.5;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--sky);
  text-decoration: none;
  background: rgba(142, 163, 181, 0.06);
}
a.runtime-category:hover {
  color: var(--bg);
  background: var(--sky);
  border-color: var(--sky);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad) 4px;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--panel);
  padding-left: 9px;
  border-left: 3px solid var(--rust);
  margin-bottom: 9px;
  line-height: 1.3;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "media player"
    "media synopsis"
    "media cast"
    "media status"
    "details details";
  gap: var(--gap) var(--pad);
  padding: 14px 0 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
  display: block;
}
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 12px 11px;
  background: linear-gradient(
    180deg,
    rgba(18, 24, 30, 0) 0%,
    rgba(18, 24, 30, 0.72) 42%,
    rgba(14, 19, 24, 0.93) 100%
  );
  pointer-events: none;
}
.hero-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #f2f3ee;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 5px;
}
.hero-tagline {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--tent);
  letter-spacing: 0.04em;
  max-width: 24ch;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75);
}
.hero-player {
  grid-area: player;
  position: relative;
  width: 100%;
  min-width: 0;
  background: #0d1216;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-player video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: rgba(13, 18, 22, 0.96);
  border-top: 1px solid var(--line);
}
.ctl {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(232, 233, 228, 0.06);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.ctl:hover {
  border-color: var(--sky);
  color: var(--sky);
}
.ctl-play, .ctl-mute {
  font-weight: 700;
  color: var(--panel);
  border-color: rgba(168, 66, 44, 0.7);
  background: rgba(168, 66, 44, 0.22);
}
.ctl-play:hover, .ctl-mute:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fdf6f2;
}
.ctl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--rust-bright);
  cursor: pointer;
}
.ctl-volume {
  flex: 0 1 74px;
  min-width: 56px;
  height: 4px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--sky);
  cursor: pointer;
}
.ctl-speed {
  padding: 3px 6px;
  background: rgba(232, 233, 228, 0.06);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  cursor: pointer;
}
.ctl-speed option {
  background: var(--bg-soft);
  color: var(--text);
}
.ctl.is-playing, .ctl.is-active {
  background: var(--tent-deep);
  border-color: var(--tent);
  color: #10140f;
}
.ctl.is-muted {
  background: rgba(95, 122, 144, 0.3);
  border-color: var(--sky-deep);
  color: var(--sky);
}
.ctl.is-altered {
  border-color: var(--tent);
  color: var(--tent);
}
.hero-player.is-theater {
  grid-column: 1 / -1;
  grid-row: 1;
}
.hero-player.lights-off {
  border-color: var(--tent-deep);
  box-shadow: 0 0 0 1px rgba(182, 187, 90, 0.35);
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  padding: 11px 12px;
  background: var(--bg-soft);
  border-left: 2px solid var(--rust-deep);
  border-radius: var(--radius);
}
.synopsis-lead {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #eef0eb;
  margin-bottom: 6px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-block {
  grid-area: cast;
  min-width: 0;
}
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-track::-webkit-scrollbar {
  height: 6px;
}
.cast-track::-webkit-scrollbar-track {
  background: rgba(232, 233, 228, 0.06);
}
.cast-track::-webkit-scrollbar-thumb {
  background: var(--rust-deep);
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 158px;
  scroll-snap-align: start;
}
.cast-figure {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cast-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.cast-caption {
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--ink);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--rust-deep);
  letter-spacing: 0.03em;
}
.cast-note {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.episode-status {
  grid-area: status;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 12px;
  background: rgba(95, 122, 144, 0.1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.episode-status .section-heading {
  margin-bottom: 0;
}
.episode-progress {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}
.episode-progress .num {
  font-size: 15px;
  font-weight: 700;
  color: var(--tent);
}
.details-block {
  grid-area: details;
  min-width: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
  min-width: 0;
}
.details-key {
  flex: 0 0 66px;
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
}
.episodes-block {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "summary summary"
    "dur dur";
  column-gap: 9px;
  row-gap: 4px;
  padding: 8px 10px 8px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(95, 122, 144, 0.55);
  border-radius: var(--radius);
  opacity: 0.52;
}
.episode-number {
  grid-area: num;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.02em;
  white-space: nowrap;
  align-self: center;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--panel);
  min-width: 0;
}
.episode-summary {
  grid-area: summary;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episode-duration {
  grid-area: dur;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--sky-deep);
  letter-spacing: 0.03em;
}
.episode-card-current {
  opacity: 1;
  background: var(--panel);
  border-color: var(--rust);
  border-left-color: var(--rust-bright);
  box-shadow: 0 0 0 1px rgba(168, 66, 44, 0.4);
}
.episode-card-current .episode-number {
  color: var(--rust-deep);
}
.episode-card-current .episode-title {
  color: var(--ink);
}
.episode-card-current .episode-summary {
  color: var(--ink-soft);
}
.episode-card-current .episode-duration {
  color: var(--rust);
  font-weight: 700;
}
.timeline-block {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
}
.timeline-item {
  position: relative;
  text-align: right;
  padding: 4px 0;
}
.timeline-dot {
  position: absolute;
  left: -20.5px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust-bright);
  border: 1px solid var(--bg);
  box-shadow: 0 0 0 1px var(--rust-deep);
}
.timeline-timecode {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--tent);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.comments-block {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.comments-masonry {
  column-count: 2;
  column-gap: 8px;
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 9px;
  margin-bottom: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  break-inside: avoid;
}
.comment-avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
  border: 1px solid var(--line-strong);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nickname {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 2px;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.recommend-region {
  padding: 14px 0 4px;
}
.recommend-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--panel);
  padding-left: 9px;
  border-left: 3px solid var(--tent-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}
.recommend-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-rail::-webkit-scrollbar {
  height: 6px;
}
.recommend-rail::-webkit-scrollbar-track {
  background: rgba(232, 233, 228, 0.06);
}
.recommend-rail::-webkit-scrollbar-thumb {
  background: var(--sky-deep);
  border-radius: 3px;
}
a.recommend-card {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
}
a.recommend-card:hover {
  border-color: var(--rust);
  background: #f2f3ee;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.82) contrast(1.05);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px var(--pad) 22px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.footer-nav-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  padding-right: 8px;
  border-right: 1px solid var(--line-strong);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--sky);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(142, 163, 181, 0.05);
}
a.runtime-friend-link:hover {
  color: #10140f;
  background: var(--sky);
  border-color: var(--sky);
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-home"] {
  color: var(--tent);
}
a[data-contract="footer-home"]:hover {
  color: var(--tent-deep);
}
a[data-contract="footer-sitemap"] {
  color: var(--sky);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-bright);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: #6d7881;
  max-width: 72ch;
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "player"
      "synopsis"
      "cast"
      "status"
      "details";
  }
.hero-media {
    max-width: 300px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-inner {
    gap: 8px;
  }
.hero-media {
    max-width: none;
    width: 100%;
  }
.hero-poster {
    aspect-ratio: 16 / 10;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 14px;
  }
.timeline-dot {
    left: -18.5px;
  }
.comments-masonry {
    column-count: 1;
  }
a.recommend-card {
    flex: 0 0 152px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.ctl {
    font-size: 11px;
    padding: 3px 6px;
  }}
@media (max-width: 380px) {.hero-title {
    font-size: 16px;
  }
.hero-tagline {
    font-size: 12px;
  }
.cast-card {
    flex: 0 0 138px;
  }}

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}
