*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  font-size: 14px;
  line-height: 1.55;
  color: #c9d4de;
  background: #101820;
  background-image: linear-gradient(180deg, #0b1218 0%, #101820 40%, #0d151c 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
body.lights-out {
  background-image: linear-gradient(180deg, #05090d 0%, #080e14 60%, #05090d 100%);
}
body.lights-out .hero-poster, body.lights-out .hero-player {
  filter: brightness(0.55) contrast(1.05);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 15, 21, 0.94);
  border-bottom: 1px solid #223040;
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e8b661;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(232, 182, 97, 0.35);
}
a[data-contract="site-name"]:hover {
  color: #ffd98a;
}
.category-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #9fb2c4;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #2a3b4d;
  border-radius: 2px;
  background: #131e28;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #ffd98a;
  border-color: #6b5527;
  background: #1b2733;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 28px;
}
.hero-flood-island {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-areas:
    "poster slogan"
    "poster player"
    "info info";
  gap: 14px 18px;
  align-items: start;
  padding: 18px 0 0;
  margin-bottom: 26px;
}
.hero-flood-island::before {
  content: "";
  position: absolute;
  inset: 0 -14px auto -14px;
  height: 320px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(38, 58, 78, 0.85) 0%, rgba(16, 24, 32, 0) 60%),
    linear-gradient(180deg, rgba(24, 36, 48, 0.9) 0%, rgba(16, 24, 32, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-flood-island > * {
  position: relative;
  z-index: 1;
}
.hero-poster-shell {
  grid-area: poster;
  position: relative;
  align-self: start;
  border: 1px solid #2b3d4f;
  background: #0b1218;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.88);
}
.hero-poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 76% 88%, rgba(232, 182, 97, 0.28) 0%, rgba(232, 182, 97, 0) 70%),
    linear-gradient(200deg, rgba(10, 16, 22, 0.55) 0%, rgba(10, 16, 22, 0) 55%);
  pointer-events: none;
}
.hero-slogan {
  grid-area: slogan;
  align-self: end;
  padding-bottom: 2px;
}
.hero-title {
  font-size: clamp(26px, 5.2vw, 52px);
  color: #f2f6fa;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 0 #0a1117, 0 0 26px rgba(120, 160, 200, 0.25);
}
.hero-tagline {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #9fb2c4;
  border-left: 2px solid #e8b661;
  padding-left: 8px;
}
.hero-player-shell {
  grid-area: player;
  position: relative;
  border: 1px solid #2b3d4f;
  background: #060b10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
.hero-player {
  display: block;
  width: 100%;
  background: #000;
}
.hero-player-shell.theater-mode {
  box-shadow: 0 0 0 2px #e8b661, 0 14px 40px rgba(0, 0, 0, 0.7);
}
.player-control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #16222d 0%, #0e1720 100%);
  border-top: 1px solid #263646;
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 11px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #b8c7d6;
  background: #1b2836;
  border: 1px solid #2f4356;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: #26384a;
  color: #ffd98a;
  border-color: #6b5527;
}
.player-btn.is-playing {
  color: #ffd98a;
  border-color: #6b5527;
}
.player-btn.is-active {
  color: #0d151c;
  background: #e8b661;
  border-color: #e8b661;
}
.player-btn.is-muted {
  color: #f0a2a2;
  border-color: #6b3030;
}
.player-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  accent-color: #e8b661;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 76px;
  min-width: 56px;
  height: 4px;
  accent-color: #7fa6c9;
  cursor: pointer;
}
.player-speed {
  flex: 0 0 auto;
  padding: 2px 4px;
  font-size: 11px;
  color: #b8c7d6;
  background: #1b2836;
  border: 1px solid #2f4356;
  border-radius: 2px;
  cursor: pointer;
}
.overview-info {
  grid-area: info;
  margin-top: 6px;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #141e28 0%, #111a23 100%);
  border: 1px solid #243343;
  border-top: 2px solid #2c4055;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.overview-seo {
  font-size: 13.5px;
  line-height: 1.7;
  color: #aebecd;
  padding-bottom: 12px;
  border-bottom: 1px solid #22303e;
}
.episode-status {
  padding: 10px 0 12px;
  border-bottom: 1px solid #22303e;
}
.episode-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.episode-status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #7d90a3;
}
.episode-status-current {
  font-size: 15px;
  font-weight: 800;
  color: #e8b661;
  text-shadow: 0 0 12px rgba(232, 182, 97, 0.3);
}
.episode-status-divider {
  color: #3d5266;
}
.episode-status-total {
  font-size: 12px;
  color: #8fa2b4;
}
.cast-list {
  padding: 12px 0;
  border-bottom: 1px solid #22303e;
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #7d90a3;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid #e8b661;
}
.cast-rows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2px 18px;
  align-items: start;
}
.cast-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  min-width: 0;
}
.cast-name {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #dbe6f0;
  white-space: nowrap;
}
.cast-note {
  flex: 1 1 auto;
  font-size: 12px;
  color: #8b9dae;
  min-width: 0;
}
.synopsis {
  padding: 12px 0;
  border-bottom: 1px solid #22303e;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.72;
  color: #b3c1cf;
  text-indent: 2em;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 6px;
}
.details {
  padding: 12px 0 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted #22303e;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: #7d90a3;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: #cbd8e4;
  min-width: 0;
}
.timeline-section {
  margin-bottom: 22px;
  padding-top: 4px;
}
.timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #e6eef6;
  padding-left: 9px;
  border-left: 3px solid #e8b661;
  margin-bottom: 6px;
}
.timeline-note {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #6d8093;
  margin-bottom: 12px;
  padding-left: 12px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 0 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #3a4d60 #131d26;
  scrollbar-width: thin;
  border-bottom: 1px solid #22303e;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #131d26;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #3a4d60;
  border-radius: 0;
}
.timeline-node {
  position: relative;
  flex: 0 0 168px;
  scroll-snap-align: start;
  padding: 30px 12px 14px;
  background: #171f27;
  border-right: 1px solid #0c1319;
  border-top: 3px solid #4a5563;
  min-height: 132px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}
.timeline-node::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}
.timeline-timecode {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f0f5fa;
  margin-bottom: 5px;
}
.timeline-label {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #b6c4d2;
}
.timeline-era-1987 {
  background: #241f12;
  border-top-color: #b08a3c;
  color: #d9b45c;
}
.timeline-era-1993 {
  background: #1f2317;
  border-top-color: #8f9a48;
  color: #b6c05e;
}
.timeline-era-1998 {
  background: #17231f;
  border-top-color: #4f8f7a;
  color: #6fb39c;
}
.timeline-era-2005 {
  background: #141f2a;
  border-top-color: #48789e;
  color: #6fa3cb;
}
.timeline-era-2012 {
  background: #111c2b;
  border-top-color: #3a6493;
  color: #6b93c4;
}
.timeline-era-2016 {
  background: #0e1826;
  border-top-color: #2f4d78;
  color: #7d9dc4;
}
.episodes-section {
  margin-bottom: 22px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  padding: 9px 11px;
  background: #151f29;
  border: 1px solid #24313e;
  border-left: 3px solid #35485b;
}
.episode-card-current {
  background: #1d1114;
  border: 1px solid #7a1f26;
  border-left: 3px solid #b1272f;
  box-shadow: 0 0 0 1px rgba(177, 39, 47, 0.35), 0 6px 20px rgba(120, 20, 26, 0.28);
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: #e9f0f7;
  margin-bottom: 4px;
}
.episode-card-current .episode-title {
  color: #ff9a9a;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: #a4b3c2;
}
.episode-meta {
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #6d8093;
}
.comments-section {
  margin-bottom: 22px;
}
.comments-masonry {
  columns: 2;
  column-gap: 8px;
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  break-inside: avoid;
  margin-bottom: 8px;
  padding: 9px 10px;
  background: #151f29;
  border: 1px solid #24313e;
  border-left: 3px solid #3b5166;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(0.65) contrast(1.15) brightness(0.95) sepia(0.12);
  border: 1px solid #3b4d60;
  background: #0d151c;
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nickname {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #e8b661;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: #b0becc;
  word-break: break-word;
}
.recommend-region {
  margin-bottom: 18px;
}
.recommend-region .recommend-heading {
  margin-bottom: 8px;
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: #151f29;
  border: 1px solid #24313e;
  color: #b0becc;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  background: #1b2836;
  border-color: #6b5527;
  transform: translateY(-2px);
}
.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0d151c;
  filter: saturate(0.8) contrast(1.05) brightness(0.92);
  border: 1px solid #1e2b38;
}
a.recommend-card:hover .recommend-pic {
  filter: saturate(1) contrast(1.08) brightness(1);
}
.recommend-name {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #dfe8f1;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: #8b9dae;
}
.recommend-region-1 .recommend-heading {
  border-left-color: #b08a3c;
}
.recommend-region-2 .recommend-heading {
  border-left-color: #4f8f7a;
}
.recommend-region-3 .recommend-heading {
  border-left-color: #3a6493;
}
.site-footer {
  border-top: 1px solid #223040;
  background: #0b1218;
  padding: 16px 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #9fb2c4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffd98a;
  border-bottom-color: #6b5527;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid #1b2836;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #61758a;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8fa2b4;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #ffd98a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: #5f7287;
  max-width: 900px;
  padding-top: 6px;
}
@media (max-width: 900px) {.hero-flood-island {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }}
@media (max-width: 720px) {.hero-flood-island {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "slogan"
      "player"
      "info";
    gap: 12px;
  }
.hero-poster-shell {
    max-width: 230px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    columns: 1;
  }
.cast-rows {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.recommend-strip {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }}
@media (max-width: 520px) {.page-main {
    padding: 0 10px 22px;
  }
.header-bar {
    padding: 7px 10px;
    gap: 10px;
  }
.overview-info {
    padding: 12px 12px 14px;
  }
.hero-title {
    font-size: 24px;
  }
.hero-tagline {
    font-size: 12px;
  }
.timeline-node {
    flex: 0 0 148px;
    padding: 28px 10px 12px;
  }
.player-control-bar {
    gap: 5px;
    padding: 6px;
  }
.player-progress {
    flex: 1 1 100%;
    order: 1;
  }
.recommend-strip {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 6px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
