*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, figcaption, dl, dt, dd, header, footer, nav, section, main { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select { font: inherit; color: inherit; }
html { -webkit-text-size-adjust: 100%; }
:root {
  --ink: #1c1f24;
  --ink-soft: #3a3f47;
  --muted: #7c838d;
  --paper: #efebe3;
  --paper-2: #e5e0d6;
  --surface: #f6f3ec;
  --line: #c9c3b7;
  --line-soft: #d9d4c9;
  --contract-red: #b02a24;
  --contract-red-soft: #d8b4b0;
  --data-blue: #2b5c93;
  --data-blue-soft: #b9c9dc;
  --shadow: 0 1px 0 rgba(28, 31, 36, 0.08), 0 6px 20px -14px rgba(28, 31, 36, 0.5);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, .site-brand, .section-count, .node-stamp, .episode-number, .cast-card, .comment-nickname, .footer-nav a, .runtime-category {
  font-weight: 700;
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.4vw, 34px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239, 235, 227, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px clamp(14px, 2.4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--contract-red);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.06em;
}
a[data-contract="site-name"]:hover { text-decoration: underline; text-underline-offset: 3px; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
}
a.runtime-category:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.hero-crack {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "poster title title"
    "poster details status"
    "poster cast cast"
    "poster syn syn";
  gap: 0;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background:
    linear-gradient(115deg, rgba(176, 42, 36, 0.05) 0%, rgba(176, 42, 36, 0) 42%),
    var(--paper);
  position: relative;
}
.hero-crack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(102deg, transparent 61.6%, rgba(28, 31, 36, 0.16) 61.7%, transparent 62.1%),
    linear-gradient(84deg, transparent 30.4%, rgba(28, 31, 36, 0.09) 30.5%, transparent 30.9%);
  mix-blend-mode: multiply;
}
.hero-poster-column {
  grid-area: poster;
  border-right: 1px solid var(--line);
  padding: 16px 16px 18px;
  align-self: start;
  min-width: 0;
}
.poster-wrapper {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  filter: saturate(0.92) contrast(1.03);
}
.poster-caption {
  display: block;
  padding: 6px 9px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}
.hero-poster-play {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--ink);
}
.hero-poster-play video { width: 100%; background: #000; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
}
.player-controls button {
  padding: 3px 8px;
  border: 1px solid rgba(239, 235, 227, 0.32);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: rgba(239, 235, 227, 0.06);
}
.player-controls button:hover { background: var(--paper); color: var(--ink); }
.player-controls button.is-active { background: var(--contract-red); border-color: var(--contract-red); color: #fff; }
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 64px;
  height: 3px;
  background: rgba(239, 235, 227, 0.35);
  appearance: none;
  -webkit-appearance: none;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  background: var(--contract-red);
  border-radius: 0;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 0;
  background: var(--contract-red);
}
.speed-control { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--paper); }
.speed-control select {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(239, 235, 227, 0.32);
  padding: 2px 4px;
  font-size: 11px;
}
.hero-title-stack {
  grid-area: title;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.movie-tagline {
  margin-top: 6px;
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--contract-red);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.movie-seo {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.action-primary {
  padding: 8px 20px;
  background: var(--contract-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--contract-red);
}
.action-primary:hover { background: var(--ink); border-color: var(--ink); }
.action-ghost {
  padding: 8px 20px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--ink);
}
.action-ghost:hover { background: var(--ink); color: var(--paper); }
.hero-details {
  grid-area: details;
  padding: 14px 18px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  min-width: 3.5em;
}
.detail-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}
.detail-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 3px;
  min-width: 0;
}
.detail-item dt { color: var(--muted); flex: 0 0 auto; }
.detail-item dd { color: var(--ink); font-weight: 400; min-width: 0; }
.hero-episode-status {
  grid-area: status;
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.status-line { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--data-blue); }
.status-meter {
  margin-top: 8px;
  position: relative;
  height: 20px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.status-fill {
  display: block;
  height: 100%;
  width: 56.25%;
  background: repeating-linear-gradient(90deg, var(--data-blue) 0 6px, #3f74ad 6px 12px);
  color: var(--surface);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: 0.08em;
  padding-left: 6px;
  white-space: nowrap;
}
.hero-cast {
  grid-area: cast;
  padding: 12px 18px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.cast-row {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}
.cast-card {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 4px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card:first-child { border-color: var(--contract-red); color: var(--contract-red); background: rgba(176, 42, 36, 0.05); }
.hero-synopsis {
  grid-area: syn;
  padding: 12px 18px 18px;
  min-width: 0;
}
.synopsis-paragraph {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
}
.synopsis-paragraph:first-of-type::first-letter {
  float: left;
  font-size: 34px;
  line-height: 0.9;
  padding: 2px 6px 0 0;
  font-weight: 700;
  color: var(--contract-red);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 6px;
  border-bottom: 1px solid var(--line);
}
.section-header .section-heading { border-bottom: 0; padding-bottom: 0; }
.section-count {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}
.timeline-section { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.timeline-track {
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.timeline-nodes {
  display: flex;
  gap: 10px;
  min-width: max-content;
  align-items: stretch;
}
.timeline-node {
  flex: 0 0 auto;
  width: 172px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 11px 12px 13px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--contract-red);
}
.node-stamp {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--contract-red);
  border: 1px solid var(--contract-red-soft);
  padding: 2px 7px;
  transform: rotate(-1.4deg);
  background: rgba(176, 42, 36, 0.05);
}
.node-label { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.episodes-section { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.episode-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  background: var(--surface);
  padding: 11px 13px;
  border-left: 2px solid transparent;
}
.episode-row:hover { background: var(--paper-2); }
.episode-number {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 1px;
}
.episode-body { min-width: 0; }
.episode-title { font-size: 14px; letter-spacing: 0.02em; color: var(--ink); }
.episode-summary {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  display: none;
}
.episode-duration {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.episode-row.is-current {
  background: var(--paper-2);
  border-left-color: var(--contract-red);
  grid-column: span 1;
}
.episode-row.is-current .episode-number { color: var(--contract-red); }
.episode-row.is-current .episode-title { font-size: 15px; }
.episode-row.is-current .episode-summary { display: block; color: var(--ink-soft); }
.comments-section { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.comment-columns {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-column-right { margin-top: 26px; }
.comment-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 11px 13px 13px;
  box-shadow: var(--shadow);
}
.comment-nickname {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--data-blue);
  border-bottom: 1px solid var(--data-blue-soft);
  padding-bottom: 2px;
  margin-bottom: 6px;
}
.comment-text { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
section[data-fragment="recommendations"] { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
section[data-fragment="recommendations"]:last-of-type { border-bottom: 0; }
.recommendation-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 0 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.recommendation-card:hover { border-color: var(--contract-red); transform: translateY(-2px); text-decoration: none; }
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(0.9);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 9px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  padding: 0 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
  color: var(--ink-soft);
}
.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px clamp(14px, 2.4vw, 34px) 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; letter-spacing: 0.08em; padding-bottom: 2px; }
a[data-contract="footer-home"] { color: var(--contract-red); text-decoration: none; border-bottom: 1px solid var(--contract-red-soft); }
a[data-contract="footer-home"]:hover { text-decoration: underline; text-underline-offset: 3px; }
a[data-contract="footer-sitemap"] { color: var(--data-blue); text-decoration: none; border-bottom: 1px solid var(--data-blue-soft); }
a[data-contract="footer-sitemap"]:hover { text-decoration: underline; text-underline-offset: 3px; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.friend-links-label { font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
a.runtime-friend-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--contract-red); text-decoration-color: var(--contract-red); }
.footer-disclaimer {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 76ch;
}
.hero-poster-play.is-theater {
  position: relative;
  z-index: 30;
  box-shadow: 0 0 0 1px var(--contract-red), 0 20px 50px -22px rgba(0, 0, 0, 0.7);
}
body.is-theater-mode .page-main { max-width: 1240px; }
.hero-poster-play.is-lights-off { background: #000; }
.hero-poster-play.is-lights-off video { filter: brightness(0.55) saturate(0.8); }
.hero-poster-play.is-lights-off .player-controls { background: #050505; }
body.is-lights-off { background: #14161a; }
body.is-lights-off .page-main, body.is-lights-off .site-header, body.is-lights-off .site-footer { color: var(--ink); }
@media (max-width: 1080px) {.hero-crack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas:
      "poster title"
      "poster details"
      "status status"
      "cast cast"
      "syn syn";
  }
.hero-details { border-right: 0; }
.recommendation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-crack {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "title"
      "details"
      "status"
      "cast"
      "syn";
  }
.hero-poster-column { border-right: 0; border-bottom: 1px solid var(--line); }
.hero-title-stack { border-right: 0; }
.hero-cast { border-right: 0; }
.cast-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.comment-column-right { margin-top: 0; }
.comment-columns { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 560px) {body { font-size: 14px; }
.header-shell { padding-top: 7px; padding-bottom: 7px; }
.movie-title { font-size: 26px; }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-grid { grid-template-columns: minmax(0, 1fr); }
.recommendation-grid { grid-template-columns: minmax(0, 1fr); }
.player-controls { font-size: 10px; }
.hero-actions { gap: 6px; }
.action-primary, .action-ghost { flex: 1 1 auto; text-align: center; }
.timeline-node { width: 148px; }
.footer-shell { gap: 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}
