*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body, h1, h2, h3, p, ol, ul, dl, dd {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --bg: #f2f0ec;
  --bg-warm: #eae6df;
  --surface: #fbfaf8;
  --surface-2: #f5f3ef;
  --ink: #1c1a22;
  --ink-soft: #4a4655;
  --ink-mute: #7c7789;
  --line: #d9d4cc;
  --violet: #4b2a6b;
  --violet-deep: #301a48;
  --violet-glow: #7a4fb5;
  --neon: #ff6a1a;
  --neon-soft: #ff8f4d;
  --radius: 14px;
  --radius-sm: 8px;
  --shelf: 3px;
  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
}
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  background-image: linear-gradient(180deg, #f7f6f3 0%, var(--bg) 220px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 246, 243, 0.92);
  border-bottom: var(--shelf) solid var(--violet-deep);
  box-shadow: 0 2px 0 rgba(75, 42, 107, 0.12);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--violet-deep);
  text-decoration: none;
  padding: 3px 10px 4px;
  border-radius: 4px;
  background: linear-gradient(100deg, var(--violet-deep), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: skewX(-5deg);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  -webkit-text-fill-color: var(--neon);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--violet-deep);
  transform: skewX(-4deg);
  transform-origin: left center;
  margin-bottom: 9px;
  padding-left: 10px;
  border-left: 4px solid var(--neon);
  line-height: 1.2;
}
.hero-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 1px 0 #fff inset, 0 6px 18px -14px rgba(48, 26, 72, 0.5);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.hero-poster-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--violet-deep);
}
.hero-poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-magic-residue {
  position: absolute;
  top: -14px;
  left: -16px;
  width: 128px;
  height: 128px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 46%,
      rgba(122, 79, 181, 0.85) 0%,
      rgba(75, 42, 107, 0.6) 34%,
      rgba(48, 26, 72, 0.28) 56%,
      rgba(48, 26, 72, 0) 72%);
  filter: blur(3px);
  mix-blend-mode: screen;
  animation: magic-pulse 4.5s ease-in-out infinite;
}
@keyframes magic-pulse {
  0%, 100% { opacity: 0.62; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--violet-deep);
  transform: skewX(-6deg);
}
.hero-tagline {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(92deg, var(--violet-deep), var(--violet) 62%, var(--neon));
  padding: 6px 11px;
  border-radius: 3px;
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
}
.hero-seo {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.62;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.hero-player-wrapper {
  position: relative;
  margin-top: 2px;
  border-radius: var(--radius-sm);
  background: #0d0917;
  padding: 6px;
  border: 1px solid var(--violet-deep);
  transition: box-shadow 0.25s, background 0.25s, padding 0.25s;
}
.hero-player-wrapper video {
  display: block;
  border-radius: 5px;
  background: #000;
}
.hero-player-wrapper.player-lights-dim {
  background: #05030a;
  box-shadow: 0 0 0 1px rgba(122, 79, 181, 0.6), 0 0 26px -6px rgba(255, 106, 26, 0.55);
}
.hero-player-wrapper.player-theater-mode {
  box-shadow: 0 0 0 2px var(--neon), 0 12px 34px -18px rgba(48, 26, 72, 0.9);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.player-btn {
  font-size: 11px;
  font-weight: 600;
  color: #e9e2f5;
  background: rgba(122, 79, 181, 0.28);
  border: 1px solid rgba(122, 79, 181, 0.55);
  border-radius: 3px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: var(--violet-glow);
  border-color: var(--violet-glow);
  color: #fff;
}
.player-btn:active, .player-btn.click {
  transform: translateY(1px);
}
.player-btn.is-active, .player-btn.light, .player-btn.theater, .player-btn.mute {
  background: var(--neon);
  border-color: var(--neon);
  color: #24100a;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(122, 79, 181, 0.35);
  cursor: pointer;
  flex: 1 1 110px;
  min-width: 90px;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  border: 2px solid #fff;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  border: 2px solid #fff;
  cursor: pointer;
}
.player-range.progress, .player-range.volume, .player-range.input, .player-range.change, .player-range.data-player-action, .player-range.timeupdate {
  background: rgba(122, 79, 181, 0.35);
}
.player-speed {
  font-size: 11px;
  font-weight: 600;
  color: #e9e2f5;
  background: rgba(122, 79, 181, 0.28);
  border: 1px solid rgba(122, 79, 181, 0.55);
  border-radius: 3px;
  padding: 3px 5px;
  cursor: pointer;
}
.player-speed.speed {
  color: #fff;
}
.cast-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: var(--shelf) solid var(--bg-warm);
  box-shadow: 0 -1px 0 var(--line) inset;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-member {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.cast-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(140deg, var(--violet) 0%, var(--violet-deep) 70%);
  box-shadow: 0 0 0 2px rgba(255, 106, 26, 0.35);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: var(--shelf) solid var(--bg-warm);
  box-shadow: 0 -1px 0 var(--line) inset;
}
.synopsis-body {
  columns: 2;
  column-gap: 20px;
  column-rule: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 12.8px;
  color: var(--ink-soft);
  line-height: 1.68;
  break-inside: avoid;
  margin-bottom: 7px;
}
.synopsis-paragraph:first-child {
  color: var(--ink);
  font-weight: 600;
}
.episode-status-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: var(--shelf) solid var(--bg-warm);
  box-shadow: 0 -1px 0 var(--line) inset;
}
.status-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.status-chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 13px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: 4px;
  min-width: 0;
}
.status-chip-current {
  border-left-color: var(--neon);
  background: #fff6ef;
}
.status-chip-state {
  border-left-color: var(--violet-deep);
}
.status-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--violet-deep);
  line-height: 1;
}
.status-chip-current .status-value {
  color: var(--neon);
}
.details-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: var(--shelf) solid var(--bg-warm);
  box-shadow: 0 -1px 0 var(--line) inset;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px;
  background: var(--surface-2);
  border-radius: 4px;
  border-left: 3px solid var(--line);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.timeline-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
}
.timeline-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--surface-2);
  border-radius: 4px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: 4px;
}
.timeline-item {
  flex: 0 0 auto;
  width: 208px;
  scroll-snap-align: start;
  padding: 9px 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-top: 4px solid var(--violet);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.timeline-item:nth-child(even) {
  border-top-color: var(--neon);
}
.timeline-timecode {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--violet-deep);
  padding: 2px 7px;
  border-radius: 3px;
  align-self: flex-start;
  letter-spacing: 0.03em;
}
.timeline-item:nth-child(even) .timeline-timecode {
  background: var(--neon);
  color: #2a1006;
}
.timeline-label {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.episodes-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  margin-top: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: var(--radius-sm);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.episode-card:hover {
  border-left-color: var(--neon);
  background: #fff8f2;
  transform: translateY(-1px);
}
.episode-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  background: rgba(75, 42, 107, 0.1);
  padding: 1px 7px;
  border-radius: 3px;
  align-self: flex-start;
  letter-spacing: 0.03em;
}
.episode-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1 1 auto;
}
.episode-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mute);
  align-self: flex-end;
  border-top: 1px dashed var(--line);
  padding-top: 4px;
  width: 100%;
  text-align: right;
}
.comments-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
}
.comments-masonry {
  columns: 3;
  column-gap: 9px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 9px;
  padding: 9px 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--violet);
}
.comment-card:nth-child(3n/**/+2) {
  border-top-color: var(--neon);
}
.comment-card:nth-child(3n/**/+3) {
  border-top-color: var(--violet-glow);
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
  overflow-wrap: anywhere;
}
.comment-text {
  font-size: 12.3px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.recommend-region {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
}
.recommend-region + .recommend-region {
  margin-top: 10px;
}
.recommend-region-2 {
  border-top: 3px solid var(--neon);
}
.recommend-region-3 {
  border-top: 3px solid var(--violet-glow);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--violet);
  box-shadow: 0 8px 20px -14px rgba(48, 26, 72, 0.75);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 5px;
  background: var(--violet-deep);
}
.recommend-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11.8px;
  color: var(--ink-mute);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 26px;
  background: var(--violet-deep);
  color: #d8d0e6;
  border-top: 4px solid var(--neon);
  padding: 18px 16px 14px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 11.8px;
  line-height: 1.62;
  color: #b9aecf;
}
.footer-friend-links {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--neon-soft);
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #cfc6e2;
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  background: var(--neon);
  border-color: var(--neon);
  color: #24100a;
  text-decoration: none;
}
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 600;
  color: #e4dcf2;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s, color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  background: var(--violet-glow);
  color: #fff;
  text-decoration: underline;
}
.footer-link {
  white-space: nowrap;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  }
.hero-title {
    font-size: 23px;
  }
.comments-masonry {
    columns: 2;
  }}
@media (max-width: 720px) {.page-main {
    padding: 12px 12px 24px;
    gap: 18px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-wrapper {
    max-width: 240px;
  }
.hero-title {
    font-size: 22px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 8px;
  }
.comments-masonry {
    columns: 1;
  }
.timeline-item {
    width: 186px;
  }}
@media (max-width: 480px) {.header-inner {
    padding: 7px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.category-nav {
    margin-left: 0;
    width: 100%;
  }
.hero-section, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 11px 11px;
  }
.hero-title {
    font-size: 19px;
  }
.hero-tagline {
    font-size: 12.5px;
  }
.section-title {
    font-size: 15.5px;
  }
.status-chip {
    flex: 1 1 auto;
    justify-content: space-between;
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn, .player-speed {
    font-size: 10.5px;
    padding: 3px 6px;
  }
.player-range {
    flex: 1 1 100%;
  }
.cast-member {
    padding: 4px 9px 4px 4px;
  }
.cast-avatar {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }}

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}
