*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dt, dd { 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; }
:root {
  --concrete: #1a1d1b;
  --concrete-2: #212623;
  --concrete-3: #272d29;
  --line: #363d37;
  --ink: #c9cfc6;
  --ink-dim: #858d84;
  --ink-faint: #5c635c;
  --wine: #6e1f2a;
  --wine-bright: #a1273a;
  --wine-glow: #c8324a;
  --red-pen: #c0392b;
  --green-grey: #7d8a7c;
  --font-title: "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-body: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
}
body {
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(110,31,42,0.10), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(60,72,62,0.16), transparent 46%);
  background-attachment: fixed;
}
body.is-lights-off { background: #0c0e0d; }
body.is-lights-off .player-shell { box-shadow: 0 0 0 1px var(--wine), 0 0 60px rgba(200,50,74,0.25); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 8px 18px;
  background: rgba(18,21,19,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar { display: flex; align-items: center; gap: 10px; }
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--wine-glow);
  text-decoration: none;
  padding-left: 12px;
  border-left: 3px solid var(--wine-bright);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover { color: var(--ink); }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--concrete-2);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--wine-bright);
  background: var(--concrete-3);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.hero-figure {
  position: relative;
  align-self: start;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--concrete-2);
  overflow: hidden;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.88);
  display: block;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: -2% -4% 12% -3%;
  pointer-events: none;
  border: 2px solid rgba(192,57,43,0.55);
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  transform: rotate(-7deg);
  box-shadow: 0 0 0 1px rgba(192,57,43,0.22) inset, 6px 4px 0 -2px rgba(192,57,43,0.18);
  mix-blend-mode: screen;
}
.hero-mark {
  position: absolute;
  bottom: -11px;
  left: 8px;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.34em;
  color: var(--red-pen);
  background: var(--concrete);
  padding: 1px 8px 1px 6px;
  border: 1px solid rgba(192,57,43,0.6);
  border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  transform: rotate(-3deg);
  z-index: 3;
}
.hero-paper {
  position: relative;
  padding: 4px 0 2px 16px;
  border-left: 1px dashed rgba(192,57,43,0.35);
}
.hero-paper::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 52%;
  height: 46%;
  pointer-events: none;
  border: 1.5px solid rgba(192,57,43,0.30);
  border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%;
  transform: rotate(4deg);
}
.movie-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #dfe4dc;
  text-shadow: 2px 2px 0 rgba(110,31,42,0.55);
  margin-bottom: 6px;
}
.movie-tagline {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--wine-glow);
  margin-bottom: 8px;
  padding-left: 2px;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 62ch;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cast-strip { margin-bottom: 12px; }
.cast-heading, .section-heading, .reco-heading {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--green-grey);
  letter-spacing: 0.22em;
}
.cast-heading {
  font-size: 11.5px;
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 3px solid var(--wine-bright);
  line-height: 1;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 62px;
  padding: 4px 3px 5px;
  background: linear-gradient(180deg, var(--concrete-3), var(--concrete-2));
  border: 1px solid var(--line);
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(160deg, #2f3630 0%, #232824 55%, #1b1f1c 100%);
  border: 1px solid #3d453e;
  position: relative;
  overflow: hidden;
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(125,138,124,0.35), transparent 62%);
}
.cast-name {
  font-family: var(--font-title);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
}
.synopsis-block { margin-bottom: 12px; }
.section-heading {
  font-size: 13px;
  margin-bottom: 6px;
  padding-left: 9px;
  border-left: 3px solid var(--wine-bright);
  line-height: 1;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink);
  text-align: justify;
  text-indent: 2em;
  margin-bottom: 7px;
  opacity: 0.94;
}
.synopsis-para::first-line { color: #dbe0d8; }
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status-bar {
  margin-bottom: 12px;
  padding: 6px 10px;
  background: var(--concrete-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-pen);
}
.status-line { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.status-item {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.status-item:first-child { color: var(--ink); }
.details-panel { margin-bottom: 4px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 4px 2px;
  border-bottom: 1px solid rgba(54,61,55,0.62);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
  word-break: break-word;
}
.player-shell {
  width: 100%;
  background: #0e100f;
  border: 1px solid var(--line);
  border-top: 2px solid var(--wine);
  padding: 0;
}
.player-shell video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: var(--concrete-2);
  border-top: 1px solid var(--line);
}
.player-controls button {
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  background: var(--concrete-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.player-controls button:hover { color: var(--ink); border-color: var(--green-grey); }
.player-controls button.is-active {
  color: #f0e9e6;
  border-color: var(--wine-bright);
  background: #3a1a20;
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #2c322d;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-controls input[data-player-action="progress"] { flex: 1 1 160px; min-width: 90px; }
.player-controls input[data-player-action="volume"] { flex: 0 1 84px; min-width: 60px; accent-color: var(--wine-bright); }
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wine-glow);
  border: 1px solid #1a1d1b;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid #1a1d1b;
  border-radius: 50%;
  background: var(--wine-glow);
}
.player-shell.is-theater {
  border-color: var(--wine-bright);
  box-shadow: 0 0 0 1px rgba(161,39,58,0.5), 0 12px 34px rgba(0,0,0,0.55);
}
.timeline-band {
  margin-top: 8px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 14px;
  position: relative;
  margin-top: 10px;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 4%, var(--line) 96%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 1px;
  height: 9px;
  background: var(--line);
}
.node-mark {
  position: absolute;
  top: -20px;
  left: -6px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--red-pen);
  border-radius: 52% 48% 44% 56% / 48% 58% 42% 52%;
  transform: rotate(-12deg);
  background: rgba(192,57,43,0.10);
}
.node-time {
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--wine-glow);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.9;
}
.episodes-panel {
  margin-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin-top: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: 12px auto 1fr;
  grid-template-areas:
    "dot number duration"
    "dot title  title"
    "dot summary summary";
  gap: 1px 8px;
  align-items: baseline;
  padding: 6px 9px 7px 8px;
  background: var(--concrete-2);
  border: 1px solid var(--line);
  border-left: 2px solid #3f4a41;
}
.episode-card.is-aired { border-left-color: var(--red-pen); }
.episode-card.is-unaired { border-left-color: #454b45; background: #1c211e; }
.ep-dot {
  grid-area: dot;
  align-self: start;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-faint);
  background: transparent;
}
.is-aired .ep-dot {
  background: var(--red-pen);
  border-color: var(--red-pen);
  box-shadow: 0 0 0 2px rgba(192,57,43,0.18);
}
.is-unaired .ep-dot { background: transparent; border-color: var(--ink-faint); }
.ep-number {
  grid-area: number;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--green-grey);
}
.is-aired .ep-number { color: var(--wine-glow); }
.ep-title {
  grid-area: title;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d8ddd5;
  line-height: 1.3;
}
.ep-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 1px;
}
.ep-duration {
  grid-area: duration;
  justify-self: end;
  font-size: 11px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.comments-panel { margin-top: 16px; }
.comment-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 9px 10px;
  margin-top: 8px;
}
.comment-note {
  flex: 1 1 190px;
  min-width: 0;
  padding: 8px 10px 9px;
  background: var(--concrete-3);
  border: 1px solid var(--line);
  border-top: 2px solid var(--wine);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(2n) { transform: rotate(0.7deg); background: #232925; }
.comment-note:nth-child(3n) { transform: rotate(-0.9deg); border-top-color: var(--green-grey); }
.comment-note:nth-child(4n) { transform: rotate(0.4deg); }
.note-text {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink);
  margin-bottom: 6px;
}
.note-name {
  font-family: var(--font-title);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--wine-glow);
  text-align: right;
  border-top: 1px dashed rgba(110,31,42,0.4);
  padding-top: 4px;
}
.reco-region {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.reco-heading {
  font-size: 12.5px;
  margin-bottom: 7px;
  padding-left: 9px;
  border-left: 3px solid var(--wine-bright);
  line-height: 1;
}
.reco-row {
  display: grid;
  gap: 8px;
}
.reco-region-1 .reco-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reco-region-2 .reco-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reco-region-3 .reco-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.reco-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 5px 7px;
  background: var(--concrete-2);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color .15s, background .15s, transform .15s;
}
a.reco-card:hover {
  border-color: var(--wine-bright);
  background: var(--concrete-3);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #141715;
  filter: saturate(0.7) brightness(0.9);
  border-bottom: 1px solid var(--line);
}
a.reco-card [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d5dad2;
  line-height: 1.35;
}
a.reco-card [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.reco-card:hover [data-runtime="name"] { color: var(--wine-glow); }
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(110,31,42,0.06));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--green-grey); }
a[data-contract="footer-home"]:hover { color: var(--ink); text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: var(--ink-faint); }
a[data-contract="footer-sitemap"]:hover { color: var(--wine-glow); text-decoration: underline; }
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 78ch;
  margin-bottom: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(54,61,55,0.8);
}
.friend-label {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 7px;
  border: 1px solid transparent;
  border-bottom-color: rgba(110,31,42,0.5);
}
a.runtime-friend-link:hover {
  color: var(--wine-glow);
  border-color: rgba(110,31,42,0.7);
  background: rgba(110,31,42,0.10);
}
@media (max-width: 900px) {.hero-split { grid-template-columns: minmax(0, 1fr); }
.hero-figure { max-width: 320px; }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reco-region-1 .reco-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { padding: 12px 12px 20px; gap: 12px; }
.site-header { padding: 7px 12px; gap: 6px 10px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reco-region-1 .reco-row, .reco-region-2 .reco-row, .reco-region-3 .reco-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-note { flex: 1 1 160px; }
.hero-figure { max-width: 260px; }
.movie-seo { font-size: 12.5px; }}
@media (max-width: 460px) {.timeline-track { grid-template-columns: minmax(0, 1fr); }
.reco-region-1 .reco-row, .reco-region-2 .reco-row, .reco-region-3 .reco-row { grid-template-columns: minmax(0, 1fr); }
.comment-note { flex: 1 1 100%; }
.cast-card { width: 54px; }
.movie-title { font-size: 26px; }
.player-controls input[data-player-action="progress"] { flex: 1 1 100%; }}

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}
