*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h2, h3, h4, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
:root {
  --bg: #141a24;
  --bg-deep: #0e131b;
  --surface: #1b232f;
  --surface-2: #212b3a;
  --line: #2b3646;
  --line-soft: #232d3b;
  --ink: #e8edf4;
  --ink-dim: #9aa7b8;
  --ink-faint: #6b7889;
  --wine: #7d2035;
  --wine-bright: #a32745;
  --wine-glow: #c5304f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-off {
  background-color: #080b11;
}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .rec-region {
  opacity: 0.55;
  transition: opacity 0.4s ease;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(14, 19, 27, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 2px solid var(--wine);
  padding-left: 9px;
}
a[data-contract="site-name"]:hover {
  color: var(--wine-glow);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 1px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--wine);
  background-color: rgba(125, 32, 53, 0.18);
}
.page-main {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.movie-overview {
  padding: 18px 0 4px;
}
.overview-head {
  margin-bottom: 2px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background-color: var(--surface);
  border: 1px solid var(--line);
  padding: 16px;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  align-self: start;
  border: 1px solid var(--line);
  overflow: hidden;
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.05);
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      115deg,
      rgba(20, 26, 36, 0) 42%,
      rgba(125, 32, 53, 0.32) 100%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(232, 237, 244, 0.05) 0,
      rgba(232, 237, 244, 0.05) 1px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 3px
    );
  mix-blend-mode: screen;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.overview-title-block {
  border-left: 3px solid var(--wine);
  padding-left: 12px;
}
.overview-title {
  font-size: 27px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--ink);
}
.overview-tagline {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.overview-tagline::before {
  content: "／ ";
  color: var(--wine-bright);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.status-item {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  padding: 3px 9px;
  border: 1px solid var(--line);
  background-color: rgba(33, 43, 58, 0.6);
  white-space: nowrap;
}
.status-item:first-child {
  color: #f3dde3;
  border-color: var(--wine);
  background-color: rgba(125, 32, 53, 0.3);
}
.cast-strip {
  min-width: 0;
}
.cast-title, .synopsis-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 7px;
}
.cast-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--wine) transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-list::-webkit-scrollbar {
  height: 3px;
}
.cast-list::-webkit-scrollbar-thumb {
  background-color: var(--wine);
}
.cast-card {
  flex: 0 0 auto;
  min-width: 96px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background-color: var(--surface-2);
  border-radius: 1px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cast-card:hover {
  border-color: var(--wine);
  transform: translateY(-1px);
}
.cast-name {
  display: block;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}
.cast-card:first-child .cast-name {
  color: #f0d6dc;
}
.synopsis {
  min-width: 0;
}
.synopsis-p {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
  margin-bottom: 5px;
  text-align: justify;
}
.synopsis-p:last-child {
  margin-bottom: 0;
  color: var(--ink);
}
.details-matrix {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 18px;
}
.detail-key {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
  padding: 3px 0 1px;
  border-top: 1px solid var(--line-soft);
}
.detail-value {
  font-size: 12.5px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
  padding: 0 0 5px;
  line-height: 1.35;
}
.player-shell {
  position: relative;
  margin-top: 16px;
  width: 100%;
  background-color: var(--bg-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}
.player-shell.theater-mode {
  border-color: var(--wine);
  box-shadow: 0 0 0 1px rgba(197, 48, 79, 0.25), 0 18px 48px rgba(0, 0, 0, 0.6);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.ctrl-btn:hover {
  color: var(--ink);
  border-color: var(--wine);
}
.ctrl-btn.is-active, .ctrl-btn.play.is-playing, .ctrl-btn.pause.is-playing, .ctrl-btn.mute.is-muted {
  color: #f6e2e7;
  border-color: var(--wine-bright);
  background-color: rgba(125, 32, 53, 0.42);
}
.ctrl-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 3px;
  margin: 0 6px;
  padding: 0;
  cursor: pointer;
  background-color: var(--line);
  border-radius: 2px;
  -webkit-appearance: none;
  appearance: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--wine-bright);
  border: 1px solid #f0d6dc;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--wine-bright);
  border: 1px solid #f0d6dc;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background-color: var(--line);
}
.timeline-section {
  padding: 26px 0 6px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 22px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 9px;
  padding: 5px 0 5px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-dot {
  position: absolute;
  left: -21px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(125, 32, 53, 0.22);
}
.timeline-node:last-child .timeline-dot, .timeline-node:nth-child(7) .timeline-dot {
  background-color: var(--wine-glow);
  box-shadow: 0 0 0 4px rgba(197, 48, 79, 0.3);
}
.timeline-timecode {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--wine-glow);
  white-space: nowrap;
  text-transform: uppercase;
}
.timeline-label {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
  min-width: 0;
}
.episodes-section {
  padding: 26px 0 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 12px 12px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  border-radius: 1px;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.episode-card:hover {
  border-color: #3a4658;
  border-left-color: var(--wine-bright);
}
.episode-card-active {
  border: 1px solid var(--wine);
  border-left: 3px solid var(--wine-glow);
  background-color: var(--surface-2);
  transform: scale(1.025);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.episode-card-active:hover {
  border-color: var(--wine-bright);
  border-left-color: var(--wine-glow);
}
.episode-number {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-card-active .episode-number {
  color: var(--wine-glow);
}
.episode-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  text-align: justify;
}
.episode-duration {
  margin-top: auto;
  padding-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
}
.episode-card-active .episode-duration {
  color: var(--ink-dim);
  border-top-color: rgba(197, 48, 79, 0.4);
}
.comments-section {
  padding: 26px 0 6px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comment-column-offset {
  margin-top: 22px;
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-nickname {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--wine-glow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  text-align: justify;
}
.rec-region {
  padding: 24px 0 4px;
}
.rec-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: left;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 11px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background-color: var(--line-soft);
  border: 1px solid var(--line-soft);
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px;
  background-color: var(--surface);
  color: var(--ink);
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
a.rec-item:hover {
  background-color: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--wine);
}
[data-runtime="recommendation"] img, .rec-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--bg-deep);
  border: 1px solid var(--line);
  filter: saturate(0.8) brightness(0.94);
}
a.rec-item:hover img, [data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1.04);
}
.rec-thumb {
  display: block;
  width: 100%;
  object-fit: cover;
}
.rec-name {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--bg-deep);
  margin-top: 34px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-width: 760px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
a.footer-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.footer-link:hover, a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wine-glow);
  text-decoration: underline;
}
.friend-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--wine-glow);
  text-decoration: underline;
}
.click, .fullscreen .ctrl-btn, .input .ctrl-btn, .play .ctrl-btn, .pause .ctrl-btn, .mute .ctrl-btn, .volume .ctrl-btn, .speed .ctrl-btn, .pip .ctrl-btn, .progress .ctrl-btn, .timeupdate .ctrl-btn, .x .ctrl-btn {
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.is-playing {
  color: #f6e2e7;
  border-color: var(--wine-bright);
  background-color: rgba(125, 32, 53, 0.42);
}
.is-muted {
  color: #f6e2e7;
  border-color: var(--wine-bright);
  background-color: rgba(125, 32, 53, 0.42);
}
.is-active {
  color: #f6e2e7;
  border-color: var(--wine-bright);
  background-color: rgba(125, 32, 53, 0.42);
}
.player-shell.theater-mode {
  border-color: var(--wine);
}
@media (max-width: 1024px) {.overview-grid {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.header-inner {
    padding: 9px 14px;
  }
.page-main {
    padding: 0 14px 30px;
  }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }
.overview-poster-wrap {
    max-width: 190px;
  }
.overview-title {
    font-size: 22px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 14px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card-active {
    transform: none;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
.comment-column-offset {
    margin-top: 0;
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 14px 14px 20px;
  }}
@media (max-width: 420px) {.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
    padding: 8px;
  }
.ctrl-btn {
    padding: 5px 9px;
    font-size: 10.5px;
  }
.ctrl-range {
    flex: 1 1 100%;
    order: 9;
    margin: 2px 0;
  }}

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}
