:root {
  --ink: #2b2420;
  --paper: #f2e6cd;
  --paper-deep: #e7d5b3;
  --stove: #1c1916;
  --stove-soft: #2a2521;
  --oil: #a9762f;
  --orange: #d97a2b;
  --orange-bright: #ee8f33;
  --red-paint: #b23a2a;
  --hand: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", "Noto Serif SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  --line: rgba(43, 36, 32, 0.18);
  --radius-pot: 16px;
  --radius-board: 3px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--stove);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(169, 118, 47, 0.16), transparent 42%),
    radial-gradient(circle at 88% 2%, rgba(217, 122, 43, 0.12), transparent 38%),
    var(--paper);
  line-height: 1.5;
  font-size: 15px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--hand);
  font-weight: 700;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(28, 25, 22, 0.96);
  color: var(--paper);
  border-bottom: 2px solid var(--oil);
  backdrop-filter: blur(2px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-brand, a[data-contract="site-name"] {
  font-family: var(--hand);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange-bright);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--paper);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
a.nav-link {
  font-size: 14px;
  color: var(--paper-deep);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: var(--radius-pot);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
a.nav-link:hover {
  background: var(--oil);
  color: var(--stove);
}
.categories-shell {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 16px 10px;
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px dashed rgba(242, 230, 205, 0.18);
}
.categories-label {
  font-family: var(--hand);
  font-size: 13px;
  color: var(--oil);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex: none;
}
a.runtime-category {
  font-size: 12.5px;
  color: var(--paper-deep);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid rgba(169, 118, 47, 0.55);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--stove);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.hero-shell {
  position: relative;
  margin-top: 18px;
}
.hero-info-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "info   poster"
    "info   player"
    "info   rest";
  column-gap: 26px;
  row-gap: 0;
  background:
    linear-gradient(180deg, rgba(242, 230, 205, 0.55), rgba(231, 213, 179, 0.35));
  border: 1px solid var(--line);
  border-radius: var(--radius-pot);
  padding: 20px;
  overflow: hidden;
}
.hero-info-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background:
    radial-gradient(circle at 22% 30%, rgba(169, 118, 47, 0.28), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(178, 58, 42, 0.14), transparent 26%),
    radial-gradient(circle at 45% 55%, rgba(169, 118, 47, 0.18), transparent 16%);
  pointer-events: none;
  z-index: 0;
}
.hero-info-panel > * {
  position: relative;
  z-index: 1;
}
.movie-tagline {
  font-family: var(--hand);
  font-size: 16px;
  color: var(--red-paint);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--red-paint);
}
.movie-title {
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.05;
  color: var(--stove);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 rgba(169, 118, 47, 0.35);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.action-btn {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border: 1px solid var(--oil);
  border-radius: var(--radius-pot);
  background: var(--paper-deep);
  color: var(--stove);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s, transform 0.1s, border-color 0.15s;
}
.action-btn:hover {
  background: var(--oil);
  color: var(--paper);
}
.action-btn:active {
  transform: translateY(1px);
}
.action-play {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--stove);
  box-shadow: 0 3px 0 var(--red-paint);
}
.action-play:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
  color: var(--stove);
}
.action-collect {
  border-radius: var(--radius-board);
}
.action-share {
  border-radius: var(--radius-board);
  background: transparent;
}
.action-share:hover {
  background: var(--stove);
  color: var(--paper);
  border-color: var(--stove);
}
.poster-figure {
  grid-area: poster;
  align-self: start;
  width: 100%;
  max-width: 420px;
  margin-bottom: 18px;
  border-radius: var(--radius-pot);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(169, 118, 47, 0.22);
  background: var(--stove-soft);
}
.poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
}
.player-shell {
  grid-area: player;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-pot);
  overflow: hidden;
  background: var(--stove);
  border: 1px solid var(--stove-soft);
  margin-bottom: 20px;
}
.player-shell video, .player-shell .player {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  background: var(--stove-soft);
  color: var(--paper);
  border-top: 1px solid rgba(169, 118, 47, 0.4);
}
.player-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(242, 230, 205, 0.3);
  border-radius: var(--radius-board);
  background: rgba(242, 230, 205, 0.06);
  color: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: var(--oil);
  border-color: var(--oil);
  color: var(--stove);
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(242, 230, 205, 0.25);
  border-radius: 999px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.player-select {
  font-size: 12px;
  padding: 4px 6px;
  border-radius: var(--radius-board);
  border: 1px solid rgba(242, 230, 205, 0.3);
  background: rgba(242, 230, 205, 0.06);
  color: var(--paper);
  cursor: pointer;
}
.player-select option {
  color: var(--stove);
}
.hero-shell.is-playing .action-play {
  background: var(--oil);
  border-color: var(--oil);
}
.hero-shell.is-muted .player-controls::after {
  content: "静音";
  font-size: 11px;
  color: var(--red-paint);
  background: var(--paper);
  padding: 1px 6px;
  border-radius: var(--radius-board);
}
.hero-shell.is-lights-off {
  background: var(--stove);
}
.hero-shell.is-lights-off .hero-info-panel {
  background: var(--stove-soft);
  border-color: var(--oil);
}
.hero-shell.is-lights-off .movie-title, .hero-shell.is-lights-off .movie-tagline {
  color: var(--paper);
}
.hero-shell.is-theater .player-shell {
  box-shadow: 0 0 0 3px var(--orange);
}
.hero-shell.is-fullscreen .player-shell {
  border-radius: 0;
}
.hero-shell.is-pip .player-shell {
  box-shadow: 0 0 0 2px var(--orange-bright);
}
.cast-shell, .synopsis-shell, .episode-status-shell, .details-shell {
  grid-area: rest;
  min-width: 0;
}
.section-heading {
  font-size: 22px;
  color: var(--stove);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--oil);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex: none;
}
.cast-shell {
  margin-bottom: 22px;
}
.cast-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-strip::-webkit-scrollbar {
  height: 6px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--oil);
  border-radius: 999px;
}
.cast-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--oil);
  border-radius: var(--radius-board);
  padding: 10px;
  align-self: flex-start;
}
.cast-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--paper);
  background: var(--stove);
  border-radius: 50% 50% 50% 6px;
  margin-bottom: 8px;
}
.cast-name {
  font-size: 16px;
  color: var(--stove);
  margin-bottom: 4px;
}
.cast-role {
  font-size: 12.5px;
  line-height: 1.45;
  color: #5a4c40;
}
.synopsis-shell {
  margin-bottom: 22px;
}
.synopsis-text {
  font-size: 14px;
  line-height: 1.6;
  color: #3d342d;
  margin-bottom: 8px;
  text-indent: 2em;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.episode-status-shell {
  margin-bottom: 22px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.status-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pot);
  border: 1px solid var(--oil);
  background: var(--paper);
  color: var(--stove);
  white-space: nowrap;
}
.status-total {
  background: var(--stove);
  color: var(--paper);
  border-color: var(--stove);
  border-radius: var(--radius-board);
}
.status-current {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--stove);
}
.status-weekly {
  border-style: dashed;
  border-radius: var(--radius-board);
}
.details-shell {
  margin-bottom: 22px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.detail-key {
  font-family: var(--hand);
  font-size: 13.5px;
  color: var(--oil);
  flex: 0 0 62px;
  white-space: nowrap;
}
.detail-value {
  font-size: 13.5px;
  color: var(--stove);
  flex: 1 1 auto;
  min-width: 0;
}
.episodes-shell {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--stove);
}
.episodes-note {
  font-family: var(--hand);
  font-size: 14px;
  color: var(--oil);
  margin-bottom: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--oil);
  border-radius: var(--radius-board);
  padding: 10px 11px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.episode-card:hover {
  border-top-color: var(--orange);
  box-shadow: 3px 3px 0 rgba(169, 118, 47, 0.22);
}
.episode-number {
  font-family: var(--hand);
  font-size: 13px;
  color: var(--red-paint);
  letter-spacing: 0.05em;
}
.episode-title {
  font-size: 16px;
  color: var(--stove);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.5;
  color: #5a4c40;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--oil);
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px dotted var(--line);
}
.timeline-shell {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--stove);
}
.timeline-list {
  position: relative;
  list-style: none;
  padding-left: 26px;
  margin-left: 6px;
  border-left: 2px dashed var(--oil);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 6px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-board);
  align-self: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 12px;
  width: 11px;
  height: 11px;
  background: var(--orange);
  border: 2px solid var(--stove);
  border-radius: 50%;
}
.timeline-timecode {
  font-family: var(--hand);
  font-size: 13px;
  color: var(--red-paint);
  flex: 0 0 52px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 14px;
  color: var(--stove);
}
.comments-shell {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--stove);
}
.comment-columns {
  column-count: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pot);
  padding: 11px 13px;
  margin-bottom: 12px;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.comment-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hand);
  font-size: 15px;
  color: var(--paper);
  background: var(--oil);
  border-radius: 50% 50% 6px 50%;
}
.comment-nickname {
  font-family: var(--hand);
  font-size: 14px;
  color: var(--stove);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 13px;
  line-height: 1.55;
  color: #4a4038;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--stove);
}
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
a.recommend-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas:
    "pic name"
    "pic blurb";
  gap: 3px 11px;
  align-items: start;
  align-self: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--oil);
  border-radius: var(--radius-board);
  padding: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-left-color: var(--orange);
  background: var(--paper-deep);
  box-shadow: 3px 3px 0 rgba(169, 118, 47, 0.2);
}
a.recommend-card .recommend-pic, [data-runtime="recommendation"] img {
  grid-area: pic;
  width: 96px;
  max-width: 100%;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-board);
  background: var(--stove-soft);
}
.recommend-name {
  grid-area: name;
  font-family: var(--hand);
  font-size: 15px;
  color: var(--stove);
  line-height: 1.3;
}
.recommend-blurb {
  grid-area: blurb;
  font-size: 12px;
  line-height: 1.45;
  color: #5a4c40;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--stove);
  color: var(--paper-deep);
  border-top: 3px solid var(--oil);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 18px;
  align-items: start;
}
.footer-brand {
  min-width: 0;
}
.footer-sitename {
  font-family: var(--hand);
  font-size: 20px;
  color: var(--orange-bright);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 13px;
  color: var(--paper-deep);
  line-height: 1.5;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13.5px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--oil);
  text-underline-offset: 3px;
  width: fit-content;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange-bright);
  text-decoration-color: var(--orange-bright);
}
.footer-inner nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  min-width: 0;
}
.friend-links-label {
  font-family: var(--hand);
  font-size: 13px;
  color: var(--oil);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex: none;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: var(--paper-deep);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(242, 230, 205, 0.4);
}
a.runtime-friend-link:hover {
  color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(242, 230, 205, 0.6);
  padding-top: 14px;
  border-top: 1px dashed rgba(242, 230, 205, 0.18);
}
.click, .change, .input, .timeupdate, .progress, .volume, .speed, .movie-overview, .data-player-action {
  
}
@media (min-width: 900px) {.page-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px;
    align-items: start;
  }
.hero-shell, .episodes-shell, .timeline-shell, .comments-shell {
    grid-column: 1 / -1;
  }
.page-main > .recommend-region {
    grid-column: auto;
    margin-top: 30px;
  }
.recommend-region .recommend-list {
    flex-direction: column;
  }}
@media (max-width: 1080px) {.hero-info-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    column-gap: 20px;
    padding: 16px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-info-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "info"
      "poster"
      "player"
      "rest";
    row-gap: 0;
  }
.poster-figure {
    max-width: 320px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.footer-brand {
    grid-column: 1 / -1;
  }}
@media (max-width: 700px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 0 12px 30px;
  }
.header-bar {
    padding: 8px 12px;
  }
.categories-shell {
    padding: 6px 12px 10px;
  }
.comment-columns {
    column-count: 1;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.movie-title {
    font-size: clamp(28px, 9vw, 40px);
  }}
@media (max-width: 520px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.episode-card {
    padding: 8px 9px;
  }
.poster-figure {
    max-width: 100%;
  }
.hero-actions {
    gap: 6px;
  }
.action-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 9px 12px;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.player-btn {
    font-size: 11.5px;
    padding: 4px 8px;
  }
.timeline-list {
    padding-left: 20px;
  }
.timeline-node::before {
    left: -27px;
    width: 9px;
    height: 9px;
  }
a.recommend-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }
a.recommend-card .recommend-pic, [data-runtime="recommendation"] img {
    width: 84px;
    height: 56px;
  }}
@media (max-width: 380px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
a.recommend-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }
a.recommend-card .recommend-pic, [data-runtime="recommendation"] img {
    width: 72px;
    height: 50px;
  }}

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}
