* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Georgia, "Palatino Linotype", Palatino, "Book Antiqua", serif;
  color: #444;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#prompt {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  max-width: 36rem;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

#prompt:hover {
  transform: scale(1.03) rotate(0.4deg);
}

#prompt.spinning,
#prompt.spinning:hover {
  opacity: 0.4;
  transform: none;
}

footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  line-height: 2;
}

footer a {
  color: #999;
  text-decoration: none;
}

footer a:hover {
  color: #444;
}

footer .links a + a::before {
  content: " · ";
  color: #ccc;
}

footer .icons {
  margin-top: 0.25rem;
}

footer .icons a {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.35rem;
}

footer .icons svg {
  width: 18px;
  height: 18px;
  fill: #bbb;
  transition: fill 0.2s;
}

footer .icons a:hover svg {
  fill: #444;
}

dialog {
  margin: auto;
  border: 3px solid #444;
  border-radius: 4px;
  max-width: 32rem;
  padding: 2.5rem;
  font-family: inherit;
  color: #444;
  line-height: 1.6;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.15);
}

dialog p + p {
  margin-top: 1rem;
}
