*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --paper: #ccd0d3;
  --paper-deep: #b6bbbf;
  --paper-shade: #a2a8ad;
  --ink: #171a1c;
  --ink-soft: #2c3134;
  --ink-faint: #4a5054;
  --moss: #26332f;
  --moss-soft: #35443f;
  --red: #7c1d22;
  --red-bright: #a3232b;
  --red-dim: #5c1519;
  --edge: rgba(23, 26, 28, 0.28);
  --edge-soft: rgba(23, 26, 28, 0.14);
  --tape: rgba(214, 214, 208, 0.5);
  --font-narrow: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-hand: "Kaiti SC", "STKaiti", "KaiTi", "Xingkai SC", "Comic Sans MS", cursive;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Noto Sans Mono", monospace;
}
html {
  background: #0e1011;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink);
  background:
    linear-gradient(180deg, #171a1c 0%, #1b1f21 40%, #14171a 100%);
  min-height: 100vh;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 21, 23, 0.94);
  border-bottom: 1px solid rgba(124, 29, 34, 0.45);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 700;
  color: #e6e3dc;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-left: 3px solid var(--red);
  padding-left: 9px;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  text-decoration: none;
}
.category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  color: #b9bcba;
  text-decoration: none;
  border: 1px solid rgba(160, 165, 168, 0.28);
  background: rgba(255, 255, 255, 0.03);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
a.runtime-category:hover {
  color: #f2efe8;
  border-color: var(--red);
  background: rgba(124, 29, 34, 0.28);
  text-decoration: none;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 16px 20px;
  align-items: start;
  background:
    linear-gradient(160deg, rgba(38, 51, 47, 0.55) 0%, rgba(20, 23, 25, 0.9) 55%, rgba(14, 16, 17, 0.96) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
  border: 1px solid rgba(124, 29, 34, 0.4);
  padding: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}
.hero-shell.lights-off {
  background:
    linear-gradient(160deg, rgba(10, 12, 13, 0.92) 0%, rgba(6, 7, 8, 0.98) 100%);
}
.hero-shell.theater-mode {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 1px rgba(163, 35, 43, 0.5), 0 22px 60px rgba(0, 0, 0, 0.75);
}
.hero-backdrop {
  position: relative;
  align-self: start;
  background:
    linear-gradient(180deg, #2f3835 0%, #1c2220 70%, #14181a 100%);
  border: 1px solid var(--edge);
  padding: 10px;
  overflow: hidden;
}
.hero-light-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 62%;
  width: 3px;
  background: linear-gradient(180deg, rgba(232, 226, 210, 0.85) 0%, rgba(232, 226, 210, 0.35) 55%, rgba(232, 226, 210, 0) 100%);
  box-shadow: 0 0 18px 4px rgba(226, 220, 202, 0.22);
  pointer-events: none;
}
.hero-light-seam::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 14px;
  background: linear-gradient(90deg, rgba(226, 220, 202, 0) 0%, rgba(226, 220, 202, 0.14) 100%);
}
.poster-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding: 5px;
  background: rgba(10, 12, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.06);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  align-self: start;
}
.movie-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #ece8df;
  padding-left: 11px;
  border-left: 5px solid var(--red);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-family: var(--font-hand);
  font-size: 14px;
  line-height: 1.6;
  color: #b9b2a4;
  padding-left: 16px;
  border-left: 1px solid rgba(124, 29, 34, 0.6);
  transform: rotate(-0.35deg);
  transform-origin: left center;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0b0d0e;
  border: 1px solid var(--edge);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  width: 100%;
  min-width: 0;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #1a1d1f 0%, #101314 100%);
  border-top: 1px solid rgba(124, 29, 34, 0.45);
}
.ctrl {
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #c2c6c4;
  border: 1px solid rgba(160, 165, 168, 0.25);
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.ctrl:hover {
  color: #f2efe8;
  border-color: rgba(163, 35, 43, 0.8);
  background: rgba(124, 29, 34, 0.32);
}
.ctrl.is-active, .ctrl.play.is-playing, .ctrl-play.is-active {
  background: var(--red);
  color: #f4efe6;
  border-color: var(--red-bright);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--red-bright);
  padding: 0;
  margin: 0 4px;
  background: transparent;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 74px;
  min-width: 56px;
  height: 4px;
  accent-color: #8a9092;
  padding: 0;
  margin: 0 2px;
  cursor: pointer;
}
.ctrl-speed {
  padding: 4px 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #c2c6c4;
  border: 1px solid rgba(160, 165, 168, 0.25);
  border-radius: 1px;
  font-size: 11px;
  cursor: pointer;
}
.ctrl-mute.is-active {
  background: var(--red-dim);
  color: #f4efe6;
  border-color: var(--red-bright);
}
.cast-strip {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--edge-soft);
  border-left: 3px solid var(--moss-soft);
  padding: 10px 12px;
}
.strip-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #9aa09e;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, #454c4a 0%, #262c2b 55%, #171b1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.cast-avatar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: var(--tape);
  transform: rotate(-2.5deg) translateY(-3px);
  transform-origin: left center;
}
.cast-name {
  font-size: 12px;
  line-height: 1.3;
  color: #d3d0c8;
  text-align: center;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-panel {
  background:
    linear-gradient(180deg, rgba(204, 208, 211, 0.97) 0%, rgba(182, 187, 191, 0.97) 100%);
  border: 1px solid var(--edge);
  padding: 12px 14px;
  position: relative;
}
.synopsis-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 22px;
  width: 54px;
  height: 12px;
  background: var(--tape);
  transform: rotate(-1.6deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.panel-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red-dim);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(124, 29, 34, 0.35);
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 2em;
}
.synopsis-text + .synopsis-text {
  margin-top: 6px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: stretch;
}
.status-line {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 5px 10px;
  color: #cfd2ce;
  background: rgba(38, 51, 47, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--red);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.details-panel {
  background:
    linear-gradient(180deg, rgba(204, 208, 211, 0.96) 0%, rgba(178, 183, 187, 0.96) 100%);
  border: 1px solid var(--edge);
  padding: 12px 14px;
  position: relative;
}
.details-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 26px;
  width: 48px;
  height: 12px;
  background: var(--tape);
  transform: rotate(1.4deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 5px 12px;
  align-items: baseline;
}
.detail-key {
  font-size: 11.5px;
  color: var(--red-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(124, 29, 34, 0.4);
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.section-heading {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e2ded4;
  padding-left: 12px;
  border-left: 5px solid var(--red);
  margin-bottom: 10px;
  position: relative;
}
.section-heading::after {
  content: "";
  display: block;
  margin-top: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 29, 34, 0.7) 0%, rgba(124, 29, 34, 0) 70%);
}
.timeline-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--edge-soft);
  padding: 12px 14px 14px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 14px;
  margin-left: 4px;
  border-left: 1px solid rgba(124, 29, 34, 0.45);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: baseline;
  padding-left: 6px;
}
.timeline-dot {
  position: absolute;
  left: -20px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(124, 29, 34, 0.22), 0 0 10px rgba(163, 35, 43, 0.5);
}
.timeline-tag {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  white-space: nowrap;
}
.timeline-label {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.5;
  color: #cbc8c0;
}
.episodes-section {
  padding: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num summary summary";
  gap: 2px 10px;
  align-items: start;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(204, 208, 211, 0.95) 0%, rgba(184, 189, 192, 0.95) 100%);
  border: 1px solid var(--edge-soft);
  border-left: 3px solid var(--moss-soft);
  position: relative;
  overflow: hidden;
}
.episode-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 9px solid rgba(124, 29, 34, 0.35);
  border-left: 9px solid transparent;
}
.episode-number {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  padding-top: 2px;
  min-width: 1.6em;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.01em;
  min-width: 0;
}
.episode-summary {
  grid-area: summary;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--moss);
  background: rgba(38, 51, 47, 0.12);
  border: 1px solid rgba(38, 51, 47, 0.28);
  padding: 1px 5px;
  white-space: nowrap;
  align-self: start;
}
.comments-section {
  padding: 0;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--edge-soft);
  border-top: 2px solid rgba(124, 29, 34, 0.55);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-text {
  font-family: var(--font-hand);
  font-size: 13px;
  line-height: 1.6;
  color: #d2cec5;
  text-indent: 0;
}
.comment-nickname {
  font-size: 11px;
  color: var(--red-bright);
  letter-spacing: 0.1em;
  align-self: flex-end;
  border-bottom: 1px solid rgba(163, 35, 43, 0.4);
  padding-bottom: 1px;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.region-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d6d2c8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  background: linear-gradient(90deg, rgba(38, 51, 47, 0.85) 0%, rgba(38, 51, 47, 0.35) 65%, rgba(38, 51, 47, 0) 100%);
  border-left: 4px solid var(--red);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  display: block;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--edge-soft);
  color: #cfccc4;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(163, 35, 43, 0.85);
  background: rgba(124, 29, 34, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #101314;
  filter: saturate(0.7) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #e6e2d9;
  display: block;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: #9aa09c;
  display: block;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(124, 29, 34, 0.4);
  margin-top: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #7f8583;
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: #b0b5b2;
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 165, 168, 0.35);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2efe8;
  border-bottom-color: var(--red-bright);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  white-space: nowrap;
  padding-right: 4px;
  border-right: 1px solid rgba(124, 29, 34, 0.5);
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8f9693;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e6e2d9;
  text-decoration: underline;
}
@media (max-width: 1080px) {.detail-list {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 220px;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 10px 12px 20px;
    gap: 16px;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    font-size: 13px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: auto minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.header-inner {
    padding: 7px 12px;
  }}
@media (max-width: 520px) {.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 180px;
  }
.ctrl {
    font-size: 10.5px;
    padding: 5px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 5;
  }
.section-heading {
    font-size: 14px;
  }
.movie-title {
    font-size: 19px;
  }}
@media (max-width: 360px) {.cast-row {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    border-bottom: none;
    margin-top: 4px;
  }}

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}
