:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    sans-serif;
  color: #1f2937;
  background: #f3f4f6;
}

.picker {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.picker h1 {
  margin: 0 0 28px;
  font-size: 1.75rem;
  font-weight: 700;
}

#puzzle-list {
  display: grid;
  gap: 16px;
}

.puzzle-card {
  display: block;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}

.puzzle-card:hover,
.puzzle-card:focus-visible {
  border-color: #166534;
  outline: none;
  box-shadow: 0 0 0 3px rgb(22 101 52 / 18%);
}

.puzzle-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.picker-footer {
  margin-top: 32px;
  font-size: 0.85rem;
}

.picker-footer a {
  color: #4b5563;
}
