*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #0a0e1a;
  --ink-2: #0e1424;
  --panel: #101828;
  --panel-2: #141d31;
  --rule: rgba(140, 165, 210, 0.16);
  --rule-strong: rgba(150, 178, 226, 0.3);
  --text: #d8e0f0;
  --text-dim: #8b98b5;
  --text-faint: #64709063;
  --indigo: #2b3f78;
  --indigo-soft: #4b64ad;
  --amber: #e8a94b;
  --amber-soft: #f4c378;
  --cyan: #4fd6e0;
  --magenta: #e0559a;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lh: 1.46;
  --gap: 10px;
  --pad: 12px;
}
html { background: var(--ink); }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: var(--lh);
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 12% -6%, rgba(43, 63, 120, 0.55), transparent 62%),
    radial-gradient(760px 520px at 92% 4%, rgba(224, 85, 154, 0.14), transparent 60%),
    radial-gradient(900px 700px at 48% 118%, rgba(232, 169, 75, 0.1), transparent 66%),
    var(--ink);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px clamp(12px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.96), rgba(8, 12, 22, 0.78));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}
.site-brand {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--amber-soft);
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(232, 169, 75, 0.4);
  position: relative;
  padding-left: 15px;
}
.site-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: -3px 0 0 -1px var(--indigo-soft), 3px 0 0 -1px var(--indigo-soft);
}
a[data-contract="site-name"] { color: var(--amber-soft); text-decoration: none; }
a[data-contract="site-name"]:hover { color: #fff0d4; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(75, 100, 173, 0.1);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-color: rgba(79, 214, 224, 0.5);
  background: rgba(79, 214, 224, 0.1);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px clamp(10px, 2.6vw, 30px) 24px;
  max-width: 1560px;
  margin: 0 auto;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  padding: var(--pad);
  background:
    linear-gradient(200deg, rgba(20, 29, 49, 0.94) 0%, rgba(13, 19, 34, 0.96) 46%, rgba(17, 22, 38, 0.94) 100%);
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(160, 190, 240, 0.06);
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 169, 75, 0.55), rgba(224, 85, 154, 0.45), transparent);
}
.overview-poster {
  position: relative;
  align-self: start;
  border-radius: 3px;
  overflow: hidden;
  background: #060a14;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.overview-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06) brightness(0.9);
}
.poster-silhouette-group {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 10px 9px;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0) 0%, rgba(6, 10, 20, 0.72) 46%, rgba(6, 10, 20, 0.95) 100%);
}
.poster-caption {
  font-size: 11px;
  line-height: 1.42;
  color: #b9c6e0;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  border-left: 2px solid var(--amber);
  padding-left: 7px;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.24;
  color: #eef3ff;
  text-shadow: 0 0 26px rgba(79, 214, 224, 0.26), 0 2px 12px rgba(0, 0, 0, 0.8);
}
.movie-tagline {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--amber-soft);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rule);
}
.movie-desc {
  font-size: 13px;
  line-height: var(--lh);
  color: var(--text-dim);
  max-width: 78ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(232, 169, 75, 0.13), rgba(232, 169, 75, 0.02));
  border-left: 2px solid var(--amber);
  border-radius: 0 2px 2px 0;
}
.status-line {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
}
.status-note {
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.cast-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 6px;
}
.cast-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 5px 6px;
  border-radius: 3px;
  background: rgba(43, 63, 120, 0.16);
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s;
}
.cast-item:hover { background: rgba(79, 214, 224, 0.1); border-color: rgba(79, 214, 224, 0.32); }
.cast-avatar {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.94);
  border: 1px solid var(--rule-strong);
}
.cast-name {
  font-size: 12.5px;
  color: #e4ebfa;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.cast-role {
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.32;
  letter-spacing: 0.02em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.24s ease;
}
.cast-item:hover .cast-role, .cast-item:focus-within .cast-role {
  max-height: 4em;
  opacity: 1;
  color: var(--amber-soft);
}
.synopsis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: var(--lh);
  color: #a9b5cf;
  max-width: 92ch;
}
.synopsis-paragraph::first-letter { color: var(--amber-soft); }
.details-panel {
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 0 16px;
  margin-top: 7px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  color: #c6d1e8;
  text-align: right;
  letter-spacing: 0.02em;
}
.player-shell {
  position: relative;
  width: 100%;
  padding: 8px;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(10, 14, 26, 0.98));
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  transition: background 0.3s, border-color 0.3s;
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #04060d;
  border-radius: 2px;
}
.player-shell.lights-off {
  background: #01030a;
  border-color: rgba(79, 214, 224, 0.4);
  box-shadow: 0 0 0 1px rgba(79, 214, 224, 0.2), 0 0 46px rgba(79, 214, 224, 0.16);
}
.player-shell.is-theater {
  border-color: rgba(224, 85, 154, 0.45);
  box-shadow: 0 0 44px rgba(224, 85, 154, 0.18);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 4px 2px;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(43, 63, 120, 0.2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.ctrl-btn:hover { color: #eaf1ff; border-color: var(--rule-strong); background: rgba(75, 100, 173, 0.28); }
.ctrl-btn.is-playing { color: var(--cyan); border-color: rgba(79, 214, 224, 0.55); }
.ctrl-btn.is-muted { color: var(--magenta); border-color: rgba(224, 85, 154, 0.55); }
.ctrl-btn.is-active { color: var(--amber-soft); border-color: rgba(232, 169, 75, 0.6); background: rgba(232, 169, 75, 0.12); }
.ctrl-range {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 150px;
  min-width: 120px;
}
.ctrl-label {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.ctrl-range input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--indigo-soft), var(--cyan));
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 1px solid #0a0e1a;
  box-shadow: 0 0 8px rgba(232, 169, 75, 0.6);
}
.ctrl-range input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid #0a0e1a;
  border-radius: 50%;
  background: var(--amber-soft);
}
.ctrl-select {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.ctrl-select select {
  padding: 4px 6px;
  font-size: 11.5px;
  color: var(--text-dim);
  background: rgba(43, 63, 120, 0.2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.timeline-section {
  padding: var(--pad);
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.9), rgba(10, 14, 26, 0.9));
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #dfe7f8;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.timeline-heading::after, .episodes-heading::after, .comments-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 1px;
  background: var(--amber);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
  margin-top: 11px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 11px;
  height: 1px;
  background: linear-gradient(90deg, rgba(75, 100, 173, 0.5), rgba(232, 169, 75, 0.5), rgba(224, 85, 154, 0.5));
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 6px 6px;
  border-left: 1px solid var(--rule);
}
.timeline-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  font-size: 10px;
  line-height: 20px;
  text-align: center;
  color: var(--indigo-soft);
  background: #0a0e1a;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(10, 14, 26, 0.95);
}
.timeline-node-active .timeline-icon {
  color: #0a0e1a;
  background: var(--amber);
  border-color: var(--amber-soft);
  box-shadow: 0 0 0 3px rgba(10, 14, 26, 0.95), 0 0 18px rgba(232, 169, 75, 0.75);
}
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
.timeline-node-active .timeline-timecode { color: var(--amber-soft); }
.timeline-label {
  font-size: 11.5px;
  line-height: 1.42;
  color: #9dabc7;
}
.timeline-node-active .timeline-label { color: #e6edfc; }
.timeline-node-active {
  background: linear-gradient(180deg, rgba(232, 169, 75, 0.1), rgba(232, 169, 75, 0));
  border-left-color: var(--amber);
}
.episodes-section {
  padding: var(--pad);
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.72), rgba(10, 14, 26, 0.72));
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.episode-grid {
  columns: 3;
  column-gap: 10px;
  margin-top: 10px;
}
.episode-card {
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 10px;
  padding: 8px 9px;
  background: rgba(20, 29, 49, 0.7);
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(75, 100, 173, 0.5);
  border-radius: 2px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  background: rgba(30, 43, 70, 0.86);
  border-left-color: var(--cyan);
}
.episode-card-active {
  background: linear-gradient(160deg, rgba(232, 169, 75, 0.16), rgba(20, 29, 49, 0.8));
  border-left-color: var(--amber);
  box-shadow: inset 0 0 0 1px rgba(232, 169, 75, 0.28);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--indigo-soft);
}
.episode-card-active .episode-number { color: var(--amber); }
.episode-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e7eefc;
  line-height: 1.32;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.44;
  color: var(--text-dim);
}
.episode-duration {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  padding-top: 3px;
  border-top: 1px solid var(--rule);
  width: 100%;
}
.comments-section {
  padding: var(--pad);
  background: linear-gradient(180deg, rgba(11, 16, 29, 0.86), rgba(9, 12, 22, 0.86));
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.comments-wall {
  columns: 2;
  column-gap: 12px;
  margin-top: 10px;
}
.comment-item {
  break-inside: avoid;
  margin: 0 0 9px;
  padding: 7px 9px;
  background: rgba(20, 29, 49, 0.55);
  border: 1px solid var(--rule);
  border-radius: 3px;
  position: relative;
}
.comment-item:nth-child(2n) { margin-left: 14px; }
.comment-item:nth-child(3n) { margin-right: 10px; }
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 3px;
}
.comment-item:nth-child(3n) .comment-nickname { color: var(--magenta); }
.comment-item:nth-child(4n) .comment-nickname { color: var(--amber-soft); }
.comment-text {
  font-size: 12px;
  line-height: 1.44;
  color: #aebbd4;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: var(--pad);
  background: rgba(14, 20, 36, 0.72);
  border: 1px solid var(--rule);
  border-radius: 4px;
}
.recommend-heading {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 7px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 8px;
}
.recommend-item {
  min-width: 0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.18s;
}
a[data-runtime="recommendation"]:hover { color: #eef3ff; }
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--rule);
  filter: saturate(0.85) brightness(0.86);
  transition: filter 0.2s, border-color 0.2s;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1.05) brightness(1);
  border-color: rgba(79, 214, 224, 0.45);
}
[data-runtime="name"] {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #dce4f6;
  line-height: 1.3;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-faint);
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px clamp(12px, 3vw, 30px) 26px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.6), rgba(6, 9, 17, 0.95));
  margin-top: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.44;
  color: var(--text-faint);
  max-width: 100ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--indigo-soft);
  padding-right: 6px;
  border-right: 1px solid var(--rule);
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #7f8cab;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  border-color: rgba(232, 169, 75, 0.35);
  background: rgba(232, 169, 75, 0.08);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.footer-link {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--cyan); text-decoration: none; }
a[data-contract="footer-home"]:hover { color: #b6f6fa; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: var(--magenta); text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: #ff9ec8; text-decoration: underline; }
@media (max-width: 1180px) {.episode-grid { columns: 2; }}
@media (max-width: 980px) {.movie-overview { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.timeline-track { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); }}
@media (max-width: 820px) {.movie-overview { grid-template-columns: minmax(0, 1fr); }
.overview-poster { max-width: 340px; }
.comments-wall { columns: 1; }
.comment-item:nth-child(2n), .comment-item:nth-child(3n) { margin-left: 0; margin-right: 0; }}
@media (max-width: 620px) {body { font-size: 13.5px; }
.site-header { gap: 8px; padding: 8px 12px; }
.site-brand { font-size: 15px; letter-spacing: 0.24em; }
.category-nav { justify-content: flex-start; }
.page-main { padding: 12px 10px 20px; gap: 12px; }
.episode-grid { columns: 1; }
.timeline-track { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.timeline-track::before { display: none; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.recommend-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ctrl-range { flex: 1 1 100%; }
.player-controls { gap: 6px; }}
@media (max-width: 420px) {.movie-title { letter-spacing: 0.16em; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.recommend-list { grid-template-columns: minmax(0, 1fr); }
.player-shell { padding: 6px; }}

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}
