*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --paper: #f4f0e9;
  --paper-deep: #ece5da;
  --paper-line: #d8cfc0;
  --ink: #33302c;
  --ink-soft: #6b6459;
  --fog: #7b8a99;
  --fog-deep: #47535f;
  --rose: #b98a8a;
  --rose-fade: #d9bebe;
  --night: #2b2f36;
  --night-2: #363b44;
  --night-ink: #e8e2d8;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --round: "Yuanti SC", "YouYuan", "Hiragino Maru Gothic ProN", "PingFang SC", sans-serif;
  --hand: "Xingkai SC", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  --rule: 1px solid var(--paper-line);
  --tight: 8px;
  --gap: 14px;
}
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(102deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
    repeating-linear-gradient(90deg, rgba(120, 108, 92, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 26px),
    repeating-linear-gradient(0deg, rgba(120, 108, 92, 0.045) 0 1px, rgba(0, 0, 0, 0) 1px 26px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 240, 233, 0.93);
  border-bottom: var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px 10px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--rose-fade);
  padding-bottom: 2px;
}
a[data-contract="site-name"]:hover {
  color: var(--rose);
  border-bottom-color: var(--rose);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--fog-deep);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--paper-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
}
a.runtime-category:hover {
  color: #fff;
  background: var(--fog-deep);
  border-color: var(--fog-deep);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 0;
}
.section-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding-bottom: 5px;
  margin-bottom: 12px;
  border-bottom: var(--rule);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--rose);
}
.hero-ledger {
  background: var(--paper-deep);
  border: var(--rule);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 2px 10px rgba(80, 68, 52, 0.07);
  padding: 14px 14px 18px;
  margin-bottom: 22px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}
.ledger-photo {
  position: relative;
  align-self: start;
}
.poster-frame {
  display: block;
  position: relative;
  background: #fff;
  padding: 7px 7px 26px;
  border: 1px solid var(--paper-line);
  box-shadow: 0 3px 12px rgba(70, 60, 46, 0.16);
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02) sepia(0.06);
}
.invitation-card {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 8%;
  background: rgba(246, 241, 233, 0.82);
  border: 1px solid rgba(185, 138, 138, 0.55);
  box-shadow: 0 2px 10px rgba(70, 60, 46, 0.18);
  padding: 9px 12px 10px;
  transform: rotate(-2.4deg);
  backdrop-filter: blur(1.5px);
}
.invitation-kicker {
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--rose);
  margin-bottom: 3px;
}
.invitation-line {
  font-family: var(--hand);
  font-size: 1.16rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--fog-deep);
}
.invitation-note {
  font-family: var(--serif);
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.ledger-copy {
  position: relative;
  padding-bottom: 6px;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 8px;
}
.movie-tagline {
  font-family: var(--hand);
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--fog-deep);
  letter-spacing: 0.04em;
  padding-left: 12px;
  border-left: 3px solid var(--rose-fade);
  margin-bottom: 10px;
}
.movie-seo {
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--ink-soft);
  text-align: justify;
}
.player-shell {
  background: var(--night);
  border: 1px solid #23272d;
  padding: 10px 12px 12px;
  margin-bottom: 18px;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--fog) inset;
}
.player-shell.is-lights-off {
  background: #14161a;
}
.player-heading {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--night-ink);
  margin-bottom: 8px;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid #454b55;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 10px;
}
.control-btn {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--night-ink);
  background: var(--night-2);
  border: 1px solid #4c535e;
  border-radius: 2px;
  padding: 4px 9px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.control-btn:hover {
  background: var(--fog-deep);
  border-color: var(--fog);
}
.control-btn.is-active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.control-range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--night-2);
  border: 1px solid #4c535e;
  border-radius: 2px;
}
.control-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--night-2);
  border: 1px solid #4c535e;
  border-radius: 2px;
}
.control-label {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #b8b2a6;
  white-space: nowrap;
}
.control-range input[type="range"] {
  width: 92px;
  height: 3px;
  accent-color: var(--rose);
  cursor: pointer;
}
.control-select select {
  font-family: var(--mono);
  font-size: 0.72rem;
  background: transparent;
  color: var(--night-ink);
  border: 0;
  cursor: pointer;
}
.control-select select option {
  color: #22262b;
}
.cast-strip {
  margin-bottom: 20px;
}
.cast-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.cast-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-line);
  padding: 6px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 97%, 86% 93%, 78% 98%, 68% 93%, 58% 98%, 48% 93%, 38% 98%, 28% 93%, 18% 98%, 8% 93%, 0 97%);
  box-shadow: 0 2px 8px rgba(80, 68, 52, 0.1);
}
.cast-photo {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--paper-deep);
}
.cast-photo img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04) sepia(0.08);
}
.cast-note {
  padding: 7px 3px 6px;
  border-top: 1px dashed var(--paper-line);
  margin-top: 5px;
}
.cast-name {
  font-family: var(--hand);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.3;
}
.cast-hand {
  font-family: var(--hand);
  font-size: 0.8rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-top: 2px;
}
.synopsis-block {
  margin-bottom: 20px;
}
.synopsis-body {
  columns: 2;
  column-gap: 24px;
  column-rule: 1px dashed var(--paper-line);
}
.synopsis-para {
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--ink-soft);
  text-align: justify;
  break-inside: avoid;
  margin-bottom: 8px;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--serif);
  font-size: 1.5em;
  color: var(--rose);
  line-height: 1;
}
.episode-status, .details-block {
  margin-bottom: 20px;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.status-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--fog);
  padding: 7px 10px 8px;
}
.status-key {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.status-val {
  font-family: var(--mono);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--fog-deep);
  margin-top: 1px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
.detail-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 6px 9px 7px;
}
.detail-key {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--rose);
  white-space: nowrap;
}
.detail-val {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink);
}
.timeline-section {
  background: var(--night);
  border: 1px solid #23272d;
  padding: 14px 14px 18px;
  margin-bottom: 22px;
  color: var(--night-ink);
}
.timeline-section .section-title {
  color: var(--night-ink);
  border-bottom-color: #4a505a;
}
.timeline-section .section-title::after {
  background: var(--rose);
}
.timeline-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  padding-left: 4px;
}
.timeline-ribbon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(232, 226, 216, 0.5) 0 5px, rgba(0, 0, 0, 0) 5px 11px);
}
.timeline-entry {
  position: relative;
  text-align: left;
  padding: 7px 10px 8px 14px;
  background: rgba(255, 255, 255, 0.045);
  border-left: 2px solid var(--fog);
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose-fade);
}
.timeline-entry::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 15px;
  width: 12px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(232, 226, 216, 0.55) 0 3px, rgba(0, 0, 0, 0) 3px 6px);
}
.timeline-code {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--fog);
}
.timeline-label {
  display: block;
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--night-ink);
  margin-top: 2px;
}
.episodes-section {
  margin-bottom: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-cell {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--paper-line);
  padding: 9px 11px 10px;
  overflow: hidden;
  min-height: 104px;
}
.episode-number {
  position: absolute;
  right: 4px;
  bottom: -18px;
  font-family: var(--mono);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(123, 138, 153, 0.18);
  pointer-events: none;
  z-index: 0;
}
.episode-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--paper-line);
  margin-bottom: 5px;
}
.episode-summary {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.2s ease;
}
.episode-cell:hover .episode-summary {
  -webkit-line-clamp: 6;
  overflow: visible;
}
.episode-duration {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--fog);
  margin-top: 5px;
  padding: 1px 6px;
  border: 1px solid var(--paper-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
}
.comments-section {
  background: var(--night-2);
  border: 1px solid #23272d;
  padding: 14px 14px 20px;
  margin-bottom: 22px;
  color: var(--night-ink);
}
.comments-section .section-title {
  color: var(--night-ink);
  border-bottom-color: #4a505a;
}
.comments-section .section-title::after {
  background: var(--rose);
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comment-note {
  width: min(72%, 520px);
  background: #f2ece0;
  border: 1px solid #ddd4c4;
  border-left: 3px solid var(--rose);
  padding: 8px 11px 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  color: var(--ink);
}
.comment-note:nth-child(odd) {
  margin-right: auto;
  transform: rotate(-0.7deg);
}
.comment-note:nth-child(even) {
  margin-left: auto;
  transform: rotate(0.6deg);
  border-left-color: var(--fog);
}
.comment-note + .comment-note {
  margin-top: -8px;
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-1px);
  z-index: 2;
  position: relative;
}
.comment-nick {
  font-family: var(--round);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--fog-deep);
  margin-bottom: 2px;
}
.comment-text {
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.78;
  color: var(--ink);
  text-align: justify;
}
.recommend-region {
  margin-bottom: 20px;
}
.recommend-title {
  font-family: var(--hand);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--fog-deep);
  padding-bottom: 4px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--paper-line);
}
.recommend-grid {
  display: grid;
  gap: 9px;
  align-items: start;
}
.recommend-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-line);
  padding: 5px 5px 8px;
  color: var(--ink);
  text-decoration: none;
  align-self: start;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: var(--rose-fade);
  box-shadow: 0 4px 12px rgba(80, 68, 52, 0.16);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--paper-deep);
  filter: saturate(0.85) contrast(1.03);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.5;
}
.recommend-blurb {
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region-narrow {
  padding-right: 0;
}
.recommend-region-wide {
  padding-left: 0;
}
.site-footer {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 16px 18px 30px;
  border-top: var(--rule);
}
.footer-disclaimer {
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 760px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 10px 0 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--fog-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rose);
  border-bottom-color: var(--rose);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--paper-line);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--rose);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 0.72rem;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--paper-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
}
a.runtime-friend-link:hover {
  color: #fff;
  background: var(--fog-deep);
  border-color: var(--fog-deep);
}
.player-shell.is-theater .player-frame {
  border-color: var(--rose);
}
.player-shell.is-lights-off .control-label {
  color: #8d8779;
}
@media (max-width: 1000px) {.hero-stage {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 14px;
  }
.detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 780px) {.page-main {
    padding: 14px 13px 0;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.ledger-photo {
    max-width: 300px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.status-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-four, .recommend-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-note {
    width: min(88%, 520px);
  }}
@media (max-width: 560px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 8px 13px 9px;
  }
.movie-title {
    font-size: 1.5rem;
  }
.status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-ribbon {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-four, .recommend-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-region-narrow, .recommend-region-wide {
    padding-left: 0;
    padding-right: 0;
  }
.comment-note {
    width: 100%;
  }
.comment-note:nth-child(odd), .comment-note:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    transform: rotate(-0.5deg);
  }
.control-range input[type="range"] {
    width: 72px;
  }}

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}
