*, *::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, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0e1116;
  --night: #141a22;
  --slate: #1d232c;
  --slate-2: #262e39;
  --line: #333d4a;
  --fog: #8b96a5;
  --fog-2: #aab4c1;
  --paper: #d9dee5;
  --paper-2: #eef1f5;
  --blood: #8e2b31;
  --blood-2: #b23a3f;
  --blood-deep: #5e1c22;
  --lamp: #e0b877;
  --gap: 10px;
  --pad: 12px;
  --radius: 3px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", Arial, sans-serif;
}
html { background: var(--ink); }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper);
  background:
    radial-gradient(1200px 600px at 20% -5%, rgba(142, 43, 49, 0.14), transparent 60%),
    radial-gradient(900px 500px at 85% 8%, rgba(224, 184, 119, 0.07), transparent 65%),
    linear-gradient(180deg, #0d1117 0%, #10151c 45%, #0c1015 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}
h1, h2, h3 { font-weight: 700; letter-spacing: 0.02em; }
.site-header {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.96), rgba(13, 17, 23, 0.78));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-2);
  text-decoration: none;
  padding-right: 10px;
  border-right: 1px solid var(--line);
  text-shadow: 0 0 18px rgba(224, 184, 119, 0.18);
}
a[data-contract="site-name"]:hover { color: var(--lamp); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  color: var(--fog-2);
  text-decoration: none;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(38, 46, 57, 0.55);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--paper-2);
  border-color: var(--blood-2);
  background: rgba(142, 43, 49, 0.28);
}
.page-main {
  display: block;
  padding: 12px 16px 24px;
  max-width: 100%;
}
.block-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--paper-2);
  padding-left: 9px;
  margin-bottom: 8px;
  border-left: 3px solid var(--blood);
  line-height: 1.2;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0d12;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(224, 184, 119, 0.05) inset;
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.1) 40%, rgba(10, 13, 18, 0.72) 100%);
  pointer-events: none;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.86) contrast(1.06);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--paper-2);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 22px rgba(142, 43, 49, 0.35);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--lamp);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid rgba(224, 184, 119, 0.4);
}
.movie-seo-note {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--fog);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.62);
}
.movie-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(29, 35, 44, 0.96), rgba(14, 17, 22, 0.96));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1;
  color: var(--fog-2);
  background: rgba(38, 46, 57, 0.8);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover {
  color: var(--paper-2);
  border-color: var(--blood-2);
  background: rgba(142, 43, 49, 0.36);
}
.ctrl-btn.is-active {
  color: #ffdfae;
  border-color: rgba(224, 184, 119, 0.7);
  background: rgba(224, 184, 119, 0.16);
}
.ctrl-btn.is-muted {
  color: #e6a0a3;
  border-color: var(--blood-2);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #2b333e;
  outline: none;
  cursor: pointer;
  border: none;
}
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 80px;
}
.ctrl-volume {
  flex: 0 1 74px;
  min-width: 54px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blood-2);
  border: 1px solid #e6c9c9;
  box-shadow: 0 0 8px rgba(178, 58, 63, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #e6c9c9;
  border-radius: 50%;
  background: var(--blood-2);
}
.ctrl-range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: #2b333e;
}
.player.is-theater, html.is-theater .player-shell {
  box-shadow: 0 0 0 1px rgba(224, 184, 119, 0.35), 0 18px 50px rgba(0, 0, 0, 0.8);
}
html.is-dimmed .page-main {
  filter: brightness(0.62) saturate(0.8);
  transition: filter 0.25s ease;
}
html.is-dimmed .player-shell {
  filter: none;
}
.click, .input, .timeupdate, .progress, .volume, .speed, .mute, .pip, .play, .fullscreen, .theater, .light {
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
  color: var(--fog);
  padding: 6px 9px;
  border-left: 2px solid var(--blood-deep);
  background: rgba(38, 46, 57, 0.42);
}
.status-line {
  font-weight: 300;
  letter-spacing: 0.03em;
}
.cast-block {
  margin-top: 2px;
}
.cast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: rgba(29, 35, 44, 0.72);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blood-deep);
  border-radius: var(--radius);
  min-width: 0;
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a0d12;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.55) brightness(0.82) contrast(1.08) grayscale(0.28);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper-2);
  letter-spacing: 0.05em;
}
.cast-note {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--fog);
}
.synopsis-block {
  margin-top: 2px;
}
.synopsis-para {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--paper);
  max-width: 78ch;
  text-indent: 2em;
}
.synopsis-para + .synopsis-para {
  margin-top: 4px;
}
.details-block {
  margin-top: 2px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 8px;
  background: rgba(20, 26, 34, 0.94);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--fog);
  letter-spacing: 0.04em;
}
.detail-key::after {
  content: "／";
  color: var(--blood-deep);
  padding-left: 3px;
}
.detail-value {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--paper-2);
  min-width: 0;
}
.timeline-block {
  margin: 22px 0 20px;
  padding-top: 4px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--blood-deep) #171d25;
  scrollbar-width: thin;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  pointer-events: none;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #171d25;
  border-radius: 4px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--blood-deep);
  border-radius: 4px;
}
.timeline-node {
  flex: 0 0 auto;
  width: 158px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px 10px;
  background: rgba(29, 35, 44, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--slate);
  border: 1px solid var(--blood);
  z-index: 2;
}
.node-icon {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--lamp);
  background: rgba(224, 184, 119, 0.09);
  border: 1px dashed rgba(224, 184, 119, 0.42);
  border-radius: 999px;
  padding: 1px 8px;
}
.node-timecode {
  font-size: 11px;
  font-weight: 400;
  color: var(--blood-2);
  letter-spacing: 0.1em;
}
.node-label {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--paper);
}
.episodes-block {
  margin: 0 0 20px;
  padding-top: 4px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px;
  background: rgba(20, 26, 34, 0.72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blood-deep);
  border-radius: var(--radius);
  min-width: 0;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper-2);
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--fog);
  padding-left: 12px;
  border-left: 1px solid rgba(51, 61, 74, 0.9);
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--blood-2);
  letter-spacing: 0.1em;
  padding-left: 12px;
}
.comments-block {
  margin: 0 0 20px;
  padding-top: 4px;
}
.comment-notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 9px;
  align-items: start;
}
.comment-note {
  padding: 8px 10px 9px;
  background: linear-gradient(170deg, rgba(38, 46, 57, 0.9), rgba(23, 29, 37, 0.9));
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.42);
  min-width: 0;
}
.comment-note:nth-child(3n + 1) {
  transform: rotate(-0.7deg);
  border-top: 2px solid rgba(142, 43, 49, 0.75);
}
.comment-note:nth-child(3n + 2) {
  transform: rotate(0.55deg);
  border-top: 2px solid rgba(224, 184, 119, 0.5);
  margin-top: 10px;
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.3deg);
  border-top: 2px solid rgba(170, 180, 193, 0.35);
}
.comment-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.66;
  color: var(--paper);
}
.comment-nickname {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
  color: var(--lamp);
  letter-spacing: 0.06em;
}
.comment-nickname::before {
  content: "— ";
  color: var(--blood-2);
}
.rec-region {
  margin: 0 0 20px;
  padding-top: 4px;
}
.rec-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper-2);
  letter-spacing: 0.03em;
  padding-left: 9px;
  border-left: 3px solid var(--blood);
  line-height: 1.25;
}
.rec-count {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--fog);
  letter-spacing: 0.14em;
  margin: 2px 0 7px 12px;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(23, 29, 37, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a.rec-card:hover {
  border-color: var(--blood-2);
  background: rgba(38, 46, 57, 0.94);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #0a0d12;
  filter: saturate(0.62) brightness(0.82) contrast(1.06);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper-2);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.rec-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--fog);
}
.site-footer {
  padding: 14px 16px 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.6), rgba(8, 10, 14, 0.95));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 9px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 400;
  color: var(--fog-2);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: rgba(224, 184, 119, 0.6);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 8px 0 10px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blood-2);
  letter-spacing: 0.12em;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--fog);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(51, 61, 74, 0.8);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--paper-2);
  border-color: var(--blood-2);
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: #6b7684;
  max-width: 92ch;
}
@media (max-width: 900px) {.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body { font-size: 13.5px; }
.page-main { padding: 10px 12px 20px; }
.hero-shell {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 10px;
  }
.movie-title { font-size: 23px; }
.movie-seo-note { font-size: 12px; }
.timeline-node { width: 142px; }}
@media (max-width: 620px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 210px;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-cards {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }}
@media (max-width: 460px) {.site-header {
    padding: 7px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
a.runtime-category { font-size: 11px; padding: 3px 7px; }
.movie-title { font-size: 20px; }
.cast-cards {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 6px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-notes {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(3n + 2) { margin-top: 0; }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.ctrl-btn { font-size: 11px; padding: 4px 6px; }
.ctrl-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}
