:root {
  --ink: #1c2226;
  --ink-soft: #3a444a;
  --paper: #e9ebec;
  --paper-2: #dfe3e5;
  --steel: #5c6b74;
  --steel-deep: #39464e;
  --steel-pale: #aeb9bf;
  --rust: #8f3b2a;
  --rust-bright: #b04a33;
  --rust-dim: #6d2c1f;
  --line: #b9c2c6;
  --line-soft: #cdd4d7;
  --shell-max: 1240px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(57, 70, 78, 0.06), rgba(57, 70, 78, 0) 340px),
    repeating-linear-gradient(0deg, rgba(28, 34, 38, 0.025) 0 1px, rgba(28, 34, 38, 0) 1px 3px);
  color: var(--ink);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--rust);
  color: var(--paper);
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(233, 235, 236, 0.96), rgba(223, 227, 229, 0.9));
  backdrop-filter: blur(3px);
}
.header-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-left: 12px;
  border-left: 3px solid var(--rust);
}
a[data-contract="site-name"]:hover {
  color: var(--rust);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--steel-deep);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(233, 235, 236, 0.6);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  background: var(--rust);
  border-color: var(--rust-dim);
}
.page-main {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 14px 16px 24px;
  display: block;
}
.block-heading {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--steel-deep);
  text-transform: none;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.hero-stage {
  margin-bottom: 16px;
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--steel-deep);
  filter: saturate(0.82) contrast(1.06);
  background: var(--steel-deep);
}
.hero-caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
  padding-bottom: 4px;
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--rust);
  padding-left: 10px;
  border-left: 2px solid var(--rust);
  line-height: 1.5;
}
.hero-title-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-size: clamp(24px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero-lede {
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.player-shell {
  position: relative;
  width: 100%;
  margin: 14px 0 16px;
  background: #10161a;
  border: 1px solid var(--steel-deep);
  padding: 0;
  display: block;
}
.player-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #0b1013;
  object-fit: cover;
}
.player-shell.is-theater {
  background: #070b0d;
  border-color: var(--rust-dim);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.45;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(28, 34, 38, 0.94), rgba(16, 22, 26, 0.98));
  border-top: 1px solid rgba(174, 185, 191, 0.22);
  transition: opacity 0.2s ease;
}
.ctl-btn {
  appearance: none;
  border: 1px solid rgba(174, 185, 191, 0.35);
  background: rgba(92, 107, 116, 0.22);
  color: var(--paper-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 1px;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctl-btn:hover {
  background: var(--rust);
  border-color: var(--rust-bright);
  color: #f2f0ee;
}
.ctl-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  min-width: 90px;
  flex: 1 1 120px;
  background: rgba(174, 185, 191, 0.28);
  border-radius: 0;
  margin: 0 4px;
  cursor: pointer;
}
.ctl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust-bright);
  border: 1px solid #10161a;
}
.ctl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #10161a;
  border-radius: 50%;
  background: var(--rust-bright);
}
.ctl-range::-moz-range-track {
  height: 4px;
  background: rgba(174, 185, 191, 0.28);
}
.player-shell.is-theater .ctl-range {
  flex: 1 1 240px;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 210px) minmax(0, 230px);
  gap: 18px;
  align-items: start;
  padding: 14px;
  background: linear-gradient(180deg, rgba(223, 227, 229, 0.75), rgba(233, 235, 236, 0.55));
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel-deep);
}
.overview-body > div {
  min-width: 0;
}
.cast-column {
  min-width: 0;
}
.cast-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.cast-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  width: 100%;
  padding-bottom: 7px;
  border-bottom: 1px dotted var(--line);
}
.cast-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--steel);
  filter: grayscale(0.35) contrast(1.05);
  background: var(--steel-deep);
}
.cast-name {
  grid-column: 2;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.3;
}
.cast-role {
  grid-column: 2;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
  line-height: 1.3;
}
.synopsis-column {
  min-width: 0;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted var(--line);
}
.status-column {
  min-width: 0;
}
.status-line {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--steel-deep);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.status-current, .status-total {
  font-size: 20px;
  font-weight: 700;
  color: var(--rust);
  font-style: normal;
  letter-spacing: 0.02em;
}
.status-total {
  color: var(--steel-deep);
  font-size: 15px;
}
.status-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--steel);
  letter-spacing: 0.03em;
}
.details-column {
  min-width: 0;
}
.details-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  padding-bottom: 4px;
  border-bottom: 1px dotted var(--line-soft);
}
.detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail-key {
  color: var(--steel);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.02em;
  min-width: 0;
}
.timeline-section {
  margin-bottom: 16px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 148px;
  padding: 10px 12px 10px 22px;
  scroll-snap-align: start;
  border-left: 1px dashed var(--steel-pale);
}
.timeline-node:first-child {
  border-left: 0;
  padding-left: 12px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--steel);
  background: transparent;
  transform: translateX(-50%);
}
.timeline-node:first-child::before {
  left: 0;
  transform: translateX(0);
}
.timeline-node.is-aired::before {
  background: var(--rust);
  border-color: var(--rust-dim);
}
.timeline-node.is-aired {
  border-left-color: var(--rust-dim);
}
.node-timecode {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--rust);
  font-weight: 700;
}
.timeline-node:not(.is-aired) .node-timecode {
  color: var(--steel);
}
.node-label {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.timeline-node:not(.is-aired) .node-label {
  color: var(--steel);
}
.episodes-section {
  margin-bottom: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-cell {
  position: relative;
  background: var(--paper);
  padding: 9px 11px 9px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: background-color 0.18s ease;
}
.episode-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--steel-pale);
  transition: background-color 0.18s ease;
}
.episode-cell:hover {
  background: var(--paper-2);
}
.episode-cell:hover::before {
  background: var(--rust);
}
.episode-number {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--rust);
  font-weight: 700;
}
.episode-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--steel-deep);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
  margin-top: 0;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary {
  max-height: 200px;
  opacity: 1;
  margin-top: 3px;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--steel-pale);
  margin-top: auto;
}
.comments-section {
  margin-bottom: 16px;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 2px;
}
.comment-slip {
  max-width: 62ch;
  padding: 8px 12px;
  background: rgba(223, 227, 229, 0.7);
  border-left: 2px solid var(--steel-pale);
  border-bottom: 1px dotted var(--line);
}
.comment-slip:nth-child(1) { margin-left: 0; }
.comment-slip:nth-child(2) { margin-left: 26px; border-left-color: var(--rust-dim); }
.comment-slip:nth-child(3) { margin-left: 9px; }
.comment-slip:nth-child(4) { margin-left: 38px; border-left-color: var(--rust-dim); }
.comment-slip:nth-child(5) { margin-left: 17px; }
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rust);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.recommend-region {
  margin-bottom: 14px;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  align-items: start;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: color 0.15s ease;
}
a.recommend-item:hover {
  color: var(--rust);
}
a.recommend-item:hover .recommend-thumb {
  filter: saturate(1) contrast(1.08);
  border-color: var(--rust);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
a.recommend-item .recommend-thumb {
  grid-row: 1 / span 2;
  width: 74px;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.72) contrast(1.05);
  background: var(--steel-deep);
  transition: filter 0.18s ease, border-color 0.18s ease;
}
.recommend-name {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: inherit;
}
.recommend-blurb {
  grid-column: 2;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--steel);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(223, 227, 229, 0.6), rgba(205, 212, 215, 0.5));
  padding: 14px 16px 20px;
  max-width: var(--shell-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 10px 22px;
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--steel-deep);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  min-width: 0;
}
.friend-label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--steel);
  margin-right: 4px;
}
a.runtime-friend-link {
  color: var(--steel-deep);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 1px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  background: var(--steel-deep);
  border-color: var(--steel-deep);
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--steel);
  padding-top: 10px;
  border-top: 1px dotted var(--line);
}
.play .ctl-btn[data-player-action="play"], .mute .ctl-btn[data-player-action="mute"], .speed .ctl-btn[data-player-action="speed"], .pip .ctl-btn[data-player-action="pip"], .fullscreen .ctl-btn[data-player-action="fullscreen"], .theater .ctl-btn[data-player-action="theater"], .light .ctl-btn[data-player-action="light"] {
  background: var(--rust);
  border-color: var(--rust-bright);
  color: #f2f0ee;
}
.player .progress, .player .volume, .player .timeupdate, .player .input {
  accent-color: var(--rust);
}
.player .click {
  cursor: pointer;
}
@media (max-width: 1080px) {.overview-body {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 200px);
  }
.details-column {
    grid-column: 1 / -1;
  }
.details-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 18px;
  }
.detail-row {
    border-bottom: 1px dotted var(--line-soft);
  }}
@media (max-width: 860px) {.hero-visual {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 16px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.synopsis-column {
    grid-column: 1 / -1;
    order: 3;
  }
.cast-column {
    order: 1;
  }
.status-column {
    order: 2;
  }
.details-column {
    order: 4;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-column {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 12px 20px;
  }
.hero-visual {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 10px 0 14px;
  }
.hero-poster {
    max-width: 210px;
  }
.hero-caption {
    gap: 10px;
  }
.hero-tagline {
    font-size: 12px;
  }
.hero-lede {
    font-size: 13px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 11px;
    gap: 14px;
  }
.synopsis-column, .details-column {
    grid-column: auto;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 132px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: 200px;
    opacity: 1;
    margin-top: 3px;
  }
.comment-slip:nth-child(1) { margin-left: 0; }
.comment-slip:nth-child(2) { margin-left: 14px; }
.comment-slip:nth-child(3) { margin-left: 5px; }
.comment-slip:nth-child(4) { margin-left: 18px; }
.comment-slip:nth-child(5) { margin-left: 8px; }
a.recommend-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
a.recommend-item .recommend-thumb {
    width: 64px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.1em;
  }}
@media (max-width: 400px) {.ctl-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.ctl-range {
    flex: 1 1 100%;
    order: 2;
  }
.comment-slip {
    max-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}
