:root {
  --dai: #1b2b33;
  --dai-deep: #121e24;
  --dai-soft: #24373f;
  --zhu: #b13a2e;
  --zhu-bright: #c9483a;
  --jin: #b99a5e;
  --jin-soft: #8a7442;
  --paper: #e8e2d4;
  --paper-dim: #c8c0ad;
  --ink: #0d1519;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--dai-deep);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(185, 154, 94, 0.06), transparent 55%),
    radial-gradient(ellipse at 90% 40%, rgba(177, 58, 46, 0.05), transparent 50%),
    var(--dai);
  color: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.04em;
}
button, input, select {
  font-family: inherit;
  color: inherit;
}
.site-header {
  border-bottom: 1px solid rgba(185, 154, 94, 0.25);
  background: rgba(13, 21, 25, 0.72);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  padding: 0.5rem 1.1rem;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.site-brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper);
  border-left: 3px solid var(--zhu);
  padding-left: 0.55rem;
}
a[data-contract="site-name"] {
  color: var(--paper);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--jin);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  align-items: baseline;
}
a.runtime-category {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
  padding: 0.1rem 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: var(--jin);
  border-bottom-color: var(--jin-soft);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.1rem;
}
.section-heading {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--jin);
  border-left: 2px solid var(--zhu);
  padding-left: 0.5rem;
  margin-bottom: 0.55rem;
  font-weight: 700;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "title embroidery"
    "synopsis embroidery"
    "status embroidery"
    "details embroidery"
    "cast cast";
  gap: 0.9rem 1.4rem;
  padding: 1.4rem 0 1.8rem;
  border-bottom: 1px solid rgba(185, 154, 94, 0.22);
}
.hero-embroidery {
  grid-area: embroidery;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.title-block {
  grid-area: title;
  align-self: start;
  border-left: 1px solid rgba(185, 154, 94, 0.4);
  padding-left: 0.9rem;
}
.movie-title {
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--paper);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 8.2rem;
  margin-bottom: 0.5rem;
  border-right: 2px solid var(--zhu);
  padding-right: 0.35rem;
}
.movie-tagline {
  font-size: 0.8rem;
  color: var(--zhu-bright);
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}
.movie-seo {
  font-size: 0.72rem;
  color: var(--paper-dim);
  line-height: 1.5;
  text-align: justify;
}
.poster-frame {
  position: relative;
  align-self: start;
  width: 38%;
  min-width: 130px;
  border: 1px solid rgba(185, 154, 94, 0.4);
  padding: 0.3rem;
  background: rgba(13, 21, 25, 0.5);
  box-shadow: 0 0 0 1px rgba(177, 58, 46, 0.15);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.poster-caption {
  font-size: 0.62rem;
  color: var(--jin-soft);
  letter-spacing: 0.1em;
  padding-top: 0.25rem;
  text-align: center;
}
.hero-embroidery > .poster-frame {
  position: absolute;
  top: 1.4rem;
  right: 1.1rem;
  z-index: 3;
}
.hero-embroidery {
  position: relative;
}
.hero-player {
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(185, 154, 94, 0.35);
  padding: 0.35rem;
}
.hero-player video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.15rem 0.15rem;
}
.player-btn {
  background: transparent;
  border: 1px solid rgba(185, 154, 94, 0.4);
  color: var(--paper-dim);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
}
.player-btn:hover {
  border-color: var(--jin);
  color: var(--jin);
}
.player-btn.is-active, .player-btn.is-playing {
  background: var(--zhu);
  border-color: var(--zhu);
  color: var(--paper);
}
.player-progress {
  flex: 1 1 8rem;
  min-width: 5rem;
  accent-color: var(--zhu);
  height: 0.9rem;
}
.player-volume {
  flex: 0 1 5rem;
  min-width: 3.2rem;
  accent-color: var(--jin);
  height: 0.9rem;
}
.player-speed {
  background: var(--dai-soft);
  border: 1px solid rgba(185, 154, 94, 0.4);
  color: var(--paper-dim);
  font-size: 0.68rem;
  padding: 0.1rem 0.2rem;
}
.player-speed.is-active {
  border-color: var(--zhu);
  color: var(--zhu-bright);
}
.synopsis-block {
  grid-area: synopsis;
  align-self: start;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.synopsis-para {
  font-size: 0.73rem;
  line-height: 1.55;
  color: var(--paper-dim);
  text-align: justify;
  text-indent: 1.4em;
}
.synopsis-para:first-child {
  text-indent: 0;
  color: var(--paper);
}
.episode-status {
  grid-area: status;
  align-self: start;
  border-top: 1px solid rgba(185, 154, 94, 0.3);
  border-bottom: 1px solid rgba(185, 154, 94, 0.3);
  padding: 0.3rem 0;
}
.episode-status-text {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--zhu-bright);
}
.detail-bar {
  grid-area: details;
  align-self: start;
  border-top: 1px solid rgba(185, 154, 94, 0.3);
  padding-top: 0.45rem;
}
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0;
  align-items: baseline;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  font-size: 0.68rem;
  padding-right: 0.6rem;
  margin-right: 0.6rem;
  border-right: 1px solid rgba(185, 154, 94, 0.45);
  line-height: 1.6;
}
.detail-item:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.detail-item dt {
  color: var(--jin-soft);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-item dd {
  color: var(--paper);
  white-space: nowrap;
}
.cast-block {
  grid-area: cast;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(185, 154, 94, 0.22);
  padding-top: 0.7rem;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: flex-start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 3.6rem;
}
.cast-avatar {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cast-avatar-shape {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50% 50% 46% 46%;
  background:
    linear-gradient(160deg, var(--dai-soft) 0%, var(--dai-deep) 100%);
  border: 1px solid rgba(185, 154, 94, 0.45);
  position: relative;
  overflow: hidden;
}
.cast-avatar-shape::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 70%;
  height: 70%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: rgba(185, 154, 94, 0.18);
}
.cast-avatar-shape::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  width: 34%;
  height: 34%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(232, 226, 212, 0.14);
}
.cast-name {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin-top: 0.25rem;
  line-height: 1.1;
  height: 3.1em;
}
.timeline-block {
  padding: 1.3rem 0 1.6rem;
  border-bottom: 1px solid rgba(185, 154, 94, 0.22);
}
.timeline-list {
  position: relative;
  margin-left: 0.7rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 1px solid rgba(185, 154, 94, 0.4);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 0.22rem 0;
  text-align: right;
}
.timeline-needle {
  position: absolute;
  left: -1.92rem;
  top: 0.42rem;
  width: 0.85rem;
  height: 0.55rem;
  background: var(--jin);
  clip-path: polygon(0 50%, 22% 0, 100% 0, 100% 100%, 22% 100%);
}
.timeline-needle::after {
  content: "";
  position: absolute;
  right: -0.16rem;
  top: 50%;
  width: 0.22rem;
  height: 0.22rem;
  background: var(--zhu);
  border-radius: 50%;
  transform: translateY(-50%);
}
.timeline-timecode {
  font-size: 0.72rem;
  color: var(--zhu-bright);
  letter-spacing: 0.08em;
  white-space: nowrap;
  order: 2;
}
.timeline-label {
  font-size: 0.76rem;
  color: var(--paper);
  letter-spacing: 0.04em;
  order: 1;
}
.episodes-block {
  padding: 1.3rem 0 1.6rem;
  border-bottom: 1px solid rgba(185, 154, 94, 0.22);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.8rem;
}
.episode-card {
  border: 1px solid rgba(185, 154, 94, 0.4);
  background: rgba(13, 21, 25, 0.35);
  padding: 0.5rem 0.65rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  align-self: start;
}
.episode-title {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.episode-summary {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--paper-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: nowrap;
}
.episode-duration {
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--jin-soft);
  align-self: flex-end;
}
.episode-card--current {
  background: var(--zhu);
  border-color: var(--zhu-bright);
}
.episode-card--current .episode-title, .episode-card--current .episode-summary {
  color: var(--paper);
}
.episode-card--current .episode-duration {
  color: rgba(232, 226, 212, 0.85);
}
.comments-block {
  padding: 1.8rem 0 2.2rem;
  border-bottom: 1px solid rgba(185, 154, 94, 0.22);
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comment-card {
  border: 1px solid rgba(185, 154, 94, 0.38);
  background: var(--dai-deep);
  padding: 0.5rem 0.75rem 0.55rem;
  width: min(100%, 44rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.comment-card:nth-child(odd) {
  margin-left: 0;
  align-self: flex-start;
}
.comment-card:nth-child(even) {
  margin-left: 2.4rem;
  align-self: flex-start;
  border-left: 2px solid var(--zhu);
}
.comment-card + .comment-card {
  margin-top: -0.35rem;
}
.comment-text {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--paper);
}
.comment-author {
  font-size: 0.64rem;
  color: var(--jin-soft);
  letter-spacing: 0.12em;
  align-self: flex-end;
}
.comment-author::before {
  content: "— ";
  color: var(--zhu-bright);
}
.recommend-region {
  padding: 1.2rem 0 1.3rem;
  border-bottom: 1px solid rgba(185, 154, 94, 0.18);
}
.recommend-title {
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: var(--jin);
  border-bottom: 1px solid rgba(185, 154, 94, 0.35);
  padding-bottom: 0.3rem;
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 0.55rem 0.85rem;
}
.recommend-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  border-bottom: 1px dotted rgba(185, 154, 94, 0.3);
  padding-bottom: 0.45rem;
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper-dim);
  text-decoration: none;
}
a[data-runtime="recommendation"]:hover {
  color: var(--jin);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(185, 154, 94, 0.35);
  filter: saturate(0.8);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.64rem;
  line-height: 1.4;
  color: var(--paper-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recommend-count {
  font-size: 0.62rem;
  color: var(--jin-soft);
  letter-spacing: 0.08em;
  flex: 0 0 auto;
  border: 1px solid rgba(185, 154, 94, 0.3);
  width: 1.15rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.site-footer {
  border-top: 1px solid rgba(185, 154, 94, 0.3);
  background: var(--dai-deep);
  padding: 1.1rem 1.1rem 1.5rem;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 0.7rem;
  font-size: 0.66rem;
  line-height: 1.55;
  color: var(--paper-dim);
  border-left: 2px solid rgba(185, 154, 94, 0.45);
  padding-left: 0.6rem;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: baseline;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--jin);
  border-bottom-color: var(--jin-soft);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  align-items: baseline;
  border-top: 1px solid rgba(185, 154, 94, 0.18);
  padding-top: 0.55rem;
}
.friend-links-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--jin-soft);
}
a.runtime-friend-link {
  font-size: 0.66rem;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--jin);
  text-decoration: underline;
}
body.lights-off {
  background: #05090b;
}
body.lights-off .hero-player {
  border-color: var(--zhu);
}
body.theater-mode .hero-stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "embroidery"
    "title"
    "synopsis"
    "status"
    "details"
    "cast";
}
body.theater-mode .hero-embroidery > .poster-frame {
  display: none;
}
body.player-playing .player-btn[data-player-action="play"] {
  background: var(--zhu);
  border-color: var(--zhu);
  color: var(--paper);
}
.player-progress.is-active {
  accent-color: var(--zhu-bright);
}
.player-controls.is-ready {
  opacity: 1;
}
video.is-muted {
  opacity: 0.97;
}
@media (max-width: 900px) {.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  }}
@media (max-width: 760px) {html {
    font-size: 14.5px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "embroidery"
      "synopsis"
      "status"
      "details"
      "cast";
    gap: 0.9rem;
    padding: 1rem 0 1.3rem;
  }
.movie-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    height: auto;
    border-right: none;
    border-left: 2px solid var(--zhu);
    padding-right: 0;
    padding-left: 0.5rem;
    font-size: 1.35rem;
  }
.title-block {
    border-left: none;
    padding-left: 0;
  }
.hero-embroidery > .poster-frame {
    position: static;
    width: 46%;
    max-width: 14rem;
    margin: 0 auto;
  }
.hero-embroidery {
    gap: 0.6rem;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card {
    width: 100%;
  }
.comment-card:nth-child(even) {
    margin-left: 1.1rem;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    margin-left: 0.4rem;
    padding-left: 1.2rem;
  }
.timeline-needle {
    left: -1.62rem;
  }}
@media (max-width: 480px) {html {
    font-size: 14px;
  }
.page-main {
    padding: 0 0.8rem;
  }
.header-inner {
    padding: 0.45rem 0.8rem;
    gap: 0.6rem;
  }
.detail-item {
    font-size: 0.64rem;
    padding-right: 0.45rem;
    margin-right: 0.45rem;
  }
.cast-member {
    width: 3rem;
  }
.cast-avatar, .cast-avatar-shape {
    width: 2.7rem;
    height: 2.7rem;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(even) {
    margin-left: 0.7rem;
  }
.player-progress {
    flex: 1 1 100%;
  }}

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}
