:root {
  --tan-brown: #4a2f22;
  --tan-deep: #2b1a12;
  --tan-mid: #6b4630;
  --vermilion: #a8322a;
  --vermilion-deep: #7d201a;
  --rice: #ece0c8;
  --rice-light: #f5ecda;
  --rice-dim: #d9c9a8;
  --ink: #1c1410;
  --cold-blue: #46586b;
  --cold-blue-pale: #8496a5;
  --moon-white: #e8eef0;
  --line: rgba(168, 50, 42, 0.4);
  --gap-tight: 0.5rem;
  --gap: 0.75rem;
  --gap-loose: 1.25rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--tan-deep);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(70, 88, 107, 0.28), transparent 55%),
    linear-gradient(180deg, #241610 0%, #2b1a12 40%, #20130d 100%);
  color: var(--rice);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-family: "STZhongsong", "Songti SC", "SimSun", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rice-light);
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(28, 16, 11, 0.97), rgba(28, 16, 11, 0.88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap);
  padding: 0.45rem clamp(0.75rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--rice-light);
  text-decoration: none;
  border-left: 3px solid var(--vermilion);
  padding-left: 0.5rem;
  text-shadow: 0 0 12px rgba(232, 238, 240, 0.18);
}
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--rice-dim);
  text-decoration: none;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(217, 201, 168, 0.28);
  background: rgba(74, 47, 34, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--rice-light);
  border-color: var(--vermilion);
  background: rgba(168, 50, 42, 0.28);
}
.page-main {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 2rem) 2.5rem;
}
.section-heading {
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  padding-left: 0.7rem;
  margin-bottom: var(--gap);
  border-left: 4px solid var(--vermilion);
  line-height: 1.3;
}
section + section {
  margin-top: 1.75rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  padding-top: 1.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(168, 50, 42, 0.25);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(232, 238, 240, 0.16);
  background: #150c08;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(74, 47, 34, 0.7);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-poster-moon {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 62%;
  pointer-events: none;
  background: linear-gradient(
    205deg,
    rgba(232, 238, 240, 0.28) 0%,
    rgba(232, 238, 240, 0.06) 34%,
    transparent 62%
  );
  mix-blend-mode: screen;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  min-width: 0;
}
.hero-title {
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: var(--rice-light);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: var(--rice-dim);
  font-style: italic;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(168, 50, 42, 0.45);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.15rem;
}
.hero-meta-chip {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.16rem 0.5rem;
  color: var(--rice);
  background: rgba(74, 47, 34, 0.72);
  border: 1px solid rgba(217, 201, 168, 0.22);
  white-space: nowrap;
}
.hero-meta-chip:first-child {
  background: var(--vermilion-deep);
  border-color: var(--vermilion);
  color: var(--rice-light);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.35rem;
}
.btn {
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.34rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  border-radius: 1px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--vermilion);
  color: var(--rice-light);
  border-color: var(--vermilion);
  box-shadow: 0 4px 14px rgba(168, 50, 42, 0.34);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--vermilion-deep);
  box-shadow: 0 4px 20px rgba(168, 50, 42, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--rice-dim);
  border-color: rgba(217, 201, 168, 0.38);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  color: var(--rice-light);
  border-color: var(--cold-blue-pale);
  background: rgba(70, 88, 107, 0.34);
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  margin: 0.4rem 0 0.55rem;
  background: #0d0806;
  border: 1px solid rgba(70, 88, 107, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.62);
  overflow: hidden;
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.45rem;
  background: linear-gradient(180deg, rgba(28, 16, 11, 0.96), rgba(20, 12, 8, 0.99));
  border-top: 1px solid rgba(168, 50, 42, 0.35);
}
.player-btn {
  cursor: pointer;
  background: rgba(74, 47, 34, 0.75);
  border: 1px solid rgba(217, 201, 168, 0.24);
  color: var(--rice);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 1px;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  background: var(--vermilion-deep);
  border-color: var(--vermilion);
  color: var(--rice-light);
}
.player-progress {
  flex: 1 1 6rem;
  min-width: 5rem;
  height: 0.32rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(217, 201, 168, 0.2);
  border-radius: 2px;
  accent-color: var(--vermilion);
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--vermilion);
  border: 1px solid var(--rice-dim);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 4.5rem;
  min-width: 3rem;
  height: 0.28rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(217, 201, 168, 0.2);
  border-radius: 2px;
  accent-color: var(--cold-blue-pale);
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--cold-blue-pale);
  cursor: pointer;
}
.player-speed {
  cursor: pointer;
  background: rgba(74, 47, 34, 0.75);
  border: 1px solid rgba(217, 201, 168, 0.24);
  color: var(--rice);
  font-size: 0.72rem;
  padding: 0.16rem 0.3rem;
  border-radius: 1px;
}
.hero-actors {
  margin-top: 0.15rem;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.cast-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.14rem 0.5rem;
  background: rgba(74, 47, 34, 0.55);
  border: 1px solid rgba(168, 50, 42, 0.3);
  border-left: 2px solid var(--vermilion);
  border-radius: 1px;
}
.cast-strip-name {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--rice);
  white-space: nowrap;
}
.hero-synopsis {
  margin-top: 0.4rem;
  padding: 0.55rem 0.65rem;
  background: rgba(236, 224, 200, 0.045);
  border-left: 2px solid rgba(70, 88, 107, 0.7);
}
.synopsis-line {
  font-size: 0.83rem;
  line-height: 1.75;
  color: #d8cdb6;
  text-align: justify;
}
.synopsis-line + .synopsis-line {
  margin-top: 0.4rem;
}
.hero-synopsis .synopsis-line:last-child {
  color: var(--cold-blue-pale);
}
.hero-details {
  margin-top: 0.6rem;
  border-top: 1px solid rgba(217, 201, 168, 0.16);
  padding-top: 0.5rem;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.22rem 0.9rem;
}
.details-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.76rem;
  padding: 0.08rem 0;
  border-bottom: 1px dotted rgba(217, 201, 168, 0.14);
  min-width: 0;
}
.details-item dt {
  color: var(--rice-dim);
  letter-spacing: 0.08em;
  flex: 0 0 auto;
  opacity: 0.82;
}
.details-item dd {
  color: var(--rice);
  letter-spacing: 0.03em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 0.15rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4.9rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(168, 50, 42, 0.15),
    rgba(168, 50, 42, 0.8) 12%,
    rgba(168, 50, 42, 0.8) 88%,
    rgba(168, 50, 42, 0.15)
  );
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  column-gap: 1.6rem;
  align-items: baseline;
  padding: 0.28rem 0.45rem 0.28rem 0;
  background: rgba(236, 224, 200, 0.03);
  border-bottom: 1px solid rgba(70, 88, 107, 0.18);
  transition: background 0.18s ease;
}
.timeline-node:hover {
  background: rgba(168, 50, 42, 0.12);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 4.55rem;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--vermilion);
  border: 1px solid var(--rice-dim);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(168, 50, 42, 0.6);
}
.timeline-timecode {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--vermilion);
  text-align: right;
  white-space: nowrap;
}
.timeline-event {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #d8cdb6;
  min-width: 0;
  overflow-wrap: anywhere;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem 0.55rem;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.45rem 0.5rem 0.5rem;
  background: linear-gradient(180deg, rgba(236, 224, 200, 0.05), rgba(236, 224, 200, 0.015));
  border: 1px solid rgba(217, 201, 168, 0.14);
  border-top: 2px solid rgba(168, 50, 42, 0.55);
  align-self: start;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-cell:hover {
  border-top-color: var(--vermilion);
  background: rgba(168, 50, 42, 0.13);
  transform: translateY(-2px);
}
.episode-number {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--vermilion);
}
.episode-title {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: var(--rice-light);
}
.episode-summary {
  font-size: 0.74rem;
  line-height: 1.62;
  color: #c2b79f;
  text-align: justify;
  flex: 1 1 auto;
}
.episode-duration {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cold-blue-pale);
  border-top: 1px dotted rgba(217, 201, 168, 0.18);
  padding-top: 0.15rem;
}
.cast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.5rem 0.6rem;
  background: linear-gradient(180deg, rgba(74, 47, 34, 0.5), rgba(43, 26, 18, 0.62));
  border: 1px solid rgba(217, 201, 168, 0.16);
  border-left: 3px solid var(--tan-mid);
  align-self: start;
  transition: border-left-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-left-color: var(--vermilion);
  background: rgba(74, 47, 34, 0.72);
}
.cast-card-name {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--rice-light);
}
.cast-card-role {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--vermilion);
}
.cast-card-relation {
  margin-top: 0.2rem;
  padding-top: 0.22rem;
  border-top: 1px dotted rgba(217, 201, 168, 0.2);
  font-size: 0.7rem;
  line-height: 1.55;
  color: #b8ad96;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.55rem;
  align-items: start;
}
.comment-card {
  display: flex;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  background: rgba(245, 236, 218, 0.94);
  color: var(--ink);
  border: 1px solid rgba(74, 47, 34, 0.35);
  box-shadow: 2px 3px 0 rgba(168, 50, 42, 0.35), 0 6px 16px rgba(0, 0, 0, 0.4);
  align-self: start;
  transform: rotate(-0.35deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.comment-card:nth-child(even) {
  transform: rotate(0.4deg);
}
.comment-card:hover {
  transform: rotate(0);
  box-shadow: 2px 3px 0 var(--vermilion), 0 8px 20px rgba(0, 0, 0, 0.5);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tan-brown);
  border: 1px solid var(--vermilion-deep);
  border-radius: 50%;
}
.comment-avatar-initial {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 0.92rem;
  color: var(--rice-light);
  line-height: 1;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}
.comment-nickname {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--vermilion-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(168, 50, 42, 0.28);
  padding-bottom: 0.12rem;
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.68;
  color: #33231a;
  text-align: justify;
  overflow-wrap: anywhere;
}
.rec-region {
  margin-top: 1.6rem;
}
.rec-heading {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--vermilion);
  padding: 0.18rem 0.7rem;
  border-left: none;
  margin-bottom: 0.55rem;
  box-shadow: 0 3px 10px rgba(168, 50, 42, 0.35);
}
.rec-row {
  display: grid;
  gap: 0.55rem;
  align-items: start;
}
.rec-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-item {
  min-width: 0;
  align-self: start;
}
[data-runtime="recommendation"].rec-link {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.4rem;
  background: rgba(236, 224, 200, 0.05);
  border: 1px solid rgba(217, 201, 168, 0.15);
  color: var(--rice);
  text-decoration: none;
  height: auto;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
[data-runtime="recommendation"].rec-link:hover {
  border-color: var(--vermilion);
  background: rgba(168, 50, 42, 0.16);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.rec-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(70, 88, 107, 0.5);
  filter: saturate(0.85) brightness(0.92);
}
.rec-name {
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--rice-light);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #b8ad96;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 2.25rem;
  border-top: 1px solid rgba(168, 50, 42, 0.4);
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.6), rgba(13, 8, 6, 0.95));
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.1rem clamp(0.75rem, 3vw, 2rem) 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--rice-dim);
  text-decoration: underline;
  text-decoration-color: rgba(168, 50, 42, 0.6);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--vermilion);
  text-decoration-color: var(--vermilion);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px dotted rgba(217, 201, 168, 0.18);
}
.footer-friends-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--rice-dim);
  opacity: 0.85;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cold-blue-pale);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--rice-light);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.65;
  color: #8b8069;
  letter-spacing: 0.04em;
  max-width: 62ch;
}
body.lights-off {
  background-image: none;
  background-color: #060403;
}
body.lights-off .site-header {
  background: #060403;
  border-bottom-color: rgba(168, 50, 42, 0.25);
}
body.lights-off .page-main {
  filter: brightness(0.6) contrast(1.08);
}
body.lights-off .hero-player-wrap, body.lights-off .hero-poster-wrap {
  filter: none;
}
body.player-playing .btn-primary {
  background: var(--vermilion-deep);
  box-shadow: 0 0 0 1px rgba(236, 224, 200, 0.35) inset;
}
body.player-muted .player-volume {
  opacity: 0.4;
}
.player .pause, .player.pause, .player-btn.pause {
  background: var(--vermilion-deep);
  border-color: var(--vermilion);
  color: var(--rice-light);
}
.player .play, .player.play, .player-btn.play {
  background: rgba(74, 47, 34, 0.75);
}
.player .mute, .player-btn.mute, .player-btn.volume {
  color: var(--cold-blue-pale);
}
.player .fullscreen, .player-btn.fullscreen {
  border-color: var(--cold-blue-pale);
}
.player .pip, .player-btn.pip {
  border-style: dashed;
}
.player .speed, .player-speed.speed {
  border-color: var(--cold-blue-pale);
}
.player .progress, .player .timeupdate, .player-progress.progress, .player-progress.timeupdate {
  accent-color: var(--vermilion);
}
.player .input, .player .click {
  outline: 1px solid var(--vermilion);
}
.theater-mode .page-main {
  max-width: 100%;
}
.theater-mode .hero {
  grid-template-columns: minmax(0, 1fr);
}
.theater-mode .hero-poster-wrap {
  display: none;
}
body.theater-mode .site-header {
  opacity: 0.5;
}
@media (max-width: 1080px) {.episodes-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    justify-self: center;
    width: min(60%, 260px);
  }
.theater-mode .hero-poster-wrap {
    display: block;
    width: min(60%, 260px);
  }
.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-row-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 0.4rem 0.7rem;
  }
.page-main {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
.hero {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.45rem;
  }
.cast-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card, .comment-card:nth-child(even) {
    transform: none;
  }
.rec-row-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list::before {
    left: 3.7rem;
  }
.timeline-node {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    column-gap: 1.1rem;
  }
.timeline-node::before {
    left: 3.4rem;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 460px) {.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-cards {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-row-three {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap, .theater-mode .hero-poster-wrap {
    width: min(72%, 230px);
  }}

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}
