:root {
  --red: #9e2b25;
  --red-deep: #7a1f1b;
  --red-soft: #b8453c;
  --brick: #5b5a56;
  --brick-dark: #3a3937;
  --brick-light: #8c8a84;
  --gold: #c9973b;
  --gold-bright: #e0b354;
  --paper: #e8e2d4;
  --paper-dark: #d8d0bd;
  --ink: #2b2823;
  --ink-soft: #4a4640;
  --line: rgba(43, 40, 35, 0.22);
  --gold-line: rgba(201, 151, 59, 0.5);
  --shadow: 0 2px 10px rgba(20, 18, 15, 0.28);
  --font-title: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: #211f1c;
  background-image:
    linear-gradient(180deg, rgba(158, 43, 37, 0.10), rgba(33, 31, 28, 0.0) 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 2px, rgba(0, 0, 0, 0.03) 2px 5px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
}
.site-header {
  background: linear-gradient(180deg, var(--red-deep), var(--red) 70%, #8a2620);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.site-brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f2d68a;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
a.runtime-category {
  white-space: nowrap;
  color: #f0e6cf;
  text-decoration: none;
  font-size: 12.5px;
  padding: 3px 10px;
  border: 1px solid rgba(224, 179, 84, 0.55);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.16);
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.32);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 16px auto 26px;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--red-deep);
  padding-left: 11px;
  border-left: 4px solid var(--gold);
  margin-bottom: 12px;
}
.small-heading {
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.gate-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 0;
  background:
    linear-gradient(180deg, rgba(158, 43, 37, 0.07), rgba(91, 90, 86, 0.09)),
    var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
}
.gate-left {
  align-self: start;
  padding: 16px 14px 16px 16px;
  border-right: 3px double var(--brick-light);
  background:
    repeating-linear-gradient(180deg, rgba(91, 90, 86, 0.10) 0 1px, rgba(91, 90, 86, 0) 1px 9px),
    linear-gradient(180deg, #4d4b47, #3c3a37);
  display: flex;
  justify-content: center;
}
.poster-frame {
  width: 100%;
  max-width: 300px;
  padding: 5px;
  background: var(--paper-dark);
  border: 1px solid var(--brick);
  box-shadow: 0 0 0 1px rgba(201, 151, 59, 0.45) inset, 0 3px 10px rgba(0, 0, 0, 0.5);
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(43, 40, 35, 0.5);
  background: #2b2823;
}
.gate-right {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: 27px;
  letter-spacing: 0.08em;
  color: var(--red-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.movie-tagline {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--brick-dark);
  padding: 4px 0 4px 12px;
  border-left: 3px solid var(--gold);
  margin-bottom: 4px;
}
.player-shell {
  position: relative;
  background: #1c1a18;
  border: 1px solid var(--brick-dark);
  box-shadow: 0 0 0 1px rgba(201, 151, 59, 0.4), 0 3px 10px rgba(0, 0, 0, 0.35);
  padding: 4px;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 6px 3px;
  background: linear-gradient(180deg, #2f2c28, #232120);
  border-top: 1px solid rgba(201, 151, 59, 0.35);
}
.player-btn {
  background: linear-gradient(180deg, #4a4640, #35322e);
  color: #efe6d2;
  border: 1px solid rgba(201, 151, 59, 0.4);
  border-radius: 2px;
  font-size: 11.5px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  background: linear-gradient(180deg, var(--red-soft), var(--red-deep));
  color: var(--gold-bright);
}
.player-btn.is-active {
  background: linear-gradient(180deg, var(--gold), #a87a26);
  color: #2b2823;
  border-color: var(--gold-bright);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  accent-color: var(--gold);
  height: 16px;
}
.player-volume {
  flex: 0 1 74px;
  min-width: 58px;
  accent-color: var(--gold);
  height: 16px;
}
.player-speed {
  background: #35322e;
  color: #efe6d2;
  border: 1px solid rgba(201, 151, 59, 0.4);
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 11.5px;
}
.player-shell.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 90;
  margin: 0;
  padding: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
}
.player-shell.theater-mode .player-video {
  flex: 0 0 auto;
  margin: 0 auto;
  max-height: 82vh;
}
.player-shell.theater-mode .player-bar {
  background: #111;
}
.player-shell.lights-off {
  background: #000;
  box-shadow: none;
}
.player-shell.lights-off .player-bar {
  background: #0a0a0a;
  border-top-color: rgba(201, 151, 59, 0.2);
}
.player-shell.is-playing {
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 14px rgba(201, 151, 59, 0.35);
}
.gate-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(43, 40, 35, 0.2);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--brick);
  letter-spacing: 0.06em;
}
.detail-key::after {
  content: "／";
  color: var(--gold);
  margin-left: 4px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
  text-align: right;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-chip {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #f6ecd4;
  background: linear-gradient(180deg, var(--red-soft), var(--red-deep));
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 2px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.status-chip:last-child {
  color: var(--gold-bright);
  background: linear-gradient(180deg, #4a4640, #35322e);
}
.gate-cast {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(232, 226, 212, 0.85) 0 26%, rgba(232, 226, 212, 0) 27%),
    radial-gradient(circle at 50% 78%, rgba(232, 226, 212, 0.7) 0 34%, rgba(232, 226, 212, 0) 35%),
    linear-gradient(180deg, var(--brick-light), var(--brick));
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18);
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gate-synopsis {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 7px;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.seo-note {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--brick);
  background: rgba(91, 90, 86, 0.09);
  border-left: 3px solid var(--brick-light);
  padding: 7px 10px;
}
.timeline-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brick);
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
}
.timeline-axis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  padding-left: 2px;
}
.timeline-axis::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 100%;
  background-image:
    linear-gradient(180deg, rgba(91, 90, 86, 0.55), rgba(91, 90, 86, 0.55));
  background-size: 2px 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  pointer-events: none;
  opacity: 0.55;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0 5px 16px;
  border-bottom: 1px solid rgba(43, 40, 35, 0.14);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 151, 59, 0.3), 0 0 6px rgba(224, 179, 84, 0.8);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 151, 59, 0.75), rgba(201, 151, 59, 0.15));
}
.timeline-time {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--red-deep);
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.episodes-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow);
  padding: 14px 16px 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.episode-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(158, 43, 37, 0.05), rgba(201, 151, 59, 0.06)),
    #efe9db;
  border: 1px solid rgba(43, 40, 35, 0.28);
  border-radius: 2px;
  padding: 12px 12px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 151, 59, 0.4);
  pointer-events: none;
}
.episode-seal {
  position: absolute;
  top: -9px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: #f6ecd4;
  background: radial-gradient(circle at 34% 30%, var(--red-soft), var(--red-deep) 72%);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.episode-title {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--red-deep);
  padding-right: 22px;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.episode-duration {
  align-self: flex-start;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-top: 1px solid rgba(201, 151, 59, 0.5);
  padding-top: 4px;
}
.comments-section {
  background: var(--paper-dark);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brick);
  box-shadow: var(--shadow);
  padding: 14px 16px 20px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}
.comment-note {
  position: relative;
  background: #f4eedd;
  border: 1px solid rgba(43, 40, 35, 0.2);
  border-left: 3px solid var(--red-soft);
  border-radius: 2px;
  padding: 9px 10px 10px;
  box-shadow: 0 2px 6px rgba(20, 18, 15, 0.22);
  transform: rotate(-0.7deg);
}
.comment-note:nth-child(even) {
  transform: rotate(0.8deg);
  border-left-color: var(--gold);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.35deg) translateY(3px);
}
.comment-note:nth-child(4n) {
  transform: rotate(1deg) translateY(-2px);
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 34px;
  height: 10px;
  background: rgba(201, 151, 59, 0.35);
  border: 1px solid rgba(201, 151, 59, 0.5);
}
.comment-nick {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--red-deep);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.recommend-region {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
}
.recommend-heading {
  font-size: 17px;
}
.recommend-grid {
  display: grid;
  gap: 12px;
}
.region-one .recommend-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.region-two .recommend-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.region-three .recommend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #efe9db;
  border: 1px solid rgba(43, 40, 35, 0.24);
  border-radius: 2px;
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.recommend-item:hover {
  border-color: var(--red-soft);
  box-shadow: 0 2px 8px rgba(158, 43, 37, 0.28);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(43, 40, 35, 0.3);
  background: #2b2823;
}
.recommend-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--red-deep);
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--brick);
}
.site-footer {
  background: linear-gradient(180deg, #33302c, #232120);
  border-top: 3px solid var(--red);
  color: #cdc5b4;
  padding: 16px 14px 22px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #a49c8c;
  border-bottom: 1px solid rgba(201, 151, 59, 0.25);
  padding-bottom: 10px;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #e0b354;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 179, 84, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2d68a;
  border-bottom-color: #f2d68a;
  text-decoration: none;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 151, 59, 0.2);
}
.friend-links-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8c8a84;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #bdb5a3;
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(189, 181, 163, 0.4);
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
  text-decoration: none;
}
@media (max-width: 980px) {.gate-hero {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }
.timeline-axis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.region-two .recommend-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.page-main {
    margin-top: 12px;
    gap: 16px;
  }
.gate-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.gate-left {
    border-right: none;
    border-bottom: 3px double var(--brick-light);
    padding: 14px;
  }
.gate-right {
    padding: 14px;
  }
.movie-title {
    font-size: 22px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-axis {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.region-one .recommend-grid, .region-two .recommend-grid, .region-three .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-bar {
    gap: 5px;
  }
.player-btn {
    font-size: 11px;
    padding: 3px 7px;
  }}
@media (max-width: 520px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 8px 10px;
  }
.site-brand {
    font-size: 17px;
  }
.page-main {
    padding: 0 10px;
  }
.section-heading {
    font-size: 16px;
  }
.gate-left, .gate-right {
    padding: 12px;
  }
.poster-frame {
    max-width: 240px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.region-one .recommend-grid, .region-two .recommend-grid, .region-three .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: minmax(0, 1fr);
  }
.player-progress {
    flex: 1 1 100%;
    order: 3;
  }
.player-volume {
    flex: 1 1 100%;
    order: 4;
  }
.timeline-axis::before {
    display: none;
  }}

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}
