/* Find a game (the three questions) */
.page-find {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../images/filtersbackground.webp") center / cover fixed;
}

.find {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  text-align: center;
}
.find__form { width: 100%; max-width: 760px; }
.find h2 { font-weight: 600; font-size: 1.7rem; margin: 0 0 1rem; }

fieldset { border: 0; margin: 1.5rem 0; padding: 0; }
legend { font-size: 1.2rem; margin: 0 auto 0.8rem; }

.choice-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.choice-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-group label {
  min-width: 100px;
  padding: 15px 20px;
  background: var(--color-control);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.choice-group label:hover,
.choice-group input:checked + label {
  background: var(--color-go);
  border-color: #fff;
}
.choice-group input:focus-visible + label { outline: 3px solid var(--color-accent); }

.find__message { min-height: 1.6em; color: #ffd27a; margin: 0.5rem 0; }

@media (max-width: 500px) {
  .choice-group label { min-width: 80px; padding: 12px 14px; }
}

.find__hint { margin: -0.4rem 0 0.8rem; font-size: 0.9rem; color: var(--color-text-muted); }
