*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 14px;
  line-height: 1.65;
  color: #cfc3b0;
  background-color: #17110e;
  background-image:
    radial-gradient(ellipse at 18% 6%, rgba(120, 52, 38, 0.28), transparent 58%),
    radial-gradient(ellipse at 82% 92%, rgba(96, 74, 34, 0.22), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px);
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2 { font-weight: 800; letter-spacing: 0.02em; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #221512 0%, #1b110d 100%);
  border-bottom: 1px solid #3d2b20;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 7px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 18px;
  font-weight: 800;
  color: #e8c877;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(200, 150, 60, 0.28);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  flex: 1 1 200px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 2px 9px;
  color: #b89b74;
  text-decoration: none;
  border: 1px solid #4b3527;
  border-radius: 2px;
  background: rgba(60, 38, 28, 0.42);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus {
  color: #f0d489;
  border-color: #8a6636;
  background: rgba(96, 58, 32, 0.55);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 22px;
}
.hero-stage {
  position: relative;
  margin: 10px 0 16px;
  border: 1px solid #3d2b20;
  border-radius: 3px;
  overflow: hidden;
  background: #140e0b;
  box-shadow: inset 0 0 90px rgba(0,0,0,0.85);
}
.hero-backdrop {
  position: relative;
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(60,26,20,0.35), rgba(18,10,8,0.9)),
    repeating-linear-gradient(90deg, rgba(90,50,34,0.30) 0 22px, rgba(58,32,24,0.30) 22px 46px),
    repeating-linear-gradient(0deg, rgba(30,16,12,0.5) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #4a2419, #2a1712 60%, #1a100c);
  display: flex;
  align-items: flex-end;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 118%, rgba(206, 156, 66, 0.20), transparent 62%),
    linear-gradient(180deg, rgba(10,6,5,0.15) 0%, rgba(10,6,5,0.55) 55%, rgba(10,6,5,0.94) 100%);
  pointer-events: none;
}
.hero-slogan {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10px 16px 12px;
  font-size: clamp(15px, 3.4vw, 26px);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #f1dcae;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 22px rgba(190, 132, 50, 0.35);
  border-top: 2px solid rgba(196, 142, 58, 0.55);
  background: linear-gradient(180deg, rgba(24,13,10,0.35), rgba(24,13,10,0.82));
}
.overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 216px) minmax(0, 1fr);
  gap: 16px 18px;
  align-items: start;
  padding: 14px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #241712 0%, #1d120e 100%);
  border-top: 1px solid #402c20;
}
.poster-frame {
  margin: 0;
  padding: 4px;
  background: #100a08;
  border: 1px solid #4a3325;
  box-shadow: 0 4px 16px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(120, 84, 40, 0.22);
  align-self: start;
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.82) contrast(1.04);
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: clamp(19px, 3vw, 27px);
  color: #ecd9a8;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.75);
}
.movie-tagline {
  font-size: 12.5px;
  color: #a8926f;
  letter-spacing: 0.16em;
  padding-bottom: 6px;
  border-bottom: 1px dashed #3f2c20;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0a0706;
  border: 1px solid #3f2c20;
  border-radius: 2px;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #241612, #1a100c);
  border-top: 1px solid #3a281d;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 12px;
  color: #d8c39a;
  background: linear-gradient(180deg, #3a2419, #2a1811);
  border: 1px solid #54382a;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctrl-btn:hover { color: #f4dc9e; border-color: #8a6236; }
.ctrl-btn.is-playing, .ctrl-btn.is-muted, .ctrl-btn.is-active {
  color: #1c1109;
  background: linear-gradient(180deg, #e0b25c, #bd8c33);
  border-color: #e8c473;
  font-weight: 700;
}
.ctrl-range {
  flex: 1 1 96px;
  min-width: 72px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #4a3324;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2b95f;
  border: 1px solid #7a5723;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2b95f;
  border: 1px solid #7a5723;
}
.ctrl-select {
  flex: 0 0 auto;
  padding: 3px 5px;
  font-size: 12px;
  color: #d8c39a;
  background: #2a1811;
  border: 1px solid #54382a;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-select option { background: #2a1811; color: #d8c39a; }
.is-theater .player-video { max-height: 74vh; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 2px;
  color: #f0d68c;
  background: rgba(84, 52, 22, 0.55);
  border: 1px solid #6d4c24;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.status-chip-total { color: #cbb488; border-color: #4a3625; background: rgba(48, 32, 22, 0.6); }
.status-chip-score {
  color: #ffd97a;
  font-weight: 800;
  border-color: #a97d34;
  background: rgba(112, 76, 22, 0.5);
  box-shadow: 0 0 10px rgba(196, 142, 58, 0.25);
}
.cast-strip {
  padding-top: 8px;
  border-top: 1px dashed #3f2c20;
}
.cast-heading {
  font-size: 13px;
  color: #d6b46f;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 3px solid #b8862f;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 6px;
}
.cast-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(58, 38, 27, 0.42), rgba(34, 22, 16, 0.42));
  border: 1px solid #3b2a1e;
  border-radius: 2px;
  align-self: start;
}
.cast-avatar {
  grid-row: 1 / span 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #6b4d2b;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.75), 0 0 0 2px rgba(30, 18, 12, 0.7);
  background-size: cover;
  background-position: center;
  filter: saturate(0.7) contrast(1.05);
}
.cast-avatar-1 { background-image: linear-gradient(150deg, #8a5a3a, #3b2418 70%); }
.cast-avatar-2 { background-image: linear-gradient(150deg, #7c4a44, #38201c 70%); }
.cast-avatar-3 { background-image: linear-gradient(150deg, #6f5a34, #2f2415 70%); }
.cast-avatar-4 { background-image: linear-gradient(150deg, #8a6a44, #3a2a1a 70%); }
.cast-avatar-5 { background-image: linear-gradient(150deg, #5d5a44, #26251a 70%); }
.cast-avatar-6 { background-image: linear-gradient(150deg, #7a4f5c, #33202a 70%); }
.cast-name {
  grid-column: 2;
  font-size: 13px;
  font-weight: 800;
  color: #e6cf9c;
  line-height: 1.3;
}
.cast-role {
  grid-column: 2;
  font-size: 11px;
  color: #b98f52;
  line-height: 1.35;
}
.cast-rel {
  grid-column: 2;
  font-size: 11px;
  color: #94815f;
  line-height: 1.4;
}
.synopsis-block {
  padding-top: 8px;
  border-top: 1px dashed #3f2c20;
}
.synopsis-heading, .detail-heading {
  font-size: 13px;
  color: #d6b46f;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 3px solid #b8862f;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 5px 16px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: #b8a888;
  text-indent: 2em;
  text-align: justify;
}
.detail-block {
  padding-top: 8px;
  border-top: 1px dashed #3f2c20;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2px 18px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(90, 66, 44, 0.45);
}
.detail-key {
  flex: 0 0 66px;
  color: #8f7c5c;
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  color: #d5c3a0;
}
.section-heading {
  font-size: 15px;
  color: #e8c877;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 4px solid #b8862f;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.timeline-section {
  margin-bottom: 16px;
  padding: 12px 14px 14px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #221610, #1a100c);
  border: 1px solid #3b2a1e;
  border-radius: 3px;
}
.timeline-scroll {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 8px 22px;
  padding-left: 4px;
}
.timeline-scroll::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(184, 134, 47, 0.1), #a37a33 12%, #7d5a25 88%, rgba(184, 134, 47, 0.1));
  box-shadow: 0 0 8px rgba(184, 134, 47, 0.28);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 8px;
  padding: 6px 8px 6px 0;
  align-self: start;
}
.node-icon {
  grid-row: 1 / span 2;
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 50%;
  background: #2a1a12;
  border: 2px solid #b8862f;
  box-shadow: 0 0 0 3px #1a100c, 0 0 9px rgba(196, 142, 58, 0.5);
}
.node-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #e2b95f;
}
.node-icon-event { border-color: #b8862f; }
.node-icon-event::after { background: #e2b95f; }
.node-icon-secret { border-color: #7f6a9c; }
.node-icon-secret::after { background: #b39ddb; }
.node-icon-crisis { border-color: #a5462f; }
.node-icon-crisis::after { background: #e0684a; }
.node-icon-turn { border-color: #5f8a6a; }
.node-icon-turn::after { background: #8fc79b; }
.node-icon-finale { border-color: #d2a13c; }
.node-icon-finale::after { background: #ffd97a; }
.node-timecode {
  grid-column: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f0c95f;
  line-height: 1.3;
}
.node-label {
  grid-column: 2;
  font-size: 12px;
  color: #bfae8c;
  line-height: 1.5;
}
.timeline-node-secret .node-timecode { color: #cbb0ec; }
.timeline-node-crisis .node-timecode { color: #f08a6c; }
.timeline-node-turn .node-timecode { color: #a2d7ae; }
.timeline-node-finale .node-timecode { color: #ffdd8c; }
.episodes-section {
  margin-bottom: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 6px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(56, 36, 25, 0.5), rgba(30, 19, 13, 0.5));
  border: 1px solid #38271c;
  border-left: 3px solid #6d4f27;
  border-radius: 2px;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: #d2a13c;
  background: linear-gradient(180deg, rgba(76, 50, 32, 0.6), rgba(38, 24, 16, 0.6));
}
.episode-num {
  font-size: 11.5px;
  font-weight: 800;
  color: #f0c95f;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: #e3cfa3;
  white-space: nowrap;
}
.episode-duration {
  justify-self: end;
  font-size: 11px;
  color: #8d7a58;
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #a4927a;
}
.comments-section {
  margin-bottom: 16px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.comment-card {
  position: relative;
  padding: 9px 11px 10px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 3px, transparent 3px 7px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 4px),
    linear-gradient(168deg, #2e2016 0%, #251a12 100%);
  border: 1px solid #44301f;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.55), inset 0 0 22px rgba(0,0,0,0.35);
  align-self: start;
}
.comment-card:nth-child(even) { transform: rotate(-0.5deg); }
.comment-card:nth-child(odd) { transform: rotate(0.45deg); }
.comment-nick {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #d8a94e;
  letter-spacing: 0.06em;
  padding-bottom: 3px;
  margin-bottom: 5px;
  border-bottom: 1px dashed rgba(150, 108, 50, 0.45);
}
.comment-text {
  font-size: 12px;
  line-height: 1.7;
  color: #b5a486;
}
.rec-region {
  margin-bottom: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(38, 24, 17, 0.7), rgba(24, 15, 11, 0.7));
  border: 1px solid #352519;
  border-radius: 3px;
}
.rec-heading {
  font-size: 13.5px;
  color: #e0bc6d;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid #a97d34;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}
.rec-item {
  min-width: 0;
  align-self: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
  color: #c2b08d;
  text-decoration: none;
  background: rgba(30, 19, 13, 0.72);
  border: 1px solid #3a281c;
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus {
  color: #f0d489;
  border-color: #a97d34;
  background: rgba(52, 33, 20, 0.85);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.78) contrast(1.05);
  background: #120b08;
}
[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 800;
  color: #e2cb9c;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: #94815f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  padding: 12px 14px 18px;
  background: linear-gradient(180deg, #1c120d, #120b08);
  border-top: 1px solid #3a281c;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 8px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #7d6c53;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  max-width: 1280px;
  margin: 0 auto 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #c9a75e;
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2d68c;
  border-bottom-color: #a97d34;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 8px;
  border-top: 1px dashed #38271c;
}
.friend-links-label {
  font-size: 11.5px;
  color: #8a7658;
  letter-spacing: 0.12em;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9c8a6a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
  color: #e0bc6d;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.is-lights-off .site-header, body.is-lights-off .site-footer, body.is-lights-off .page-main > section:not(.hero-stage) {
  opacity: 0.32;
  transition: opacity 0.3s;
}
body.is-lights-off .hero-stage {
  background: #000;
  box-shadow: inset 0 0 160px rgba(0,0,0,1);
}
@media (max-width: 900px) {.overview-panel {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 14px;
  }
.synopsis-body { grid-template-columns: 1fr; }}
@media (max-width: 720px) {.overview-panel {
    grid-template-columns: 1fr;
  }
.poster-frame {
    max-width: 190px;
  }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.episode-grid { grid-template-columns: 1fr; }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.timeline-scroll { grid-template-columns: 1fr; gap: 4px; }
.timeline-scroll::before { left: 12px; }}
@media (max-width: 480px) {body { font-size: 13px; }
.header-inner { padding: 6px 10px; }
.page-main { padding: 0 10px 18px; }
.hero-slogan { letter-spacing: 0.12em; padding: 8px 12px 10px; }
.overview-panel { padding: 10px; gap: 10px; }
.cast-list { grid-template-columns: 1fr; }
.comment-stack { grid-template-columns: 1fr; }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); }
.ctrl-range { flex: 1 1 100%; }
.detail-key { flex: 0 0 58px; }}

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}
