:root {
  --ink: #2a211c;
  --ink-soft: #4a3b33;
  --ink-faint: #6b584d;
  --warm-grey: #d8cfc4;
  --warm-grey-deep: #c4b8a9;
  --paper: #efe7dc;
  --paper-dim: #e4d9cb;
  --red: #7d2020;
  --red-deep: #5c1616;
  --red-bright: #a52a2a;
  --amber: #c98a3a;
  --line: rgba(90, 60, 40, 0.28);
  --shadow: rgba(40, 24, 16, 0.22);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #3a2b24;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(201, 138, 58, 0.16), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(125, 32, 32, 0.28), transparent 50%),
    linear-gradient(180deg, #45342b 0%, #2f221c 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Heiti SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
h1, h2, h3, .section-heading, .movie-title, .episode-title, .cast-name, .recommend-name {
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  font-weight: 700;
}
.site-header {
  background: linear-gradient(180deg, #2b1e18 0%, #3a2a22 100%);
  border-bottom: 1px solid rgba(201, 138, 58, 0.35);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0dfc4;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12.5px;
  color: #e6d6bd;
  border: 1px solid rgba(201, 138, 58, 0.45);
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  background: rgba(125, 32, 32, 0.28);
  transition: background 0.15s ease, color 0.15s ease;
}
a.runtime-category:hover {
  background: var(--red);
  color: #fff3e0;
  border-color: var(--red-bright);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-overview {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dim) 100%);
  border: 1px solid rgba(90, 60, 40, 0.35);
  box-shadow: 0 6px 22px var(--shadow);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  position: relative;
}
.hero-visual {
  align-self: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(90, 60, 40, 0.4);
  box-shadow: 0 4px 14px var(--shadow);
  background: #241a15;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(125, 32, 32, 0.14) 0%, transparent 40%, rgba(43, 30, 24, 0.42) 100%);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  min-width: 0;
}
.hero-slogan {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--red);
  padding: 2px 0 2px 10px;
  border-left: 3px solid var(--red);
}
.movie-title {
  font-size: 30px;
  line-height: 1.2;
  color: #2b1d16;
  letter-spacing: 0.04em;
}
.hero-lead {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 62ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  padding: 2px 9px;
  border: 1px solid var(--line);
  background: rgba(216, 207, 196, 0.55);
  color: var(--ink-soft);
  border-radius: 2px;
  white-space: nowrap;
}
.status-chip-current {
  background: var(--red);
  border-color: var(--red-deep);
  color: #fbeedd;
}
.status-chip-score {
  background: #b8792c;
  border-color: #8c5a1c;
  color: #fff6e6;
  font-weight: 700;
}
.status-chip-platform {
  background: rgba(43, 30, 24, 0.82);
  border-color: #1e1410;
  color: #ecd9bd;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.action-button {
  font-size: 13px;
  padding: 6px 16px;
  border: 1px solid var(--red-deep);
  background: linear-gradient(180deg, #8e2626 0%, #641a1a 100%);
  color: #fdf0dd;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.action-button:hover {
  filter: brightness(1.14);
}
.action-button:active {
  transform: translateY(1px);
}
.action-theater {
  background: linear-gradient(180deg, #3c2a21 0%, #241812 100%);
  border-color: #1a110c;
  color: #e8d3b4;
}
.action-light {
  background: linear-gradient(180deg, #e2cdae 0%, #c9ac86 100%);
  border-color: #a98a63;
  color: #3a2a20;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #1d1411;
  border: 1px solid rgba(90, 60, 40, 0.5);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--amber), 0 8px 26px rgba(0, 0, 0, 0.45);
}
.player-shell.is-light {
  background: #4a382c;
}
.player-shell.is-playing {
  border-color: var(--red-bright);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 4px 2px 2px;
}
.control-button {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 138, 58, 0.4);
  background: rgba(60, 42, 33, 0.85);
  color: #e8d3b4;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.control-button:hover {
  background: var(--red);
  border-color: var(--red-bright);
  color: #fdf0dd;
}
.control-button.is-active {
  background: var(--amber);
  border-color: #8c5a1c;
  color: #2b1d16;
  font-weight: 700;
}
.control-slider {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 150px;
  min-width: 120px;
}
.control-label {
  font-size: 11.5px;
  color: #cbb498;
  white-space: nowrap;
}
.control-slider input[type="range"] {
  width: 100%;
  min-width: 60px;
  accent-color: var(--red-bright);
  height: 16px;
  cursor: pointer;
}
.control-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.control-select select {
  font: inherit;
  font-size: 12px;
  padding: 3px 6px;
  background: rgba(60, 42, 33, 0.85);
  color: #e8d3b4;
  border: 1px solid rgba(201, 138, 58, 0.4);
  border-radius: 2px;
}
.cast-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-heading {
  font-size: 17px;
  letter-spacing: 0.1em;
  color: #33241c;
  padding-left: 9px;
  border-left: 4px solid var(--red);
  line-height: 1.3;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px;
}
.cast-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(216, 207, 196, 0.6);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #8e2626, #4d1414);
  color: #f4e2c6;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 15px;
  border-radius: 50%;
  border: 1px solid rgba(201, 138, 58, 0.5);
}
.cast-name {
  font-size: 15px;
  color: #2b1d16;
  line-height: 1.25;
}
.cast-role {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 9px;
  break-inside: avoid;
}
.details-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: rgba(239, 231, 220, 0.96);
}
.detail-key {
  font-size: 12px;
  color: var(--red);
  flex: 0 0 auto;
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 12.5px;
  color: #33241c;
  margin: 0;
  min-width: 0;
}
.timeline-section {
  background: linear-gradient(180deg, #40302a 0%, #2c201a 100%);
  border: 1px solid rgba(201, 138, 58, 0.3);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 5px 18px var(--shadow);
}
.timeline-section .section-heading {
  color: #f0dfc4;
  border-left-color: var(--amber);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  position: relative;
  align-items: start;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(201, 138, 58, 0.75) 0 14px, transparent 14px 22px);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid #2c201a;
  box-shadow: 0 0 0 1px rgba(201, 138, 58, 0.8);
}
.timeline-timecode {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 13px;
  font-weight: 700;
  color: #f2c98a;
  letter-spacing: 0.08em;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: #d6c3ab;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 9px;
  align-items: baseline;
  padding: 8px 10px;
  background: rgba(239, 231, 220, 0.94);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  align-self: start;
}
.episode-number {
  grid-row: 1;
  grid-column: 1;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff0dc;
  background: var(--red);
  padding: 1px 7px;
  border-radius: 2px;
  white-space: nowrap;
}
.episode-title {
  grid-row: 1;
  grid-column: 2;
  font-size: 15px;
  color: #2b1d16;
  line-height: 1.3;
}
.episode-summary {
  grid-row: 2;
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 4px;
}
.episode-duration {
  grid-row: 3;
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 3px;
  letter-spacing: 0.05em;
}
.sidebar-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comments-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dim) 100%);
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px var(--shadow);
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-card {
  padding: 7px 9px;
  background: rgba(216, 207, 196, 0.5);
  border-left: 3px solid rgba(125, 32, 32, 0.6);
  border-radius: 0 2px 2px 0;
}
.comment-nickname {
  display: block;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.recommend-region {
  background: linear-gradient(180deg, #40302a 0%, #2c201a 100%);
  border: 1px solid rgba(201, 138, 58, 0.28);
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px var(--shadow);
  align-self: start;
}
.recommend-region .section-heading {
  font-size: 14px;
  color: #f0dfc4;
  border-left-color: var(--amber);
  letter-spacing: 0.06em;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(239, 231, 220, 0.94);
  border: 1px solid rgba(90, 60, 40, 0.4);
  border-radius: 2px;
  overflow: hidden;
  color: #2b1d16;
  text-decoration: none;
  align-self: start;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #241a15;
}
.recommend-name {
  font-size: 12.5px;
  line-height: 1.35;
  color: #2b1d16;
  padding: 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  padding: 0 7px 7px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  background: linear-gradient(180deg, #2b1e18 0%, #1e1411 100%);
  border-top: 1px solid rgba(201, 138, 58, 0.3);
  padding: 14px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: #a8947e;
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #e2cba8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(201, 138, 58, 0.25);
}
.friend-links-label {
  font-size: 12px;
  color: #f2c98a;
  font-family: "Songti SC", "SimSun", serif;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #b8a48c;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: #f0dfc4;
  text-decoration: underline;
}
.is-active {
  outline: 1px solid var(--amber);
}
[data-player-action].change, [data-player-action].click {
  transition: filter 0.12s ease;
}
@media (max-width: 1080px) {.sidebar-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }}
@media (max-width: 860px) {.overview-hero {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 14px;
  }
.movie-title {
    font-size: 25px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.page-main {
    padding: 10px 12px 16px;
    gap: 11px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.sidebar-column {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-visual {
    max-width: 220px;
  }
.poster-frame img {
    width: 100%;
  }
.synopsis-body {
    columns: 1;
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
  }
.timeline-track::before {
    display: none;
  }
.movie-title {
    font-size: 22px;
  }
.hero-lead {
    font-size: 13px;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }}
@media (max-width: 520px) {.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  }
.player-controls {
    gap: 6px 8px;
  }
.control-slider {
    flex: 1 1 100%;
  }
.action-button {
    padding: 6px 12px;
    font-size: 12.5px;
  }
.site-footer {
    padding: 12px 12px 18px;
  }}

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}
