*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink: #0d1512;
  --soil: #2a2822;
  --bark: #3c3a2e;
  --moss: #4a6b52;
  --lichen: #6f8f74;
  --mist: #9db5a0;
  --bone: #d3d6c8;
  --paper: #e8e9de;
  --rust: #7a5c3e;
  --edge: 1px solid rgba(157, 181, 160, 0.28);
  --gap-tight: 10px;
  --gap: 14px;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(
      112deg,
      rgba(74, 107, 82, 0.06) 0px,
      rgba(74, 107, 82, 0.06) 1px,
      transparent 1px,
      transparent 26px
    ),
    repeating-linear-gradient(
      200deg,
      rgba(122, 92, 62, 0.05) 0px,
      rgba(122, 92, 62, 0.05) 1px,
      transparent 1px,
      transparent 41px
    );
  color: var(--bone);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum" 1;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--mist);
  text-decoration: none;
}
a:hover {
  color: var(--paper);
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 21, 18, 0.94);
  border-bottom: 1px solid rgba(74, 107, 82, 0.5);
  backdrop-filter: blur(3px);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-tight) var(--gap);
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--paper);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding-left: 10px;
  border-left: 3px solid var(--moss);
  text-decoration: none;
  flex: 0 0 auto;
}
a[data-contract="site-name"]:hover {
  color: var(--lichen);
  text-decoration: none;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px 4px;
  font-size: 13px;
  color: var(--mist);
  background: rgba(74, 107, 82, 0.16);
  border: 1px solid rgba(111, 143, 116, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--lichen);
  text-decoration: none;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 14px 26px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "rootfield titles"
    "rootfield shell"
    "rootfield status"
    "rootfield details"
    "rootfield cast"
    "rootfield synopsis";
  gap: 0 18px;
  align-items: start;
  padding-top: 14px;
  border-bottom: 1px solid rgba(74, 107, 82, 0.35);
}
.hero__rootfield {
  grid-area: rootfield;
  position: relative;
  overflow: hidden;
  border: var(--edge);
  background: linear-gradient(178deg, #101a15 0%, #17211a 62%, #1d1a13 100%);
}
.hero__poster {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.06);
}
.hero__rootweb {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      78deg,
      transparent 0px,
      transparent 22px,
      rgba(13, 21, 18, 0.72) 22px,
      rgba(13, 21, 18, 0.72) 24px
    ),
    repeating-linear-gradient(
      168deg,
      transparent 0px,
      transparent 34px,
      rgba(13, 21, 18, 0.6) 34px,
      rgba(13, 21, 18, 0.6) 36px
    ),
    repeating-linear-gradient(
      122deg,
      transparent 0px,
      transparent 51px,
      rgba(74, 107, 82, 0.5) 51px,
      rgba(74, 107, 82, 0.5) 52px
    );
  mix-blend-mode: multiply;
}
.hero__titles {
  grid-area: titles;
  padding: 4px 0 2px;
  border-bottom: 1px solid rgba(74, 107, 82, 0.35);
}
.hero__title {
  font-size: clamp(28px, 4.4vw, 52px);
  color: var(--paper);
  text-shadow: 0 0 0 var(--ink), 2px 2px 0 rgba(13, 21, 18, 0.9);
}
.hero__tagline {
  margin-top: 2px;
  padding-left: 2px;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--lichen);
}
.player-shell {
  grid-area: shell;
  width: 100%;
  margin-top: var(--gap);
  background: #0a100d;
  border: var(--edge);
  border-left: 3px solid var(--moss);
}
.player-video {
  display: block;
  width: 100%;
  background: #050907;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 8px;
  border-top: 1px solid rgba(74, 107, 82, 0.35);
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 9px 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bone);
  background: rgba(74, 107, 82, 0.2);
  border: 1px solid rgba(111, 143, 116, 0.42);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
}
.player-btn:hover {
  background: rgba(111, 143, 116, 0.45);
  color: var(--paper);
}
.player-btn.is-active, .player-btn.play, .player-btn.pause {
  background: var(--moss);
  color: var(--paper);
  border-color: var(--lichen);
}
.player-btn--play {
  font-weight: 700;
  background: var(--rust);
  border-color: #9a7a58;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  margin: 0;
  background: rgba(157, 181, 160, 0.22);
  border: 1px solid rgba(74, 107, 82, 0.5);
  cursor: pointer;
}
.player-range--progress {
  flex: 1 1 160px;
  min-width: 120px;
}
.player-range--volume {
  flex: 0 1 96px;
  min-width: 64px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 16px;
  background: var(--mist);
  border: 1px solid var(--ink);
}
.player-range::-moz-range-thumb {
  width: 9px;
  height: 16px;
  border-radius: 0;
  background: var(--mist);
  border: 1px solid var(--ink);
}
.player-shell.is-theater {
  width: 100%;
  border-color: var(--lichen);
}
.player-shell.is-lights-off .player-video {
  filter: brightness(0.35) saturate(0.7);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: var(--gap);
  padding: 6px 10px;
  background: rgba(74, 107, 82, 0.14);
  border-left: 3px solid var(--lichen);
}
.episode-status__line {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--bone);
}
.episode-status__line + .episode-status__line {
  color: var(--mist);
}
.detail-grid {
  grid-area: details;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px 16px;
  align-items: start;
  margin-top: var(--gap);
  padding: 8px 10px;
  background: rgba(60, 58, 46, 0.32);
  border-top: 1px solid rgba(122, 92, 62, 0.5);
  border-bottom: 1px solid rgba(122, 92, 62, 0.5);
}
.detail-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
  padding: 2px 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lichen);
}
.detail-key::after {
  content: "/";
  margin-left: 5px;
  color: rgba(157, 181, 160, 0.45);
}
.detail-val {
  min-width: 0;
  font-size: 13px;
  color: var(--bone);
}
.cast-strip {
  grid-area: cast;
  margin-top: var(--gap);
  padding: 8px 0 10px;
  border-top: 1px dashed rgba(111, 143, 116, 0.4);
  border-bottom: 1px dashed rgba(111, 143, 116, 0.4);
}
.cast-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-chip {
  position: relative;
  flex: 0 0 auto;
  width: 74px;
  padding: 26px 4px 6px;
  background: linear-gradient(165deg, #24322a 0%, #1a241d 70%, #221f17 100%);
  border: 1px solid rgba(111, 143, 116, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  text-align: center;
}
.cast-chip::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(157, 181, 160, 0.5) 0 22%, transparent 24%),
    repeating-conic-gradient(from 0deg, rgba(74, 107, 82, 0.7) 0 8deg, transparent 8deg 16deg);
  border: 1px solid rgba(157, 181, 160, 0.4);
  border-radius: 50%;
}
.cast-chip__name {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.25;
}
.synopsis-block {
  grid-area: synopsis;
  align-self: start;
  margin-top: var(--gap);
  padding: 10px 12px 12px;
  background: rgba(42, 40, 34, 0.5);
  border-left: 3px solid var(--rust);
}
.synopsis-block__heading {
  font-size: 16px;
  color: var(--paper);
  padding-bottom: 4px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(122, 92, 62, 0.55);
}
.synopsis-block__para {
  font-size: 13.5px;
  line-height: 1.62;
  color: #c3c8b6;
  text-align: justify;
}
.synopsis-block__para + .synopsis-block__para {
  margin-top: 7px;
}
.timeline-section {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 0 22px;
  align-items: start;
  padding: 20px 0 18px;
  border-bottom: 1px solid rgba(74, 107, 82, 0.35);
}
.timeline-section__heading {
  font-size: 20px;
  color: var(--paper);
  padding-left: 12px;
  border-left: 4px solid var(--moss);
  writing-mode: vertical-rl;
  align-self: start;
  max-height: 200px;
}
.timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 26px;
  border-left: 2px solid rgba(74, 107, 82, 0.6);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 7px 0 7px 0;
  border-bottom: 1px solid rgba(74, 107, 82, 0.18);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 12px;
  width: 12px;
  height: 12px;
  background: var(--moss);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px rgba(157, 181, 160, 0.55);
  clip-path: polygon(50% 0, 100% 32%, 82% 100%, 18% 100%, 0 32%);
}
.timeline-node:nth-child(odd) {
  margin-left: 0;
}
.timeline-node:nth-child(even) {
  margin-left: 22px;
}
.timeline-node:nth-child(3n) {
  margin-left: 9px;
}
.timeline-node__timecode {
  flex: 0 0 auto;
  min-width: 52px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--lichen);
  border-bottom: 2px solid rgba(122, 92, 62, 0.7);
}
.timeline-node__label {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 13px;
  color: var(--bone);
}
.episodes-section {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(74, 107, 82, 0.35);
}
.episodes-section__heading {
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid var(--rust);
}
.episode-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(216px, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-self: start;
  padding: 8px 10px 10px;
  background: linear-gradient(172deg, rgba(36, 50, 42, 0.85) 0%, rgba(22, 29, 24, 0.85) 100%);
  border: 1px solid rgba(74, 107, 82, 0.42);
  border-top: 3px solid var(--moss);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.episode-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(111, 143, 116, 0.4);
}
.episode-card__number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--lichen);
}
.episode-card__duration {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
}
.episode-card__title {
  margin-top: 5px;
  font-size: 14px;
  color: var(--paper);
}
.episode-card__summary {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #b3b9a7;
}
.comments-section {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(74, 107, 82, 0.35);
}
.comments-section__heading {
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid var(--moss);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(42, 40, 34, 0.42);
  border-left: 3px solid var(--bark);
}
.comment-item--short {
  background: rgba(74, 107, 82, 0.2);
  border-left-color: var(--lichen);
}
.comment-item__text {
  font-size: 13px;
  line-height: 1.55;
  color: #c6ccba;
}
.comment-item--short .comment-item__text {
  color: var(--paper);
}
.comment-item__nickname {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lichen);
  padding-top: 3px;
  border-top: 1px solid rgba(111, 143, 116, 0.35);
}
.reco-region {
  display: grid;
  grid-template-columns: minmax(30px, 40px) minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(74, 107, 82, 0.35);
}
.reco-region__heading {
  writing-mode: vertical-rl;
  font-size: 16px;
  letter-spacing: 0.24em;
  color: var(--paper);
  padding-top: 2px;
  border-top: 3px solid var(--moss);
  align-self: start;
}
.reco-region--2 .reco-region__heading {
  border-top-color: var(--rust);
}
.reco-region--3 .reco-region__heading {
  border-top-color: var(--lichen);
}
.reco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  align-items: start;
}
a.reco-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  color: var(--bone);
  text-decoration: none;
  background: rgba(22, 29, 24, 0.7);
  border: 1px solid rgba(74, 107, 82, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  overflow: hidden;
  transition: border-color 0.15s linear, background-color 0.15s linear;
}
a.reco-card:hover {
  color: var(--paper);
  text-decoration: none;
  background: rgba(36, 50, 42, 0.85);
  border-color: var(--lichen);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) contrast(1.05);
}
.reco-card__name {
  display: block;
  padding: 6px 8px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
}
.reco-card__blurb {
  display: block;
  padding: 3px 8px 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #a9b09e;
}
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 14px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px 22px;
  align-items: start;
  border-top: 2px solid rgba(74, 107, 82, 0.5);
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.6;
  color: #8f9683;
}
.footer-friend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.footer-friend__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--lichen);
  border-bottom: 2px solid rgba(122, 92, 62, 0.7);
}
a.runtime-friend-link {
  font-size: 12px;
  white-space: nowrap;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px dotted rgba(157, 181, 160, 0.4);
}
a.runtime-friend-link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
  text-decoration: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-start;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px 4px;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--paper);
  background: rgba(74, 107, 82, 0.32);
  border: 1px solid rgba(111, 143, 116, 0.5);
}
a[data-contract="footer-sitemap"] {
  color: var(--mist);
  background: rgba(42, 40, 34, 0.6);
  border: 1px solid rgba(122, 92, 62, 0.5);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  background: var(--lichen);
  text-decoration: none;
}
@media (max-width: 1000px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "titles"
      "rootfield"
      "shell"
      "status"
      "details"
      "cast"
      "synopsis";
    gap: 0;
  }
.hero__rootfield {
    max-width: 320px;
    margin-top: var(--gap);
  }
.timeline-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.timeline-section__heading {
    writing-mode: horizontal-tb;
    max-height: none;
  }
.episode-scroll {
    grid-auto-columns: minmax(200px, 1fr);
    grid-template-rows: repeat(2, auto);
  }
.site-footer {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 680px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 10px 20px;
  }
.hero__rootfield {
    max-width: 240px;
  }
.hero__title {
    font-size: clamp(24px, 8vw, 34px);
  }
.hero__tagline {
    font-size: 12px;
    letter-spacing: 0.22em;
  }
.detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
.cast-chip {
    width: 62px;
  }
.timeline-node:nth-child(even), .timeline-node:nth-child(3n) {
    margin-left: 0;
  }
.timeline-node__label {
    flex-basis: 100%;
  }
.episode-scroll {
    grid-auto-columns: minmax(180px, 88vw);
    grid-template-rows: auto;
  }
.episode-card {
    clip-path: none;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.reco-region {
    grid-template-columns: minmax(26px, 32px) minmax(0, 1fr);
    gap: 0 10px;
  }
.reco-region__heading {
    font-size: 14px;
    letter-spacing: 0.16em;
  }
.reco-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
.footer-friend {
    gap: 4px 10px;
  }}
@media (max-width: 420px) {.site-header__inner {
    padding: 7px 10px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
.reco-grid {
    grid-template-columns: minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    aspect-ratio: 16 / 9;
  }}
.player-video.fullscreen, .player-video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.player-shell.is-theater {
  position: relative;
  z-index: 30;
}
.player-shell.is-theater .player-video {
  max-height: 76vh;
  object-fit: contain;
  background: #000;
}
.player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.volume, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.progress, .player-btn.timeupdate, .player-btn.input, .player-btn.click, .player-btn.player {
  border-color: var(--lichen);
}
.player-btn.is-lights-off {
  background: var(--ink);
}
@media (prefers-reduced-motion: reduce) {a.reco-card {
    transition: none;
  }}

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}
