*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-weight: 600;
  font-stretch: condensed;
  background-color: #0d1117;
  color: #c4ccd8;
  line-height: 1.35;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
::selection {
  background: #ff7a18;
  color: #0d1117;
}
:root {
  --steel-900: #0d1117;
  --steel-850: #11161e;
  --steel-800: #161c26;
  --steel-700: #1d2530;
  --steel-600: #28323f;
  --steel-500: #3a4654;
  --steel-400: #55637280;
  --steel-300: #7c8a9c;
  --steel-200: #a9b5c4;
  --steel-100: #cdd6e1;
  --ice: #9fc4d8;
  --spark: #ff7a18;
  --spark-deep: #e2560a;
  --spark-glow: #ffb066;
  --rule: #222b37;
}
body {
  background:
    radial-gradient(120% 60% at 78% 0%, #1a2330 0%, rgba(13, 17, 23, 0) 58%),
    linear-gradient(180deg, #0b0f15 0%, #0d1117 42%, #0a0e13 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.96), rgba(10, 14, 20, 0.82));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(12px, 3vw, 34px);
  max-width: 1560px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--steel-100);
  text-decoration: none;
  text-transform: uppercase;
  border-left: 4px solid var(--spark);
  padding-left: 10px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--spark-glow);
  border-left-color: var(--spark-glow);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--steel-200);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid var(--steel-500);
  background: rgba(40, 50, 63, 0.5);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
a.runtime-category:hover {
  color: var(--steel-900);
  background: var(--spark);
  border-color: var(--spark);
}
.page-main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 34px) clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.4vw, 52px);
}
.section-title {
  position: relative;
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  font-weight: 900;
  color: var(--steel-100);
  letter-spacing: 0.05em;
  padding-left: 14px;
  margin-bottom: 14px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  background: linear-gradient(180deg, var(--spark-glow), var(--spark-deep));
  box-shadow: 0 0 8px rgba(255, 122, 24, 0.55);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 2.18fr);
  gap: clamp(14px, 2vw, 30px);
  align-items: start;
  margin-top: clamp(18px, 2.6vw, 34px);
  padding: clamp(14px, 2vw, 26px);
  background:
    linear-gradient(180deg, rgba(22, 28, 38, 0.94), rgba(13, 17, 23, 0.98));
  border: 1px solid var(--rule);
  border-top: 3px solid var(--spark);
  position: relative;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 45% at 8% 4%, rgba(255, 122, 24, 0.09), transparent 70%);
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  align-self: start;
  background: #05080c;
  border: 1px solid var(--steel-600);
  overflow: hidden;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.08);
}
.hero-poster-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 62%, rgba(8, 11, 16, 0.82) 100%),
    linear-gradient(90deg, rgba(255, 122, 24, 0.14), transparent 34%);
  mix-blend-mode: screen;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
}
.hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
  color: #f2f6fb;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-size: clamp(0.9rem, 1.35vw, 1.12rem);
  font-weight: 800;
  color: var(--spark-glow);
  letter-spacing: 0.22em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.hero-seo {
  font-size: 0.86rem;
  line-height: 1.62;
  font-weight: 500;
  color: var(--steel-200);
  max-width: 92ch;
}
.meta-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 6px 16px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  font-size: 0.79rem;
  line-height: 1.4;
}
.detail-item dt {
  flex: 0 0 auto;
  color: var(--steel-300);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.detail-item dt::after {
  content: "／";
  color: var(--steel-500);
  margin-left: 4px;
}
.detail-item dd {
  color: var(--steel-100);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 620px;
}
.status-line {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--steel-100);
  letter-spacing: 0.04em;
}
.status-bar {
  position: relative;
  height: 12px;
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  overflow: hidden;
}
.status-fill {
  display: block;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--spark-deep), var(--spark), var(--spark-glow));
  color: #0d1117;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 10px;
  padding-left: 8px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 12px rgba(255, 122, 24, 0.6);
  white-space: nowrap;
}
.cast-strip {
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px;
  background: linear-gradient(160deg, var(--steel-700), var(--steel-850));
  border: 1px solid var(--steel-600);
  border-left: 3px solid var(--steel-500);
  min-width: 0;
  transition: border-left-color 0.16s ease, transform 0.16s ease;
}
.cast-card:hover {
  border-left-color: var(--spark);
  transform: translateY(-2px);
}
.cast-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: #eef3f9;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--steel-300);
  line-height: 1.34;
}
.synopsis-block {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 0.83rem;
  line-height: 1.66;
  font-weight: 500;
  color: var(--steel-200);
  margin-bottom: 9px;
  max-width: 96ch;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.player-wrap {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #05080c;
  border: 1px solid var(--steel-600);
  min-width: 0;
}
.player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-wrap.is-theater {
  border-color: var(--spark);
  box-shadow: 0 0 0 1px rgba(255, 122, 24, 0.35), 0 12px 40px rgba(0, 0, 0, 0.6);
}
.player-wrap.is-lights-off video {
  filter: brightness(0.42) contrast(1.16);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, var(--steel-800), #0b0f15);
  border-top: 1px solid var(--steel-600);
}
.ctrl-btn {
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--steel-100);
  padding: 5px 10px;
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  background: var(--steel-500);
  color: #fff;
}
.ctrl-btn.is-active {
  background: var(--spark);
  border-color: var(--spark-glow);
  color: #12161d;
}
.ctrl-btn.is-muted {
  color: var(--spark-glow);
  border-color: var(--spark-deep);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--spark) 0%, var(--steel-600) 0%);
  background-color: var(--steel-600);
  border: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--spark-glow);
  border: 1px solid #0d1117;
  box-shadow: 0 0 8px rgba(255, 122, 24, 0.8);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--spark-glow);
  border: 1px solid #0d1117;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 92px;
  min-width: 60px;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--steel-600);
  border: none;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background: var(--ice);
  border: 1px solid #0d1117;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--ice);
  border: 1px solid #0d1117;
  cursor: pointer;
}
.ctrl-speed {
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--steel-100);
  background: var(--steel-700);
  border: 1px solid var(--steel-500);
  padding: 5px 6px;
  white-space: nowrap;
}
.ctrl-speed:hover {
  border-color: var(--spark);
}
.timeline-section {
  min-width: 0;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 22px 4px 16px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--spark-deep) var(--steel-800);
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--steel-800);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--steel-500);
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--ice) 0,
    var(--ice) 7px,
    transparent 7px,
    transparent 13px
  );
  opacity: 0.55;
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 0 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.18), 0 0 14px rgba(255, 122, 24, 0.85);
  margin-bottom: 8px;
  flex: 0 0 auto;
}
.timeline-timecode {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ice);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel-200);
  line-height: 1.35;
}
.episodes-section {
  min-width: 0;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  column-gap: 8px;
  row-gap: 5px;
  padding: 9px 11px;
  background: linear-gradient(150deg, var(--steel-700), var(--steel-850));
  border: 1px solid var(--steel-600);
  border-left: 3px solid var(--steel-500);
  min-width: 0;
  transition: border-left-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  border-left-color: var(--spark);
  background: linear-gradient(150deg, var(--steel-600), var(--steel-850));
}
.episode-number {
  grid-area: num;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--spark-glow);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 0.9rem;
  font-weight: 900;
  color: #eef3f9;
  letter-spacing: 0.02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--steel-300);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--steel-200);
}
.comments-section {
  min-width: 0;
}
.comments-grid {
  column-count: 2;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 8px;
  padding: 9px 11px;
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  border-top: 2px solid var(--steel-500);
  transition: border-top-color 0.16s ease;
}
.comment-card:hover {
  border-top-color: var(--spark);
}
.comment-nickname {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--spark-glow);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.58;
  color: var(--steel-200);
}
.recommend-region {
  min-width: 0;
}
.region-1 .recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.region-2 .recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 8px;
}
.region-3 .recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(160deg, var(--steel-700), var(--steel-850));
  border: 1px solid var(--steel-600);
  color: var(--steel-100);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--spark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 122, 24, 0.28);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05080c;
  border: 1px solid var(--steel-600);
  filter: saturate(0.86) contrast(1.06);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.83rem;
  font-weight: 900;
  color: #eef3f9;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.71rem;
  font-weight: 500;
  line-height: 1.44;
  color: var(--steel-300);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) clamp(12px, 3vw, 34px) clamp(26px, 4vw, 46px);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--steel-100);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--steel-500);
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--spark-glow);
  border-bottom-color: var(--spark);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--steel-300);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--steel-200);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--spark-glow);
  text-decoration: underline;
  text-decoration-color: var(--spark);
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--steel-300);
  max-width: 92ch;
}
.player video.is-playing {
  box-shadow: inset 0 0 0 1px rgba(255, 122, 24, 0.35);
}
.player-wrap .progress, .player-wrap .pause, .player-wrap .play, .player-wrap .speed, .player-wrap .volume, .player-wrap .mute, .player-wrap .pip, .player-wrap .fullscreen, .player-wrap .theater, .player-wrap .light, .player-wrap .change, .player-wrap .click, .player-wrap .input, .player-wrap .timeupdate {
  display: none;
}
@media (max-width: 1080px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  }
.region-3 .recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }}
@media (max-width: 860px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 340px;
  }
.comments-grid {
    column-count: 2;
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 640px) {body {
    font-weight: 500;
  }
.header-inner {
    gap: 10px;
    flex-wrap: wrap;
  }
.hero-panel {
    padding: 12px;
    border-top-width: 2px;
  }
.hero-poster-wrap {
    max-width: 240px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    column-count: 1;
  }
.region-1 .recommend-grid, .region-2 .recommend-grid, .region-3 .recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.timeline-node {
    width: 152px;
  }
.player-controls {
    padding: 7px 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 5;
  }}
@media (max-width: 440px) {.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  }
.region-1 .recommend-grid, .region-2 .recommend-grid, .region-3 .recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }
.hero-poster-wrap {
    max-width: 200px;
  }}

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}
