:root {
  --peach-deep: #b4556b;
  --peach-dark: #7d2f45;
  --peach-ripe: #d97d8f;
  --peach-flesh: #f7d9dc;
  --peach-pale: #fdf2ef;
  --steel: #8e9aa3;
  --steel-dark: #2c343b;
  --steel-darker: #1d2429;
  --steel-light: #cfd7dc;
  --warm-white: #fbf7f4;
  --ink: #241f22;
  --ink-soft: #4c444a;
  --line: #e4d8d6;
  --accent-pink-bg: #f9e3e7;
  --radius: 6px;
  --radius-small: 3px;
  --shadow-soft: 0 2px 8px rgba(36, 31, 34, 0.08);
  --shadow-deep: 0 8px 28px rgba(20, 12, 16, 0.45);
  --font-title: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", "STSong", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, blockquote, figure, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(29, 36, 41, 0.97), rgba(29, 36, 41, 0.92));
  border-bottom: 1px solid rgba(217, 125, 143, 0.35);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--peach-flesh);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--steel-light);
  text-decoration: none;
  border: 1px solid rgba(207, 215, 220, 0.35);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--steel-darker);
  background: var(--peach-flesh);
  border-color: var(--peach-ripe);
}
.movie-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-heading {
  position: relative;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-left: 12px;
  margin-bottom: 10px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--peach-ripe), var(--peach-dark));
}
.hero-stage {
  position: relative;
  margin: 0 -16px 26px;
  padding: 26px 16px 22px;
  background:
    radial-gradient(circle at 82% 12%, rgba(217, 125, 143, 0.38), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(142, 154, 163, 0.28), transparent 46%),
    linear-gradient(160deg, #1d2429 0%, #2c343b 46%, #3a2c33 100%);
  color: var(--warm-white);
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px);
  mix-blend-mode: screen;
}
.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 22px;
  align-items: start;
  max-width: 1148px;
  margin: 0 auto;
}
.hero-poster {
  width: 100%;
  height: auto;
  border-radius: var(--radius-small);
  border: 1px solid rgba(247, 217, 220, 0.28);
  box-shadow: var(--shadow-deep);
  object-fit: cover;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
  max-width: 640px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero-tagline {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--peach-flesh);
  letter-spacing: 0.04em;
}
.hero-tagline + .hero-tagline {
  color: rgba(247, 217, 220, 0.62);
  font-size: 12.5px;
}
.hero-summary {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 3px solid var(--peach-ripe);
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(251, 247, 244, 0.86);
  text-align: justify;
}
.score-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 1148px;
  margin: 16px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 217, 220, 0.2);
}
.score-badge {
  display: inline-block;
  padding: 3px 12px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--peach-ripe), var(--peach-dark));
  border-radius: var(--radius-small);
  box-shadow: 0 2px 10px rgba(125, 47, 69, 0.5);
}
.score-chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--steel-light);
  border: 1px solid rgba(207, 215, 220, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}
.cast-row {
  position: relative;
  z-index: 1;
  max-width: 1148px;
  margin: 20px auto 0;
}
.cast-row .section-heading {
  color: var(--peach-flesh);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.cast-item {
  min-width: 0;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-small);
  border: 1px solid rgba(247, 217, 220, 0.25);
  filter: saturate(0.82) contrast(1.04);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.cast-card:hover .cast-avatar {
  filter: saturate(1.08) contrast(1.06);
  transform: translateY(-2px);
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: rgba(251, 247, 244, 0.9);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  margin-bottom: 22px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  padding: 12px 14px;
  background: var(--peach-pale);
  border-left: 3px solid var(--peach-ripe);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}
.synopsis-body p {
  font-size: 13.5px;
  line-height: 1.82;
  color: var(--ink-soft);
  text-align: justify;
  align-self: start;
}
.episode-status {
  margin-bottom: 22px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--steel-darker);
  background: var(--steel-light);
  border-radius: 999px;
}
.status-chip:nth-child(odd) {
  background: var(--peach-flesh);
  color: var(--peach-dark);
}
.details-panel {
  margin-bottom: 24px;
  padding: 14px 16px 16px;
  background: var(--steel-darker);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.details-panel .section-heading {
  color: var(--peach-flesh);
}
.details-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(207, 215, 220, 0.18);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.5em;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--warm-white);
  overflow-wrap: break-word;
}
.player-panel {
  margin-bottom: 24px;
}
.player-wrapper {
  width: 100%;
  max-width: 100%;
  background: #000;
  border-radius: var(--radius-small);
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--steel-dark);
  border-radius: var(--radius-small);
}
.player-progress {
  flex: 1 1 180px;
  min-width: 120px;
  accent-color: var(--peach-ripe);
}
.player-volume {
  flex: 0 1 110px;
  min-width: 70px;
  accent-color: var(--steel-light);
}
.player-button {
  flex: 0 0 auto;
  padding: 4px 11px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--warm-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 215, 220, 0.25);
  border-radius: var(--radius-small);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.player-button:hover {
  background: var(--peach-ripe);
  border-color: var(--peach-ripe);
  color: #fff;
}
.player-speed {
  flex: 0 0 auto;
  padding: 4px 8px;
  font-size: 12.5px;
  color: var(--warm-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(207, 215, 220, 0.25);
  border-radius: var(--radius-small);
}
.player-speed option {
  color: var(--ink);
}
.player-wrapper.player-theater {
  box-shadow: 0 0 0 1px var(--peach-ripe), 0 12px 40px rgba(125, 47, 69, 0.5);
}
body.player-theater-mode {
  background: #12181c;
}
body.player-theater-mode .movie-main {
  max-width: 100%;
}
body.player-lights-off {
  background: #0b0f11;
}
body.player-lights-off .player-wrapper {
  box-shadow: 0 0 0 2px rgba(217, 125, 143, 0.6), 0 0 60px rgba(217, 125, 143, 0.35);
}
body.player-is-playing .player-button[data-player-action="play"] {
  background: var(--peach-dark);
  border-color: var(--peach-dark);
}
body.player-is-muted .player-button[data-player-action="mute"] {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--steel-darker);
}
.timeline-panel {
  margin-bottom: 24px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, var(--steel-darker), #262e34);
  border-radius: var(--radius);
}
.timeline-panel .section-heading {
  color: var(--peach-flesh);
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-node {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(207, 215, 220, 0.12);
}
.timeline-node:last-child {
  border-bottom: 0;
}
.timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--peach-dark);
  background: var(--peach-flesh);
  border-radius: 50% / 60%;
  box-shadow: inset 0 -2px 0 rgba(125, 47, 69, 0.25);
}
.timeline-time {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--peach-ripe);
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: rgba(251, 247, 244, 0.88);
  text-align: left;
  letter-spacing: 0.03em;
}
.episode-panel {
  margin-bottom: 30px;
  padding-bottom: 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-self: start;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-color: var(--peach-ripe);
  box-shadow: 0 4px 16px rgba(125, 47, 69, 0.16);
  transform: translateY(-2px);
}
.episode-title {
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.episode-duration {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.episode-summary {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 4px;
}
.comment-panel {
  margin-bottom: 24px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 10px 12px;
  background: var(--peach-pale);
  border-left: 3px solid var(--peach-ripe);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}
.comment-nickname {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 9px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--peach-dark);
  background: var(--accent-pink-bg);
  border-radius: 999px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-soft);
  text-align: justify;
}
.recommend-panel {
  margin-bottom: 24px;
}
.recommend-panel .section-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--peach-ripe) 0, var(--line) 70%, transparent 100%);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a.recommend-card:hover {
  border-color: var(--peach-ripe);
  box-shadow: 0 4px 14px rgba(125, 47, 69, 0.16);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-small);
  background: var(--steel-light);
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 12.8px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--steel);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  background: linear-gradient(180deg, var(--steel-dark), var(--steel-darker));
  color: rgba(251, 247, 244, 0.78);
  padding: 20px 16px 26px;
}
.site-footer > * {
  max-width: 1148px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.75;
  color: rgba(251, 247, 244, 0.62);
  text-align: justify;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(207, 215, 220, 0.16);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--peach-flesh);
  text-decoration: none;
  transition: color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(207, 215, 220, 0.16);
}
.friend-links-title {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--steel-light);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 244, 0.7);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(207, 215, 220, 0.18);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--steel-darker);
  background: var(--peach-flesh);
  border-color: var(--peach-ripe);
}
@media (max-width: 900px) {.hero-visual {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 16px;
  }
.details-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.hero-visual {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster {
    max-width: 240px;
  }
.cast-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 560px) {.header-bar {
    padding: 7px 12px;
  }
.movie-main {
    padding: 0 12px 32px;
  }
.hero-stage {
    margin-left: -12px;
    margin-right: -12px;
    padding: 20px 12px 18px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-table {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 2px;
  }
.timeline-icon {
    grid-row: span 2;
  }
.timeline-time {
    grid-column: 2;
  }
.timeline-label {
    grid-column: 2;
  }
.player-button {
    padding: 4px 9px;
    font-size: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 4px;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 380px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    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}
