@font-face {
  font-family: Barlow;
  src: url("/assets/fonts/display.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/fonts/body.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url("/assets/fonts/body-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #111110;
  --surface: #191918;
  --raised: #222220;
  --text: #efeeea;
  --muted: #aaa9a2;
  --line: #33332f;
  --accent: #de493e;
  --accent-hover: #bc352b;
  --on-accent: #fff8f3;
  --hero-text: #f0eeea;
  --radius: 4px;
  color-scheme: dark;
  font-family: DM, sans-serif;
  background: var(--bg);
  color: var(--text);
}
:root[data-theme="light"] {
  --bg: #f5f4f0;
  --surface: #eeede7;
  --raised: #e4e3dc;
  --text: #21211e;
  --muted: #62625a;
  --line: #d0cfc6;
  --accent: #b92f26;
  --accent-hover: #99251e;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  background: var(--accent);
  padding: 12px;
  z-index: 5;
}
.skip-link:focus {
  top: 12px;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
}
.skull {
  --icon: url("/assets/icons/skull.svg");
}
.search {
  --icon: url("/assets/icons/search.svg");
}
.bookmark {
  --icon: url("/assets/icons/bookmark.svg");
}
.arrow-up-right {
  --icon: url("/assets/icons/arrow-up-right.svg");
}
.arrow-right {
  --icon: url("/assets/icons/arrow-right.svg");
}
.arrow-left {
  --icon: url("/assets/icons/arrow-left.svg");
}
.x {
  --icon: url("/assets/icons/x.svg");
}
.plus {
  --icon: url("/assets/icons/plus.svg");
}
.check {
  --icon: url("/assets/icons/check.svg");
}
.player-play {
  --icon: url("/assets/icons/player-play.svg");
}
.arrows-shuffle {
  --icon: url("/assets/icons/arrows-shuffle.svg");
}
.sun {
  --icon: url("/assets/icons/sun.svg");
}
.moon {
  --icon: url("/assets/icons/moon.svg");
}
.menu-2 {
  --icon: url("/assets/icons/menu-2.svg");
}
.chevron-down {
  --icon: url("/assets/icons/chevron-down.svg");
}
.flame {
  --icon: url("/assets/icons/flame.svg");
}
.ghost {
  --icon: url("/assets/icons/ghost.svg");
}
.eye {
  --icon: url("/assets/icons/eye.svg");
}
.site-header {
  height: 82px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.wordmark {
  font-family: Barlow, sans-serif;
  font-weight: 800;
  font-size: 29px;
  letter-spacing: -0.6px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}
.wordmark strong {
  color: var(--accent);
  font-weight: 800;
}
.wordmark .skull {
  width: 29px;
  height: 32px;
  color: var(--accent);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  margin-left: 40px;
}
.nav-link {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 7px;
  align-items: center;
  height: 100%;
  padding: 0;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  width: 100%;
}
.nav-link .icon {
  width: 15px;
  height: 15px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--muted);
}
.icon-button:hover {
  background: var(--raised);
  color: var(--text);
}
.watchlist-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  white-space: nowrap;
  padding: 8px 0;
}
.watchlist-nav .icon {
  width: 17px;
  height: 17px;
}
.watchlist-count {
  font-size: 11px;
  min-width: 21px;
  height: 21px;
  background: var(--raised);
  display: grid;
  place-items: center;
  border-radius: 3px;
}
.watchlist-nav[aria-pressed="true"] {
  color: var(--accent);
}
.hero {
  position: relative;
  height: 510px;
  isolation: isolate;
  background: #101310;
  color: var(--hero-text);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(14, 16, 14, 0.7),
      rgba(14, 16, 14, 0.25) 42%,
      transparent 75%
    ),
    linear-gradient(0deg, rgba(14, 16, 14, 0.65), transparent 25%);
}
.hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy {
  padding-bottom: 9px;
}
.hero h1 {
  font-family: Barlow, sans-serif;
  font-size: clamp(72px, 7.7vw, 112px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -1.7px;
}
.hero h1 span {
  color: #ee5146;
}
.hero-copy > p {
  color: #c0c2b9;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 25px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 12px 21px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.primary:hover {
  background: var(--accent-hover);
}
.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}
.secondary:hover {
  background: var(--raised);
  border-color: var(--muted);
}
.hero-secondary {
  border-color: #656861;
  background: rgba(20, 22, 19, 0.7);
  color: var(--hero-text);
}
.hero-secondary:hover {
  background: #30332d;
}
.hero .primary {
  background: #ba342c;
  color: #fff8f3;
}
.hero .primary:hover {
  background: #a92c24;
}
.mood-section {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.mood-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 29px;
  padding-bottom: 29px;
}
.mood-inner h2 {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  min-width: 130px;
}
.mood-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 16px;
}
.mood-option {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  border-left: 1px solid var(--line);
  padding: 3px 0 3px 25px;
  min-width: 0;
}
.mood-option > .icon:first-child {
  color: var(--muted);
  width: 25px;
  height: 25px;
}
.mood-option > span {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.mood-option small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.mood-option > .arrow-up-right {
  margin-left: auto;
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.mood-option:hover,
.mood-option[aria-pressed="true"] {
  color: var(--accent);
}
.catalog {
  padding-top: 58px;
  padding-bottom: 60px;
  scroll-margin-top: 30px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h2,
.fate-copy h2 {
  font-family: Barlow, sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.collection-count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  align-self: flex-start;
  padding-top: 12px;
}
.genre-tabs {
  display: flex;
  gap: 27px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.genre-tabs button {
  font-size: 12px;
  white-space: nowrap;
  padding: 12px 0 15px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.genre-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  color: var(--text);
  font-weight: 700;
}
.genre-tabs button:hover {
  color: var(--text);
}
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 120px;
}
.search-field > .icon {
  position: absolute;
  left: 14px;
  top: 15px;
  color: var(--muted);
  width: 17px;
  height: 17px;
}
.search-field input {
  width: 100%;
  height: 47px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 45px 0 42px;
  font-size: 12px;
  color: var(--text);
}
input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-field kbd {
  position: absolute;
  right: 14px;
  top: 13px;
  font-family: DM, sans-serif;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  height: 20px;
  width: 19px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.select-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 47px;
  padding: 0 13px;
  background: var(--surface);
  gap: 8px;
}
.select-field label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.select-field select {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 11px;
  padding: 6px 0;
  max-width: 175px;
}
.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0 22px;
  min-height: 21px;
  font-size: 11px;
  color: var(--muted);
}
.clear-filters {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text);
  padding: 0;
}
.clear-filters .icon {
  width: 13px;
  height: 13px;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 25px;
}
.film-grid[aria-busy="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.film-card {
  min-width: 0;
}
.poster-wrap {
  position: relative;
  aspect-ratio: 2/2.85;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.poster-button {
  height: 100%;
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
  color: inherit;
  text-decoration: none;
}
.poster-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s;
}
.poster-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 24px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.poster-button:hover img {
  filter: brightness(0.7);
}
.poster-action {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 18px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #f8f6f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.15s;
}
.poster-button:hover .poster-action,
.poster-button:focus-visible .poster-action {
  opacity: 1;
}
.save-button {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  background: #191a18e8;
  color: #f3f1ec;
  border: 1px solid #77786e;
  border-radius: 3px;
}
.save-button:hover {
  background: #363833;
}
.save-button.is-saved {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.save-button .icon {
  width: 17px;
  height: 17px;
}
.film-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.film-meta > span:first-child {
  white-space: nowrap;
}
.film-meta > span > span {
  padding-inline: 4px;
}
.film-meta > span:last-child {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
}
.film-card h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 9px;
  letter-spacing: -0.4px;
}
.film-card h3 a {
  display: block;
  text-align: left;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.film-card h3 a:hover {
  color: var(--accent);
}
.film-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin-top: 9px;
}
.scare-rating {
  display: flex;
  gap: 2px;
  align-items: center;
  font-size: 10px;
}
.scare-rating .icon {
  color: var(--accent);
  width: 14px;
  height: 14px;
  margin-right: 3px;
}
.scare-rating b {
  color: var(--text);
}
.load-more-wrap {
  text-align: center;
  margin-top: 36px;
}
.load-more-wrap .button {
  min-width: 190px;
}
.empty-state {
  padding: 65px 15px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.empty-state > .icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 15px;
}
.empty-state h3 {
  font-size: 23px;
}
.empty-state p {
  margin: 10px auto 25px;
  color: var(--muted);
  max-width: 420px;
}
.inline-error {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 15px;
  margin-bottom: 20px;
}
.inline-error button {
  text-decoration: underline;
  margin-left: 12px;
  color: var(--accent);
}
.fate-section {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 29px;
  margin-bottom: 62px;
}
.fate-art {
  display: flex;
  color: var(--accent);
  padding-right: 6px;
}
.fate-art .icon {
  width: 49px;
  height: 49px;
}
.fate-copy {
  flex: 1;
}
.fate-copy h2 {
  font-size: 29px;
}
.fate-copy p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 31px;
  padding-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  font-size: 23px;
  gap: 5px;
}
.site-footer p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.site-footer nav {
  display: flex;
  gap: 23px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav button {
  padding: 5px 0;
}
.site-footer nav button:hover {
  color: var(--text);
}
.footer-note {
  font-size: 10px;
  color: var(--muted);
}
dialog {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  margin: auto;
  width: min(880px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(4, 5, 4, 0.85);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  background: var(--bg);
}
.detail-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  margin-top: 8px;
}
.film-detail-page {
  padding-block: 32px 80px;
}
.film-detail-nav {
  margin-bottom: 22px;
}
.detail-poster {
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.detail-poster.poster-placeholder {
  aspect-ratio: 2/3;
  min-height: 0;
}
.detail-copy {
  min-width: 0;
}
.detail-meta {
  color: var(--muted);
  font-size: 11px;
  display: flex;
  gap: 8px;
}
.detail-copy h2 {
  font-family: Barlow, sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin: 11px 0 8px;
}
.director {
  color: var(--muted);
  font-size: 11px;
}
.detail-copy .tagline {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  margin: 22px 0 10px;
}
.detail-copy > p:not(.director, .tagline, .availability-note) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.editor-note {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin: 22px 0;
}
.editor-note h3 {
  font-size: 12px;
  margin-bottom: 7px;
}
.editor-note p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.detail-scare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin: 20px 0;
}
.detail-scare > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.detail-scare .icon {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.detail-scare > span:last-child {
  color: var(--muted);
}
.content-warnings {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.content-warnings summary {
  cursor: pointer;
  color: var(--text);
}
.content-warnings p {
  margin-top: 8px;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}
.detail-actions .button {
  padding: 11px 13px;
  font-size: 11px;
}
.availability-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.pick-again-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
}
.text-button {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
}
.dialog-loading {
  padding: 65px 20px;
  text-align: center;
  color: var(--muted);
}
.dialog-loading h2 {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 15px;
}
#picker-dialog {
  width: min(590px, calc(100% - 32px));
  padding: 40px;
}
.picker-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 18px;
}
#picker-dialog h2,
#info-dialog h2 {
  font-family: Barlow, sans-serif;
  font-weight: 800;
  font-size: 41px;
  line-height: 1.1;
  margin-bottom: 10px;
}
#picker-dialog > p {
  font-size: 13px;
  color: var(--muted);
}
#picker-form {
  margin-top: 28px;
}
#picker-form > label,
#picker-form legend {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
#picker-form > select {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  font-size: 13px;
}
#picker-form fieldset {
  border: 0;
  padding: 0;
  margin: 25px 0;
}
.nerve-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.nerve-options label {
  position: relative;
  cursor: pointer;
}
.nerve-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.nerve-options span {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 10px;
  text-align: center;
  font-size: 11px;
  background: var(--surface);
}
.nerve-options small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.nerve-options input:checked + span {
  border-color: var(--accent);
  color: var(--accent);
}
.nerve-options input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.picker-submit {
  width: 100%;
}
.picker-error {
  font-size: 12px;
}
#info-dialog {
  max-width: 590px;
  padding: 42px;
}
#info-dialog p {
  font-size: 13px;
  color: var(--muted);
  margin: 17px 0;
  line-height: 1.8;
}
#info-dialog h3 {
  font-size: 15px;
  margin-top: 23px;
}
#info-dialog a {
  color: var(--accent);
  text-decoration: underline;
}
.guide-list {
  padding: 0;
  list-style: none;
  margin: 23px 0;
}
.guide-list li {
  padding: 10px 0;
  font-size: 12px;
  color: var(--muted);
}
.guide-list strong {
  color: var(--text);
  display: block;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 13px 22px;
  max-width: calc(100% - 32px);
  font-size: 12px;
  text-align: center;
  box-shadow: 0 2px 8px #0002;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  background: var(--surface);
}
.error-page {
  max-width: 650px;
  margin: 15vh auto;
  padding: 25px;
}
.error-page h1 {
  font-family: Barlow, sans-serif;
  font-size: 65px;
  line-height: 1.1;
}
.error-page p {
  margin: 20px 0;
  color: var(--muted);
}
:root {
  --button-bg: #ba342c;
}
.primary,
.save-button.is-saved {
  background: var(--button-bg);
  border-color: var(--button-bg);
}
.site-header {
  height: 78px;
}
.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.admin-nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-nav-inner .wordmark small { color: var(--accent); font-size: 9px; letter-spacing: 1px; margin-left: 8px; }
.admin-menu-button { margin-left: auto; }
.admin-nav { position: absolute; z-index: 5; top: 70px; right: 32px; min-width: 210px; padding: 8px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 14px 40px #0005; }
.admin-nav a, .admin-nav button { display: block; width: 100%; padding: 10px 12px; border-radius: 3px; color: var(--text); text-align: left; font-size: 12px; }
.admin-nav a:hover, .admin-nav button:hover { background: var(--line); }
.admin-nav form { margin: 0; }
.admin-theme-button, .admin-logout { border: 0; background: transparent; }
.admin-login-shell { display: grid; place-items: center; padding: 32px; }
.admin-login { width: min(100%, 440px); }
.admin-login > .wordmark { display: inline-flex; margin-bottom: 28px; }
.admin-panel, .admin-placeholder { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-panel h1, .admin-content h1 { font-family: Barlow, sans-serif; font-size: clamp(42px, 8vw, 76px); line-height: .95; margin: 8px 0 14px; }
.admin-panel > p:not(.eyebrow), .admin-intro, .admin-placeholder p { color: var(--muted); line-height: 1.65; }
.admin-form { display: grid; gap: 9px; margin-top: 24px; }
.admin-form label { color: var(--muted); font-size: 11px; }
.admin-form input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--text); }
.admin-form .button { margin-top: 10px; }
.admin-content { padding-block: 52px 90px; }
.admin-placeholder { margin-top: 34px; max-width: 720px; }
.admin-placeholder h2 { font-size: 20px; margin-bottom: 8px; }
.admin-placeholder .button { display: inline-flex; margin-top: 18px; }
.admin-footer { margin-top: auto; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 34px; }
.admin-stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-stat span, .admin-stat small { display: block; color: var(--muted); font-size: 10px; }
.admin-stat strong { display: block; font-family: Barlow, sans-serif; font-size: 44px; line-height: 1; margin: 12px 0 8px; }
.admin-status-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: 32px 0 18px; }
.admin-status-tabs a { padding: 10px 12px; color: var(--muted); font-size: 11px; text-decoration: none; border-bottom: 2px solid transparent; }
.admin-status-tabs a.is-active { color: var(--text); border-color: var(--accent); }
.admin-record-list { display: grid; gap: 10px; }
.admin-record { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-record-poster { display: grid; width: 68px; height: 97px; place-items: center; overflow: hidden; aspect-ratio: 2/2.85; border-radius: 3px; background: var(--bg); color: var(--muted); }
.admin-record-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-record-poster-placeholder { align-content: center; gap: 5px; padding: 6px; text-align: center; }
.admin-record-poster-placeholder strong { color: var(--text); font-size: 8px; line-height: 1.2; text-transform: uppercase; letter-spacing: .5px; }
.admin-record-copy h2 { font-size: 20px; margin: 7px 0 4px; }
.admin-record-copy p, .admin-record-copy small { color: var(--muted); font-size: 11px; }
.admin-record-meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 10px; }
.admin-status { display: inline-block; padding: 4px 7px; border-radius: 3px; text-transform: uppercase; letter-spacing: .7px; font-size: 9px; }
.admin-status-pending { background: #b8791922; color: #d69a3a; }
.admin-status-approved { background: #438c5b22; color: #6fbd89; }
.admin-status-rejected { background: #ba342c22; color: #e2726a; }
.admin-poster-state { display: inline-block; padding: 4px 7px; border-radius: 3px; text-transform: uppercase; letter-spacing: .7px; font-size: 9px; background: var(--line); color: var(--muted); }
.admin-poster-state-needs_poster { background: #ba342c22; color: #e2726a; }
.admin-poster-state-verified { background: #438c5b22; color: #6fbd89; }
.admin-poster-state-unverified { background: #b8791922; color: #d69a3a; }
.admin-poster-state-rejected { background: #ba342c22; color: #e2726a; }
.admin-staged-filter { display: flex; align-items: end; gap: 10px; margin: 0 0 20px; }
.admin-staged-filter label { color: var(--muted); font-size: 11px; }
.admin-staged-filter select { min-width: 180px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; }
.admin-staged-filter .button { margin: 0; }
.admin-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; font-size: 11px; }
.admin-pagination .button { margin: 0; }
.admin-detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 30px 0; }
.admin-detail-heading h1 { margin-bottom: 18px; }
.admin-rejection-reason { max-width: 560px; margin-top: 14px; color: #e2726a; font-size: 12px; line-height: 1.5; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 16px; }
.admin-detail-grid h2, .admin-history h2 { font-size: 18px; margin-bottom: 18px; }
.admin-poster { display: block; width: min(100%, 240px); height: auto; margin: 0 auto 20px; border-radius: 3px; background: var(--bg); }
.admin-poster-placeholder { display: grid; min-height: 360px; place-items: center; align-content: center; gap: 12px; padding: 24px; color: var(--muted); text-align: center; }
.admin-poster-placeholder strong { color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.admin-poster-reason { color: #e2726a; font-size: 12px; line-height: 1.5; }
.admin-poster-form { display: grid; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-poster-form h3 { font-size: 16px; margin: 0; }
.admin-poster-form .admin-intro { margin: 0; font-size: 11px; }
.admin-poster-form small { color: var(--muted); font-size: 10px; }
.admin-poster-form .button { margin-top: 4px; }
.admin-fields { display: grid; gap: 13px; margin: 0; }
.admin-fields div { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.admin-fields dt { color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.admin-fields dd { margin: 0; color: var(--text); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.admin-source { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.admin-source summary { cursor: pointer; font-size: 11px; }
.admin-source .admin-fields { margin-top: 14px; }
.admin-history { margin-top: 16px; }
.admin-history ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.admin-notice { margin: 20px 0 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12px; }
.admin-notice-success { color: #6fbd89; background: #438c5b22; }
.admin-notice-error { color: #e2726a; background: #ba342c22; }
.admin-actions { margin-top: 16px; }
.admin-action-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; }
.admin-action-grid form { display: grid; align-content: start; gap: 9px; }
.admin-action-grid label { color: var(--muted); font-size: 11px; }
.admin-action-grid textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; resize: vertical; }
.button.danger { border-color: #ba342c88; color: #e2726a; background: transparent; }
.button.danger:hover { background: #ba342c22; }
.admin-detail-actions { display: grid; justify-items: end; gap: 14px; }
.admin-edit-form { display: grid; gap: 18px; max-width: 980px; }
.admin-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-field { display: grid; gap: 7px; }
.admin-field label { color: var(--muted); font-size: 11px; }
.admin-field label small { color: var(--muted); font-size: 9px; margin-left: 5px; }
.admin-field input, .admin-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 11px 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; }
.admin-field select { width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 11px 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; }
.admin-field input:read-only { color: var(--muted); }
.admin-field textarea { min-height: 86px; resize: vertical; line-height: 1.55; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field-error, .admin-form-error { color: #e2726a; font-size: 11px; line-height: 1.45; }
.admin-form-error { margin: 22px 0 0; }
.admin-edit-actions { display: flex; gap: 10px; padding-top: 4px; }
.admin-audit-filters { margin: 30px 0 16px; }
.admin-audit-list { margin-top: 16px; }
.admin-audit-list > h2 { font-size: 18px; margin-bottom: 18px; }
.admin-audit-list ol { display: grid; gap: 12px; padding-left: 20px; }
.admin-audit-item { padding: 4px 0 12px; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.admin-audit-item strong { color: var(--text); }
.admin-audit-item small { display: block; color: var(--muted); }
.admin-audit-item p { margin: 4px 0 0; overflow-wrap: anywhere; }
.admin-audit-item details { margin-top: 6px; }
.admin-audit-item pre { margin: 8px 0 0; padding: 10px; overflow: auto; background: var(--bg); font-size: 10px; white-space: pre-wrap; }
@media (max-width: 600px) {
  .admin-nav { right: 16px; }
  .admin-login-shell { padding: 20px; }
  .admin-panel { padding: 22px; }
  .admin-content { padding-top: 34px; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-record { grid-template-columns: 52px 1fr; }
  .admin-record-poster { width: 52px; height: 74px; }
  .admin-record .button { grid-column: 2; justify-self: start; }
  .admin-detail-heading, .admin-detail-grid { display: block; }
  .admin-detail-actions { justify-items: start; margin-top: 18px; }
  .admin-edit-grid { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .admin-action-grid { grid-template-columns: 1fr; }
  .admin-staged-filter { align-items: stretch; flex-direction: column; }
  .admin-detail-heading .admin-intro { margin-top: 18px; }
  .admin-detail-grid > * + * { margin-top: 16px; }
}
@media (min-width: 1500px) {
  .hero {
    height: 550px;
  }
  .hero h1 {
    font-size: 118px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .main-nav {
    margin-left: 0;
    gap: 20px;
  }
  .nav-inner {
    gap: 20px;
  }
  .nav-actions {
    gap: 10px;
  }
  .mood-inner {
    gap: 20px;
  }
  .mood-inner h2 {
    min-width: 105px;
  }
  .mood-option {
    padding-left: 14px;
    gap: 9px;
  }
  .mood-option > .icon:first-child {
    width: 20px;
    height: 20px;
  }
  .mood-option > .arrow-up-right {
    display: none;
  }
  .film-grid {
    gap: 30px 20px;
  }
  .genre-tabs {
    gap: 23px;
  }
  .fate-copy h2 {
    font-size: 26px;
  }
  .fate-section {
    gap: 20px;
    padding: 28px;
  }
  .footer-note {
    display: none;
  }
}
@media (max-width: 900px) {
  .main-nav .nav-link:last-child {
    display: none;
  }
  .mood-inner {
    display: block;
  }
  .mood-inner h2 {
    margin-bottom: 20px;
    font-size: 16px;
  }
  .mood-inner h2 br {
    display: none;
  }
  .mood-option:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .collection-count {
    display: none;
  }
  .select-field {
    display: block;
    height: auto;
    padding: 4px 10px;
  }
  .select-field label {
    display: block;
    font-size: 9px;
  }
  .select-field select {
    padding: 1px 0;
    font-size: 11px;
  }
  .film-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 90px;
  }
  .hero {
    height: 485px;
  }
  .hero-image {
    object-position: 60% center;
  }
  .film-meta > span:last-child {
    font-size: 8px;
    padding-inline: 4px;
  }
  .fate-art {
    display: none;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 68px;
  }
  .wordmark {
    font-size: 24px;
    gap: 6px;
  }
  .wordmark .skull {
    width: 23px;
    height: 26px;
  }
  .main-nav {
    display: none;
  }
  .nav-actions {
    gap: 5px;
  }
  .watchlist-nav > span:not(.watchlist-count) {
    display: none;
  }
  .watchlist-nav {
    gap: 6px;
  }
  .theme-toggle {
    width: 32px;
  }
  .hero {
    height: 475px;
  }
  .hero-image {
    object-position: 67% center;
    opacity: 0.8;
  }
  .hero:after {
    background:
      linear-gradient(90deg, rgba(14, 16, 14, 0.75), rgba(14, 16, 14, 0.15)),
      linear-gradient(0deg, rgba(14, 16, 14, 0.65), transparent 55%);
  }
  .hero-inner {
    align-items: flex-end;
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: 76px;
    letter-spacing: -1.1px;
  }
  .hero-copy > p {
    font-size: 13px;
    margin-top: 20px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 12px 14px;
    gap: 8px;
  }
  .mood-inner {
    padding-block: 23px;
  }
  .mood-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }
  .mood-option {
    padding-left: 0;
    border: 0;
    gap: 12px;
  }
  .mood-option > span {
    font-size: 12px;
  }
  .mood-option small {
    font-size: 10px;
  }
  .mood-inner h2 {
    font-size: 14px;
    margin-bottom: 21px;
  }
  .catalog {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-heading p {
    font-size: 11px;
    max-width: 300px;
    line-height: 1.7;
  }
  .genre-tabs {
    gap: 22px;
  }
  .genre-tabs button {
    font-size: 11px;
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .filter-toolbar {
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .select-field {
    display: flex;
    flex: 1;
    padding: 10px;
    gap: 7px;
    min-width: 0;
    height: 41px;
  }
  .select-field label {
    font-size: 9px;
  }
  .select-field select {
    font-size: 10px;
    min-width: 0;
    max-width: 110px;
  }
  .results-line {
    font-size: 10px;
    margin: 18px 0;
  }
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 15px;
  }
  .film-meta {
    font-size: 9px;
    gap: 4px;
    margin-top: 11px;
    flex-wrap: wrap;
  }
  .film-meta > span:last-child {
    font-size: 8px;
  }
  .film-meta > span > span {
    padding-inline: 2px;
  }
  .film-card h3 {
    font-size: 17px;
    margin-top: 7px;
  }
  .film-bottom {
    font-size: 10px;
    margin-top: 7px;
  }
  .save-button {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }
  .fate-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    margin-bottom: 32px;
  }
  .fate-copy h2 {
    font-size: 29px;
    max-width: 280px;
  }
  .fate-copy p {
    font-size: 11px;
    margin-top: 10px;
    max-width: 260px;
  }
  .fate-section .button {
    font-size: 11px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 25px;
    padding-bottom: 30px;
    gap: 20px;
  }
  .site-footer nav {
    gap: 22px;
  }
  .detail-layout {
    grid-template-columns: 100px 1fr;
    gap: 18px;
  }
  .detail-copy {
    display: contents;
  }
  .detail-poster {
    grid-row: 1/5;
  }
  .detail-meta {
    font-size: 9px;
    flex-wrap: wrap;
    align-self: end;
    gap: 5px;
  }
  .detail-copy h2 {
    font-size: 35px;
    margin: 0;
  }
  .director {
    font-size: 10px;
  }
  .detail-copy .tagline {
    font-size: 13px;
    margin: 0;
  }
  .detail-copy > p:not(.director, .tagline),
  .editor-note,
  .detail-scare,
  .content-warnings,
  .detail-actions {
    grid-column: 1/-1;
  }
  .editor-note {
    margin: 5px 0;
  }
  .detail-scare {
    margin: 0;
  }
  .detail-actions {
    margin: 0;
  }
  .detail-copy .availability-note {
    margin: 0;
  }
  .detail-layout {
    margin-top: 15px;
  }
  dialog {
    padding: 25px 20px;
  }
  .pick-again-row {
    justify-content: flex-start;
    gap: 16px;
  }
  .pick-again-row .button {
    font-size: 11px;
  }
  #picker-dialog {
    padding: 35px 22px;
  }
  #picker-dialog h2,
  #info-dialog h2 {
    font-size: 34px;
  }
  .nerve-options {
    gap: 7px;
  }
  .nerve-options span {
    font-size: 10px;
    padding: 14px 5px;
  }
  #info-dialog {
    padding: 38px 25px;
  }
  .empty-state {
    padding: 45px 15px;
  }
  .empty-state h3 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(51px, 17vw, 76px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
