html {
  background: var(--petify-color-surface);
}

body {
  margin: 0;
  font-family: var(--petify-font-body);
  color: var(--petify-color-text);
  background: var(--petify-color-surface);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: #fff;
  background: rgba(11, 95, 214, 0.85);
}

.petify-page-shell {
  width: min(100%, var(--petify-page-max));
  margin-inline: auto;
  padding-inline: var(--petify-space-page);
}

.pb-safe {
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

@media (min-width: 640px) {
  :root {
    --petify-space-page: 1.5rem;
  }
}
