*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: #071320;
  color: #dce8f2;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; }
dl, dd, dt { margin: 0; }
::selection { background: #ff8a3d; color: #071320; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: linear-gradient(180deg, #0b1e33 0%, #081827 100%);
  border-bottom: 1px solid rgba(255, 138, 61, 0.28);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f4f8fc;
  padding: 2px 0;
  position: relative;
}
.site-brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff8a3d 0%, rgba(255, 138, 61, 0) 90%);
}
a[data-contract="site-name"] { color: #f4f8fc; text-decoration: none; }
a[data-contract="site-name"]:hover { color: #ff8a3d; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  font-size: 13px;
  color: #b9d2e6;
  background: rgba(255, 138, 61, 0.08);
  border: 1px solid rgba(255, 138, 61, 0.3);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
a.runtime-category:hover {
  background: #ff8a3d;
  color: #071320;
  border-color: #ff8a3d;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: linear-gradient(160deg, #0c2033 0%, #081624 62%, #0a1a2b 100%);
  border: 1px solid rgba(120, 170, 210, 0.16);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 138, 61, 0) 0%, rgba(255, 138, 61, 0.55) 50%, rgba(255, 138, 61, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.poster-column {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  position: relative;
  z-index: 2;
}
.poster-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 138, 61, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  background: #0a1725;
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.title-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(120, 170, 210, 0.16);
}
.movie-title {
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.movie-tagline {
  font-size: 14px;
  color: #ff8a3d;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.6;
  color: #93aec3;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  background: #050e17;
  border: 1px solid rgba(120, 170, 210, 0.2);
  border-radius: 10px;
  padding: 8px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.player-button {
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  color: #b9d2e6;
  background: rgba(120, 170, 210, 0.1);
  border: 1px solid rgba(120, 170, 210, 0.24);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.player-button:hover {
  background: rgba(255, 138, 61, 0.22);
  border-color: rgba(255, 138, 61, 0.6);
  color: #ffd9b8;
}
.player-button.is-active {
  background: #ff8a3d;
  border-color: #ff8a3d;
  color: #071320;
  font-weight: 700;
}
.player .progress, .progress { accent-color: #ff8a3d; }
.player-shell.theater-mode {
  box-shadow: 0 0 0 2px rgba(255, 138, 61, 0.55), 0 18px 46px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 138, 61, 0.7);
  background: #03090f;
}
.player-shell.play .player-button[data-player-action="play"] { background: #ff8a3d; color: #071320; }
.player-shell.mute .player-button[data-player-action="mute"] { background: #ff8a3d; color: #071320; }
.player-shell.speed .player-button[data-player-action="speed"] { background: #ff8a3d; color: #071320; }
.player-shell.pip .player-button[data-player-action="pip"] { background: #ff8a3d; color: #071320; }
.player-shell.fullscreen .player-button[data-player-action="fullscreen"] { background: #ff8a3d; color: #071320; }
.player-shell.light .player-button[data-player-action="light"] { background: #ff8a3d; color: #071320; }
.player-shell.volume .player-button[data-player-action="volume"] { background: rgba(255, 138, 61, 0.28); color: #ffd9b8; }
.player-shell.click .player-button { outline: 1px solid rgba(255, 138, 61, 0.6); }
body.lights-off { background: #01060b; }
body.lights-off .movie-overview { background: #01060b; }
body.lights-off .site-header { background: #01060b; }
.section-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f4f8fc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: #ff8a3d;
  flex: 0 0 auto;
}
.cast-strip {
  background: linear-gradient(180deg, #0a1a2b 0%, #081523 100%);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.cast-scroll {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(120, 170, 210, 0.06);
  border: 1px solid rgba(120, 170, 210, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.cast-member:hover {
  background: rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.45);
  transform: translateX(3px);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #2f6f9e 0%, #12314c 60%, #071827 100%);
  border: 2px solid rgba(255, 138, 61, 0.55);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}
.cast-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.cast-name {
  font-size: 14px;
  font-weight: 700;
  color: #eaf3fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 12px;
  color: #7f9cb3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  background: linear-gradient(180deg, #0a1a2b 0%, #081523 100%);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: #a9c2d6;
  text-align: justify;
}
.synopsis-paragraph:first-child { color: #cbdeeb; }
.episode-status, .details-block {
  background: linear-gradient(180deg, #0a1a2b 0%, #081523 100%);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.status-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 138, 61, 0.07);
  border: 1px solid rgba(255, 138, 61, 0.22);
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8ba7bd;
  text-transform: uppercase;
}
.status-value {
  font-size: 16px;
  font-weight: 700;
  color: #ff8a3d;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 14px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(120, 170, 210, 0.18);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: #7f9cb3;
  letter-spacing: 0.04em;
}
.details-value {
  font-size: 13px;
  color: #dce8f2;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}
.details-row:last-child, .details-row:nth-last-child(2), .details-row:nth-last-child(3) { border-bottom: 1px dashed rgba(120, 170, 210, 0.18); }
.timeline-section {
  background:
    linear-gradient(180deg, rgba(8, 21, 35, 0.4) 0%, rgba(8, 21, 35, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(120, 170, 210, 0.05) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.timeline-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 22px 4px 14px;
  scroll-snap-type: x proximity;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 138, 61, 0.6) transparent;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.15) 0%, rgba(255, 138, 61, 0.75) 50%, rgba(255, 138, 61, 0.15) 100%);
  pointer-events: none;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb { background: rgba(255, 138, 61, 0.55); border-radius: 3px; }
.timeline-node {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  padding-top: 40px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff8a3d;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18), 0 0 12px rgba(255, 138, 61, 0.7);
}
.timeline-timecode {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff8a3d;
  background: rgba(255, 138, 61, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.4);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: #b9d2e6;
}
.episodes-section {
  background: linear-gradient(180deg, #0a1a2b 0%, #081523 100%);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(120, 170, 210, 0.06);
  border: 1px solid rgba(120, 170, 210, 0.13);
  border-left: 3px solid rgba(255, 138, 61, 0.65);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.episode-card:hover {
  background: rgba(255, 138, 61, 0.1);
  border-color: rgba(255, 138, 61, 0.4);
  border-left-color: #ff8a3d;
}
.episode-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 6px;
  color: #071320;
  background: #ff8a3d;
  white-space: nowrap;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: #eaf3fb;
  padding-right: 66px;
  line-height: 1.4;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: #8ba7bd;
}
.comments-section {
  background: linear-gradient(180deg, #0a1a2b 0%, #081523 100%);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
}
.comments-masonry {
  column-count: 3;
  column-gap: 10px;
}
.comment-bubble {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(120, 170, 210, 0.07);
  border: 1px solid rgba(120, 170, 210, 0.14);
  backdrop-filter: blur(2px);
}
.comment-bubble:nth-child(even) {
  border-radius: 12px 12px 4px 12px;
  background: rgba(255, 138, 61, 0.07);
  border-color: rgba(255, 138, 61, 0.2);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #d98a4a 0%, #8a4a1e 55%, #3a1c08 100%);
  border: 1px solid rgba(255, 138, 61, 0.5);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: #ff8a3d;
}
.comment-text {
  font-size: 13px;
  line-height: 1.6;
  color: #c3d7e6;
}
main { display: flex; flex-direction: column; gap: 16px; }
.recommendation-region {
  background: linear-gradient(180deg, #0a1a2b 0%, #081523 100%);
  border: 1px solid rgba(120, 170, 210, 0.14);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}
.recommendation-region .section-heading {
  justify-content: center;
  text-align: center;
}
.recommendation-region .section-heading::before { display: none; }
.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recommendation-item {
  display: block;
  min-width: 0;
}
a.recommendation-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 8px;
  border-radius: 9px;
  background: rgba(120, 170, 210, 0.06);
  border: 1px solid rgba(120, 170, 210, 0.13);
  color: #eaf3fb;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
a.recommendation-link:hover {
  background: rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.45);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(120, 170, 210, 0.25);
  background: #0a1725;
}
[data-runtime="recommendation"]:hover img {
  border-color: rgba(255, 138, 61, 0.6);
}
.recommendation-name {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  color: #f4f8fc;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommendation-blurb {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.45;
  color: #8ba7bd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #081523 0%, #050e17 100%);
  border-top: 1px solid rgba(255, 138, 61, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.footer-friends-label {
  font-size: 12px;
  font-weight: 700;
  color: #8ba7bd;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #9db8cc;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(120, 170, 210, 0.08);
  border: 1px solid rgba(120, 170, 210, 0.16);
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #ff8a3d;
  background: rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.4);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a.footer-link {
  font-size: 13px;
  color: #b9d2e6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.footer-link:hover {
  color: #ff8a3d;
  border-color: #ff8a3d;
}
a[data-contract="footer-home"] { color: #eaf3fb; text-decoration: none; }
a[data-contract="footer-sitemap"] { color: #8ba7bd; text-decoration: none; }
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #5f7a90;
  max-width: 900px;
}
@media (min-width: 700px) {.page-main { gap: 16px; }
.cast-scroll {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 138, 61, 0.6) transparent;
  }
.cast-scroll::-webkit-scrollbar { height: 6px; }
.cast-scroll::-webkit-scrollbar-thumb { background: rgba(255, 138, 61, 0.55); border-radius: 3px; }
.cast-member {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
  }
.recommendation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 1000px) {.movie-overview {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    padding: 18px;
    gap: 20px;
  }
.overview-info { gap: 16px; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comments-masonry { column-count: 4; }
.recommendation-region {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }}
@media (min-width: 1200px) {.episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comments-masonry { column-count: 4; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: 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}
