*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #141210;
  color: #d8cfc0;
  font-family: "Songti SC", "SimSun", "STSong", serif;
  line-height: 1.65;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  mix-blend-mode: overlay;
  animation: grain 0.8s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, 3%); }
  20% { transform: translate(3%, -2%); }
  30% { transform: translate(-3%, -3%); }
  40% { transform: translate(2%, 2%); }
  50% { transform: translate(-2%, -1%); }
  60% { transform: translate(3%, 3%); }
  70% { transform: translate(-1%, 2%); }
  80% { transform: translate(2%, -3%); }
  90% { transform: translate(-3%, 1%); }
}
a {
  color: inherit;
  text-decoration: none;
}
img, video {
  display: block;
  max-width: 100%;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(12, 11, 10, 0.97);
  border-bottom: 2px solid #4a3a28;
  backdrop-filter: blur(4px);
}
.brand-mark {
  display: block;
  font-family: "SimHei", "STHeiti", "Microsoft YaHei", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c8a258;
  text-transform: uppercase;
  border-left: 4px solid #8a1c1c;
  padding-left: 0.6rem;
  line-height: 1.4;
  white-space: nowrap;
}
.brand-mark:hover {
  color: #e0c070;
}
nav[data-contract="categories"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  font-family: "SimHei", "STHeiti", "Microsoft YaHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #a49a8a;
  padding: 0.2rem 0.5rem;
  border: 1px solid #3d3428;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.runtime-category:hover {
  color: #e0c070;
  border-color: #c8a258;
  background: rgba(200, 162, 88, 0.06);
}
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem 2rem;
}
.movie-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0.75rem 1.5rem;
  padding: 1.25rem;
  background: #1b1916;
  border: 2px solid #3a3327;
  box-shadow: 
    inset 0 0 0 4px #141210,
    0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  position: relative;
}
.movie-dossier::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #8a1c1c 0 12px, #4a3a28 12px 24px);
  opacity: 0.6;
}
.poster-player-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  grid-column: 1 / -1;
  align-items: start;
}
.poster-frame {
  border: 3px solid #3a3327;
  background: #0d0c0b;
  padding: 0.5rem;
  max-width: 320px;
  box-shadow: 0 0 0 1px #141210, 0 6px 18px rgba(0, 0, 0, 0.6);
  position: relative;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 162, 88, 0.08), transparent 40%);
  pointer-events: none;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #26211b;
}
.player-wide {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #0d0c0b;
  border: 2px solid #3a3327;
  padding: 0.5rem;
}
.player-wide video {
  display: block;
  background: #000;
  border: 1px solid #2e2a22;
}
.player-wide.theater-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 1000;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-wide.theater-mode video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.1rem;
  background: #201d18;
  border: 1px solid #3d3428;
}
.player-controls button {
  background: transparent;
  border: 1px solid #4a3f2f;
  color: #c8b99a;
  font-family: "SimHei", sans-serif;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}
.player-controls button:hover {
  background: #3a3327;
  color: #e8d8b0;
  border-color: #c8a258;
}
.player-controls .click {
  background: #5a4a32;
  color: #141210;
}
.player-controls input[type="range"] {
  flex: 1 1 60px;
  min-width: 60px;
  max-width: 160px;
  accent-color: #8a1c1c;
  background: #2a251d;
  border: 1px solid #3d3428;
  height: 0.5rem;
}
.hero-statement {
  grid-column: 1 / -1;
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid #3a3327;
  margin-top: 0.25rem;
}
.film-title {
  font-family: "SimHei", "STHeiti", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e0c070;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.film-tagline {
  font-size: 0.9rem;
  color: #a49a8a;
  font-style: italic;
  letter-spacing: 0.06em;
  padding-left: 1rem;
  border-left: 3px solid #8a1c1c;
}
.synopsis-block {
  grid-column: 1 / -1;
  padding: 0.75rem 0;
}
.block-title {
  font-family: "SimHei", "STHeiti", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c8a258;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #4a3a28;
  position: relative;
  display: inline-block;
}
.block-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #8a1c1c;
}
.synopsis-text {
  font-size: 0.86rem;
  color: #c2b8a5;
  margin-bottom: 0.6rem;
  line-height: 1.8;
  text-align: justify;
  background: linear-gradient(to bottom, rgba(200, 162, 88, 0.03), transparent);
  padding: 0.4rem 0.5rem;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.film-details {
  grid-column: 1 / -1;
  background: rgba(58, 51, 39, 0.12);
  border-top: 1px solid #3a3327;
  border-bottom: 1px solid #3a3327;
  padding: 0.75rem 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 0.8rem;
  list-style: none;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  background: rgba(20, 18, 16, 0.5);
  border-left: 3px solid #8a1c1c;
}
.detail-item dt {
  font-family: "SimHei", sans-serif;
  font-size: 0.68rem;
  color: #8a7c68;
  flex-shrink: 0;
  letter-spacing: 0.1em;
}
.detail-item dd {
  font-size: 0.78rem;
  color: #d8cfc0;
  font-weight: 600;
}
.cast-section {
  grid-column: 1 / -1;
  padding: 0.75rem 0;
}
.cast-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}
.cast-card {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.75rem;
  background: #26211d;
  border: 1px solid #3d3428;
  border-left: 4px solid #8a1c1c;
  transition: background 0.15s;
}
.cast-card:hover {
  background: #332d25;
  border-left-color: #c8a258;
}
.actor-name {
  font-family: "SimHei", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e0c070;
  letter-spacing: 0.05em;
}
.actor-role {
  font-size: 0.72rem;
  color: #a49a8a;
  margin-top: 0.15rem;
  font-style: italic;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  background: #1b1916;
  border: 1px solid #3a3327;
  margin-top: 0.25rem;
}
.status-label {
  font-family: "SimHei", sans-serif;
  font-size: 0.7rem;
  color: #8a7c68;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.current-episode {
  font-family: "SimHei", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #c8a258;
  background: #8a1c1c;
  color: #f0e0c0;
  padding: 0.1rem 0.5rem;
}
.separator {
  color: #5a5040;
  font-size: 1rem;
}
.total-episodes {
  font-size: 0.8rem;
  color: #a49a8a;
}
.timeline-archive {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #1b1916;
  border: 2px solid #3a3327;
}
.timeline-container {
  position: relative;
  margin-top: 0.75rem;
  padding-left: 1.5rem;
}
.timeline-container::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 12px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 2px,
    #4a3a28 2px 4px,
    transparent 4px 8px
  );
  border-left: 2px solid #8a1c1c;
  border-right: 2px solid #4a3a28;
}
.timeline-entry {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.5rem;
  background: rgba(20, 18, 16, 0.4);
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #1b1916;
  border: 2px solid #c8a258;
  border-radius: 0;
}
.timeline-entry:hover {
  background: rgba(58, 51, 39, 0.3);
  border-left-color: #8a1c1c;
}
.timecode {
  font-family: "SimHei", sans-serif;
  font-size: 0.72rem;
  color: #c8a258;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  min-width: 110px;
}
.event-desc {
  font-size: 0.82rem;
  color: #c2b8a5;
  line-height: 1.5;
}
.episodes-thumbnails {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #1b1916;
  border: 2px solid #3a3327;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.episode-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.5rem;
  background: #26211d;
  border: 1px solid #3d3428;
  border-top: 3px solid #4a3a28;
  transition: all 0.15s;
  min-height: 60px;
  justify-content: flex-end;
}
.episode-item:hover {
  border-top-color: #c8a258;
  background: #332d25;
}
.episode-item:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(200, 162, 88, 0.05);
}
.ep-number {
  font-family: "SimHei", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #8a7c68;
  position: absolute;
  top: 0.3rem;
  right: 0.5rem;
  opacity: 0.4;
}
.ep-title {
  font-family: "SimHei", sans-serif;
  font-size: 0.8rem;
  color: #d8cfc0;
  letter-spacing: 0.05em;
  margin-top: auto;
}
.comments-block {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #1b1916;
  border: 2px solid #3a3327;
}
.comment-bubble {
  position: relative;
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: #26211d;
  border: 1px solid #4a3a28;
  max-width: 70%;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.4);
}
.comment-bubble:nth-child(even) {
  margin-left: auto;
  background: #2a241e;
}
.comment-bubble:nth-child(odd) {
  margin-right: auto;
}
.comment-bubble::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #26211d;
  border-top: 1px solid #4a3a28;
  border-left: 1px solid #4a3a28;
  transform: rotate(45deg);
}
.comment-bubble:nth-child(even)::before {
  left: auto;
  right: 1.2rem;
  border-right: 1px solid #4a3a28;
  border-left: none;
  border-bottom: 1px solid #4a3a28;
  border-top: none;
  transform: rotate(-45deg);
}
.comment-author {
  font-family: "SimHei", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c8a258;
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
}
.comment-text {
  font-size: 0.8rem;
  color: #c2b8a5;
  line-height: 1.6;
  margin: 0;
}
.recommend-region {
  background: #1b1916;
  border: 2px solid #3a3327;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.recommend-region[data-recommendation-region="1"], .recommend-region[data-recommendation-region="2"], .recommend-region[data-recommendation-region="3"] {
  display: inline-block;
  vertical-align: top;
  width: calc(33.33% - 0.5rem);
}
.recommend-region[data-recommendation-region="1"] {
  margin-right: 0.25rem;
}
.recommend-region[data-recommendation-region="2"] {
  margin-right: 0.25rem;
  margin-left: 0.25rem;
}
.recommend-region[data-recommendation-region="3"] {
  margin-left: 0.25rem;
}
.rec-title {
  font-family: "SimHei", "STHeiti", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c8a258;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.5rem;
  background: #2a241e;
  border-left: 4px solid #8a1c1c;
  border-bottom: 1px solid #4a3a28;
}
a[data-runtime="recommendation"] {
  display: block;
  color: #c2b8a5;
  text-decoration: none;
  padding: 0.4rem 0.3rem;
  border-bottom: 1px solid #2a251d;
  transition: all 0.15s;
}
a[data-runtime="recommendation"]:hover {
  background: #26211d;
  color: #e0c070;
  border-left: 3px solid #c8a258;
  padding-left: 0.6rem;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #26211d;
  border: 1px solid #3d3428;
  margin-bottom: 0.3rem;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  display: block;
  font-family: "SimHei", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d8cfc0;
  margin-bottom: 0.15rem;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.7rem;
  color: #8a7c68;
  line-height: 1.4;
}
footer {
  margin-top: 1.5rem;
  padding: 1.25rem 1rem 0.75rem;
  background: #0d0c0b;
  border-top: 4px solid #4a3a28;
}
.disclaimer {
  font-size: 0.7rem;
  color: #6a5f4f;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: #141210;
  border-left: 3px solid #8a1c1c;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid #2a251d;
  border-bottom: 1px solid #2a251d;
}
.friend-label {
  font-family: "SimHei", sans-serif;
  font-size: 0.7rem;
  color: #8a1c1c;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-right: 0.3rem;
}
.runtime-friend-link {
  font-size: 0.72rem;
  color: #8a7c68;
  text-decoration: none;
  padding: 0.15rem 0.4rem;
  border: 1px solid #2a251d;
  transition: all 0.15s;
}
.runtime-friend-link:hover {
  color: #c8a258;
  border-color: #c8a258;
  background: rgba(200, 162, 88, 0.05);
}
.footer-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 0.5rem;
}
.footer-bottom a {
  font-size: 0.75rem;
  color: #8a7c68;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom a:hover {
  color: #c8a258;
}
.lights-dim {
  background: #050403;
}
.lights-dim .movie-dossier, .lights-dim .timeline-archive, .lights-dim .episodes-thumbnails, .lights-dim .comments-block, .lights-dim .recommend-region, .lights-dim .poster-frame, .lights-dim .player-wide {
  background: #0a0908;
  border-color: #1a1712;
}
.lights-dim .player-wide video {
  filter: brightness(0.6);
}
@media (max-width: 1100px) {.poster-player-group {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
.player-wide {
    max-width: 100%;
  }
.recommend-region[data-recommendation-region="1"], .recommend-region[data-recommendation-region="2"], .recommend-region[data-recommendation-region="3"] {
    width: calc(50% - 0.5rem);
    margin-bottom: 0.75rem;
  }
.recommend-region[data-recommendation-region="3"] {
    width: 100%;
    margin-left: 0;
  }}
@media (max-width: 800px) {.movie-dossier {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }
.poster-player-group {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
.poster-frame {
    max-width: 100%;
  }
.player-wide {
    min-width: 0;
    width: 100%;
  }
.detail-list {
    grid-template-columns: repeat(2, 1fr);
  }
.cast-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(3, 1fr);
  }
.comment-bubble {
    max-width: 90%;
  }
.timeline-entry {
    flex-direction: column;
    gap: 0.15rem;
  }
.timecode {
    min-width: 0;
  }
.recommend-region[data-recommendation-region="1"], .recommend-region[data-recommendation-region="2"], .recommend-region[data-recommendation-region="3"] {
    width: 100%;
    margin: 0 0 0.75rem;
  }}
@media (max-width: 560px) {html {
    font-size: 14px;
  }
header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
nav[data-contract="categories"] {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
.runtime-category {
    flex-shrink: 0;
  }
.film-title {
    font-size: 1.3rem;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.cast-card-list {
    grid-template-columns: 1fr;
  }
.episode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.poster-player-group {
    grid-template-columns: 1fr;
  }
.player-wide {
    width: 100%;
  }
.player-controls {
    flex-wrap: wrap;
  }
.player-controls input[type="range"] {
    flex-basis: 100%;
    max-width: 100%;
  }
.comment-bubble {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
.comment-bubble:nth-child(even) {
    margin-left: 0;
  }
.timeline-container {
    padding-left: 1rem;
  }
.timeline-entry {
    padding-left: 0.75rem;
  }
.recommend-region[data-recommendation-region="1"], .recommend-region[data-recommendation-region="2"], .recommend-region[data-recommendation-region="3"] {
    width: 100%;
    margin: 0 0 0.75rem;
  }
.footer-bottom {
    justify-content: center;
  }}
@media (max-width: 400px) {.episode-grid {
    grid-template-columns: 1fr;
  }
.cast-card-list {
    grid-template-columns: 1fr;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.hero-statement {
    padding: 0.5rem 0;
  }
.film-tagline {
    font-size: 0.8rem;
  }}
.episode-item {
  position: relative;
}
.episode-item:hover .ep-title::after {
  content: attr(data-summary);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #0d0c0b;
  border: 1px solid #4a3a28;
  padding: 0.3rem 0.5rem;
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 10;
  color: #c2b8a5;
  display: block;
}
a[data-contract="site-name"] {
  color: #c8a258;
  text-decoration: none;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #8a7c68;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #c8a258;
  text-decoration: underline;
}
.poster-player-group {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (min-width: 801px) {.poster-player-group {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  }
.player-wide {
    min-width: 0;
    width: 100%;
  }}
@media (max-width: 800px) and (min-width: 561px) {.poster-player-group {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
.player-wide {
    min-width: 0;
    width: 100%;
  }}
@media (max-width: 560px) {.poster-player-group {
    grid-template-columns: minmax(0, 1fr);
  }
.player-wide {
    min-width: 0;
    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}
