*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #0b0e13;
  background-image:
    linear-gradient(160deg, rgba(28, 46, 66, 0.55) 0%, rgba(11, 14, 19, 0.9) 46%, rgba(30, 16, 8, 0.85) 100%),
    repeating-linear-gradient(115deg, rgba(120, 150, 180, 0.035) 0 2px, transparent 2px 7px);
  color: #cdd6e0;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
video { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: #7fb4dc; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
figure { margin: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 12, 17, 0.94);
  border-bottom: 1px solid #1d2836;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
}
a[data-contract="site-name"] {
  color: #e8eef6;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px 3px 12px;
  border: 1px solid #2c3f54;
  border-right: 6px solid #d2762a;
  background: linear-gradient(100deg, rgba(43, 66, 92, 0.6), rgba(20, 27, 36, 0.2));
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
a[data-contract="site-name"]:hover { color: #ffb877; border-color: #d2762a; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  color: #9fb3c8;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid #24313f;
  background: #121922;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: #0b0e13;
  background: #d2762a;
  border-color: #d2762a;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px;
  border: 1px solid #1f2b38;
  background:
    linear-gradient(180deg, rgba(24, 36, 50, 0.72), rgba(14, 18, 24, 0.86)),
    radial-gradient(120% 90% at 8% 0%, rgba(63, 108, 150, 0.35), transparent 62%),
    radial-gradient(110% 80% at 100% 100%, rgba(190, 100, 32, 0.28), transparent 60%);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid #33465b;
  background: #05070a;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}
.poster-plate {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 5px 8px 6px;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: #ffd6a8;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.94), rgba(10, 14, 20, 0.35));
  border-top: 1px solid rgba(210, 118, 42, 0.55);
  text-transform: uppercase;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: #f2f6fa;
  padding-left: 12px;
  border-left: 4px solid #d2762a;
  text-shadow: 0 0 18px rgba(96, 154, 200, 0.35);
}
.movie-tagline {
  font-size: 13px;
  color: #a9bccd;
  letter-spacing: 0.05em;
  padding-left: 16px;
}
.movie-seo {
  font-size: 11px;
  color: #5f7386;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-left: 16px;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #2a3a4c;
  background: #06090d;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  position: relative;
}
.player-shell video {
  background: #000;
  border-bottom: 1px solid #1c2733;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #111823, #0b1017);
}
.player-btn {
  cursor: pointer;
  border: 1px solid #2f4257;
  background: #16202c;
  color: #b9c8d7;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover { background: #22303f; color: #ffd6a8; border-color: #d2762a; }
.player-btn.is-active, .player-btn.is-muted {
  background: #d2762a;
  border-color: #f0a25e;
  color: #0b0e13;
  font-weight: 600;
}
.player-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7f93a7;
}
.player-field input[type="range"] {
  width: 84px;
  accent-color: #d2762a;
  background: transparent;
}
.player-field select {
  background: #16202c;
  border: 1px solid #2f4257;
  color: #b9c8d7;
  font-size: 11px;
  padding: 3px 4px;
}
.player-field input[type="range"].input { accent-color: #d2762a; }
.player-shell.is-theater {
  box-shadow: 0 0 0 1px #d2762a, 0 0 30px rgba(210, 118, 42, 0.25);
}
body.is-lights-off .page-main { opacity: 0.86; }
body.is-lights-off .player-shell { box-shadow: 0 0 0 1px #3f6c96, 0 0 46px rgba(63, 108, 150, 0.4); }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.status-item {
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid #2b3b4d;
  background: #121a24;
  color: #9fb3c8;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.status-current {
  color: #0b0e13;
  background: linear-gradient(100deg, #d2762a, #f0a25e);
  border-color: #f0a25e;
  font-weight: 600;
}
.status-total { color: #a9bccd; }
.cast-strip {
  border-top: 1px solid #1f2b38;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #e8eef6;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cast-heading::after, .synopsis-heading::after, .details-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after, .recommend-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, #d2762a, rgba(63, 108, 150, 0.15));
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  min-width: 0;
}
.cast-face {
  position: relative;
  width: 100%;
  border: 1px solid #2c3f54;
  background: #05070a;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  overflow: hidden;
}
.cast-face img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08) brightness(0.94);
  transition: filter 0.2s;
}
.cast-card:hover .cast-face img { filter: grayscale(0) contrast(1.1) brightness(1.02); }
.cast-name {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #dfe8f1;
  text-align: center;
  padding: 3px 2px 4px;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.2), rgba(10, 14, 20, 0.85));
}
.cast-role {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #d2762a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-block {
  border-top: 1px solid #1f2b38;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.7;
  color: #b6c4d3;
  padding-left: 10px;
  border-left: 2px solid #22303f;
}
.details-panel {
  border-top: 1px solid #1f2b38;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border: 1px solid #1c2733;
  background: rgba(10, 14, 20, 0.5);
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 9px;
  border-bottom: 1px solid #161f29;
  border-right: 1px solid #161f29;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #6f8398;
  text-transform: uppercase;
}
.detail-val {
  font-size: 12px;
  color: #dbe4ee;
  min-width: 0;
  overflow-wrap: break-word;
}
.timeline-section {
  border: 1px solid #1f2b38;
  background: linear-gradient(90deg, rgba(20, 30, 42, 0.7), rgba(12, 16, 22, 0.8));
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.timeline-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  position: relative;
  scrollbar-width: thin;
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 96px;
  padding: 26px 8px 8px;
  border-top: 2px solid #33465b;
  background: linear-gradient(180deg, rgba(63, 108, 150, 0.14), rgba(10, 14, 20, 0));
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 8px;
  width: 9px;
  height: 9px;
  background: #d2762a;
  border: 1px solid #f0a25e;
  transform: rotate(45deg);
}
.timeline-node:nth-child(even)::before { background: #3f6c96; border-color: #7fb4dc; }
.timeline-timecode {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #7fb4dc;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #dbe4ee;
  margin-top: 2px;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  border: 1px solid #22303f;
  background: linear-gradient(150deg, rgba(26, 38, 52, 0.75), rgba(11, 15, 20, 0.85));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  min-width: 0;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #d2762a, rgba(63, 108, 150, 0.4));
}
.episode-number {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #d2762a;
  text-transform: uppercase;
}
.episode-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0f5fa;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #a9bccd;
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #7fb4dc;
  border: 1px solid #2b3b4d;
  padding: 1px 7px;
  background: rgba(10, 14, 20, 0.6);
  font-variant-numeric: tabular-nums;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-column:last-child { padding-top: 16px; }
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 9px;
  border: 1px solid #202c39;
  border-left: 3px solid #3f6c96;
  background: linear-gradient(120deg, rgba(24, 34, 46, 0.7), rgba(11, 15, 20, 0.75));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  min-width: 0;
}
.comment-column:last-child .comment-card { border-left-color: #d2762a; }
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffd6a8;
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #b6c4d3;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 8px 9px;
  border: 1px solid #22303f;
  background: linear-gradient(160deg, rgba(24, 34, 46, 0.8), rgba(10, 13, 18, 0.9));
  color: #dbe4ee;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  min-width: 0;
}
a.recommend-card:hover {
  border-color: #d2762a;
  background: linear-gradient(160deg, rgba(44, 32, 20, 0.85), rgba(10, 13, 18, 0.95));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid #2a3a4c;
  filter: contrast(1.05) saturate(0.95);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f0f5fa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: #8ea2b6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  border-top: 1px solid #1d2836;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.9), #07090d);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #9fb3c8;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #24313f;
  background: #121922;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #0b0e13; background: #d2762a; border-color: #d2762a; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #5f7386;
  text-transform: uppercase;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #7f93a7;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid #1d2836;
  background: rgba(18, 25, 34, 0.7);
  white-space: nowrap;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
a.runtime-friend-link:hover { color: #ffd6a8; border-color: #d2762a; }
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #5f7386;
  border-top: 1px solid #161f29;
  padding-top: 9px;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 14px;
  }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { padding: 12px 12px 24px; gap: 14px; }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.hero-poster-wrap { max-width: 210px; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.comment-column:last-child { padding-top: 0; }
.timeline-track { gap: 4px; }
.timeline-node { flex: 0 0 auto; min-width: 104px; }}
@media (max-width: 520px) {body { font-size: 13px; }
.header-inner { padding: 7px 12px; gap: 8px; }
.movie-title { font-size: 21px; }
.player-controls { gap: 5px 8px; padding: 7px 8px; }
.player-field input[type="range"] { width: 66px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
.details-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.hero-poster-wrap { max-width: 100%; }}

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}
