:root {
  --bg-deep: #0b1119;
  --bg-panel: #101a26;
  --bg-panel-2: #14202e;
  --bg-ice: rgba(140, 190, 230, 0.07);
  --line: #22303f;
  --line-soft: rgba(120, 165, 205, 0.18);
  --ice: #9dcbe8;
  --ice-bright: #cfe8f7;
  --text: #c4d2de;
  --text-dim: #7d8fa0;
  --text-bright: #eef6fb;
  --alert: #f0813c;
  --alert-deep: #d96a26;
  --radius: 2px;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-stack);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(60, 110, 160, 0.16), transparent 60%),
    linear-gradient(180deg, #0b1119 0%, #0b1119 100%);
  background-attachment: fixed;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ice);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ul, ol, dl, dd {
  list-style: none;
}
h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
::selection {
  background: var(--alert);
  color: #0b1119;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 17, 25, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(12px, 3vw, 32px);
  min-height: 46px;
}
a.site-brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-bright);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--alert);
  padding-left: 10px;
}
a.site-brand:hover {
  color: var(--ice-bright);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 5px clamp(12px, 3vw, 32px) 8px;
  border-top: 1px solid var(--line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.categories-strip::-webkit-scrollbar {
  display: none;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-ice);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--ice-bright);
  border-color: var(--ice);
  background: rgba(140, 190, 230, 0.14);
}
.page-main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(12px, 3vw, 32px) 40px;
}
.player-panel {
  margin-top: 14px;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05090e;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
.player-shell.is-theater {
  border-color: var(--alert-deep);
  box-shadow: 0 0 0 1px rgba(240, 129, 60, 0.35), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.player-video {
  width: 100%;
  height: auto;
  background: #05090e;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(16, 26, 38, 0.9), rgba(11, 17, 25, 0.98));
  border-top: 1px solid var(--line);
}
.control-button {
  appearance: none;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.control-button:hover, .control-button:focus-visible {
  color: var(--ice-bright);
  border-color: var(--ice);
  background: rgba(140, 190, 230, 0.16);
  outline: none;
}
.control-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 0;
  cursor: pointer;
  accent-color: var(--alert);
}
.control-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--alert);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.control-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--alert);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.control-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  cursor: pointer;
  accent-color: var(--ice);
}
.control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--ice);
  border: none;
  border-radius: 50%;
}
.control-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--ice);
  border: none;
  border-radius: 50%;
}
.control-speed {
  appearance: none;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 12px;
  padding: 5px 26px 5px 8px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%),
    linear-gradient(135deg, var(--ice) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.control-speed:hover, .control-speed:focus-visible {
  border-color: var(--ice);
  outline: none;
}
.player .control-progress {
  border-color: var(--ice);
}
.progress .control-button, .timeupdate .control-button {
  border-color: var(--line-soft);
}
.play .control-button[data-player-action="play"] {
  color: var(--ice-bright);
  border-color: var(--ice);
}
.click .control-button {
  background: rgba(140, 190, 230, 0.2);
}
.input .control-progress, .input .control-volume {
  background: var(--ice);
}
.mute .control-button[data-player-action="mute"] {
  color: var(--alert);
  border-color: var(--alert-deep);
}
.volume .control-button[data-player-action="mute"] {
  color: var(--ice-bright);
}
.speed .control-speed {
  border-color: var(--ice);
  color: var(--ice-bright);
}
.fullscreen .player-shell {
  border-color: var(--ice);
}
.pip .control-button[data-player-action="pip"] {
  color: var(--ice-bright);
  border-color: var(--ice);
}
.theater .player-shell {
  border-color: var(--alert-deep);
}
.is-theater {
  border-color: var(--alert-deep);
}
.light .control-button[data-player-action="light"] {
  color: var(--ice-bright);
  border-color: var(--ice);
}
.lights-off {
  background: #05080c;
}
.lights-off .page-main {
  opacity: 0.92;
}
.movie-overview {
  margin-top: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px clamp(12px, 2vw, 20px) 16px;
  background-image: linear-gradient(180deg, rgba(30, 52, 76, 0.32), rgba(16, 26, 38, 0) 42%);
}
.overview-head {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  max-width: 168px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #070d14;
  align-self: start;
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.overview-title {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  line-height: 1.1;
}
.overview-tagline {
  font-size: 13px;
  color: var(--ice);
  letter-spacing: 0.02em;
  border-left: 2px solid var(--alert);
  padding-left: 9px;
  line-height: 1.5;
}
.overview-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.status-chip {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text-dim);
  background: var(--bg-ice);
  white-space: nowrap;
}
.status-chip-current {
  color: #0d1319;
  background: var(--alert);
  border-color: var(--alert);
  font-weight: 700;
}
.overview-details {
  margin-top: 4px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2px 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(120, 165, 205, 0.07);
  font-size: 12.5px;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  min-width: 48px;
}
.detail-value {
  flex: 1 1 auto;
  color: var(--text);
  min-width: 0;
  overflow-wrap: break-word;
}
.overview-cast {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 7px;
  min-width: 86px;
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-ice);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-member:hover {
  border-color: var(--ice);
  background: rgba(140, 190, 230, 0.13);
}
.cast-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(207, 232, 247, 0.5) 0 26%, transparent 27%),
    radial-gradient(circle at 50% 92%, rgba(207, 232, 247, 0.32) 0 40%, transparent 41%),
    linear-gradient(160deg, #2a4258, #16222f);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
}
.cast-role {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.2;
}
.overview-synopsis {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-body {
  margin-top: 10px;
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 9px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ice-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 13px;
  background: var(--alert);
  flex: 0 0 auto;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.timeline-section {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 14px clamp(12px, 2vw, 20px) 16px;
}
.timeline-list {
  position: relative;
  margin-top: 14px;
  display: grid;
  gap: 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 74px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-soft) 8%, var(--line-soft) 92%, transparent);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 7px 0 7px 0;
  border-bottom: 1px solid rgba(120, 165, 205, 0.08);
}
.timeline-node:last-child {
  border-bottom: none;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 71px;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--ice);
  transform: rotate(45deg);
  z-index: 1;
}
.timeline-node:last-child::before {
  background: var(--alert);
  border-color: var(--alert);
  box-shadow: 0 0 0 4px rgba(240, 129, 60, 0.16);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.timeline-node:last-child .timeline-timecode {
  color: var(--alert);
}
.timeline-label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  min-width: 0;
}
.episodes-section {
  margin-top: 24px;
}
.episodes-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num dur";
  column-gap: 12px;
  row-gap: 3px;
  align-items: start;
  padding: 10px 12px 10px 12px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-panel);
  transition: background 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}
.episode-card:hover {
  background: var(--bg-panel-2);
  border-color: var(--ice);
  border-left-color: var(--alert);
  filter: brightness(1.14);
}
.episode-number {
  grid-area: num;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  padding-top: 1px;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  color: var(--ice);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.comments-section {
  margin-top: 24px;
}
.comments-columns {
  margin-top: 12px;
  columns: 3;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 10px 11px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(140, 190, 230, 0.09), rgba(140, 190, 230, 0.03));
  backdrop-filter: blur(3px);
  box-shadow: inset 0 1px 0 rgba(207, 232, 247, 0.06);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.comment-card:hover {
  border-color: var(--ice);
  background: linear-gradient(160deg, rgba(140, 190, 230, 0.16), rgba(140, 190, 230, 0.05));
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 7px;
}
.comment-nickname {
  display: block;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-top: 1px solid rgba(120, 165, 205, 0.12);
  padding-top: 6px;
  text-align: right;
}
.recommend-region {
  margin-top: 24px;
}
.recommend-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, filter 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--ice);
  background: var(--bg-panel-2);
  filter: brightness(1.1);
}
[data-runtime="recommendation"] img.recommend-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: #070d14;
  display: block;
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.01em;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.recommend-name::after {
  content: attr(data-runtime);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--alert);
  border: 1px solid rgba(240, 129, 60, 0.5);
  border-radius: var(--radius);
  padding: 0 4px;
  text-transform: uppercase;
  opacity: 0.85;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  background: #080d13;
  padding: 18px clamp(12px, 3vw, 32px) 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 900px;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ice);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ice-bright);
  border-bottom-color: var(--alert);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
  padding-right: 10px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--ice-bright);
  border-bottom-color: var(--line-soft);
}
@media (max-width: 900px) {.comments-columns {
    columns: 2;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }}
@media (max-width: 700px) {.overview-head {
    grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
    gap: 12px;
  }
.overview-poster-wrap {
    max-width: 132px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list::before {
    left: 60px;
  }
.timeline-node {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
  }
.timeline-node::before {
    left: 57px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.player-controls {
    gap: 5px 6px;
  }
.control-button {
    font-size: 11.5px;
    padding: 5px 8px;
  }
.control-progress {
    flex: 1 1 100%;
    order: -1;
  }
.overview-head {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-wrap {
    max-width: 150px;
  }
.cast-member {
    min-width: 78px;
    padding: 7px 8px 6px;
  }
.cast-avatar {
    width: 42px;
    height: 42px;
  }
.comments-columns {
    columns: 1;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-number {
    font-size: 22px;
    min-width: 28px;
  }}
@media (max-width: 380px) {.header-bar {
    padding: 8px 12px;
  }
.timeline-list::before {
    left: 52px;
  }
.timeline-node {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }
.timeline-node::before {
    left: 49px;
  }
.timeline-timecode {
    font-size: 11px;
  }}

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}
