:root {
  --bg-deep: #0b1116;
  --bg-base: #0f171e;
  --bg-panel: #141e27;
  --bg-panel-2: #18242e;
  --bg-raise: #1d2b36;
  --line: #24343f;
  --line-soft: #2c3e4b;
  --text: #e7eef3;
  --text-dim: #9db0bd;
  --text-mute: #6e838f;
  --white: #f4f8fa;
  --cord-blood: #8e2b34;
  --cord-blood-bright: #b83a45;
  --cord-blood-dim: #5e1c23;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --gap-tight: 10px;
  --gap: 14px;
  --gap-loose: 26px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(1100px 620px at 78% -8%, rgba(142, 43, 52, 0.16), transparent 62%),
    radial-gradient(900px 520px at 8% 4%, rgba(78, 122, 148, 0.12), transparent 60%),
    linear-gradient(180deg, #0a1015 0%, #0d151c 45%, #101a22 100%);
  background-attachment: fixed;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--text);
  text-decoration: none;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 16, 21, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}
a[data-contract="site-name"] {
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-left: 13px;
  position: relative;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cord-blood-bright), var(--cord-blood-dim));
}
a[data-contract="site-name"]:hover {
  color: #ffd9dd;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(29, 43, 54, 0.55);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--white);
  border-color: var(--cord-blood);
  background: rgba(142, 43, 52, 0.22);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.block-heading {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  padding-left: 12px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.4;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cord-blood-bright), var(--cord-blood-dim));
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 268px) minmax(0, 1fr);
  grid-template-areas:
    "poster body"
    "synopsis synopsis";
  gap: var(--gap-loose) var(--gap);
  align-items: start;
  background:
    radial-gradient(760px 420px at 6% -12%, rgba(142, 43, 52, 0.14), transparent 66%),
    linear-gradient(160deg, #16222c 0%, #101a22 58%, #0e161d 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.overview-shell::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -90px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(184, 58, 69, 0.16);
  box-shadow:
    0 0 0 34px rgba(184, 58, 69, 0.045),
    0 0 0 76px rgba(184, 58, 69, 0.03);
  pointer-events: none;
}
.poster-column {
  grid-area: poster;
  align-self: start;
  position: relative;
  z-index: 1;
}
.poster-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a1015;
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  line-height: 0;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-body {
  grid-area: body;
  align-self: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.title-block {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.movie-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--white);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 14px;
  color: var(--cord-blood-bright);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.player-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #05090c;
  border: 1px solid var(--line-soft);
  line-height: 0;
}
.player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05090c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line-soft);
  background: rgba(29, 43, 54, 0.7);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--white);
  border-color: var(--cord-blood);
  background: rgba(142, 43, 52, 0.28);
}
.ctrl-btn.is-active, .ctrl-btn:active {
  color: var(--white);
  border-color: var(--cord-blood-bright);
  background: rgba(184, 58, 69, 0.4);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--cord-blood) 0%, var(--cord-blood-dim) 100%);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cord-blood);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cord-blood);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 92px;
  min-width: 72px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-speed {
  appearance: none;
  border: 1px solid var(--line-soft);
  background: rgba(29, 43, 54, 0.7);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-speed:hover {
  color: var(--white);
  border-color: var(--cord-blood);
}
.player-panel.is-theater .player-wrap {
  box-shadow: 0 0 0 2px var(--cord-blood), 0 22px 48px rgba(0, 0, 0, 0.62);
}
.player-panel.is-lights-off .player-wrap {
  border-color: var(--cord-blood-dim);
  filter: brightness(0.82) contrast(1.06);
}
.episode-status-block {
  align-self: start;
}
.status-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(142, 43, 52, 0.16);
  border: 1px solid rgba(184, 58, 69, 0.34);
}
.status-current {
  font-size: 13px;
  font-weight: 700;
  color: #ffd9dd;
  white-space: nowrap;
}
.status-total {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  padding-left: 8px;
  border-left: 1px solid rgba(184, 58, 69, 0.4);
  white-space: nowrap;
}
.cast-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-soft) transparent;
}
.cast-strip::-webkit-scrollbar {
  height: 6px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--line-soft);
  border-radius: 999px;
}
.cast-card {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #1b2833 0%, #131d26 100%);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:nth-child(even) {
  transform: translateY(4px);
}
.cast-card:hover {
  border-color: var(--cord-blood);
  transform: translateY(-2px);
}
.cast-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.details-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 196px), 1fr));
  gap: 6px 16px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  background: rgba(29, 43, 54, 0.42);
  border-left: 2px solid var(--cord-blood-dim);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  white-space: nowrap;
}
.detail-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-block {
  grid-area: synopsis;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
  min-width: 0;
}
.seo-lede {
  font-size: 14px;
  line-height: 1.8;
  color: #cbd9e2;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(142, 43, 52, 0.18), rgba(24, 36, 46, 0.72));
  border-left: 3px solid var(--cord-blood);
}
.synopsis-body {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 10px 20px;
  align-items: start;
}
.synopsis-paragraph {
  font-size: 14px;
  line-height: 1.82;
  color: var(--text-dim);
  text-align: justify;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 8px 16px;
  position: relative;
}
.timeline-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, #16212b 0%, #111a22 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cord-blood-dim);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.timeline-entry:hover {
  border-left-color: var(--cord-blood-bright);
  background: linear-gradient(120deg, #1b2733 0%, #131d26 100%);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffd9dd;
  background: rgba(142, 43, 52, 0.3);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #16222c 0%, #101922 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cord-blood-dim);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-top-color: var(--cord-blood-bright);
  transform: translateY(-2px);
}
.episode-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.episode-number {
  font-size: 12px;
  font-weight: 800;
  color: #ffd9dd;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.episode-duration {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  background: rgba(29, 43, 54, 0.8);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-column-b {
  padding-top: 20px;
}
.comment-card {
  padding: 11px 13px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, #17222c 0%, #101922 100%);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.18s ease;
}
.comment-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -1px;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: var(--cord-blood);
}
.comment-card:hover {
  border-color: var(--line-soft);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: #f0b9be;
  letter-spacing: 0.03em;
  padding-left: 9px;
}
.comment-text {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-dim);
  padding-left: 9px;
}
.rec-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #16222c 0%, #101922 100%);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.rec-card:hover {
  border-color: var(--cord-blood);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.46);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #05090c;
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mute);
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 6px;
  background: linear-gradient(180deg, #0d151c 0%, #080d12 100%);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--white);
  border-bottom-color: var(--cord-blood-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-mute);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #f0b9be;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #55666f;
  max-width: 900px;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, video:focus-visible {
  outline: 2px solid var(--cord-blood-bright);
  outline-offset: 2px;
}
@media (max-width: 900px) {.overview-shell {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 20px 14px;
    padding: 15px;
  }
.movie-title {
    font-size: 22px;
  }
.rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 8px 13px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.page-main {
    padding: 15px 13px 30px;
    gap: 22px;
  }
.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "body"
      "synopsis";
    gap: 16px;
    padding: 13px;
    border-radius: var(--radius-md);
  }
.poster-column {
    max-width: 240px;
    margin: 0 auto;
    width: 100%;
  }
.movie-title {
    font-size: 19px;
  }
.movie-tagline {
    font-size: 13px;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-column-b {
    padding-top: 0;
  }
.rec-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 420px) {.rec-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    min-width: 82px;
    padding: 8px 11px;
  }
.footer-inner {
    padding: 16px 13px 22px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
.cast-card:nth-child(even) {
    transform: none;
  }}

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}
