:root {
  --brown-deep: #1a100b;
  --brown: #2b1a12;
  --brown-soft: #3a2418;
  --caramel: #b5701f;
  --caramel-light: #d99a43;
  --cream: #f2e6d0;
  --cream-dim: #c9b79a;
  --copper: #6e8a72;
  --copper-deep: #4c6350;
  --line: rgba(181, 112, 31, 0.5);
  --line-soft: rgba(242, 230, 208, 0.14);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(181, 112, 31, 0.16) 0%, rgba(26, 16, 11, 0) 55%),
    radial-gradient(100% 80% at 5% 110%, rgba(110, 138, 114, 0.12) 0%, rgba(26, 16, 11, 0) 60%),
    var(--brown-deep);
  color: var(--cream);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--caramel-light);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(43, 26, 18, 0.96), rgba(26, 16, 11, 0.92));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(4px);
}
a[data-contract="site-name"] {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(217, 154, 67, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--caramel-light);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--cream-dim);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(58, 36, 24, 0.55);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--brown-deep);
  background: var(--caramel-light);
  border-color: var(--caramel-light);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  grid-template-areas:
    "media heading"
    "player player"
    "synopsis synopsis"
    "status status"
    "cast cast"
    "details details";
  gap: 14px 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(58, 36, 24, 0.92), rgba(26, 16, 11, 0.96)),
    var(--brown);
  border: 1px solid rgba(181, 112, 31, 0.35);
  border-radius: 3px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(242, 230, 208, 0.03);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(242, 230, 208, 0.06);
  pointer-events: none;
  border-radius: 2px;
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 260px;
  border: 1px solid rgba(181, 112, 31, 0.35);
  background: var(--brown-deep);
  overflow: hidden;
  border-radius: 2px;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.94);
}
.hero-caption {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", Georgia, serif;
  font-style: italic;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-align: right;
  padding: 5px 7px;
  background: linear-gradient(90deg, rgba(26, 16, 11, 0) 0%, rgba(26, 16, 11, 0.82) 40%);
  border-radius: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero-heading {
  grid-area: heading;
  align-self: start;
  min-width: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.movie-title {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  margin-top: 6px;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--caramel-light);
  letter-spacing: 0.04em;
}
.movie-seo {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.62;
  color: var(--cream-dim);
  max-width: 60ch;
}
.player-shell {
  grid-area: player;
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid rgba(181, 112, 31, 0.4);
  border-radius: 2px;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(26, 16, 11, 0.96), rgba(15, 9, 6, 0.98));
  border-top: 1px solid rgba(181, 112, 31, 0.25);
}
.player-controls button {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  background: rgba(58, 36, 24, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-controls button:hover {
  color: var(--brown-deep);
  background: var(--caramel-light);
  border-color: var(--caramel-light);
}
.player-controls button.is-active, .player-controls button.is-playing, .player-controls button.is-muted {
  color: var(--brown-deep);
  background: var(--caramel);
  border-color: var(--caramel-light);
  box-shadow: 0 0 10px rgba(217, 154, 67, 0.4);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 14px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(242, 230, 208, 0.18);
  border-radius: 2px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--caramel-light);
  border: none;
}
.player-controls input[type="range"]::-moz-range-track {
  height: 3px;
  background: rgba(242, 230, 208, 0.18);
  border-radius: 2px;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--caramel-light);
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.block-title {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--caramel-light);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.block-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--caramel);
}
.synopsis-block .block-title {
  margin-top: 2px;
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.68;
  color: var(--cream-dim);
  text-align: justify;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 7px;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: rgba(76, 99, 80, 0.4);
  border: 1px solid rgba(110, 138, 114, 0.55);
  border-radius: 999px;
}
.status-chip:first-child {
  color: var(--brown-deep);
  background: var(--caramel-light);
  border-color: var(--caramel-light);
  font-weight: 700;
}
.cast-block {
  grid-area: cast;
  min-width: 0;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 8px 4px;
  text-align: center;
  background: rgba(26, 16, 11, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: rgba(217, 154, 67, 0.55);
  background: rgba(58, 36, 24, 0.75);
}
.cast-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 34% 30%, rgba(242, 230, 208, 0.5) 0%, rgba(242, 230, 208, 0) 42%),
    linear-gradient(150deg, var(--copper) 0%, var(--brown-soft) 70%, var(--brown-deep) 100%);
  border: 1px solid rgba(217, 154, 67, 0.5);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cream);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.06em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.details-block {
  grid-area: details;
  min-width: 0;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(242, 230, 208, 0.1);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--copper);
  white-space: nowrap;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.timeline-section {
  padding: 14px 16px;
  background: rgba(43, 26, 18, 0.72);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--caramel);
  border-radius: 2px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 8px 0 8px 16px;
  border-bottom: 1px dotted rgba(242, 230, 208, 0.12);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--caramel);
  box-shadow: 0 0 0 2px rgba(26, 16, 11, 0.9), 0 0 9px rgba(217, 154, 67, 0.7);
}
.timeline-time {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--caramel-light);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.episodes-section {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  background: rgba(43, 26, 18, 0.6);
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(181, 112, 31, 0.55);
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  background: rgba(72, 45, 26, 0.85);
  border-color: rgba(217, 154, 67, 0.6);
  border-top-color: var(--caramel-light);
  box-shadow: 0 0 18px -4px rgba(217, 154, 67, 0.5), inset 0 0 22px rgba(217, 154, 67, 0.09);
  transform: translateY(-1px);
}
.episode-number {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--copper);
}
.episode-title {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.58;
  color: var(--cream-dim);
}
.episode-duration {
  margin-top: auto;
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--caramel-light);
  padding: 2px 7px;
  border: 1px solid rgba(181, 112, 31, 0.4);
  border-radius: 999px;
}
.comments-section {
  min-width: 0;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  padding: 6px 2px 10px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 12px;
  background: linear-gradient(165deg, #f4ead6 0%, #e5d5b6 100%);
  color: #33200f;
  border-radius: 1px;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: rotate(-1deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-note:nth-child(2n) {
  transform: rotate(1.1deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-1.6deg);
}
.comment-note:nth-child(5n) {
  transform: rotate(0.8deg);
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(181, 112, 31, 0.6);
}
.comment-nickname {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7a4712;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(122, 71, 18, 0.35);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #3d2716;
  text-align: justify;
}
.recommend-list-section {
  min-width: 0;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  display: flex;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(43, 26, 18, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(72, 45, 26, 0.85);
  border-color: rgba(217, 154, 67, 0.6);
  box-shadow: 0 0 16px -4px rgba(217, 154, 67, 0.45);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1px;
  background: var(--brown-deep);
  filter: saturate(0.9) contrast(1.05) brightness(0.92);
  transition: filter 0.18s ease;
}
a[data-runtime="recommendation"]:hover img {
  filter: saturate(1.05) contrast(1.05) brightness(1);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cream);
  line-height: 1.35;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  padding: 16px 16px 22px;
  background: linear-gradient(180deg, rgba(43, 26, 18, 0.9), rgba(15, 9, 6, 0.98));
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(201, 183, 154, 0.7);
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--caramel-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cream);
  border-bottom-color: var(--caramel);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--copper);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid var(--line-soft);
}
a.runtime-friend-link {
  font-size: 11px;
  color: rgba(201, 183, 154, 0.78);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(201, 183, 154, 0.35);
}
a.runtime-friend-link:hover {
  color: var(--caramel-light);
  border-bottom-color: var(--caramel-light);
}
body.lights-off {
  background: #0a0604;
}
body.lights-off .page-main {
  opacity: 0.55;
}
body.lights-off .player-shell {
  opacity: 1;
  box-shadow: 0 0 40px -6px rgba(217, 154, 67, 0.35);
}
body.theater-mode .site-header {
  opacity: 0.35;
}
body.theater-mode .player-shell {
  box-shadow: 0 0 0 1px rgba(217, 154, 67, 0.5), 0 20px 60px -20px rgba(0, 0, 0, 1);
}
@media (max-width: 980px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "heading"
      "player"
      "synopsis"
      "status"
      "cast"
      "details";
    gap: 12px;
  }
.hero-media {
    max-width: 200px;
  }
.movie-title {
    font-size: 22px;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.site-header {
    padding: 9px 12px;
    gap: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.page-main {
    padding: 12px 12px 22px;
    gap: 18px;
  }
.hero-panel {
    padding: 12px;
  }
.hero-media {
    max-width: 170px;
  }
.movie-title {
    font-size: 19px;
  }
.movie-seo {
    font-size: 11.5px;
  }
.player-controls {
    gap: 5px;
    padding: 6px 7px;
  }
.player-controls button {
    padding: 3px 7px;
    font-size: 10.5px;
  }
.player-controls input[type="range"] {
    flex: 1 1 100%;
    min-width: 100%;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-disclaimer {
    font-size: 10.5px;
  }}

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}
