:root {
  color-scheme: dark;
  color: #fff4dc;
  background: #101c29;
  font: 1rem/1.5 system-ui, sans-serif;
}
body { margin: 0; }
body.gift-open {
  background: linear-gradient(0deg, #101c29 2%, #101c29e8 27%, #101c2940 64%),
    url('/art/packaging/phobos-portrait.png') center 37% / cover no-repeat;
}
main {
  display: grid;
  align-content: end;
  gap: .75rem;
  min-height: 100svh;
  max-width: 29rem;
  box-sizing: border-box;
  margin: auto;
  padding: clamp(1.25rem, 6vw, 2.5rem);
}
h1 {
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: .96;
  letter-spacing: -.05em;
}
p { margin: 0; }
#gift-actions { display: grid; gap: .65rem; }
[hidden], #gift-actions[hidden] { display: none; }
a, button {
  min-height: 3rem;
  box-sizing: border-box;
  display: grid;
  align-items: center;
  font: inherit;
  font-weight: 750;
  border-radius: .25rem;
  border: 1px solid currentColor;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
a { background: #ffd18b; color: #18212b; }
button { background: #101c29; color: #fff4dc; }
input { width: 100%; box-sizing: border-box; padding: .5rem; font: inherit; }
:focus-visible { outline: 3px solid #fff4dc; outline-offset: 3px; }
