*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: #12161d;
  color: #e8edf2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 300; line-height: 1.3; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16, 20, 26, 0.94);
  border-bottom: 1px solid #232a34;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: #f2f5f8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-left: 2px solid #8b1e26;
  padding-left: 8px;
}
a[data-contract="site-name"]:hover { color: #ffffff; }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  color: #b8c2cd;
  text-decoration: none;
  border: 1px solid #2b333e;
  background: #171c24;
}
a.runtime-category:hover {
  color: #ffffff;
  border-color: #8b1e26;
  background: #1e1418;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 14px 0;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #8d97a3;
  text-transform: uppercase;
  padding: 4px 0 6px;
  border-bottom: 1px solid #232a34;
  margin-bottom: 8px;
}
.movie-overview {
  border: 1px solid #232a34;
  background: #151a22;
  padding: 12px;
  margin-bottom: 14px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.poster-col { min-width: 0; }
.poster-wrap {
  border: 1px solid #2b333e;
  background: #0e1218;
  position: relative;
  overflow: hidden;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(226,240,255,0.85) 12%, rgba(226,240,255,0.85) 88%, rgba(255,255,255,0) 100%);
  box-shadow: 0 0 12px rgba(210, 232, 255, 0.55);
  opacity: 0.55;
  pointer-events: none;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.overview-info { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.overview-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  border-bottom: 1px solid #232a34;
  padding-bottom: 6px;
}
.overview-title {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #f4f7fa;
}
.overview-tagline {
  font-size: 12px;
  color: #9aa4b0;
  letter-spacing: 0.04em;
}
.player-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #0b0e13;
  border: 1px solid #2b333e;
}
.player-wrap video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #10151c;
  border-top: 1px solid #232a34;
}
.player-btn {
  background: #1a212b;
  border: 1px solid #2f3844;
  color: #c8d1dc;
  font-size: 11px;
  padding: 3px 9px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.player-btn:hover { background: #232c38; color: #fff; }
.player-btn.is-playing, .player-btn.is-active {
  background: #8b1e26;
  border-color: #b3303a;
  color: #fff;
}
.player-btn.is-muted {
  background: #2a1a1c;
  border-color: #8b1e26;
  color: #e5a5aa;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: #2c3540;
  border-radius: 0;
  cursor: pointer;
}
.player-progress { flex: 1 1 160px; min-width: 80px; }
.player-volume { flex: 0 1 90px; min-width: 60px; }
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  background: #e8edf2;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(226, 240, 255, 0.7);
}
.player-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: none;
  background: #e8edf2;
  border-radius: 50%;
}
.player-speed {
  background: #1a212b;
  border: 1px solid #2f3844;
  color: #c8d1dc;
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
}
.player-wrap.is-theater {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #05070a;
  border: none;
}
.player-wrap.is-theater video { max-height: 82vh; object-fit: contain; }
body.is-lights-off { background: #05070a; }
body.is-lights-off .page-main, body.is-lights-off .site-header, body.is-lights-off .site-footer { opacity: 0.25; transition: opacity 0.3s; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  padding: 4px 0;
  border-top: 1px solid #232a34;
  border-bottom: 1px solid #232a34;
}
.status-current { color: #d8595f; letter-spacing: 0.06em; }
.status-total { color: #8d97a3; }
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #8d97a3;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card { min-width: 0; }
.cast-figure { display: flex; flex-direction: column; gap: 4px; }
.cast-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  border: 1px solid #2b333e;
  background: #0e1218;
  transition: filter 0.2s, border-color 0.2s;
}
.cast-card:hover .cast-portrait {
  filter: grayscale(0.25) contrast(1.05);
  border-color: #8b1e26;
}
.cast-name {
  font-size: 11px;
  color: #c8d1dc;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}
.synopsis-para {
  font-size: 12px;
  color: #b0bac5;
  line-height: 1.65;
  text-indent: 1em;
  padding-left: 8px;
  border-left: 1px solid #232a34;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dotted #262e38;
  min-width: 0;
}
.detail-key {
  flex: 0 0 4.6em;
  font-size: 11px;
  color: #7d8792;
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 12px;
  color: #dbe3ea;
  min-width: 0;
}
.timeline { margin-bottom: 14px; }
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  border-left: 1px solid #2b333e;
  padding-left: 12px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 5px 0;
  border-bottom: 1px solid #1e242d;
  min-width: 0;
}
.timeline-timecode {
  font-size: 11px;
  color: #d8595f;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  padding-left: 6px;
  position: relative;
  white-space: nowrap;
}
.timeline-timecode::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.5em;
  width: 10px;
  height: 1px;
  background: #4b5563;
}
.timeline-label {
  font-size: 12px;
  color: #b0bac5;
  line-height: 1.5;
}
.episodes { margin-bottom: 14px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: #171c24;
  border: 1px solid #232a34;
  border-left: 2px solid #2f3844;
  transition: background 0.18s, border-color 0.18s;
  min-width: 0;
}
.episode-card:hover {
  background: #3a1216;
  border-color: #8b1e26;
  border-left-color: #d8595f;
}
.episode-number {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #7d8792;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13px;
  font-weight: 400;
  color: #eef2f6;
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 11px;
  color: #9aa4b0;
  line-height: 1.55;
}
.episode-duration {
  font-size: 10px;
  color: #6b7481;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
  padding-top: 4px;
}
.comments { margin-bottom: 14px; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
}
.comment-item {
  display: grid;
  grid-template-columns: minmax(0, 5.5em) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid #1e242d;
  min-width: 0;
}
.comment-nickname {
  font-size: 11px;
  color: #d8595f;
  text-align: right;
  letter-spacing: 0.04em;
  line-height: 1.5;
  word-break: break-all;
}
.comment-text {
  font-size: 12px;
  color: #b8c2cd;
  line-height: 1.6;
  text-align: left;
  min-width: 0;
}
.recommend-region {
  margin-bottom: 14px;
  border-top: 1px solid #232a34;
  padding-top: 8px;
}
.recommend-heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #8d97a3;
  margin-bottom: 6px;
}
.recommend-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #2f3844 #12161d;
}
.recommend-row::-webkit-scrollbar { height: 5px; }
.recommend-row::-webkit-scrollbar-track { background: #12161d; }
.recommend-row::-webkit-scrollbar-thumb { background: #2f3844; }
a.recommend-item {
  flex: 0 0 auto;
  width: 140px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: #171c24;
  border: 1px solid #232a34;
  color: #c8d1dc;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
a.recommend-item:hover {
  background: #3a1216;
  border-color: #8b1e26;
  color: #fff;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0e1218;
  border: 1px solid #2b333e;
  filter: saturate(0.85);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  color: #eef2f6;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  color: #8d97a3;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid #232a34;
  background: #10141b;
  padding: 12px 14px 18px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  color: #6b7481;
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 760px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: #b8c2cd;
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: #8b1e26;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px solid #1e242d;
}
.friend-links-label {
  font-size: 11px;
  color: #6b7481;
  letter-spacing: 0.14em;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #9aa4b0;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid #232a34;
  background: #151a22;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: #8b1e26;
  background: #2a1216;
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .timeupdate, .player .input, .player .click, .player .change {
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
@media (max-width: 1100px) {.overview-grid { grid-template-columns: 180px minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 900px) {.overview-grid { grid-template-columns: 160px minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.player-progress { flex: 1 1 120px; }}
@media (max-width: 720px) {.overview-grid { grid-template-columns: minmax(0, 1fr); }
.poster-col { max-width: 220px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: minmax(0, 1fr); border-left: 1px solid #2b333e; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.player-progress { flex: 1 1 100%; }
.player-volume { flex: 1 1 60px; }
a.recommend-item { width: 128px; }}
@media (max-width: 480px) {body { font-size: 12px; }
.page-main { padding: 10px 10px 0; }
.overview-title { font-size: 17px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls { gap: 4px; padding: 5px 6px; }
.player-btn { padding: 3px 7px; font-size: 10px; }
.comment-item { grid-template-columns: minmax(0, 4.6em) minmax(0, 1fr); gap: 8px; }
a.recommend-item { width: 116px; }
.friend-links { gap: 4px 6px; }}

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}
