*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --iron: #1b1e21;
  --iron-2: #23272b;
  --iron-3: #2b3034;
  --iron-4: #363c41;
  --ash: #5a6167;
  --frost: #c9ced2;
  --frost-dim: #8d949a;
  --forge: #d63a1c;
  --forge-deep: #8c210c;
  --forge-glow: #ff5a2b;
  --line: rgba(201, 206, 210, 0.13);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--frost);
  background: var(--iron);
  background-image:
    linear-gradient(180deg, #16191c 0%, #1b1e21 40%, #191c1f 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--frost); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, span, dt, dd, li { overflow-wrap: break-word; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: linear-gradient(180deg, #101315, #1a1d20);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(214, 58, 28, 0.25);
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--frost);
  text-decoration: none;
  padding-left: 10px;
  border-left: 3px solid var(--forge);
  text-shadow: 0 0 14px rgba(255, 90, 43, 0.22);
}
a[data-contract="site-name"]:hover { color: var(--forge-glow); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  color: var(--frost-dim);
  text-decoration: none;
  padding: 3px 9px;
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #fff;
  background: var(--forge-deep);
  border-color: var(--forge);
}
.page-main {
  display: block;
  padding: 10px 12px 4px;
  max-width: 1280px;
  margin: 0 auto;
}
section { margin-bottom: 14px; }
h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--frost);
  padding: 0 0 5px 9px;
  margin-bottom: 8px;
  border-left: 3px solid var(--forge);
  border-bottom: 1px solid var(--line);
}
.hero-shell {
  position: relative;
  padding: 16px 14px 14px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(214, 58, 28, 0.16), transparent 58%),
    linear-gradient(165deg, #24292d 0%, #1a1d20 55%, #14171a 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--forge-deep);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 52%, rgba(255, 90, 43, 0.07) 62%, transparent 72%);
  mix-blend-mode: screen;
}
.hero-slogan { margin-bottom: 12px; position: relative; z-index: 1; }
.hero-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: #f2f4f5;
  text-shadow: 0 0 26px rgba(214, 58, 28, 0.45), 0 2px 0 #000;
}
.hero-tagline {
  margin-top: 6px;
  font-size: 12px;
  color: var(--frost-dim);
  letter-spacing: 0.05em;
  border-left: 2px solid var(--forge);
  padding-left: 8px;
}
.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2.1fr);
  gap: 12px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.poster-wrap {
  align-self: start;
  width: 100%;
  border: 1px solid var(--iron-4);
  border-radius: 2px;
  overflow: hidden;
  background: #0e1012;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(214, 58, 28, 0.18);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.92);
}
.player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #0b0d0e;
  border: 1px solid var(--iron-4);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
}
.player-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 7px;
  background: linear-gradient(180deg, #23272b, #17191c);
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--frost-dim);
  padding: 3px 9px;
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.player-controls button:hover, .player-controls button:focus-visible {
  color: #fff;
  background: var(--forge-deep);
  border-color: var(--forge);
}
.player-controls button.click, .player-controls button.play, .player-controls button.fullscreen, .player-controls button.theater, .player-controls button.light {
  color: #fff;
  background: var(--forge-deep);
  border-color: var(--forge);
}
.player-theater .player-wrap { box-shadow: 0 0 0 2px var(--forge), 0 10px 30px rgba(0, 0, 0, 0.7); }
body.lights-off { background: #050607; }
body.lights-off .hero-shell { background: radial-gradient(90% 70% at 18% 12%, rgba(214, 58, 28, 0.22), #0a0c0d 70%); }
body.lights-off .hero-shell::after { opacity: 0.5; }
.hero-meta {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.seo-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ash);
  max-width: 76ch;
  padding-left: 9px;
  border-left: 1px solid var(--line);
}
.details-panel {
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px 12px;
}
.details-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.details-table dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
  padding: 5px 2px 0;
  border-right: 1px solid var(--line);
}
.details-table dd {
  font-size: 12px;
  color: var(--frost);
  padding: 0 10px 5px 2px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.details-table dt { border-bottom: 0; }
.details-table dt + dd { margin-top: -1px; }
.cast-panel {
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px 12px;
}
.cast-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--iron-4) transparent;
}
.cast-strip::-webkit-scrollbar { height: 6px; }
.cast-strip::-webkit-scrollbar-thumb { background: var(--iron-4); border-radius: 3px; }
.cast-card {
  flex: 0 0 auto;
  width: 58px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 6px;
  background: linear-gradient(180deg, #2a2f33, #202428);
  border: 1px solid var(--iron-4);
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.cast-card::before {
  content: "";
  width: 100%;
  height: 52px;
  background: linear-gradient(180deg, #33383d, #23272b);
  border: 1px solid var(--line);
  border-radius: 1px;
  box-shadow: inset 0 -12px 18px rgba(214, 58, 28, 0.14);
}
.cast-card:hover { border-color: var(--forge); }
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--frost);
  line-height: 1;
}
.cast-card:hover .cast-name { color: var(--forge-glow); }
.synopsis-panel {
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px 12px;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line);
}
.synopsis-body p {
  font-size: 12px;
  line-height: 1.62;
  color: var(--frost-dim);
  margin-bottom: 7px;
  break-inside: avoid;
}
.synopsis-body p:first-child { color: var(--frost); }
.episode-status-panel {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 7px 12px;
  background: linear-gradient(90deg, rgba(214, 58, 28, 0.14), transparent 60%), var(--iron-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--forge);
  border-radius: 2px;
}
.episode-status-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--forge-glow);
  border: 0;
  padding: 0;
  margin: 0;
}
.episode-status-line {
  font-size: 12px;
  color: var(--frost);
  letter-spacing: 0.04em;
}
.timeline-section {
  padding: 10px 12px 14px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.timeline-rail {
  position: relative;
  display: flex;
  gap: 0;
  padding: 30px 20px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--iron-4) transparent;
}
.timeline-rail::-webkit-scrollbar { height: 6px; }
.timeline-rail::-webkit-scrollbar-thumb { background: var(--iron-4); border-radius: 3px; }
.timeline-rail::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--iron-4), var(--forge-deep) 82%, var(--forge) 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(214, 58, 28, 0.25);
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 116px;
  padding: 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-node::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--iron-3);
  border: 2px solid var(--iron-4);
  box-shadow: 0 0 0 3px var(--iron-2);
  position: relative;
  z-index: 1;
}
.timeline-timecode {
  order: 2;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--forge-glow);
  white-space: nowrap;
}
.timeline-label {
  order: 1;
  font-size: 11px;
  line-height: 1.4;
  color: var(--frost-dim);
  min-height: 30px;
}
.timeline-node-current::after {
  background: var(--forge);
  border-color: var(--forge-glow);
  box-shadow: 0 0 0 3px var(--iron-2), 0 0 14px rgba(255, 90, 43, 0.7);
}
.timeline-node-current .timeline-label { color: #f2f4f5; font-weight: 700; }
.timeline-node-current .timeline-timecode { color: #ff8a5c; }
.episodes-section {
  padding: 10px 12px 12px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary";
  column-gap: 8px;
  row-gap: 2px;
  padding: 8px 9px;
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover { border-color: var(--iron-4); background: #30363a; }
.episode-card-active {
  border-color: var(--forge);
  background: linear-gradient(180deg, rgba(214, 58, 28, 0.18), var(--iron-3));
  box-shadow: inset 3px 0 0 var(--forge);
}
.episode-number {
  grid-area: num;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  color: var(--iron-4);
  letter-spacing: 0.02em;
  min-width: 22px;
  text-align: right;
}
.episode-card-active .episode-number { color: var(--forge-glow); }
.episode-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frost);
  line-height: 1.3;
}
.episode-summary {
  grid-area: summary;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ash);
}
.episode-duration {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--forge-glow);
  background: rgba(12, 14, 16, 0.92);
  border: 1px solid var(--forge-deep);
  border-radius: 2px;
  padding: 1px 6px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: none;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration { opacity: 1; transform: translateY(0); }
.recommend-section {
  padding: 10px 12px 12px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 7px;
  align-items: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--frost);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  border-color: var(--forge);
  background: #30363a;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0e1012;
  border: 1px solid var(--line);
  border-radius: 1px;
  filter: saturate(0.85) brightness(0.94);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--frost);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ash);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"]:hover [data-runtime="name"] { color: var(--forge-glow); }
.comments-section {
  padding: 10px 12px 12px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.comments-wall {
  columns: 2;
  column-gap: 10px;
}
.comment-note {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 7px 9px 8px;
  background: #2c3136;
  border: 1px solid var(--line);
  border-left: 2px solid var(--forge-deep);
  border-radius: 1px 3px 3px 1px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transform: rotate(-0.25deg);
}
.comments-wall .comment-note:nth-child(2n) { transform: rotate(0.35deg); }
.comments-wall .comment-note:nth-child(3n) { transform: rotate(-0.5deg); }
.comment-nick {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--forge-glow);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--frost-dim);
}
.site-footer {
  margin-top: 6px;
  padding: 12px 16px 18px;
  background: linear-gradient(180deg, #14171a, #0e1012);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(214, 58, 28, 0.22);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ash);
  max-width: 90ch;
  margin-bottom: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 9px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"] { color: var(--frost); }
a[data-contract="footer-home"]:hover { color: var(--forge-glow); border-color: var(--forge); }
a[data-contract="footer-sitemap"] { color: var(--frost-dim); }
a[data-contract="footer-sitemap"]:hover { color: var(--forge-glow); border-color: var(--forge); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--forge-glow);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ash);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover { color: var(--frost); text-decoration: underline; }
@media (max-width: 900px) {.synopsis-body { columns: 1; column-rule: 0; }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-wall { columns: 1; }}
@media (max-width: 720px) {.site-header { padding: 8px 12px; }
a[data-contract="site-name"] { font-size: 15px; }
.page-main { padding: 8px 9px 2px; }
.hero-shell { padding: 13px 11px 12px; }
.hero-title { font-size: 24px; }
.hero-visual { grid-template-columns: minmax(0, 1fr); }
.poster-wrap { max-width: 190px; }
.details-table { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.timeline-rail { padding: 28px 10px 6px; }
.timeline-rail::before { left: 10px; right: 10px; top: 58px; }
.timeline-node { min-width: 108px; }}
@media (max-width: 520px) {body { font-size: 12.5px; }
.hero-title { font-size: 21px; letter-spacing: 0.06em; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-list { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
.details-table { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.player-controls button { padding: 3px 7px; font-size: 10.5px; }
.comment-note { transform: none !important; }
.cast-card { width: 52px; min-height: 100px; }
.cast-card::before { height: 44px; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !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}
