*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
  margin: 0;
}
:root {
  --ink: #1c1e19;
  --ink-soft: #33362e;
  --green-grey: #545c4c;
  --green-grey-deep: #3b4239;
  --cold-brown: #6b5a48;
  --brown-deep: #40352a;
  --dust: #b9b3a2;
  --plaster: #cfc9b8;
  --plaster-dark: #a49d8b;
  --paper: #e6e0d1;
  --blood: #6d2a24;
  --blood-bright: #8a3329;
  --line: rgba(84, 92, 76, 0.42);
  --line-soft: rgba(84, 92, 76, 0.2);
  --shadow-peel: 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 18px rgba(20, 22, 18, 0.28);
  --serif-worn: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
html {
  background: #23261f;
}
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background:
    repeating-linear-gradient(
      95deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(0, 0, 0, 0.02) 3px,
      rgba(0, 0, 0, 0.02) 5px
    ),
    linear-gradient(180deg, #b7b1a0 0%, #aaa392 40%, #9c9481 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(35, 38, 31, 0.97), rgba(35, 38, 31, 0.9));
  border-bottom: 1px solid rgba(185, 179, 162, 0.22);
  backdrop-filter: blur(4px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
a[data-contract="site-name"].site-name {
  font-family: var(--serif-worn);
  font-size: 19px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--plaster);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  padding-right: 16px;
  border-right: 1px solid rgba(185, 179, 162, 0.25);
}
a[data-contract="site-name"].site-name:hover {
  color: var(--blood-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--plaster);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(185, 179, 162, 0.28);
  background: rgba(84, 92, 76, 0.28);
}
a.runtime-category:hover {
  color: #f0ebdd;
  border-color: var(--blood-bright);
  background: rgba(109, 42, 36, 0.4);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-peel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.hero-wall {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 18px 16px 20px;
  background:
    linear-gradient(160deg, rgba(230, 224, 209, 0.5), rgba(164, 157, 139, 0.32) 48%, rgba(84, 92, 76, 0.24)),
    repeating-linear-gradient(
      102deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 2px,
      rgba(0, 0, 0, 0.05) 4px
    ),
    #a9a291;
  border: 1px solid rgba(64, 53, 42, 0.4);
  box-shadow: var(--shadow-peel);
  overflow: hidden;
}
.hero-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 30% at 18% 12%, rgba(64, 53, 42, 0.24), transparent 70%),
    radial-gradient(ellipse 36% 26% at 84% 74%, rgba(84, 92, 76, 0.26), transparent 72%),
    radial-gradient(ellipse 30% 22% at 62% 34%, rgba(109, 42, 36, 0.14), transparent 74%);
  mix-blend-mode: multiply;
  z-index: 0;
}
.hero-media {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: min(100%, 300px);
  align-self: start;
  background: #2a2d25;
  border: 1px solid rgba(64, 53, 42, 0.55);
  box-shadow: 0 4px 14px rgba(20, 22, 18, 0.4);
  overflow: hidden;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28, 30, 25, 0.1), rgba(28, 30, 25, 0.55)),
    radial-gradient(circle at 30% 22%, rgba(207, 201, 184, 0.16), transparent 60%);
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(0.42) sepia(0.16) contrast(1.06) brightness(0.94);
}
.hero-tagline {
  position: relative;
  z-index: 2;
  align-self: start;
  justify-self: start;
  max-width: 34ch;
  font-family: var(--serif-worn);
  font-size: 13.5px;
  letter-spacing: 0.34em;
  line-height: 1.9;
  color: var(--brown-deep);
  padding: 2px 0 4px 12px;
  border-left: 2px solid rgba(109, 42, 36, 0.55);
  text-shadow: 0 1px 0 rgba(230, 224, 209, 0.5);
}
.hero-title {
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: end;
  text-align: right;
  font-family: var(--serif-worn);
  font-size: clamp(38px, 9vw, 76px);
  line-height: 0.96;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #262922;
  text-shadow:
    1px 1px 0 rgba(230, 224, 209, 0.7),
    -1px -2px 0 rgba(64, 53, 42, 0.55),
    0 6px 20px rgba(35, 38, 31, 0.35);
  transform: translateY(4px) rotate(-1.4deg);
  padding: 6px 4px 10px 42px;
  background: linear-gradient(92deg, transparent 0%, rgba(164, 157, 139, 0.4) 22%, rgba(164, 157, 139, 0.12) 100%);
  border-bottom: 3px solid rgba(109, 42, 36, 0.42);
}
.hero-player {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #1f221b;
  border: 1px solid rgba(64, 53, 42, 0.6);
  padding: 6px;
  box-shadow: 0 8px 22px rgba(20, 22, 18, 0.42);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0f110d;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 2px 2px 1px;
}
.ctrl {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--plaster);
  background: linear-gradient(180deg, rgba(84, 92, 76, 0.62), rgba(59, 66, 57, 0.72));
  border: 1px solid rgba(185, 179, 162, 0.26);
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl:hover {
  background: linear-gradient(180deg, rgba(107, 90, 72, 0.7), rgba(64, 53, 42, 0.8));
  color: #f2ecdd;
  border-color: rgba(207, 201, 184, 0.4);
}
.ctrl.is-active, .ctrl:active {
  background: linear-gradient(180deg, rgba(109, 42, 36, 0.85), rgba(64, 24, 20, 0.9));
  border-color: rgba(138, 51, 41, 0.75);
  color: #f3e6df;
}
.ctrl-play {
  font-weight: 700;
  color: #f0ebdd;
  border-color: rgba(138, 51, 41, 0.55);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(109, 42, 36, 0.85), rgba(84, 92, 76, 0.6));
  border: 1px solid rgba(185, 179, 162, 0.2);
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  margin-top: -6px;
  background: var(--plaster);
  border: 1px solid var(--brown-deep);
}
.ctrl-progress::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(109, 42, 36, 0.85), rgba(84, 92, 76, 0.6));
  border: 1px solid rgba(185, 179, 162, 0.2);
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: var(--plaster);
  border: 1px solid var(--brown-deep);
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(84, 92, 76, 0.7);
  border: 1px solid rgba(185, 179, 162, 0.2);
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  margin-top: -5px;
  background: var(--dust);
  border: 1px solid var(--brown-deep);
}
.ctrl-volume::-moz-range-track {
  height: 4px;
  background: rgba(84, 92, 76, 0.7);
  border: 1px solid rgba(185, 179, 162, 0.2);
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 13px;
  border-radius: 0;
  background: var(--dust);
  border: 1px solid var(--brown-deep);
}
.hero-wall.is-theater {
  background:
    linear-gradient(160deg, rgba(40, 43, 35, 0.85), rgba(28, 30, 25, 0.92)),
    #23261f;
  border-color: rgba(138, 51, 41, 0.42);
}
.hero-wall.lights-dim .hero-media::after {
  background:
    linear-gradient(180deg, rgba(15, 17, 13, 0.55), rgba(15, 17, 13, 0.85));
}
.cast-strip {
  position: relative;
  z-index: 1;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(230, 224, 209, 0.42), rgba(164, 157, 139, 0.24));
  border: 1px solid rgba(64, 53, 42, 0.34);
  box-shadow: var(--shadow-peel);
}
.cast-heading, .section-heading, .synopsis-heading, .status-heading, .details-heading, .comments-heading, .timeline-heading, .rec-heading {
  font-family: var(--serif-worn);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-grey-deep);
}
.cast-heading {
  font-size: 14px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}
.cast-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 72px;
  flex: 0 0 auto;
}
.cast-avatar {
  display: block;
  width: 62px;
  height: 62px;
  background-color: #8b8574;
  border: 1px solid rgba(64, 53, 42, 0.5);
  filter: grayscale(0.6) sepia(0.22) contrast(1.05) brightness(0.92);
  box-shadow: inset 0 0 0 1px rgba(230, 224, 209, 0.14), 0 2px 6px rgba(20, 22, 18, 0.34);
  clip-path: polygon(
    3% 6%, 22% 1%, 47% 5%, 68% 0%, 92% 7%, 100% 26%,
    96% 52%, 100% 74%, 88% 96%, 62% 100%, 38% 95%, 15% 100%, 0% 78%, 4% 44%, 0% 24%
  );
}
.av1 {
  background-image:
    repeating-linear-gradient(128deg, rgba(59, 66, 57, 0.55) 0 6px, rgba(59, 66, 57, 0) 6px 13px),
    radial-gradient(circle at 44% 36%, #7d8271, #4a5041 70%);
}
.av2 {
  background-image:
    repeating-linear-gradient(52deg, rgba(64, 53, 42, 0.5) 0 5px, rgba(64, 53, 42, 0) 5px 12px),
    radial-gradient(circle at 58% 42%, #8a8171, #4f4a3c 72%);
}
.av3 {
  background-image:
    repeating-linear-gradient(96deg, rgba(84, 92, 76, 0.5) 0 7px, rgba(84, 92, 76, 0) 7px 15px),
    radial-gradient(circle at 36% 58%, #6f7563, #3d4237 70%);
}
.av4 {
  background-image:
    repeating-linear-gradient(160deg, rgba(64, 53, 42, 0.52) 0 6px, rgba(64, 53, 42, 0) 6px 14px),
    radial-gradient(circle at 62% 34%, #857a68, #443c30 74%);
}
.av5 {
  background-image:
    repeating-linear-gradient(20deg, rgba(59, 66, 57, 0.5) 0 5px, rgba(59, 66, 57, 0) 5px 11px),
    radial-gradient(circle at 40% 62%, #7a8069, #474d3d 70%);
}
.av6 {
  background-image:
    repeating-linear-gradient(112deg, rgba(64, 53, 42, 0.5) 0 8px, rgba(64, 53, 42, 0) 8px 16px),
    radial-gradient(circle at 66% 56%, #8c8269, #4b432f 72%);
}
.av7 {
  background-image:
    repeating-linear-gradient(78deg, rgba(84, 92, 76, 0.52) 0 6px, rgba(84, 92, 76, 0) 6px 12px),
    radial-gradient(circle at 34% 40%, #757b68, #3f453a 74%);
}
.av8 {
  background-image:
    repeating-linear-gradient(140deg, rgba(64, 53, 42, 0.5) 0 7px, rgba(64, 53, 42, 0) 7px 15px),
    radial-gradient(circle at 54% 48%, #89806c, #474032 72%);
}
.cast-name {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: 0.02em;
}
.synopsis-block {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(230, 224, 209, 0.5), rgba(164, 157, 139, 0.22));
  border: 1px solid rgba(64, 53, 42, 0.34);
  box-shadow: var(--shadow-peel);
}
.synopsis-heading, .status-heading, .details-heading {
  font-size: 14px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}
.synopsis-lead {
  font-family: var(--serif-worn);
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: 0.02em;
  color: var(--brown-deep);
  padding: 6px 0 8px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--line-soft);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-top: 5px;
  text-indent: 2em;
}
.episode-status {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(84, 92, 76, 0.24), rgba(59, 66, 57, 0.16));
  border: 1px solid rgba(84, 92, 76, 0.4);
  border-left: 3px solid rgba(109, 42, 36, 0.6);
}
.status-line {
  font-family: var(--serif-worn);
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--green-grey-deep);
}
.details-block {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(230, 224, 209, 0.44), rgba(164, 157, 139, 0.2));
  border: 1px solid rgba(64, 53, 42, 0.34);
  box-shadow: var(--shadow-peel);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--green-grey);
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink-soft);
  min-width: 0;
  word-break: break-word;
}
.episodes-block, .timeline-block, .comments-block, .rec-region {
  position: relative;
}
.section-heading {
  font-size: 15px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  display: block;
}
.episodes-heading::before, .timeline-heading::before, .comments-heading::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--blood);
  transform: rotate(45deg) translateY(-1px);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, rgba(230, 224, 209, 0.56), rgba(164, 157, 139, 0.3));
  border: 1px solid rgba(64, 53, 42, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 3px 8px rgba(20, 22, 18, 0.16);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(109, 42, 36, 0.32);
}
.episode-card:hover {
  background: linear-gradient(180deg, rgba(240, 235, 222, 0.7), rgba(164, 157, 139, 0.4));
  border-color: rgba(109, 42, 36, 0.5);
}
.ep-number {
  font-family: var(--serif-worn);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blood);
}
.ep-title {
  font-family: var(--serif-worn);
  font-size: 13.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--green-grey);
  margin-top: 3px;
}
.ep-duration {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cold-brown);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-card:hover .ep-duration {
  max-height: 22px;
  opacity: 1;
  margin-top: 4px;
}
.timeline-block {
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(84, 92, 76, 0.2), rgba(59, 66, 57, 0.12));
  border: 1px solid rgba(84, 92, 76, 0.36);
}
.timeline-list {
  position: relative;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(84, 92, 76, 0.15), rgba(84, 92, 76, 0.7) 20%, rgba(109, 42, 36, 0.55) 85%, rgba(84, 92, 76, 0.15));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "time label";
  align-items: start;
  column-gap: 8px;
  padding: 6px 0 6px 0;
  row-gap: 0;
}
.timeline-node + .timeline-node {
  border-top: 1px dotted var(--line-soft);
}
.timeline-dot {
  position: absolute;
  left: -16px;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--green-grey);
  border: 1px solid rgba(230, 224, 209, 0.6);
  border-radius: 50%;
}
.timeline-node:nth-child(3) .timeline-dot, .timeline-node:nth-child(6) .timeline-dot, .timeline-node:nth-child(7) .timeline-dot {
  background: var(--blood);
  box-shadow: 0 0 0 2px rgba(109, 42, 36, 0.22);
}
.timeline-timecode {
  grid-area: time;
  font-family: var(--serif-worn);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brown-deep);
  padding-top: 1px;
  white-space: nowrap;
}
.timeline-label {
  grid-area: label;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 9px 11px 10px;
  background: linear-gradient(180deg, rgba(235, 229, 216, 0.82), rgba(196, 189, 172, 0.6));
  border: 1px solid rgba(64, 53, 42, 0.34);
  box-shadow: 0 4px 12px rgba(20, 22, 18, 0.22);
  transform: rotate(-0.5deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.comment-card:nth-child(even) {
  transform: rotate(0.7deg) translateY(3px);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.9deg) translateY(-2px);
}
.comment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    88deg,
    rgba(255, 255, 255, 0.05) 0 2px,
    rgba(64, 53, 42, 0.03) 2px 5px
  );
}
.comment-card:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 22, 18, 0.3);
}
.comment-nick {
  display: block;
  font-family: var(--serif-worn);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blood);
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px dashed var(--line-soft);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.rec-region {
  padding: 12px 14px 14px;
  border: 1px solid rgba(64, 53, 42, 0.32);
  background: linear-gradient(180deg, rgba(230, 224, 209, 0.4), rgba(164, 157, 139, 0.18));
  box-shadow: var(--shadow-peel);
}
.rec-region-1 {
  border-top: 2px solid rgba(84, 92, 76, 0.5);
}
.rec-region-2 {
  border-top: 2px solid rgba(64, 53, 42, 0.5);
}
.rec-region-3 {
  border-top: 2px solid rgba(109, 42, 36, 0.45);
}
.rec-heading {
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  color: var(--green-grey-deep);
}
.rec-scroller {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(84, 92, 76, 0.7) transparent;
}
.rec-scroller::-webkit-scrollbar {
  height: 7px;
}
.rec-scroller::-webkit-scrollbar-track {
  background: rgba(64, 53, 42, 0.14);
}
.rec-scroller::-webkit-scrollbar-thumb {
  background: rgba(84, 92, 76, 0.72);
  border: 1px solid rgba(64, 53, 42, 0.4);
}
a.rec-card {
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 5px 7px;
  background: linear-gradient(180deg, rgba(235, 229, 216, 0.7), rgba(164, 157, 139, 0.4));
  border: 1px solid rgba(64, 53, 42, 0.36);
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.rec-card:hover {
  border-color: rgba(109, 42, 36, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(20, 22, 18, 0.28);
  text-decoration: none;
}
a.rec-card img, [data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  background: #2a2d25;
  filter: grayscale(0.4) sepia(0.18) contrast(1.04) brightness(0.94);
  border: 1px solid rgba(64, 53, 42, 0.3);
}
.rec-name {
  font-family: var(--serif-worn);
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--ink);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--green-grey);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(64, 53, 42, 0.4);
  color: var(--green-grey-deep);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(59, 66, 57, 0.9);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--green-grey-deep);
  text-decoration: underline;
  text-decoration-color: rgba(84, 92, 76, 0.4);
  text-underline-offset: 3px;
}
a[data-contract="footer-home"].footer-link:hover {
  color: var(--blood);
  text-decoration-color: var(--blood);
}
a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--cold-brown);
  text-decoration-color: var(--cold-brown);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 8px;
  border-top: 1px dotted var(--line-soft);
}
.friend-links-label {
  font-family: var(--serif-worn);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--brown-deep);
  padding-right: 8px;
  border-right: 1px solid var(--line-soft);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--green-grey);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--blood);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 700px) {.page-main {
    padding: 20px 20px 10px;
    gap: 24px;
  }
.hero-wall {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-areas:
      "media tagline"
      "media title"
      "player player";
    align-items: start;
    gap: 12px 24px;
    padding: 22px 22px 24px;
  }
.hero-media {
    grid-area: media;
    width: 100%;
  }
.hero-tagline {
    grid-area: tagline;
    justify-self: start;
    align-self: start;
    max-width: 30ch;
  }
.hero-title {
    grid-area: title;
    justify-self: end;
    align-self: end;
    padding-left: 60px;
  }
.hero-player {
    grid-area: player;
  }
.cast-strip, .synopsis-block, .details-block, .timeline-block, .rec-region {
    padding-left: 18px;
    padding-right: 18px;
  }}
@media (min-width: 980px) {.page-main {
    padding: 26px 24px 12px;
    gap: 26px;
  }
.hero-wall {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 14px 32px;
    padding: 26px 28px 28px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
.episode-card {
    padding: 9px 12px 10px;
  }
.timeline-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    padding-left: 16px;
  }
.timeline-list::before {
    bottom: 4px;
  }
.timeline-node + .timeline-node {
    border-top: 1px dotted var(--line-soft);
  }
.comment-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }}
@media (min-width: 1180px) {.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 480px) {.header-inner {
    padding: 9px 12px;
  }
a[data-contract="site-name"].site-name {
    font-size: 17px;
    letter-spacing: 0.16em;
  }
.page-main {
    padding: 12px 12px 6px;
    gap: 16px;
  }
.hero-wall {
    padding: 14px 12px 16px;
  }
.hero-title {
    font-size: clamp(32px, 13vw, 48px);
    padding-left: 20px;
  }
.hero-tagline {
    letter-spacing: 0.22em;
  }
.ctrl {
    font-size: 10.5px;
    padding: 3px 7px;
  }
.cast-card {
    width: 64px;
  }
.cast-avatar {
    width: 54px;
    height: 54px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
a.rec-card {
    width: 132px;
  }}

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}
