*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, figure, figcaption, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #1a1410;
  --ink-soft: #2a211a;
  --brown: #4a2c1c;
  --brown-deep: #2e1a10;
  --iron: #3a3a38;
  --iron-soft: #55534e;
  --ash: #8f8a80;
  --blood: #7a1f1a;
  --blood-bright: #a62a22;
  --screen: #dfe8ee;
  --screen-dim: #9fb4c2;
  --paper: #e8e0d2;
  --line: rgba(232, 224, 210, 0.14);
  --line-strong: rgba(232, 224, 210, 0.3);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --narrow: "PingFang SC", "Helvetica Neue", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --hand: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  --pad: clamp(12px, 2vw, 28px);
}
body {
  background:
    radial-gradient(120% 80% at 15% 0%, #241812 0%, transparent 55%),
    radial-gradient(90% 60% at 90% 8%, rgba(122, 31, 26, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #14100d 0%, #100c0a 45%, #0d0a08 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(12, 9, 7, 0.96), rgba(12, 9, 7, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 9px var(--pad);
}
a[data-contract="site-name"] {
  font-family: var(--hand);
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  color: #f0e3cf;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(223, 232, 238, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff6e6;
  text-decoration: underline;
  text-decoration-color: var(--blood-bright);
  text-underline-offset: 4px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ash);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: #f4ecdd;
  border-color: var(--blood);
  background: rgba(122, 31, 26, 0.3);
  text-decoration: none;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad) 40px;
}
.hero {
  position: relative;
  padding: clamp(18px, 3vw, 40px) 0 clamp(20px, 3vw, 34px);
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
}
.hero__backdrop {
  position: absolute;
  inset: -40px -20vw 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
}
.hero__glow--fire {
  width: 46vw;
  height: 46vw;
  left: -6vw;
  top: 6%;
  background: radial-gradient(circle, rgba(196, 96, 30, 0.55) 0%, rgba(122, 43, 18, 0.22) 45%, transparent 72%);
}
.hero__glow--screen {
  width: 30vw;
  height: 30vw;
  right: 2vw;
  top: 30%;
  background: radial-gradient(circle, rgba(223, 232, 238, 0.34) 0%, rgba(120, 150, 170, 0.12) 42%, transparent 70%);
  filter: blur(48px);
}
.hero__lead {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
}
.poster-frame {
  position: relative;
  border: 1px solid rgba(232, 224, 210, 0.22);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 44px rgba(196, 96, 30, 0.14);
  filter: saturate(0.94) contrast(1.06) brightness(0.86);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.5) 0%, transparent 30%, transparent 62%, rgba(10, 8, 6, 0.72) 100%),
    radial-gradient(70% 40% at 20% 90%, rgba(196, 96, 30, 0.22), transparent 70%);
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero__caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 62ch;
  padding-top: 4px;
}
.hero__title {
  font-family: var(--narrow);
  font-weight: 800;
  font-stretch: condensed;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #f6ead6;
  text-shadow:
    0 0 18px rgba(223, 232, 238, 0.18),
    0 1px 0 rgba(0, 0, 0, 0.7);
  
}
.hero__title::after {
  content: "";
  display: block;
  width: clamp(60px, 22%, 190px);
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--blood-bright), rgba(122, 31, 26, 0));
}
.hero__tagline {
  font-family: var(--hand);
  font-size: clamp(1.02rem, 2.2vw, 1.4rem);
  color: #e8cfa6;
  letter-spacing: 0.05em;
  text-shadow: 0 0 12px rgba(196, 96, 30, 0.28);
}
.hero__seo {
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(232, 224, 210, 0.66);
  max-width: 58ch;
  border-left: 2px solid rgba(122, 31, 26, 0.7);
  padding-left: 12px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn {
  font-family: var(--narrow);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  padding: 8px 18px;
  border-radius: 1px;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  transition: transform 0.14s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: linear-gradient(180deg, #8d251d, #5c1611);
  border-color: #a62a22;
  color: #fdf3e4;
  box-shadow: 0 0 22px rgba(166, 42, 34, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
.btn--primary:hover {
  background: linear-gradient(180deg, #a62a22, #6d1a13);
  box-shadow: 0 0 30px rgba(166, 42, 34, 0.6);
}
.btn--ghost {
  background: rgba(232, 224, 210, 0.04);
  border-color: rgba(232, 224, 210, 0.24);
  color: rgba(240, 232, 218, 0.86);
}
.btn--ghost:hover {
  border-color: var(--screen-dim);
  color: #eef6fb;
  box-shadow: 0 0 20px rgba(223, 232, 238, 0.2);
}
.player-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  border: 1px solid rgba(232, 224, 210, 0.16);
  background: #070605;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(196, 96, 30, 0.1);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-shell.is-playing {
  border-color: rgba(166, 42, 34, 0.5);
}
.player-shell.is-lights-off {
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.86), 0 0 80px rgba(196, 96, 30, 0.22);
}
body.is-lights-off .site-header, body.is-lights-off .site-footer {
  opacity: 0.32;
}
.player-shell.is-theater {
  border-color: rgba(166, 42, 34, 0.42);
}
body.is-theater-mode .page-main {
  max-width: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px;
  padding: 1px;
  background: #100c0a;
  border-top: 1px solid rgba(232, 224, 210, 0.12);
}
.ctrl {
  font-family: var(--narrow);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(232, 224, 210, 0.66);
  padding: 7px 12px;
  border: 1px solid transparent;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.ctrl:hover {
  color: #f4ecdd;
  background: rgba(122, 31, 26, 0.34);
  border-color: rgba(166, 42, 34, 0.4);
}
.ctrl.is-active {
  color: #ffd9b0;
  background: rgba(166, 42, 34, 0.4);
  border-color: rgba(196, 96, 30, 0.5);
}
.ctrl--progress {
  flex: 1 1 120px;
  min-width: 80px;
  text-align: left;
  background: linear-gradient(90deg, rgba(166, 42, 34, 0.55) 0%, rgba(166, 42, 34, 0.55) 34%, rgba(232, 224, 210, 0.06) 34%);
  border-color: rgba(232, 224, 210, 0.12);
}
.ctrl--volume {
  flex: 1 1 70px;
  min-width: 60px;
}
.meta-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(74, 44, 28, 0.28), rgba(20, 16, 13, 0.6)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 5px);
}
.meta-strip__heading, .timeline__heading, .episodes__heading, .cast__heading, .comments__heading, .synopsis__heading, .rec-strip__heading {
  font-family: var(--narrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #e7d8bd;
  text-shadow: 0 0 10px rgba(196, 96, 30, 0.22);
}
.meta-strip__heading {
  font-size: 0.86rem;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-strip__heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blood-bright);
  box-shadow: 0 0 10px rgba(166, 42, 34, 0.8);
}
.meta-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0;
  border-top: 1px solid rgba(232, 224, 210, 0.06);
}
.meta-list__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px 5px 0;
  border-bottom: 1px dashed rgba(232, 224, 210, 0.09);
  min-width: 0;
}
.meta-list__key {
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ash);
}
.meta-list__key::after {
  content: "／";
  color: rgba(122, 31, 26, 0.9);
  margin-left: 3px;
}
.meta-list__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.84rem;
  color: rgba(240, 232, 218, 0.92);
  overflow-wrap: anywhere;
}
.episode-status {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 12px clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(46, 26, 16, 0.5), rgba(16, 12, 10, 0.62));
}
.episode-status__line {
  font-family: var(--hand);
  font-size: 1rem;
  color: #dfc9a4;
  letter-spacing: 0.04em;
}
.episode-status__total, .episode-status__current {
  font-family: var(--narrow);
  font-style: normal;
  font-size: 1.14em;
  color: #ffcf9a;
  text-shadow: 0 0 12px rgba(196, 96, 30, 0.55);
}
.episode-status__current {
  color: #e5604f;
  text-shadow: 0 0 14px rgba(166, 42, 34, 0.8);
}
.episode-status__meter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}
.episode-status__tick {
  font-family: var(--narrow);
  font-size: 0.66rem;
  text-align: center;
  padding: 4px 0;
  color: rgba(232, 224, 210, 0.32);
  border: 1px solid rgba(232, 224, 210, 0.1);
  background: rgba(232, 224, 210, 0.03);
}
.episode-status__tick--done {
  color: rgba(223, 232, 238, 0.78);
  background: rgba(74, 44, 28, 0.62);
  border-color: rgba(232, 224, 210, 0.2);
}
.episode-status__tick--current {
  color: #ffe6c6;
  background: linear-gradient(180deg, #a62a22, #60140f);
  border-color: #c8503c;
  box-shadow: 0 0 16px rgba(166, 42, 34, 0.7);
}
.synopsis {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 20, 16, 0.72), rgba(14, 11, 9, 0.6));
}
.synopsis__heading {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.synopsis__heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blood-bright);
}
.synopsis__body {
  columns: 2;
  column-gap: clamp(18px, 2.4vw, 38px);
  column-rule: 1px solid rgba(232, 224, 210, 0.1);
}
.synopsis__para {
  font-size: 0.88rem;
  line-height: 1.82;
  color: rgba(228, 219, 204, 0.8);
  margin-bottom: 10px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis__para:first-child::first-letter {
  font-family: var(--hand);
  font-size: 2.1em;
  float: left;
  line-height: 0.86;
  padding: 2px 6px 0 0;
  color: #e0a05a;
}
.cast {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 22, 17, 0.7), rgba(14, 11, 9, 0.62));
}
.cast__heading {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cast__heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blood-bright);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  min-width: 0;
}
.cast-card__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 224, 210, 0.14);
  background: #0c0908;
}
.cast-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.72) contrast(1.1) sepia(0.12);
  transition: filter 0.3s, transform 0.4s;
}
.cast-card__figure:hover .cast-card__img {
  filter: grayscale(0.1) brightness(0.95) contrast(1.05) sepia(0.04);
  transform: scale(1.04);
}
.cast-card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 6px 5px;
  font-family: var(--hand);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: #f3e6d2;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 5, 0.92) 62%);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.timeline {
  position: relative;
  margin-top: clamp(16px, 2.4vw, 30px);
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(34, 24, 18, 0.62), rgba(13, 10, 8, 0.6)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 6px);
}
.timeline__heading {
  font-size: 0.86rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timeline__heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blood-bright);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4%;
  right: 4%;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(232, 224, 210, 0.28) 6%, rgba(232, 224, 210, 0.28) 94%, transparent),
    repeating-linear-gradient(90deg, rgba(232, 224, 210, 0.5) 0 8px, transparent 8px 14px);
  opacity: 0.6;
}
.timeline-node {
  position: relative;
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 12px 7px 8px;
  min-width: 0;
  border-left: 1px solid rgba(232, 224, 210, 0.08);
  transition: background 0.2s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4640;
  box-shadow: 0 0 0 2px #14100d, 0 0 8px rgba(232, 224, 210, 0.18);
}
.timeline-node__time {
  font-family: var(--narrow);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #b9a483;
}
.timeline-node__label {
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(226, 217, 202, 0.72);
  overflow-wrap: anywhere;
}
.timeline-node:hover {
  background: rgba(122, 31, 26, 0.16);
}
.timeline-node--current {
  background: linear-gradient(180deg, rgba(122, 31, 26, 0.42), rgba(122, 31, 26, 0.06));
  border-left-color: var(--blood-bright);
}
.timeline-node--current::before {
  background: var(--blood-bright);
  box-shadow: 0 0 0 2px #14100d, 0 0 14px rgba(166, 42, 34, 0.95);
  width: 9px;
  height: 9px;
  top: -14px;
}
.timeline-node--current .timeline-node__time {
  color: #ff9d80;
}
.timeline-node--current .timeline-node__label {
  color: #f4e4d0;
}
.episodes {
  position: relative;
  margin-top: clamp(16px, 2.4vw, 30px);
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 22, 17, 0.66), rgba(13, 10, 8, 0.6));
}
.episodes__heading {
  font-size: 0.86rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.episodes__heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blood-bright);
}
.episodes__layout {
  display: grid;
  grid-template-columns: minmax(0, 62px) minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 20px);
  align-items: start;
}
.episode-index {
  display: grid;
  gap: 3px;
  position: sticky;
  top: 62px;
  align-self: start;
}
.episode-index__item {
  display: grid;
  place-items: center;
}
.episode-index__num {
  font-family: var(--narrow);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  width: 100%;
  text-align: center;
  padding: 3px 0;
  color: rgba(232, 224, 210, 0.38);
  border: 1px solid rgba(232, 224, 210, 0.1);
  background: rgba(232, 224, 210, 0.025);
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.episode-index__item:hover .episode-index__num {
  color: #f0e2cb;
  border-color: rgba(232, 224, 210, 0.34);
}
.episode-index__item--current .episode-index__num {
  color: #ffe4c8;
  background: linear-gradient(180deg, #a62a22, #5c1410);
  border-color: #c8503c;
  box-shadow: 0 0 16px rgba(166, 42, 34, 0.66);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 6px;
  align-items: start;
}
.episode-row {
  min-width: 0;
  border: 1px solid rgba(232, 224, 210, 0.1);
  background: rgba(232, 224, 210, 0.022);
  transition: border-color 0.2s, background 0.2s;
}
.episode-row:hover {
  border-color: rgba(232, 224, 210, 0.24);
  background: rgba(232, 224, 210, 0.045);
}
.episode-row--current {
  border-color: rgba(166, 42, 34, 0.62);
  background: linear-gradient(180deg, rgba(122, 31, 26, 0.3), rgba(122, 31, 26, 0.06));
  box-shadow: 0 0 20px rgba(122, 31, 26, 0.28);
}
.episode-row__details {
  display: block;
}
.episode-row__summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}
.episode-row__summary::-webkit-details-marker {
  display: none;
}
.episode-row__summary::after {
  content: "＋";
  font-size: 0.72rem;
  color: rgba(232, 224, 210, 0.4);
  margin-left: auto;
  flex: 0 0 auto;
}
.episode-row__details[open] > .episode-row__summary::after {
  content: "－";
  color: #e5906c;
}
.episode-row__number {
  flex: 0 0 auto;
  font-family: var(--narrow);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #c9a877;
}
.episode-row--current .episode-row__number {
  color: #ffab8c;
}
.episode-row__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--hand);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  color: #f2e5cf;
  overflow-wrap: anywhere;
}
.episode-row__duration {
  flex: 0 0 auto;
  font-family: var(--narrow);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.episode-row__summary-text {
  padding: 0 10px 10px;
  font-size: 0.82rem;
  line-height: 1.72;
  color: rgba(224, 214, 198, 0.74);
  border-top: 1px dashed rgba(232, 224, 210, 0.12);
  padding-top: 8px;
  margin: 0 10px 10px;
  padding-left: 0;
  padding-right: 0;
}
.comments {
  position: relative;
  margin-top: clamp(16px, 2.4vw, 30px);
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(30, 22, 17, 0.6), rgba(13, 10, 8, 0.62)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0 2px, transparent 2px 9px);
}
.comments__heading {
  font-size: 0.86rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comments__heading::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--blood-bright);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 12px 10px;
  align-items: start;
  padding: 4px 0 10px;
}
.comment-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px 13px;
  background: linear-gradient(180deg, #e3d8c2, #d5c7ac);
  color: #2a1f16;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  border-radius: 1px;
  min-width: 0;
  transition: transform 0.24s, box-shadow 0.24s;
}
.comment-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 46px;
  height: 12px;
  background: rgba(122, 31, 26, 0.34);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.comment-card--offset-a {
  transform: rotate(-1.1deg);
}
.comment-card--offset-b {
  transform: rotate(1.1deg) translateY(7px);
}
.comment-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.comment-card__text {
  font-family: var(--hand);
  font-size: 0.92rem;
  line-height: 1.72;
  color: #2e231a;
}
.comment-card__nick {
  font-family: var(--narrow);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-align: right;
  color: #7a5a3e;
  border-top: 1px dashed rgba(58, 40, 26, 0.34);
  padding-top: 5px;
}
.rec-strip {
  position: relative;
  margin-top: clamp(14px, 2vw, 24px);
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 21, 16, 0.6), rgba(12, 9, 8, 0.62));
}
.rec-strip + .rec-strip {
  margin-top: 0;
  border-top: 0;
}
.rec-strip__heading {
  font-size: 0.84rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-strip__heading::before {
  content: "";
  width: 4px;
  height: 13px;
  background: var(--blood-bright);
  box-shadow: 0 0 8px rgba(166, 42, 34, 0.7);
}
.rec-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(74vw, 210px), 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 31, 26, 0.8) transparent;
}
.rec-rail::-webkit-scrollbar {
  height: 6px;
}
.rec-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7a1f1a, #a62a22);
}
.rec-rail::-webkit-scrollbar-track {
  background: rgba(232, 224, 210, 0.06);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-item {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(232, 224, 210, 0.1);
  background: rgba(232, 224, 210, 0.02);
  scroll-snap-align: start;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s, background 0.22s;
}
a.rec-item:hover {
  border-color: rgba(166, 42, 34, 0.62);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 22px rgba(122, 31, 26, 0.28);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.74) contrast(1.08) saturate(0.92);
  transition: filter 0.3s;
}
a.rec-item:hover img {
  filter: brightness(0.98) contrast(1.06) saturate(1.04);
}
.rec-item__name {
  font-family: var(--hand);
  font-size: 0.86rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #f0e2cb;
  padding: 6px 8px 0;
  overflow-wrap: anywhere;
}
.rec-item__blurb {
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(224, 214, 198, 0.58);
  padding: 3px 8px 8px;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: clamp(20px, 3vw, 40px);
  padding: clamp(18px, 2.4vw, 30px) var(--pad) 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 9, 7, 0.9), rgba(8, 6, 5, 0.98));
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}
.site-footer__disclaimer {
  font-size: 0.74rem;
  line-height: 1.75;
  color: rgba(200, 190, 175, 0.52);
  max-width: 70ch;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--narrow);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #cbb694;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(203, 182, 148, 0.32);
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffe6c6;
  border-color: var(--blood-bright);
  text-decoration: none;
}
.site-footer__friends {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: center;
  max-width: 90ch;
}
.site-footer__friends-label {
  font-family: var(--narrow);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(200, 190, 175, 0.42);
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: rgba(180, 170, 156, 0.72);
  text-decoration: none;
  border-bottom: 1px dotted rgba(180, 170, 156, 0.3);
  transition: color 0.18s, border-color 0.18s;
}
a.runtime-friend-link:hover {
  color: #e5906c;
  border-bottom-color: #a62a22;
  text-decoration: none;
}
@media (max-width: 1080px) {.synopsis__body {
    columns: 2;
  }
.timeline-track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px 2px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    border-left: 1px solid rgba(232, 224, 210, 0.1);
  }
.timeline-node::before {
    top: -2px;
    left: 6px;
  }
.timeline-node--current::before {
    top: -3px;
  }}
@media (max-width: 900px) {.hero__lead {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14.5px;
  }
.site-header__inner {
    gap: 10px;
  }
.hero__lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-frame {
    max-width: 210px;
  }
.hero__caption {
    max-width: none;
  }
.synopsis__body {
    columns: 1;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes__layout {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-index {
    position: static;
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    gap: 3px;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card--offset-a, .comment-card--offset-b {
    transform: none;
  }
.comment-card--offset-b {
    margin-left: 10px;
    margin-right: -2px;
  }
.comment-card--offset-a {
    margin-right: 10px;
  }
.rec-rail {
    grid-auto-columns: minmax(min(78vw, 220px), 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  }}
@media (max-width: 460px) {:root {
    --pad: 11px;
  }
.hero__title {
    font-size: 1.9rem;
  }
.meta-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-status__meter {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 104px), 1fr));
  }
.ctrl {
    flex: 1 1 auto;
    padding: 7px 8px;
    letter-spacing: 0.1em;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr));
  }}
@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}
