:root {
  --ink: #0d1117;
  --ink-soft: #1b2230;
  --panel: #131a24;
  --panel-2: #0f151d;
  --cool-1: #7f8ea3;
  --cool-2: #a9b6c6;
  --cool-line: rgba(127, 142, 163, 0.28);
  --coral: #c8554a;
  --coral-bright: #e0675a;
  --coral-deep: #8f3a33;
  --text: #d5dde7;
  --text-dim: #8b98a9;
  --text-faint: #5d6a7c;
  --font-heavy: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Heiti SC", sans-serif;
  --font-thin: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Heiti SC", sans-serif;
  --gap: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  background:
    linear-gradient(180deg, #0b1017 0%, #101821 46%, #0b1017 100%);
  color: var(--text);
  font-family: var(--font-thin);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h2, h3, h4 {
  font-family: var(--font-heavy);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p {
  font-weight: 300;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 16, 23, 0.92);
  border-bottom: 1px solid var(--cool-line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
  color: var(--coral-bright);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f28b7c;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  color: var(--cool-2);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--cool-line);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #0d1117;
  background: var(--coral-bright);
  border-color: var(--coral-bright);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.player-shell {
  position: relative;
  background: #05080c;
  border: 1px solid var(--cool-line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.player-video {
  display: block;
  width: 100%;
  background: #05080c;
  object-fit: cover;
}
.player-shell.is-theater {
  border-color: var(--coral-deep);
}
.player-shell.is-lights-off .player-video {
  filter: brightness(0.55) contrast(1.15) saturate(0.85);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(10, 15, 21, 0.6), rgba(10, 15, 21, 0.98));
  border-top: 1px solid var(--cool-line);
}
.control-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--cool-2);
  letter-spacing: 0.02em;
  padding: 4px 11px;
  border: 1px solid var(--cool-line);
  border-radius: 999px;
  background: rgba(127, 142, 163, 0.06);
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.control-btn:hover {
  color: var(--text);
  border-color: var(--cool-2);
}
.control-btn.is-active {
  color: #10070a;
  background: var(--coral-bright);
  border-color: var(--coral-bright);
  font-weight: 700;
}
.movie-info {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  grid-template-areas:
    "heading heading"
    "poster title"
    "poster synopsis"
    "poster status"
    "poster cast"
    "poster details";
  align-items: start;
  column-gap: 16px;
  row-gap: 12px;
  padding: 14px;
  background: linear-gradient(160deg, #151d28 0%, #10171f 100%);
  border: 1px solid var(--cool-line);
  border-radius: 4px;
}
.info-heading {
  grid-area: heading;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--cool-1);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cool-line);
}
.info-poster-wrap {
  grid-area: poster;
  align-self: start;
  width: 100%;
}
.info-poster {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(127, 142, 163, 0.4);
  border-radius: 2px;
  filter: saturate(0.86) contrast(1.06);
}
.info-title-block {
  grid-area: title;
  border-left: 2px solid var(--coral);
  padding-left: 10px;
}
.info-title {
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #eef3f8;
}
.info-tagline {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 300;
}
.info-synopsis {
  grid-area: synopsis;
}
.info-episode-status {
  grid-area: status;
}
.info-cast {
  grid-area: cast;
}
.info-details {
  grid-area: details;
}
.block-heading {
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--coral-bright);
  margin-bottom: 6px;
}
.synopsis-text {
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--text);
  margin-bottom: 5px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.status-text {
  font-size: 12.5px;
  color: var(--text);
  padding: 5px 9px;
  display: inline-block;
  background: rgba(200, 85, 74, 0.12);
  border-left: 2px solid var(--coral);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  text-align: center;
}
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #6d7c90 0%, #3a4657 52%, #1d2530 100%);
  border: 1px solid rgba(127, 142, 163, 0.45);
  margin-bottom: 3px;
}
.cast-name {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #e6edf5;
  line-height: 1.25;
}
.cast-role {
  display: block;
  font-size: 10.5px;
  font-weight: 300;
  color: var(--text-faint);
  line-height: 1.25;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(127, 142, 163, 0.2);
  font-size: 12px;
}
.detail-row dt {
  color: var(--text-faint);
  font-weight: 300;
  white-space: nowrap;
}
.detail-row dd {
  color: var(--text);
  font-weight: 400;
  text-align: right;
  min-width: 0;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #eef3f8;
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 3px solid var(--coral);
}
.episodes-section {
  padding-top: 2px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  padding: 8px 9px;
  background: var(--panel);
  border: 1px solid rgba(127, 142, 163, 0.18);
  border-left: 2px solid rgba(127, 142, 163, 0.4);
  border-radius: 2px;
  min-height: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: #182231;
  border-left-color: var(--coral);
}
.episode-number {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral-bright);
  margin-bottom: 1px;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: #e9eff6;
  letter-spacing: -0.01em;
}
.episode-summary {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
  transition: max-height 0.24s ease, opacity 0.2s ease, margin 0.2s ease;
  margin-top: 0;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 5px;
}
.episode-duration {
  display: block;
  font-size: 10.5px;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  margin-top: 3px;
}
.timeline-section {
  padding-top: 2px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 10px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--cool-1) transparent;
  border-top: 1px solid var(--cool-line);
  border-bottom: 1px solid var(--cool-line);
  background: linear-gradient(180deg, rgba(127, 142, 163, 0.05), transparent 70%);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--cool-1);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 0 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cool-1);
  border: 1px solid #0b1017;
  z-index: 2;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 0;
  top: 8px;
  height: 1px;
  background: var(--cool-line);
}
.timeline-node:last-child::after {
  display: none;
}
.timeline-node:first-child::before, .timeline-node.is-active::before {
  background: var(--coral-bright);
  box-shadow: 0 0 0 3px rgba(224, 103, 90, 0.22);
}
.timeline-node.is-active .timeline-timecode {
  color: var(--coral-bright);
  border-color: var(--coral-deep);
}
.timeline-timecode {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cool-2);
  padding: 1px 8px;
  border: 1px solid var(--cool-line);
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(11, 16, 23, 0.85);
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
  font-weight: 300;
}
.dark-transition {
  margin: 4px 0;
  padding: 26px 18px;
  text-align: center;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(200, 85, 74, 0.16) 0%, rgba(5, 8, 12, 0) 62%),
    linear-gradient(180deg, #05080c 0%, #0a1017 50%, #05080c 100%);
  border-top: 1px solid rgba(200, 85, 74, 0.32);
  border-bottom: 1px solid rgba(200, 85, 74, 0.32);
}
.transition-text {
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #cfd8e3;
  text-shadow: 0 0 18px rgba(200, 85, 74, 0.4);
}
.comments-section {
  padding-top: 2px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  background: var(--panel-2);
  border: 1px solid rgba(127, 142, 163, 0.16);
  border-radius: 3px;
}
.comments-col-heading {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--cool-1);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--cool-line);
}
.comments-col-long .comments-col-heading {
  color: var(--coral-bright);
  border-bottom-color: rgba(200, 85, 74, 0.35);
}
.comment-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-areas:
    "avatar nickname"
    "avatar text";
  column-gap: 7px;
  row-gap: 1px;
  align-items: start;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(127, 142, 163, 0.12);
}
.comment-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.comment-avatar {
  grid-area: avatar;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7b8a9e 0%, #414d5e 55%, #222a35 100%);
  border: 1px solid rgba(127, 142, 163, 0.4);
  margin-top: 1px;
}
.comment-nickname {
  grid-area: nickname;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--coral-bright);
  letter-spacing: 0.01em;
}
.comment-text {
  grid-area: text;
  font-size: 12px;
  line-height: 1.42;
  color: var(--text);
  font-weight: 300;
}
.recommendations-section {
  padding-top: 2px;
}
.recommendation-title {
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: #eef3f8;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--coral);
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid rgba(127, 142, 163, 0.18);
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommendation-card:hover {
  border-color: var(--coral);
  background: #182231;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.85) contrast(1.05);
}
.recommendation-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #e9eff6;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.recommendation-blurb {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-dim);
  font-weight: 300;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--cool-line);
  background: #080c12;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cool-1);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--cool-2);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--coral-bright);
  border-bottom-color: var(--coral-bright);
}
.footer-disclaimer {
  flex: 1 1 260px;
  min-width: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-faint);
  font-weight: 300;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--cool-2);
  text-decoration: none;
  border-bottom: 1px solid var(--cool-line);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--coral-bright);
  border-bottom-color: var(--coral-bright);
}
@media (max-width: 1000px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.movie-info {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  }
.recommendation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    gap: 18px;
  }
.movie-info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "poster"
      "title"
      "synopsis"
      "status"
      "cast"
      "details";
    row-gap: 11px;
  }
.info-poster-wrap {
    max-width: 168px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.transition-text {
    font-size: 14px;
    letter-spacing: 0.06em;
  }}
@media (max-width: 480px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 7px 10px;
  }
.page-main {
    padding: 10px 10px 0;
    gap: 16px;
  }
.movie-info {
    padding: 11px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 150px;
  }
.footer-inner {
    padding: 12px 10px;
  }
.footer-nav {
    width: 100%;
    justify-content: flex-start;
  }}

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}
