:root {
  --warm: #e8792b;
  --warm-deep: #b8501a;
  --warm-soft: #f6a55e;
  --ink: #0f1c17;
  --ink-2: #14261f;
  --ink-3: #1d3329;
  --green: #123a2c;
  --green-line: #2c5a45;
  --alert: #d92b2b;
  --alert-deep: #9e1616;
  --paper: #f4ede2;
  --paper-dim: #e6dccb;
  --text: #ede4d6;
  --text-dim: #a9b6ac;
  --radius: 4px;
  --gap: 10px;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--warm-soft);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--ink-2), rgba(15, 28, 23, 0.94));
  border-bottom: 1px solid var(--green-line);
  box-shadow: 0 2px 0 rgba(232, 121, 43, 0.35);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px 6px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--warm-soft);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "▍";
  color: var(--alert);
  margin-right: 2px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
a.header-nav-link {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.header-nav-link:hover {
  color: var(--ink);
  background: var(--warm);
  border-color: var(--warm-deep);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 14px 8px;
  max-width: 1400px;
  margin: 0 auto;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm-soft);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(232, 121, 43, 0.1);
  border: 1px solid rgba(232, 121, 43, 0.4);
  border-left: 3px solid var(--alert);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
a.runtime-category:hover {
  background: var(--alert);
  color: #fff;
  border-color: var(--alert-deep);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 14px 0;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--green-line);
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--green-line);
  background: var(--ink-2);
  overflow: hidden;
}
.hero-poster-frame {
  position: relative;
  width: 100%;
  background: var(--ink);
}
.hero-poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.hero-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #fff 8%, var(--warm-soft) 45%, #fff 92%, transparent);
  box-shadow: 0 0 14px 2px rgba(255, 200, 140, 0.55), 0 0 34px 8px rgba(232, 121, 43, 0.25);
  z-index: 3;
  pointer-events: none;
}
.hero-double-face {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100%;
  flex: 1 1 auto;
}
.hero-face-warm, .hero-face-cold {
  padding: 10px 10px 12px;
  min-height: 84px;
  display: flex;
  align-items: flex-end;
}
.hero-face-warm {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(246, 165, 94, 0.5), transparent 70%),
    linear-gradient(170deg, #7a3d12, #3a1d09 70%, #25150a);
}
.hero-face-cold {
  background:
    linear-gradient(200deg, rgba(20, 40, 34, 0), rgba(5, 12, 10, 0.95)),
    linear-gradient(340deg, var(--green), #050b09 75%);
}
.hero-face-note {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.hero-face-warm .hero-face-note {
  color: #ffd9ac;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.hero-face-cold .hero-face-note {
  color: #9fd8c2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  border-left: 2px solid var(--alert);
  padding-left: 7px;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--warm-soft);
  text-transform: uppercase;
  border-left: 3px solid var(--alert);
  padding-left: 8px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-shadow: 2px 2px 0 rgba(184, 80, 26, 0.5), 0 6px 22px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-size: 13px;
  color: var(--warm-soft);
  line-height: 1.6;
  border-left: 2px solid var(--warm-deep);
  padding-left: 9px;
}
.hero-seo {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 66ch;
}
.hero-player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--green-line);
  box-shadow: 0 0 0 1px rgba(232, 121, 43, 0.18), 0 10px 30px rgba(0, 0, 0, 0.55);
}
.hero-player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.hero-player-shell.is-playing {
  border-color: var(--warm);
  box-shadow: 0 0 0 1px var(--warm), 0 0 22px rgba(232, 121, 43, 0.4);
}
body.is-lights-off .page-main > *:not(.hero-split), body.is-lights-off .site-footer {
  opacity: 0.28;
}
body.is-lights-off .hero-split {
  background: #040806;
}
body.is-theater .hero-player-shell {
  box-shadow: 0 0 0 3px var(--alert), 0 0 40px rgba(217, 43, 43, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--ink-3);
  border: 1px solid var(--green-line);
  border-top: 0;
}
.ctl-btn {
  padding: 4px 9px;
  font-size: 11px;
  color: var(--text);
  background: linear-gradient(180deg, #24402f, #162a20);
  border: 1px solid var(--green-line);
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctl-btn:hover {
  background: var(--warm);
  color: var(--ink);
  border-color: var(--warm-deep);
}
.ctl-btn:active, .ctl-btn.click {
  background: var(--alert);
  color: #fff;
  border-color: var(--alert-deep);
}
.ctl-field {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--green-line);
  border-radius: 2px;
}
.ctl-label {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}
.ctl-range {
  width: 92px;
  height: 14px;
  accent-color: var(--warm);
  background: transparent;
  cursor: pointer;
}
.ctl-select {
  padding: 2px 4px;
  font-size: 11px;
  background: #162a20;
  color: var(--text);
  border: 1px solid var(--green-line);
  border-radius: 2px;
}
.ctl-btn.input, .ctl-field.input {
  outline: 2px solid var(--warm-soft);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-item {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--text);
  background: rgba(18, 58, 44, 0.85);
  border: 1px solid var(--green-line);
  border-radius: 2px;
  white-space: nowrap;
}
.status-item:nth-child(3) {
  color: #fff;
  background: var(--alert-deep);
  border-color: var(--alert);
}
.cast-strip {
  padding: 8px 0 0;
  border-top: 1px dashed var(--green-line);
}
.cast-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--warm-soft);
  margin-bottom: 7px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px 5px 5px;
  background: rgba(20, 38, 31, 0.9);
  border: 1px solid var(--green-line);
  border-radius: 2px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, var(--warm-soft), var(--warm-deep) 58%, #2b1207 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 1px 0 var(--alert);
}
.cast-item:nth-child(even) .cast-avatar {
  background:
    radial-gradient(circle at 66% 30%, #7fc3a6, var(--green) 58%, #040a08 100%);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
}
.cast-role {
  font-size: 10.5px;
  color: var(--text-dim);
  white-space: nowrap;
}
.section-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
  padding-left: 9px;
  margin-bottom: 8px;
  border-left: 4px solid var(--warm);
  line-height: 1.2;
}
.synopsis {
  padding: 9px 0 0;
  border-top: 1px dashed var(--green-line);
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 7px;
  text-indent: 1.2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
  color: var(--warm-soft);
}
.details {
  padding: 9px 0 0;
  border-top: 1px dashed var(--green-line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 3px 10px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(44, 90, 69, 0.7);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.details-key::after {
  content: "·";
  margin-left: 2px;
  color: var(--warm-deep);
}
.details-value {
  flex: 1 1 auto;
  font-size: 11.5px;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--green-line);
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-color: var(--warm-deep) var(--ink-2);
  scrollbar-width: thin;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--ink-2);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--warm-deep);
  border-radius: 4px;
}
.timeline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 10px;
  background: linear-gradient(165deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--green-line);
  border-top: 3px solid var(--warm);
  border-radius: 2px;
  min-height: 74px;
}
.timeline-card::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--green-line);
}
.timeline-card:last-child::after {
  display: none;
}
.timeline-card:nth-child(4n + 2) {
  border-top-color: var(--alert);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--warm-soft);
  letter-spacing: 0.05em;
}
.timeline-label {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.episodes-section {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--green-line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  background: var(--ink-2);
  border: 1px solid var(--green-line);
  border-left: 3px solid var(--green-line);
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--warm);
  background: var(--ink-3);
}
.episode-details {
  width: 100%;
}
.episode-summary {
  display: grid;
  grid-template-columns: 26px auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::marker {
  content: "";
}
.episode-thumb {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background:
    linear-gradient(135deg, var(--warm-soft) 0 48%, var(--green) 52% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}
.episode-number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12px;
  color: var(--warm-soft);
  white-space: nowrap;
}
.episode-title {
  color: var(--paper);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 1px 5px;
  border: 1px solid var(--green-line);
  border-radius: 2px;
}
.episode-details[open] > .episode-summary {
  border-bottom: 1px solid var(--green-line);
  background: rgba(232, 121, 43, 0.08);
}
.episode-details[open] .episode-summary::before {
  content: "";
}
.episode-abstract {
  padding: 8px 9px 9px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-dim);
  border-top: 0;
}
.comments-section {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--green-line);
}
.comment-wall {
  columns: 3 220px;
  column-gap: 9px;
}
.comment-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 9px;
  padding: 9px 10px;
  background: var(--paper);
  color: #241a10;
  border-radius: 2px;
  border-left: 4px solid var(--warm-deep);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.5deg);
  border-left-color: var(--alert);
}
.comment-card:nth-child(3n + 2) {
  transform: rotate(0.45deg);
  background: var(--paper-dim);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.68;
  color: #241a10;
}
.comment-meta {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px dashed rgba(36, 26, 16, 0.3);
  text-align: right;
}
.comment-nickname {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--warm-deep);
  letter-spacing: 0.04em;
}
.comment-nickname::before {
  content: "— ";
  color: var(--alert);
}
.recommend-region {
  padding: 14px 0 4px;
}
.recommend-region:last-of-type {
  padding-bottom: 12px;
}
.recommend-heading {
  display: inline-block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--warm);
  padding: 3px 12px 4px;
  margin-bottom: 9px;
  border-left: 5px solid var(--alert);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--ink-2);
  border: 1px solid var(--green-line);
  border-radius: 2px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-color: var(--warm);
  background: var(--ink-3);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: var(--green);
  filter: saturate(0.94);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 10px;
  padding: 12px 14px 20px;
  background: linear-gradient(180deg, var(--ink-2), #070f0c);
  border-top: 2px solid var(--warm-deep);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--warm-soft);
  text-decoration: none;
  padding: 2px 10px;
  border: 1px solid var(--green-line);
  border-radius: 2px;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  background: var(--warm);
  border-color: var(--warm-deep);
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--alert);
  letter-spacing: 0.14em;
  padding-right: 6px;
  border-right: 1px solid var(--green-line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 7px;
  background: rgba(18, 58, 44, 0.6);
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  border-color: var(--warm);
  background: rgba(232, 121, 43, 0.16);
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: #6f8078;
  max-width: 92ch;
  border-top: 1px dashed var(--green-line);
  padding-top: 7px;
}
@media (max-width: 980px) {.hero-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-visual {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }
.hero-poster-frame {
    flex: 0 0 190px;
    width: 190px;
  }
.hero-double-face {
    flex: 1 1 240px;
    min-height: 0;
  }
.hero-divider {
    left: auto;
  }
.comment-wall {
    columns: 2 200px;
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.header-bar, .category-strip, .page-main, .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }
.hero-title {
    font-size: 25px;
  }
.hero-visual {
    flex-direction: column;
  }
.hero-poster-frame {
    flex: 0 0 auto;
    width: 100%;
  }
.hero-double-face {
    flex: 0 0 auto;
  }
.hero-face-warm, .hero-face-cold {
    min-height: 68px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.comment-wall {
    columns: 1;
  }
.comment-card:nth-child(3n), .comment-card:nth-child(3n + 2) {
    transform: none;
  }
.ctl-field {
    flex: 1 1 auto;
    justify-content: space-between;
  }
.ctl-range {
    width: 100%;
    min-width: 70px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 420px) {.episode-summary {
    grid-template-columns: 22px auto 1fr;
    row-gap: 3px;
  }
.episode-thumb {
    width: 22px;
    height: 22px;
  }
.episode-duration {
    grid-column: 2 / -1;
    justify-self: start;
  }}

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}
