*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #1a1d24;
  color: #e8dfd0;
  line-height: 1.7;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input[type="range"] {
  accent-color: #c9a35e;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 29, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 163, 94, 0.15);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #c9a35e;
  white-space: nowrap;
  transition: color 0.2s;
}
a[data-contract="site-name"]:hover {
  color: #e6c98a;
}
.categories-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #b8b2a6;
  border: 1px solid rgba(201, 163, 94, 0.25);
  white-space: nowrap;
  transition: all 0.2s;
  line-height: 1.5;
}
a.runtime-category:hover {
  color: #1a1d24;
  background: #c9a35e;
  border-color: #c9a35e;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-panel {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 -28px 0;
}
.hero-media {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-portrait {
  width: 100%;
  height: 86vh;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.85) contrast(1.05) brightness(0.75);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 29, 36, 0.92) 0%, rgba(26, 29, 36, 0.6) 30%, rgba(26, 29, 36, 0.3) 55%, rgba(26, 29, 36, 0.7) 100%);
}
.hero-glow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 460px;
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(201, 163, 94, 0.35) 0%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  border: 1px solid rgba(232, 223, 208, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}
.scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #c9a35e;
  border-bottom: 2px solid #c9a35e;
  transform: rotate(45deg);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: rotate(45deg) translateY(-3px); opacity: 1; }
  50% { transform: rotate(45deg) translateY(10px); opacity: 0.4; }
}
.movie-overview {
  background: rgba(32, 36, 45, 0.6);
  border-radius: 20px;
  padding: 28px 28px 20px;
  margin: 32px 0 40px;
  border: 1px solid rgba(201, 163, 94, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.overview-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.poster-column {
  position: sticky;
  top: 80px;
}
.poster-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 163, 94, 0.15);
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}
.info-column {
  min-width: 0;
}
.movie-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.3;
  color: #f0e9dc;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.movie-tagline {
  color: #c9a35e;
  font-size: 1rem;
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: 0.03em;
}
.block-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: #c9a35e;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 163, 94, 0.2);
  letter-spacing: 0.05em;
}
.synopsis-text p {
  margin-bottom: 10px;
  color: #cfc9bd;
  font-size: 0.95rem;
  line-height: 1.8;
}
.timeline-vertical {
  position: relative;
  padding-left: 28px;
}
.timeline-vertical::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, #c9a35e, rgba(201, 163, 94, 0.2));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 16px;
  width: 10px;
  height: 10px;
  background: #c9a35e;
  border-radius: 50%;
  border: 2px solid #1a1d24;
  box-shadow: 0 0 6px rgba(201, 163, 94, 0.6);
}
.timeline-code {
  font-size: 0.9rem;
  color: #c9a35e;
  font-weight: 600;
  white-space: nowrap;
  min-width: 90px;
}
.timeline-label {
  color: #b8b2a6;
  font-size: 0.9rem;
}
.cast-block {
  margin-top: 36px;
  border-top: 1px solid rgba(201, 163, 94, 0.1);
  padding-top: 24px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cast-card {
  background: rgba(26, 29, 36, 0.6);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 163, 94, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
}
.cast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.cast-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.8) contrast(1.05);
  transition: filter 0.3s, transform 0.3s;
}
.cast-card:hover .cast-photo img {
  filter: saturate(0.95) brightness(0.9);
  transform: scale(1.03);
}
.cast-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  color: #f0e9dc;
  padding: 10px 12px 2px;
}
.cast-role {
  font-size: 0.8rem;
  color: #c9a35e;
  padding: 0 12px 12px;
}
.overview-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(201, 163, 94, 0.1);
  padding-top: 20px;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.status-label {
  color: #b8b2a6;
  font-size: 0.9rem;
  min-width: 70px;
}
.status-value {
  color: #f0e9dc;
  font-weight: 600;
}
.details-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.details-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(201, 163, 94, 0.15);
}
.detail-label {
  color: #b8b2a6;
  font-size: 0.85rem;
}
.detail-value {
  color: #f0e9dc;
  font-size: 0.9rem;
  text-align: right;
}
.player-wrapper {
  margin-top: 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0e12;
  border: 1px solid rgba(201, 163, 94, 0.15);
  position: relative;
}
.player-wrapper video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.player-wrapper.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 1000;
  border-radius: 0;
  background: #000;
}
.player-wrapper.theater-mode video {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(13, 14, 18, 0.95);
  flex-wrap: wrap;
}
.player-controls button {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(201, 163, 94, 0.1);
  border: 1px solid rgba(201, 163, 94, 0.2);
  font-size: 0.8rem;
  color: #e0d7c8;
  transition: background 0.2s;
}
.player-controls button:hover {
  background: rgba(201, 163, 94, 0.3);
}
.player-controls input[type="range"] {
  flex: 1;
  min-width: 80px;
  height: 4px;
}
body.light-off .site-header, body.light-off .page-main, body.light-off .site-footer {
  filter: brightness(0.35) saturate(0.6);
  transition: filter 0.4s;
}
body.light-off .player-wrapper {
  filter: brightness(1.6);
}
.episodes-block {
  margin: 48px 0 40px;
}
.episodes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.episode-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 12px;
  background: rgba(32, 36, 45, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(201, 163, 94, 0.08);
  transition: background 0.2s, border-color 0.2s;
  align-content: start;
}
.episode-item:hover {
  background: rgba(32, 36, 45, 0.9);
  border-color: rgba(201, 163, 94, 0.25);
}
.episode-number {
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: center;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 163, 94, 0.15);
  border: 1px solid rgba(201, 163, 94, 0.4);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c9a35e;
  font-family: Georgia, serif;
}
.episode-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.episode-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #f0e9dc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  font-size: 0.75rem;
  color: #8a857c;
  white-space: nowrap;
}
.episode-summary {
  grid-column: 2;
  font-size: 0.82rem;
  color: #a9a399;
  margin-top: 4px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.episode-item:hover .episode-summary {
  max-height: 80px;
}
.comments-block {
  margin: 48px 0 40px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.comment-bubble {
  background: rgba(32, 36, 45, 0.7);
  border-radius: 16px;
  padding: 16px 18px;
  position: relative;
  border: 1px solid rgba(201, 163, 94, 0.1);
}
.comment-bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid rgba(201, 163, 94, 0.1);
  border-top: 1px solid rgba(201, 163, 94, 0.1);
  transform: rotate(45deg);
}
.comment-nickname {
  font-family: Georgia, "Times New Roman", serif;
  color: #c9a35e;
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.comment-text {
  color: #cfc9bd;
  font-size: 0.9rem;
  line-height: 1.6;
}
.recommendation-region {
  margin: 32px 0 36px;
}
.recommendation-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  color: #c9a35e;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 163, 94, 0.3);
  letter-spacing: 0.05em;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(32, 36, 45, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(201, 163, 94, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: inherit;
  min-width: 0;
}
a.recommendation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 163, 94, 0.35);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.75) brightness(0.8) contrast(1.05);
  transition: filter 0.3s;
  background: #2a2e36;
}
a.recommendation-card:hover img {
  filter: saturate(0.9) brightness(0.9);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.9rem;
  color: #f0e9dc;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.78rem;
  color: #a9a399;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: rgba(13, 14, 18, 0.8);
  border-top: 1px solid rgba(201, 163, 94, 0.15);
  margin-top: 40px;
  padding: 28px 0;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #b8b2a6;
  font-size: 0.9rem;
  transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #c9a35e;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.friend-links-label {
  font-size: 0.85rem;
  color: #8a857c;
}
a.runtime-friend-link {
  font-size: 0.85rem;
  color: #b8b2a6;
  transition: color 0.2s;
}
a.runtime-friend-link:hover {
  color: #c9a35e;
}
.disclaimer-text {
  font-size: 0.8rem;
  color: #6e6a63;
  line-height: 1.6;
  border-top: 1px solid rgba(201, 163, 94, 0.1);
  padding-top: 16px;
}
@media (max-width: 1200px) {.page-main {
    padding: 0 20px;
  }
.hero-panel {
    margin: 0 -20px 0;
  }
.overview-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
  }
.episodes-list {
    grid-template-columns: repeat(2, 1fr);
  }
.recommendation-grid {
    grid-template-columns: repeat(3, 1fr);
  }}
@media (max-width: 992px) {.cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.overview-footer {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.details-list {
    grid-template-columns: 1fr 1fr;
  }
.hero-panel {
    min-height: 70vh;
  }
.hero-portrait {
    height: 70vh;
  }}
@media (max-width: 768px) {.header-inner {
    padding: 10px 16px;
    gap: 16px;
  }
.page-main {
    padding: 0 16px;
  }
.hero-panel {
    margin: 0 -16px 0;
    min-height: 60vh;
  }
.hero-portrait {
    height: 60vh;
    object-position: center 30%;
  }
.movie-overview {
    padding: 16px;
    border-radius: 16px;
  }
.overview-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
.poster-column {
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 1.6rem;
  }
.timeline-code {
    min-width: 70px;
    font-size: 0.82rem;
  }
.episodes-list {
    grid-template-columns: 1fr;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
.footer-inner {
    padding: 0 16px;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.hero-scroll-hint {
    width: 34px;
    height: 50px;
  }
.player-controls button {
    padding: 4px 8px;
    font-size: 0.7rem;
  }}
@media (max-width: 480px) {.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
.categories-nav {
    justify-content: flex-start;
  }
.cast-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
.cast-photo {
    aspect-ratio: 16/9;
  }
.recommendation-grid {
    grid-template-columns: 1fr;
  }
.timeline-item {
    flex-direction: column;
    gap: 2px;
  }
.timeline-code {
    min-width: 0;
  }
.episode-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
.episode-summary {
    max-height: none;
    overflow: visible;
  }
.hero-panel {
    min-height: 50vh;
  }
.hero-portrait {
    height: 50vh;
  }
.hero-scroll-hint {
    display: none;
  }
.player-controls input[type="range"] {
    flex-basis: 100%;
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }}

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}
