*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --night-950: #060b16;
  --night-900: #0a1120;
  --night-850: #0e1728;
  --night-800: #121d31;
  --night-750: #16233a;
  --night-700: #1c2c46;
  --line: rgba(120, 148, 190, 0.18);
  --line-soft: rgba(120, 148, 190, 0.1);
  --amber: #e6a548;
  --amber-bright: #ffc266;
  --amber-deep: #b97a2a;
  --amber-glow: rgba(230, 165, 72, 0.16);
  --text: #d7e0ee;
  --text-dim: #94a3bb;
  --text-faint: #6d7d97;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --gap: 10px;
  --pad: 14px;
  --radius: 3px;
}
html {
  background: var(--night-950);
}
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 12% -6%, rgba(37, 62, 102, 0.55), transparent 62%),
    radial-gradient(900px 620px at 96% 4%, rgba(230, 165, 72, 0.08), transparent 60%),
    linear-gradient(180deg, #060b16 0%, #070d1a 40%, #050a13 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 0 26px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 11, 22, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber-bright);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(230, 165, 72, 0.35);
}
a[data-contract="site-name"] {
  color: var(--amber-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: #ffdca0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 35, 58, 0.55);
  color: #b9c7dc;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category {
  color: #b9c7dc;
  text-decoration: none;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--amber-bright);
  border-color: rgba(230, 165, 72, 0.55);
  background: rgba(230, 165, 72, 0.1);
  text-decoration: none;
}
.section-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #e9eef7;
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
}
.section-heading::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 16px 20px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-poster {
  position: relative;
  align-self: start;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--night-850);
  box-shadow:
    0 26px 60px -28px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(230, 165, 72, 0.08) inset;
}
.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 11, 22, 0) 52%, rgba(6, 11, 22, 0.62) 100%),
    linear-gradient(105deg, rgba(230, 165, 72, 0.12), transparent 55%);
}
.hero-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.hero-copy {
  display: block;
  min-width: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.08;
  color: #f2f6fc;
  text-shadow: 0 0 30px rgba(230, 165, 72, 0.22);
}
.hero-tagline {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--amber);
  max-width: 44ch;
}
.hero-desc {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.75;
}
.cast-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(18, 29, 49, 0.6);
}
.cast-avatar {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 194, 102, 0.55), transparent 58%),
    linear-gradient(160deg, #1e3050, #0d1728);
  border: 1px solid rgba(230, 165, 72, 0.4);
  box-shadow: 0 0 10px rgba(230, 165, 72, 0.18);
}
.cast-name {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #cdd8e8;
  white-space: nowrap;
}
.status-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 44, 70, 0.6), rgba(14, 23, 40, 0.6));
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.status-value {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber-bright);
}
.details-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 20px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.detail-key {
  flex: 0 0 68px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.detail-value {
  min-width: 0;
  font-family: var(--serif);
  font-size: 12.5px;
  color: #c9d5e6;
  word-break: break-word;
}
.player-wrap {
  position: relative;
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22, 35, 58, 0.85), rgba(9, 15, 27, 0.9));
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.95);
}
.player-wrap video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 2px;
}
.player-wrap.is-theater {
  box-shadow:
    0 0 0 1px rgba(230, 165, 72, 0.25) inset,
    0 24px 70px -30px rgba(230, 165, 72, 0.35);
}
.player-wrap.is-lights-off video {
  filter: brightness(0.45) saturate(0.7);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.player-controls button, .player-controls select {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(28, 44, 70, 0.7);
  color: #c3d0e3;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-controls button:hover, .player-controls button:focus-visible, .player-controls select:hover, .player-controls select:focus-visible {
  color: var(--amber-bright);
  border-color: rgba(230, 165, 72, 0.5);
  background: rgba(230, 165, 72, 0.12);
}
.player-controls button.is-active {
  color: #0b1220;
  background: var(--amber);
  border-color: var(--amber-bright);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  margin: 0;
  accent-color: var(--amber);
  background: transparent;
  cursor: pointer;
}
.player-controls select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 20px;
  background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%),
    linear-gradient(135deg, var(--amber) 50%, transparent 50%);
  background-position: calc(100% - 11px) 50%, calc(100% - 7px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
.synopsis-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 20px;
}
.synopsis-para {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--text-dim);
  text-align: justify;
}
.synopsis-para::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 7px rgba(230, 165, 72, 0.8);
}
.timeline-section, .episodes-section, .comments-section, .recommend-region {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 0;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 18px;
  margin-top: 6px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.timeline-node {
  position: relative;
  padding: 6px 0 10px 22px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 6px;
  bottom: -6px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), transparent);
}
.timeline-bottle {
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 11px;
  border: 1px solid rgba(230, 165, 72, 0.75);
  border-radius: 2px 2px 4px 4px;
  background: linear-gradient(180deg, rgba(230, 165, 72, 0.35), rgba(230, 165, 72, 0.08));
  box-shadow: 0 0 12px rgba(230, 165, 72, 0.3);
}
.timeline-bottle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border: 1px solid rgba(230, 165, 72, 0.7);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
  background: rgba(230, 165, 72, 0.18);
}
.timeline-time {
  display: block;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #c4d0e2;
  line-height: 1.62;
}
.episode-strip {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(230, 165, 72, 0.5) rgba(18, 29, 49, 0.6);
}
.episode-strip::-webkit-scrollbar {
  height: 6px;
}
.episode-strip::-webkit-scrollbar-track {
  background: rgba(18, 29, 49, 0.7);
  border-radius: 999px;
}
.episode-strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  border-radius: 999px;
}
.episode-card {
  position: relative;
  flex: 0 0 208px;
  width: 208px;
  align-self: flex-start;
  scroll-snap-align: start;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(26, 40, 64, 0.92), rgba(11, 18, 32, 0.94));
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.95);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0.7;
}
.episode-card:hover {
  border-color: rgba(230, 165, 72, 0.45);
  transform: translateY(-2px);
}
.episode-number {
  display: block;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}
.episode-title {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f0f5fc;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding-bottom: 2px;
}
.episode-summary {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.66;
  color: var(--text-dim);
}
.episode-duration {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) 16px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.comment-column:nth-child(2) {
  margin-top: 16px;
}
.comment-note {
  position: relative;
  padding: 9px 12px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(31, 45, 68, 0.78), rgba(13, 21, 36, 0.85));
  box-shadow: 0 12px 24px -20px rgba(0, 0, 0, 0.95);
}
.comment-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--amber), transparent);
  opacity: 0.75;
}
.comment-column:nth-child(even) .comment-note {
  transform: rotate(-0.35deg);
}
.comment-column:nth-child(odd) .comment-note {
  transform: rotate(0.35deg);
}
.comment-nick {
  display: inline-block;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.comment-text {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #c6d2e4;
}
.recommend-region {
  padding-top: 18px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.recommend-card {
  display: block;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 37, 60, 0.8), rgba(10, 17, 30, 0.85));
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.recommend-card {
  color: #c6d2e4;
  text-decoration: none;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  color: #eaf1fb;
  text-decoration: none;
  border-color: rgba(230, 165, 72, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -22px rgba(230, 165, 72, 0.4);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--night-800);
  filter: saturate(0.9);
}
.recommend-pic {
  display: block;
}
.recommend-name {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #e4ebf6;
}
.recommend-blurb {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--text-faint);
}
.site-footer {
  width: 100%;
  max-width: 1240px;
  margin: 22px auto 0;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 22px;
  align-items: start;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #bdc9db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-link:hover, .footer-link:focus-visible {
  color: var(--amber-bright);
  border-bottom-color: rgba(230, 165, 72, 0.6);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #bdc9db;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--amber-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: #8fa0ba;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 2px;
}
.play, .mute, .pip, .fullscreen, .theater, .light, .progress, .speed, .volume, .timeupdate, .input, .player, .click, .change, .SELECT {
  
}
.player-wrap.is-theater .player-controls button[data-player-action="theater"], .player-wrap.is-lights-off .player-controls button[data-player-action="light"], .player-controls button.is-active {
  color: #0b1220;
  background: var(--amber);
  border-color: var(--amber-bright);
}
.player-wrap.is-lights-off {
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.95), rgba(4, 7, 14, 0.98));
  border-color: rgba(230, 165, 72, 0.35);
}
.player-wrap.is-theater {
  border-color: rgba(230, 165, 72, 0.55);
}
@media (max-width: 1000px) {.hero {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 20px;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 820px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 20px;
  }
.hero-poster {
    max-width: 260px;
  }
.comments-columns {
    gap: var(--gap) 12px;
  }
.comment-column:nth-child(2) {
    margin-top: 12px;
  }
.site-footer {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 620px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 10px;
  }
.hero, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding-left: 12px;
    padding-right: 12px;
  }
.hero-poster {
    max-width: 210px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    flex-basis: 60px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-card {
    flex-basis: 186px;
    width: 186px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-column:nth-child(2) {
    margin-top: 0;
  }
.comment-column:nth-child(even) .comment-note, .comment-column:nth-child(odd) .comment-note {
    transform: none;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  }}
@media (max-width: 420px) {.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls input[type="range"] {
    flex: 1 1 100%;
  }
.hero-poster {
    max-width: 180px;
  }}

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}
