*, *::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; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Hiragino Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #2f3a40;
  background: #eef1f2;
  background-image:
    linear-gradient(180deg, #e6ebec 0%, #eef1f2 45%, #e9edee 100%);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: "Yu Mincho", "Songti SC", "STSong", "Noto Serif SC", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(238, 241, 242, 0.88);
  border-bottom: 1px solid #d3dcde;
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 6px;
}
.site-name {
  font-family: "Yu Mincho", "Songti SC", "STSong", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2b3a40;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="site-name"] { color: #2b3a40; text-decoration: none; }
a[data-contract="site-name"]:hover { color: #c9798f; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0 16px 9px;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
  color: #4d6068;
  background: #e2e8ea;
  border: 1px solid #d0dadd;
}
a.runtime-category { color: #4d6068; text-decoration: none; }
a.runtime-category:hover {
  color: #b3627d;
  background: #fbeaf0;
  border-color: #e8bcca;
}
.page-main {
  display: block;
  padding: 10px 16px 26px;
  max-width: 1180px;
  margin: 0 auto;
}
.panel-heading, .band-heading, .recommend-heading {
  font-size: 13.5px;
  color: #33454c;
  padding-left: 9px;
  border-left: 2px solid #cf8ea2;
  margin-bottom: 7px;
}
.player-panel {
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid #d6dfe1;
  border-radius: 4px;
  background: #f4f7f8;
}
.player-heading { font-size: 13px; margin-bottom: 7px; }
.player-shell {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: #1c2428;
  box-shadow: 0 6px 18px rgba(38, 52, 58, 0.22);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 10px 34px rgba(16, 24, 28, 0.46);
  outline: 1px solid #c98fa1;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.player-controls button {
  font-size: 11.5px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 3px;
  color: #46585f;
  background: #e5eaec;
  border: 1px solid #d2dcdf;
  white-space: nowrap;
}
.player-controls button:hover {
  color: #a9526d;
  background: #fbe9ef;
  border-color: #e8bccb;
}
.player-controls .click, .player-controls button.click {
  color: #fff;
  background: #c9798f;
  border-color: #c9798f;
}
.player .play, .player-controls .play { color: #b3627d; }
.player-controls .mute, .player-controls .volume, .player-controls .progress, .player-controls .speed, .player-controls .pip, .player-controls .fullscreen, .player-controls .theater, .player-controls .light { border-color: #d2dcdf; }
body.is-lights-dim {
  background: #1d2428;
  background-image: linear-gradient(180deg, #1a2125 0%, #1d2428 100%);
  color: #b9c6cb;
}
body.is-lights-dim .player-panel, body.is-lights-dim .hero-banner, body.is-lights-dim .timeline-band, body.is-lights-dim .episodes-panel, body.is-lights-dim .comments-section, body.is-lights-dim .recommend-region, body.is-lights-dim .site-header {
  background: #232c31;
  border-color: #33414a;
}
body.is-lights-dim .panel-heading, body.is-lights-dim .band-heading, body.is-lights-dim .recommend-heading, body.is-lights-dim .hero-title { color: #e3ecef; }
body.is-lights-dim .hero-seo, body.is-lights-dim .synopsis-paragraph, body.is-lights-dim .comment-text, body.is-lights-dim .episode-summary, body.is-lights-dim .node-label { color: #a7b6bc; }
body.is-lights-dim .site-name { color: #e3ecef; }
video.is-muted { opacity: 0.94; }
.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #d6dfe1;
  border-radius: 4px;
  background:
    linear-gradient(160deg, #f2f5f6 0%, #eaeef0 55%, #e4eaec 100%);
  position: relative;
}
.hero-media {
  position: relative;
  align-self: start;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: #c9d3d6;
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.62) contrast(0.96) brightness(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 32, 36, 0.06) 0%, rgba(24, 32, 36, 0) 34%, rgba(24, 32, 36, 0.34) 100%),
    linear-gradient(0deg, rgba(201, 121, 143, 0.14), rgba(201, 121, 143, 0) 46%);
  mix-blend-mode: multiply;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.hero-title {
  font-size: 22px;
  line-height: 1.22;
  color: #253238;
  letter-spacing: 0.03em;
  margin-bottom: 1px;
}
.hero-tagline {
  font-family: "Yu Mincho", "Songti SC", "STSong", serif;
  font-size: 13px;
  color: #8a5f6e;
  letter-spacing: 0.06em;
  padding-left: 9px;
  border-left: 2px solid #e0b6c3;
}
.hero-seo {
  font-size: 12px;
  line-height: 1.62;
  color: #5b6c73;
}
.synopsis-group, .cast-group, .episode-status-group, .details-group {
  padding-top: 8px;
  border-top: 1px solid #dbe3e5;
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.66;
  color: #5a6b72;
  margin-bottom: 5px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  border-radius: 50%;
}
.cast-photo {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #f3d7de 0%, #dcb6c2 42%, #9fb0b6 100%);
  border: 2px solid #f4f7f8;
  box-shadow: 0 2px 8px rgba(46, 60, 66, 0.2);
}
.cast-name {
  position: absolute;
  right: -3px;
  bottom: -3px;
  font-size: 10.5px;
  line-height: 1.25;
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(38, 51, 57, 0.82);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.status-line {
  font-size: 12px;
  color: #566a71;
  letter-spacing: 0.02em;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 4px 12px;
}
.detail-item {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 11.5px;
  line-height: 1.55;
  padding: 3px 0;
  border-bottom: 1px dotted #d8e0e2;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: #8a9ba1;
  letter-spacing: 0.04em;
}
.detail-value {
  color: #3c4c52;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-band {
  padding: 12px 14px 14px;
  margin-bottom: 18px;
  border: 1px solid #d6dfe1;
  border-radius: 4px;
  background:
    linear-gradient(180deg, #f3f6f7 0%, #eaeff0 100%);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0 6px;
  position: relative;
  padding-top: 20px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 8px;
  border-radius: 1px;
  background:
    repeating-linear-gradient(
      90deg,
      #c3ced1 0 7px,
      #eef1f2 7px 13px
    ),
    linear-gradient(180deg, #b9c6ca, #cfd9dc);
  background-blend-mode: normal;
  box-shadow: inset 0 0 0 1px #b3c0c4;
  z-index: 0;
}
.timeline-node {
  position: relative;
  padding: 14px 6px 6px;
  border-left: 2px solid #e2b8c6;
  min-width: 0;
  z-index: 1;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9798f;
  box-shadow: 0 0 0 3px #fbe9ef;
}
.node-timecode {
  display: block;
  font-family: "Yu Mincho", "Songti SC", serif;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #a4647a;
  white-space: nowrap;
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 11px;
  line-height: 1.48;
  color: #5b6c73;
}
.episodes-panel {
  margin-bottom: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 11px 11px;
  border: 1px solid #d6dfe1;
  border-radius: 3px;
  background: linear-gradient(180deg, #f6f9fa 0%, #eef2f3 100%);
  min-width: 0;
}
.episode-dot {
  position: absolute;
  top: 9px;
  left: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9798f;
  box-shadow: 0 0 0 3px rgba(201, 121, 143, 0.18);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #93a4aa;
  padding-left: 15px;
}
.episode-title {
  font-size: 13.5px;
  color: #2c3b41;
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.62;
  color: #62737a;
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #8d9ca1;
  padding-top: 5px;
  border-top: 1px dotted #d8e0e2;
  width: 100%;
}
.recommend-region {
  margin-bottom: 18px;
}
.recommend-heading {
  margin-bottom: 8px;
}
.recommend-grid {
  display: grid;
  gap: 9px;
  align-items: start;
}
.recommend-grid-1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 7px 8px;
  border: 1px solid #d8e1e3;
  border-radius: 3px;
  background: #f5f8f9;
  min-width: 0;
  overflow: hidden;
}
a.recommend-card { color: #33454c; text-decoration: none; }
.recommend-card:hover {
  border-color: #e0b6c3;
  background: #fdf5f8;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(60, 76, 82, 0.12);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #c9d3d6;
  filter: saturate(0.74);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(0.96);
}
.recommend-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #2f3f45;
  letter-spacing: 0.02em;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: #6a7a81;
}
.comments-section {
  margin-bottom: 18px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.comment-card {
  padding: 9px 10px 10px;
  border: 1px solid #d8e1e3;
  border-left: 2px solid #cf8ea2;
  border-radius: 3px;
  background: #f5f8f9;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #a4647a;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.64;
  color: #5d6e75;
}
.site-footer {
  padding: 14px 16px 22px;
  border-top: 1px solid #d3dcde;
  background: #e8edee;
}
.disclaimer-text {
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 11px;
  line-height: 1.6;
  color: #8b9a9f;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto 10px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.04em;
}
a[data-contract="footer-home"] { color: #4d6068; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: #b3627d; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: #4d6068; text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: #b3627d; text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: 1180px;
  margin: 0 auto;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #93a4aa;
  margin-right: 2px;
}
.runtime-friend-link {
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dfe6e8;
  border: 1px solid #d1dbde;
  white-space: nowrap;
}
a.runtime-friend-link { color: #5c6d74; text-decoration: none; }
a.runtime-friend-link:hover {
  color: #b3627d;
  background: #fbeaf0;
  border-color: #e8bcca;
}
@media (max-width: 1024px) {.hero-banner {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 14px;
  }
.hero-title { font-size: 20px; }
.timeline-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-track::before { display: none; }
.timeline-node { padding-top: 6px; }
.timeline-node::before { top: 0; left: -5px; }
.recommend-grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-media { max-width: 240px; }
.recommend-grid-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 600px) {body { font-size: 12.5px; }
.page-main { padding: 8px 11px 22px; }
.hero-title { font-size: 18px; }
.hero-media { max-width: 100%; }
.hero-poster { object-position: center 32%; }
.recommend-grid-1, .recommend-grid-2, .recommend-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-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)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.player-controls button { padding: 6px 9px; font-size: 11px; }}
@media (max-width: 400px) {.timeline-track { grid-template-columns: minmax(0, 1fr); }
.recommend-grid-1, .recommend-grid-2, .recommend-grid-3 { grid-template-columns: minmax(0, 1fr); }
.cast-row { gap: 7px; }
.cast-card, .cast-photo { width: 58px; }
.cast-photo { height: 58px; }}

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}
