:root {
  --bg-deep: #0b0f16;
  --bg-panel: #111722;
  --bg-raised: #161d2a;
  --line-metal: #2b3444;
  --line-bright: #3d4a5e;
  --ink-cold: #d8e0ea;
  --ink-dim: #8b97a8;
  --ink-faint: #5b6675;
  --accent-rust: #c2622a;
  --accent-rust-deep: #8f4218;
  --silver: #aebccd;
  --silver-hot: #e8eef6;
  --font-narrow: "Arial Narrow", "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, #0d1219 0%, #0b0f16 40%, #0a0e15 100%);
  color: var(--ink-cold);
  font-family: var(--font-narrow);
  font-stretch: condensed;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink-cold);
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 22, 0.94);
  border-bottom: 1px solid var(--line-metal);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand, a[data-contract="site-name"] {
  color: var(--silver-hot);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 0;
  border-left: 3px solid var(--accent-rust);
  padding-left: 8px;
}
.site-brand:hover, a[data-contract="site-name"]:hover {
  color: #fff;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border: 1px solid var(--line-metal);
  background: var(--bg-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--accent-rust);
  background: #1c1620;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 40px;
}
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}
.hero-backdrop {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  position: relative;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line-metal);
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0 -14px 0 -14px;
  background:
    radial-gradient(120% 90% at 18% 30%, rgba(174, 188, 205, 0.14) 0%, rgba(174, 188, 205, 0) 55%),
    linear-gradient(115deg, #10161f 0%, #0c1119 60%, #0a0e15 100%);
  z-index: -1;
}
.hero-figure {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 320px;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(174, 188, 205, 0.16) 0%, rgba(194, 98, 42, 0.14) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line-bright);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  filter: contrast(1.08) saturate(0.86);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 4px;
}
.hero-title {
  font-size: clamp(28px, 5.4vw, 52px);
  letter-spacing: 0.06em;
  color: var(--silver-hot);
  text-shadow: 0 0 22px rgba(174, 188, 205, 0.28);
  border-left: 4px solid var(--accent-rust);
  padding-left: 12px;
  line-height: 1.05;
}
.hero-tagline {
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--accent-rust);
  padding-left: 16px;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 62ch;
  padding-left: 16px;
  border-left: 1px solid var(--line-metal);
}
.hero-player {
  position: relative;
  width: 100%;
  background: #05070b;
  border: 1px solid var(--line-bright);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.hero-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070b;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #131a25 0%, #0d131c 100%);
  border-top: 1px solid var(--line-metal);
}
.player-btn {
  background: #1a2230;
  border: 1px solid var(--line-bright);
  color: var(--ink-cold);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
  transition: background 0.12s linear, border-color 0.12s linear, color 0.12s linear;
}
.player-btn:hover {
  background: #232e40;
  border-color: var(--silver);
}
.player-btn.is-active, .player-btn.click {
  border-color: var(--accent-rust);
  color: #ffd9c2;
  background: #2a1a12;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #26303f;
  cursor: pointer;
  border: none;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: var(--accent-rust);
  border: none;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--accent-rust);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #26303f;
  cursor: pointer;
  border: none;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 13px;
  background: var(--silver);
  border: none;
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--silver);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-speed {
  background: #1a2230;
  border: 1px solid var(--line-bright);
  color: var(--ink-cold);
  font-size: 12px;
  padding: 4px 6px;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}
.hero-player.is-theater {
  border-color: var(--accent-rust);
  box-shadow: 0 0 0 1px rgba(194, 98, 42, 0.35), 0 12px 40px rgba(0, 0, 0, 0.6);
}
.hero-player.is-lights-off {
  background: #000;
}
.hero-player.is-lights-off .player-controls {
  opacity: 0.35;
}
.cast-panel {
  border: 1px solid var(--line-metal);
  background: var(--bg-panel);
  padding: 12px 14px 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.cast-heading, .synopsis-heading, .status-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--silver-hot);
  text-transform: uppercase;
  padding-left: 9px;
  border-left: 3px solid var(--accent-rust);
  margin-bottom: 10px;
}
.cast-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 86px;
  text-align: center;
}
.cast-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  box-shadow: 0 0 0 1px rgba(174, 188, 205, 0.12) inset;
  filter: grayscale(0.35) contrast(1.05);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cast-name {
  font-size: 13px;
  color: var(--ink-cold);
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.synopsis-panel, .episode-status-panel, .details-panel {
  border-top: 1px solid var(--line-metal);
  padding-top: 12px;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-dim);
  max-width: 78ch;
}
.episode-status-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.status-line {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  padding-left: 12px;
  border-left: 1px solid var(--line-metal);
}
.details-panel {
  padding-bottom: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 16px;
}
.details-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(43, 52, 68, 0.6);
}
.details-key {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.details-value {
  font-size: 13px;
  color: var(--ink-cold);
  text-align: right;
}
.timeline-section {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line-metal);
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.timeline-track {
  display: flex;
  gap: 10px;
  align-items: stretch;
  min-width: max-content;
  padding: 2px 2px 6px;
}
.timeline-card {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
  background: var(--bg-raised);
  border: 1px solid var(--line-metal);
  border-left: 3px solid var(--silver);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.timeline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(174, 188, 205, 0.09) 0 1px, transparent 1px 7px),
    linear-gradient(150deg, rgba(194, 98, 42, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.timeline-timecode {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-rust);
  text-transform: uppercase;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-cold);
}
.episodes-section {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line-metal);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line-metal);
  border-left: 3px solid var(--line-bright);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.episode-card-current {
  border-color: var(--accent-rust-deep);
  border-left-color: var(--accent-rust);
  background: #17131a;
  box-shadow: 0 0 0 1px rgba(194, 98, 42, 0.25);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-rust);
}
.episode-title {
  font-size: 14px;
  color: var(--silver-hot);
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.comments-section {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line-metal);
}
.comments-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.comment-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon nick"
    "icon text";
  column-gap: 9px;
  row-gap: 3px;
  padding: 10px 12px;
  background: var(--bg-raised);
  border: 1px solid var(--line-metal);
  border-left: 3px solid var(--silver);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.comment-icon {
  grid-area: icon;
  align-self: start;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  background:
    linear-gradient(135deg, var(--silver-hot) 0%, var(--silver) 45%, var(--accent-rust) 100%);
  clip-path: polygon(50% 0, 100% 38%, 78% 100%, 22% 100%, 0 38%);
}
.comment-nickname {
  grid-area: nick;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--silver-hot);
}
.comment-text {
  grid-area: text;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-dim);
}
.recommend-region {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-metal);
}
.recommend-heading {
  font-weight: 700;
  letter-spacing: 0.16em;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px 6px 8px;
  color: var(--ink-cold);
  text-decoration: none;
  background: var(--bg-panel);
  border: 1px solid var(--line-metal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.14s linear, background 0.14s linear;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--accent-rust);
  background: #17131a;
  color: #fff;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-metal);
  filter: contrast(1.06) saturate(0.85);
}
[data-runtime="name"] {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--silver-hot);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line-metal);
  background: #090d13;
  padding: 16px 14px 26px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border: 1px solid var(--line-metal);
  background: var(--bg-panel);
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: #fff;
  border-color: var(--accent-rust);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(43, 52, 68, 0.7);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--silver-hot);
  border-bottom-color: var(--accent-rust);
}
@media (max-width: 900px) {.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-figure {
    max-width: 240px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 10px 30px;
  }
.header-inner {
    padding: 7px 10px;
  }
.hero-figure {
    max-width: 190px;
  }
.hero-title {
    font-size: clamp(24px, 8vw, 34px);
  }
.hero-desc {
    padding-left: 10px;
  }
.hero-tagline {
    padding-left: 10px;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.player-progress {
    flex: 1 1 100%;
    order: -1;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stack {
    max-height: 300px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 7px;
  }}

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}
