:root {
  --butter-lamp: #c9702a;
  --butter-glow: #e79a4d;
  --faded-red: #7d2b26;
  --faded-red-deep: #4e1a17;
  --frozen-blue: #5a6b78;
  --frozen-blue-deep: #2c3a44;
  --ink: #0d0e10;
  --ink-2: #15171b;
  --ink-3: #1d2026;
  --ink-4: #262a31;
  --ash: #8e9298;
  --ash-warm: #b3a894;
  --parchment: #d9cdb4;
  --parchment-dim: #a89c85;
  --line: rgba(201, 112, 42, 0.22);
  --line-soft: rgba(217, 205, 180, 0.12);
  --serif: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", "Georgia", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  color: var(--parchment);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(201, 112, 42, 0.08), transparent 60%),
    linear-gradient(180deg, #0b0c0e 0%, #0d0e10 40%, #101218 100%);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--parchment);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(13, 14, 16, 0.96), rgba(13, 14, 16, 0.88));
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(3px);
}
.site-brand {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--butter-glow);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(201, 112, 42, 0.35);
}
.site-brand:hover {
  color: var(--parchment);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
}
.runtime-category {
  color: var(--ash-warm);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
  color: var(--butter-lamp);
  border-bottom-color: var(--faded-red);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px 0;
}
.watch-shell {
  background:
    linear-gradient(180deg, #0a0b0d, #101216);
  border: 1px solid var(--line-soft);
  border-top: 1px solid var(--line);
  padding: 8px;
  margin-bottom: 22px;
  position: relative;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid rgba(125, 43, 38, 0.35);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9), 0 0 24px rgba(201, 112, 42, 0.06);
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 2px 2px;
}
.player-btn {
  background: linear-gradient(180deg, var(--ink-4), var(--ink-2));
  border: 1px solid rgba(201, 112, 42, 0.3);
  color: var(--ash-warm);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  white-space: nowrap;
}
.player-btn:hover, .player-btn.click {
  color: var(--butter-glow);
  border-color: var(--butter-lamp);
  background: linear-gradient(180deg, #2c2016, #1a1410);
}
.player-btn.play {
  color: var(--butter-glow);
  border-color: var(--faded-red);
}
.player-btn.mute, .player-btn.fullscreen, .player-btn.pip, .player-btn.speed, .player-btn.input {
  color: var(--ash-warm);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--faded-red), var(--ink-4));
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 0;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--butter-lamp);
  border: 1px solid #1a1410;
  box-shadow: 0 0 8px rgba(201, 112, 42, 0.7);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--butter-lamp);
  border: 1px solid #1a1410;
  box-shadow: 0 0 8px rgba(201, 112, 42, 0.7);
  cursor: pointer;
  border-radius: 0;
}
.player-range.progress {
  background: linear-gradient(90deg, var(--butter-lamp) 0%, var(--ink-4) 0%);
}
.player-range.volume {
  flex: 0 1 80px;
  min-width: 56px;
}
.player-speed {
  background: var(--ink-2);
  border: 1px solid rgba(201, 112, 42, 0.3);
  color: var(--ash-warm);
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
}
.player-speed.speed {
  color: var(--butter-glow);
}
.watch-shell.player-live .player-frame {
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(201, 112, 42, 0.12);
}
video.player-live {
  outline: none;
}
body.theater-mode {
  background: #050506;
}
body.theater-mode .watch-shell {
  max-width: 100%;
  margin-left: -20px;
  margin-right: -20px;
  padding: 8px 20px;
}
body.theater-mode .page-main {
  max-width: 100%;
}
body.theater-mode video.theater-active {
  max-height: 76vh;
  object-fit: contain;
}
body.lights-off {
  background: #000;
}
body.lights-off .site-header, body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region, body.lights-off .site-footer {
  opacity: 0.28;
  transition: opacity 0.4s;
}
body.lights-off .watch-shell {
  opacity: 1;
  border-color: var(--butter-lamp);
}
body.lights-off video.lights-off-active {
  box-shadow: 0 0 80px rgba(201, 112, 42, 0.25);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  grid-template-areas:
    "head media"
    "status media"
    "details cast"
    "details synopsis";
  gap: 0 22px;
  background:
    linear-gradient(180deg, rgba(29, 32, 38, 0.55), rgba(13, 14, 16, 0.2));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--faded-red);
  padding: 18px 20px 20px;
  margin-bottom: 26px;
  position: relative;
}
.overview-head {
  grid-area: head;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.overview-title {
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--parchment);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
}
.overview-tagline {
  font-size: 12px;
  color: var(--butter-lamp);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.overview-seo {
  font-size: 12px;
  color: var(--ash);
  line-height: 1.55;
  margin-top: 8px;
  max-width: 62ch;
}
.overview-media {
  grid-area: media;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(125, 43, 38, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 8px 26px rgba(0, 0, 0, 0.7);
  background: #000;
}
.overview-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.96);
}
.episode-status {
  grid-area: status;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line-soft);
}
.status-line {
  font-size: 12px;
  color: var(--ash-warm);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.status-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}
.status-chip {
  font-size: 11px;
  color: var(--frozen-blue);
  border: 1px solid rgba(90, 107, 120, 0.5);
  background: rgba(44, 58, 68, 0.22);
  padding: 2px 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.details-panel {
  grid-area: details;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.details-heading, .cast-heading, .synopsis-heading {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--butter-lamp);
  padding-left: 8px;
  border-left: 2px solid var(--faded-red);
  margin-bottom: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 14px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(217, 205, 180, 0.14);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--frozen-blue);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--ash-warm);
  overflow-wrap: anywhere;
}
.cast-panel {
  grid-area: cast;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(38, 42, 49, 0.6), rgba(21, 23, 27, 0.85));
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(125, 43, 38, 0.7);
}
.cast-role {
  font-size: 13px;
  color: var(--parchment);
  letter-spacing: 0.06em;
}
.cast-actor {
  font-size: 11px;
  color: var(--butter-lamp);
  letter-spacing: 0.05em;
}
.cast-relation {
  font-size: 11px;
  color: var(--frozen-blue);
  line-height: 1.35;
}
.synopsis-panel {
  grid-area: synopsis;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.synopsis-para {
  font-size: 12px;
  color: var(--ash);
  line-height: 1.6;
  text-indent: 2em;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.section-heading {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--butter-glow);
  padding-left: 10px;
  border-left: 3px solid var(--faded-red);
  margin-bottom: 12px;
}
.timeline-section {
  margin-bottom: 26px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--faded-red) var(--ink-2);
  border-top: 1px solid var(--line-soft);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--ink-2);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--faded-red);
}
.timeline-node {
  position: relative;
  padding: 14px 14px 16px 14px;
  border-left: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(21, 23, 27, 0.6), rgba(13, 14, 16, 0.2));
  min-height: 100%;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 26px;
  background: var(--frozen-blue);
}
.timeline-node:first-child {
  border-left: none;
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--frozen-blue);
  margin-bottom: 6px;
}
.timeline-label {
  display: block;
  font-size: 12px;
  color: var(--ash);
  line-height: 1.5;
}
.timeline-node-current {
  background: linear-gradient(180deg, rgba(125, 43, 38, 0.3), rgba(13, 14, 16, 0.35));
  border-left: 1px solid var(--butter-lamp);
}
.timeline-node-current::before {
  background: var(--butter-lamp);
  box-shadow: 0 0 12px rgba(201, 112, 42, 0.8);
  height: 40px;
}
.timeline-node-current .timeline-timecode {
  color: var(--butter-glow);
}
.timeline-node-current .timeline-label {
  color: var(--parchment);
}
.episodes-section {
  margin-bottom: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num duration";
  column-gap: 12px;
  align-items: start;
  padding: 10px 12px 10px 10px;
  background:
    linear-gradient(180deg, rgba(29, 32, 38, 0.7), rgba(13, 14, 16, 0.35));
  border: 1px solid var(--line-soft);
  border-top: 1px solid rgba(125, 43, 38, 0.5);
}
.episode-number {
  grid-area: num;
  font-size: 30px;
  line-height: 0.9;
  font-family: var(--serif);
  color: transparent;
  -webkit-text-stroke: 1px var(--faded-red);
  text-stroke: 1px var(--faded-red);
  padding-top: 2px;
  min-width: 34px;
  text-align: center;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  color: var(--parchment);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.episode-summary {
  grid-area: summary;
  font-size: 11.5px;
  color: var(--ash);
  line-height: 1.5;
}
.episode-duration {
  grid-area: duration;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--frozen-blue);
}
.comments-section {
  margin-bottom: 26px;
}
.comment-masonry {
  columns: 3;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(38, 42, 49, 0.5), rgba(21, 23, 27, 0.8));
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(90, 107, 120, 0.55);
}
.comment-card-alt {
  background: linear-gradient(180deg, rgba(125, 43, 38, 0.22), rgba(13, 14, 16, 0.75));
  border-left: 2px solid rgba(201, 112, 42, 0.55);
}
.comment-text {
  font-size: 12px;
  color: var(--ash-warm);
  line-height: 1.55;
  margin-bottom: 7px;
}
.comment-nickname {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--frozen-blue);
  text-align: right;
}
.comment-nickname::before {
  content: "— ";
  color: var(--faded-red);
}
.recommend-region {
  margin-bottom: 22px;
  padding-top: 4px;
}
.recommend-heading {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--butter-glow);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.recommend-item {
  min-width: 0;
}
.recommend-item a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  color: var(--ash-warm);
  text-decoration: none;
  padding: 6px;
  background: linear-gradient(180deg, rgba(29, 32, 38, 0.55), rgba(13, 14, 16, 0.3));
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.recommend-item a[data-runtime="recommendation"]:hover {
  border-color: rgba(201, 112, 42, 0.55);
  background: linear-gradient(180deg, rgba(125, 43, 38, 0.25), rgba(13, 14, 16, 0.5));
  color: var(--parchment);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 130px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
  border-bottom: 1px solid rgba(125, 43, 38, 0.4);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  color: var(--parchment);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  color: var(--ash);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(21, 23, 27, 0.6), rgba(8, 9, 11, 0.95));
  padding: 16px 20px 24px;
  margin-top: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a[data-contract="footer-home"] {
  color: var(--butter-lamp);
}
a[data-contract="footer-home"]:hover {
  color: var(--butter-glow);
  border-bottom-color: var(--butter-lamp);
}
a[data-contract="footer-sitemap"] {
  color: var(--frozen-blue);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--butter-lamp);
  border-bottom-color: var(--faded-red);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 10px 0;
  margin-bottom: 10px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--faded-red);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px dotted rgba(90, 107, 120, 0.5);
  transition: color 0.2s, border-color 0.2s;
}
a.runtime-friend-link:hover {
  color: var(--butter-lamp);
  border-bottom-color: var(--butter-lamp);
}
.footer-disclaimer {
  font-size: 10.5px;
  color: rgba(142, 146, 152, 0.75);
  line-height: 1.55;
  max-width: 78ch;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-areas:
      "head media"
      "status media"
      "details details"
      "cast cast"
      "synopsis synopsis";
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-masonry {
    columns: 2;
  }}
@media (max-width: 680px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 8px 12px 0;
  }
.site-header {
    padding: 9px 12px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "head"
      "status"
      "details"
      "cast"
      "synopsis";
    gap: 0;
    padding: 14px 12px 16px;
  }
.overview-media {
    width: min(62%, 220px);
    margin-bottom: 12px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-masonry {
    columns: 1;
  }
.timeline-track {
    grid-auto-columns: minmax(168px, 78%);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 8px;
  }
.player-controls {
    gap: 5px 6px;
  }
.player-range {
    flex: 1 1 100%;
  }
.player-range.volume {
    flex: 1 1 100px;
  }
body.theater-mode .watch-shell {
    margin-left: -12px;
    margin-right: -12px;
    padding: 6px 12px;
  }
.site-footer {
    padding: 14px 12px 22px;
  }}
@media (max-width: 420px) {.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.overview-media {
    width: min(74%, 200px);
  }
.overview-title {
    font-size: 19px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
