/* ABOUTME: Fits native-pixel game artwork into accessible scrolling frames on narrow screens. */
/* ABOUTME: Adapts shared analytics controls and enlarged text to the supplied game palette. */
body {
  overflow-wrap: anywhere;
}

.hero,
.how,
.split {
  min-width: 0;
}

.hero > *,
.how > *,
.split > * {
  min-width: 0;
}

.screen,
.shots .screen {
  width: min(100%, calc(400px + 1.5rem));
}

.pixel-viewport {
  max-width: 100%;
  overflow-x: auto;
}

.screen img {
  width: 400px;
  max-width: none;
  height: 240px;
}

.pixel-viewport:focus-visible {
  outline: 3px solid #8fb6e6;
  outline-offset: 3px;
}

.brand img {
  flex: 0 0 32px;
}

.site-header {
  border-bottom: 0;
}

.hero-band {
  border-top: 2px solid var(--ink);
}

.site-header nav {
  flex-wrap: wrap;
}

.website-privacy {
  padding-top: 0;
}

.website-privacy h3 {
  margin-block: 1.5rem 0.75rem;
}

[data-analytics-settings],
#analytics-consent button {
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

#analytics-consent {
  max-width: 46rem;
  padding: 1rem;
  margin: 1.5rem auto;
  border: 1px solid var(--rule);
  background: var(--sheet);
}

#analytics-consent button {
  margin-top: 0.75rem;
}
