*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, p, dl, dd, dt, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input[type="range"] { font: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
:root {
  --cream: #fdf6ee;
  --cream-deep: #f8ebdc;
  --peach: #ffe3cf;
  --peach-deep: #f7c9a8;
  --rose: #e88a72;
  --rose-deep: #d96a52;
  --ink: #4a3b34;
  --ink-soft: #8a7268;
  --slate: #3f4b5c;
  --slate-deep: #2f3949;
  --slate-soft: #56657a;
  --line: #f0dcc9;
  --card: #fffaf4;
  --shadow-sm: 0 2px 8px rgba(180, 130, 100, 0.12);
  --shadow-md: 0 6px 18px rgba(180, 130, 100, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Yuanti SC", "YouYuan", "STYuanti", "PingFang SC", "Microsoft YaHei", sans-serif;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 60% at 12% 0%, rgba(255, 227, 207, 0.75), transparent 60%),
    radial-gradient(90% 50% at 92% 6%, rgba(255, 236, 222, 0.85), transparent 62%),
    linear-gradient(180deg, #fdf6ee 0%, #fbeede 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 15px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 246, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible { color: var(--slate-deep); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  background: var(--peach);
  color: var(--rose-deep);
  border-color: var(--peach-deep);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-title {
  font-family: var(--font-hand);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--slate-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(232, 138, 114, 0.22);
  flex: none;
}
.hero-showcase {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 120px;
  border-radius: var(--radius-lg) var(--radius-lg) 40% 40%;
  background: linear-gradient(120deg, rgba(255, 227, 207, 0.85), rgba(255, 240, 228, 0.2) 70%);
  pointer-events: none;
}
.hero-media {
  position: relative;
  z-index: 1;
  align-self: start;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--peach), var(--cream-deep));
}
.hero-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-family: var(--font-hand);
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.25;
  color: var(--slate-deep);
  letter-spacing: 0.02em;
}
.movie-tagline {
  font-size: 14px;
  color: var(--rose-deep);
  background: rgba(255, 227, 207, 0.6);
  border-radius: 999px;
  padding: 5px 14px;
  align-self: flex-start;
  max-width: 100%;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  text-align: justify;
}
.player-shell {
  position: relative;
  width: 100%;
  background: var(--slate-deep);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #1f2733;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.player-btn {
  font-size: 12px;
  line-height: 1.4;
  color: #f4ece4;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  background: rgba(255, 227, 207, 0.9);
  color: var(--slate-deep);
  border-color: var(--peach-deep);
}
.player-btn.is-active {
  background: var(--rose);
  border-color: var(--rose-deep);
  color: #fff;
}
.play-btn { background: var(--rose); border-color: var(--rose-deep); color: #fff; }
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
  margin: 0;
}
.progress-range { flex: 2 1 140px; }
.volume-range { flex: 1 1 70px; max-width: 140px; }
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--peach);
  border: 2px solid var(--rose-deep);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--peach);
  border: 2px solid var(--rose-deep);
}
.player-shell.is-theater {
  box-shadow: 0 14px 40px rgba(47, 57, 73, 0.4);
}
.player-shell.is-theater .main-player { border-radius: 6px; }
body.is-lights-off {
  background: #16181d;
  color: #e8e2da;
}
body.is-lights-off .hero-showcase, body.is-lights-off .episode-card, body.is-lights-off .comment-item, body.is-lights-off .recommend-item, body.is-lights-off .site-footer { filter: brightness(0.86); }
.overview-details {
  background: linear-gradient(180deg, rgba(255, 240, 228, 0.7), rgba(255, 250, 244, 0.4));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.overview-details .section-title { font-size: 16px; margin-bottom: 8px; }
.details-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px 12px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(240, 220, 201, 0.9);
  min-width: 0;
}
.detail-key {
  color: var(--ink-soft);
  flex: none;
  letter-spacing: 0.02em;
}
.detail-key::after { content: "·"; margin-left: 4px; color: var(--peach-deep); }
.detail-value {
  color: var(--slate);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-status { display: flex; }
.status-line {
  font-size: 12.5px;
  color: var(--slate-deep);
  background: rgba(255, 227, 207, 0.75);
  border: 1px solid var(--peach-deep);
  border-radius: 999px;
  padding: 5px 14px;
}
.cast-block { min-width: 0; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
}
.cast-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff5ec 0%, transparent 55%),
    linear-gradient(150deg, var(--peach), var(--peach-deep));
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.cast-avatar::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 62%, rgba(232, 138, 114, 0.55) 0 22%, transparent 24%);
}
.cast-name {
  font-size: 12px;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.synopsis-block { min-width: 0; }
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 18px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: justify;
  padding-left: 10px;
  border-left: 2px solid rgba(247, 201, 168, 0.7);
}
.timeline-section {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
  box-shadow: var(--shadow-md);
}
.timeline-section .section-title { color: #ffe9d8; }
.timeline-section .section-title::before { background: var(--peach); box-shadow: 0 0 0 3px rgba(255, 227, 207, 0.25); }
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--peach-deep) transparent;
}
.timeline-scroller::-webkit-scrollbar { height: 7px; }
.timeline-scroller::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 999px; }
.timeline-scroller::-webkit-scrollbar-thumb { background: var(--peach-deep); border-radius: 999px; }
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: max-content;
  padding: 4px 2px 2px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 227, 207, 0.25), rgba(255, 227, 207, 0.65), rgba(255, 227, 207, 0.25));
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  width: 168px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 227, 207, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 12px 11px;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--peach);
  border: 3px solid var(--slate-deep);
  box-shadow: 0 0 0 2px rgba(255, 227, 207, 0.5);
  margin-bottom: 4px;
  flex: none;
}
.timeline-time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffd9bd;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: #e6e2dd;
}
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%);
  border-radius: var(--radius-md);
  padding: 12px 13px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.episode-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.episode-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-deep);
  background: var(--peach);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
  flex: none;
}
.episode-title {
  color: #fdf3e9;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  min-width: 0;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.7;
  color: #cdd4de;
}
.episode-duration {
  font-size: 11px;
  color: var(--peach-deep);
  letter-spacing: 0.04em;
  margin-top: auto;
}
.comments-section { min-width: 0; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 34% 30%, #fff6ee 0%, transparent 58%),
    linear-gradient(140deg, var(--peach-deep), var(--rose));
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.comment-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rose-deep);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.recommend-region { min-width: 0; }
.recommend-title {
  font-family: var(--font-hand);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--slate-deep);
  margin-bottom: 10px;
  padding-left: 12px;
  position: relative;
}
.recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rose), var(--peach));
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.recommend-item:hover, a.recommend-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--peach-deep);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--peach), var(--cream-deep));
  flex: none;
}
.recommend-pic { display: block; }
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-deep);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 8px auto 0;
  padding: 20px 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
}
.footer-disclaimer {
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--rose-deep);
  border-bottom-color: var(--rose-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-weight: 700;
  color: var(--slate-deep);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted rgba(138, 114, 104, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--rose-deep);
  border-bottom-color: var(--rose-deep);
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
@media (max-width: 980px) {.hero-showcase {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: 16px;
  }
.recommend-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {body { font-size: 14px; }
.page-main { padding: 14px 12px 6px; gap: 20px; }
.header-inner { padding: 9px 12px; }
.hero-showcase {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
    border-radius: var(--radius-md);
  }
.hero-media {
    max-width: 210px;
    margin: 0 auto;
    width: 100%;
  }
.movie-tagline { align-self: flex-start; font-size: 13px; }
.synopsis-paragraphs { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.recommend-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-node { width: 150px; }
.site-footer { padding: 18px 12px 24px; }}
@media (max-width: 520px) {.player-controls { gap: 5px; }
.player-btn { font-size: 11px; padding: 4px 9px; }
.progress-range { flex: 1 1 100%; order: 3; }
.details-strip { grid-template-columns: minmax(0, 1fr); }
.cast-item { width: 56px; }
.cast-avatar { width: 42px; height: 42px; }
.recommend-columns { grid-template-columns: minmax(0, 1fr); }
.timeline-node { width: 138px; }
.hero-media { max-width: 180px; }
.movie-title { font-size: 21px; }}

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}
