:root {
  --ink: #1a1613;
  --ink-soft: #2c2521;
  --panel: #241d19;
  --panel-2: #2e2620;
  --line: #453a31;
  --dusk: #3a2f28;
  --amber: #f2b544;
  --amber-deep: #d98f2b;
  --tail-red: #d6482f;
  --tail-red-soft: #b53a24;
  --text: #f0e6d8;
  --text-dim: #b3a493;
  --text-faint: #8a7b6c;
  --white: #fff8ec;
  --radius: 4px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(242, 181, 68, 0.07), transparent 60%),
    radial-gradient(ellipse 80% 50% at 90% 100%, rgba(214, 72, 47, 0.05), transparent 60%),
    linear-gradient(180deg, #1d1815 0%, #16110e 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 16, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(242, 181, 68, 0.08), 0 6px 18px -12px rgba(0, 0, 0, 0.9);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
a[data-contract="site-name"].brand-link {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(242, 181, 68, 0.35);
  white-space: nowrap;
  position: relative;
  padding-left: 18px;
}
a[data-contract="site-name"].brand-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--tail-red);
  box-shadow: 0 0 10px 2px rgba(214, 72, 47, 0.7);
}
a[data-contract="site-name"].brand-link:hover {
  color: var(--white);
}
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  white-space: nowrap;
  display: inline-block;
  padding: 3px 11px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242, 181, 68, 0.06), rgba(242, 181, 68, 0));
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.main-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--amber);
  margin-bottom: 10px;
  padding-left: 12px;
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 4px;
  height: 13px;
  background: var(--tail-red);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(214, 72, 47, 0.6);
}
.hero-banner {
  position: relative;
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(58, 47, 40, 0.85) 0%, rgba(30, 24, 20, 0.95) 55%, rgba(24, 19, 16, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.04), 0 18px 40px -30px rgba(0, 0, 0, 1);
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--tail-red) 55%, transparent 100%);
  opacity: 0.7;
}
.hero-media {
  position: relative;
  align-self: start;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 1);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(242, 181, 68, 0.12), inset 0 -40px 40px -30px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
img.main-poster {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04) brightness(0.94);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.movie-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(214, 72, 47, 0.28), 0 1px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.hero-info > section {
  padding-top: 6px;
}
.cast-panel {
  margin-top: 2px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 14px;
}
.cast-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 56px;
}
.cast-avatar::before {
  content: attr(data-initial);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background:
    radial-gradient(circle at 32% 28%, #f7cd7d 0%, var(--amber) 45%, var(--amber-deep) 100%);
  border: 1px solid rgba(255, 248, 236, 0.35);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 1), 0 0 0 3px rgba(242, 181, 68, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cast-avatar::before {
  content: "";
  background:
    radial-gradient(circle at 34% 30%, #f7cd7d 0%, var(--amber) 48%, var(--amber-deep) 100%);
}
.cast-avatar:hover::before {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 1), 0 0 0 4px rgba(242, 181, 68, 0.16);
}
.cast-name {
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.synopsis-panel {
  margin-top: 2px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: justify;
  margin-bottom: 7px;
  padding-left: 10px;
  border-left: 2px solid rgba(242, 181, 68, 0.18);
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.episode-status-panel {
  margin-top: 2px;
}
.episode-status-text {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: rgba(214, 72, 47, 0.12);
  border: 1px solid rgba(214, 72, 47, 0.4);
  border-radius: 999px;
  padding: 3px 12px;
}
.details-panel {
  margin-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(69, 58, 49, 0.55);
  font-size: 12px;
  min-width: 0;
}
.detail-key {
  color: var(--text-faint);
  letter-spacing: 0.08em;
  flex: none;
  white-space: nowrap;
}
.detail-value {
  color: var(--text);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #16110e 0%, #100c0a 100%);
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 248, 236, 0.03);
  width: 100%;
}
.player-wrapper video {
  display: block;
  width: 100%;
  border-radius: 3px;
  background: #000;
  border: 1px solid rgba(69, 58, 49, 0.8);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 30px -12px rgba(242, 181, 68, 0.25);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  color: var(--text-dim);
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
  white-space: nowrap;
}
.player-btn:hover {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.player-btn.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, #f7cd7d 0%, var(--amber-deep) 100%);
  border-color: var(--amber);
  box-shadow: 0 0 12px -2px rgba(242, 181, 68, 0.55);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--tail-red), var(--amber));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--tail-red);
  box-shadow: 0 0 8px rgba(214, 72, 47, 0.8);
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--tail-red);
  cursor: pointer;
}
.player-volume {
  flex: 0 0 80px;
  width: 80px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.player-speed {
  cursor: pointer;
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text-dim);
  outline: none;
}
.player-speed:hover, .player-speed:focus {
  color: var(--amber);
  border-color: var(--amber-deep);
}
.player-wrapper.is-theater {
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 1px rgba(242, 181, 68, 0.35), 0 24px 60px -34px rgba(0, 0, 0, 1);
}
body.is-lights-off .main-content {
  filter: brightness(0.72);
  transition: filter 0.25s ease;
}
body.is-lights-off .player-wrapper {
  filter: brightness(1.25);
  box-shadow: 0 0 0 1px var(--amber-deep), 0 0 60px -18px rgba(242, 181, 68, 0.5);
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  position: relative;
}
.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 10px 7px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber-deep);
  border-radius: 2px 3px 3px 2px;
  background: linear-gradient(180deg, rgba(58, 47, 40, 0.55), rgba(30, 24, 20, 0.75));
  min-height: 100%;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.timeline-marker::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--tail-red);
  box-shadow: 0 0 8px 1px rgba(214, 72, 47, 0.75);
}
.timeline-marker:hover {
  border-left-color: var(--tail-red);
  background: linear-gradient(180deg, rgba(80, 62, 48, 0.7), rgba(38, 30, 24, 0.85));
}
.timeline-time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episodes-grid {
  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"
    "sum sum"
    "dur dur";
  gap: 4px 10px;
  align-items: baseline;
  padding: 9px 11px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(46, 38, 32, 0.55), rgba(26, 22, 19, 0.75));
  overflow: hidden;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber-deep);
  opacity: 0.5;
  transition: opacity 0.16s ease, background-color 0.16s ease;
}
.episode-card:hover {
  border-color: rgba(242, 181, 68, 0.6);
  background: linear-gradient(180deg, rgba(242, 181, 68, 0.14), rgba(214, 72, 47, 0.08));
  transform: translateY(-1px);
}
.episode-card:hover::before {
  background: var(--amber);
  opacity: 1;
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tail-red);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-faint);
}
.episode-duration {
  grid-area: dur;
  justify-self: start;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 10px 2px;
  background: linear-gradient(180deg, rgba(46, 38, 32, 0.6), rgba(24, 20, 17, 0.8));
}
.comment-card:nth-child(even) {
  border-radius: 10px 10px 2px 10px;
  background: linear-gradient(180deg, rgba(58, 44, 36, 0.6), rgba(28, 22, 18, 0.82));
}
.comment-card:nth-child(3n) {
  margin-top: 10px;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.recommendations-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.recommendations-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}
a.recommendation-card {
  flex: 1 1 128px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(46, 38, 32, 0.55), rgba(22, 18, 15, 0.85));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.recommendation-card:hover {
  border-color: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -20px rgba(0, 0, 0, 1), 0 0 18px -8px rgba(242, 181, 68, 0.4);
}
a.recommendation-card img, [data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px;
  background: #100c0a;
  filter: saturate(0.9) brightness(0.96);
  border: 1px solid rgba(69, 58, 49, 0.7);
}
.recommendation-poster {
  display: block;
}
.recommendation-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  overflow-wrap: anywhere;
}
.recommendation-blurb {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-faint);
  max-width: 720px;
}
.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(46, 38, 32, 0.5);
  transition: color 0.14s ease, border-color 0.14s ease;
}
a[data-contract="footer-home"].footer-link {
  color: var(--amber);
  border-color: rgba(242, 181, 68, 0.4);
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--white);
  border-color: var(--amber);
}
a[data-contract="footer-sitemap"].footer-link {
  color: var(--text-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(69, 58, 49, 0.7);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px dotted rgba(179, 164, 147, 0.4);
  transition: color 0.14s ease, border-color 0.14s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
@media (max-width: 900px) {.hero-banner {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 14px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-card:nth-child(3n) {
    margin-top: 0;
  }
.comment-card:nth-child(even) {
    margin-top: 8px;
  }
a.recommendation-card {
    flex: 1 1 140px;
  }}
@media (max-width: 720px) {.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
.categories-nav {
    justify-content: flex-start;
  }
.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.hero-media {
    max-width: 200px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    margin-top: 0;
  }
.player-controls {
    gap: 5px;
  }
.player-progress {
    flex-basis: 100%;
    order: -1;
  }}
@media (max-width: 480px) {body {
    font-size: 13px;
  }
.main-content {
    padding: 0 12px 32px;
    gap: 18px;
  }
.header-inner {
    padding: 8px 12px;
  }
.hero-media {
    max-width: 160px;
  }
.cast-avatar {
    width: 50px;
  }
.cast-avatar::before {
    width: 38px;
    height: 38px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.player-volume {
    flex: 1 1 60px;
    width: auto;
  }
a.recommendation-card {
    flex: 1 1 100px;
    padding: 6px;
  }
.site-footer {
    padding: 16px 12px 26px;
  }}

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}
