*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #0b0f16;
  background-image:
    linear-gradient(180deg, #10151f 0%, #0b0f16 30%, #0a0d13 100%);
  color: #c7cedb;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: #d7deea;
  text-decoration: none;
}
a:hover {
  color: #ffc247;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 12, 18, 0.94);
  border-bottom: 1px solid #1d2531;
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: #ffc247;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "▮";
  margin-right: 6px;
  color: #e8392f;
  font-size: 12px;
}
a[data-contract="site-name"]:hover {
  color: #ffe08a;
  text-decoration: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
a.header-link {
  color: #8d99ac;
  text-decoration: none;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid #232c3a;
  border-radius: 10px;
  white-space: nowrap;
}
a.header-link:hover {
  color: #0b0f16;
  background: #ffc247;
  border-color: #ffc247;
  text-decoration: none;
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 9px;
}
a.runtime-category {
  color: #aab4c4;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
  padding: 3px 12px;
  border: 1px solid #2a3444;
  border-left: 3px solid #ffc247;
  border-radius: 2px 10px 10px 2px;
  background: #121824;
}
a.runtime-category:hover {
  color: #0b0f16;
  background: #ffc247;
  border-color: #ffc247;
  border-left-color: #e8392f;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 26px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #eef2f8;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid #1e2733;
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: #ffc247;
}
.hero {
  padding-bottom: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid #161d28;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-frame {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #232c3a;
  box-shadow: 0 0 0 1px rgba(255, 194, 71, 0.12), 0 10px 26px rgba(0, 0, 0, 0.6);
  background: #05070b;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #f4f7fc;
  text-shadow: 0 0 22px rgba(255, 194, 71, 0.18);
}
.hero-tagline {
  font-size: 13px;
  color: #9aa6b8;
  line-height: 1.7;
  padding-left: 10px;
  border-left: 2px solid #e8392f;
}
.cast-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cast-chip {
  font-size: 12px;
  color: #cdd6e4;
  padding: 2px 10px;
  border: 1px solid #2a3444;
  border-radius: 10px 2px 10px 2px;
  background: #131a26;
  white-space: nowrap;
}
.cast-chip:nth-child(odd) {
  border-color: #33405a;
  background: #16202f;
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #121926 0%, #0d131d 100%);
  border: 1px solid #1f2836;
}
.episode-status-line {
  font-size: 12px;
  color: #ffc247;
  letter-spacing: 0.04em;
  padding-left: 9px;
  border-left: 3px solid #e8392f;
}
.player-frame {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  border: 1px solid #232c3a;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.ctrl-btn {
  font-size: 12px;
  line-height: 1.4;
  color: #c3ccda;
  background: #171f2c;
  border: 1px solid #2a3444;
  border-radius: 10px;
  padding: 3px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: #0b0f16;
  background: #ffc247;
  border-color: #ffc247;
}
.ctrl-btn.is-active {
  color: #0b0f16;
  background: #ffc247;
  border-color: #ffc247;
  box-shadow: 0 0 10px rgba(255, 194, 71, 0.4);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #2a3444;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 100%;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffc247;
  border: none;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #ffc247;
  cursor: pointer;
}
.ctrl-select {
  font-size: 12px;
  color: #c3ccda;
  background: #171f2c;
  border: 1px solid #2a3444;
  border-radius: 10px;
  padding: 3px 6px;
  cursor: pointer;
}
.ctrl-select:hover {
  border-color: #ffc247;
}
.player {
  position: relative;
}
.player .progress, .progress {
  display: block;
}
.data-player-action, .input, .change, .click, .timeupdate, .volume, .speed, .pause, .play, .mute, .pip, .fullscreen, .theater, .light {
  
}
.hero-shell.is-theater {
  grid-template-columns: minmax(0, 1fr);
}
.hero-shell.is-theater .poster-frame {
  display: none;
}
.hero-shell.is-theater .hero-player {
  border-color: #ffc247;
  box-shadow: 0 0 26px rgba(255, 194, 71, 0.12);
}
body.is-lights-off {
  background-image: none;
  background-color: #04060a;
}
body.is-lights-off .site-header {
  background: rgba(3, 5, 8, 0.96);
}
.details-panel, .synopsis-panel {
  padding: 9px 11px;
  border-radius: 8px;
  background: #10161f;
  border: 1px solid #1c2531;
  border-top: 2px solid #2a3444;
}
.panel-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffc247;
  margin-bottom: 7px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dashed #1c2531;
  font-size: 12px;
}
.detail-key {
  flex: 0 0 auto;
  color: #7d889a;
  letter-spacing: 0.06em;
}
.detail-value {
  margin: 0;
  color: #d7deea;
  font-weight: 600;
}
.synopsis-lead {
  font-size: 13px;
  line-height: 1.8;
  color: #e4e9f2;
  padding-left: 10px;
  border-left: 3px solid #ffc247;
  margin-bottom: 8px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 6px 14px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.85;
  color: #a3aebf;
}
.synopsis-para::first-letter {
  color: #ffc247;
}
.timeline-section {
  margin-bottom: 18px;
  padding-bottom: 4px;
}
.timeline-road {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px 18px;
  padding: 4px 0 4px 16px;
  border-left: 3px dashed #ffc247;
}
.timeline-node {
  position: relative;
  padding: 6px 10px 6px 12px;
  border-radius: 0 8px 8px 0;
  background: #10161f;
  border: 1px solid #1c2531;
  border-left: 2px solid #e8392f;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc247;
  box-shadow: 0 0 0 3px rgba(255, 194, 71, 0.16);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffc247;
}
.timeline-label {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: #aab4c4;
}
.episodes-section {
  margin-bottom: 18px;
}
.episode-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.episode-rail::-webkit-scrollbar {
  height: 6px;
}
.episode-rail::-webkit-scrollbar-thumb {
  background: #2a3444;
  border-radius: 3px;
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #121926 0%, #0e141d 100%);
  border: 1px solid #1f2836;
  border-top: 2px solid #2a3444;
}
.episode-card:hover {
  border-top-color: #ffc247;
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffc247;
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef2f8;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.7;
  color: #98a3b4;
  flex: 0 0 auto;
}
.episode-duration {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7d889a;
  padding-top: 4px;
  border-top: 1px dashed #1c2531;
}
.comments-section {
  margin-bottom: 18px;
  padding: 12px 13px;
  border-radius: 8px;
  background: #0d131c;
  border: 1px solid #1b2431;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  padding: 8px 10px;
  border-radius: 6px;
  background: #121a25;
  border-left: 2px solid #2a3444;
}
.comment-item:hover {
  border-left-color: #ffc247;
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ffc247;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.8;
  color: #a3aebf;
}
.recommend-region {
  margin-bottom: 16px;
}
.recommend-list {
  display: grid;
  gap: 9px;
  align-items: start;
}
.recommend-list-wide {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.recommend-list-narrow {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.recommend-list-compact {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border-radius: 8px;
  background: #10161f;
  border: 1px solid #1c2531;
  color: #d7deea;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  color: #ffc247;
  border-color: #ffc247;
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 5px;
  background: #05070b;
}
.recommend-list-compact [data-runtime="recommendation"] img {
  aspect-ratio: 3 / 4;
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #eef2f8;
  line-height: 1.5;
}
a.recommend-card:hover .recommend-name {
  color: #ffc247;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.7;
  color: #8d99ac;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 14px;
  padding: 14px 16px 22px;
  border-top: 1px solid #1b2431;
  background: #080b11;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: #aab4c4;
  text-decoration: none;
  padding: 2px 10px;
  border: 1px solid #232c3a;
  border-radius: 10px;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #0b0f16;
  background: #ffc247;
  border-color: #ffc247;
  text-decoration: none;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  flex: 1 1 260px;
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #6f7a8c;
  padding-right: 8px;
  border-right: 1px solid #232c3a;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8d99ac;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #ffc247;
  text-decoration: underline;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.8;
  color: #5d6779;
  padding-top: 8px;
  border-top: 1px dashed #1b2431;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 220px;
  }
.hero-title {
    font-size: 25px;
  }
.timeline-road {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }}
@media (max-width: 620px) {.page-main {
    padding: 12px 10px 20px;
  }
.header-bar {
    padding: 7px 10px;
  }
.categories-strip {
    padding: 0 10px 8px;
  }
.hero-title {
    font-size: 21px;
  }
.hero-tagline {
    font-size: 12px;
  }
.poster-frame {
    max-width: 150px;
  }
.ctrl-btn {
    font-size: 11px;
    padding: 3px 8px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-road {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.episode-rail {
    grid-auto-columns: minmax(78%, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list-wide, .recommend-list-narrow, .recommend-list-compact {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.site-footer {
    padding: 12px 12px 20px;
  }}
@media (max-width: 420px) {.episode-rail {
    grid-auto-columns: minmax(88%, 1fr);
  }
.recommend-list-wide, .recommend-list-narrow, .recommend-list-compact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.recommend-list-compact [data-runtime="recommendation"] img {
    aspect-ratio: 16 / 10;
  }}

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}
