/* Chosen Armor Academy v7.9.5.8 — illustrated game worlds supplied by the Academy.
   Pure visual/game additions. Existing lesson, login, persistence and bank paths are preserved. */
#caa2-root .caa7958-arcade-welcome{
  border-radius:24px; padding:clamp(18px,2.4vw,29px);
  background:linear-gradient(100deg,rgba(2,24,73,.96),rgba(16,67,142,.79),rgba(19,76,172,.46)),url('arcade-scenes-v7958/royal-garden.webp') center 54% / cover;
  color:white;box-shadow:0 12px 30px rgba(11,40,103,.22),inset 0 2px 0 rgba(255,255,255,.4)
}
#caa2-root .caa7958-arcade-welcome h2,#caa2-root .caa7958-arcade-welcome p,#caa2-root .caa7958-arcade-welcome .caa2-activity-tag{color:white}
#caa2-root .caa2-arcade-game-card{isolation:isolate;position:relative;overflow:hidden;border:2px solid #cfddff!important;border-radius:23px;min-height:252px;background:linear-gradient(150deg,#0c367d,#001e55)!important;color:white!important;box-shadow:0 10px 24px rgba(11,41,91,.30),inset 0 1px 0 #ffffffa8}
#caa2-root .caa2-arcade-game-card .caa7958-action-cover{position:absolute;inset:0;background-size:cover;background-position:center;z-index:-2;transform:scale(1.015);transition:transform .25s ease}
#caa2-root .caa2-arcade-game-card:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#061a46 0%,#12396da6 40%,#06275a13 90%);z-index:-1;pointer-events:none}
#caa2-root .caa2-arcade-game-card:hover .caa7958-action-cover{transform:scale(1.07)}
#caa2-root .caa2-arcade-game-card b,#caa2-root .caa2-arcade-game-card small,#caa2-root .caa2-arcade-game-card .caa2-arcade-card-bottom{color:white!important;text-shadow:0 2px 6px #071634cf}
#caa2-root .caa2-arcade-game-card .caa2-arcade-card-top{position:relative;z-index:1;align-items:flex-start}
#caa2-root .caa2-arcade-game-card .caa2-game-emoji{max-width:100px;filter:drop-shadow(0 6px 8px #061744ae)}
#caa2-root .caa2-arcade-game-card .caa2-level-pill{background:#ffffffec;color:#10376e;font-weight:900;text-shadow:none}
#caa2-root .caa2-arcade-game-card>b{font-size:clamp(21px,2.2vw,29px)}
#caa2-root .caa2-arcade-game-card>small{font-size:13px;line-height:1.3;min-height:48px}
#caa2-root .caa7958-extras .caa2-extras-card{position:relative;isolation:isolate;overflow:hidden;color:#fff!important;background:linear-gradient(0deg,#082451f2,#173a759c 44%,transparent 90%),var(--caa7958-art) center / cover!important;min-height:168px;border:2px solid #e5d4a5;box-shadow:0 9px 21px #244b9660}
#caa2-root .caa7958-extras .caa2-extras-card *{color:#fff!important;text-shadow:0 2px 5px #082b70}
#caa2-root .caa7958-extras .caa2-extras-card>b{background:#0f74e9;border-radius:20px;padding:7px 14px;max-width:max-content;box-shadow:0 3px 10px #001d6377}
/* The learning-game gallery now uses a different illustration per activity. */
#caa2-root .caa7958-subheading{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:17px 0 12px;color:#153d82}
#caa2-root .caa7958-subheading strong{font-size:20px;font-weight:900}
#caa2-root .caa7958-subheading span{font-size:12px;font-weight:750;color:#41659c}
#caa2-root .caa7958-learning-hall{gap:15px}
#caa2-root .caa7958-learning-hall .caa2-lg-card{display:flex;flex-direction:column;min-height:280px;gap:8px;padding:10px 10px 15px;text-align:left;background:linear-gradient(180deg,#fcfdff,#dfecff)!important;border:2px solid #fff;box-shadow:0 9px 24px #214a9142;color:#123e85;overflow:hidden}
#caa2-root .caa7958-learning-hall .caa2-lg-card-emoji{display:block;width:100%!important;height:154px!important;max-width:none!important;margin:0;overflow:hidden;border-radius:17px;border:2px solid #e9f7ff}
#caa2-root .caa7958-learning-hall .caa2-lg-card-emoji>.caa7958-cover-art{display:block;width:100%;height:100%;background-position:center;background-size:cover}
#caa2-root .caa7958-learning-hall .caa2-lg-card-emoji>img{width:100%;height:100%;object-fit:cover;border-radius:15px}
#caa2-root .caa7958-learning-hall .caa2-lg-card-body b{font-size:clamp(16px,1.8vw,23px);line-height:1.13}
#caa2-root .caa7958-learning-hall .caa2-lg-card-body small{font-size:12px;line-height:1.32;color:#31588d}
#caa2-root .caa7958-learning-hall .caa2-lg-card-body em{font-size:10px}
#caa2-root .caa7958-learning-hall .caa2-lg-play{background:linear-gradient(120deg,#087bef,#0246a5);color:#fff;padding:8px 19px;box-shadow:0 4px 10px #0a5bb25c}
#caa2-root .caa7958-learning-hall .caa2-lg-best{margin:0;font-size:10px}
/* Immersive visual stage, always subordinate to text/buttons (functional DOM controls). */
#caa2-root .caa7958-illustrated-game{position:relative;isolation:isolate;width:100%;max-width:none;min-height:490px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:clamp(12px,2vw,26px);border:3px solid #f3d66e;border-radius:25px;overflow:hidden;background:#8dc7fa;color:#133c7a;box-shadow:0 12px 26px #1f4b8647}
#caa2-root .caa7958-illustrated-game:before{content:'';position:absolute;inset:0;z-index:-2;background:var(--caa7958-art) center / cover no-repeat;pointer-events:none}
#caa2-root .caa7958-illustrated-game:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#092f6315,#173e7033 32%,#08265a67);pointer-events:none}
#caa2-root .caa7958-illustrated-game>*:not(.caa7954-stage){position:relative;z-index:1;max-width:100%}
#caa2-root .caa7958-illustrated-game>p.caa2-lg-instruction,#caa2-root .caa7958-illustrated-game>div.caa2-lg-order,#caa2-root .caa7958-illustrated-game>div.caa2-lg-phonic-prompt,#caa2-root .caa7958-illustrated-game>div.caa2-lg-memory-info,#caa2-root .caa7958-illustrated-game>div.caa2-lg-maze-count{
 background:#f8fcfff0;border:2px solid #fff;border-radius:18px;color:#173e79;padding:12px 16px;box-shadow:0 6px 15px #163e8151;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)
}
#caa2-root .caa7958-illustrated-game .caa2-lg-pizza{background-color:#ecb86a;box-shadow:0 7px 19px #1b2f5780;border:10px solid #f4dfaf}
#caa2-root .caa7958-illustrated-game .caa2-lg-ingredients,#caa2-root .caa7958-illustrated-game .caa2-lg-line-actions,#caa2-root .caa7958-illustrated-game .caa2-lg-palette,#caa2-root .caa7958-illustrated-game .caa2-lg-word-slots,#caa2-root .caa7958-illustrated-game .caa2-lg-letter-tray{background:#f5fbfff0;border:2px solid #fff;border-radius:18px;padding:10px;backdrop-filter:blur(8px)}
#caa2-root .caa7958-illustrated-game .caa2-lg-block-pair{width:100%;background:#f4faffec;border:2px solid #fff;border-radius:19px;padding:15px 9px;color:#163d7b}
#caa2-root .caa7958-illustrated-game .caa2-lg-memory-grid{width:min(100%,590px);padding:13px;background:#f3faffb8;border:2px solid #fff;border-radius:20px}
#caa2-root .caa7958-illustrated-game .caa2-lg-memory-grid button{border:3px solid #e9bd52;background:linear-gradient(145deg,#0a428e,#155bcc)!important;color:white;box-shadow:0 4px 10px #102b6477}
#caa2-root .caa7958-illustrated-game .caa2-lg-memory-grid button.flipped,#caa2-root .caa7958-illustrated-game .caa2-lg-memory-grid button.matched{background:linear-gradient(135deg,#fff,#d9fae5)!important;color:#193d81}
#caa2-root .caa7958-illustrated-game .caa2-lg-maze-board{background:#f7fffdd9;border:2px solid #fff;border-radius:22px;padding:10px;box-shadow:0 7px 20px #173b7951}
#caa2-root .caa7958-illustrated-game .caa2-lg-dpad{background:#e8f4ffdb;padding:11px;border-radius:20px}
#caa2-root .caa7958-illustrated-game .caa2-lg-big-check{box-shadow:0 4px 14px #092d7296;border:2px solid #fff8}
#caa2-root .caa7958-illustrated-game:has(.caa7954-stage){min-height:0;padding:0;background:transparent;border:0;box-shadow:none}
#caa2-root .caa7958-illustrated-game:has(.caa7954-stage):before,#caa2-root .caa7958-illustrated-game:has(.caa7954-stage):after{display:none}
#caa2-root .caa7958-illustrated-game .caa7954-stage{width:100%}
/* Functional eight-round science practice; friendly picture choices, no speed pressure. */
#caa2-root .caa7958-science{width:min(100%,640px);display:flex;flex-direction:column;align-items:center;gap:19px}
#caa2-root .caa7958-science-prompt{font-size:clamp(20px,3.2vw,30px);line-height:1.24;font-weight:900;text-align:center;color:#124079;margin:0;padding:18px 22px;background:#f5fbfff1;border:2px solid white;border-radius:21px;box-shadow:0 6px 13px #12386544}
#caa2-root .caa7958-science-answers{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#caa2-root .caa7958-science-answers button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:158px;padding:13px 7px;background:#f8fdfff3;border:3px solid #fff;border-radius:19px;color:#19417c;box-shadow:0 5px 17px #10326763;font:800 15px 'Poppins',sans-serif;cursor:pointer}
#caa2-root .caa7958-science-answers button span{font-size:clamp(43px,6vw,65px)}
#caa2-root .caa7958-science-answers button.selected{border-color:#f8be33;background:#fff1bd;transform:translateY(-3px)}
#caa2-root .caa7958-science-answers button:focus-visible{outline:4px solid #1258c0;outline-offset:4px}
/* Show supplied artwork behind daily-spin experience, retain real wheel's existing mechanics. */
#caa2-root .caa7958-spin-world{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(90deg,#edf8ffef,#fff4ddcf),url('arcade-scenes-v7958/daily-spin.webp') center / cover!important}
#caa2-root .caa7958-spin-world .caa2-wheel-wrap{filter:drop-shadow(0 12px 15px #1429568c)}
#caa2-root .caa7958-spy-scene{background:linear-gradient(0deg,#163a6133,#fff2),url('arcade-scenes-v7958/royal-garden.webp') center / cover!important;border:4px solid #f0d688}
#caa2-root .caa7958-spy-scene .caa2-spy-thing{filter:drop-shadow(0 4px 5px #132b5b9b)}
#caa2-root .caa7958-arcade-canvas{background:var(--caa7958-art) center / cover no-repeat}
#caa2-root .caa7958-home-arcade{background:linear-gradient(0deg,#001b52e9,#06479e56),url('arcade-scenes-v7958/kart-rally.webp') center / cover no-repeat!important}
#caa2-root .caa7957-arcade-showcase{background:linear-gradient(100deg,#051844f7,#16489bd8),url('arcade-scenes-v7958/royal-garden.webp') center / cover!important}
#caa2-root .caa2-arcade-game-card:focus-visible,#caa2-root .caa7958-learning-hall .caa2-lg-card:focus-visible,#caa2-root .caa7958-extras button:focus-visible{outline:4px solid #fbd355;outline-offset:4px}
@media(max-width:720px){
 #caa2-root .caa7958-learning-hall{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #caa2-root .caa7958-learning-hall .caa2-lg-card{min-height:215px;padding:6px 6px 11px;display:flex;flex-direction:column;gap:5px}
 #caa2-root .caa7958-learning-hall .caa2-lg-card-emoji{height:105px!important;grid-row:auto;grid-column:auto}
 #caa2-root .caa7958-learning-hall .caa2-lg-card-body b{font-size:15px}
 #caa2-root .caa7958-learning-hall .caa2-lg-card-body small{font-size:11px}
 #caa2-root .caa7958-learning-hall .caa2-lg-card-body em{display:none}
 #caa2-root .caa7958-learning-hall .caa2-lg-play{font-size:11px;margin-top:auto;padding:7px 11px;grid-column:auto}
 #caa2-root .caa7958-learning-hall .caa2-lg-best{font-size:9px;grid-column:auto}
 #caa2-root .caa7958-illustrated-game{min-height:420px;padding:11px 8px;background-size:cover}
 #caa2-root .caa7958-illustrated-game[data-caa-game="pizza"]:before{background-image:url('arcade-scenes-v7958/pizza-kitchen-mobile.webp')}
 #caa2-root .caa7958-illustrated-game[data-caa-game="phonics"]:before{background-image:url('arcade-scenes-v7958/word-builder-mobile.webp')}
 #caa2-root .caa7958-illustrated-game[data-caa-game="blocks"]:before{background-image:url('arcade-scenes-v7958/nature-meadow-mobile.webp')}
 #caa2-root .caa7958-illustrated-game[data-caa-game="memory"]:before{background-image:url('arcade-scenes-v7958/royal-garden-mobile.webp')}
 #caa2-root .caa7958-illustrated-game[data-caa-game="maze"]:before{background-image:url('arcade-scenes-v7958/garden-maze-mobile.webp')}
 #caa2-root .caa7958-illustrated-game[data-caa-game="science"]:before{background-image:url('arcade-scenes-v7958/nature-meadow-mobile.webp')}
 #caa2-root .caa7958-science-answers{gap:5px}
 #caa2-root .caa7958-science-answers button{min-height:116px;font-size:11px;padding:8px 2px}
 #caa2-root .caa7958-science-answers button span{font-size:35px}
 #caa2-root .caa7958-science-prompt{padding:12px;font-size:21px}
 #caa2-root .caa7958-illustrated-game .caa2-lg-memory-grid{padding:6px;gap:5px}
 #caa2-root .caa7958-spin-world{background-image:linear-gradient(90deg,#e4f4ffb8,#fff5dcc9),url('arcade-scenes-v7958/daily-spin-mobile.webp')!important}
 #caa2-root .caa7958-spy-scene{background-image:linear-gradient(0deg,#163a6122,#fff3),url('arcade-scenes-v7958/royal-garden-mobile.webp')!important}
 #caa2-root .caa2-arcade-game-card{min-height:205px}
}
@media(max-width:420px){#caa2-root .caa7958-learning-hall{grid-template-columns:repeat(2,minmax(0,1fr))}#caa2-root .caa7958-learning-hall .caa2-lg-card-emoji{height:88px!important}#caa2-root .caa7958-learning-hall .caa2-lg-card{min-height:202px}#caa2-root .caa7958-learning-hall .caa2-lg-card-body b{font-size:13px}#caa2-root .caa7958-learning-hall .caa2-lg-card-body small{font-size:10px}}
@media(prefers-reduced-motion:reduce){#caa2-root .caa2-arcade-game-card .caa7958-action-cover{transition:none}}
