:root {
  --ink: #05080f;
  --night: #0a1120;
  --night-2: #0e1728;
  --panel: rgba(16, 26, 45, 0.72);
  --panel-solid: #0d1626;
  --copper: #b0723c;
  --copper-soft: #c98a4e;
  --copper-dim: #7a4f28;
  --signal: #4fe08a;
  --signal-dim: rgba(79, 224, 138, 0.35);
  --text: #cfd6e2;
  --text-dim: #8b95a8;
  --text-faint: #5a6478;
  --line: rgba(176, 114, 60, 0.28);
  --line-soft: rgba(139, 149, 168, 0.16);
  --gap: 10px;
  --pad: 12px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  background:
    radial-gradient(120% 90% at 50% -10%, #101c33 0%, #080d19 45%, #05080f 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--copper-soft);
  text-decoration: none;
}
button, input, table {
  font: inherit;
  color: inherit;
}
ol, ul {
  list-style: none;
}
figure {
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.96), rgba(5, 8, 15, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 14px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--copper-soft);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(176, 114, 60, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--signal);
}
.header-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  background: rgba(20, 32, 54, 0.5);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover {
  color: var(--signal);
  border-color: var(--signal-dim);
  background: rgba(79, 224, 138, 0.06);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 14px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-heading {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--copper-soft);
  padding-bottom: 6px;
  margin-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
}
.subsection-heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #0b1424 0%, #070c17 60%, #04070d 100%);
  padding: 26px 18px 22px;
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 18px;
}
.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 78% 12%, rgba(30, 52, 88, 0.65), transparent 60%),
    radial-gradient(70% 90% at 12% 90%, rgba(176, 114, 60, 0.12), transparent 65%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.hero-ripple {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background:
    repeating-linear-gradient(90deg,
      rgba(79, 224, 138, 0.05) 0 2px,
      transparent 2px 7px),
    linear-gradient(0deg, rgba(79, 224, 138, 0.14), transparent 70%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 92%);
  animation: ripple-drift 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ripple-drift {
  from { transform: translateY(4px); opacity: 0.75; }
  to { transform: translateY(-4px); opacity: 1; }
}
.hero-reel {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  opacity: 0.5;
}
.reel-disc {
  position: absolute;
  inset: 0;
  border: 1px solid var(--copper-dim);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(176, 114, 60, 0.28) 0 8%, transparent 9%),
    repeating-conic-gradient(from 0deg, rgba(176, 114, 60, 0.34) 0 6deg, transparent 6deg 30deg);
  animation: reel-spin 14s linear infinite;
}
.reel-disc-two {
  inset: 26px;
  border-color: var(--line-soft);
  animation-duration: 9s;
  animation-direction: reverse;
  opacity: 0.7;
}
@keyframes reel-spin {
  to { transform: rotate(360deg); }
}
.hero-silhouette {
  position: relative;
  z-index: 2;
  margin: 0;
  justify-self: end;
  width: min(100%, 240px);
}
.hero-silhouette-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.25) brightness(0.42) sepia(0.22) hue-rotate(180deg);
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(5, 8, 15, 0.9);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.hero-silhouette-caption {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-align: right;
}
.hero-slogan {
  position: relative;
  z-index: 3;
  max-width: 620px;
}
.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--signal);
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(79, 224, 138, 0.4);
}
.hero-title {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: #eef2f8;
  text-shadow: 0 0 30px rgba(30, 52, 88, 0.9);
  margin-bottom: 10px;
}
.hero-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 46ch;
}
.player-section {
  border: 1px solid var(--line);
  background: var(--panel-solid);
  padding: var(--pad);
}
.player-wrapper {
  width: 100%;
  background: #000;
  border: 1px solid var(--line-soft);
}
.player-wrapper video {
  display: block;
  width: 100%;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.ctl-btn {
  background: rgba(20, 32, 54, 0.7);
  border: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctl-btn:hover {
  color: var(--signal);
  border-color: var(--signal-dim);
}
.ctl-play {
  color: var(--copper-soft);
  border-color: var(--line);
}
.ctl-play.is-playing {
  color: var(--signal);
  border-color: var(--signal-dim);
  background: rgba(79, 224, 138, 0.07);
}
.ctl-mute.is-muted {
  color: var(--copper-soft);
  border-color: var(--line);
}
.ctl-theater.is-active, .ctl-light.is-active {
  color: var(--signal);
  border-color: var(--signal-dim);
  background: rgba(79, 224, 138, 0.07);
}
.ctl-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--copper-dim), rgba(20, 32, 54, 0.9));
  border: 1px solid var(--line-soft);
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 3px;
  height: 14px;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  cursor: pointer;
}
.ctl-progress::-moz-range-thumb {
  width: 3px;
  height: 14px;
  border: 0;
  background: var(--signal);
  cursor: pointer;
}
.ctl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(20, 32, 54, 0.9);
  border: 1px solid var(--line-soft);
  cursor: pointer;
}
.ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 3px;
  height: 12px;
  background: var(--copper-soft);
  cursor: pointer;
}
.ctl-volume::-moz-range-thumb {
  width: 3px;
  height: 12px;
  border: 0;
  background: var(--copper-soft);
  cursor: pointer;
}
body.theater-mode .player-section {
  border-color: var(--signal-dim);
  box-shadow: 0 0 26px rgba(79, 224, 138, 0.12);
}
body.theater-mode .player-wrapper {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}
body.lights-off .page-main > section:not(.player-section) {
  opacity: 0.28;
  transition: opacity 0.3s;
}
body.lights-off .player-section {
  border-color: var(--copper);
  box-shadow: 0 0 34px rgba(176, 114, 60, 0.22);
}
.timeline-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: var(--pad);
}
.timeline-heading {
  margin-bottom: 12px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-color: var(--copper-dim) transparent;
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--copper-dim);
}
.timeline-wave {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 900px;
  padding: 10px 2px 4px;
  background:
    repeating-linear-gradient(90deg,
      rgba(79, 224, 138, 0.06) 0 1px,
      transparent 1px 9px);
  border-bottom: 1px solid var(--line-soft);
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 118px;
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.timeline-tick {
  display: block;
  width: 1px;
  height: 26px;
  background: var(--copper);
  box-shadow: 0 0 6px rgba(176, 114, 60, 0.6);
}
.timeline-node:nth-child(even) .timeline-tick {
  height: 38px;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-dim);
}
.timeline-timecode {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--signal);
  white-space: nowrap;
}
.timeline-label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  display: block;
}
.episodes-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: var(--pad);
}
.episodes-heading {
  margin-bottom: 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  background: rgba(11, 20, 36, 0.72);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--copper-dim);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.episode-card:hover {
  border-color: var(--signal-dim);
  border-left-color: var(--signal);
  background: rgba(15, 28, 46, 0.9);
  box-shadow: inset 0 0 20px rgba(79, 224, 138, 0.08);
}
.episode-card-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 92px;
}
.episode-number {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: var(--copper);
}
.episode-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #dfe5ef;
}
.episode-card-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-duration {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.comments-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: var(--pad);
}
.comments-heading {
  margin-bottom: 12px;
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.comment-item {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(11, 20, 36, 0.6);
  border: 1px solid var(--line-soft);
}
.comment-bar {
  flex: 0 0 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--copper), transparent);
  box-shadow: 0 0 6px rgba(176, 114, 60, 0.5);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--copper-soft);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.recommend-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: var(--pad);
}
.recommend-heading {
  margin-bottom: 10px;
}
.recommend-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: rgba(11, 20, 36, 0.7);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.18s, background 0.18s;
}
a.recommend-item:hover {
  border-color: var(--signal-dim);
  background: rgba(15, 28, 46, 0.95);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
  border: 1px solid var(--line-soft);
}
.recommend-name {
  font-size: 12px;
  color: var(--copper-soft);
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
}
.overview-section {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(16, 28, 48, 0.85), rgba(8, 13, 24, 0.9));
  padding: 14px;
}
.overview-poster-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.7);
  filter: saturate(0.85) brightness(0.92);
}
.overview-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-title {
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #eef2f8;
}
.overview-tagline {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--signal);
  margin-top: -6px;
}
.overview-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: rgba(176, 114, 60, 0.08);
  align-self: flex-start;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.status-value {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 12px;
  color: var(--copper-soft);
}
.overview-synopsis {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.overview-cast {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 74px;
  text-align: center;
}
.cast-portrait {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: #0a1120;
}
.cast-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.75);
}
.cast-item:hover .cast-portrait {
  border-color: var(--signal-dim);
}
.cast-name {
  font-size: 12px;
  color: var(--copper-soft);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.3;
}
.overview-details {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.details-row {
  border-bottom: 1px solid rgba(139, 149, 168, 0.08);
}
.details-row:last-child {
  border-bottom: 0;
}
.details-key {
  text-align: left;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  padding: 3px 14px 3px 0;
  width: 84px;
  white-space: nowrap;
  vertical-align: top;
}
.details-value {
  color: var(--text);
  padding: 3px 0;
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  letter-spacing: 0.02em;
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 14px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--copper-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--signal);
  border-bottom-color: var(--signal-dim);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.footer-friends-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--signal);
}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 16px 18px;
  }
.hero-silhouette {
    justify-self: start;
    width: min(100%, 200px);
  }
.hero-reel {
    width: 70px;
    height: 70px;
    opacity: 0.35;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.overview-section {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }}
@media (max-width: 640px) {.header-inner {
    padding: 8px 12px;
  }
.page-main {
    padding: 0 10px 24px;
    gap: 10px;
  }
.hero-title {
    font-size: clamp(24px, 9vw, 34px);
  }
.hero-desc {
    font-size: 12.5px;
  }
.player-controls {
    gap: 5px;
  }
.ctl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.ctl-progress {
    flex: 1 1 100%;
  }
.ctl-volume {
    flex: 1 1 100px;
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-cols {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-section {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-col {
    align-items: center;
  }
.poster-img {
    width: min(100%, 240px);
  }
.cast-item {
    width: 66px;
  }
.cast-portrait {
    width: 56px;
    height: 56px;
  }}
@media (max-width: 420px) {.episode-card {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card-left {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }
.cast-list {
    gap: 8px 10px;
  }}

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}
