:root {
  --bg: #10161d;
  --bg-2: #161e27;
  --bg-3: #1b2530;
  --panel: #151c24;
  --line: #2a3743;
  --line-soft: #223039;
  --ice: #cfe4ef;
  --ice-dim: #93aab8;
  --ice-mid: #6f8896;
  --ice-bright: #e6f3fa;
  --highlight: #a8d8ec;
  --text: #c9d8e2;
  --text-dim: #7d939f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --gap: 12px;
  --pad: 14px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p {
  margin: 0;
  font-weight: 300;
}
a {
  color: var(--ice);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #131b23, #10161d);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-brand {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ice-bright);
}
a[data-contract="site-name"] {
  color: var(--ice-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--ice-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #131b23;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ice-bright);
  background: #1c2833;
  border-color: var(--ice-mid);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 20px;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ice-bright);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--highlight);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr);
  gap: 18px 22px;
  align-items: start;
  padding: 16px;
  margin-bottom: 14px;
  background:
    radial-gradient(120% 90% at 12% 0%, #1d2a35 0%, #141c24 55%, #10161d 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  background: #0d1319;
  overflow: hidden;
}
.overview-poster-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(207, 228, 239, 0.06), transparent 30%),
    linear-gradient(0deg, rgba(10, 15, 20, 0.55), transparent 45%);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 21px;
  letter-spacing: 0.05em;
  color: var(--ice-bright);
  line-height: 1.25;
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--ice-dim);
  padding-left: 9px;
  border-left: 2px solid var(--ice-mid);
  font-style: normal;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.episode-status span {
  font-size: 11.5px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ice-dim);
  background: #131b23;
  white-space: nowrap;
}
.status-current {
  color: var(--bg) !important;
  background: var(--highlight) !important;
  border-color: var(--highlight) !important;
  font-weight: 400;
}
.status-total {
  color: var(--ice) !important;
}
.status-progress {
  color: var(--text-dim) !important;
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.cast-heading {
  font-size: 11.5px;
  color: var(--ice-mid);
  letter-spacing: 0.2em;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 7px;
}
.cast-heading::after {
  display: none;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 4px 4px;
  background: rgba(27, 37, 48, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1.2;
}
.cast-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #d7e9f2 0%, #8fa8b6 42%, #3a4b58 100%);
  border: 1px solid #33434f;
}
.cast-name {
  color: var(--ice-bright);
  white-space: nowrap;
}
.cast-role {
  color: var(--text-dim);
  white-space: nowrap;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-block .section-heading {
  font-size: 11.5px;
  color: var(--ice-mid);
  letter-spacing: 0.2em;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 7px;
}
.synopsis-block .section-heading::after {
  display: none;
}
.synopsis-text {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.62;
  margin-bottom: 6px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.details-grid {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-grid .section-heading {
  font-size: 11.5px;
  color: var(--ice-mid);
  letter-spacing: 0.2em;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 7px;
}
.details-grid .section-heading::after {
  display: none;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3px 14px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11.5px;
  padding: 2px 0;
  border-bottom: 1px dotted #24313b;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: #35454f;
}
.detail-val {
  color: var(--ice);
  min-width: 0;
  word-break: break-word;
}
.watch-room {
  margin-bottom: 14px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: background 0.25s, border-color 0.25s;
}
.watch-room video {
  display: block;
  background: #05080b;
  border: 1px solid #22303a;
}
.watch-room.is-theater {
  background: #05080b;
  border-color: var(--ice-mid);
}
.watch-room.is-lights-off {
  background: #03060a;
  border-color: #1a2530;
}
.watch-room.is-lights-off .player-controls {
  opacity: 0.45;
}
.watch-room.is-theater .player-controls {
  border-color: #33454f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  transition: opacity 0.25s;
}
.ctrl-btn {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  color: var(--ice-dim);
  background: #131b23;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--ice-bright);
  border-color: var(--ice-mid);
  background: #1c2833;
}
.ctrl-btn:active, .ctrl-btn.click {
  color: var(--bg);
  background: var(--highlight);
  border-color: var(--highlight);
}
.ctrl-btn.play::before {
  content: "▶ ";
  font-size: 9px;
}
.ctrl-btn.fullscreen::after {
  content: " ⤢";
  font-size: 10px;
}
.timeline-block {
  margin-bottom: 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px 20px;
  align-items: start;
  padding-left: 15px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, var(--ice-mid) 6%, var(--ice-mid) 94%, transparent);
  opacity: 0.6;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 9px 6px 12px;
  background: rgba(21, 28, 36, 0.72);
  border: 1px solid var(--line-soft);
  border-left: 2px solid #33454f;
  border-radius: 0 3px 3px 0;
  transform: translateY(0);
}
.timeline-item:nth-child(odd) {
  transform: translateY(5px);
}
.timeline-item:nth-child(even) {
  transform: translateY(-3px);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  background: var(--ice);
  border: 1px solid #0d1319;
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(168, 216, 236, 0.55);
}
.timeline-time {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--highlight);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
}
.episodes-block {
  margin-bottom: 14px;
}
.episode-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-scroller::-webkit-scrollbar {
  height: 6px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: #131b23;
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: #33454f;
  border-radius: 3px;
}
.episode-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  background:
    linear-gradient(160deg, #1a242e 0%, #141c24 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(207, 228, 239, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 12%, rgba(207, 228, 239, 0.35), transparent 60%),
    radial-gradient(1px 1px at 64% 78%, rgba(207, 228, 239, 0.4), transparent 60%),
    radial-gradient(1px 1px at 26% 88%, rgba(207, 228, 239, 0.3), transparent 60%),
    radial-gradient(1px 1px at 92% 62%, rgba(207, 228, 239, 0.35), transparent 60%);
  opacity: 0.8;
}
.episode-card:hover {
  border-color: var(--ice-mid);
}
.episode-num {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--highlight);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 3px;
}
.episode-title {
  font-size: 13px;
  color: var(--ice-bright);
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.55;
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--ice-mid);
  letter-spacing: 0.08em;
  align-self: flex-start;
  padding-top: 2px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
}
.comments-block {
  margin-bottom: 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  background: #1a242e;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  position: relative;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 34px;
  height: 8px;
  margin-left: -17px;
  background: rgba(168, 216, 236, 0.16);
  border: 1px solid rgba(168, 216, 236, 0.2);
  transform: rotate(-1deg);
}
.comment-note:nth-child(4n + 1) {
  transform: rotate(-1.3deg);
}
.comment-note:nth-child(4n + 2) {
  transform: rotate(0.9deg);
}
.comment-note:nth-child(4n + 3) {
  transform: rotate(-0.6deg);
}
.comment-note:nth-child(4n + 4) {
  transform: rotate(1.4deg);
}
.comment-nick {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--highlight);
}
.comment-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
}
.rec-region {
  margin-bottom: 14px;
}
.rec-title {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ice-bright);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 108px;
  overflow: hidden;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  align-items: start;
  margin-top: -108px;
  padding-left: 26px;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: #141c24;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-item:hover {
  border-color: var(--ice-mid);
  background: #1a2530;
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0d1319;
  border: 1px solid #22303a;
}
.rec-name {
  font-size: 12px;
  color: var(--ice-bright);
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}
.rec-region-1 .rec-title {
  border-bottom-color: #33454f;
}
.rec-region-2 .rec-title {
  border-bottom-color: #2d3d48;
}
.rec-region-3 .rec-title {
  border-bottom-color: #263640;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0d1319;
  padding: 14px 16px 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 720px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--ice);
}
a[data-contract="footer-home"]:hover {
  color: var(--ice-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: var(--ice-mid);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8ba3b1;
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: var(--ice-bright);
  border-color: var(--line);
  background: #141c24;
  text-decoration: none;
}
@media (max-width: 900px) {.page-main {
    padding: 12px 14px 18px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 14px 16px;
    padding: 13px;
  }
.movie-title {
    font-size: 19px;
  }
.rec-grid {
    margin-top: -84px;
  }
.rec-title {
    max-height: 84px;
  }}
@media (max-width: 700px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.overview-poster-wrap {
    max-width: 200px;
  }
.rec-grid {
    margin-top: 0;
    padding-left: 0;
  }
.rec-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
    overflow: visible;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
    transform: translateY(0);
  }
.episode-card {
    flex: 0 0 190px;
  }
.comment-stack {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 520px) {.site-header {
    padding: 9px 12px;
  }
.site-brand {
    font-size: 14px;
  }
.page-main {
    padding: 10px 12px 16px;
  }
.movie-title {
    font-size: 17px;
  }
.movie-tagline {
    font-size: 12px;
  }
.episode-card {
    flex: 0 0 78vw;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.site-footer {
    padding: 12px 12px 16px;
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !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}
