*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, p, dl, dd, dt, figure, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --night: #0d1622;
  --night-2: #131f2e;
  --night-3: #1b2938;
  --wall: #8d94a0;
  --wall-light: #b6bcc6;
  --ink: #e7ebf0;
  --ink-dim: #9aa4b1;
  --amber: #f0a04b;
  --amber-deep: #d97e2a;
  --line: rgba(141, 148, 160, 0.22);
  --line-soft: rgba(141, 148, 160, 0.12);
  --gap: 10px;
}
body {
  background-color: var(--night);
  background-image:
    linear-gradient(180deg, rgba(19, 31, 46, 0.85) 0%, rgba(13, 22, 34, 0.95) 60%, #0a111a 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}
.section-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
  margin-bottom: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 22, 34, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--amber);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
a[data-contract="site-name"].site-brand:hover {
  color: #ffc078;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--night-2);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
  background: var(--night-3);
}
.movie-overview {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  margin-top: 14px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 205px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-frame {
  position: relative;
  margin: 0;
  align-self: start;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(240, 160, 75, 0.12) 0%, rgba(13, 22, 34, 0) 42%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.movie-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--amber);
  border-left: 2px solid var(--amber-deep);
  padding-left: 8px;
}
.movie-seo {
  font-size: 11px;
  line-height: 1.45;
  color: var(--wall);
  max-height: 4.4em;
  overflow: hidden;
}
.movie-seo:empty { display: none; }
.player-shell {
  margin-top: 2px;
  background: #05090e;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  border-radius: 1px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.player-btn {
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  background: var(--night-3);
  color: var(--wall-light);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.player-btn:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.player-btn.is-active {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
}
.player-btn.is-playing {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
}
.player-progress {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--night-3);
  border-radius: 2px;
  cursor: pointer;
  margin: 0;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-volume {
  flex: 0 1 70px;
  min-width: 48px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--night-3);
  border-radius: 2px;
  cursor: pointer;
  margin: 0;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wall-light);
  border: none;
}
.player-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wall-light);
  border: none;
}
.player-shell.is-theater {
  background: #03060a;
  border-color: var(--amber-deep);
}
body.is-lights-off {
  background-image: none;
  background-color: #04070b;
}
body.is-lights-off .movie-overview, body.is-lights-off .timeline-section, body.is-lights-off .episodes-section, body.is-lights-off .comments-section, body.is-lights-off .recommend-region {
  opacity: 0.35;
  transition: opacity .25s;
}
body.is-lights-off .player-shell {
  opacity: 1;
}
.episode-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 7px 10px;
  background: var(--night-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  font-size: 12px;
}
.status-score {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--amber);
  line-height: 1;
}
.status-divider {
  width: 1px;
  height: 15px;
  background: var(--line);
}
.status-episodes {
  color: var(--ink);
  font-weight: 600;
}
.status-total {
  color: var(--wall);
  margin-left: auto;
}
.detail-strip {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-cell {
  background: var(--night-2);
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.detail-cell dt {
  font-size: 10px;
  color: var(--wall);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.detail-cell dd {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.synopsis-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.synopsis-block p {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--wall-light);
  margin-bottom: 5px;
  max-width: 74ch;
}
.synopsis-block p:last-child { margin-bottom: 0; }
.cast-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
}
.cast-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 74px;
  background: linear-gradient(180deg, var(--night-3) 0%, #16222f 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: border-color .15s;
}
.cast-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--amber-deep);
  opacity: 0.45;
}
.cast-item:hover {
  border-color: var(--amber-deep);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--wall-light);
  line-height: 1;
  padding: 4px 0;
}
.timeline-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 22px;
  padding-left: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--line) 0%, var(--amber-deep) 50%, var(--line) 100%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px 5px 10px;
  border-radius: 2px;
  background: var(--night-2);
  border: 1px solid var(--line-soft);
  min-width: 0;
}
.timeline-node:nth-child(even) {
  background: var(--night-3);
}
.timeline-dot {
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--night);
  border: 1.5px solid var(--wall);
}
.timeline-node:nth-child(odd) .timeline-dot {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 160, 75, 0.14);
}
.timeline-node:nth-child(even) .timeline-dot {
  background: var(--night);
  border-color: var(--wall);
}
.timeline-time {
  font-size: 10px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 11.5px;
  color: var(--wall-light);
  line-height: 1.4;
  min-width: 0;
}
.episodes-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  min-height: 96px;
  transition: border-color .15s, background .15s;
}
.episode-card:hover {
  border-color: var(--amber-deep);
  background: var(--night-3);
}
.episode-number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.5;
  color: var(--wall);
  min-width: 0;
}
.episode-duration {
  margin-top: auto;
  font-size: 10px;
  color: var(--wall-light);
  letter-spacing: 0.03em;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .18s ease, max-height .18s ease;
}
.episode-card:hover .episode-duration {
  opacity: 1;
  max-height: 20px;
}
.comments-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-list:last-child {
  margin-top: 18px;
}
.comment-card {
  background: var(--night-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--night-3);
  border-radius: 2px;
  padding: 8px 10px;
  min-width: 0;
}
.comment-list:nth-child(2) .comment-card {
  border-left-color: var(--amber-deep);
}
.comment-list:nth-child(2) .comment-card:nth-child(odd) {
  border-left-color: var(--night-3);
}
.comment-nick {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.01em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--wall-light);
  min-width: 0;
}
.recommend-region {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
a.recommend-card:hover {
  border-color: var(--amber-deep);
  background: var(--night-3);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1px;
  background: var(--night-3);
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--wall);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 30px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--wall);
  max-width: 90ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  font-size: 11px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  margin-right: 2px;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--wall-light);
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-deep);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"] {
  color: var(--wall-light);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--wall);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
@media (max-width: 1024px) {.detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title { font-size: 21px; }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {.page-main { padding: 10px 12px 32px; }
.header-inner { padding: 7px 12px; gap: 10px; }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame {
    max-width: 190px;
  }
.movie-title { font-size: 20px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comment-list:last-child { margin-top: 0; }
.cast-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cast-item { height: 64px; }
.cast-name { font-size: 11px; letter-spacing: 0.12em; }
.timeline-node {
    grid-template-columns: 78px minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.player-btn { padding: 5px 7px; font-size: 10.5px; }}
@media (max-width: 420px) {.detail-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.status-total { margin-left: 0; }
.player-volume { flex: 1 1 60px; }}

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}
