*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ice-deep: #060e1c;
  --ice-dark: #0a1830;
  --ice-mid: #0e2647;
  --ice-line: #1d3f6b;
  --ice-glow: #63c7ff;
  --ice-pale: #cfe9ff;
  --ice-ink: #eaf4ff;
  --warm: #ff9a3c;
  --warm-deep: #ff7a18;
  --warm-soft: #ffd7a8;
  --paper: #eef5fd;
  --paper-2: #e2eefb;
  --ink: #0c1c30;
  --ink-soft: #3a5473;
  --panel: rgba(99, 199, 255, 0.06);
  --panel-line: rgba(99, 199, 255, 0.22);
  --radius: 8px;
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
body {
  font-family: var(--font-narrow);
  background:
    radial-gradient(1200px 520px at 78% -6%, rgba(255, 154, 60, 0.18), transparent 62%),
    radial-gradient(900px 620px at 8% 4%, rgba(99, 199, 255, 0.16), transparent 66%),
    linear-gradient(178deg, var(--ice-deep) 0%, var(--ice-dark) 46%, #08152a 100%);
  background-attachment: fixed;
  color: var(--ice-ink);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(99, 199, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 199, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 90%);
}
.page-main, .site-header, .site-footer { position: relative; z-index: 1; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.92), rgba(6, 14, 28, 0.62));
  border-bottom: 1px solid var(--panel-line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--ice-pale);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--warm); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  color: var(--ice-pale);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  background: rgba(99, 199, 255, 0.08);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: #07131f;
  background: var(--ice-glow);
  border-color: var(--ice-glow);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.block-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ice-ink);
  padding-left: 10px;
  border-left: 3px solid var(--warm);
  margin-bottom: 10px;
  line-height: 1.25;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, rgba(12, 30, 56, 0.9), rgba(8, 20, 38, 0.86));
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 0 0 1px rgba(255, 154, 60, 0.05) inset, 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}
.movie-overview.lights-off {
  background: linear-gradient(180deg, #04090f, #071019);
}
.movie-overview.theater-mode {
  border-color: rgba(255, 154, 60, 0.5);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  gap: 14px;
  align-items: start;
}
.hero-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.movie-title {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 26px rgba(99, 199, 255, 0.45);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--warm-soft);
}
.movie-seo {
  font-size: 12px;
  color: var(--ink-soft);
  color: #7fa4cc;
  line-height: 1.45;
}
.hero-lead-cast {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.lead-cast-item {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--ice-ink);
  background: rgba(99, 199, 255, 0.12);
  border: 1px solid var(--panel-line);
  white-space: nowrap;
}
.hero-poster-wrap {
  align-self: start;
  width: 100%;
  max-width: 240px;
  justify-self: end;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  box-shadow: 0 0 24px -6px rgba(255, 154, 60, 0.35), 0 12px 30px -18px rgba(0, 0, 0, 0.9);
}
.main-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-player { display: flex; flex-direction: column; gap: 8px; }
.player-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ice-glow);
}
.player-frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--panel-line);
  box-shadow: 0 0 30px -12px rgba(99, 199, 255, 0.6);
}
.player-video { display: block; width: 100%; height: auto; background: #000; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(6, 16, 32, 0.82);
  border: 1px solid var(--panel-line);
}
.ctrl-btn {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--ice-pale);
  background: rgba(99, 199, 255, 0.1);
  border: 1px solid var(--panel-line);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover { background: rgba(99, 199, 255, 0.24); color: #fff; }
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: #10131a;
  background: var(--warm);
  border-color: var(--warm);
}
.ctrl-range {
  flex: 1 1 110px;
  min-width: 90px;
  height: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--ice-glow), rgba(99, 199, 255, 0.2));
  border-radius: 999px;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm);
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(255, 154, 60, 0.9);
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--warm);
}
.movie-seo-description {
  font-size: 13px;
  line-height: 1.62;
  color: #b9d5f2;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(99, 199, 255, 0.07);
  border-left: 3px solid rgba(255, 154, 60, 0.7);
}
.synopsis-block { display: block; }
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  align-items: start;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.6;
  color: #b6d2ee;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(99, 199, 255, 0.05);
  border: 1px solid rgba(99, 199, 255, 0.14);
  height: 100%;
}
.episode-status, .details-block { display: block; }
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 154, 60, 0.08);
  border: 1px solid rgba(255, 154, 60, 0.24);
}
.status-key { font-size: 11px; letter-spacing: 0.06em; color: var(--warm-soft); }
.status-value { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(99, 199, 255, 0.14);
  border: 1px solid rgba(99, 199, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
}
.details-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px;
  background: rgba(9, 22, 40, 0.94);
}
.details-key { font-size: 10.5px; letter-spacing: 0.07em; color: #6d94bd; }
.details-value { font-size: 12.5px; font-weight: 600; color: var(--ice-ink); }
.cast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  color: var(--ink);
  border: 1px solid rgba(99, 199, 255, 0.4);
  border-top: 3px solid var(--warm);
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.9);
}
.cast-name {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a1b30;
}
.cast-role { font-size: 11.5px; font-weight: 600; color: #4a6b8f; }
.cast-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cast-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  color: #7a3c00;
  background: rgba(255, 154, 60, 0.22);
  border: 1px solid rgba(255, 122, 24, 0.4);
  white-space: nowrap;
}
.cast-note { font-size: 12px; line-height: 1.5; color: #2f4a68; }
.timeline-block {
  background: linear-gradient(180deg, #050b16, #081426);
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: inset 0 0 40px -18px rgba(99, 199, 255, 0.5);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 16px;
  align-items: start;
  position: relative;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 0 0 14px 0;
  align-items: start;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(180deg, var(--ice-glow), rgba(99, 199, 255, 0.12));
}
.timeline-item:last-child::before { display: none; }
.timeline-node {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 3px rgba(255, 154, 60, 0.16), 0 0 14px rgba(255, 154, 60, 0.95);
}
.timeline-timecode {
  grid-column: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ice-glow);
  white-space: nowrap;
}
.timeline-label {
  grid-column: 2;
  font-size: 12.5px;
  line-height: 1.45;
  color: #c3dcf5;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  border-radius: 8px;
  background: rgba(99, 199, 255, 0.06);
  border: 1px solid rgba(99, 199, 255, 0.18);
  border-left: 3px solid rgba(99, 199, 255, 0.5);
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.episode-card:hover {
  background: rgba(99, 199, 255, 0.13);
  border-left-color: var(--warm);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--warm-soft);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.45;
  color: #9fbddb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 11px;
  font-weight: 700;
  color: var(--ice-glow);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 20px;
  opacity: 1;
  margin-top: 2px;
}
.comments-block {
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(99, 199, 255, 0.4);
}
.comments-block .block-heading { color: #0a1b30; }
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-bubble {
  position: relative;
  max-width: 78%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(99, 199, 255, 0.55);
  box-shadow: 0 8px 18px -16px rgba(10, 30, 60, 0.9);
}
.comment-left { align-self: flex-start; border-bottom-left-radius: 3px; }
.comment-right {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: linear-gradient(180deg, #fff4e7, #ffe7cc);
  border-color: rgba(255, 154, 60, 0.55);
}
.comment-nickname {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d2murky;
  color: #10304f;
}
.comment-right .comment-nickname { color: #a24a00; }
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: #2c4763;
}
.rec-region {
  background: linear-gradient(180deg, #050c18, #0a1830);
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  padding: 12px 14px 14px;
}
.rec-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 3px solid var(--ice-glow);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ice-ink);
  background: rgba(99, 199, 255, 0.06);
  border: 1px solid rgba(99, 199, 255, 0.18);
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
a.rec-item:hover {
  background: rgba(255, 154, 60, 0.14);
  border-color: rgba(255, 154, 60, 0.55);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  background: #0b1a30;
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.4;
  color: #8fb2d6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.7), rgba(4, 9, 18, 0.98));
  border-top: 1px solid var(--panel-line);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ice-pale);
}
.footer-tagline { font-size: 12px; color: var(--warm-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ice-glow);
  text-decoration: none;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--panel-line);
  background: rgba(99, 199, 255, 0.07);
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #07131f;
  background: var(--ice-glow);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  align-content: start;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6d94bd;
  width: 100%;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #9fc0e0;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--warm); text-decoration: underline; }
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.55;
  color: #5f7fa1;
  border-top: 1px solid rgba(99, 199, 255, 0.14);
  padding-top: 10px;
}
@media (max-width: 900px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 200px); }
.hero-poster-wrap { max-width: 200px; }}
@media (max-width: 680px) {.page-main { padding: 12px 12px 26px; gap: 14px; }
.overview-hero { grid-template-columns: minmax(0, 1fr); }
.hero-poster-wrap { max-width: 240px; justify-self: start; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.synopsis-paragraphs { grid-template-columns: minmax(0, 1fr); }
.comment-bubble { max-width: 92%; }
.comment-nickname { font-size: 14px; }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 420px) {.player-controls { gap: 5px; }
.ctrl-btn { font-size: 11px; padding: 4px 8px; }
.cast-cards { grid-template-columns: minmax(0, 1fr); }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(110px, 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}
