*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #1a1d24;
  --frost: #2b3340;
  --frost-2: #353f4e;
  --earth: #3a3227;
  --earth-2: #4a4033;
  --bone: #cfd4d8;
  --bone-dim: #98a0a8;
  --pink: #e87f9c;
  --pink-deep: #c85c7c;
  --pink-soft: #f2a8bf;
  --line: rgba(207, 212, 216, 0.14);
  --line-strong: rgba(207, 212, 216, 0.26);
  --font-hei: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  --font-song: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    linear-gradient(180deg, #1c2029 0%, #1a1d24 40%, #1e2129 100%);
  color: var(--bone);
  font-family: var(--font-hei);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  padding-bottom: 0;
}
img { display: block; max-width: 100%; }
a { color: var(--bone); text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 29, 36, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"], .site-name {
  font-family: var(--font-song);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--pink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--pink-soft);
  border-bottom-color: var(--pink-deep);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 2px 9px;
  color: var(--bone-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(58, 50, 39, 0.45);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--pink);
  border-color: var(--pink-deep);
  background: rgba(200, 92, 124, 0.12);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-title {
  font-family: var(--font-song);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--bone);
  padding-left: 10px;
  border-left: 3px solid var(--pink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.sub-title {
  font-family: var(--font-hei);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--pink-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.panel-synopsis { position: relative; }
.unit-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.55fr);
  gap: 18px;
  align-items: start;
  background:
    linear-gradient(150deg, rgba(58, 50, 39, 0.72) 0%, rgba(43, 51, 64, 0.88) 62%, rgba(26, 29, 36, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.unit-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(232, 127, 156, 0.07) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 72%, rgba(207, 212, 216, 0.05) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 34%, rgba(207, 212, 216, 0.045) 0 1px, transparent 1.5px);
  background-size: 46px 46px, 62px 62px, 38px 38px;
  pointer-events: none;
}
.overview-media {
  position: relative;
  z-index: 1;
  align-self: start;
  max-width: 100%;
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  filter: saturate(0.82) contrast(1.04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.overview-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-title {
  font-family: var(--font-song);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: 0.02em;
  color: #eef1f3;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.hero-tagline {
  font-family: var(--font-song);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--pink-soft);
  padding: 5px 0 5px 10px;
  border-left: 2px solid var(--pink-deep);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--bone-dim);
  max-width: 62ch;
}
.synopsis-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--bone);
  margin-bottom: 6px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.cast-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 7px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas:
    "avatar name"
    "avatar sign";
  column-gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(26, 29, 36, 0.5);
  border: 1px solid var(--line);
  border-left: 2px solid var(--earth-2);
  border-radius: 2px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-left-color: var(--pink-deep);
  background: rgba(43, 51, 64, 0.6);
}
.cast-avatar {
  grid-area: avatar;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink-soft);
  background: radial-gradient(circle at 32% 28%, rgba(232, 127, 156, 0.24), rgba(26, 29, 36, 0.9));
  border: 1px solid rgba(232, 127, 156, 0.4);
  box-shadow: inset 0 0 0 2px rgba(26, 29, 36, 0.6);
}
.cast-name {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-sign {
  grid-area: sign;
  font-family: var(--font-song);
  font-size: 11px;
  color: var(--bone-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 11px;
  color: #1a1d24;
  background: var(--pink);
  border-radius: 2px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(200, 92, 124, 0.5), 0 4px 12px rgba(200, 92, 124, 0.22);
}
.details-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(207, 212, 216, 0.12);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--bone-dim);
  letter-spacing: 0.08em;
}
.detail-key::after { content: "："; }
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--bone);
  text-align: right;
  overflow-wrap: anywhere;
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(43, 51, 64, 0.7), rgba(26, 29, 36, 0.85));
  border: 1px solid var(--line);
  border-radius: 3px;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #10131a;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ctl {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(58, 50, 39, 0.5);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.ctl:hover, .ctl:focus-visible {
  color: var(--pink-soft);
  border-color: var(--pink-deep);
  background: rgba(200, 92, 124, 0.14);
}
.player-shell.is-playing .ctl[data-player-action="play"] {
  color: var(--pink);
  border-color: var(--pink-deep);
}
.player-shell.is-theater {
  background: #10131a;
  border-color: var(--pink-deep);
}
.player-shell.lights-off {
  background: #05070a;
  border-color: #05070a;
}
.player-shell.lights-off .ctl {
  color: rgba(152, 160, 168, 0.55);
  border-color: rgba(152, 160, 168, 0.2);
}
.player-shell.is-fullscreen .player-video {
  max-height: 100vh;
}
.panel-episodes { position: relative; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num duration"
    "title title"
    "summary summary";
  gap: 1px 8px;
  padding: 6px 9px 7px;
  background: rgba(43, 51, 64, 0.42);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-card:hover {
  background: rgba(58, 50, 39, 0.6);
  border-color: var(--line-strong);
}
.ep-num {
  grid-area: num;
  font-family: var(--font-song);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}
.ep-duration {
  grid-area: duration;
  font-size: 10.5px;
  color: rgba(152, 160, 168, 0.7);
  white-space: nowrap;
  align-self: center;
}
.ep-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.35;
}
.ep-summary {
  grid-area: summary;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.episode-card.is-current {
  background: linear-gradient(120deg, rgba(200, 92, 124, 0.22), rgba(43, 51, 64, 0.5));
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 1px rgba(200, 92, 124, 0.35), 0 6px 18px rgba(0, 0, 0, 0.34);
}
.episode-card.is-current .ep-num { color: var(--pink); }
.episode-card.is-current .ep-title { color: #fdf1f5; }
.episode-card.is-current .ep-summary { color: var(--pink-soft); }
.episode-card.is-current .ep-duration { color: var(--pink-soft); }
.panel-timeline { position: relative; }
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  padding: 14px 4px 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(58, 50, 39, 0.32), rgba(26, 29, 36, 0.2));
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 127, 156, 0.5), rgba(207, 212, 216, 0.22) 55%, rgba(207, 212, 216, 0.1));
}
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 0 6px 4px 2px;
  min-width: 0;
}
.node-leaf {
  width: 13px;
  height: 17px;
  border-radius: 60% 60% 55% 55% / 72% 72% 42% 42%;
  background: linear-gradient(150deg, var(--pink) 0%, var(--pink-deep) 100%);
  border: 1px solid rgba(26, 29, 36, 0.6);
  transform: rotate(-14deg);
  box-shadow: 0 0 0 2px rgba(26, 29, 36, 0.85), 0 3px 9px rgba(200, 92, 124, 0.24);
  margin-bottom: 2px;
}
.node-timecode {
  font-family: var(--font-song);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink-soft);
  white-space: nowrap;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.comments-split {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 7px;
  align-items: start;
}
.comment-list {
  display: contents;
}
.comment-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 7px 9px;
  background: rgba(43, 51, 64, 0.4);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.comment-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-song);
  font-size: 15px;
  font-weight: 700;
  color: #f6dde5;
  background:
    repeating-linear-gradient(45deg, rgba(200, 92, 124, 0.22) 0 2px, rgba(200, 92, 124, 0.08) 2px 4px),
    radial-gradient(circle at 30% 26%, rgba(232, 127, 156, 0.34), rgba(58, 50, 39, 0.92));
  border: 1px solid var(--pink-deep);
  box-shadow: inset 0 0 0 2px rgba(26, 29, 36, 0.55);
}
.comment-body { min-width: 0; }
.comment-nick {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.rec-region {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.rec-title {
  font-family: var(--font-song);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--bone);
  margin-bottom: 6px;
  padding-left: 9px;
  border-left: 2px solid var(--pink);
  line-height: 1.25;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  gap: 7px;
  align-items: start;
}
a.rec-card, .rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  color: var(--bone);
  text-decoration: none;
  background: rgba(43, 51, 64, 0.4);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover, a.rec-card:focus-visible, .rec-card:hover, .rec-card:focus-visible {
  border-color: var(--pink-deep);
  background: rgba(58, 50, 39, 0.62);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img, .rec-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.8) contrast(1.03);
  background: #10131a;
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.rec-card:hover .rec-name { color: var(--pink-soft); }
.site-footer {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 29, 36, 0.6), rgba(16, 19, 26, 0.95));
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(152, 160, 168, 0.78);
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bone);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--pink);
  border-bottom-color: var(--pink-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
  border-right: 1px solid var(--line-strong);
  padding-right: 10px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--pink-soft);
  border-bottom-color: rgba(232, 127, 156, 0.5);
}
@media (max-width: 900px) {.unit-overview {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.hero-title { font-size: 20px; }
.episode-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
.timeline-track::before { display: none; }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.page-main { padding: 10px 10px 20px; gap: 14px; }
.unit-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }
.overview-media { max-width: 62%; }
.hero-title { font-size: 18px; }
.hero-seo { font-size: 12px; }
.cast-strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-split { grid-template-columns: minmax(0, 1fr); }
.rec-strip { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.header-inner { padding: 7px 10px; gap: 10px; }
.site-footer { padding: 12px 10px; }}
@media (max-width: 420px) {.rec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-media { max-width: 74%; }
.ctl { padding: 3px 7px; font-size: 11px; }
.timeline-track { grid-template-columns: minmax(0, 1fr); }}

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}
