*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 300;
  background: #070d1a;
  color: #c3ccdb;
  line-height: 1.6;
  font-size: 14px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 300; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 13, 26, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(160, 180, 210, 0.12);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  font-size: 17px;
  letter-spacing: 0.22em;
  color: #e6ecf5;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(180, 205, 240, 0.35);
}
.site-brand:hover { color: #ffffff; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #93a4bd;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(150, 175, 210, 0.2);
  border-radius: 999px;
  background: rgba(140, 170, 210, 0.06);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: #eaf1fb;
  border-color: rgba(190, 215, 245, 0.5);
  background: rgba(150, 185, 230, 0.14);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.32em;
  color: #aebdd2;
  text-transform: uppercase;
  padding-bottom: 7px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(150, 175, 210, 0.16);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, #dbe7f7, rgba(219, 231, 247, 0));
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}
.hero-backdrop {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at 68% 18%, rgba(190, 214, 245, 0.22), rgba(190, 214, 245, 0) 46%),
    linear-gradient(180deg, #0b1526 0%, #0a1120 46%, #060a14 100%);
  border: 1px solid rgba(150, 180, 220, 0.16);
  min-height: 100%;
}
.hero-media-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 12px 12px 0;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(190, 215, 245, 0.14);
  filter: saturate(0.94) contrast(1.05);
}
.hero-moon-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-moon-glow::after {
  content: "";
  position: absolute;
  top: -34%;
  right: -18%;
  width: 78%;
  padding-bottom: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 231, 252, 0.30) 0%, rgba(160, 192, 232, 0.10) 42%, rgba(20, 34, 58, 0) 70%);
}
.hero-academy-silhouette {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0) 0%, rgba(5, 9, 18, 0.9) 62%, #050912 100%);
}
.hero-silhouette-tower, .hero-silhouette-roof, .hero-silhouette-tree {
  position: absolute;
  bottom: 0;
  background: #04070f;
}
.hero-silhouette-tower {
  left: 8%;
  width: 16%;
  height: 74%;
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
  background: #060b16;
  box-shadow: 0 0 22px rgba(150, 185, 230, 0.12) inset;
}
.hero-silhouette-tower::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -16%;
  width: 2px;
  height: 16%;
  transform: translateX(-50%);
  background: rgba(180, 208, 240, 0.5);
}
.hero-silhouette-roof {
  left: 27%;
  width: 34%;
  height: 46%;
  clip-path: polygon(0 100%, 12% 34%, 50% 8%, 88% 34%, 100% 100%);
  background: #050a14;
}
.hero-silhouette-tree {
  right: 6%;
  width: 20%;
  height: 58%;
  clip-path: polygon(48% 0, 62% 22%, 78% 14%, 70% 40%, 92% 46%, 74% 62%, 100% 72%, 62% 74%, 58% 100%, 44% 100%, 40% 74%, 0 70%, 26% 58%, 8% 44%, 30% 40%, 22% 16%, 40% 24%);
  background: #04070f;
}
.hero-mask-closeup {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  max-width: 300px;
  aspect-ratio: 16 / 7;
  z-index: 4;
  opacity: 0.92;
}
.mask-lens-left, .mask-lens-right {
  position: absolute;
  top: 0;
  width: 42%;
  height: 62%;
  border: 1px solid rgba(206, 224, 248, 0.55);
  border-radius: 60% 60% 48% 48% / 78% 78% 34% 34%;
  background:
    radial-gradient(circle at 34% 28%, rgba(236, 244, 255, 0.55), rgba(180, 208, 240, 0.10) 46%, rgba(10, 18, 34, 0.6) 100%);
  box-shadow: 0 0 26px rgba(180, 210, 245, 0.28), inset 0 0 18px rgba(200, 224, 252, 0.2);
}
.mask-lens-left { left: 2%; transform: rotate(-6deg); }
.mask-lens-right { right: 2%; transform: rotate(6deg); }
.mask-bridge {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: 8%;
  height: 34%;
  border-radius: 40%;
  background: linear-gradient(180deg, rgba(222, 236, 253, 0.7), rgba(140, 172, 214, 0.15));
}
.mask-ribbon {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) rotate(-4deg);
  width: 84%;
  height: 20%;
  border-radius: 50% 50% 30% 30% / 100% 100% 40% 40%;
  background: linear-gradient(90deg, rgba(120, 150, 195, 0.05), rgba(214, 231, 252, 0.32) 50%, rgba(120, 150, 195, 0.05));
}
.hero-info-panel {
  background: linear-gradient(180deg, rgba(16, 25, 43, 0.92), rgba(9, 15, 28, 0.92));
  border: 1px solid rgba(150, 180, 220, 0.16);
  border-radius: 4px;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-title {
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.14em;
  color: #eef3fa;
  line-height: 1.2;
  text-shadow: 0 0 26px rgba(170, 200, 240, 0.3);
}
.hero-tagline {
  color: #8e9db4;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-top: -8px;
  font-style: italic;
}
.hero-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #cfdcee;
  padding: 4px 11px;
  border-radius: 3px;
  border: 1px solid rgba(170, 198, 232, 0.24);
  background: rgba(140, 175, 220, 0.09);
  white-space: nowrap;
}
.episode-status-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.episode-status-line {
  font-size: 12.5px;
  color: #a4b3c9;
  letter-spacing: 0.06em;
}
.progress-track {
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: rgba(140, 170, 210, 0.16);
  overflow: hidden;
}
.progress-fill {
  display: block;
  width: 8.33%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #8fb2dd, #e3edfa);
  box-shadow: 0 0 12px rgba(190, 216, 246, 0.6);
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  background: #03060d;
  border: 1px solid rgba(150, 180, 220, 0.18);
  border-radius: 4px;
  overflow: hidden;
}
.hero-player-wrap video {
  display: block;
  background: #000;
}
.player-control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(10, 17, 31, 0.96);
  border-top: 1px solid rgba(150, 180, 220, 0.14);
}
.player-btn {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #b8c8de;
  background: rgba(140, 175, 220, 0.08);
  border: 1px solid rgba(160, 190, 226, 0.2);
  border-radius: 3px;
  padding: 5px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.player-btn:hover { color: #f0f5fc; background: rgba(160, 195, 235, 0.18); border-color: rgba(190, 215, 245, 0.42); }
.player-btn.is-active, .player-btn.is-playing { color: #06101f; background: #dbe7f7; border-color: #dbe7f7; }
.player-btn.is-muted { color: #f0c9c9; border-color: rgba(230, 150, 150, 0.45); }
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(140, 170, 210, 0.24);
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e2ecfa;
  box-shadow: 0 0 10px rgba(190, 216, 246, 0.8);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #e2ecfa;
}
.player-select {
  font-size: 11.5px;
  color: #b8c8de;
  background: rgba(140, 175, 220, 0.08);
  border: 1px solid rgba(160, 190, 226, 0.2);
  border-radius: 3px;
  padding: 4px 6px;
  cursor: pointer;
}
.player-select option { background: #0b1526; color: #dfe8f4; }
.hero-player-wrap.is-theater { box-shadow: 0 0 0 1px rgba(200, 224, 252, 0.4), 0 0 40px rgba(120, 160, 210, 0.28); }
.hero-player-wrap.is-fullscreen video { height: 100%; }
body.lights-off { background: #010204; }
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer { opacity: 0.32; transition: opacity 0.3s; }
body.lights-off .hero-player-wrap { opacity: 1; }
.cast-section { display: block; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 62px;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #dae5f4;
  background: linear-gradient(150deg, rgba(150, 185, 230, 0.28), rgba(20, 32, 54, 0.9));
  border: 1px solid rgba(180, 208, 240, 0.32);
  box-shadow: 0 0 16px rgba(150, 190, 235, 0.18);
  overflow: hidden;
  text-align: center;
  line-height: 1.1;
}
.cast-name {
  font-size: 11px;
  color: #9fadc3;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 58px;
  overflow: hidden;
}
.synopsis-section { display: block; }
.synopsis-paragraph {
  font-size: 13px;
  color: #a9b7cb;
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 9px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: rgba(150, 180, 220, 0.12);
  border: 1px solid rgba(150, 180, 220, 0.12);
  border-radius: 3px;
  overflow: hidden;
}
.details-key {
  grid-column: 1;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #7e8ea6;
  background: rgba(12, 20, 35, 0.96);
  padding: 7px 10px 0;
}
.details-value {
  font-size: 12.5px;
  color: #d5dfee;
  background: rgba(12, 20, 35, 0.96);
  padding: 0 10px 7px;
  word-break: break-word;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(150, 180, 220, 0.16);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(18, 28, 48, 0.8), rgba(9, 15, 28, 0.8));
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.episode-card:hover {
  border-color: rgba(190, 215, 245, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.episode-number {
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #e6eefa;
  text-shadow: 0 0 20px rgba(170, 200, 240, 0.35);
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  align-self: start;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.episode-title {
  font-size: 14px;
  color: #dbe5f3;
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.7;
  color: #96a5bb;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8fa5c4;
  border-left: 2px solid rgba(170, 200, 240, 0.5);
  padding-left: 7px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px 16px;
}
.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid rgba(150, 180, 220, 0.12);
}
.timeline-timecode {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e0e9f6;
  font-variant-numeric: tabular-nums;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 2px 0;
  border-left: 2px solid rgba(190, 215, 245, 0.45);
  padding-left: 6px;
  line-height: 1;
}
.timeline-label {
  font-size: 12.5px;
  color: #a4b3c9;
  letter-spacing: 0.05em;
  align-self: center;
}
.timeline-item:hover .timeline-label { color: #eaf1fb; }
.timeline-item:hover .timeline-timecode { border-left-color: #e3edfa; }
.comments-masonry {
  column-count: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(150, 180, 220, 0.14);
  border-left: 2px solid rgba(180, 208, 240, 0.4);
  border-radius: 3px;
  background: rgba(14, 22, 38, 0.72);
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #c8d6ea;
  margin-bottom: 5px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.75;
  color: #9dabc0;
}
.recommend-region { display: block; }
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  border: 1px solid rgba(150, 180, 220, 0.16);
  border-radius: 4px;
  background: rgba(13, 21, 37, 0.7);
  color: #cdd9ea;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}
a.recommend-link:hover {
  border-color: rgba(190, 215, 245, 0.42);
  background: rgba(20, 31, 51, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  background: #0a1120;
}
.recommend-name {
  font-size: 12.5px;
  color: #dbe5f3;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.6;
  color: #8b9ab1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 44px;
  border-top: 1px solid rgba(150, 180, 220, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #a7b6cb;
  text-decoration: none;
  transition: color 0.2s;
}
a.footer-link:hover { color: #eaf1fb; text-decoration: underline; text-underline-offset: 4px; }
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: #6f7d92;
  max-width: 760px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: #7e8ea6;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #93a4bd;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
a.runtime-friend-link:hover { color: #e2ecfa; }
@media (max-width: 960px) {.hero-shell { grid-template-columns: minmax(0, 1fr); }
.hero-backdrop { max-width: 420px; margin: 0 auto; width: 100%; }
.recommend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { padding: 18px 14px 32px; gap: 22px; }
.header-inner { padding: 9px 14px; }
.hero-info-panel { padding: 16px 14px; }
.comments-masonry { column-count: 1; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.recommend-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.episode-number { font-size: 22px; }}
@media (max-width: 520px) {.recommend-list { grid-template-columns: minmax(0, 1fr); }
.hero-mask-closeup { width: 70%; }
.cast-list { gap: 8px 10px; }
.cast-item { width: 54px; }
.cast-avatar { width: 40px; height: 40px; font-size: 10px; }
.player-control-bar { gap: 5px; padding: 7px; }
.player-btn { font-size: 11px; padding: 4px 7px; }
.details-list { grid-template-columns: minmax(0, 1fr); }}

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}
