*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Songti SC", "SimSun", serif;
  background: #0a1018;
  color: #d8e4f0;
  line-height: 1.6;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
}
.site-header {
  background: rgba(10, 16, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(80, 140, 180, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e8f4ff;
  letter-spacing: 0.08em;
  font-family: "KaiTi", "STKaiti", serif;
  text-shadow: 0 0 12px rgba(64, 180, 230, 0.4);
  white-space: nowrap;
}
.brand-link:hover {
  color: #7fd4ff;
  text-decoration: none;
}
.categories-nav {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
}
.categories-nav::-webkit-scrollbar {
  display: none;
}
.categories-nav .runtime-category {
  color: #a8c4d8;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: "KaiTi", "STKaiti", serif;
  letter-spacing: 0.05em;
}
.categories-nav .runtime-category:hover {
  color: #7fd4ff;
  background: rgba(64, 180, 230, 0.12);
  text-decoration: none;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem;
}
.hero-visual {
  position: relative;
  background: linear-gradient(165deg, #0d1b2a 0%, #0a1018 45%, #0f2438 100%);
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  padding: 2.5rem 2rem 2rem;
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  grid-template-areas:
    "poster title"
    "poster synopsis"
    "poster cast"
    "poster details"
    "poster status"
    "player player";
  gap: 1.25rem 2rem;
  border-bottom: 1px solid rgba(64, 180, 230, 0.2);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}
.hero-water-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(64, 180, 230, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(180, 220, 255, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(115deg, rgba(64, 180, 230, 0.03) 0 4px, transparent 4px 9px);
  pointer-events: none;
  z-index: 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(64, 180, 230, 0.15);
  box-shadow: 0 0 0 20px rgba(64, 180, 230, 0.05), 0 0 0 40px rgba(64, 180, 230, 0.03);
}
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(0deg, rgba(10, 16, 24, 0.9) 0%, transparent 100%);
  pointer-events: none;
}
.poster-wrapper {
  grid-area: poster;
  position: relative;
  z-index: 2;
  align-self: start;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(64, 180, 230, 0.2);
}
.poster-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 24, 0.5) 0%, transparent 30%);
  pointer-events: none;
}
.hero-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.title-group {
  grid-area: title;
  position: relative;
  z-index: 2;
  align-self: end;
  padding-bottom: 0.5rem;
}
.movie-title {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #eaf6ff;
  text-shadow: 0 2px 12px rgba(64, 180, 230, 0.3);
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.tagline {
  color: #9fc2d9;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.03em;
  border-left: 3px solid #4aa8d8;
  padding-left: 0.75rem;
}
.synopsis-panel {
  grid-area: synopsis;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(64, 180, 230, 0.2);
  padding-left: 1rem;
}
.panel-heading {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #6fc5f0;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(64, 180, 230, 0.3);
}
.synopsis-line {
  font-size: 0.9rem;
  color: #b8d0e0;
  margin-bottom: 0.35rem;
  line-height: 1.55;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(64, 180, 230, 0.15);
}
.cast-panel {
  grid-area: cast;
  position: relative;
  z-index: 2;
}
.cast-card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.cast-card {
  background: rgba(18, 32, 48, 0.6);
  border: 1px solid rgba(64, 180, 230, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cast-card:hover {
  border-color: rgba(64, 180, 230, 0.4);
  transform: translateY(-2px);
}
.actor-avatar {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a52, #0f2438);
  border: 1px solid rgba(64, 180, 230, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.1rem;
  color: #c8e8ff;
}
.actor-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4e8f5;
  margin-bottom: 0.15rem;
}
.actor-role {
  font-size: 0.7rem;
  color: #7a9cb5;
  letter-spacing: 0.05em;
}
.details-panel {
  grid-area: details;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(64, 180, 230, 0.12);
  padding-top: 0.75rem;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem 1rem;
}
.details-list li {
  font-size: 0.8rem;
  color: #a8c8dc;
  display: flex;
  gap: 0.35rem;
}
.detail-label {
  color: #5f8fb0;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.episode-status-box {
  grid-area: status;
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.episode-current, .episode-total, .episode-duration {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  background: rgba(64, 180, 230, 0.1);
  border: 1px solid rgba(64, 180, 230, 0.25);
  color: #a8d8f0;
  white-space: nowrap;
}
.episode-current {
  background: rgba(64, 180, 230, 0.2);
  color: #e0f4ff;
}
.player-shell {
  grid-area: player;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(64, 180, 230, 0.2);
  min-width: 0;
}
.player-shell video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
  background: rgba(10, 16, 24, 0.85);
  border-top: 1px solid rgba(64, 180, 230, 0.15);
  flex-wrap: wrap;
}
.ctrl-btn {
  width: 2rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: 0.25rem;
  color: #9fc2d9;
  transition: all 0.2s ease;
}
.ctrl-btn:hover {
  background: rgba(64, 180, 230, 0.2);
  color: #e0f4ff;
}
.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.lights-dim {
  filter: brightness(0.6) contrast(1.1);
}
.timeline-section {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0.6), rgba(10, 16, 24, 0.8));
  border-left: 2px solid rgba(64, 180, 230, 0.3);
  border-radius: 0 0.5rem 0.5rem 0;
}
.section-heading {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #7fd4ff;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-heading::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(to right, transparent, #4aa8d8);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1.5rem;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(64, 180, 230, 0.4), rgba(64, 180, 230, 0.05));
  pointer-events: none;
}
.timeline-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  position: relative;
  padding-left: 1rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #1a3a52;
  border: 2px solid #4aa8d8;
}
.timecode {
  font-size: 0.8rem;
  color: #6fc5f0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.event-text {
  font-size: 0.9rem;
  color: #b8d0e0;
  line-height: 1.4;
}
.episode-list-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(13, 27, 42, 0.4);
  border-radius: 0.5rem;
}
.episode-row {
  display: grid;
  grid-template-columns: 2.5rem 7rem 1fr 5rem;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid rgba(64, 180, 230, 0.08);
}
.episode-row:last-child {
  border-bottom: none;
}
.episode-row:hover {
  background: rgba(64, 180, 230, 0.05);
}
.episode-num {
  font-size: 1rem;
  font-weight: 700;
  color: #4aa8d8;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 0.95rem;
  color: #d4e8f5;
  font-weight: 600;
}
.episode-summary {
  font-size: 0.85rem;
  color: #8fb0c5;
  line-height: 1.45;
}
.episode-row .episode-duration {
  font-size: 0.75rem;
  color: #5f8fb0;
  text-align: right;
  white-space: nowrap;
}
.comments-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.5), rgba(10, 20, 30, 0.6));
  border-radius: 0.5rem;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.comment-bubble {
  background: rgba(20, 36, 54, 0.7);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  position: relative;
  border: 1px solid rgba(64, 180, 230, 0.12);
  overflow: hidden;
}
.comment-bubble::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 180, 230, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.comment-nick {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6fc5f0;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 0.85rem;
  color: #b8d0e0;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.recommend-region {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(13, 27, 42, 0.3);
  border-radius: 0.5rem;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.rec-grid a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  background: rgba(18, 32, 48, 0.6);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(64, 180, 230, 0.12);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rec-grid a[data-runtime="recommendation"]:hover {
  border-color: rgba(64, 180, 230, 0.4);
  transform: translateY(-2px);
}
.rec-grid a[data-runtime="recommendation"] img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #0a1018;
}
.rec-grid a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c8e0f0;
  padding: 0.5rem 0.6rem 0.1rem;
  font-family: "KaiTi", "STKaiti", serif;
}
.rec-grid a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.75rem;
  color: #7a9cb5;
  padding: 0 0.6rem 0.6rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  max-width: 1440px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid rgba(64, 180, 230, 0.2);
  background: linear-gradient(to bottom, rgba(10, 16, 24, 0.8), rgba(10, 16, 24, 1));
}
.footer-statement {
  font-size: 0.75rem;
  color: #5f7f96;
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: 1000px;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.footer-link {
  font-size: 0.85rem;
  color: #8fb0c5;
  transition: all 0.2s ease;
}
.footer-link:hover {
  color: #6fc5f0;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(64, 180, 230, 0.1);
}
.friend-label {
  font-size: 0.8rem;
  color: #5f8fb0;
  margin-right: 0.5rem;
  font-family: "KaiTi", "STKaiti", serif;
}
.runtime-friend-link {
  font-size: 0.8rem;
  color: #7aa8c0;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  background: rgba(64, 180, 230, 0.05);
  border: 1px solid rgba(64, 180, 230, 0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #e0f4ff;
  background: rgba(64, 180, 230, 0.12);
  border-color: rgba(64, 180, 230, 0.3);
  text-decoration: none;
}
@media (max-width: 1024px) {.hero-visual {
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: 1rem 1.5rem;
    padding: 1.5rem;
  }
.cast-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, 1fr);
  }
.timeline-list {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 768px) {.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
.hero-visual {
    grid-template-columns: 1fr;
    grid-template-areas:
      "poster"
      "title"
      "synopsis"
      "cast"
      "details"
      "status"
      "player";
    padding: 1rem;
    gap: 1rem;
  }
.poster-wrapper {
    max-width: 260px;
    justify-self: center;
  }
.cast-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
.episode-row {
    grid-template-columns: 2rem 5rem 1fr;
    grid-template-areas:
      "num title duration"
      ". summary summary";
    gap: 0.25rem 0.5rem;
  }
.episode-num {
    grid-area: num;
  }
.episode-title {
    grid-area: title;
  }
.episode-summary {
    grid-area: summary;
  }
.episode-row .episode-duration {
    grid-area: duration;
    text-align: left;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.timeline-list {
    grid-template-columns: 1fr;
  }}
@media (max-width: 480px) {.page-main {
    padding: 0.75rem;
  }
.hero-visual {
    padding: 0.75rem;
    border-radius: 0.5rem 0.5rem 0 0;
  }
.cast-card-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.episode-row {
    grid-template-columns: 2rem 1fr;
    grid-template-areas:
      "num title"
      ". summary"
      ". duration";
  }
.episode-row .episode-duration {
    text-align: left;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
  }
.rec-grid a[data-runtime="recommendation"] img {
    height: 90px;
  }
.timeline-list {
    gap: 0.5rem;
  }
.section-heading {
    font-size: 1rem;
  }
.player-shell {
    min-width: 0;
  }}
.player .play { color: #6fc5f0; }
.player .pause { color: #e0f4ff; }
.player .mute { opacity: 0.6; }
.player .volume { opacity: 1; }
.player .speed { color: #6fc5f0; }
.player .pip { display: inline-flex; }
.player .progress { color: #e0f4ff; }
.player .fullscreen { color: #6fc5f0; }
.player .theater { display: inline-flex; }
.player .light { display: inline-flex; }
.click { cursor: pointer; }

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}
