*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, dl, dd, dt, figure, figcaption, ol, li, nav, section, header, footer, main, article {
  margin: 0;
  padding: 0;
}
ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
body {
  background-color: #0b0f14;
  background-image:
    radial-gradient(120% 80% at 12% -10%, rgba(126, 231, 200, 0.09), transparent 55%),
    radial-gradient(90% 60% at 88% 4%, rgba(255, 196, 92, 0.07), transparent 60%),
    linear-gradient(180deg, #0c1117 0%, #0a0e13 60%, #090c10 100%);
  background-attachment: fixed;
  color: #dce6ec;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.lights-off {
  background-image: linear-gradient(180deg, #05070a 0%, #04060a 100%);
}
body.lights-off .hero-media, body.lights-off .player-shell { filter: brightness(0.55); }
a { color: #9fd8c6; text-decoration: none; }
h1, h2 {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #f2f7f5;
}
:focus-visible {
  outline: 1px solid #7ee7c8;
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 13, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(126, 231, 200, 0.14);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #7ee7c8; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 600;
  color: #b6c6ce;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(126, 231, 200, 0.22);
  border-radius: 999px;
  background: rgba(126, 231, 200, 0.05);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: #0b0f14;
  background: #7ee7c8;
  border-color: #7ee7c8;
}
.page-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 34px;
}
.section-heading, .rec-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #eef6f3;
  margin-bottom: 10px;
}
.section-heading::before, .rec-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #7ee7c8;
  box-shadow: 0 0 10px rgba(126, 231, 200, 0.5);
}
.rec-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 120px;
  background: linear-gradient(90deg, rgba(255, 196, 92, 0.55), transparent);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0 6px;
}
.hero-media {
  position: relative;
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(126, 231, 200, 0.2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 40% at 78% 12%, rgba(255, 196, 92, 0.14), transparent 70%),
    linear-gradient(180deg, transparent 52%, rgba(9, 13, 18, 0.78) 100%);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-size: clamp(26px, 6vw, 44px);
  letter-spacing: 0.03em;
  color: #fbfdfc;
  text-shadow: 0 2px 24px rgba(126, 231, 200, 0.18);
}
.hero-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: #7ee7c8;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-left: 11px;
  border-left: 2px solid rgba(126, 231, 200, 0.6);
}
.hero-desc {
  font-size: 13px;
  line-height: 1.9;
  color: #a9bac3;
  max-width: 62ch;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(126, 231, 200, 0.16);
  background: linear-gradient(180deg, rgba(20, 27, 34, 0.9), rgba(13, 18, 24, 0.9));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.player-shell video {
  border-radius: 8px;
  background: #05070a;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.pc-btn {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #cfdde4;
  background: rgba(126, 231, 200, 0.06);
  border: 1px solid rgba(126, 231, 200, 0.22);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.pc-btn:hover {
  color: #0b0f14;
  background: #7ee7c8;
  border-color: #7ee7c8;
}
.pc-btn.is-active, .pc-btn.light, .pc-btn.theater {
  color: #0b0f14;
  background: #ffc45c;
  border-color: #ffc45c;
}
.pc-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #7ee7c8, rgba(126, 231, 200, 0.18));
  cursor: pointer;
}
.pc-range--vol { flex: 0 1 90px; min-width: 70px; }
.pc-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f2f7f5;
  border: 2px solid #7ee7c8;
  cursor: pointer;
}
.pc-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #7ee7c8;
  border-radius: 50%;
  background: #f2f7f5;
  cursor: pointer;
}
.player-shell--theater {
  padding: 8px;
  border-color: rgba(255, 196, 92, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 196, 92, 0.25) inset;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.es-current {
  padding: 3px 10px;
  border-radius: 999px;
  color: #0b0f14;
  background: #7ee7c8;
}
.es-total {
  padding: 3px 10px;
  border-radius: 999px;
  color: #cfdde4;
  border: 1px solid rgba(207, 221, 228, 0.28);
}
.es-score {
  padding: 3px 10px;
  border-radius: 999px;
  color: #ffc45c;
  border: 1px solid rgba(255, 196, 92, 0.45);
  background: rgba(255, 196, 92, 0.08);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(126, 231, 200, 0.12);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.6;
  padding: 2px 0;
}
.detail-item dt {
  flex: 0 0 auto;
  color: #6f8390;
  font-weight: 600;
}
.detail-item dd {
  min-width: 0;
  color: #cfdde4;
  overflow-wrap: anywhere;
}
.cast-section {
  margin-top: 4px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(126, 231, 200, 0.16);
  background: rgba(18, 25, 32, 0.8);
}
.cast-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(60% 60% at 50% 34%, rgba(126, 231, 200, 0.22), transparent 68%),
    radial-gradient(70% 70% at 50% 100%, rgba(255, 196, 92, 0.16), transparent 70%),
    linear-gradient(160deg, #1b2530, #0f151c);
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(9, 13, 18, 0.94));
}
.cast-name {
  position: relative;
  z-index: 1;
  margin-top: -26px;
  padding: 0 7px 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f2f7f5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.synopsis-section { margin-top: 16px; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.95;
  color: #9fb0ba;
}
.timeline-section { margin-top: 22px; }
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 231, 200, 0.45) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 999px; }
.timeline-track::-webkit-scrollbar-thumb { background: rgba(126, 231, 200, 0.45); border-radius: 999px; }
.timeline-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(126, 231, 200, 0.16);
  background: linear-gradient(180deg, rgba(22, 30, 38, 0.92), rgba(14, 19, 25, 0.92));
  transition: border-color 0.18s, transform 0.18s;
}
.timeline-card:hover {
  border-color: rgba(255, 196, 92, 0.5);
  transform: translateY(-2px);
}
.tc-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffc45c;
  font-variant-numeric: tabular-nums;
}
.tc-label {
  font-size: 12px;
  line-height: 1.6;
  color: #c3d2da;
}
.episodes-section { margin-top: 22px; }
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(126, 231, 200, 0.12);
  background: rgba(16, 22, 29, 0.72);
  transition: border-color 0.18s, background 0.18s;
}
.episode-item:hover {
  border-color: rgba(126, 231, 200, 0.4);
  background: rgba(22, 31, 39, 0.85);
}
.ep-number {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7ee7c8;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  white-space: nowrap;
}
.ep-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ep-title {
  font-size: 13px;
  font-weight: 700;
  color: #eef6f3;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.65;
  color: #8496a1;
  overflow-wrap: anywhere;
}
.ep-duration {
  flex: 0 0 auto;
  font-size: 11px;
  color: #6f8390;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
  white-space: nowrap;
}
.episode-item.ep-item--current {
  border-color: #ffc45c;
  background: linear-gradient(180deg, rgba(255, 196, 92, 0.12), rgba(24, 22, 16, 0.7));
  box-shadow: 0 0 0 1px rgba(255, 196, 92, 0.35) inset;
}
.episode-item.ep-item--current .ep-number { color: #ffc45c; }
.episode-item.ep-item--current .ep-title { color: #ffe3ab; }
.comments-section { margin-top: 22px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 231, 200, 0.16);
  background: linear-gradient(180deg, rgba(23, 31, 39, 0.92), rgba(14, 19, 25, 0.92));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}
.comment-card:nth-child(2n) { transform: translateY(9px); }
.comment-card:nth-child(3n) { transform: translateY(-5px); }
.comment-card:hover {
  border-color: rgba(126, 231, 200, 0.44);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(126, 231, 200, 0.4);
  background:
    radial-gradient(60% 60% at 50% 35%, rgba(126, 231, 200, 0.5), transparent 70%),
    linear-gradient(160deg, #22303c, #10161d);
}
.comment-nick {
  font-size: 12px;
  font-weight: 700;
  color: #cfdde4;
}
.comment-text {
  font-size: 12px;
  line-height: 1.8;
  color: #9fb0ba;
}
.rec-section { margin-top: 22px; }
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border-radius: 11px;
  border: 1px solid rgba(126, 231, 200, 0.14);
  background: rgba(16, 22, 29, 0.78);
  color: #cfdde4;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.rec-card:hover {
  border-color: rgba(255, 196, 92, 0.55);
  background: rgba(24, 31, 39, 0.92);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
  background: #0d1319;
  display: block;
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #eef6f3;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.65;
  color: #8496a1;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(126, 231, 200, 0.14);
  background: rgba(8, 11, 15, 0.9);
}
.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
}
a[data-contract="footer-home"] {
  color: #7ee7c8;
  text-decoration: none;
  font-weight: 600;
}
a[data-contract="footer-home"]:hover { color: #ffc45c; }
a[data-contract="footer-sitemap"] {
  color: #9fd8c6;
  text-decoration: none;
  font-weight: 600;
}
a[data-contract="footer-sitemap"]:hover { color: #ffc45c; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 11.5px;
}
.friend-label {
  color: #6f8390;
  font-weight: 600;
  letter-spacing: 0.06em;
}
a.runtime-friend-link {
  color: #8496a1;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a.runtime-friend-link:hover {
  color: #7ee7c8;
  border-bottom-color: rgba(126, 231, 200, 0.6);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.75;
  color: #5d6f7a;
  max-width: 90ch;
}
@media (min-width: 760px) {.hero {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: 22px 0 8px;
  }
.hero-media {
    position: sticky;
    top: 62px;
    max-width: none;
  }
.cast-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.episode-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 1000px) {.rec-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 700px) {body { font-size: 13.5px; }
.header-inner { padding: 8px 12px; }
.page-main { padding: 0 12px 26px; }
.hero { padding-top: 14px; gap: 13px; }
.hero-media { max-width: 240px; }
.hero-title { font-size: clamp(24px, 8vw, 34px); }
.player-controls { gap: 5px; }
.pc-btn { padding: 4px 8px; font-size: 11.5px; }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-card:nth-child(2n), .comment-card:nth-child(3n) { transform: none; }
.rec-grid--four, .rec-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 420px) {.detail-list { grid-template-columns: minmax(0, 1fr); }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid--four, .rec-grid--three { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-auto-columns: minmax(170px, 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}
