*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #e8dcc0;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(214, 178, 106, 0.28), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(107, 124, 118, 0.24), transparent 46%),
    linear-gradient(160deg, rgba(255, 244, 214, 0.5), rgba(196, 186, 158, 0.42));
  color: #2e2a22;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
a {
  color: #7a4a1e;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  background: linear-gradient(180deg, #3a3226, #2a2419);
  border-bottom: 3px solid #b08a44;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px 8px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"], .brand {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #f0dfae;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
a[data-contract="site-name"]:hover, .brand:hover {
  color: #ffd98a;
}
.category-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.8rem;
  padding: 2px 10px;
  color: #e6d5a8;
  text-decoration: none;
  background: rgba(176, 138, 68, 0.18);
  border: 1px solid rgba(176, 138, 68, 0.55);
  border-radius: 2px;
}
a.runtime-category:hover {
  color: #2a2419;
  background: #d8b56a;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 8px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  margin-bottom: 22px;
  background: linear-gradient(150deg, #f6ecd2, #e6d8b6 62%, #ddd0ad);
  border: 1px solid #c3ab77;
  border-radius: 3px;
  box-shadow: 0 1px 0 #fffbe9 inset, 0 3px 10px rgba(60, 46, 22, 0.16);
}
.hero-media {
  align-self: start;
}
.poster-wrapper {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #a98b52;
  border-radius: 2px;
  overflow: hidden;
  background: #241f16;
  box-shadow: 0 4px 12px rgba(46, 34, 14, 0.35);
}
.poster-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 231, 170, 0.16), rgba(52, 44, 30, 0.24));
  mix-blend-mode: multiply;
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: sepia(0.32) contrast(1.05) saturate(0.86);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #43301a;
  text-shadow: 0 1px 0 rgba(255, 250, 232, 0.85);
}
.movie-tagline {
  font-size: 0.92rem;
  color: #6b5a3c;
  padding-left: 10px;
  border-left: 3px solid #b08a44;
  letter-spacing: 0.08em;
}
.player-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #1d1a14;
  border: 1px solid #8d7440;
  border-radius: 3px;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(38, 28, 12, 0.3);
}
.player-wrapper.is-lights-off {
  background: #0b0a07;
  border-color: #4d3f22;
}
.player-wrapper.is-lights-off .main-player {
  filter: brightness(1.12) contrast(1.06);
}
.player-wrapper.is-theater {
  padding: 4px;
  border-color: #d8b56a;
  box-shadow: 0 0 0 2px rgba(216, 181, 106, 0.4), 0 4px 16px rgba(38, 28, 12, 0.4);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  filter: sepia(0.18) contrast(1.02);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.player-btn {
  flex: 0 0 auto;
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  line-height: 1;
  padding: 5px 9px;
  color: #e9dcb6;
  background: linear-gradient(180deg, #4a3f2b, #332c1e);
  border: 1px solid #6f5b32;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  color: #2a2419;
  background: linear-gradient(180deg, #e2c684, #c9a659);
  border-color: #8d7440;
}
.player-btn.is-active {
  color: #2a2419;
  background: linear-gradient(180deg, #f0d896, #cfa958);
  border-color: #8d7440;
  box-shadow: 0 0 0 1px rgba(255, 236, 176, 0.6) inset;
}
.player-btn.is-playing {
  color: #2a2419;
  background: linear-gradient(180deg, #e8cf8e, #c19f52);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 6px;
  accent-color: #b08a44;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 6px;
  accent-color: #b08a44;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.status-item {
  font-size: 0.78rem;
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  padding: 2px 9px;
  color: #4a3a20;
  background: rgba(176, 138, 68, 0.18);
  border: 1px solid rgba(140, 110, 56, 0.45);
  border-radius: 2px;
}
.block-heading {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #4a3a20;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 2px solid #b08a44;
}
.hero-info .block-heading {
  font-size: 0.92rem;
  border-bottom-width: 1px;
  border-bottom-color: #c8b07c;
}
.cast-block {
  padding-top: 8px;
  border-top: 1px dashed #c8b07c;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 4px;
  border-radius: 2px;
  background: rgba(255, 250, 232, 0.5);
  border: 1px solid rgba(176, 138, 68, 0.28);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 240, 200, 0.85), transparent 58%),
    linear-gradient(150deg, #a98b52, #6d7a72 78%);
  border: 1px solid #8d7440;
  box-shadow: 0 1px 0 rgba(255, 250, 232, 0.7) inset;
}
.cast-name {
  font-size: 0.8rem;
  color: #3d3220;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  padding-top: 8px;
  border-top: 1px dashed #c8b07c;
}
.synopsis-text {
  font-size: 0.88rem;
  line-height: 1.78;
  color: #3b3324;
  text-align: justify;
  text-indent: 2em;
}
.synopsis-text + .synopsis-text {
  margin-top: 6px;
}
.details-block {
  padding-top: 8px;
  border-top: 1px dashed #c8b07c;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(140, 110, 56, 0.35);
}
.detail-key {
  flex: 0 0 auto;
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  color: #7a6136;
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: #2f291d;
}
.timeline-section {
  margin-bottom: 22px;
  padding: 14px 16px;
  background: rgba(250, 244, 226, 0.62);
  border: 1px solid #c9b382;
  border-radius: 3px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 18px;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 4px 0 4px 14px;
  border-bottom: 1px dotted rgba(140, 110, 56, 0.3);
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b08a44;
  box-shadow: 0 0 0 2px rgba(176, 138, 68, 0.22);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #8a4a1c;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: #38301f;
}
.episodes-section {
  margin-bottom: 22px;
}
.episode-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 10px 11px;
  background: linear-gradient(155deg, #f7efd8, #e9dcb9);
  border: 1px solid #c3ab77;
  border-left: 3px solid #b08a44;
  border-radius: 2px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.episode-card:hover {
  transform: translateY(-2px);
  border-left-color: #8a4a1c;
  box-shadow: 0 4px 12px rgba(60, 46, 22, 0.22);
}
.episode-number {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #8a4a1c;
}
.episode-title {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3a2c16;
}
.episode-summary {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #453b28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.15s ease;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 12;
}
.episode-duration {
  font-size: 0.72rem;
  color: #6f613f;
  letter-spacing: 0.06em;
  margin-top: auto;
  padding-top: 3px;
  border-top: 1px dotted rgba(140, 110, 56, 0.35);
}
.comments-section {
  margin-bottom: 22px;
  padding: 14px 16px;
  background: rgba(250, 244, 226, 0.62);
  border: 1px solid #c9b382;
  border-radius: 3px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.comment-item {
  min-width: 0;
  padding: 6px 9px;
  background: rgba(255, 252, 240, 0.72);
  border: 1px solid rgba(176, 138, 68, 0.28);
  border-radius: 2px;
}
.comment-nickname {
  display: block;
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  color: #8a4a1c;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 0.83rem;
  line-height: 1.62;
  color: #3b3324;
}
.recommend-section {
  margin-bottom: 22px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 7px;
  color: #33291a;
  text-decoration: none;
  background: linear-gradient(160deg, #f7efd8, #e6d9b5);
  border: 1px solid #c3ab77;
  border-radius: 2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: #8a4a1c;
  box-shadow: 0 4px 12px rgba(60, 46, 22, 0.22);
  color: #6d3a12;
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid #a98b52;
  border-radius: 2px;
  filter: sepia(0.3) contrast(1.04) saturate(0.85);
  background: #241f16;
}
.recommend-name {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3a2c16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 0.76rem;
  line-height: 1.55;
  color: #5c5138;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  padding: 16px;
  background: linear-gradient(180deg, #332c1e, #241f16);
  border-top: 3px solid #b08a44;
  color: #cdbf99;
}
.disclaimer-text {
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: #a99b78;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #e2c684;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 198, 132, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffd98a;
  text-decoration: none;
  border-bottom-color: #ffd98a;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(176, 138, 68, 0.3);
}
.friend-links-label {
  font-family: "Heiti SC", "SimHei", "Noto Sans CJK SC", "PingFang SC", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: #8f8360;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: #b7a87f;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #f0dfae;
  text-decoration: underline;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 16px;
  }
.movie-title {
    font-size: 1.7rem;
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 12px 10px 6px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    margin-bottom: 16px;
  }
.poster-wrapper {
    max-width: 230px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 1.45rem;
  }
.movie-tagline {
    font-size: 0.85rem;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-cards {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-section, .comments-section {
    padding: 12px;
  }
.player-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
.player-progress {
    flex: 1 1 100%;
    order: 3;
  }}
@media (max-width: 380px) {.player-volume {
    flex: 1 1 100%;
  }}
@media (prefers-reduced-motion: reduce) {.episode-card, a.recommend-card, .episode-summary {
    transition: none;
  }}

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}
