/* Kid mode keeps the artwork fullscreen and the choices within easy reach. */
.kid-tip { display: none; }
.kid-fade { display: none; }
#kid-selfie-status { display: none; }
body.mode-kid .toy-head,
body.mode-kid .studio-rail,
body.mode-kid .toy-foot,
body.mode-kid .art-heading,
body.mode-kid #next-destination,
body.mode-kid .wall-tools > :not(#wall-undo):not(#wall-pause),
body.mode-kid #gal-cap,
body.mode-kid #gal-hint,
body.mode-kid .brush-detail,
body.mode-kid #palette-note { display: none !important; }
body.mode-kid.gallery .toy-stage { padding: 0; background: transparent; }
body.mode-kid.gallery .gallery-tools-toggle,
body.mode-kid.gallery.gallery-ui-idle .gallery-tools-toggle:not(:focus-visible),
body.mode-kid.gallery #wall-selfie,
body.mode-kid.gallery.gallery-ui-idle #wall-selfie:not(:focus-visible) { opacity: 1; pointer-events: auto; }
body.mode-kid #kid-selfie-status:not(:empty) { display: block; position: fixed; z-index: 6601; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px); box-sizing: border-box; width: max-content; max-width: min(420px, calc(100vw - 36px)); margin: 0; padding: 10px 16px; border-radius: 18px; background: #fffdf9ee; color: #29243d; font: 14px/1.5 var(--toy); pointer-events: none; }
body.mode-kid.gallery .paint-dock { width: min(720px, calc(100vw - 24px)); padding: 16px; touch-action: pan-y; }
body.mode-kid .paint-dock .grp-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
body.mode-kid .paint-dock .tool-btn { width: 100%; height: 60px; }
body.mode-kid .paint-dock .paint-controls { gap: 12px; }
body.mode-kid .paint-dock .palette-control { gap: 8px; }
body.mode-kid .paint-dock .grp-colors { flex-wrap: wrap; justify-content: center; gap: 6px; }
body.mode-kid .paint-dock .dot { width: 44px; height: 44px; min-width: 44px; }
body.mode-kid .paint-dock .dot.rainbow[aria-pressed="true"] { animation: none; transform: none; }
body.mode-kid .paint-dock .dot::before { width: 32px; height: 32px; }
body.mode-kid .paint-dock .dot.rainbow,
body.mode-kid .paint-dock .dot.cycle { width: 84px; border-radius: 16px; }
body.mode-kid .paint-dock .dot.rainbow::before,
body.mode-kid .paint-dock .dot.cycle::before { width: 76px; height: 36px; border-radius: 12px; }
body.mode-kid .dot.rainbow::after,
body.mode-kid .dot.cycle::after { content: 'Rainbow'; position: relative; font: 600 12px var(--toy); color: #29243d; background: #fffdf9ee; border-radius: 12px; padding: 4px 6px; }
body.mode-kid .dot.cycle::after { content: 'New touch'; }
body.mode-kid #palette-family { min-height: 44px; font-size: 16px; }
body.mode-kid .size-btn { width: 48px; height: 48px; }
body.mode-kid .custom-colour { width: 44px; height: 44px; }
body.mode-kid .kid-fade { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; margin-top: 12px; padding: 8px 12px; border-radius: 14px; background: #f1edf8; font: 600 15px/1.4 var(--toy); color: #29243d; cursor: pointer; }
body.mode-kid .kid-fade input { flex: 0 0 auto; width: 24px; height: 24px; accent-color: #7650c9; }
body.mode-kid .kid-fade small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #625b74; }
body.mode-kid.device-ipad .paint-dock { background: #fffdf9; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.mode-kid.device-ipad #kid-entry::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
body.mode-kid .kid-tip { display: block; margin: 12px 0 0; text-align: center; font: 13px/1.5 var(--toy); color: #625b74; }
.paint-dock .dot.cycle::before { background: conic-gradient(#ff3f70, #ffd43b, #88cf37, #13bcd7, #a84eeb, #ff3f70); }
.cycle-symbol { position: relative; }
.cycle-symbol { display: grid; place-items: center; width: 20px; height: 20px; margin: auto; background: #fffdf9ee; border-radius: 50%; font: 700 16px var(--toy); }
body.mode-kid .cycle-symbol { display: none; }
body.mode-kid #palette-family { width: auto; max-width: 100%; }
#kid-entry { box-sizing: border-box; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 30px; border: 0; border-radius: 30px; text-align: center; color: #29243d; background: #fffdf9; font: 16px/1.6 var(--toy); box-shadow: 0 24px 100px #29243d40; }
#kid-entry::backdrop { background: #ece5d6c9; backdrop-filter: blur(12px); }
.kid-rainbow { font-size: 58px; line-height: 1.3; }
#kid-entry .kid-eyebrow { margin: 12px 0; font-size: 11px; font-weight: 700; letter-spacing: .15em; color: #7650c9; }
#kid-entry h1 { margin: 10px 0 18px; font: 700 clamp(32px, 7vw, 44px)/1.05 var(--toy); letter-spacing: -.04em; }
#kid-entry p { margin: 14px 0; }
#kid-start { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; margin: 24px 0 14px; padding: 12px 22px; border: 0; border-radius: 18px; background: #7650c9; color: white; font: 600 17px var(--toy); cursor: pointer; }
#kid-start:disabled { opacity: .55; cursor: default; }
#kid-status { color: #625b74; font-size: 13px; }
#kid-leave { color: #625b74; font-size: 13px; text-underline-offset: 4px; }
#kid-start:focus-visible, #kid-leave:focus-visible { outline: 3px solid #ed8c28; outline-offset: 4px; }
