/* Coloring online (assets/play/coloring.js): the picture uses the color-by-number stage (.cbn-view, .cbn-stage in play.css) */
.col-view { cursor: pointer; }  /* coloring.js sets a crayon or eraser cursor in the chosen color */
/* crayon boxes: Bright / Pastel / Dark / Skin & hair, each with 4 sample dots */
.col-boxes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 12px auto 2px; }
.col-box { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; background: #fff; padding: 6px 12px 6px 8px;
  box-shadow: 0 0 0 2px var(--line); font: 700 .9rem var(--body); color: var(--navy); cursor: pointer; }
.col-box .sw { display: inline-flex; }
.col-box .sw i { width: 13px; height: 13px; border-radius: 50%; margin-left: -3px; box-shadow: 0 0 0 1.5px #fff; }
.col-box .sw i:first-child { margin-left: 0; }
.col-box.sel { background: var(--navy); color: #fff; box-shadow: 0 0 0 2px var(--navy); }
.col-pal { gap: 4px 2px; max-width: 760px; margin-left: auto; margin-right: auto; }
.col-pal .crayon { width: 62px; }
.col-pal .crayon i { width: 42px; height: 42px; }
.col-pal .crayon.white i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #9aa3ad, inset 0 -6px 0 rgba(0, 0, 0, .08); }
.col-pal .crayon.sel { transform: translateY(-3px) scale(1.06); }  /* the big lift of color by number pushed into the neighbors */
.col-eraser { display: inline-flex; align-items: center; gap: 6px; align-self: center; margin: 0 0 6px 14px; padding: 5px 14px 5px 8px;
  border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--line); font: 700 .9rem var(--body); color: var(--navy); cursor: pointer; }
.col-eraser svg { display: block; flex: none; }
.col-eraser.sel { box-shadow: 0 0 0 3px var(--navy); background: #fde7ef; }
.col-pal .crayon.sel i { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--navy), inset 0 -6px 0 rgba(0, 0, 0, .15); }
.col-pal .crayon small { white-space: normal; text-align: center; line-height: 1.05; min-height: 2.1em; max-width: 60px; }
.col-tools .g-btn { white-space: nowrap; }
@media (max-width: 600px) {
  .col-pal { gap: 6px 2px; }
  .col-boxes { gap: 4px; margin-top: 8px; }
  .col-box { padding: 4px 9px 4px 6px; font-size: .8rem; gap: 5px; }
  .col-box .sw i { width: 10px; height: 10px; }
  .col-pal .crayon { width: 46px; padding-bottom: 2px; }  /* 7 a row: bigger targets for small fingers (ChatGPT review 2026-12-04) */
  .col-pal .crayon i { width: 38px; height: 38px; }
  .col-pal .crayon.sel { transform: none; }
  .col-pal .crayon.sel i { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--navy), inset 0 -5px 0 rgba(0, 0, 0, .15); }  /* the ring alone marks the choice, so it does not run into the next crayon */
  .col-eraser { margin: 4px 0 2px 8px; padding: 3px 10px 3px 6px; font-size: .82rem; }
  .col-eraser svg { width: 24px; height: 24px; }
  .col-pal .crayon small { display: none; }  /* Arco says the color; ten crayons fit a row */
  .col-tools { gap: 6px; }
  .col-tools .g-btn { padding: 7px 10px; font-size: .88rem; }
}
/* Zoom is a toggle, but grey "off" looked disabled: full strength, navy when on */
.col-tools .g-btn[aria-pressed="false"] { opacity: 1; }
.col-tools .g-btn[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
