:root {
  --ink: #14100c;
  --ink-soft: #241c15;
  --brown: #3a2a1d;
  --brown-2: #4d3726;
  --smoke: #7a6450;
  --paper: #e8dcc8;
  --paper-dim: #cbbda4;
  --accent: #c65a28;
  --accent-2: #e0a44e;
  --tape: rgba(214, 196, 156, 0.55);
  --line: rgba(200, 176, 138, 0.22);
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-hand: "Xingkai SC", "Kaiti SC", "STKaiti", "KaiTi", "Segoe Script", cursive;
  --pad: 14px;
  --gap: 12px;
  --radius: 2px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, #2b2016 0%, transparent 60%),
    radial-gradient(800px 400px at 0% 40%, #21190f 0%, transparent 55%),
    linear-gradient(180deg, #1a130c 0%, #120d09 55%, #0d0906 100%);
  background-color: #120d09;
  color: var(--paper);
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol, dl, dd, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
a:hover, a:focus-visible {
  color: #f2c778;
  text-decoration: underline;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 14, 9, 0.96) 0%, rgba(20, 14, 9, 0.86) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"], .brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  padding: 2px 10px 2px 8px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(198, 90, 40, 0.16), transparent 70%);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover, .brand:hover {
  color: #fff;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--accent-2);
  border-color: var(--accent-2);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad) 34px;
  display: block;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  padding: 0 0 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  grid-template-areas:
    "figure caption"
    "figure synopsis"
    "figure status";
  column-gap: 22px;
  row-gap: 0;
  align-items: start;
  padding: 18px 0 26px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}
.hero-figure {
  grid-area: figure;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 220px;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  filter: saturate(0.94) contrast(1.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(200, 176, 138, 0.18);
}
.hero-figure::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2.4deg);
  width: 84px;
  height: 20px;
  background: var(--tape);
  opacity: 0.75;
  pointer-events: none;
}
.hero-caption {
  grid-area: caption;
  align-self: end;
  justify-self: end;
  text-align: right;
  max-width: 620px;
  padding: 6px 0 10px;
}
.movie-title {
  font-size: clamp(22px, 3.4vw, 40px);
  letter-spacing: 0.05em;
  color: #f4ead6;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 10px 26px rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-family: var(--font-hand);
  font-size: clamp(13px, 1.6vw, 18px);
  color: var(--accent-2);
  letter-spacing: 0.18em;
  margin-top: 4px;
  transform: rotate(-0.8deg);
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  margin-top: 6px;
}
.synopsis-body {
  columns: 2;
  column-gap: 24px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13px;
  color: var(--paper-dim);
  margin-bottom: 8px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-size: 26px;
  line-height: 1;
  color: var(--accent-2);
  font-weight: 700;
  margin-right: 2px;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.status-line {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  padding: 3px 10px;
  background: rgba(198, 90, 40, 0.12);
  border-left: 2px solid var(--accent);
}
.status-number {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--accent-2);
  padding: 0 2px;
}
.cast-strip {
  margin-bottom: 18px;
}
.cast-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--brown-2) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 6px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: var(--brown-2);
  border-radius: 3px;
}
.cast-item {
  flex: 0 0 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.cast-item::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 10px;
  width: 34px;
  height: 12px;
  background: var(--tape);
  opacity: 0.6;
  transform: rotate(3deg);
}
.cast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #8a6a4c 0%, #4a3322 58%, #241810 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 176, 138, 0.3);
  margin-bottom: 2px;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #f0e4cd;
  letter-spacing: 0.06em;
}
.cast-role {
  font-family: var(--font-hand);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--smoke);
}
.detail-card {
  background:
    linear-gradient(180deg, rgba(233, 220, 198, 0.06), rgba(233, 220, 198, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 14px;
  margin-bottom: 20px;
  position: relative;
}
.detail-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: -7px;
  width: 70px;
  height: 16px;
  background: var(--tape);
  opacity: 0.5;
  transform: rotate(-1.6deg);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(200, 176, 138, 0.16);
}
.detail-key {
  flex: 0 0 68px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--smoke);
}
.detail-value {
  font-size: 13px;
  color: var(--paper);
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
  background: #0a0705;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.player-shell.lights-off {
  background: #000;
  box-shadow: 0 0 0 1px rgba(198, 90, 40, 0.5), 0 0 40px rgba(0, 0, 0, 0.9);
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 1px var(--accent-2), 0 22px 50px rgba(0, 0, 0, 0.7);
}
.player-video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #000;
  border-radius: var(--radius);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 6px 4px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}
.ctrl-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--smoke);
  white-space: nowrap;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brown-2));
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  border: 1px solid #2a1c10;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--accent-2);
}
.ctrl-progress {
  width: 200px;
  max-width: 40vw;
}
.ctrl-volume {
  width: 90px;
}
.ctrl-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  padding: 2px 4px;
  font-size: 11.5px;
}
.ctrl-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper-dim);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ctrl-btn:hover {
  background: rgba(198, 90, 40, 0.22);
  color: #fff;
}
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted, .ctrl-btn.is-pip, .ctrl-btn.is-fullscreen {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ctrl-play {
  background: linear-gradient(180deg, rgba(198, 90, 40, 0.5), rgba(198, 90, 40, 0.24));
  border-color: rgba(198, 90, 40, 0.6);
  color: #f7ecdb;
  font-weight: 700;
}
.timeline-section {
  margin-bottom: 22px;
}
.timeline-list {
  position: relative;
  padding-left: 26px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--brown-2) 45%, rgba(200, 176, 138, 0.2) 100%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 6px 8px 6px 4px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(200, 176, 138, 0.13);
  border-radius: var(--radius);
}
.node-pin {
  position: absolute;
  left: -23px;
  top: 11px;
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  border: 2px solid #1b130c;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(224, 164, 78, 0.28);
}
.node-timecode {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
  letter-spacing: 0.06em;
}
.node-label {
  font-size: 13px;
  color: var(--paper);
  min-width: 0;
}
.node-tag {
  font-family: var(--font-hand);
  font-size: 12px;
  color: var(--smoke);
  white-space: nowrap;
  padding: 1px 8px;
  border: 1px dashed rgba(200, 176, 138, 0.34);
  border-radius: var(--radius);
}
.episodes-cast-row {
  display: block;
  margin-bottom: 22px;
}
.episodes-section {
  min-width: 0;
}
.episode-wide-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 12px 14px;
  max-width: 760px;
  background:
    linear-gradient(180deg, rgba(233, 220, 198, 0.055), rgba(233, 220, 198, 0.012));
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  position: relative;
}
.episode-wide-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 120px;
  width: 78px;
  height: 16px;
  background: var(--tape);
  opacity: 0.55;
  transform: rotate(-2deg);
}
.episode-number {
  font-family: var(--font-hand);
  font-size: 58px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.episode-body {
  min-width: 0;
}
.episode-title {
  font-size: 16px;
  color: #f4ead6;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.episode-summary {
  font-size: 12.5px;
  color: var(--paper-dim);
  text-align: justify;
  margin-bottom: 6px;
}
.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.episode-duration {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--smoke);
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comments-section {
  margin-bottom: 22px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-column-a {
  margin-top: 0;
}
.comment-column-b {
  margin-top: 22px;
}
.comment-card {
  position: relative;
  padding: 10px 12px;
  background: linear-gradient(180deg, #efe4cd 0%, #e2d4b8 100%);
  color: #2a1d12;
  border-radius: 1px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.5deg);
}
.comment-column-b .comment-card:nth-child(odd) {
  transform: rotate(0.7deg);
}
.comment-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.4deg);
  width: 54px;
  height: 14px;
  background: var(--tape);
  opacity: 0.85;
}
.comment-nickname {
  display: block;
  font-family: var(--font-hand);
  font-size: 14px;
  color: #8a3f18;
  margin-bottom: 3px;
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: #33241a;
  text-align: justify;
}
.rec-region {
  margin-bottom: 20px;
}
.rec-title {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  padding-left: 10px;
  margin-bottom: 10px;
  border-left: 3px solid var(--accent);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 12px;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
a.rec-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.rec-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(198, 90, 40, 0.12);
  color: #fff;
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.92) brightness(0.96);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #f0e4cd;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--smoke);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55));
  border-top: 1px solid var(--line);
  padding: 16px var(--pad) 26px;
  max-width: 1180px;
  margin: 0 auto;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--smoke);
  padding-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
a.runtime-friend-link:hover {
  color: var(--ink);
  background: var(--accent-2);
  border-color: var(--accent-2);
  text-decoration: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: #f2c778;
  border-bottom-color: currentColor;
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--smoke);
  max-width: 720px;
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    column-gap: 16px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.episode-wide-card {
    max-width: none;
  }}
@media (max-width: 720px) {body {
    font-size: 13.5px;
  }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "caption"
      "figure"
      "synopsis"
      "status";
    row-gap: 12px;
    padding-top: 12px;
  }
.hero-figure {
    max-width: 200px;
  }
.hero-caption {
    text-align: left;
    justify-self: start;
    padding-bottom: 0;
  }
.movie-title {
    font-size: clamp(20px, 6vw, 28px);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-column-b {
    margin-top: 0;
  }
.comment-card, .comment-column-b .comment-card:nth-child(odd) {
    transform: none;
  }
.timeline-node {
    grid-template-columns: 58px minmax(0, 1fr);
  }
.node-tag {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 2px;
  }
.episode-wide-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }
.episode-number {
    font-size: 44px;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
.ctrl-progress {
    width: 100%;
    max-width: 100%;
  }
.ctrl-volume {
    width: 72px;
  }}
@media (max-width: 480px) {.header-inner {
    gap: 8px;
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 26px;
  }
.category-nav {
    margin-left: 0;
    width: 100%;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    padding-left: 22px;
  }
.node-pin {
    left: -19px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
