:root {
  --paper: #e9e1d4;
  --paper-deep: #ddd2c0;
  --paper-edge: #cfc2ac;
  --ink: #17130f;
  --ink-soft: #3a322a;
  --ink-faint: #6b6055;
  --red: #8c1c1c;
  --red-bright: #b62626;
  --red-rope: #a32323;
  --rule: rgba(23, 19, 15, 0.18);
  --rule-soft: rgba(23, 19, 15, 0.09);
  --shadow-note: 0 1px 0 rgba(23,19,15,0.06), 0 8px 14px -10px rgba(23,19,15,0.55);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --gap: 14px;
  --gap-tight: 9px;
  --pad: 14px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(140, 28, 28, 0.045), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(23, 19, 15, 0.05), transparent 46%),
    repeating-linear-gradient(0deg, rgba(23,19,15,0.018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(23,19,15,0.014) 0 1px, transparent 1px 5px);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(233, 225, 212, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--red);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.28);
}
a.runtime-category:hover {
  color: var(--red);
  border-color: var(--red-rope);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "visual head"
    "visual synopsis"
    "status cast"
    "details details";
  gap: var(--gap);
  align-items: start;
  padding: var(--pad);
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.12));
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-note);
  position: relative;
}
.overview-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: repeating-linear-gradient(180deg, var(--red) 0 12px, transparent 12px 22px);
  opacity: 0.55;
}
.overview-visual {
  grid-area: visual;
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  min-width: 0;
}
.poster-frame {
  width: 100%;
  max-width: 240px;
  border: 1px solid var(--rule);
  padding: 5px;
  background: var(--paper-deep);
  box-shadow: var(--shadow-note);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.04);
}
.player-frame {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--rule);
  background: #100d0b;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.player-btn {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(233, 225, 212, 0.28);
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--red-bright);
  background: rgba(140, 28, 28, 0.4);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--red-bright);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 70px;
  min-width: 56px;
  height: 4px;
  accent-color: var(--red-bright);
  cursor: pointer;
}
.player.play .player-btn[data-player-action="play"], .player.mute .player-btn[data-player-action="mute"], .player.theater .player-btn[data-player-action="theater"], .is-theater .player-btn[data-player-action="theater"], .light .player-btn[data-player-action="light"], .is-lights-off .player-btn[data-player-action="light"] {
  color: #fff;
  border-color: var(--red-bright);
  background: rgba(140, 28, 28, 0.55);
}
.is-theater, .is-lights-off {
  background: #14100d;
  border-color: rgba(233, 225, 212, 0.2);
}
.is-theater .overview-visual, .is-lights-off .overview-visual {
  background: #0c0a08;
}
.is-theater .player-frame, .is-lights-off .player-frame {
  border-color: var(--red);
}
.is-theater .movie-title, .is-lights-off .movie-title {
  color: var(--paper);
}
.is-theater .movie-tagline, .is-lights-off .movie-tagline {
  color: #d8b7b7;
}
.is-lights-off .player-frame video {
  filter: brightness(0.78);
}
.overview-head {
  grid-area: head;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.movie-tagline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--red);
  letter-spacing: 0.16em;
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
.movie-seo {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.overview-block {
  min-width: 0;
}
.synopsis-block {
  grid-area: synopsis;
}
.status-block {
  grid-area: status;
}
.cast-block {
  grid-area: cast;
}
.details-block {
  grid-area: details;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.block-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 6px;
}
.block-title::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 1.6em;
}
.synopsis-para:first-child::first-letter {
  color: var(--red);
  font-weight: 800;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.35);
}
.status-key {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.status-value {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, 0.26);
  min-width: 0;
}
.cast-card:hover {
  border-color: var(--red-rope);
}
.cast-portrait {
  flex: none;
  width: 46px;
  border: 1px solid var(--rule);
  padding: 2px;
  background: var(--paper-deep);
}
.cast-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.03);
}
.cast-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cast-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-self: flex-start;
  color: var(--ink);
  border-right: 2px solid var(--red);
  padding-right: 3px;
  margin-right: 2px;
  float: left;
}
.cast-role {
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
}
.details-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.3);
  min-width: 0;
}
.details-key {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.details-value {
  font-family: var(--serif);
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.4;
  word-break: break-word;
}
.section-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 54px;
  height: 2px;
  background: var(--red);
}
.section-note {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-top: 5px;
}
.timeline-section {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.timeline-scroll {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(90deg, rgba(23,19,15,0.06) 0 1px, transparent 1px) 0 50% / 100% 1px no-repeat;
}
.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(23, 19, 15, 0.06);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--red-rope);
  opacity: 0.7;
}
.timeline-node {
  flex: 0 0 178px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 10px 12px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-note);
  position: relative;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(233, 225, 212, 0.9);
}
.timeline-node:nth-child(even) {
  transform: rotate(-0.5deg);
}
.timeline-node:nth-child(odd) {
  transform: rotate(0.4deg);
}
.timeline-timecode {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 700;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: 4px;
}
.timeline-label {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episodes-section {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.episode-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--rule);
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: var(--red-rope);
  border-left-color: var(--red-rope);
  background: rgba(255, 255, 255, 0.5);
}
.episode-number {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--red);
  opacity: 0.9;
}
.episode-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.episode-summary {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
}
.episode-duration {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-top: 1px;
  padding-top: 4px;
  border-top: 1px dotted var(--rule);
}
.comments-section {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.comments-columns {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 8px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-note);
  position: relative;
}
.comment-note::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 5px;
  width: 16px;
  height: 1px;
  background: var(--red-rope);
  opacity: 0.6;
}
.comment-column-left .comment-note:nth-child(1) { transform: rotate(-0.9deg); }
.comment-column-left .comment-note:nth-child(2) { transform: rotate(0.7deg); }
.comment-column-left .comment-note:nth-child(3) { transform: rotate(-0.4deg); }
.comment-column-right .comment-note:nth-child(1) { transform: rotate(0.8deg); }
.comment-column-right .comment-note:nth-child(2) { transform: rotate(-0.6deg); }
.comment-column-right .comment-note:nth-child(3) { transform: rotate(0.5deg); }
.comment-text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: justify;
}
.comment-nickname {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--red);
  align-self: flex-end;
}
.comment-nickname::before {
  content: "— ";
  color: var(--ink-faint);
}
.recommend-region {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.recommend-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  display: inline-block;
}
.recommend-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-card {
  display: flex;
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 6px;
  border: 1px solid var(--rule-soft);
  background: rgba(255, 255, 255, 0.3);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
a.recommend-link:hover {
  border-color: var(--red-rope);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
[data-runtime="recommendation"] {
  overflow: hidden;
}
[data-runtime="recommendation"] img, .recommend-pic {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--paper-edge);
  filter: saturate(0.85);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.35;
}
.recommend-blurb {
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  border-top: 1px dotted var(--rule);
  padding-top: 8px;
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  border-right: 2px solid var(--red);
  padding-right: 7px;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}
@media (max-width: 1024px) {.overview-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "visual head"
      "synopsis synopsis"
      "status cast"
      "details details";
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 12px 12px 24px;
    gap: 20px;
  }
.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "visual"
      "synopsis"
      "status"
      "cast"
      "details";
    gap: 12px;
  }
.overview-visual {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }
.poster-frame {
    max-width: 150px;
  }
.player-frame {
    flex: 1 1 260px;
    min-width: 0;
  }
.movie-title {
    font-size: 25px;
  }
.status-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 520px) {.header-inner {
    padding: 7px 12px;
    flex-wrap: wrap;
    gap: 6px;
  }
.category-strip {
    justify-content: flex-start;
  }
.overview-visual {
    flex-direction: column;
  }
.poster-frame {
    max-width: 180px;
  }
.status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    flex-basis: 158px;
  }
.movie-title {
    font-size: 22px;
  }
.player-btn {
    font-size: 10.5px;
    padding: 3px 6px;
  }}

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}
