:root {
  --soil: #3a4738;
  --soil-deep: #2b342a;
  --soil-dark: #1f261e;
  --moss: #55654a;
  --moss-soft: #6b7a5c;
  --wheat: #d6b45a;
  --wheat-bright: #e8c96a;
  --wheat-dim: #a8924a;
  --chaff: #b9b09a;
  --paper: #e6e2d6;
  --paper-dim: #cfcaba;
  --ink: #23281f;
  --ink-soft: #4a5242;
  --line: rgba(214, 180, 90, 0.22);
  --line-soft: rgba(230, 226, 214, 0.12);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "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;
  padding: 0;
  background: var(--soil-deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  background: var(--soil-dark);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wheat);
  text-transform: none;
  padding: 2px 0;
  border-left: 3px solid var(--wheat-dim);
  padding-left: 8px;
}
a[data-contract="site-name"] {
  color: var(--wheat);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--wheat-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--chaff);
  padding: 3px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(85, 101, 74, 0.18);
  text-decoration: none;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--soil-dark);
  background: var(--wheat);
  border-color: var(--wheat);
  text-decoration: none;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 8px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 14px;
  background: linear-gradient(180deg, rgba(58, 71, 56, 0.55), rgba(31, 38, 30, 0.9));
  border: 1px solid var(--line);
  border-radius: 0;
  position: relative;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 42%, rgba(214, 180, 90, 0.06) 46%, transparent 52%);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  background: var(--soil-dark);
  border: 1px solid var(--line-soft);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.05) brightness(0.9);
}
.hero-poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(31, 38, 30, 0), rgba(15, 19, 14, 0.92));
  border-top: 1px solid var(--line);
}
.hero-caption-line {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wheat-dim);
  font-family: var(--mono);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wheat-dim);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--wheat);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid var(--moss);
}
.hero-seo {
  font-size: 11px;
  line-height: 1.7;
  color: var(--moss-soft);
  font-family: var(--mono);
  letter-spacing: 0;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(230, 226, 214, 0.1);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--moss-soft);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--paper-dim);
  text-align: right;
}
.cast-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-heading, .synopsis-heading, .section-heading, .recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wheat);
  padding-left: 9px;
  border-left: 3px solid var(--wheat-dim);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(150deg, rgba(85, 101, 74, 0.85), rgba(43, 52, 42, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: 0;
  filter: saturate(0.5);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(230, 226, 214, 0.05) 0 2px,
    transparent 2px 5px
  );
}
.cast-name {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10px;
  color: var(--moss-soft);
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--paper-dim);
  margin-bottom: 6px;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status-block {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 7px 9px;
  background: rgba(85, 101, 74, 0.16);
}
.status-line {
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  color: var(--wheat-bright);
}
.player-wrap {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #10140f;
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: var(--soil-dark);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--paper-dim);
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  background: rgba(85, 101, 74, 0.22);
  border-radius: 0;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--soil-dark);
  background: var(--wheat);
  border-color: var(--wheat);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: var(--moss);
  border-radius: 0;
  outline: none;
  margin: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 14px;
  background: var(--wheat);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: var(--wheat);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-range::-moz-range-track {
  height: 4px;
  background: var(--moss);
}
.timeline-section, .episodes-section, .comments-section, .recommend-region {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--moss);
  position: relative;
}
.timeline-node {
  position: relative;
  padding: 16px 8px 0 0;
  border-right: 1px solid var(--line-soft);
  padding-right: 8px;
  min-width: 0;
}
.timeline-node:last-child {
  border-right: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--moss);
  border: 1px solid var(--soil-deep);
}
.timeline-timecode {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--moss-soft);
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--paper-dim);
  padding-right: 6px;
}
.timeline-node.is-past .timeline-timecode {
  color: var(--moss-soft);
}
.timeline-node.is-past::before {
  background: var(--moss);
}
.timeline-node.is-current {
  background: rgba(214, 180, 90, 0.09);
}
.timeline-node.is-current::before {
  background: var(--wheat-bright);
  width: 12px;
  height: 12px;
  top: -7px;
  box-shadow: 0 0 0 3px rgba(214, 180, 90, 0.18);
}
.timeline-node.is-current .timeline-timecode {
  color: var(--wheat-bright);
}
.timeline-node.is-current .timeline-label {
  color: var(--paper);
  font-weight: 600;
}
.timeline-node.is-future::before {
  background: var(--soil-deep);
  border: 1px solid var(--moss);
}
.timeline-node.is-future .timeline-timecode {
  color: var(--soil-dark);
  background: rgba(85, 101, 74, 0.35);
  display: inline-block;
  padding: 0 4px;
}
.timeline-node.is-future .timeline-label {
  color: var(--moss-soft);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  align-items: start;
}
.episode-item {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--wheat-dim);
  line-height: 1.35;
  letter-spacing: 0.02em;
  padding-top: 1px;
  min-width: 40px;
}
.episode-body {
  min-width: 0;
  flex: 1 1 auto;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.5;
  color: var(--moss-soft);
  margin-top: 1px;
}
.episode-duration {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--soil-dark);
  background: rgba(214, 180, 90, 0.55);
  padding: 0 4px;
  margin-top: 3px;
  letter-spacing: 0.03em;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.comment-card {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--moss);
  background: rgba(85, 101, 74, 0.14);
  padding: 7px 10px;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--wheat);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.recommend-region {
  border-top: 1px solid var(--line);
}
.recommend-heading {
  margin-bottom: 8px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.recommend-item {
  min-width: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.recommend-item:last-child {
  border-right: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  color: var(--paper-dim);
  text-decoration: none;
  min-width: 0;
}
a.recommend-link:hover {
  background: rgba(214, 180, 90, 0.08);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: saturate(0.6) brightness(0.88);
  background: var(--soil-dark);
}
a.recommend-link:hover img {
  filter: saturate(0.85) brightness(1);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--moss-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  padding: 14px 16px 22px;
  background: var(--soil-dark);
  border-top: 1px solid var(--line);
}
.footer-nav {
  max-width: 1240px;
  margin: 0 auto 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--chaff);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wheat);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  max-width: 1240px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--moss-soft);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--moss-soft);
  text-decoration: none;
  border-bottom: 1px dotted rgba(107, 122, 92, 0.5);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--wheat);
  text-decoration: none;
  border-bottom-color: var(--wheat);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--soil);
  color: rgba(185, 176, 154, 0.5);
  letter-spacing: 0.02em;
}
.player-wrap.is-theater, .is-theater .player-wrap {
  position: relative;
  z-index: 30;
}
body.is-theater .hero-section {
  background: #0b0e0a;
}
body.is-lights-off {
  background: #050704;
}
body.is-lights-off .site-header, body.is-lights-off .site-footer {
  opacity: 0.5;
}
.player-wrap.light .main-player, .player-wrap.is-lights-off .main-player {
  filter: brightness(1.05);
}
.ctrl-btn.play, .ctrl-btn.mute, .ctrl-btn.pip, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light, .ctrl-btn.speed {
  color: var(--paper-dim);
}
.ctrl-btn.play:hover, .ctrl-btn.mute:hover, .ctrl-btn.pip:hover, .ctrl-btn.fullscreen:hover, .ctrl-btn.theater:hover, .ctrl-btn.light:hover, .ctrl-btn.speed:hover {
  color: var(--soil-dark);
  background: var(--wheat);
}
.ctrl-btn.click, .ctrl-btn.input, .ctrl-btn.progress, .ctrl-btn.timeupdate, .ctrl-btn.volume {
  border-color: var(--wheat-dim);
}
.main-player.fullscreen, .main-player.pip {
  background: #000;
}
@media (max-width: 1080px) {.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-item:nth-child(2n) {
    border-right: 0;
  }
.recommend-item:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
  }}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 14px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 0;
  }
.timeline-node {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
  }
.timeline-node:nth-child(3n) {
    border-right: 0;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 12px 12px 6px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.hero-poster-wrap {
    max-width: 240px;
  }
.hero-title {
    font-size: 21px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 4px;
  }
.ctrl-btn {
    padding: 4px 7px;
    font-size: 10.5px;
  }
.ctrl-range {
    flex: 1 1 100%;
    order: 10;
  }}
@media (max-width: 480px) {.header-inner {
    flex-wrap: wrap;
    gap: 6px;
  }
.hero-poster-wrap {
    max-width: 190px;
  }
.hero-title {
    font-size: 18px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node:nth-child(3n) {
    border-right: 1px solid var(--line-soft);
  }
.timeline-node:nth-child(2n) {
    border-right: 0;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-item, .recommend-item:nth-child(odd), .recommend-item:nth-child(2n) {
    border-right: 0;
  }}

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}
