*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #10161a;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 18% 6%, rgba(74,110,102,0.16), transparent 46%);
  color: #c9d3cd;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: #a9c4bc; text-decoration: none; }
a:hover { color: #d6e6df; }
a[data-contract="site-name"] {
  color: #e4eee9;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}
a[data-contract="site-name"]:hover { color: #ffffff; }
a.runtime-category {
  color: #8fa8a0;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-category:hover {
  color: #ff5a5a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.recommend-card {
  color: #c9d3cd;
  text-decoration: none;
}
a.recommend-card:hover { color: #ffffff; }
a.runtime-friend-link {
  color: #7d8f89;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #ff6b6b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-home"] {
  color: #a9c4bc;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover { color: #ffffff; text-decoration: underline; }
a[data-contract="footer-sitemap"] {
  color: #a9c4bc;
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover { color: #ffffff; text-decoration: underline; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: rgba(13,19,22,0.94);
  border-bottom: 1px solid #26343a;
  backdrop-filter: blur(4px);
}
.site-brand { font-size: 15px; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  min-width: 0;
}
.category-bar .runtime-category {
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid #2c3d42;
  background: rgba(255,255,255,0.02);
  line-height: 1.5;
}
.page-main {
  display: block;
  padding: 0 16px 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #9fb5ad;
  text-transform: uppercase;
  padding: 6px 0 6px 12px;
  margin-bottom: 8px;
  border-left: 3px solid #ff4d4d;
  border-bottom: 1px solid #223035;
}
.hero-section {
  padding: 14px 0 4px;
}
.hero-copy { margin-bottom: 12px; }
.movie-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eaf3ef;
  text-shadow: 0 0 18px rgba(255,80,80,0.22);
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #7f9a91;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 10px;
  border: 1px solid #223035;
  background: linear-gradient(180deg, rgba(28,40,44,0.72), rgba(16,22,26,0.72));
}
.poster-frame {
  position: relative;
  border: 1px solid #33474d;
  background: #0b1013;
  overflow: hidden;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.player-shell {
  position: relative;
  margin: 0;
  min-width: 0;
  border: 1px solid #33474d;
  background: #05090b;
  padding: 0;
}
.player-shell video {
  display: block;
  background: #05090b;
}
.player-shell.is-theater, .player-shell.is-fullscreen {
  border-color: #ff4d4d;
  box-shadow: 0 0 0 1px rgba(255,77,77,0.35), 0 0 26px rgba(255,77,77,0.18);
}
.player-shell.lights-off { background: #000; }
.player-shell.lights-off video { filter: brightness(0.72) contrast(1.08); }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-top: 1px solid #223035;
  background: #0d1418;
}
.player-btn {
  appearance: none;
  cursor: pointer;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #9db2aa;
  background: #131c21;
  border: 1px solid #2a3a40;
  border-radius: 0;
  transition: color .12s, border-color .12s, background .12s;
}
.player-btn:hover {
  color: #eaf3ef;
  border-color: #4a6a70;
  background: #18242a;
}
.player-btn.is-active {
  color: #ffd9d9;
  border-color: #ff4d4d;
  background: #241416;
}
.player-btn.is-muted {
  color: #6f8a82;
  border-color: #3a2a2c;
}
.viewer-panel {
  align-self: start;
  padding: 10px 12px;
  border: 1px solid #223035;
  background: #0d1418;
  min-width: 0;
}
.viewer-count-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7f9a91;
  display: flex;
  align-items: center;
  gap: 6px;
}
.viewer-count-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 8px 2px rgba(255,59,59,0.7);
  animation: rec 1.6s steps(2, end) infinite;
}
@keyframes rec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.viewer-count {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 24px;
  font-weight: 700;
  color: #ff6b6b;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 2px 0 8px;
  text-shadow: 0 0 14px rgba(255,77,77,0.35);
}
.danmaku-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px dashed #2a3a40;
  padding-top: 8px;
}
.danmaku-item {
  font-size: 12px;
  color: #9db2aa;
  padding: 2px 6px;
  background: rgba(255,255,255,0.025);
  border-left: 2px solid #2f4a4e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.danmaku-item:nth-child(odd) { margin-left: 6px; }
.danmaku-item:nth-child(even) { margin-left: 0; }
.cast-strip { margin-top: 18px; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border: 1px solid #223035;
  background: #0e1519;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #33504e, #1a272b);
  border: 1px solid #3c565b;
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 9px 9px auto 9px;
  height: 14px;
  border-radius: 50% 50% 40% 40%;
  background: rgba(0,0,0,0.32);
}
.cast-name {
  font-size: 12px;
  color: #c9d3cd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.synopsis-block { margin-top: 18px; }
.synopsis-text {
  font-size: 13px;
  color: #a9b8b2;
  padding: 2px 0 2px 10px;
  border-left: 1px solid #1f2c31;
  margin-bottom: 6px;
}
.synopsis-text:last-child { margin-bottom: 0; }
.episode-status, .details-block { margin-top: 16px; }
.status-line {
  font-size: 12px;
  color: #9db2aa;
  padding: 3px 8px;
  border: 1px solid #223035;
  background: #0e1519;
  display: inline-block;
  margin: 0 6px 6px 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.detail-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid #223035;
}
.detail-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 4px 2px;
  border-bottom: 1px solid #1c272c;
}
.detail-key {
  font-size: 12px;
  color: #7f9a91;
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 12px;
  color: #c9d3cd;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  min-width: 0;
  word-break: break-word;
}
.timeline-section { margin-top: 18px; }
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #223035;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 42px),
    #0b1114;
  padding: 10px 10px 14px;
  -webkit-overflow-scrolling: touch;
}
.timeline-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding-top: 16px;
}
.timeline-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, #3c565b, #6b8f86 40%, #3c565b);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 22px 12px 6px 0;
  border-right: 1px dashed #24343a;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #ff4d4d;
  box-shadow: 0 0 8px 2px rgba(255,77,77,0.45);
}
.timeline-code {
  display: block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8fd0c4;
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 12px;
  color: #a9b8b2;
  padding-right: 8px;
}
.episodes-section { margin-top: 18px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  overflow: hidden;
  padding: 8px 10px 10px;
  border: 1px solid #223035;
  background: #0e1519;
  transition: border-color .15s, background .15s;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
  transition: opacity .15s;
}
.episode-card:hover {
  border-color: #4a6a70;
  background: #121b20;
}
.episode-card:hover::after { opacity: 1; }
.episode-number {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #ff8f8f;
  border: 1px solid #4a2a2e;
  background: #1c1214;
  padding: 1px 6px;
  margin-bottom: 5px;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: #e4eee9;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.episode-summary {
  font-size: 12px;
  color: #9db2aa;
}
.episode-duration {
  display: block;
  margin-top: 6px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  color: #7f9a91;
  letter-spacing: 0.08em;
}
.comments-section { margin-top: 18px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 8px 10px 9px;
  border: 1px solid #2a3a40;
  border-left: 3px solid #4a6a70;
  background: linear-gradient(180deg, #131c21, #0f171b);
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  transition: transform .15s, border-color .15s;
}
.comment-note:nth-child(2n) { transform: translateY(4px) translateX(2px); }
.comment-note:nth-child(3n) { transform: translateY(-3px) translateX(-2px); }
.comment-note:nth-child(5n) { transform: translateY(6px); }
.comment-note:hover {
  transform: translateY(0);
  border-left-color: #ff4d4d;
}
.comment-text {
  font-size: 12px;
  color: #b6c4be;
}
.comment-nickname {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7f9a91;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.comment-nickname::before { content: "— "; color: #4a6a70; }
.recommend-section { margin-top: 18px; }
.recommend-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #9fb5ad;
  padding: 4px 0 4px 10px;
  border-left: 3px solid #2f4a4e;
  border-bottom: 1px solid #1c272c;
  margin-bottom: 8px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  border: 1px solid #223035;
  background: #0e1519;
  transition: border-color .15s, background .15s;
}
.recommend-card:hover {
  border-color: #ff4d4d;
  background: #141a1e;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #05090b;
  border: 1px solid #1c272c;
  filter: saturate(0.9) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: #dbe7e1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  color: #7f9a91;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 24px;
  padding: 14px 16px 22px;
  border-top: 1px solid #26343a;
  background: #0b1114;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7f9a91;
  border-right: 1px solid #26343a;
  padding-right: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #6f8a82;
  padding: 8px 0;
  border-top: 1px dashed #1c272c;
  border-bottom: 1px dashed #1c272c;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  font-size: 12px;
}
body.theater-mode { background-color: #060a0c; }
body.theater-mode .page-main { opacity: 0.9; }
.player .click, .player .data-player-action { cursor: pointer; }
.player-btn.play, .player-btn.mute, .player-btn.speed, .player-btn.volume, .player-btn.progress, .player-btn.pip, .player-btn.theater, .player-btn.light { cursor: pointer; }
.is-active.play { border-color: #ff4d4d; }
.is-muted.mute { color: #6f8a82; }
@media (min-width: 480px) {.page-main { padding: 0 20px 32px; }
.movie-title { font-size: 30px; }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.detail-row { border-bottom: 1px solid #1c272c; }}
@media (min-width: 720px) {.site-header { padding: 9px 24px; }
.page-main { padding: 0 24px 36px; }
.movie-title { font-size: 34px; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 14px;
  }
.hero-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
    gap: 12px;
  }
.poster-frame { align-self: start; }
.cast-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (min-width: 1024px) {.page-main { padding: 0 28px 40px; }
.hero-section { padding-top: 18px; }
.movie-title { font-size: 38px; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 16px;
  }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 420px) {.movie-title { font-size: 22px; }
.viewer-count { font-size: 20px; }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-row { grid-template-columns: 72px minmax(0, 1fr); }
.timeline-node { width: 150px; }
.comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(5n) { transform: none; }}
@media (prefers-reduced-motion: reduce) {.viewer-count-label::before { animation: none; }
* { transition: none !important; }}

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}
