:root {
  --bg-deep: #120a1e;
  --bg-panel: #1c1030;
  --bg-panel-2: #24143c;
  --ink: #f6efe6;
  --ink-dim: #c0aed0;
  --ink-faint: #8d7aa3;
  --purple: #3a1c5c;
  --purple-glow: #7b3fd1;
  --orange: #ff8a3d;
  --orange-deep: #e8621c;
  --gold: #ffc857;
  --line: rgba(255, 200, 120, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --radius: 10px;
  --radius-sm: 7px;
  --gap: 10px;
  --gap-lg: 16px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(255, 138, 61, 0.16), transparent 62%),
    radial-gradient(900px 700px at -6% 14%, rgba(123, 63, 209, 0.24), transparent 60%),
    linear-gradient(178deg, #160b24 0%, #120a1e 44%, #0e0818 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1, h2, h3, p, figure, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--orange);
  color: #1a0c04;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 8, 28, 0.96), rgba(16, 8, 28, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: var(--gold);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(255, 200, 87, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--orange);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(58, 28, 92, 0.5);
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--gold);
  border-color: rgba(255, 200, 87, 0.55);
  background: rgba(255, 138, 61, 0.14);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.block-heading, .section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1.4;
}
.block-heading::after, .section-heading::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 138, 61, 0));
}
.section-heading {
  font-size: 16px;
}
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(760px 340px at 78% 8%, rgba(255, 138, 61, 0.2), transparent 66%),
    radial-gradient(620px 420px at 6% 92%, rgba(123, 63, 209, 0.28), transparent 64%),
    linear-gradient(160deg, #241040 0%, #1a0d2e 52%, #150a24 100%);
  padding: 22px 18px 18px;
  overflow: hidden;
}
.hero-backdrop {
  position: relative;
  padding: 34px 0 26px;
  text-align: center;
  isolation: isolate;
}
.summon-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(430px, 74vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 200, 87, 0.22) 0%, rgba(255, 138, 61, 0.12) 34%, transparent 62%);
  box-shadow:
    0 0 0 1px rgba(255, 200, 87, 0.34) inset,
    0 0 46px rgba(255, 138, 61, 0.22);
}
.summon-circle::before, .summon-circle::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 200, 87, 0.32);
}
.summon-circle::after {
  inset: 27%;
  border-style: solid;
  border-color: rgba(123, 63, 209, 0.5);
}
.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(21px, 4.4vw, 38px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 26px rgba(255, 138, 61, 0.34), 0 0 4px rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: start;
}
.poster-frame {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 138, 61, 0.1), rgba(36, 20, 60, 0.6));
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.42);
}
.poster-frame img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.poster-caption {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(58, 28, 92, 0.55), rgba(18, 10, 30, 0.9));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  background: #08040f;
  object-fit: cover;
}
.player-shell.is-theater {
  border-color: rgba(255, 200, 87, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.32), 0 14px 40px rgba(255, 138, 61, 0.22);
}
.player-shell.lights-off {
  background: #07040d;
}
.player-shell.lights-off video {
  filter: brightness(0.55) saturate(0.8);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctl {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(18, 10, 30, 0.72);
  color: var(--ink-dim);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctl:hover, .ctl:focus-visible {
  color: var(--gold);
  border-color: rgba(255, 200, 87, 0.5);
  background: rgba(255, 138, 61, 0.16);
}
.ctl.is-active, .ctl.is-playing {
  color: #1a0c04;
  border-color: transparent;
  background: linear-gradient(120deg, var(--gold), var(--orange));
}
.ctl-progress, .ctl-volume {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.ctl-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 5px;
}
.ctl-volume {
  flex: 0 1 88px;
  min-width: 62px;
  height: 5px;
}
.ctl-progress::-webkit-slider-thumb, .ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  box-shadow: 0 0 8px rgba(255, 200, 87, 0.7);
}
.ctl-progress::-moz-range-thumb, .ctl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 200, 87, 0.7);
}
.ctl-progress::-moz-range-track, .ctl-volume::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.overview-info {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--gap) var(--gap-lg);
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(36, 20, 60, 0.72), rgba(18, 10, 30, 0.86));
}
.cast-column, .synopsis-column, .episode-status, .detail-panel {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  align-self: start;
  min-width: 0;
}
.synopsis-column {
  grid-row: span 2;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 7px 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 200, 87, 0.9), transparent 52%),
    linear-gradient(145deg, var(--purple-glow), var(--orange-deep));
  box-shadow: 0 0 0 1px rgba(255, 200, 87, 0.32), 0 0 10px rgba(255, 138, 61, 0.28);
}
.cast-name {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-lead {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink);
  padding-left: 10px;
  border-left: 2px solid var(--orange);
}
.synopsis-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-dim);
}
.status-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.status-line:last-child {
  border-bottom: none;
}
.status-key {
  flex: 0 0 68px;
  font-weight: 300;
  color: var(--ink-faint);
}
.status-val {
  font-weight: 500;
  color: var(--orange);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 4px 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-faint);
  white-space: nowrap;
}
.detail-val {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  min-width: 0;
}
.episode-section, .timeline-section, .comment-section {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(255, 138, 61, 0.55);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(36, 20, 60, 0.66), rgba(18, 10, 30, 0.78));
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-color: rgba(255, 200, 87, 0.5);
  border-left-color: var(--gold);
  background: linear-gradient(160deg, rgba(58, 28, 92, 0.72), rgba(24, 13, 40, 0.86));
  transform: translateY(-1px);
}
.episode-number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-faint);
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 300;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 138, 61, 0.6) rgba(255, 255, 255, 0.06);
}
.timeline-scroll::-webkit-scrollbar {
  height: 7px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--purple-glow), var(--orange));
  border-radius: 999px;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
  padding: 4px 2px 2px;
}
.timeline-item {
  position: relative;
  flex: 0 0 216px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, rgba(36, 20, 60, 0.7), rgba(18, 10, 30, 0.82));
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 200, 87, 0.8);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-dim);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(246px, 1fr));
  gap: 9px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, rgba(58, 28, 92, 0.5), rgba(18, 10, 30, 0.82));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}
.comment-card:nth-child(even) {
  transform: translateY(9px);
  background: linear-gradient(150deg, rgba(255, 138, 61, 0.14), rgba(18, 10, 30, 0.84));
  border-color: rgba(255, 138, 61, 0.24);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-dim);
}
.rec-columns {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 9px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(36, 20, 60, 0.66), rgba(18, 10, 30, 0.8));
  color: var(--ink-dim);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: rgba(255, 200, 87, 0.5);
  box-shadow: 0 8px 22px rgba(255, 138, 61, 0.16);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  background: #0b0515;
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-faint);
}
.site-footer {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 10, 30, 0.6), rgba(10, 6, 18, 0.95));
}
.footer-nav, .friend-links, .footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--gold);
}
a[data-contract="footer-home"]:hover {
  color: var(--orange);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 300;
  color: #9f8bb8;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  text-decoration: underline;
}
.footer-disclaimer {
  padding-top: 10px;
  padding-bottom: 16px;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  color: #6f5f86;
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .timeupdate, .player .click, .player .data-player-action, .fullscreen, .lights-off, .mute, .progress, .speed, .pip, .theater, .play, .pause, .volume, .light, .timeupdate, .click, .is-active, .is-playing, .is-theater, .x {
  --state-hook: 1;
}
.ctl.mute.is-active, .ctl.light.is-active, .ctl.theater.is-active {
  color: #1a0c04;
  background: linear-gradient(120deg, var(--gold), var(--orange));
  border-color: transparent;
}
.player-shell:fullscreen {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: #000;
  justify-content: center;
}
.player-shell:fullscreen video {
  border-radius: 0;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 1000px) {.hero-body {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.synopsis-column {
    grid-row: span 1;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 14px 12px 24px;
    gap: 16px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 10px;
  }
.hero-stage {
    padding: 16px 12px 14px;
  }
.hero-backdrop {
    padding: 22px 0 18px;
  }
.hero-body {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 220px;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    transform: none;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
.footer-nav, .friend-links, .footer-disclaimer {
    padding-left: 12px;
    padding-right: 12px;
  }}
@media (max-width: 480px) {.hero-title {
    font-size: 20px;
  }
.hero-tagline {
    font-size: 13px;
  }
.poster-frame {
    max-width: 180px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.ctl {
    font-size: 11.5px;
    padding: 3px 8px;
  }
.ctl-progress {
    flex: 1 1 100%;
    order: 3;
  }}

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}
