:root {
  --bg: #e9e5e0;
  --bg-tint: #e2ddd7;
  --panel: #f1ede8;
  --ink: #2e2a28;
  --ink-soft: #5c5551;
  --ink-faint: #8c837d;
  --wine: #7a2233;
  --wine-deep: #5e1a28;
  --wine-soft: #a45a68;
  --rule: #cfc7bf;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Helvetica, Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(122, 34, 51, 0.05), rgba(122, 34, 51, 0) 320px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.012) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--wine);
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, ol {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--wine);
  color: #f7f3ef;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(233, 229, 224, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--wine-deep);
  text-decoration: none;
  border-left: 3px solid var(--wine);
  padding-left: 9px;
  font-weight: 600;
}
a[data-contract="site-name"]:hover {
  color: var(--wine);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-left: auto;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: #f6f1ec;
  background: var(--wine);
  border-color: var(--wine);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 0;
  display: block;
}
.section-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--wine-deep);
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--wine);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas:
    "portrait info"
    "cast cast"
    "synopsis synopsis"
    "status details";
  gap: 16px 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.hero-portrait {
  grid-area: portrait;
  position: relative;
  align-self: start;
}
.poster-media {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--bg-tint);
  box-shadow: 10px 12px 0 rgba(122, 34, 51, 0.12);
  overflow: hidden;
}
.poster-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}
.hero-portrait::before, .hero-portrait::after, .hero-info::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(247, 243, 239, 0.9), rgba(226, 216, 208, 0.72));
  border: 1px solid rgba(122, 34, 51, 0.35);
  box-shadow: 0 2px 10px rgba(46, 42, 40, 0.16);
}
.hero-portrait::before {
  top: 6%;
  right: -14px;
  width: 74px;
  height: 96px;
  transform: rotate(7deg);
  clip-path: polygon(0 4%, 100% 0, 96% 88%, 60% 100%, 8% 94%);
  z-index: 3;
}
.hero-portrait::after {
  top: 34%;
  right: -10px;
  width: 62px;
  height: 84px;
  transform: rotate(-9deg);
  clip-path: polygon(4% 0, 100% 6%, 94% 100%, 30% 92%, 0 78%);
  opacity: 0.92;
  z-index: 3;
}
.hero-info {
  grid-area: info;
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(180deg, rgba(247, 243, 239, 0.7), rgba(233, 229, 224, 0.2));
  border-top: 2px solid var(--wine);
  border-bottom: 1px solid var(--rule);
}
.hero-info::before {
  top: -22px;
  right: 4px;
  width: 56px;
  height: 74px;
  transform: rotate(13deg);
  clip-path: polygon(0 8%, 92% 0, 100% 82%, 46% 100%, 4% 70%);
  opacity: 0.85;
  z-index: 3;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--wine-deep);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--wine);
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 2px solid var(--wine-soft);
}
.movie-seo {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.72;
  text-align: justify;
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: none;
  margin-top: 4px;
  background: #1b1817;
  border: 1px solid #342f2c;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: #221e1c;
  border-top: 1px solid #3a3431;
}
.control-btn {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  color: #e6ddd5;
  background: #332c29;
  border: 1px solid #4a423d;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.control-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fbf7f3;
}
.control-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #4a423d;
  border-radius: 2px;
  cursor: pointer;
}
.control-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wine-soft);
  border: none;
}
.control-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--wine-soft);
}
.control-volume {
  flex: 0 1 76px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #4a423d;
  border-radius: 2px;
  cursor: pointer;
}
.control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbbfb5;
  border: none;
}
.control-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #cbbfb5;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 9999px rgba(20, 16, 15, 0.55);
}
.player-shell.is-lights-off video {
  filter: brightness(0.72);
}
.control-btn.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fbf7f3;
}
.cast-section {
  grid-area: cast;
  padding-top: 4px;
}
.cast-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-strip::-webkit-scrollbar {
  height: 6px;
}
.cast-strip::-webkit-scrollbar-track {
  background: var(--bg-tint);
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--wine-soft);
}
.cast-card {
  flex: 0 0 208px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
  padding: 10px 12px 12px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--wine-soft);
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--wine-deep);
}
.cast-verdict {
  font-size: 12px;
  line-height: 1.68;
  color: var(--ink-soft);
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
}
.synopsis-section {
  grid-area: synopsis;
  padding-top: 4px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px 20px;
  align-items: start;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: justify;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}
.synopsis-para::first-letter {
  font-family: var(--serif);
  color: var(--wine);
}
.episode-status {
  grid-area: status;
  align-self: start;
  padding: 12px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--wine);
}
.episode-status .section-heading {
  font-size: 13px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 4px;
}
.episode-status .section-heading::after {
  display: none;
}
.status-line {
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.status-total {
  color: var(--wine-deep);
  font-weight: 600;
}
.status-current {
  display: inline-block;
  padding: 1px 8px;
  margin: 0 2px;
  background: var(--wine);
  color: #f7f3ef;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.details-section {
  grid-area: details;
  align-self: start;
  padding-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 12.5px;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 56px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  color: var(--ink);
  margin: 0;
}
.timeline-section {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 1px dashed var(--rule);
  transform: translateX(-50%);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  width: calc(50% - 22px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  background: var(--panel);
  border: 1px solid var(--rule);
}
.timeline-node-left {
  align-self: flex-start;
  text-align: right;
  border-right: 3px solid var(--wine);
}
.timeline-node-right {
  align-self: flex-end;
  text-align: left;
  border-left: 3px solid var(--wine);
}
.timeline-dot {
  position: absolute;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 3px rgba(122, 34, 51, 0.16);
}
.timeline-node-left .timeline-dot {
  right: -27px;
}
.timeline-node-right .timeline-dot {
  left: -27px;
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--wine);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--ink-soft);
}
.episodes-section {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 11px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-bottom-color: var(--wine-soft);
  background: #f6f1ec;
}
.episode-number {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.episode-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wine-deep);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  text-align: justify;
}
.episode-duration {
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 5px;
  border-top: 1px dotted var(--rule);
}
.episode-card-current {
  background: var(--wine);
  border-color: var(--wine-deep);
  border-bottom-color: var(--wine-deep);
}
.episode-card-current .episode-number {
  color: rgba(247, 243, 239, 0.72);
}
.episode-card-current .episode-title {
  color: #fbf7f3;
}
.episode-card-current .episode-summary {
  color: rgba(251, 247, 243, 0.86);
}
.episode-card-current .episode-duration {
  color: rgba(251, 247, 243, 0.7);
  border-top-color: rgba(251, 247, 243, 0.28);
}
.episode-card-current:hover {
  background: var(--wine-deep);
  border-bottom-color: var(--wine-deep);
}
.recommendations-section {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--rule);
}
.recommendations-section:last-of-type {
  border-bottom: none;
}
.recommendation-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  align-items: start;
}
a.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
a.recommendation-item:hover {
  border-color: var(--wine-soft);
  box-shadow: 4px 4px 0 rgba(122, 34, 51, 0.14);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--bg-tint);
  border: 1px solid var(--rule);
}
.recommendation-name {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wine-deep);
  line-height: 1.4;
}
a.recommendation-item:hover .recommendation-name {
  color: var(--wine);
}
.recommendation-blurb {
  font-size: 12px;
  line-height: 1.66;
  color: var(--ink-soft);
  text-align: justify;
}
.comments-section {
  padding: 22px 0 26px;
}
.comments-masonry {
  column-count: 3;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 12px;
  padding: 10px 12px 11px;
  background: #f4efe9;
  border: 1px solid #ddd3c9;
  box-shadow: 1px 2px 0 rgba(122, 34, 51, 0.1);
}
.comment-card:nth-child(3n + 1) {
  transform: rotate(-0.8deg);
}
.comment-card:nth-child(3n + 2) {
  transform: rotate(0.6deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.5deg);
}
.comment-card:nth-child(4n) {
  transform: rotate(0.9deg);
}
.comment-card:nth-child(5n) {
  transform: rotate(-0.7deg);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--wine);
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px dashed #d3c6ba;
}
.comment-nickname::before {
  content: "— ";
  color: var(--wine-soft);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.76;
  color: var(--ink-soft);
  text-align: justify;
}
.site-footer {
  margin-top: 6px;
  background: #272322;
  color: #c9c1bb;
  border-top: 3px solid var(--wine);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 26px;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px 26px;
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #e3d9d2;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wine-soft);
  border-bottom-color: var(--wine-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  font-size: 12px;
}
.friend-links-label {
  font-family: var(--serif);
  letter-spacing: 0.12em;
  color: #8d8279;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #b5aaa2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--wine-soft);
  text-decoration: underline;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.7;
  color: #857b73;
  padding-top: 12px;
  border-top: 1px solid #3b3532;
}
.player .click, .player .fullscreen, .player .input, .player .light, .player .mute, .player .pause, .player .pip, .player .play, .player .progress, .player .speed, .player .theater, .player .timeupdate, .player .volume {
  transition: opacity 0.16s;
}
.player .is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fbf7f3;
}
@media (max-width: 980px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "portrait"
      "info"
      "cast"
      "synopsis"
      "status"
      "details";
    gap: 14px;
  }
.hero-portrait::before, .hero-portrait::after, .hero-info::before {
    display: none;
  }
.poster-media {
    box-shadow: 6px 8px 0 rgba(122, 34, 51, 0.12);
  }
.comments-masonry {
    column-count: 2;
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 760px) {.header-inner {
    padding: 7px 14px;
    gap: 8px;
  }
.categories-bar {
    margin-left: 0;
    justify-content: flex-start;
    width: 100%;
  }
.page-main {
    padding: 14px 14px 0;
  }
.timeline-list::before {
    left: 6px;
  }
.timeline-node {
    width: calc(100% - 26px);
    align-self: flex-end;
    text-align: left;
    border-right: none;
    border-left: 3px solid var(--wine);
  }
.timeline-node-left .timeline-dot, .timeline-node-right .timeline-dot {
    left: -25px;
    right: auto;
  }
.episodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  }
.control-volume {
    flex: 0 1 60px;
  }
.footer-inner {
    padding: 16px 14px 22px;
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.comments-masonry {
    column-count: 1;
  }
.comment-card {
    transform: none !important;
  }
.cast-card {
    flex-basis: 176px;
  }
.recommendation-blocks {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
    gap: 10px;
  }
.player-controls {
    gap: 5px 6px;
    padding: 7px 8px;
  }
.control-btn {
    font-size: 11px;
    padding: 3px 8px;
  }}

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}
