*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #14100d;
  --ink-soft: #241d18;
  --panel: #1c1713;
  --panel-2: #221b16;
  --line: #3a2f26;
  --line-soft: #2b231c;
  --fog: #8d857c;
  --fog-dim: #6a625a;
  --amber: #d98a2b;
  --amber-bright: #f0a83c;
  --amber-pale: #e8c48c;
  --cold: #7f8b90;
  --text: #d8d2c9;
  --text-dim: #9c948b;
}
html {
  background: #0d0b09;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(217, 138, 43, 0.09), transparent 62%),
    linear-gradient(180deg, #12100e 0%, #0d0b09 40%, #100d0b 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; }
a { color: var(--amber-pale); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
.site-header, .movie-overview-section, .timeline-section, .player-section, .episodes-section, .comments-section, .recommendation-region {
  position: relative;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 11, 9, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--amber-bright);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  text-shadow: 0 0 14px rgba(240, 168, 60, 0.35);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(58, 47, 38, 0.25);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--amber-bright);
  border-color: var(--amber);
  background: rgba(217, 138, 43, 0.12);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 30px;
  display: block;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--amber-pale);
  text-transform: none;
  padding-left: 12px;
  position: relative;
  margin-bottom: 8px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber-bright), rgba(217, 138, 43, 0.1));
}
.hero-section {
  position: relative;
  margin: 0 0 14px;
}
.hero-visual {
  position: relative;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 78% 40%, rgba(217, 138, 43, 0.22), transparent 68%),
    radial-gradient(90% 120% at 50% 120%, rgba(36, 29, 24, 0.9), transparent 70%),
    linear-gradient(115deg, #1b1a19 0%, #262423 38%, #16181a 70%, #101010 100%);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.55) 100%),
    repeating-linear-gradient(88deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 26px);
  pointer-events: none;
}
.hero-air {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffcf85, rgba(240, 168, 60, 0.55) 45%, rgba(217, 138, 43, 0) 72%);
  box-shadow: 0 0 14px rgba(240, 168, 60, 0.45);
  opacity: 0.75;
  animation: drift 9s ease-in-out infinite alternate;
}
.particle-a { width: 9px; height: 9px; left: 12%; top: 62%; animation-delay: 0s; }
.particle-b { width: 5px; height: 5px; left: 27%; top: 30%; animation-delay: -1.6s; }
.particle-c { width: 12px; height: 12px; left: 46%; top: 70%; animation-delay: -3.1s; opacity: 0.6; }
.particle-d { width: 6px; height: 6px; left: 63%; top: 24%; animation-delay: -4.4s; }
.particle-e { width: 8px; height: 8px; left: 79%; top: 58%; animation-delay: -2.2s; }
.particle-f { width: 4px; height: 4px; left: 90%; top: 38%; animation-delay: -5.5s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  50%  { transform: translate3d(6px, -14px, 0) scale(1.15); opacity: 0.9; }
  100% { transform: translate3d(-8px, 10px, 0) scale(0.92); opacity: 0.55; }
}
.movie-overview-section {
  margin-bottom: 14px;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(34, 27, 22, 0.92), rgba(26, 21, 17, 0.92));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.overview-left, .overview-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.overview-identity {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.overview-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #f2ece3;
  line-height: 1.15;
}
.overview-tagline {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
}
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.hero-poster-shell {
  width: 132px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  background: #100e0c;
  flex: 0 0 auto;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-caption {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fog-dim);
}
.synopsis-group, .episode-status-group, .details-group, .cast-group {
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--amber-pale);
  padding: 3px 9px;
  border: 1px solid rgba(217, 138, 43, 0.4);
  border-radius: 999px;
  background: rgba(217, 138, 43, 0.08);
  white-space: nowrap;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
  border-top: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--fog-dim);
}
.detail-value {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.4;
}
.cast-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(217, 138, 43, 0.45);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(217, 138, 43, 0.07), rgba(217, 138, 43, 0));
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #efe7db;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cast-role {
  font-size: 11.5px;
  color: var(--fog);
  letter-spacing: 0.04em;
}
.particle-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 22px;
  margin: 2px 0;
  position: relative;
}
.particle-divider::before, .particle-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 138, 43, 0.34), transparent);
}
.divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 10px rgba(240, 168, 60, 0.7);
  opacity: 0.85;
}
.divider-dot:nth-child(2) { width: 3px; height: 3px; opacity: 0.55; }
.timeline-section {
  margin-bottom: 14px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(28, 23, 19, 0.8), rgba(20, 16, 13, 0.8));
  -webkit-overflow-scrolling: touch;
}
.timeline-track {
  display: flex;
  gap: 8px;
  padding: 12px;
  min-width: max-content;
}
.timeline-item {
  flex: 0 0 auto;
  width: 208px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(36, 29, 24, 0.6);
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -1px;
  width: 26px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-bright);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.player-section {
  margin-bottom: 14px;
}
.player-shell {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(30, 25, 20, 0.85), rgba(18, 15, 12, 0.9));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.main-player {
  display: block;
  border-radius: 8px;
  background: #000;
  border: 1px solid var(--line-soft);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.control-button {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text);
  background: rgba(58, 47, 38, 0.4);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.control-button:hover {
  color: var(--amber-bright);
  border-color: var(--amber);
  background: rgba(217, 138, 43, 0.12);
}
.control-button.is-active, .control-button.is-playing, .control-button.is-muted {
  color: #1a1409;
  background: var(--amber);
  border-color: var(--amber-bright);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(58, 47, 38, 0.8) 0%);
  background-color: var(--line);
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 90px;
}
.progress-range { flex: 2 1 200px; }
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: 1px solid #1a1409;
  box-shadow: 0 0 8px rgba(240, 168, 60, 0.6);
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #1a1409;
  border-radius: 50%;
  background: var(--amber-bright);
}
.volume-range { flex: 1 1 80px; max-width: 160px; }
.control-select {
  font-size: 11.5px;
  color: var(--text);
  background: rgba(58, 47, 38, 0.4);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 6px;
  cursor: pointer;
}
.player-shell.is-theater {
  background: #080706;
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(217, 138, 43, 0.2), 0 18px 40px rgba(0, 0, 0, 0.7);
}
body.lights-off {
  background: #050403;
}
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.55) saturate(0.85);
}
body.lights-off .player-shell {
  filter: none;
}
.episodes-section {
  margin-bottom: 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(34, 27, 22, 0.9), rgba(22, 18, 15, 0.9));
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.episode-card:hover {
  border-color: rgba(217, 138, 43, 0.55);
  transform: translateY(-2px);
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
  padding: 2px 7px;
  border: 1px solid rgba(217, 138, 43, 0.4);
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(217, 138, 43, 0.08);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ece4d8;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-foot {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed var(--line-soft);
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fog-dim);
  font-variant-numeric: tabular-nums;
}
.comments-section {
  margin-bottom: 14px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(28, 23, 19, 0.72);
  position: relative;
}
.comment-card::before {
  content: "“";
  position: absolute;
  right: 10px;
  top: 2px;
  font-size: 30px;
  line-height: 1;
  color: rgba(217, 138, 43, 0.22);
  pointer-events: none;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber-pale);
  padding-left: 9px;
  position: relative;
}
.comment-nickname::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 6px rgba(240, 168, 60, 0.7);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.recommendation-region {
  margin-bottom: 14px;
}
.recommendation-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
a.recommendation-card {
  flex: 1 1 168px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(170deg, rgba(34, 27, 22, 0.82), rgba(20, 16, 13, 0.85));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommendation-card:hover {
  border-color: rgba(217, 138, 43, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line-soft);
  background: #12100e;
  display: block;
}
.recommendation-pic { display: block; }
.recommendation-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ece4d8;
  line-height: 1.35;
}
.recommendation-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--fog);
}
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(16, 13, 11, 0.9), #0a0908);
  margin-top: 8px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--fog-dim);
  max-width: 780px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-bright);
  border-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fog-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fog);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(217, 138, 43, 0.35);
  transition: color 0.16s, border-color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber-bright);
}
@media (max-width: 900px) {.overview-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {body { font-size: 12.5px; }
.header-inner { padding: 7px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 15px; padding-right: 10px; }
.page-main { padding: 0 12px 22px; }
.hero-visual { height: 160px; }
.overview-columns { padding: 11px; gap: 11px; }
.overview-title { font-size: 21px; }
.hero-poster-shell { width: 108px; }
.details-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.timeline-item { width: 186px; }
.player-controls { gap: 5px; }
.control-button { padding: 4px 8px; font-size: 11px; }
.progress-range { flex: 1 1 100%; min-width: 0; }
.volume-range { flex: 1 1 60px; max-width: none; }}
@media (max-width: 420px) {.hero-visual { height: 132px; }
.overview-title { font-size: 19px; }
.section-heading { font-size: 13px; letter-spacing: 0.16em; }
a.recommendation-card { flex: 1 1 100%; min-width: 0; }
.control-button { padding: 3px 7px; font-size: 10.5px; }
.timeline-item { width: 168px; }}
@media (prefers-reduced-motion: reduce) {.particle { animation: none; }
.episode-card:hover, a.recommendation-card:hover { transform: none; }}

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}
