html, body {
  margin: 0;
  min-height: 100%;
  background: #c50418;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.visual,
.visual picture,
.visual img,
.visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual img,
.visual video { object-fit: cover; }
.visual video { visibility: hidden; }
.visual video.has-frame { visibility: visible; }

@media (max-aspect-ratio: 7/20) {
  .visual img,
  .visual video { object-fit: contain; }
}

.cookie-panel,
.cookie-settings {
  position: fixed;
  z-index: 1;
  inset-inline-start: max(1rem, env(safe-area-inset-left));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: #fff;
  background: #191719;
  font: 1rem/1.45 system-ui, sans-serif;
}

.cookie-panel {
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  width: auto;
  max-width: 24rem;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1rem 1.125rem;
  border: 1px solid #625960;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1.25rem #0005;
}

.cookie-panel h2 {
  margin: 0;
  font-size: 1.0625rem;
}

.cookie-panel p {
  margin: 0.375rem 0;
  color: #eee8ec;
  font-size: 0.9375rem;
}

.cookie-panel a {
  color: inherit;
  font-size: 0.875rem;
  text-underline-offset: 0.15em;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.cookie-panel button,
.cookie-settings {
  min-height: 44px;
  padding: 0.375rem 0.625rem;
  border: 1px solid #aaa1a8;
  border-radius: 0.25rem;
  background: #211d21;
  color: inherit;
  font: 600 0.875rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.cookie-settings { color: #fff; }

.cookie-panel button:hover,
.cookie-settings:hover { background: #393139; }

.cookie-panel :focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
