:root {
  --ink: #0d1a1d;
  --ink-soft: #14262a;
  --deep: #0a1517;
  --teal: #1d3a3f;
  --teal-line: #2c5257;
  --rust: #a83a24;
  --rust-bright: #c04a2c;
  --rust-dim: #6e2a1c;
  --paper: #e8e2d8;
  --paper-dim: #c9c2b6;
  --mist: #9fb2b0;
  --line: rgba(168, 58, 36, 0.35);
  --hair: rgba(159, 178, 176, 0.18);
  --pad: clamp(10px, 1.6vw, 22px);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(168, 58, 36, 0.14), transparent 60%),
    linear-gradient(180deg, #0a1517 0%, #0d1a1d 40%, #0a1517 100%);
  background-color: var(--deep);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-stretch: condensed;
  overflow-x: hidden;
}
body.lights-off {
  background: #050b0c;
}
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.42) contrast(1.05);
}
h1, h2, h3, p, ol, ul, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 21, 23, 0.97), rgba(10, 21, 23, 0.82));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--pad);
  flex-wrap: wrap;
  padding: 9px var(--pad);
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  border-left: 3px solid var(--rust);
  padding-left: 9px;
  transform: skewX(-4deg);
}
a[data-contract="site-name"]:hover {
  color: var(--rust-bright);
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-decoration: none;
  padding: 4px 11px;
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: rgba(29, 58, 63, 0.32);
  transform: skewX(-5deg);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--rust);
  background: rgba(168, 58, 36, 0.24);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad) 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-title {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--paper);
  padding-top: 12px;
  margin-bottom: 12px;
  position: relative;
  transform: skewX(-4deg);
}
.section-title::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 7px;
  background: linear-gradient(90deg, var(--rust), transparent);
}
.hero-banner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 2vw, 30px);
  padding: clamp(14px, 2.4vw, 34px);
  background:
    linear-gradient(160deg, rgba(29, 58, 63, 0.55), rgba(10, 21, 23, 0.9)),
    repeating-linear-gradient(115deg, rgba(168, 58, 36, 0.05) 0 2px, transparent 2px 9px);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 30px) 100%, 0 100%);
}
.hero-poster-wrap {
  position: relative;
  width: min(100%, 300px);
  align-self: start;
  transform: translateY(-6px) rotate(-1.2deg);
  border: 1px solid var(--rust-dim);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.9), 0 0 0 5px rgba(10, 21, 23, 0.7);
}
.hero-poster {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}
.hero-copy {
  position: relative;
  align-self: end;
  padding-bottom: 6px;
}
.hero-tagline {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: clamp(17px, 2.1vw, 30px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--paper);
  transform: rotate(-2.4deg) skewX(-3deg);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 4px 10px 10px;
  max-width: 20ch;
}
.hero-title {
  margin-top: 12px;
  font-size: clamp(30px, 5.4vw, 74px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.95;
  color: var(--paper);
  transform: skewX(-6deg);
  text-shadow: 4px 4px 0 rgba(168, 58, 36, 0.42);
}
.hero-play-area {
  position: relative;
  width: 100%;
  padding: 1px;
  background: linear-gradient(135deg, var(--rust-dim), rgba(44, 82, 87, 0.6) 55%, transparent);
  border: 1px solid var(--line);
}
.hero-play-area.theater-mode {
  box-shadow: 0 0 0 3px var(--rust-bright), 0 24px 50px -22px rgba(0, 0, 0, 0.95);
}
.hero-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: rgba(10, 21, 23, 0.92);
  border-top: 1px solid var(--hair);
}
.ctl {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  background: rgba(29, 58, 63, 0.5);
  color: var(--paper-dim);
  border: 1px solid var(--hair);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctl:hover {
  color: var(--paper);
  border-color: var(--rust);
  background: rgba(168, 58, 36, 0.28);
}
.ctl-play, .ctl-mute, .ctl-pip, .ctl-fullscreen, .ctl-theater, .ctl-light {
  font-weight: 700;
}
.ctl-play.is-playing, .ctl-mute.is-muted, .ctl-pip.is-active, .ctl-fullscreen.is-active, .ctl-theater.is-active, .ctl-light.is-active {
  color: #fff;
  background: var(--rust);
  border-color: var(--rust-bright);
}
.ctl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 5px;
  accent-color: var(--rust-bright);
  cursor: pointer;
  background: transparent;
}
.ctl-volume {
  flex: 0 1 76px;
  min-width: 60px;
  height: 5px;
  accent-color: var(--teal-line);
  cursor: pointer;
  background: transparent;
}
.ctl-speed {
  padding: 3px 6px;
  background: rgba(29, 58, 63, 0.5);
  border: 1px solid var(--hair);
  border-radius: 2px;
  cursor: pointer;
}
.hero-description {
  max-width: 78ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper-dim);
  border-left: 2px solid var(--rust);
  padding-left: 12px;
  font-stretch: condensed;
}
.episode-status {
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 7px 0;
}
.status-line {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--rust-bright);
  font-weight: 700;
}
.timeline-strip {
  position: relative;
  overflow: hidden;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 14px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rust-dim) 6%, var(--teal-line) 50%, var(--rust-dim) 94%, transparent);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--rust-dim);
}
.timeline-node {
  flex: 0 0 auto;
  width: clamp(150px, 17vw, 208px);
  padding: 0 14px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.node-timecode {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: var(--rust);
  padding: 3px 9px;
  transform: skewX(-7deg);
  margin-bottom: 10px;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--deep);
  border: 2px solid var(--teal-line);
  border-radius: 50%;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  border-left: 1px solid var(--hair);
  padding-left: 9px;
  font-stretch: condensed;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}
.cast-card {
  flex: 0 1 152px;
  width: 152px;
  border: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(29, 58, 63, 0.34), rgba(10, 21, 23, 0.6));
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
}
.cast-card:nth-child(odd) {
  transform: translateY(0) rotate(-0.8deg);
}
.cast-card:nth-child(even) {
  transform: translateY(16px) rotate(0.9deg);
}
.cast-card:nth-child(3n) {
  transform: translateY(6px) rotate(-1.4deg);
}
.cast-card:hover {
  border-color: var(--rust);
  transform: translateY(2px) rotate(0);
}
.cast-face {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rust-dim);
  background: #06100f;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}
.cast-photo {
  width: 100%;
  height: 158px;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.8) contrast(1.06);
}
.cast-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
  transform: skewX(-5deg);
}
.cast-keyword {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mist);
  border-top: 1px solid var(--hair);
  padding-top: 5px;
  font-stretch: condensed;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 10px 24px;
  align-items: start;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--paper-dim);
  padding-left: 11px;
  border-left: 2px solid rgba(44, 82, 87, 0.7);
  font-stretch: condensed;
}
.synopsis-paragraph:nth-child(even) {
  border-left-color: var(--rust-dim);
}
.details-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.detail-row {
  flex: 1 1 200px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(13, 26, 29, 0.96);
  padding: 6px 11px;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rust-bright);
  font-weight: 700;
  transform: skewX(-6deg);
}
.detail-value {
  margin: 0;
  font-size: 13px;
  color: var(--paper-dim);
  font-stretch: condensed;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num dur";
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 8px 10px 8px 8px;
  background: rgba(20, 38, 42, 0.55);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--teal-line);
  transition: border-color 0.16s, background 0.16s;
}
.episode-card:hover {
  border-left-color: var(--rust-bright);
  background: rgba(29, 58, 63, 0.7);
}
.episode-number {
  grid-area: num;
  font-size: 17px;
  font-weight: 900;
  color: var(--deep);
  background: var(--paper-dim);
  min-width: 30px;
  text-align: center;
  padding: 2px 4px;
  transform: skewX(-7deg);
  line-height: 1.3;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.35;
}
.episode-summary {
  grid-area: summary;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  font-stretch: condensed;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--rust-bright);
  margin-top: 2px;
}
.rec-section {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.rec-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 10px;
  transform: skewX(-4deg);
  display: inline-block;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 3px;
}
.rec-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
}
.rec-strip::-webkit-scrollbar {
  height: 6px;
}
.rec-strip::-webkit-scrollbar-thumb {
  background: var(--rust-dim);
}
a.rec-item {
  flex: 0 0 clamp(140px, 16vw, 196px);
  width: clamp(140px, 16vw, 196px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: rgba(20, 38, 42, 0.6);
  border: 1px solid var(--hair);
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
a.rec-item:hover {
  border-color: var(--rust);
  background: rgba(29, 58, 63, 0.8);
  transform: translateY(-3px);
}
a.rec-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #06100f;
  filter: saturate(0.82) contrast(1.05);
  border-bottom: 1px solid var(--rust-dim);
}
a.rec-item [data-runtime="name"] {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.3;
}
a.rec-item [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mist);
  font-stretch: condensed;
}
.rec-section-1 .rec-title {
  color: #f0d9c8;
}
.rec-section-2 .rec-title {
  color: #e6bcae;
}
.rec-section-3 .rec-title {
  color: #cfe0dd;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-column:nth-child(2) {
  margin-top: 16px;
}
.comment-column:nth-child(3) {
  margin-top: 7px;
}
.comment-card {
  background: linear-gradient(180deg, #ddd6c9, #cfc7b8);
  color: #17201f;
  padding: 9px 11px;
  border: 1px solid #a89f8f;
  border-left: 3px solid var(--rust);
  box-shadow: 3px 3px 0 rgba(10, 21, 23, 0.55);
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #6e2a1c;
  margin-bottom: 4px;
  transform: skewX(-4deg);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: #1d2a29;
  font-stretch: condensed;
}
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px var(--pad) 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.65;
  color: var(--mist);
  max-width: 92ch;
  font-stretch: condensed;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: underline;
  text-decoration-color: var(--rust-dim);
  text-underline-offset: 3px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-bright);
  text-decoration-color: var(--rust-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--hair);
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--rust-bright);
  font-weight: 700;
  transform: skewX(-4deg);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--mist);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid transparent;
  font-stretch: condensed;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  border-color: var(--rust-dim);
  background: rgba(168, 58, 36, 0.16);
}
@media (max-width: 900px) {.hero-visual {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    clip-path: none;
  }
.hero-poster-wrap {
    width: min(100%, 240px);
    transform: rotate(-1deg);
  }
.hero-tagline {
    max-width: none;
  }
.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-column:nth-child(3) {
    margin-top: 0;
  }
.comment-column:nth-child(2) {
    margin-top: 12px;
  }
.cast-card {
    flex: 0 1 138px;
    width: 138px;
  }
.cast-card:nth-child(even) {
    transform: translateY(10px) rotate(0.9deg);
  }
.cast-photo {
    height: 142px;
  }}
@media (max-width: 620px) {body {
    font-size: 14.5px;
  }
.page-main {
    gap: 20px;
    padding-bottom: 20px;
  }
.header-inner {
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.hero-title {
    text-shadow: 3px 3px 0 rgba(168, 58, 36, 0.4);
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.ctl {
    font-size: 11.5px;
    padding: 4px 7px;
  }
.ctl-progress {
    flex: 1 1 100%;
    order: 2;
  }
.cast-list {
    gap: 9px;
  }
.cast-card {
    flex: 0 1 calc(50% - 5px);
    width: calc(50% - 5px);
    transform: none !important;
  }
.cast-photo {
    height: 150px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-column:nth-child(2), .comment-column:nth-child(3) {
    margin-top: 0;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-row {
    flex: 1 1 100%;
  }}
@media (max-width: 400px) {.cast-card {
    flex: 0 1 100%;
    width: 100%;
  }
.cast-photo {
    height: 180px;
  }}

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}
