:root {
  color-scheme: dark;
}
body {
  background: #181528 !important;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #100b1b99, #100b1b40 55%, #100b1b77),
    var(--festival-photo, url("/assets/liggiefees-background.png")) 60% center / cover no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  body::before { --festival-photo: url("/assets/liggiefees-background.png"); }
}
.festival-languages {
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
  max-width: 85rem;
  margin: 0 auto;
  padding: .85rem 1rem;
}
.festival-languages button {
  width: auto;
  margin: 0;
  padding: .45rem .85rem;
  background: #241d33;
  color: #fff1d6;
  border: 1px solid #6e5677;
  border-radius: 2rem;
}
.festival-languages button[aria-pressed="true"] {
  background: #ffd485;
  color: #24152b;
  border-color: #ffd485;
}
.login h1, .viewer-page h1 { color: #ffe0a6; }
.festival-home {
  display: inline-flex;
  max-width: 100%;
  padding: .55rem .75rem;
  background: #fff0da70;
  border-radius: .8rem;
}
.festival-home img { display: block; width: min(16rem, 56vw); height: auto; }
.festival-home:hover { background: #fff0da80; }
.festival-home:focus-visible { outline: 3px solid #ffd485; outline-offset: 4px; }
.viewer-page .tile { border-color: #765877; }
.viewer-page .festival-grid-return { display: none; }
.login { min-height: calc(100vh - 4rem); }
.login form button[type="submit"] { margin-top: .875rem; }
