/* Games art (2026-11-24): drawn pictures instead of emoji in the kids games and level games.
   CSS only: the engines (games.js, games-kids.js) are not changed. Remove this file's <link> to go back. */
:root{--gart:url(https://media.englishwithsoma.com/assets/gart/ui_speaker.webp)}
/* pictures placed by page data */
.kgi{width:80%;height:80%;object-fit:contain;pointer-events:none;vertical-align:middle;-webkit-user-drag:none;user-select:none}
.kg-thing .kgi{width:74%;height:74%}
.kgi-em{width:1.5em;height:1.5em;object-fit:contain;vertical-align:middle}
.lg-card .em .kgi-em{width:92px;height:92px}
/* speaker buttons */
.kg-spk,.lg-spk{font-size:0!important;background:transparent var(--gart) center/contain no-repeat!important;box-shadow:none!important}
.kg-spk:active,.lg-spk:active{transform:scale(.94)}
/* microphone */
.lg-mic{font-size:0!important}
.lg-mic::before{content:"";display:block;width:64px;height:64px;margin:auto;background:url(https://media.englishwithsoma.com/assets/gart/ui_mic.webp) center/contain no-repeat}
/* memory card back */
.lg-mc:not(.open):not(.done){color:transparent!important;background:#1f9d6a url(https://media.englishwithsoma.com/assets/gart/ui_cardback.webp) center/contain no-repeat}
/* treasure trip: flag, chest, walker */
.lg-tile.start,.lg-tile.end{font-size:0!important}
.lg-tile.start{background:#bdeed7 url(https://media.englishwithsoma.com/assets/gico/flag.webp) center/72% no-repeat}
.lg-tile.end{background:#ffd748 url(https://media.englishwithsoma.com/assets/gart/ui_treasure.webp) center/86% no-repeat}
.lg-tile{overflow:visible!important}
.lg-pawn{font-size:0!important;width:110%;height:110%;top:-62%!important;left:-5%;background:url(https://media.englishwithsoma.com/assets/gart/ui_kid.webp) center/contain no-repeat;z-index:2}
/* save the balloon: the child */
.lg-kid{font-size:0!important;width:76px;height:76px;margin:-14px auto 0;background:url(https://media.englishwithsoma.com/assets/gart/ui_kid.webp) center/contain no-repeat}
/* whack the mole: toy hammer as the pointer picture beside the holes */
.lg-holes{position:relative;margin-top:52px!important}
.lg-holes::after{content:"";position:absolute;top:-52px;left:50%;margin-left:-25px;width:50px;height:50px;background:url(https://media.englishwithsoma.com/assets/gart/ui_hammer.webp) center/contain no-repeat;transform:rotate(-20deg);pointer-events:none}
/* kids cue icons (needs :has; older phones keep the emoji) */
.kg:has(.kg-sky) .kg-cue .kg-ear,.kg:has(.kg-things) .kg-cue .kg-ear,.kg-cue:has(.kg-arrow) .kg-ear{font-size:0;display:inline-block;width:52px;height:52px;vertical-align:middle;background:center/contain no-repeat}
.kg:has(.kg-sky) .kg-cue .kg-ear{background-image:url(https://media.englishwithsoma.com/assets/gart/ui_ear.webp)}
.kg:has(.kg-things) .kg-cue .kg-ear{background-image:url(https://media.englishwithsoma.com/assets/gart/ui_finger.webp)}
.kg-cue:has(.kg-arrow) .kg-ear{background-image:url(https://media.englishwithsoma.com/assets/gart/ui_frame.webp)}
/* result-screen navigation (games-nav.js) */
.lg-nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:12px}
.lg-nav .lg-btn{min-height:48px}
.lg-nav .lg-next{background:#2e9e4f!important}
.lg-nav .lg-nextlv{background:#c2410c!important}
.lg-nav .lg-alllv{background:#1f2a44!important}
