*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body, h1, h2, h3, p, ol, ul, dl, dd {
  margin: 0;
}
ol, ul {
  padding: 0;
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:root {
  --paper: #f4efe7;
  --card: #fffaf3;
  --wood: #e3d5c1;
  --wood-deep: #c9b49a;
  --ink: #2f2a26;
  --ink-soft: #6b6259;
  --ink-faint: #968c81;
  --accent: #e4572e;
  --accent-soft: #f4b9a2;
  --line: #ded2c1;
  --radius: 10px;
  --gap: 12px;
  --pad: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 231, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--accent);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 12.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category {
  color: var(--ink-soft);
  text-decoration: none;
}
a.runtime-category:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.hero-slice {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #efe6da 0%, #e6d9c7 55%, #dcc9b1 100%);
  border: 1px solid var(--line);
}
.hero-backdrop {
  position: relative;
  min-height: 172px;
  padding: 18px 16px 0;
}
.hero-illustration {
  position: relative;
  height: 158px;
  border-radius: 12px;
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(228, 87, 46, 0.16), transparent 62%),
    repeating-linear-gradient(90deg, rgba(201, 180, 154, 0.28) 0 2px, transparent 2px 46px),
    linear-gradient(180deg, #f7f1e7, #eadfce);
  border: 1px solid rgba(201, 180, 154, 0.55);
  overflow: hidden;
}
.hero-figure {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  width: 116px;
  height: 128px;
  border-radius: 58px 58px 8px 8px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: rgba(47, 42, 38, 0.62);
  writing-mode: horizontal-tb;
}
.hero-figure-suyao {
  left: 16%;
  background: linear-gradient(180deg, #f0d9c9, #d8b79b);
  transform: rotate(-2.5deg);
}
.hero-figure-chenghao {
  left: 44%;
  background: linear-gradient(180deg, #cdd7d4, #a9bab6);
  transform: rotate(2.5deg);
}
.hero-figure-suyao::after, .hero-figure-chenghao::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(47, 42, 38, 0.14);
}
.hero-figure-suyao::after {
  right: -14px;
}
.hero-figure-chenghao::after {
  left: -14px;
}
.hero-prop {
  position: absolute;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 3px 8px;
  border: 1px dashed rgba(150, 140, 129, 0.6);
  border-radius: 6px;
  background: rgba(255, 250, 243, 0.7);
}
.hero-prop-bills {
  top: 16px;
  left: 8px;
  transform: rotate(-4deg);
}
.hero-prop-toys {
  top: 22px;
  right: 10px;
  transform: rotate(3deg);
  color: var(--accent);
  border-color: rgba(228, 87, 46, 0.5);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 0 16px 18px;
}
.hero-poster-wrap {
  align-self: start;
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--wood);
  box-shadow: 0 8px 20px rgba(47, 42, 38, 0.14);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.movie-tagline {
  font-size: 14px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.movie-seo {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-actions button {
  cursor: pointer;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-play {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.btn-play:hover, .btn-play.is-active {
  background: #c8451f !important;
  border-color: #c8451f !important;
}
.btn-theater:hover, .btn-theater.is-active {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-light:hover, .btn-light.is-active {
  border-color: var(--accent);
  color: var(--accent);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}
.status-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.status-score {
  color: var(--accent);
  border-color: var(--accent-soft);
  font-weight: 600;
}
.player-shell {
  width: 100%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #241f1b;
  border: 1px solid var(--line);
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #17130f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  background: #2b2521;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ctrl-btn {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f0e9e0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  accent-color: var(--accent);
  height: 4px;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  accent-color: var(--accent-soft);
  height: 4px;
}
.ctrl-speed {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f0e9e0;
  padding: 3px 6px;
  font-size: 12px;
}
body.lights-off {
  background: #14100d;
}
body.lights-off .page-main, body.lights-off .site-footer {
  opacity: 0.55;
}
body.lights-off .player-shell {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent);
}
body.theater-mode .hero-content {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .player-shell {
  box-shadow: 0 0 0 2px var(--accent);
}
.player-shell.is-playing .ctrl-btn[data-player-action="play"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.player-shell.is-fullscreen {
  border-radius: 0;
}
.details-block, .synopsis-block, .cast-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.details-title, .synopsis-title, .cast-title {
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(150, 140, 129, 0.35);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  min-width: 0;
}
.synopsis-text {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}
.synopsis-text + .synopsis-text {
  margin-top: 7px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--wood), var(--wood-deep));
  border: 1px solid rgba(201, 180, 154, 0.8);
}
.cast-card:nth-child(odd) .cast-avatar {
  background: linear-gradient(150deg, #f2cdba, #d99b7c);
}
.cast-name, .cast-role {
  display: block;
  line-height: 1.25;
}
.cast-name {
  font-size: 13px;
  font-weight: 600;
}
.cast-role {
  font-size: 11.5px;
  color: var(--ink-faint);
}
.cast-card .cast-name, .cast-card .cast-role {
  white-space: nowrap;
}
.timeline-section {
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 14px 14px;
}
.timeline-title {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 640px;
  padding: 4px 0 2px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 17px;
  height: 2px;
  background: linear-gradient(90deg, var(--wood-deep), var(--accent-soft) 55%, var(--wood-deep));
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-top: 0;
  text-align: center;
  cursor: pointer;
}
.node-icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--wood-deep);
  box-shadow: 0 0 0 3px var(--card);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.timeline-node:hover .node-icon {
  border-color: var(--accent);
}
.timeline-node-active .node-icon, .timeline-node.is-active .node-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}
.node-timecode {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.node-label {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink-faint);
  line-height: 1.35;
}
.timeline-node-active .node-timecode, .timeline-node.is-active .node-timecode {
  color: var(--accent);
}
.timeline-node-active .node-label, .timeline-node.is-active .node-label {
  color: var(--ink-soft);
  font-weight: 500;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episodes-title {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood-deep);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.episode-card:hover {
  border-left-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 42, 38, 0.08);
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.episode-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
}
.episode-duration {
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comments-title {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.comments-masonry {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(150deg, #f2cdba, #d99b7c);
  border: 1px solid rgba(201, 180, 154, 0.8);
}
.comment-card:nth-child(even) .comment-avatar {
  background: linear-gradient(150deg, #cdd7d4, #a9bab6);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nick {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}
.rec-region {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.rec-region + .rec-region {
  margin-top: 2px;
}
.rec-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.rec-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-5 {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.rec-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.rec-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.rec-card {
  color: var(--ink);
  text-decoration: none;
}
a.rec-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(47, 42, 38, 0.1);
}
[data-runtime="recommendation"] {
  align-self: start;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
  background: var(--wood);
}
.rec-pic {
  display: block;
}
.rec-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-faint);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.footer-home, .footer-sitemap {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--accent);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-soft);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--accent);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--ink-faint);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 90ch;
}
@media (min-width: 620px) {.hero-content {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    column-gap: 16px;
  }
.hero-poster-wrap {
    max-width: none;
  }
.comments-masonry {
    column-count: 2;
  }}
@media (min-width: 900px) {.page-main {
    padding: 18px 20px 6px;
    gap: 20px;
  }
.hero-content {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 22px;
    padding: 0 20px 20px;
  }
.hero-backdrop {
    padding: 20px 20px 0;
  }
.movie-title {
    font-size: 27px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.rec-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.rec-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-masonry {
    column-count: 2;
  }}
@media (min-width: 1080px) {.comments-masonry {
    column-count: 2;
  }
.hero-illustration {
    height: 176px;
  }
.hero-figure {
    height: 144px;
  }}
@media (max-width: 619px) {.comments-masonry {
    column-count: 1;
  }
.hero-poster-wrap {
    max-width: 180px;
  }
.movie-title {
    font-size: 21px;
  }
.timeline-track {
    min-width: 560px;
  }
.timeline-node {
    min-width: 88px;
  }
.friend-links {
    gap: 5px 10px;
  }}
@media (max-width: 400px) {.header-inner {
    padding: 8px 12px;
  }
.site-brand {
    font-size: 15.5px;
  }
.hero-poster-wrap {
    max-width: 150px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }}

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}
