*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #1a1820;
  color: #3a3530;
  min-height: 100vh;
  background-image: radial-gradient(ellipse at 50% 0%, #2d2830 0%, #1a1820 100%);
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
h1, h2, h3, p, dl, dd {
  margin: 0;
}
header[data-contract="header"] {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: #241f28;
  border-bottom: 1px solid #3a2f3a;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f2b880;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: linear-gradient(135deg, #f2b880 0%, #d98a5f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.2rem 0;
}
.site-logo:hover {
  opacity: 0.85;
}
nav[data-contract="categories"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  flex: 1;
  overflow: hidden;
}
.runtime-category {
  font-size: 0.8rem;
  color: #cbb8c8;
  padding: 0.2rem 0.4rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
  color: #f2b880;
  border-color: #f2b88055;
  background: #2d2830;
}
.runtime-category:focus-visible {
  outline: 2px solid #f2b880;
  outline-offset: 2px;
}
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
.movie-core {
  background: #f5ede4;
  border-radius: 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}
.poster-player-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 1.25rem 0;
  align-items: start;
}
.poster-frame {
  background: #3a2f3a;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  aspect-ratio: 2 / 3;
  align-self: start;
}
.main-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-wide {
  min-width: 0;
  min-height: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.player-wide video {
  display: block;
  background: #000;
}
.player-wide.theater-mode video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  width: 100dvw;
  height: auto;
  aspect-ratio: 16 / 9;
  z-index: 100;
  background: #000;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}
.player-wide.lights-dim video {
  filter: brightness(0.6) contrast(1.05);
}
.title-tagline-group {
  padding: 1.25rem 1.25rem 0.75rem;
}
.movie-title {
  font-size: 2rem;
  font-weight: 900;
  color: #3a2f3a;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #6b4a3a 0%, #3a2f3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tagline {
  font-size: 0.95rem;
  color: #8a6f5c;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.info-cluster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 0;
  padding: 0.5rem 1.25rem 1.25rem;
}
.cast-panel, .synopsis-block, .details-panel {
  padding: 0.75rem 1rem;
  min-width: 0;
}
.cast-panel {
  border-right: 1px solid #e0d2c4;
}
.synopsis-block {
  border-right: 1px solid #e0d2c4;
}
.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: #8a6f5c;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #f2b880;
  display: inline-block;
}
.actor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
}
.actor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3a2f3a;
  padding: 0.3rem 0.5rem;
  background: #f0e6da;
  border-radius: 0.5rem;
  text-align: center;
  transition: background 0.2s;
}
.actor-name:hover {
  background: #e8d9c8;
}
.synopsis-para {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #4a413c;
  margin-bottom: 0.55rem;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 1rem;
  background: #3a2f3a;
  border-radius: 0.6rem;
  margin-top: 0.5rem;
}
.status-label, .current-flag {
  font-size: 0.85rem;
  color: #f2b880;
  font-weight: 700;
}
.current-flag {
  color: #fff;
  background: #6b4a3a;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}
.total-episodes, .current-episode {
  color: inherit;
  font-weight: 800;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
}
.detail-item {
  display: flex;
  gap: 0.3rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.detail-item dt {
  color: #8a6f5c;
  font-weight: 600;
  white-space: nowrap;
}
.detail-item dd {
  color: #3a2f3a;
  font-weight: 500;
}
.timeline-section {
  padding: 1.5rem 0 2rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #f2b880;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f2b880, transparent);
  border-radius: 2px;
}
.timeline-track {
  position: relative;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #f2b880 0%, #6b4a3a 100%);
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  background: #f5ede4;
  border-radius: 0.6rem;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-left: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.85rem;
  width: 0.6rem;
  height: 0.6rem;
  background: #f2b880;
  border-radius: 50%;
  border: 2px solid #1a1820;
  box-shadow: 0 0 0 2px #f2b880;
}
.timecode {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b4a3a;
  background: #f0e6da;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.timeline-desc {
  font-size: 0.88rem;
  color: #4a413c;
  line-height: 1.5;
}
.episodes-section {
  padding: 1.5rem 0;
}
.episode-scroller {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.episode-card {
  background: #f5ede4;
  border-radius: 0.7rem;
  padding: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.episode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.ep-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: #f2b880;
  background: #3a2f3a;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  width: fit-content;
}
.ep-title {
  font-size: 1rem;
  font-weight: 700;
  color: #3a2f3a;
  line-height: 1.3;
}
.ep-summary {
  font-size: 0.82rem;
  color: #4a413c;
  line-height: 1.5;
}
.comments-section {
  padding: 1.5rem 0;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.comment-card {
  background: #2d2830;
  border-radius: 0.7rem;
  padding: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.comment-nick {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f2b880;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 0.85rem;
  color: #e8d9c8;
  line-height: 1.55;
}
.recommendation-region {
  padding: 1.5rem 0;
}
.rec-heading {
  font-size: 1.3rem;
  font-weight: 900;
  color: #f2b880;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
  position: relative;
  display: inline-block;
}
.rec-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f2b880, transparent);
  border-radius: 1px;
}
.rec-card-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
}
.rec-item {
  background: #f5ede4;
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: start;
}
.rec-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.rec-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.4rem;
  background: #3a2f3a;
}
.rec-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3a2f3a;
  line-height: 1.3;
  padding: 0 0.2rem;
}
.rec-blurb {
  font-size: 0.8rem;
  color: #8a6f5c;
  line-height: 1.4;
  padding: 0 0.2rem 0.2rem;
}
.player-control-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #3a2f3a;
  border-radius: 0.8rem;
  padding: 0.6rem 0.8rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.player-control-bar button {
  background: #241f28;
  color: #f2b880;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  border: 1px solid #4a3a4a;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.player-control-bar button:hover {
  background: #2d2830;
  border-color: #f2b880;
  color: #fff;
}
.player-control-bar button:focus-visible {
  outline: 2px solid #f2b880;
  outline-offset: 1px;
}
footer {
  background: #1f1b24;
  padding: 1.25rem;
  border-top: 1px solid #3a2f3a;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 0.75rem;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: #6b5a68;
  line-height: 1.5;
  max-width: 80ch;
}
.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.9rem;
  color: #cbb8c8;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #f2b880;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: center;
}
.friend-label {
  font-size: 0.8rem;
  color: #6b5a68;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.runtime-friend-link {
  font-size: 0.8rem;
  color: #8a7a88;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
  transition: color 0.2s, background 0.2s;
}
.runtime-friend-link:hover {
  color: #f2b880;
  background: #2d2830;
}
.player-wide.click video {
  cursor: pointer;
}
.player-wide.play video {
  border: 2px solid #f2b880;
}
.player-wide.progress video {
  box-shadow: inset 0 0 0 3px #f2b880;
}
.player-wide.volume video {
  box-shadow: inset 0 0 0 3px #4a9f7a;
}
.player-wide.mute video {
  opacity: 0.85;
}
.player-wide.speed video {
  box-shadow: inset 0 0 0 3px #b8865a;
}
.player-wide.pip video {
  border: 3px dashed #f2b880;
}
.player-wide.fullscreen video {
  border-radius: 0;
}
.player-wide.light video {
  filter: brightness(1.1);
}
.player-wide.lights-dim::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99;
  pointer-events: none;
}
.player-wide.theater-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 98;
  pointer-events: none;
}
.player-wide.theater-mode video {
  z-index: 100;
}
@media (max-width: 1024px) {.movie-core {
    border-radius: 1rem;
  }
.poster-player-wrap {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
  }
.info-cluster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
.details-panel {
    grid-column: 1 / -1;
    border-top: 1px solid #e0d2c4;
  }
.details-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 768px) {header[data-contract="header"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
  }
nav[data-contract="categories"] {
    width: 100%;
  }
.poster-player-wrap {
    grid-template-columns: 1fr;
    padding: 0.8rem 0.8rem 0;
  }
.poster-frame {
    max-width: 220px;
    margin: 0 auto;
  }
.player-wide {
    min-width: 0;
  }
.title-tagline-group {
    padding: 0.9rem 0.9rem 0.6rem;
  }
.movie-title {
    font-size: 1.6rem;
  }
.info-cluster {
    grid-template-columns: 1fr;
    padding: 0.4rem 0.8rem 0.8rem;
  }
.cast-panel, .synopsis-block {
    border-right: none;
    border-bottom: 1px solid #e0d2c4;
  }
.details-panel {
    grid-column: 1 / -1;
    border-top: none;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
.timeline-track {
    padding-left: 1.2rem;
  }
.timeline-item {
    flex-direction: column;
    gap: 0.3rem;
  }
.timeline-item::before {
    left: -1.05rem;
  }
.episode-scroller {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem;
  }
.comment-grid {
    grid-template-columns: 1fr;
  }
.rec-card-wall {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
  }
.player-control-bar {
    justify-content: center;
  }}
@media (max-width: 480px) {main {
    padding: 0.75rem 0.5rem 2rem;
  }
.movie-core {
    border-radius: 0.8rem;
  }
.poster-player-wrap {
    padding: 0.5rem 0.5rem 0;
  }
.poster-frame {
    max-width: 180px;
  }
.movie-title {
    font-size: 1.3rem;
  }
.tagline {
    font-size: 0.85rem;
  }
.actor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: 1fr;
  }
.detail-item {
    flex-wrap: wrap;
  }
.timeline-item {
    padding: 0.5rem;
  }
.timecode {
    font-size: 0.75rem;
  }
.timeline-desc {
    font-size: 0.82rem;
  }
.episode-scroller {
    grid-template-columns: 1fr;
  }
.episode-card {
    padding: 0.6rem;
  }
.rec-card-wall {
    grid-template-columns: 1fr;
  }
.rec-item img {
    aspect-ratio: 16 / 9;
  }
.player-control-bar {
    gap: 0.3rem;
    padding: 0.5rem;
  }
.player-control-bar button {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    flex: 1 1 auto;
    text-align: center;
  }
.footer-nav {
    flex-direction: column;
    gap: 0.4rem;
  }
.friend-links {
    flex-direction: column;
    align-items: flex-start;
  }}

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}
