*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
a { color: inherit; }
:root {
  --char: #14161a;
  --char-2: #1b1e24;
  --char-3: #23262d;
  --ash: #b9bcc2;
  --ash-dim: #7e838c;
  --ash-line: #31353d;
  --flame: #2f8bff;
  --flame-deep: #0d47c4;
  --ember: #d2762f;
  --metal-1: #3a3f47;
  --metal-2: #22252b;
  --radius: 4px;
  --gap: 10px;
  --pad: 14px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--char);
  color: var(--ash);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background-image:
    radial-gradient(120% 60% at 8% 0%, rgba(47,139,255,0.06), transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(210,118,47,0.05), transparent 65%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20,22,26,0.94);
  border-bottom: 1px solid var(--ash-line);
  backdrop-filter: blur(6px);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f2f3f5;
  text-decoration: none;
  padding-left: 12px;
  position: relative;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--flame), var(--flame-deep));
  box-shadow: 0 0 8px rgba(47,139,255,0.8);
}
.site-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ash-dim);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--ash-line);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--metal-1), var(--metal-2));
  transition: color .15s, border-color .15s;
}
a.runtime-category:hover { color: #eef1f5; border-color: var(--flame); }
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #e7e9ec;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--flame);
  line-height: 1.2;
}
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #191c21, #16181d 60%, #14161a);
  border: 1px solid var(--ash-line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--flame) 22%, var(--flame-deep) 55%, transparent);
  opacity: 0.85;
}
.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0e1013;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) brightness(0.82);
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 16px;
  background:
    linear-gradient(180deg, rgba(14,16,19,0.05) 0%, rgba(14,16,19,0.55) 45%, rgba(14,16,19,0.94) 100%),
    linear-gradient(90deg, rgba(14,16,19,0.7), rgba(14,16,19,0.1) 65%);
  color: #f4f5f7;
}
.hero-title {
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75);
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #cfd6e2;
  max-width: 30em;
}
.hero-lead {
  font-size: 12.5px;
  line-height: 1.55;
  color: #b3b8c0;
  max-width: 34em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn-primary, .btn-ghost {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .12s, box-shadow .15s, background .15s, color .15s;
}
.btn-primary {
  color: #f6f9ff;
  background: linear-gradient(180deg, #2f8bff, #0d47c4);
  border-color: #4a9bff;
  box-shadow: 0 0 0 1px rgba(47,139,255,0.25), 0 6px 16px -8px rgba(47,139,255,0.9);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(47,139,255,0.5), 0 8px 22px -8px rgba(47,139,255,1);
}
.btn-ghost {
  color: #cfd3da;
  background: linear-gradient(180deg, var(--metal-1), var(--metal-2));
  border-color: #454a53;
}
.btn-ghost:hover { color: #fff; border-color: var(--flame); }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.hero-player {
  position: relative;
  width: 100%;
  border: 1px solid var(--ash-line);
  border-radius: var(--radius);
  background: #0b0c0f;
  overflow: hidden;
}
.player-frame {
  display: block;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--ash-line);
  background: linear-gradient(180deg, #1c1f25, #16181d);
}
.ctrl {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #c3c8d0;
  padding: 5px 9px;
  border: 1px solid #3a3f47;
  border-radius: 2px;
  background: linear-gradient(180deg, #33383f, #22252b);
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.ctrl:hover { color: #fff; border-color: var(--flame); }
.ctrl.is-active {
  color: #eaf3ff;
  border-color: var(--flame);
  background: linear-gradient(180deg, #1d4f9e, #12316b);
  box-shadow: inset 0 0 0 1px rgba(47,139,255,0.4);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  flex: 1 1 90px;
  min-width: 70px;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: #3a3f47;
  border-radius: 2px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 6px rgba(47,139,255,0.9);
}
.ctrl-range::-moz-range-track { height: 3px; background: #3a3f47; border-radius: 2px; }
.ctrl-range::-moz-range-thumb {
  width: 11px; height: 11px; border: 0; border-radius: 50%;
  background: var(--flame);
}
.hero-player.is-theater {
  box-shadow: 0 0 0 1px var(--flame), 0 18px 50px -24px rgba(47,139,255,0.9);
}
.hero-player.is-dimmed { background: #050506; }
.hero-player.is-dimmed .player-frame { filter: brightness(0.45); }
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--ash-line);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #1a1d22;
  border: 1px solid var(--ash-line);
  border-radius: 2px;
  overflow: hidden;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(70% 70% at 50% 30%, #3d444e, #22262c 70%),
    linear-gradient(180deg, #2a2e35, #1d2026);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(47,139,255,0.16));
}
.cast-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cfd3da;
  text-align: center;
  padding: 5px 4px;
  border-top: 1px solid var(--ash-line);
  background: #191c21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-panel, .episode-status, .details-panel {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  background: #191c21;
  border: 1px solid var(--ash-line);
  border-left: 2px solid #2b3037;
  border-radius: 2px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.6;
  color: #a8adb6;
  max-width: 62em;
}
.status-line {
  font-size: 12.5px;
  color: #b7bcc4;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #3a3f47;
  color: #b7bcc4;
  background: linear-gradient(180deg, var(--metal-1), var(--metal-2));
  white-space: nowrap;
}
.chip-total { color: #9ba1aa; }
.chip-current {
  color: #eaf3ff;
  border-color: var(--flame);
  background: linear-gradient(180deg, #21477f, #14243f);
  box-shadow: inset 0 0 0 1px rgba(47,139,255,0.35);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed #2a2e35;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ash-dim);
}
.detail-key::after { content: "／"; color: #3a3f47; margin-left: 4px; }
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: #d3d7dd;
  text-align: right;
  min-width: 0;
}
.timeline-band {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #17191e, #14161a);
  border: 1px solid var(--ash-line);
  border-radius: var(--radius);
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: thin;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 3px;
  background:
    linear-gradient(90deg, var(--flame-deep), var(--flame) 18%, #6d4a2c 55%, #b4642c 78%, #3a3f47),
    #2a2e35;
  opacity: 0.85;
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 132px;
  padding: 0 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.node-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  margin: 5px 0 6px;
  border-radius: 50%;
  background: #0f1114;
  border: 2px solid var(--flame);
  box-shadow: 0 0 0 3px rgba(47,139,255,0.14), 0 0 10px rgba(47,139,255,0.7);
}
.node-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #7fb4ff;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: #a3a8b1;
}
.episodes-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  padding: 10px 11px;
  background: #1a1d22;
  border: 1px solid var(--ash-line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color .15s, background .15s, transform .12s;
}
.episode-card:hover {
  border-color: #3f6fb5;
  background: #1d2128;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e5e8ec;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: #969ba4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  background: #17191e;
  border: 1px solid var(--ash-line);
  border-radius: var(--radius);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.comment-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding-bottom: 9px;
  border-bottom: 1px solid #23262d;
}
.comment-item:last-child { border-bottom: 0; padding-bottom: 0; }
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 50% 32%, #4a515c, #262a31 72%);
  border: 1px solid #3a3f47;
}
.comment-body { min-width: 0; }
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #8fbcff;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: #a8adb6;
}
.rec-strip {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px;
  background: linear-gradient(180deg, #191c21, #15171b);
  border: 1px solid var(--ash-line);
  border-left: 2px solid var(--ember);
  border-radius: 2px;
}
.rec-heading {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #e2e5e9;
  text-align: left;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 8px;
}
.rec-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  text-decoration: none;
  color: #c9cdd4;
  background: #1b1e24;
  border: 1px solid #2c3038;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--flame);
  box-shadow: 0 8px 20px -14px rgba(47,139,255,0.95);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #101216;
  filter: saturate(0.72) contrast(1.05);
  transition: filter .18s;
}
a[data-runtime="recommendation"]:hover img { filter: saturate(1) contrast(1.08); }
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: #e3e6ea;
  padding: 0 7px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: #8b9099;
  padding: 0 7px 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 16px;
  border-top: 1px solid var(--ash-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #71767e;
  max-width: 70em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"] { color: #8fbcff; }
a[data-contract="footer-home"]:hover { color: #cfe2ff; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: #b7bcc4; }
a[data-contract="footer-sitemap"]:hover { color: #fff; text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed #2a2e35;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #6f747c;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9298a1;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
a.runtime-friend-link:hover { color: #8fbcff; border-color: #3f6fb5; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 2px;
}
@media (min-width: 720px) {.hero-media {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
  }
.hero-poster { height: 100%; }
.hero-scrim {
    position: static;
    background: linear-gradient(90deg, rgba(14,16,19,0.96) 0%, rgba(14,16,19,0.72) 60%, rgba(14,16,19,0.3) 100%);
    justify-content: flex-end;
    padding: 22px 20px;
  }
.hero-lead { -webkit-line-clamp: 6; }
.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    grid-template-areas:
      "media player"
      "media cast"
      "syn status"
      "syn details";
    gap: 12px 14px;
    align-items: start;
  }
.hero-media { grid-area: media; }
.hero-player { grid-area: player; }
.cast-strip { grid-area: cast; }
.synopsis-panel { grid-area: syn; }
.episode-status { grid-area: status; }
.details-panel { grid-area: details; }}
@media (max-width: 719px) {.hero-poster { aspect-ratio: 9 / 16; }}
@media (max-width: 900px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: minmax(0, 1fr); gap: 9px; }}
@media (max-width: 620px) {body { font-size: 13.5px; }
.page-main { padding: 12px 11px 4px; gap: 14px; }
.hero-panel { padding: 11px; gap: 11px; }
.hero-scrim { padding: 14px 12px; }
.hero-lead { -webkit-line-clamp: 5; }
.hero-actions { gap: 6px; }
.btn-primary, .btn-ghost { padding: 7px 13px; }
.timeline-node { min-width: 118px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.header-bar { padding: 8px 12px; gap: 10px; }
.site-nav { margin-left: 0; width: 100%; }}

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}
