*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, blockquote, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:root {
  --ink-900: #0a0e14;
  --ink-800: #0f151d;
  --ink-700: #141c26;
  --ink-600: #1b2531;
  --ink-500: #24313f;
  --steel-400: #3a4a5c;
  --steel-300: #5c7085;
  --steel-200: #8b9cab;
  --steel-100: #c3ccd4;
  --rust-600: #6e2b1e;
  --rust-500: #a13d29;
  --rust-400: #c14f34;
  --emg-green: #4dff9e;
  --emg-green-dim: #2fbf72;
  --cold-blue: #4a7fa8;
  --cold-blue-glow: rgba(74, 127, 168, 0.5);
  --line: rgba(140, 160, 175, 0.14);
  --line-strong: rgba(140, 160, 175, 0.26);
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-narrow);
  background: var(--ink-900);
  color: var(--steel-100);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  background-image:
    linear-gradient(180deg, rgba(20, 28, 38, 0.9), rgba(10, 14, 20, 1) 40%),
    repeating-linear-gradient(105deg, rgba(74, 127, 168, 0.03) 0 2px, transparent 2px 9px);
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1360px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--rust-400);
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--emg-green); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--steel-200);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(36, 49, 63, 0.5), rgba(15, 21, 29, 0.5));
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink-900);
  border-color: var(--emg-green);
  background: var(--emg-green);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 16px 32px;
  display: block;
}
.hero-shell {
  position: relative;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(74, 127, 168, 0.22), transparent 55%),
    radial-gradient(90% 70% at 85% 100%, rgba(161, 61, 41, 0.22), transparent 60%),
    linear-gradient(165deg, #16202b 0%, #0b1017 55%, #080b10 100%);
  pointer-events: none;
}
.hero-rain {
  position: absolute;
  inset: -20% -10%;
  background-image: repeating-linear-gradient(
    102deg,
    rgba(180, 205, 225, 0.14) 0 1px,
    transparent 1px 7px
  );
  opacity: 0.7;
  mix-blend-mode: screen;
}
.hero-lightbar {
  position: absolute;
  top: -10%;
  left: 6%;
  width: 34%;
  height: 130%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 127, 168, 0.32) 40%,
    rgba(190, 225, 245, 0.2) 55%,
    transparent
  );
  filter: blur(6px);
  transform: skewX(-14deg);
  animation: lightSweep 7s ease-in-out infinite alternate;
}
@keyframes lightSweep {
  from { opacity: 0.45; transform: skewX(-14deg) translateX(-6%); }
  to { opacity: 0.85; transform: skewX(-14deg) translateX(10%); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  padding: 16px;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
  background: var(--ink-700);
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.8) brightness(0.92);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.15;
  color: #eef3f7;
  text-shadow: 0 0 18px rgba(74, 127, 168, 0.55), 0 2px 0 rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--emg-green);
  text-transform: none;
  padding-left: 10px;
  border-left: 2px solid var(--rust-500);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--steel-200);
  max-width: 78ch;
}
.player-shell {
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  background: #05080c;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(27, 37, 49, 0.9), rgba(11, 16, 22, 0.95));
}
.ctrl-btn {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  color: var(--steel-100);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(58, 74, 92, 0.55), rgba(20, 28, 38, 0.8));
  border-radius: 1px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--emg-green);
  border-color: var(--emg-green-dim);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  color: var(--ink-900);
  background: var(--emg-green);
  border-color: var(--emg-green);
}
.ctrl-play { color: var(--emg-green); border-color: var(--emg-green-dim); }
.ctrl-play.is-playing { color: var(--ink-900); }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--ink-500);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--emg-green);
  border: 1px solid var(--ink-900);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(77, 255, 158, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--emg-green);
  border: 1px solid var(--ink-900);
  border-radius: 1px;
}
.ctrl-progress { flex: 1 1 160px; min-width: 120px; }
.ctrl-volume { flex: 0 1 90px; min-width: 64px; }
.player-shell.theater-mode {
  border-color: var(--emg-green-dim);
  box-shadow: 0 0 0 1px rgba(77, 255, 158, 0.25), 0 18px 50px rgba(0, 0, 0, 0.85);
}
.player-shell.lights-off { background: #000; }
.player-shell.lights-off .player-controls {
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid rgba(74, 127, 168, 0.3);
}
.player-shell.lights-off .player-frame { filter: brightness(1.12) contrast(1.08); }
.episode-status {
  margin-top: 2px;
  padding: 6px 10px;
  border-left: 3px solid var(--emg-green);
  background: linear-gradient(90deg, rgba(47, 191, 114, 0.1), rgba(20, 28, 38, 0));
}
.status-line {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel-100);
}
.status-total, .status-current {
  color: var(--emg-green);
  font-weight: 800;
  font-size: 14px;
  padding: 0 2px;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #e6edf3;
  padding-left: 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--rust-500);
  line-height: 1.2;
}
.cast-panel { margin-top: 6px; }
.cast-heading { margin-bottom: 8px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item { min-width: 0; }
.cast-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cast-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--steel-400);
  box-shadow: 0 0 0 3px var(--ink-800), 0 0 12px rgba(74, 127, 168, 0.35);
  filter: saturate(0.65) contrast(1.05);
  transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}
.cast-item:hover .cast-avatar {
  border-color: var(--emg-green);
  box-shadow: 0 0 0 3px var(--ink-800), 0 0 14px rgba(77, 255, 158, 0.55);
  filter: saturate(1) contrast(1.1);
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--steel-200);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-panel {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--steel-200);
  margin-bottom: 7px;
  text-align: justify;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-panel {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(140, 160, 175, 0.16);
  min-width: 0;
}
.detail-key {
  flex: 0 0 56px;
  font-size: 11px;
  color: var(--steel-300);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--steel-100);
  letter-spacing: 0.02em;
}
.timeline-section {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 28, 38, 0.6), rgba(10, 14, 20, 0.5));
  padding: 12px 12px 14px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  position: relative;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: var(--ink-700); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--steel-400); }
.timeline-node {
  position: relative;
  flex: 0 0 190px;
  scroll-snap-align: start;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--emg-green-dim);
  background: linear-gradient(180deg, rgba(36, 49, 63, 0.55), rgba(15, 21, 29, 0.7));
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--emg-green);
  box-shadow: 0 0 10px 2px rgba(77, 255, 158, 0.65);
}
.timeline-node:hover {
  border-color: var(--emg-green);
  background: linear-gradient(180deg, rgba(47, 191, 114, 0.12), rgba(15, 21, 29, 0.8));
  transform: translateY(-1px);
}
.timeline-timecode {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--emg-green);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--steel-200);
}
.episodes-section { margin-bottom: 20px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 37, 49, 0.7), rgba(11, 16, 22, 0.8));
  padding: 7px 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.episode-card:hover {
  border-color: var(--rust-400);
  box-shadow: 0 0 0 1px rgba(193, 79, 52, 0.35), 0 8px 20px rgba(0, 0, 0, 0.5);
}
.episode-cover-wrap {
  width: 100%;
  border: 1px solid var(--line);
  background: #05080c;
  overflow: hidden;
}
.episode-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.85) contrast(1.08);
  transition: filter 0.25s, transform 0.25s;
}
.episode-card:hover .episode-cover {
  filter: saturate(0.95) brightness(1) contrast(1.1);
  transform: scale(1.03);
}
.episode-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e6edf3;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--steel-300);
  flex: 0 0 auto;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--emg-green);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--line);
  padding-top: 4px;
  margin-top: auto;
}
.comments-section { margin-bottom: 20px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  position: relative;
  min-width: 0;
  padding: 10px 12px 8px 30px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cold-blue);
  background: linear-gradient(135deg, rgba(36, 49, 63, 0.5), rgba(11, 16, 22, 0.7));
}
.comment-card::before {
  content: "“";
  position: absolute;
  top: 2px;
  left: 8px;
  font-size: 30px;
  line-height: 1;
  color: var(--rust-500);
  font-family: Georgia, serif;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--steel-100);
  margin-bottom: 6px;
}
.comment-meta {
  display: block;
  text-align: right;
}
.comment-nickname {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cold-blue);
}
.comment-nickname::before { content: "— "; color: var(--steel-400); }
.reco-strip {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 28, 38, 0.55), rgba(10, 14, 20, 0.45));
}
.reco-strip .section-heading {
  margin-bottom: 8px;
  font-size: 12.5px;
}
.reco-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.reco-chip {
  flex: 1 1 190px;
  min-width: 0;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(27, 37, 49, 0.8), rgba(11, 16, 22, 0.9));
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
a.reco-chip { color: var(--steel-100); text-decoration: none; }
a.reco-chip:hover {
  color: #fff;
  border-color: var(--emg-green);
  background: linear-gradient(180deg, rgba(47, 191, 114, 0.14), rgba(11, 16, 22, 0.95));
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img, .reco-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #05080c;
  filter: saturate(0.65) brightness(0.88);
  transition: filter 0.25s;
}
a.reco-chip:hover .reco-pic { filter: saturate(1) brightness(1); }
.reco-name {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #e6edf3;
}
.reco-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--steel-300);
}
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 28, 38, 0.8), rgba(6, 9, 13, 1));
}
.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--emg-green);
  border-bottom: 1px solid rgba(77, 255, 158, 0.4);
}
a[data-contract="footer-home"]:hover { color: #fff; border-color: #fff; }
a[data-contract="footer-sitemap"] {
  color: var(--cold-blue);
  border-bottom: 1px solid rgba(74, 127, 168, 0.4);
}
a[data-contract="footer-sitemap"]:hover { color: #fff; border-color: #fff; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel-300);
  padding-right: 6px;
  border-right: 1px solid var(--line-strong);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--steel-300);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid transparent;
  background: rgba(36, 49, 63, 0.4);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--emg-green);
  border-color: var(--emg-green-dim);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--steel-400);
  letter-spacing: 0.02em;
  max-width: 92ch;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
@media (max-width: 1080px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-inner { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }}
@media (max-width: 860px) {.hero-inner { grid-template-columns: minmax(0, 1fr); }
.hero-poster-wrap { max-width: 220px; }
.hero-title { font-size: 26px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reco-chip { flex: 1 1 160px; }}
@media (max-width: 600px) {body { font-size: 12.5px; }
.page-main { padding: 10px 10px 24px; }
.header-inner { padding: 7px 10px; gap: 8px 12px; }
a[data-contract="site-name"] { font-size: 15px; letter-spacing: 0.18em; }
.hero-inner { padding: 12px; gap: 12px; }
.hero-title { font-size: 22px; letter-spacing: 0.14em; }
.hero-tagline { letter-spacing: 0.18em; }
.hero-poster-wrap { max-width: 180px; }
.ctrl-btn { font-size: 10.5px; padding: 4px 7px; }
.ctrl-volume { flex: 1 1 70px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.timeline-node { flex: 0 0 160px; }
.reco-chip { flex: 1 1 100%; max-width: none; }
.footer-inner { padding: 12px 10px 18px; }}
@media (max-width: 400px) {.ctrl-progress { flex: 1 1 100%; order: 3; }
.hero-poster-wrap { max-width: 150px; }}

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}
