/* Quiet toy surfaces; inline teaching colours are deliberately preserved. */
#canvasContainerArena[data-scene='illustrated'] {
  background: #173a49;
  border-color: #85a8aa;
  box-shadow: inset 0 0 0 5px #e7f2e518;
}
.focus-art-scene {
  max-width: 580px;
  color: #274e44;
  gap: clamp(6px, calc(var(--play-height, 500px) * 0.025), 14px);
  padding: 4px;
}
.activity-art-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
}
.activity-art-heading .focus-art {
  width: clamp(40px, calc(var(--play-height, 500px) * 0.13), 64px);
  height: clamp(40px, calc(var(--play-height, 500px) * 0.13), 64px);
  flex-shrink: 0;
}
.activity-art-heading > :last-child {
  color: #274e44;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.3;
}
.focus-art-scene [class*='text-purple-'],
.focus-art-scene [class*='text-amber-'],
.focus-art-scene [class*='text-sky-'],
.focus-art-scene .text-white {
  color: #274e44;
}
.focus-art-scene [class*='bg-purple-'] {
  background: #e6eedf;
  border-color: #c2d4bf;
  box-shadow: inset 0 0 0 4px #ffffff50;
}
.focus-art-scene button {
  min-width: 48px;
  min-height: 48px;
  color: #274e44;
  border: 2px solid #c0d3c3;
  background-color: #fffdf5;
  border-radius: 16px;
  box-shadow: 0 3px 0 #bbcebb;
  cursor: pointer;
  transition: border-color 180ms, background-color 180ms;
}
.focus-art-scene button:hover:not(:disabled) {
  border-color: #4b8976;
}
.focus-art-scene button:focus-visible {
  outline: 3px solid #246b87;
  outline-offset: 3px;
}
.focus-art-scene button:disabled {
  cursor: default;
}
.focus-art-scene img {
  object-fit: contain;
  pointer-events: none;
}
.focus-art-scene[data-game='reverse_reflex'] #arrowCard {
  width: clamp(64px, calc(var(--play-height, 500px) * 0.23), 128px);
  height: clamp(64px, calc(var(--play-height, 500px) * 0.23), 128px);
  background: #f7efd6;
  border-color: #c5ae77;
  box-shadow: 0 4px 0 #d2c292;
}
.focus-art-scene[data-game='reverse_reflex'] > .grid {
  max-width: 400px;
  gap: 8px;
  margin-top: 0;
}
.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  padding: 10px;
}
.focus-art-scene[data-game='whack_spark'] > .grid {
  width: clamp(176px, calc(var(--play-height, 500px) - 76px), 300px);
  height: clamp(176px, calc(var(--play-height, 500px) - 76px), 300px);
  max-width: 100%;
  gap: 6px;
  padding: 6px;
}
.spark-cell {
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.spark-cell img {
  width: 70% !important;
  height: 65% !important;
}
.spark-colour {
  color: #142f42;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
}
.focus-art-scene[data-game='simon_echo'] > .grid {
  width: min(100%, 380px, calc(var(--play-height, 500px) - 78px));
  height: auto;
  aspect-ratio: 1;
  gap: 10px;
}
.simon-pad img {
  width: 75% !important;
  height: 75% !important;
  max-width: 120px;
  max-height: 120px;
}
.focus-art-scene .simon-pad[data-lit='true'] {
  background: #d4eadb;
  border-color: #2b785f;
  box-shadow: inset 0 0 0 4px #2b785f, 0 3px 0 #96b5a0;
  transform: none;
}
#patternGrid {
  width: clamp(148px, calc(var(--play-height, 500px) * 0.52), 244px);
  height: clamp(148px, calc(var(--play-height, 500px) * 0.52), 244px);
  gap: 8px;
  padding: 8px;
}
#patternGrid > div {
  background: #fffdf5;
  border-color: #c7d8c5;
  color: #496957;
}
#patternGrid img,
#patternOptions img {
  width: 84% !important;
  height: 84% !important;
}
#patternOptions {
  gap: 12px;
}
.p-opt {
  width: clamp(64px, 14vw, 88px);
  height: clamp(64px, 14vw, 88px);
}
#oddGrid,
.focus-art-scene[data-game='clockwise_rush'] > .grid {
  width: min(100%, 440px, calc(var(--play-height, 500px) - 78px));
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  gap: 6px;
  padding: 6px;
}
.odd-item,
.focus-art-scene[data-game='clockwise_rush'] button {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.odd-item img {
  width: 90% !important;
  height: 90% !important;
}
.orientation-arrow {
  display: grid;
  place-items: center;
}
.focus-art-scene[data-game='subitize_flash'] > .w-48 {
  width: min(100%, 260px, calc(var(--play-height, 500px) - 80px));
  height: min(260px, calc(var(--play-height, 500px) - 80px));
  gap: 8px;
  padding: 12px;
}
.focus-art-scene[data-game='letter_mirror'] > .grid {
  width: min(100%, 360px, calc(var(--play-height, 500px) - 80px));
  max-width: none;
  gap: 6px;
  padding: 6px;
}
.focus-art-scene[data-game='letter_mirror'] > .grid-cols-4 {
  min-width: 222px;
  grid-template-columns: repeat(4, minmax(48px, 1fr));
}
.focus-art-scene .mirror-btn[data-found='true'] {
  background: #d3e8cb;
  border-color: #4e865a;
  color: #245330;
}
.focus-art-scene[data-game='gradient_sort'] > div:not(.activity-art-heading) {
  width: 100%;
}
.focus-art-scene[data-game='gradient_sort'] > .flex {
  padding: 4px;
  gap: 4px;
}
.focus-art-scene .grad-tile {
  min-width: 48px;
  transform: none;
  border-color: #ffffffb3;
  box-shadow: inset 0 4px 0 #ffffff30, 0 3px 0 #7b978766;
}
.grad-tile[aria-pressed='true'] {
  outline: 3px solid #254e4c;
  outline-offset: 3px;
}
.focus-art-scene[data-game='symmetry_mirror'] > .flex {
  padding: 4px;
  gap: 4px;
}
.symmetry-reference {
  flex: 1 1 0;
  gap: 3px;
}
.symmetry-board {
  flex: 0 0 clamp(204px, 55%, 304px);
  gap: 4px;
}
.symmetry-reference > div {
  border: 1px solid #b6cbbb;
  background: #fffdf5;
  box-shadow: inset 0 2px 0 #ffffff70;
}
.symmetry-reference > .bg-amber-400,
.focus-art-scene .sym-tile[aria-pressed='true'] {
  background: #e8b94b;
  border-color: #aa8028;
  box-shadow: inset 0 3px 0 #ffffff50, 0 2px 0 #c89938;
}
.focus-art-scene .sym-tile {
  border-radius: 8px;
  box-shadow: inset 0 3px 0 #ffffff60;
}
.focus-art-scene[data-game='number_line_hop'] {
  gap: 32px;
}
.focus-art-scene[data-game='number_line_hop'] > .relative {
  background: #d5e7c5;
  border-color: #699378;
  height: 70px;
  padding-top: 18px;
}
.focus-art-scene[data-game='number_line_hop'] .bg-white\/40 {
  background: #547863;
}
.frog-flower {
  transform: translateY(-6px);
}
.focus-art-scene .hop-btn {
  background: #2e745a;
  border-color: #22513e;
  color: white;
  box-shadow: 0 4px 0 #22513e;
}
.focus-art-scene[data-game='stroop_clash'] > .text-6xl {
  width: 100%;
  padding: 22px 12px;
  background: #152b3e;
  border: 5px solid #d4c9ad;
  border-radius: 24px;
  box-shadow: 0 4px 0 #c1b793;
}
.focus-art-scene[data-game='rule_sorter'] > svg {
  width: clamp(80px, calc(var(--play-height, 500px) * 0.28), 140px);
  height: clamp(80px, calc(var(--play-height, 500px) * 0.28), 140px);
  background: #fffdf5;
  border: 2px solid #c6d5c1;
  border-radius: 24px;
}
.focus-art-scene[data-game='word_shadow'] svg rect {
  fill: #417283;
}
.focus-art-scene[data-game='word_shadow'] svg line {
  stroke: #315665;
}
.focus-art-scene[data-game='sensory_wrap'] {
  width: 100% !important;
}
.focus-art-scene[data-game='sensory_wrap'] > .grid {
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  width: min(100%, 420px, calc((var(--play-height, 500px) - 98px) * 0.64));
  min-width: 210px;
  gap: 6px;
}
.focus-art-scene .wrap-cell {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  background: #d9eee8;
  box-shadow: inset 0 0 0 2px #f5fcf5;
  overflow: hidden;
}
.wrap-cell img {
  width: 100% !important;
  height: 100% !important;
}
.focus-art-scene .wrap-cell[aria-pressed='true'] {
  background: #d9e5d9;
  border-style: dashed;
}
.wrap-cell[aria-pressed='true'] img {
  opacity: 0.18;
  transform: scale(0.6);
}
@media (max-height: 540px) and (orientation: landscape) {
  .focus-art-scene {
    padding: 0;
    gap: 6px;
  }
  .activity-art-heading {
    gap: 8px;
  }
  .activity-art-heading > :last-child {
    font-size: 16px;
  }
  .focus-art-scene[data-game='sensory_wrap'] > .grid {
    grid-template-columns: repeat(6, minmax(48px, 1fr));
    width: min(100%, 380px);
    min-width: 320px;
  }
  .focus-art-scene[data-game='reverse_reflex'] #arrowCard {
    width: 72px;
    height: 72px;
  }
  .focus-art-scene[data-game='number_line_hop'] {
    gap: 24px;
  }
  .focus-art-scene[data-game='word_shadow'] > .flex {
    gap: 6px;
  }
  .focus-art-scene[data-game='word_shadow'] button {
    padding: 6px 12px;
  }
}
