*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink: #0b1a1c;
  --ink-2: #0e2225;
  --ink-3: #12292c;
  --cyan: #1d3f42;
  --cyan-soft: #2c5457;
  --ochre: #a4622c;
  --ochre-deep: #7c3f1a;
  --ochre-line: rgba(164, 98, 44, 0.42);
  --gold: #c9a15a;
  --paper: #d9d2c2;
  --paper-dim: #a89f8d;
  --flame: #e08a3c;
  --flame-cold: #5d6a6c;
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gap: 12px;
  --hairline: 1px solid var(--ochre-line);
}
html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 12% 6%, rgba(164, 98, 44, 0.16), transparent 58%),
    radial-gradient(90% 70% at 88% 22%, rgba(29, 63, 66, 0.55), transparent 62%),
    linear-gradient(180deg, #0a1819 0%, #0c1e20 40%, #0b191b 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100%;
}
.page-main {
  display: block;
  padding: 0 0 26px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 20, 21, 0.96), rgba(8, 20, 21, 0.82));
  border-bottom: var(--hairline);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1220px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(201, 161, 90, 0.28);
}
a[data-contract="site-name"]:hover { color: #e6c88a; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--ochre-line);
  border-radius: 2px;
  background: rgba(29, 63, 66, 0.35);
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gold);
  border-color: rgba(201, 161, 90, 0.6);
  background: rgba(164, 98, 44, 0.16);
}
.hero {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 16px 6px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: start;
}
.hero-media {
  position: relative;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(164, 98, 44, 0.34);
  background: var(--ink-2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  isolation: isolate;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.86);
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 16, 17, 0.72) 46%, rgba(6, 16, 17, 0.94) 100%);
  pointer-events: none;
}
.hero-tagline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #f0e6d2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  border-left: 2px solid var(--ochre);
  padding-left: 10px;
}
.hero-info {
  min-width: 0;
  background: linear-gradient(180deg, rgba(18, 41, 44, 0.55), rgba(12, 30, 32, 0.35));
  border: 1px solid rgba(164, 98, 44, 0.22);
  padding: 16px 18px 18px;
}
.film-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.28;
  letter-spacing: 0.05em;
  color: #efe4cd;
  text-shadow: 0 0 18px rgba(164, 98, 44, 0.3);
}
.film-seo {
  margin-top: 8px;
  padding-bottom: 12px;
  border-bottom: var(--hairline);
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.78;
  text-align: justify;
}
.film-cast, .film-synopsis, .film-status, .film-details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: var(--hairline);
}
.film-synopsis { border-top: none; padding-top: 0; }
.cast-heading, .synopsis-heading, .status-heading, .details-heading, .section-heading, .region-heading {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.cast-heading, .synopsis-heading, .status-heading, .details-heading {
  font-size: 13px;
  margin-bottom: 8px;
}
.section-heading {
  font-size: 17px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 14px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 3px;
  height: 0.86em;
  background: linear-gradient(180deg, var(--flame), var(--ochre-deep));
}
.cast-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}
.cast-member {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(164, 98, 44, 0.24);
}
.cast-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #e2d6bd;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.synopsis-para {
  color: #bdb5a4;
  font-size: 12.5px;
  line-height: 1.82;
  text-align: justify;
}
.synopsis-para + .synopsis-para { margin-top: 7px; }
.status-line {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #d7cbb2;
  margin-bottom: 10px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #050d0e;
  border: 1px solid rgba(164, 98, 44, 0.3);
  padding: 6px;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 0;
}
.player-button {
  appearance: none;
  background: rgba(29, 63, 66, 0.6);
  border: 1px solid var(--ochre-line);
  border-radius: 2px;
  color: var(--paper-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.player-button:hover, .player-button.play:hover {
  color: var(--gold);
  border-color: rgba(201, 161, 90, 0.62);
  background: rgba(164, 98, 44, 0.2);
}
.player-button.is-active, .player-button.click.is-active {
  color: #f2e3c6;
  border-color: var(--ochre);
  background: rgba(164, 98, 44, 0.34);
}
.player-button.play, .player-button.mute, .player-button.speed, .player-button.pip, .player-button.fullscreen, .player-button.theater, .player-button.light, .player-button.x {
  color: var(--paper-dim);
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 120px;
  min-width: 88px;
  height: 4px;
  background: linear-gradient(90deg, var(--ochre-deep), rgba(164, 98, 44, 0.24));
  border-radius: 2px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--flame);
  border: 1px solid #2a1408;
  box-shadow: 0 0 8px rgba(224, 138, 60, 0.7);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #2a1408;
  border-radius: 50%;
  background: var(--flame);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(201, 161, 90, 0.4), 0 26px 60px rgba(0, 0, 0, 0.7);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-video { filter: brightness(0.72) contrast(1.12); }
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(164, 98, 44, 0.22);
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ochre);
  white-space: nowrap;
}
.detail-value {
  min-width: 0;
  font-size: 12px;
  color: #c3bbaa;
  overflow-wrap: anywhere;
}
.timeline-section, .episodes-section, .comments-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 16px 0;
  border-top: var(--hairline);
}
.timeline-section { margin-top: 22px; }
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--ochre-deep) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(164, 98, 44, 0.1); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--ochre-deep); border-radius: 3px; }
.timeline-card {
  position: relative;
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 11px;
  background: linear-gradient(160deg, rgba(38, 58, 60, 0.72), rgba(18, 35, 37, 0.9));
  border: 1px solid rgba(164, 98, 44, 0.3);
  border-top: 2px solid var(--flame-cold);
}
.timeline-card:nth-child(1) { border-top-color: #5d6a6c; }
.timeline-card:nth-child(2) { border-top-color: #6c6b5e; }
.timeline-card:nth-child(3) { border-top-color: #8a6b45; }
.timeline-card:nth-child(4) { border-top-color: #a4622c; }
.timeline-card:nth-child(5) { border-top-color: #bd7635; }
.timeline-card:nth-child(6) { border-top-color: #d68a3f; }
.timeline-card:nth-child(7) { border-top-color: #e89b4a; }
.timeline-flame {
  font-size: 13px;
  line-height: 1;
  color: var(--flame-cold);
  text-shadow: 0 0 10px rgba(224, 138, 60, 0.2);
}
.timeline-card:nth-child(4) .timeline-flame, .timeline-card:nth-child(5) .timeline-flame, .timeline-card:nth-child(6) .timeline-flame, .timeline-card:nth-child(7) .timeline-flame {
  color: var(--flame);
  text-shadow: 0 0 12px rgba(224, 138, 60, 0.62);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ochre);
}
.timeline-label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #e3d8c1;
}
.episodes-section { margin-top: 20px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num dur";
  align-items: start;
  column-gap: 10px;
  row-gap: 2px;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, rgba(23, 48, 51, 0.5), rgba(13, 30, 32, 0.55));
  border: 1px solid rgba(164, 98, 44, 0.18);
  border-left: 2px solid rgba(164, 98, 44, 0.36);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.episode-item:hover {
  background: linear-gradient(180deg, rgba(33, 63, 66, 0.72), rgba(16, 35, 37, 0.7));
  border-color: rgba(164, 98, 44, 0.5);
}
.episode-number {
  grid-area: num;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 0.94;
  letter-spacing: 0.02em;
  color: rgba(164, 98, 44, 0.62);
  min-width: 1.4em;
  text-align: right;
  transition: color 0.2s ease;
}
.episode-item:hover .episode-number { color: var(--flame); }
.episode-title {
  grid-area: title;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #ddd2ba;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-area: summary;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.26s ease, opacity 0.22s ease, margin 0.22s ease;
}
.episode-item:hover .episode-summary, .episode-item:focus-within .episode-summary {
  max-height: 6em;
  opacity: 1;
  margin-top: 2px;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--serif);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(164, 98, 44, 0.72);
  align-self: end;
}
.comments-section { margin-top: 20px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 12px 13px 13px;
  background:
    linear-gradient(180deg, rgba(224, 214, 190, 0.95), rgba(205, 194, 168, 0.92));
  color: #2a2620;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.7deg);
}
.comment-note:nth-child(2n) { transform: rotate(0.9deg) translateY(4px); }
.comment-note:nth-child(3n) { transform: rotate(-1.2deg) translateY(2px); }
.comment-note:nth-child(5n) { transform: rotate(0.5deg) translateY(6px); }
.comment-note::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: linear-gradient(180deg, rgba(180, 168, 142, 0.8), transparent);
  clip-path: polygon(0 0, 4% 100%, 9% 0, 15% 100%, 21% 0, 28% 100%, 35% 0, 43% 100%, 51% 0, 59% 100%, 67% 0, 75% 100%, 83% 0, 91% 100%, 100% 0, 100% 0, 0 0);
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ochre-deep);
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(124, 63, 26, 0.4);
}
.comment-text {
  font-size: 12px;
  line-height: 1.72;
  color: #332d24;
  text-align: justify;
}
.recommend-region {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 16px 0;
  border-top: var(--hairline);
}
.recommend-region[data-recommendation-region="1"] { margin-top: 20px; }
.region-heading {
  font-size: 13px;
  margin-bottom: 9px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(201, 161, 90, 0.35);
  letter-spacing: 0.18em;
}
.region-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.region-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  background: linear-gradient(180deg, rgba(23, 48, 51, 0.5), rgba(12, 28, 30, 0.62));
  border: 1px solid rgba(164, 98, 44, 0.2);
  color: var(--paper-dim);
  font-size: 11.5px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(201, 161, 90, 0.55);
  background: linear-gradient(180deg, rgba(33, 63, 66, 0.68), rgba(16, 35, 37, 0.72));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.66) brightness(0.86);
  transition: filter 0.24s ease;
}
[data-runtime="recommendation"]:hover img { filter: saturate(0.95) brightness(1); }
[data-runtime="name"] {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #e2d6bd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.58;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  border-top: var(--hairline);
  background: linear-gradient(180deg, rgba(10, 24, 25, 0.6), rgba(7, 17, 18, 0.95));
}
.footer-disclaimer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 16px 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(168, 159, 141, 0.75);
}
.footer-nav {
  max-width: 1220px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: var(--ochre);
}
.footer-friends {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friends-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(164, 98, 44, 0.8);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(168, 159, 141, 0.72);
  text-decoration: none;
  border-bottom: 1px dotted rgba(164, 98, 44, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
@media (max-width: 980px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 16px;
  }
.hero-media { max-width: 340px; }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.region-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }}
@media (max-width: 720px) {.film-title { font-size: 22px; }
.cast-column { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary {
    max-height: 6em;
    opacity: 1;
    margin-top: 2px;
  }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note, .comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(5n) {
    transform: none;
    margin-bottom: 6px;
  }
.region-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.timeline-card { flex: 0 0 150px; }}
@media (max-width: 480px) {.header-inner { padding: 8px 12px; }
.hero { padding: 14px 12px 4px; }
.hero-media { max-width: 100%; }
.hero-info { padding: 13px 13px 15px; }
.hero-tagline { font-size: 13.5px; }
.film-title { font-size: 19px; }
.timeline-section, .episodes-section, .comments-section, .recommend-region { padding-left: 12px; padding-right: 12px; }
.footer-disclaimer, .footer-nav, .footer-friends { padding-left: 12px; padding-right: 12px; }
.episode-number { font-size: 25px; }
.region-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-range { flex: 1 1 100%; }
.player-button { font-size: 11px; padding: 3px 7px; }}

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}
