*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #2b2320;
  color: #e8dcc8;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: 0.02em;
}
img { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: #1f1a18;
  border-bottom: 1px solid #4a3f38;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}
.site-brand {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #d4a648;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-family: "Noto Sans SC", sans-serif;
  color: #b5a48f;
  text-decoration: none;
  border: 1px solid #4a3f38;
  border-radius: 2px;
  background: #332b28;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.runtime-category:hover {
  background: #4a3f38;
  color: #d4a648;
}
main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section-heading {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #d4a648;
  margin-bottom: 14px;
  text-transform: uppercase;
  position: relative;
  padding-left: 14px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 6px;
  height: 6px;
  background: #d4a648;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(212, 166, 72, 0.6);
}
.movie-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  background: #241e1b;
  border: 1px solid #4a3f38;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}
.movie-shell::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(100, 80, 60, 0.08), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(60, 80, 100, 0.06), transparent 60%);
}
.poster-column {
  background: #1a1613;
  border-right: 1px solid #4a3f38;
  padding: 0;
}
.poster-frame {
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #1a1613;
}
.poster-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 35, 32, 0.3) 0%, transparent 40%),
              radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.4), transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: sepia(0.3) contrast(1.05);
}
.info-column {
  padding: 20px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.title-tagline-block {
  border-bottom: 1px solid #4a3f38;
  padding-bottom: 14px;
}
.movie-title {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #f0e6d2;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}
.tagline {
  font-size: 0.95rem;
  color: #d4a648;
  font-style: italic;
  letter-spacing: 0.1em;
}
.cast-section { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.actor-card {
  background: #2b2320;
  border: 1px solid #3d3530;
  padding: 12px 8px 10px;
  text-align: center;
  position: relative;
}
.actor-card::before {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 12px; height: 12px;
  background: linear-gradient(135deg, #4a3f38 50%, transparent 50%);
}
.actor-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #8b7355 0%, #5a4a3a 100%);
  position: relative;
  border: 2px solid #4a3f38;
}
.actor-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(240, 230, 210, 0.4) 0%, transparent 20%),
    radial-gradient(circle at 60% 60%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}
.actor-name {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #f0e6d2;
  margin-bottom: 2px;
}
.actor-role {
  font-size: 0.75rem;
  color: #b5a48f;
}
.synopsis-section { min-width: 0; }
.synopsis-text p {
  margin-bottom: 10px;
  text-align: justify;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #ddd0bc;
}
.synopsis-text p:last-child { margin-bottom: 0; }
.episode-status-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #1f1a18;
  border-left: 3px solid #d4a648;
}
.status-label {
  font-size: 0.8rem;
  color: #b5a48f;
  font-family: "Noto Sans SC", sans-serif;
}
.status-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d4a648;
}
.status-divider {
  color: #4a3f38;
}
.details-panel { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 16px;
}
.detail-item {
  display: flex;
  gap: 6px;
  font-size: 0.82rem;
  padding: 4px 0;
  border-bottom: 1px dotted #3d3530;
}
.detail-item dt {
  color: #b5a48f;
  white-space: nowrap;
}
.detail-item dd {
  color: #f0e6d2;
  font-weight: 500;
}
.rating-gold {
  color: #d4a648 !important;
  font-weight: 700;
  font-size: 1.1rem;
}
.player-panel {
  background: #1f1a18;
  border: 1px solid #4a3f38;
  padding: 16px;
}
.player-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  background: #000;
}
.player-wrapper video {
  display: block;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #332b28;
  border-top: 1px solid #4a3f38;
  flex-wrap: wrap;
}
.ctrl-btn {
  font-size: 0.9rem;
  color: #ddd0bc;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.2s;
}
.ctrl-btn:hover {
  background: #4a3f38;
}
.ctrl-progress {
  font-family: monospace;
  font-size: 0.8rem;
  color: #d4a648;
  margin-right: auto;
}
.playing { color: #d4a648; }
.volume-high { color: #d4a648; }
.muted { color: #a85a4a; }
.speed-changed { color: #d4a648; }
.theater-mode {
  background: #000;
  border-color: #000;
}
.theater-mode .player-wrapper {
  max-width: 100%;
}
.lights-off {
  background: #0a0806;
}
.timeline-section {
  background: #241e1b;
  border: 1px solid #4a3f38;
  padding: 20px 24px;
}
.timeline-container {
  position: relative;
  padding-left: 20px;
}
.timeline-container::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #d4a648 0%, #4a3f38 50%, #d4a648 100%);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 24px;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 6px 16px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 14px;
  width: 10px;
  height: 10px;
  background: #d4a648;
  border-radius: 50%;
  border: 2px solid #241e1b;
  box-shadow: 0 0 0 2px #4a3f38;
}
.timecode {
  font-family: "Noto Sans SC", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d4a648;
  white-space: nowrap;
  min-width: 48px;
}
.timeline-label {
  font-size: 0.85rem;
  color: #ddd0bc;
  line-height: 1.4;
}
.episodes-section {
  background: #241e1b;
  border: 1px solid #4a3f38;
  padding: 20px 24px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.episode-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num summary summary";
  gap: 2px 10px;
  padding: 10px 12px;
  background: #2b2320;
  border-left: 3px solid #4a3f38;
  transition: border-color 0.2s, background 0.2s;
}
.episode-row:hover {
  border-left-color: #d4a648;
  background: #332b28;
}
.ep-number {
  grid-area: num;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #4a3f38;
  line-height: 1;
}
.ep-title {
  grid-area: title;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f0e6d2;
}
.ep-duration {
  grid-area: dur;
  font-size: 0.7rem;
  color: #b5a48f;
  white-space: nowrap;
  align-self: center;
}
.ep-summary {
  grid-area: summary;
  font-size: 0.8rem;
  color: #b5a48f;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actor-news-section {
  background: #241e1b;
  border: 1px solid #4a3f38;
  padding: 20px 24px;
}
.empty-note {
  font-size: 0.85rem;
  color: #8a7a6a;
  font-style: italic;
}
.comments-section {
  background: #241e1b;
  border: 1px solid #4a3f38;
  padding: 20px 24px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.comment-card {
  background: #2b2320;
  border: 1px solid #3d3530;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-nick {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d4a648;
}
.comment-text {
  font-size: 0.8rem;
  color: #ddd0bc;
  line-height: 1.5;
}
.recommendation-region {
  background: #241e1b;
  border: 1px solid #4a3f38;
  padding: 20px 24px;
}
.rec-heading {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #d4a648;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #2b2320;
  border: 1px solid #3d3530;
  transition: border-color 0.2s, transform 0.15s;
  color: inherit;
  text-decoration: none;
}
a[data-runtime="recommendation"]:hover {
  border-color: #d4a648;
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #1a1613;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #f0e6d2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.75rem;
  color: #b5a48f;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
footer {
  background: #1f1a18;
  border-top: 1px solid #4a3f38;
  padding: 24px 24px 32px;
  margin-top: 20px;
}
.footer-meta {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8rem;
  color: #8a7a6a;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-family: "Noto Sans SC", sans-serif;
  color: #b5a48f;
  text-decoration: none;
}
.footer-links a:hover {
  color: #d4a648;
}
.friend-links {
  max-width: 1320px;
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-size: 0.8rem;
}
.friend-label {
  color: #8a7a6a;
  white-space: nowrap;
}
.runtime-friend-link {
  color: #b5a48f;
  text-decoration: none;
  border-bottom: 1px dotted #4a3f38;
  padding-bottom: 1px;
}
.runtime-friend-link:hover {
  color: #d4a648;
  border-bottom-color: #d4a648;
}
a[data-contract="site-name"], a[data-contract="site-name"]:visited {
  color: #d4a648;
  text-decoration: none;
}
a[data-contract="footer-home"], a[data-contract="footer-home"]:visited, a[data-contract="footer-sitemap"], a[data-contract="footer-sitemap"]:visited {
  color: #b5a48f;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #d4a648;
}
@media (max-width: 900px) {main {
    padding: 16px 12px 32px;
    gap: 20px;
  }
.movie-shell {
    grid-template-columns: 1fr;
  }
.poster-column {
    border-right: none;
    border-bottom: 1px solid #4a3f38;
  }
.poster-frame {
    max-width: 260px;
    margin: 0 auto;
  }
.info-column {
    padding: 16px;
  }
.movie-title {
    font-size: 1.4rem;
  }
.cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, 1fr);
  }
.timeline-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.episode-list {
    grid-template-columns: 1fr;
  }
.comments-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 600px) {body {
    font-size: 14px;
  }
header {
    padding: 10px 14px;
    gap: 8px;
  }
.site-brand {
    font-size: 1rem;
  }
.category-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
.movie-title {
    font-size: 1.2rem;
  }
.cast-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
.actor-card {
    padding: 8px 4px;
  }
.actor-avatar {
    width: 44px;
    height: 44px;
  }
.details-list {
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
  }
.detail-item {
    font-size: 0.75rem;
  }
.episode-status-block {
    gap: 6px;
    padding: 8px 10px;
  }
.player-panel {
    padding: 8px;
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
.ctrl-btn {
    padding: 3px 6px;
    font-size: 0.8rem;
  }
.timeline-section, .episodes-section, .actor-news-section, .comments-section, .recommendation-region {
    padding: 14px 12px;
  }
.timeline-list {
    grid-template-columns: 1fr;
  }
.episode-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
a[data-runtime="recommendation"] {
    padding: 6px;
  }
.footer-meta {
    padding: 0 8px;
  }
.friend-links {
    gap: 6px 12px;
  }}

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}
