:root {
  --porcelain: #e8e2d6;
  --porcelain-warm: #d9d1c2;
  --clay: #8a5a3b;
  --clay-dark: #5c3a26;
  --seam: #9b968c;
  --seam-dark: #6f6a61;
  --shadow: #100d0a;
  --shadow-soft: #1c1713;
  --lamp: #e9c98f;
  --lamp-glow: rgba(233, 201, 143, 0.55);
  --ink: #14100c;
  --ink-soft: #3a3129;
  --paper: #efe9dd;
  --line: rgba(155, 150, 140, 0.4);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::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 50% -10%, #2a211a 0%, #16110d 45%, #0c0908 100%);
  color: var(--porcelain);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.96) 0%, rgba(16, 12, 9, 0.88) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.site-brand, a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(233, 201, 143, 0.25);
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
a.nav-link {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--seam);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.nav-link:hover, a.nav-link:focus-visible {
  color: var(--porcelain);
  border-color: var(--line);
  background: rgba(138, 90, 59, 0.18);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
  max-width: 1240px;
  margin: 0 auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--seam);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(232, 226, 214, 0.04);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp);
  border-color: rgba(233, 201, 143, 0.6);
  background: rgba(233, 201, 143, 0.1);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--porcelain);
  padding-left: 12px;
  border-left: 3px solid var(--clay);
  margin-bottom: 10px;
  line-height: 1.3;
}
.panel-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--clay);
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  position: relative;
  padding: 18px 18px 26px;
  background:
    linear-gradient(180deg, rgba(28, 23, 19, 0.92) 0%, rgba(16, 13, 10, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(232, 226, 214, 0.05), 0 18px 44px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 78% 6%, rgba(233, 201, 143, 0.14) 0%, transparent 70%);
  z-index: 0;
}
.hero-media {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: #0b0907;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(155, 150, 140, 0.25);
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-lamp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 30% at 62% 26%, var(--lamp-glow) 0%, rgba(233, 201, 143, 0.12) 40%, transparent 72%),
    linear-gradient(200deg, rgba(12, 9, 7, 0.72) 0%, rgba(12, 9, 7, 0.1) 46%, rgba(12, 9, 7, 0.85) 100%);
  mix-blend-mode: screen;
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.12;
  color: var(--porcelain);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8), 0 0 30px rgba(233, 201, 143, 0.14);
}
.hero-tagline {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--lamp);
  opacity: 0.92;
}
.player-frame {
  width: 100%;
  max-width: 100%;
  background: #090706;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}
.player-frame video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, #1a1511 0%, #100c09 100%);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(232, 226, 214, 0.05);
  color: var(--seam);
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--porcelain);
  border-color: var(--seam-dark);
  background: rgba(138, 90, 59, 0.2);
}
.ctrl-btn.is-active, .ctrl-btn:active {
  color: var(--ink);
  background: var(--lamp);
  border-color: var(--lamp);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 70px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--clay) 0%, rgba(155, 150, 140, 0.35) 100%);
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid var(--clay-dark);
  box-shadow: 0 0 6px rgba(233, 201, 143, 0.6);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--clay-dark);
  border-radius: 50%;
  background: var(--lamp);
}
.player-frame .play, .player-frame .pause, .player-frame .mute, .player-frame .volume, .player-frame .speed, .player-frame .pip, .player-frame .fullscreen, .player-frame .theater, .player-frame .light, .player-frame .progress, .player-frame .timeupdate, .player-frame .input, .player-frame .click, .player-frame .movie-overview, .player-frame .player {
  transition: color 0.16s ease, opacity 0.16s ease;
}
.is-theater .player-frame {
  box-shadow: 0 0 0 1px rgba(233, 201, 143, 0.4), 0 22px 50px rgba(0, 0, 0, 0.8);
}
.is-lights-off .hero-media img, .is-lights-off .hero-lamp {
  filter: brightness(0.6) contrast(1.05);
}
.is-lights-off .player-frame {
  box-shadow: 0 0 0 1px rgba(233, 201, 143, 0.55), 0 0 40px rgba(233, 201, 143, 0.18);
}
.hero-shell.is-lights-off {
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.96) 0%, rgba(6, 5, 4, 0.98) 100%);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--seam);
  padding: 3px 9px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  background: rgba(232, 226, 214, 0.03);
}
.status-item:nth-child(3) {
  color: var(--lamp);
  border-color: rgba(233, 201, 143, 0.45);
}
.cast-panel {
  display: flex;
  flex-direction: column;
}
.cast-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 6px 9px;
  background: rgba(232, 226, 214, 0.035);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
}
.cast-avatar {
  width: 100%;
  max-width: 74px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(38% 34% at 34% 30%, #f0e9dc 0%, #d5ccbb 42%, #b3a894 100%);
  box-shadow:
    inset 0 -8px 14px rgba(138, 90, 59, 0.28),
    inset 0 6px 10px rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(155, 150, 140, 0.5);
}
.cast-avatar::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    linear-gradient(118deg, transparent 46%, rgba(92, 58, 38, 0.34) 50%, transparent 54%);
}
.cast-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--porcelain);
}
.cast-tag {
  font-size: 11px;
  line-height: 1.35;
  color: var(--seam);
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--porcelain-warm);
  opacity: 0.9;
}
.synopsis-para + .synopsis-para {
  margin-top: 5px;
}
.details-panel {
  display: flex;
  flex-direction: column;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(155, 150, 140, 0.28);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--seam);
}
.detail-value {
  font-size: 12.5px;
  color: var(--porcelain);
  margin: 0;
}
.timeline-section {
  position: relative;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.7) 0%, rgba(14, 11, 9, 0.7) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.timeline-stitch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 14px;
  padding-left: 26px;
}
.timeline-stitch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-left: 3px dashed var(--seam);
  opacity: 0.75;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 116px) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--shadow);
  border: 2px solid var(--clay);
  box-shadow: 0 0 0 3px rgba(138, 90, 59, 0.16);
}
.node-time {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lamp);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--porcelain-warm);
  opacity: 0.92;
}
.episodes-section {
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.7) 0%, rgba(14, 11, 9, 0.7) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 9px;
  background: rgba(232, 226, 214, 0.035);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(138, 90, 59, 0.5);
  border-radius: 2px;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-cell:hover {
  background: rgba(138, 90, 59, 0.16);
  border-color: rgba(233, 201, 143, 0.45);
}
.ep-number {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--lamp);
}
.ep-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--porcelain);
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--seam);
}
.ep-duration {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--clay);
}
.comments-section {
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.7) 0%, rgba(14, 11, 9, 0.7) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.comment-note-list {
  columns: 2;
  column-gap: 10px;
}
.comment-note {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 9px 10px 10px;
  background:
    linear-gradient(180deg, rgba(239, 233, 221, 0.96) 0%, rgba(224, 216, 200, 0.96) 100%);
  color: var(--ink-soft);
  border-radius: 1px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  position: relative;
}
.comment-note:nth-child(odd) {
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(even) {
  transform: rotate(0.6deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.25deg);
}
.note-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #2c241c;
}
.note-nick {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--clay-dark);
  text-align: right;
}
.recommend-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.72) 0%, rgba(14, 11, 9, 0.72) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(138, 90, 59, 0.6);
  border-radius: 3px;
}
.strip-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--porcelain);
  line-height: 1.3;
}
.strip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 8px;
  align-items: start;
}
.strip-item {
  display: flex;
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 6px;
  color: var(--porcelain-warm);
  text-decoration: none;
  background: rgba(232, 226, 214, 0.035);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background 0.16s ease, border-color 0.16s ease;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  background: rgba(138, 90, 59, 0.2);
  border-color: rgba(233, 201, 143, 0.5);
  color: var(--porcelain);
}
a[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.85) contrast(1.04) brightness(0.92);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: var(--porcelain);
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--seam);
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--seam);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: rgba(233, 201, 143, 0.55);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 10px 12px;
  background: rgba(232, 226, 214, 0.03);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--clay);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--seam);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(155, 150, 140, 0.28);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--porcelain);
  border-color: rgba(233, 201, 143, 0.5);
  background: rgba(138, 90, 59, 0.18);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(155, 150, 140, 0.72);
  max-width: 900px;
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.hero-shell {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 16px;
  }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-media {
    max-width: 300px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-note-list {
    columns: 2;
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 12px 12px 32px;
    gap: 20px;
  }
.header-bar {
    padding: 8px 12px;
    gap: 10px;
  }
.header-nav {
    margin-left: 0;
  }
.categories-strip {
    padding: 0 12px 9px;
  }
.hero-shell {
    padding: 14px 12px 20px;
  }
.hero-media {
    max-width: 240px;
  }
.timeline-node {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note-list {
    columns: 1;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.strip-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.player-controls {
    gap: 5px;
    padding: 6px 7px;
  }
.ctrl-btn {
    font-size: 11.5px;
    padding: 5px 8px;
  }}
@media (max-width: 420px) {.cast-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.strip-list {
    grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  }
.hero-media {
    max-width: 200px;
  }}

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}
