:root {
  --ice-0: #f4f8fb;
  --ice-1: #e2ebf2;
  --ice-2: #c6d5e0;
  --ice-3: #9fb3c4;
  --slate-0: #6b7d8c;
  --slate-1: #485a68;
  --slate-2: #2b3944;
  --slate-3: #1a242c;
  --slate-4: #101820;
  --warm: #c98a5e;
  --warm-dim: #a86f47;
  --rule: rgba(159, 179, 196, 0.28);
  --rule-strong: rgba(159, 179, 196, 0.5);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--slate-4);
  color: var(--ice-0);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ice-1);
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 24, 32, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px clamp(14px, 4vw, 48px);
  max-width: 1400px;
  margin: 0 auto;
}
.brand-name {
  font-size: 17px;
  letter-spacing: 0.32em;
  font-weight: 300;
  color: var(--ice-0);
}
a[data-contract="site-name"] {
  color: var(--ice-0);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--warm);
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
}
a.runtime-category {
  color: var(--ice-2);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.22em;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: var(--warm);
  border-bottom-color: var(--warm-dim);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 48px) 0;
}
.overview-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(20px, 3.4vw, 46px) 0 clamp(24px, 3vw, 40px);
  margin-bottom: 8px;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(198, 213, 224, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(43, 57, 68, 0.6), rgba(16, 24, 32, 0) 70%);
  border-bottom: 1px solid var(--rule);
}
.overview-poster-wrap {
  width: 100%;
  max-width: 260px;
  align-self: start;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 0 0 1px rgba(16, 24, 32, 0.6), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.96);
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.12;
  color: var(--ice-0);
  text-shadow: 0 0 30px rgba(198, 213, 224, 0.18);
}
.movie-tagline {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--ice-2);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 7px 10px;
  background: linear-gradient(180deg, rgba(26, 36, 44, 0.96), rgba(16, 24, 32, 0.98));
  border-top: 1px solid var(--rule);
}
.ctl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ice-2);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  background: rgba(43, 57, 68, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.ctl:hover {
  color: var(--ice-0);
  border-color: var(--rule-strong);
}
.ctl.is-active, .ctl.is-active:hover {
  color: var(--warm);
  border-color: var(--warm-dim);
  background: rgba(201, 138, 94, 0.1);
}
.ctl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--slate-1);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 14px;
  background: var(--warm);
  border: 0;
  cursor: pointer;
}
.ctl-progress::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: var(--warm);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.ctl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--slate-1);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: var(--ice-3);
  border: 0;
  cursor: pointer;
}
.ctl-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--ice-3);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.player-shell.is-theater {
  border-color: var(--rule-strong);
  box-shadow: 0 0 0 2px rgba(201, 138, 94, 0.18);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  background: #000;
  border-top-color: rgba(159, 179, 196, 0.14);
}
.block-title {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--ice-2);
  text-transform: none;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.block-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  vertical-align: 1px;
  border: 1px solid var(--warm);
  transform: rotate(45deg);
}
.synopsis-block {
  margin-top: 2px;
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.68;
  color: var(--ice-1);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.status-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--warm);
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ice-2);
  padding: 2px 8px;
  border: 1px solid var(--rule);
  background: rgba(43, 57, 68, 0.32);
  white-space: nowrap;
}
.chip-season, .chip-ep {
  color: var(--ice-1);
}
.chip-rating {
  color: var(--warm);
  border-color: rgba(201, 138, 94, 0.4);
}
.details-block {
  margin-top: 4px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--rule);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.detail-row dt {
  color: var(--slate-0);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.detail-row dd {
  font-family: var(--mono);
  color: var(--ice-1);
  text-align: right;
  letter-spacing: 0.02em;
}
.cast-block {
  margin-top: 4px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.cast-portrait {
  position: relative;
  display: block;
  width: 100%;
  max-width: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(226, 235, 242, 0.5), rgba(72, 90, 104, 0.9) 62%),
    linear-gradient(160deg, #485a68, #2b3944);
  filter: grayscale(1) contrast(1.1);
  border: 1px solid var(--rule-strong);
  overflow: hidden;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 46%;
  height: 9%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(244, 248, 251, 0.95), rgba(244, 248, 251, 0) 70%);
  filter: blur(1px);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ice-2);
  white-space: nowrap;
}
.timeline-block {
  padding: clamp(22px, 3vw, 40px) 0 clamp(14px, 2vw, 24px);
  border-top: 1px solid var(--rule);
  margin-top: clamp(20px, 3vw, 36px);
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
}
.timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.6fr);
  align-items: center;
  gap: 12px;
  padding: 3px 0;
  position: relative;
}
.timeline-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-0);
  text-align: right;
  white-space: nowrap;
}
.timeline-node {
  justify-self: center;
  width: 9px;
  height: 9px;
  position: relative;
  background: var(--warm);
  transform: rotate(45deg);
  opacity: 0.85;
  box-shadow: 0 0 8px rgba(201, 138, 94, 0.45);
}
.timeline-node::before, .timeline-node::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 9px;
  background: var(--rule-strong);
  transform: translateX(-50%);
}
.timeline-node::before {
  bottom: 100%;
  margin-bottom: 2px;
}
.timeline-node::after {
  top: 100%;
  margin-top: 2px;
}
.timeline-item:first-child .timeline-node::before, .timeline-item:last-child .timeline-node::after {
  display: none;
}
.timeline-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ice-1);
  letter-spacing: 0.02em;
}
.episodes-block {
  padding: clamp(16px, 2.4vw, 30px) 0;
  border-top: 1px solid var(--rule);
}
.episode-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-1) transparent;
  -webkit-overflow-scrolling: touch;
}
.episode-strip::-webkit-scrollbar {
  height: 5px;
}
.episode-strip::-webkit-scrollbar-thumb {
  background: var(--slate-1);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(43, 57, 68, 0.5), rgba(26, 36, 44, 0.5));
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  align-self: start;
}
.episode-card:hover {
  border-color: var(--rule-strong);
  background: linear-gradient(180deg, rgba(72, 90, 104, 0.55), rgba(26, 36, 44, 0.6));
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--warm);
}
.episode-title {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ice-0);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ice-2);
  letter-spacing: 0.02em;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 4px;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate-0);
  margin-top: auto;
}
.comments-block {
  padding: clamp(16px, 2.4vw, 30px) 0;
  border-top: 1px solid var(--rule);
}
.comments-masonry {
  columns: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  padding: 9px 11px;
  border: 1px solid var(--rule);
  background: rgba(26, 36, 44, 0.55);
  position: relative;
  overflow: hidden;
}
.comment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(201, 138, 94, 0.5), transparent);
}
.comment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 46%, rgba(226, 235, 242, 0.12) 47%, transparent 48%),
    linear-gradient(-115deg, transparent 62%, rgba(226, 235, 242, 0.09) 63%, transparent 64%);
  opacity: 0.7;
}
.comment-text {
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: var(--ice-1);
}
.comment-nick {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate-0);
  text-align: right;
}
.comment-nick::before {
  content: "— ";
  color: var(--warm-dim);
}
.recommend-region {
  padding: clamp(16px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--rule);
}
.recommend-title {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--ice-2);
  margin-bottom: 12px;
}
.recommend-title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 10px;
  vertical-align: 3px;
  background: var(--warm-dim);
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--rule);
  background: rgba(26, 36, 44, 0.5);
  align-self: start;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.recommend-item:hover {
  border-color: rgba(201, 138, 94, 0.45);
  background: rgba(43, 57, 68, 0.6);
  transform: translateY(-1px);
}
.recommend-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.55) saturate(0.8) contrast(1.05);
  background: var(--slate-2);
}
.recommend-item span[data-runtime="name"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ice-0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-item span[data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--slate-0);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) clamp(14px, 4vw, 48px);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--slate-0);
  max-width: 720px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ice-2);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  text-decoration: underline;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.footer-friends-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--slate-0);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-0);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--ice-1);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-wrap {
    max-width: 200px;
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 8px 14px;
  }
.brand-name {
    font-size: 15px;
    letter-spacing: 0.24em;
  }
.overview-panel {
    padding: 18px 0 22px;
    gap: 14px;
  }
.overview-poster-wrap {
    max-width: 150px;
  }
.movie-title {
    letter-spacing: 0.12em;
  }
.movie-tagline {
    letter-spacing: 0.2em;
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0 12px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
  }
.timeline-item {
    grid-template-columns: 54px 16px minmax(0, 1fr);
    gap: 8px;
  }
.timeline-code {
    font-size: 11px;
  }
.timeline-label {
    font-size: 12.5px;
  }
.episode-strip {
    grid-auto-columns: minmax(160px, 1fr);
  }
.comments-masonry {
    columns: 1;
  }
.recommend-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px 7px;
    padding: 6px 8px;
  }
.ctl {
    font-size: 10px;
    padding: 3px 6px;
  }}
@media (max-width: 400px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item {
    grid-template-columns: 48px 14px 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}
