:root {
  --bg: #ebe6df;
  --bg-deep: #e0d9cf;
  --surface: #f5f1ea;
  --surface-2: #ece6dc;
  --ink: #2b2723;
  --ink-soft: #5c554d;
  --ink-faint: #8a8178;
  --line: #d3cabe;
  --line-strong: #bcb1a2;
  --amber: #c9821d;
  --amber-deep: #a56712;
  --amber-soft: #f2dcb6;
  --amber-glow: rgba(201, 130, 29, 0.16);
  --cat-ink: #6f6255;
  --dog-ink: #7a6a4e;
  --radius: 4px;
  --radius-sm: 3px;
  --gap-xs: 4px;
  --gap-s: 8px;
  --gap-m: 12px;
  --gap-l: 18px;
  --gap-xl: 26px;
  --font-title: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 220px),
    repeating-linear-gradient(90deg, rgba(188, 177, 162, 0.18) 0 1px, rgba(188, 177, 162, 0) 1px 46px);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, figure, figcaption, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(235, 230, 223, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
  padding: 8px clamp(12px, 3vw, 30px);
}
.site-brand, a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--amber);
  padding-left: 8px;
  line-height: 1.2;
}
.site-brand:hover, a[data-contract="site-name"]:hover {
  color: var(--amber-deep);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}
a.nav-link {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.nav-link:hover {
  color: var(--ink);
  background-color: var(--surface);
  border-color: var(--line);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px clamp(12px, 3vw, 30px) 8px;
  border-top: 1px dashed var(--line);
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: #fff;
  background-color: var(--amber);
  border-color: var(--amber-deep);
}
.page-main {
  display: block;
  padding: 14px clamp(10px, 2.6vw, 30px) 22px;
  max-width: 1240px;
  margin: 0 auto;
}
.banner-shell {
  display: block;
  margin-bottom: var(--gap-xl);
}
.banner-standoff {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-m);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(43, 39, 35, 0.06), rgba(43, 39, 35, 0) 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0 26px, rgba(214, 206, 194, 0.55) 26px 27px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 40px, rgba(214, 206, 194, 0) 40px 41px);
  padding: 14px 14px 16px;
  overflow: hidden;
}
.banner-figures {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 6px;
  min-height: 132px;
  position: relative;
  z-index: 2;
}
.figure-cat, .figure-dog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.figure-silhouette {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 96px;
  border-radius: 3px 3px 0 0;
  position: relative;
}
.figure-silhouette-cat {
  background:
    radial-gradient(circle at 50% 8%, var(--cat-ink) 0 13px, rgba(0, 0, 0, 0) 14px),
    radial-gradient(ellipse at 50% 96%, var(--cat-ink) 0 54%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, rgba(111, 98, 85, 0.06), rgba(111, 98, 85, 0.22));
  clip-path: polygon(50% 0, 61% 9%, 76% 5%, 82% 20%, 96% 30%, 86% 44%, 92% 62%, 74% 70%, 70% 100%, 30% 100%, 26% 70%, 8% 62%, 14% 44%, 4% 30%, 18% 20%, 24% 5%, 39% 9%);
}
.figure-silhouette-dog {
  background:
    radial-gradient(circle at 50% 10%, var(--dog-ink) 0 14px, rgba(0, 0, 0, 0) 15px),
    radial-gradient(ellipse at 50% 98%, var(--dog-ink) 0 56%, rgba(0, 0, 0, 0) 57%),
    linear-gradient(180deg, rgba(122, 106, 78, 0.06), rgba(122, 106, 78, 0.22));
  clip-path: polygon(50% 0, 66% 6%, 74% 14%, 88% 22%, 82% 38%, 94% 52%, 78% 62%, 76% 100%, 24% 100%, 22% 62%, 6% 52%, 18% 38%, 12% 22%, 26% 14%, 34% 6%);
}
.figure-caption {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.figure-cat .figure-caption {
  border-bottom: 2px solid var(--cat-ink);
  padding-bottom: 2px;
}
.figure-dog .figure-caption {
  border-bottom: 2px solid var(--dog-ink);
  padding-bottom: 2px;
}
.banner-fridge {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  pointer-events: none;
}
.fridge-note {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  color: #7a5a1c;
  background-color: #f7e9c4;
  background-image: linear-gradient(160deg, #fdf3d8, #f0dcae);
  border: 1px solid rgba(201, 130, 29, 0.28);
  border-radius: 2px;
  box-shadow: 1px 2px 0 rgba(43, 39, 35, 0.1);
  transform: rotate(-2deg);
  white-space: nowrap;
}
.fridge-note:nth-child(2n) {
  transform: rotate(2.4deg);
  background-image: linear-gradient(160deg, #fdf6e2, #f3e2bb);
}
.fridge-note:nth-child(3n) {
  transform: rotate(-1.2deg);
  color: #6d5220;
}
.fridge-note:nth-child(4n) {
  transform: rotate(1.6deg);
}
.overview-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-l);
  margin-top: 16px;
  padding: 14px;
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(43, 39, 35, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.poster-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: start;
}
.poster-frame {
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg-deep);
  box-shadow: 0 2px 0 rgba(43, 39, 35, 0.08);
  line-height: 0;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}
.poster-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  display: inline-block;
  font-size: 11px;
  line-height: 1.5;
  padding: 2px 9px;
  border-radius: 2px;
  color: var(--amber-deep);
  background-color: var(--amber-soft);
  border: 1px solid rgba(165, 103, 18, 0.32);
  white-space: nowrap;
  font-weight: 600;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.movie-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  letter-spacing: 0.03em;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 15px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background-color: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:hover {
  border-color: var(--amber);
  color: var(--amber-deep);
}
.btn:active {
  transform: translateY(1px);
}
a.btn.btn-play {
  color: #fff8ec;
  text-decoration: none;
  background-color: var(--amber);
  background-image: linear-gradient(180deg, #d8912c, #b5720f);
  border-color: var(--amber-deep);
  box-shadow: 0 1px 0 rgba(43, 39, 35, 0.14);
}
a.btn.btn-play:hover {
  color: #fff;
  background-image: linear-gradient(180deg, #e09a33, #c07c14);
  border-color: var(--amber-deep);
}
.btn-ghost {
  background-color: transparent;
  background-image: none;
  color: var(--ink-soft);
  border-style: dashed;
}
.btn-ghost:hover {
  color: var(--amber-deep);
  border-style: solid;
  background-color: var(--amber-glow);
}
.player-shell {
  position: relative;
  width: 100%;
  background-color: #221f1b;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 5px;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 2px;
  background-color: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  padding: 4px 5px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
.ctrl {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #e8e1d6;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl:hover {
  background-color: rgba(201, 130, 29, 0.34);
  border-color: rgba(201, 130, 29, 0.6);
  color: #fff;
}
.ctrl.is-active, .ctrl.click, .ctrl.input {
  background-color: var(--amber);
  border-color: var(--amber-deep);
  color: #fff8ec;
}
.ctrl-progress, .ctrl-volume {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  margin: 0 3px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 56px;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--amber);
  border: 1px solid #fff2d8;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #fff2d8;
  border-radius: 50%;
  background-color: var(--amber);
  cursor: pointer;
}
.player-shell.is-theater {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 6px 22px rgba(43, 39, 35, 0.24);
}
body.is-lights-off {
  background-image: none;
  background-color: #191713;
  color: #e9e2d7;
}
body.is-lights-off .overview-panel, body.is-lights-off .episode-card, body.is-lights-off .comment-card, body.is-lights-off .cast-card, body.is-lights-off .rec-card {
  background-color: #262219;
  border-color: #3c352a;
  color: #e9e2d7;
}
body.is-lights-off .movie-title, body.is-lights-off .section-title, body.is-lights-off .block-title {
  color: #f4ecdd;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.status-item {
  display: inline-block;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 2px 9px;
  border-radius: 2px;
  color: var(--ink-soft);
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.status-current {
  color: #fff8ec;
  background-color: var(--amber);
  border-color: var(--amber-deep);
  font-weight: 700;
}
.synopsis-block, .cast-block, .details-block {
  display: block;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.block-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 7px;
  padding-left: 8px;
  border-left: 3px solid var(--amber);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  text-align: justify;
}
.cast-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: start;
}
.cast-portrait {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-deep);
  border: 1px solid var(--line);
  line-height: 0;
}
.cast-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.cast-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.cast-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.details-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.details-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 4px 2px;
  border-bottom: 1px solid var(--line);
}
.details-key {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.details-value {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 600;
}
.timeline-section {
  display: block;
  margin-bottom: var(--gap-l);
  padding: 12px 13px 14px;
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.07em;
  color: var(--ink);
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  margin-bottom: 9px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.section-head .section-title {
  margin-bottom: 0;
}
.section-meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.timeline-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-left: 2px solid var(--line-strong);
  margin-left: 7px;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 6px 4px 6px 20px;
  border-bottom: 1px dashed var(--line);
}
.timeline-item:last-child {
  border-bottom: none;
}
.timeline-node {
  position: absolute;
  left: -9px;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
  background-color: var(--ink-faint);
}
.timeline-cat .timeline-node {
  background-color: var(--cat-ink);
  background-image: radial-gradient(circle at 30% 30%, #fff 0 1.6px, rgba(0, 0, 0, 0) 2px),
    radial-gradient(circle at 70% 70%, #fff 0 1.6px, rgba(0, 0, 0, 0) 2px);
}
.timeline-dog .timeline-node {
  background-color: var(--amber);
  background-image: radial-gradient(circle at 50% 50%, #fff8ec 0 2.6px, rgba(0, 0, 0, 0) 3px);
}
.timeline-time {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.7;
  color: var(--amber-deep);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.timeline-cat .timeline-time {
  color: var(--cat-ink);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.episodes-section {
  display: block;
  margin-bottom: var(--gap-l);
}
.episode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 10px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--line-strong);
  align-self: start;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.episode-card:hover {
  border-color: var(--amber);
  box-shadow: 0 2px 0 rgba(201, 130, 29, 0.2);
}
.episode-card-current {
  border-color: var(--amber);
  border-top-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 2px 10px rgba(201, 130, 29, 0.18);
  background-color: #faf3e4;
}
.episode-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.episode-number {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.episode-card-current .episode-number {
  color: var(--amber-deep);
}
.episode-duration {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  white-space: nowrap;
}
.episode-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.comments-section {
  display: block;
  margin-bottom: var(--gap-l);
}
.comments-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.comments-col-right {
  padding-top: 0;
}
.comment-card {
  display: block;
  padding: 8px 10px 9px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius);
}
.comments-col-left .comment-card:nth-child(2n) {
  border-left-color: var(--cat-ink);
  margin-left: 10px;
}
.comments-col-left .comment-card:nth-child(2n + 1) {
  border-left-color: var(--line-strong);
}
.comments-col-right .comment-card:nth-child(2n + 1) {
  border-left-color: var(--amber);
  margin-left: 10px;
}
.comments-col-right .comment-card:nth-child(2n) {
  border-left-color: var(--line-strong);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 50% 34%, var(--amber) 0 3.4px, rgba(0, 0, 0, 0) 3.8px),
    radial-gradient(circle at 50% 96%, var(--ink-faint) 0 7px, rgba(0, 0, 0, 0) 7.5px);
  border: 1px solid var(--line-strong);
}
.comment-nick {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--amber-deep);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.rec-region {
  display: block;
  margin-bottom: var(--gap-l);
}
.rec-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  align-self: start;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.rec-card:hover {
  border-color: var(--amber);
  box-shadow: 0 2px 0 rgba(201, 130, 29, 0.22);
  transform: translateY(-1px);
}
a.rec-card.rec-card-rail {
  scroll-snap-align: start;
  color: var(--ink);
  text-decoration: none;
}
a.rec-card.rec-card-grid {
  color: var(--ink);
  text-decoration: none;
}
a.rec-card.rec-card-stack {
  color: var(--ink);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-deep);
  border: 1px solid var(--line);
}
.rec-img {
  display: block;
}
.rec-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.rec-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.rec-card-stack {
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.rec-card-stack .rec-img {
  flex: 0 0 auto;
  width: 108px;
  max-width: 38%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.rec-card-stack .rec-name, .rec-card-stack .rec-blurb {
  flex: 1 1 auto;
  min-width: 0;
}
.rec-card-stack .rec-name {
  -webkit-line-clamp: 1;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px clamp(12px, 3vw, 30px) 22px;
  background-color: var(--bg-deep);
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.footer-link {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
a.footer-link:hover {
  color: #fff;
  background-color: var(--amber);
  border-color: var(--amber-deep);
}
a[data-contract="footer-home"] {
  color: var(--ink);
  font-weight: 700;
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--amber-deep);
  letter-spacing: 0.06em;
  margin-right: 2px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  text-decoration: none;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: var(--surface);
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber-deep);
  border-color: var(--amber);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 74ch;
}
@media (min-width: 720px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }
.comments-col-right {
    padding-top: 22px;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: none;
  }
.timeline-item {
    border-bottom: 1px dashed var(--line);
  }}
@media (min-width: 900px) {.overview-panel {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }
.details-row:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
  }
.rec-region-2 .rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-region-3 .rec-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
.rec-card-stack {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
.rec-card-stack .rec-img {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }}
@media (min-width: 1120px) {.rec-card-rail {
    min-height: 100%;
  }
.cast-rail {
    grid-auto-columns: minmax(0, 1fr);
    overflow-x: visible;
  }}
@media (max-width: 520px) {body {
    font-size: 13.5px;
  }
.banner-figures {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    min-height: 108px;
  }
.figure-silhouette {
    height: 74px;
  }
.fridge-note {
    font-size: 10px;
    padding: 2px 6px;
  }
.movie-title {
    font-size: 22px;
  }
.cast-rail {
    grid-auto-columns: minmax(132px, 1fr);
  }
.rec-rail {
    grid-auto-columns: minmax(122px, 1fr);
  }
.timeline-item {
    grid-template-columns: 52px 1fr;
    padding-left: 16px;
  }
.details-row {
    grid-template-columns: 72px 1fr;
  }
.ctrl {
    padding: 3px 6px;
    font-size: 11px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !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}
