/* Styles for the Kids picture-first games. Loaded alongside /games/games.css,
   which supplies the shared tokens (--ink, --paper, --accent, --good, --bad,
   --rule, --f-ui, --f-body) and the .game-btn/.game-feedback/.game-over
   classes reused here. Everything below is just bigger, brighter and more
   forgiving for small hands/eyes — no reading required to play. */

.kids-hero { margin: 8px 0 28px; }
.kids-hero p { color: var(--ink-2); max-width: var(--measure); }

.kids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.kids-card {
  border: 2px solid var(--rule);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
}
.kids-card .kids-emoji { font-size: 2.6rem; line-height: 1; }
.kids-card h2 { margin: 0; font-size: 1.2rem; }
.kids-card p { margin: 0; color: var(--ink-2); font-size: 0.92rem; flex-grow: 1; }
.kids-card a.play-link {
  font-family: var(--f-ui);
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.05rem;
}
.kids-card a.play-link:hover, .kids-card a.play-link:focus-visible { text-decoration: underline; }

.kids-panel {
  border: 2px solid var(--rule);
  border-radius: 20px;
  padding: 24px 20px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.kids-toolbar {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  font-family: var(--f-ui);
  font-size: 1rem;
  margin-bottom: 10px;
}
.kids-toolbar strong { color: var(--ink); }

.kids-stage {
  font-size: 5rem;
  line-height: 1.1;
  margin: 18px 0;
}
/* A color-swatch "picture" rather than an emoji, sized to match. */
.kids-swatch {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin: 18px auto;
  border: 3px solid var(--rule);
}

.kids-counting-row {
  font-size: 2.6rem;
  line-height: 1.3;
  margin: 18px auto;
  max-width: 420px;
  word-spacing: 6px;
}

.kids-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.kids-opt {
  font-family: var(--f-body);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 22px 10px;
  border-radius: 16px;
  border: 3px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  min-height: 84px;
}
.kids-opt:hover, .kids-opt:focus-visible { border-color: var(--accent); }
.kids-opt[data-correct="true"] { border-color: var(--good); color: var(--good); background: color-mix(in srgb, var(--good) 12%, var(--paper)); }
.kids-opt[data-wrong="true"] { border-color: var(--bad); color: var(--bad); }
.kids-opt[disabled] { cursor: default; }

.kids-feedback {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1.3rem;
  min-height: 1.6em;
  margin: 6px 0;
}
.kids-feedback[data-tone="good"] { color: var(--good); }
.kids-feedback[data-tone="bad"] { color: var(--bad); }

.kids-progress { font-family: var(--f-ui); font-size: 0.9rem; color: var(--ink-2); margin-bottom: 4px; }

.kids-btn {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}
.kids-btn:hover, .kids-btn:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.kids-over { margin-top: 18px; }
.kids-over .big-score { font-family: var(--f-ui); font-weight: 700; font-size: 2.2rem; }

/* Round 33 kids games: picture buttons, the big word/command, the fruit basket. */
.kids-opt.kids-pic { font-size: 3rem; padding: 14px 10px; line-height: 1.1; }
.kids-word { font-family: var(--f-body); font-size: 2.2rem; font-weight: 700; margin: 14px 0 6px; overflow-wrap: anywhere; }
.kids-cmd { font-family: var(--f-body); font-size: 1.5rem; font-weight: 700; margin: 14px 0 6px; overflow-wrap: anywhere; }
.kids-say { font-family: var(--f-ui); font-size: 0.95rem; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.kids-say:hover, .kids-say:focus-visible { border-color: var(--accent); }
.kids-table, .kids-basket { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 76px; padding: 10px; border-radius: 18px; }
.kids-table { border: 2px dashed var(--rule); margin: 14px 0 10px; }
.kids-basket { border: 3px solid var(--accent); margin: 6px 0 12px; background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.kids-basket-label { font-family: var(--f-ui); font-weight: 700; margin: 10px 0 0; }
.kids-fruit { font-size: 2.3rem; line-height: 1; width: 60px; height: 60px; border-radius: 14px; border: 2px solid transparent; background: transparent; cursor: pointer; }
.kids-fruit:hover, .kids-fruit:focus-visible { border-color: var(--accent); }
.kids-face { font-size: 6rem; line-height: 1.1; margin: 14px 0; }
