*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 15px;
  scroll-behavior: smooth;
}
body {
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-weight: 300;
  line-height: 1.55;
  color: #3d2b1a;
  background-color: #f6f1e7;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
.site-header {
  background-color: #2e241c;
  color: #f5e9d8;
  padding: 0.75rem 1.25rem;
  border-bottom: 3px solid #c49a45;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.site-name-link {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #f5e9d8;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.site-name-link:hover {
  border-bottom-color: #c49a45;
  color: #e8c97a;
}
.categories-bar {
  display: flex;
  gap: 0.35rem 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.categories-bar a.runtime-category {
  color: #e0cfb5;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(196,154,69,0.35);
  border-radius: 12px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.categories-bar a.runtime-category:hover {
  background-color: rgba(196,154,69,0.15);
  color: #f5e9d8;
  border-color: #c49a45;
}
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
}
.hero-section {
  margin-bottom: 2.5rem;
}
.movie-overview {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  background: #fffaf1;
  border: 1px solid #e3d5bd;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(72, 50, 30, 0.06);
  overflow: hidden;
}
.poster-wrapper {
  grid-row: 1;
  grid-column: 1;
  background: #3d2b1a;
  padding: 0;
  align-self: start;
}
.main-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.overview-content {
  grid-column: 2;
  grid-row: 1;
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.movie-title {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #2e241c;
  margin-bottom: 0.15rem;
}
.tagline {
  font-size: 1rem;
  font-style: italic;
  color: #8a6f45;
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b5438;
  border-left: 3px solid #c49a45;
  padding-left: 0.6rem;
  margin-bottom: 0.55rem;
  margin-top: 0.35rem;
}
.cast-section {
  margin-top: 0.4rem;
}
.cast-card-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.cast-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: #faf3e6;
  border-radius: 3px;
  padding: 0.55rem 0.6rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.cast-card:hover {
  border-color: #d9c39a;
  background: #f7eede;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c49a45, #8a6f45);
  display: inline-block;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.cast-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.cast-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #3d2b1a;
  letter-spacing: 0.02em;
}
.cast-role {
  font-size: 0.78rem;
  color: #8a7a63;
}
.synopsis-block {
  margin-top: 0.2rem;
}
.synopsis-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4a3a28;
  margin-bottom: 0.5rem;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.episode-status-block {
  border-top: 1px solid #e8dcc9;
  padding-top: 0.9rem;
}
.status-meta {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.85rem;
  color: #6b5438;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.total-episodes {
  font-weight: 600;
  color: #3d2b1a;
}
.current-episode {
  background: #efe5d2;
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
}
.rating-info {
  font-weight: 400;
  color: #c49a45;
  letter-spacing: 0.02em;
}
.player-container {
  width: 100%;
  max-width: none;
  min-width: 480px;
  margin-top: 0.5rem;
}
video[data-contract="player"] {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  background: #1a1410;
  border-radius: 3px;
  border: 1px solid #d8c8ac;
}
.player-controls-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem 0.2rem 0;
  flex-wrap: wrap;
  align-items: center;
}
.player-controls-bar button {
  font-size: 0.75rem;
  color: #6b5438;
  border: 1px solid #d8c8ac;
  border-radius: 2px;
  padding: 0.2rem 0.6rem;
  background: #faf3e6;
  transition: background 0.15s, color 0.15s;
}
.player-controls-bar button:hover {
  background: #efe5d2;
  color: #3d2b1a;
}
.details-grid {
  border-top: 1px solid #e8dcc9;
  padding-top: 0.8rem;
  margin-top: 0.2rem;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  font-size: 0.85rem;
}
.detail-item {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
}
.detail-item dt {
  color: #8a7a63;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.detail-item dd {
  color: #3d2b1a;
  font-weight: 400;
}
.timeline-section {
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #e0d3bc;
  border-bottom: 1px solid #e0d3bc;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #2e241c;
  margin-bottom: 1.25rem;
  text-align: left;
  position: relative;
  padding-bottom: 0.4rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #c49a45;
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: #c49a45 #f0e8d8;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #f0e8d8;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #c49a45;
  border-radius: 3px;
}
.timeline-items {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  padding: 0.5rem 0.25rem;
  position: relative;
}
.timeline-items::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10px;
  right: 10px;
  border-top: 2px dashed #c49a45;
  opacity: 0.5;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #faf3e6;
  border: 1px solid #e0d3bc;
  border-radius: 4px;
  padding: 0.8rem 1rem;
  min-width: 180px;
  max-width: 220px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.2s, transform 0.2s;
}
.timeline-node:hover {
  box-shadow: 0 4px 12px rgba(72,50,30,0.1);
  transform: translateY(-2px);
}
.node-time {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c49a45;
  letter-spacing: 0.05em;
  background: #fff;
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  align-self: flex-start;
  border: 1px solid #e0d3bc;
}
.node-label {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4a3a28;
}
.episodes-section {
  margin: 2.5rem 0;
}
.episode-split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
  counter-reset: episode;
}
.episode-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px dotted #d8c8ac;
  align-items: baseline;
}
.episode-item:hover {
  background: #faf3e6;
}
.ep-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c49a45;
  letter-spacing: 0.02em;
}
.ep-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: #3d2b1a;
  letter-spacing: 0.03em;
}
.ep-summary {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.78rem;
  color: #7a6a55;
  line-height: 1.45;
}
.comments-area {
  margin: 2.5rem 0;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.comment-bubble {
  background: #fbf3e2;
  border: 1px solid #e8dcc9;
  border-radius: 4px;
  padding: 0.8rem 1rem;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4a3a28;
}
.comment-bubble p {
  display: inline;
}
.comment-user {
  font-weight: 600;
  color: #6b5438;
  margin-right: 0.35rem;
}
.recommendation-region {
  margin: 2.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid #e0d3bc;
}
.recommendation-region:first-of-type {
  border-top: none;
  padding-top: 0.5rem;
}
.recommendation-title {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #2e241c;
  margin-bottom: 1rem;
  text-align: left;
}
.recommendation-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.8rem;
}
.recommendation-card-row a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  background: #fffaf1;
  border: 1px solid #e3d5bd;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  align-self: start;
  min-width: 0;
}
.recommendation-card-row a[data-runtime="recommendation"]:hover {
  box-shadow: 0 4px 12px rgba(72,50,30,0.12);
  transform: translateY(-2px);
}
.recommendation-card-row a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #e0d3bc;
}
.recommendation-card-row a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3d2b1a;
  padding: 0.5rem 0.6rem 0.1rem;
  letter-spacing: 0.02em;
}
.recommendation-card-row a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.76rem;
  color: #7a6a55;
  padding: 0.1rem 0.6rem 0.65rem;
  line-height: 1.45;
}
.site-footer {
  background: #2e241c;
  color: #d8cdbc;
  padding: 2rem 1.25rem 1.5rem;
  margin-top: 3rem;
  border-top: 3px solid #c49a45;
}
.disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #a99d8b;
  max-width: 900px;
  margin: 0 auto 1.25rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.footer-link {
  color: #e8c97a;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #f5e9d8;
}
.friend-links {
  display: flex;
  gap: 0.4rem 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}
.friend-label {
  color: #a99d8b;
  margin-right: 0.25rem;
}
.runtime-friend-link {
  color: #d8cdbc;
  text-decoration: none;
  border-bottom: 1px dotted rgba(216,205,188,0.4);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #e8c97a;
  border-bottom-color: #e8c97a;
}
.player-container.theater-mode {
  max-width: none;
  width: 100%;
  background: #1a1410;
  padding: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  border-radius: 2px;
}
body.lights-dim {
  background-color: #1a1410;
}
body.lights-dim .main-content {
  filter: brightness(0.85);
  transition: filter 0.3s;
}
body.lights-dim .site-header {
  box-shadow: none;
}
@media (max-width: 1100px) {.movie-overview {
    grid-template-columns: 220px minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: 1fr;
  }
.poster-wrapper {
    grid-row: auto;
    grid-column: 1;
    max-width: 260px;
  }
.overview-content {
    grid-column: 1;
    grid-row: auto;
  }
.episode-split-list {
    grid-template-columns: 1fr;
  }
.comment-grid {
    grid-template-columns: 1fr;
  }
.header-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
.categories-bar {
    justify-content: flex-start;
    width: 100%;
  }}
@media (max-width: 640px) {html {
    font-size: 14px;
  }
.main-content {
    padding: 0.75rem 0.75rem 2rem;
  }
.movie-title {
    font-size: 1.5rem;
  }
.cast-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
.cast-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
.cast-info {
    align-items: center;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-items {
    min-width: max-content;
  }
.recommendation-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.poster-wrapper {
    max-width: 200px;
  }
.status-meta {
    flex-direction: column;
    gap: 0.3rem;
  }
.player-controls-bar {
    gap: 0.25rem;
  }
.player-controls-bar button {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
  }}
@media (max-width: 420px) {.cast-card-list {
    grid-template-columns: 1fr 1fr;
  }
.cast-avatar {
    width: 30px;
    height: 30px;
  }
.cast-name {
    font-size: 0.85rem;
  }
.cast-role {
    font-size: 0.72rem;
  }
.recommendation-card-row {
    grid-template-columns: 1fr;
    max-width: 240px;
    margin: 0 auto;
  }
.episode-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
.ep-number {
    font-size: 0.75rem;
  }
.ep-title {
    font-size: 0.85rem;
  }
.ep-summary {
    font-size: 0.72rem;
  }
.comment-bubble {
    font-size: 0.82rem;
  }
.footer-links {
    gap: 1rem;
  }}

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}
