/* Scoped to the Caboux-Tchoux games module; preserves existing site header/footer. */
.ctj-games-page #left-area{width:100%!important;float:none!important;padding:0!important}
.ctj-games-page #sidebar{display:none!important}
.ctj-games-page #main-content .container:before{display:none!important}
.ctj-games-page #main-content .container{width:95%!important;max-width:1500px!important;padding-top:32px!important}
.ctj-games-page #main-content #left-area .post>.entry-content{padding-top:0}
.ctj-root{--ctj-ink:#292443;--ctj-muted:#6c6581;--ctj-pink:#f74388;--ctj-violet:#795ce0;--ctj-blue:#32a8e8;--ctj-gold:#ffca4d;--ctj-green:#5acb9c;font-family:'Nunito','Trebuchet MS',Arial,sans-serif;color:var(--ctj-ink);box-sizing:border-box;width:100%;max-width:1450px;margin:0 auto 36px;text-align:left;line-height:1.45}
.ctj-root *{box-sizing:border-box}
.ctj-root button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;margin:0;appearance:none;-webkit-appearance:none;box-shadow:none;text-transform:none;letter-spacing:normal;font-size:inherit;line-height:1.2;font-family:inherit;cursor:pointer;touch-action:manipulation;transition:transform .17s,box-shadow .17s,background .17s,filter .17s}
.ctj-root button:hover{transform:translateY(-2px)}
.ctj-root button:focus-visible{outline:4px solid #2f7cf5;outline-offset:4px}
.ctj-root button:disabled{cursor:default}
.ctj-root button:disabled:hover{transform:none}
.ctj-root p,.ctj-root h1,.ctj-root h2,.ctj-root h3{padding:0;margin:0;color:inherit;line-height:1.23}
.ctj-root h1{font-size:clamp(31px,3.25vw,56px);font-weight:1000;letter-spacing:-.035em}
.ctj-root h2{font-size:clamp(24px,2.5vw,35px);font-weight:1000;letter-spacing:-.025em}
.ctj-root p{font-size:clamp(15px,1.2vw,18px);line-height:1.55}
.ctj-root img{max-width:100%;height:auto;border:0;box-shadow:none!important}
.ctj-shell{background:linear-gradient(155deg,#fffdfa 0%,#fff7f0 32%,#f7f3ff 90%);border:1px solid #f0e8f7;border-radius:30px;overflow:hidden;box-shadow:0 18px 70px rgba(91,57,123,.11)}
.ctj-top{padding:17px clamp(16px,3.8vw,48px);display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;box-shadow:0 4px 20px #6547880b}
.ctj-brand{display:flex;align-items:center;gap:11px;color:#6540c4;font-size:19px;font-weight:1000;letter-spacing:-.025em}
.ctj-brand small{font-size:10px;display:block;letter-spacing:.2em;font-weight:900;color:#9b7bb8}
.ctj-logo-mark{width:39px;height:39px;border-radius:14px;background:#8359db;color:white;display:grid;place-items:center;font-size:25px;transform:rotate(-8deg)}
.ctj-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.ctj-score{display:inline-flex;gap:6px;align-items:center;background:#fff5db;border:1px solid #ffebb0;color:#6c4a19;padding:9px 12px;border-radius:30px;font-size:14px;font-weight:900;white-space:nowrap}
.ctj-sound{background:#f6f1fc!important;color:#6847a2!important;border-radius:30px!important;padding:10px 15px!important;font-size:14px!important;font-weight:900!important}
.ctj-hero{display:grid;grid-template-columns:1.03fr 1fr;align-items:center;gap:12px;padding:clamp(23px,3.5vw,53px) clamp(18px,4vw,55px);background:radial-gradient(circle at 12% 23%,#ffe8f3 0,transparent 39%),radial-gradient(circle at 82% 20%,#ddecff 0,transparent 47%),#fff5e7;overflow:hidden;min-height:330px}
.ctj-hero-copy{position:relative;z-index:2}
.ctj-kicker{display:inline-block;background:#fff;padding:8px 15px;border-radius:40px;color:#db3379;font-size:12px;font-weight:1000;letter-spacing:.07em;margin-bottom:20px;box-shadow:0 3px 14px #92517a20}
.ctj-hero h1{color:#6739bb;max-width:650px}
.ctj-hero p{margin-top:17px;color:#5b5371;max-width:510px;font-size:clamp(16px,1.55vw,21px);font-weight:700}
.ctj-pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:26px}
.ctj-pills span{display:inline-block;background:#ffffffd9;border:1px solid white;border-radius:40px;padding:9px 12px;color:#584871;font-weight:900;font-size:13px}
.ctj-hero-art{position:relative;display:flex;justify-content:center;align-items:center;min-height:210px}
.ctj-tribu{width:100%;max-height:305px!important;object-fit:contain;filter:drop-shadow(0 16px 13px #47245322)}
.ctj-games{padding:39px clamp(18px,4vw,55px) 37px}
.ctj-section-heading{text-align:center;margin-bottom:25px}
.ctj-section-heading h2{color:#4f3d78}
.ctj-section-heading p{margin-top:7px;color:var(--ctj-muted)}
.ctj-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ctj-gamecard{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;min-height:230px;padding:22px!important;background:#fff!important;color:var(--ctj-ink)!important;border:2px solid #f0eafa!important;border-radius:23px!important;box-shadow:0 8px 18px #2e24400c!important}
.ctj-gamecard:hover{box-shadow:0 15px 27px #6547881f!important;transform:translateY(-4px)!important}
.ctj-card-icon{display:grid;place-items:center;width:61px;height:61px;border-radius:18px;background:#fee7f2;font-size:32px;margin-bottom:11px}
.ctj-card-title{font-size:clamp(18px,1.65vw,22px);font-weight:1000;color:#40335d}
.ctj-card-desc{font-size:14px;color:#6b6480;margin:9px 0 20px;line-height:1.5}
.ctj-card-meta{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;width:100%;margin-top:auto;font-size:12px;color:#827697;font-weight:800}
.ctj-card-play{font-size:13px;color:#8041bd;font-weight:1000;background:#f8f1ff;padding:8px 12px;border-radius:18px}
.ctj-tone-pink .ctj-card-icon,.ctj-tone-pink.ctj-intro{background:#ffe6f2}
.ctj-tone-violet .ctj-card-icon,.ctj-tone-violet.ctj-intro{background:#ede7ff}
.ctj-tone-blue .ctj-card-icon,.ctj-tone-blue.ctj-intro{background:#e1f4ff}
.ctj-tone-orange .ctj-card-icon,.ctj-tone-orange.ctj-intro{background:#fff1d6}
.ctj-tone-green .ctj-card-icon,.ctj-tone-green.ctj-intro{background:#e0f8eb}
.ctj-encouragement{margin:0 clamp(18px,4vw,55px) 38px;padding:15px 24px;border-radius:20px;background:#f1ebff;display:flex;gap:15px;align-items:center}
.ctj-encouragement-img{height:88px!important;width:78px!important;object-fit:contain}
.ctj-encouragement strong{font-size:20px;color:#643cb0}
.ctj-encouragement p{font-size:14px;color:#655b82;margin-top:4px}
.ctj-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:white;border-top:1px solid #efeaf4;color:#9b8ca4;font-size:12px;font-weight:700;padding:15px clamp(18px,4vw,55px)}
.ctj-gamebar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:20px clamp(18px,4vw,55px);border-bottom:1px solid #efe4f1;background:#fff}
.ctj-back,.ctj-secondary{background:#f4ebff!important;color:#6742a3!important;padding:12px 17px!important;border-radius:17px!important;font-weight:900!important;font-size:14px!important}
.ctj-gamebar-title{font-size:17px;font-weight:1000;color:#563487}
.ctj-gamebar-hint{font-size:13px;font-weight:900;color:#a49ab1}
.ctj-intro{max-width:830px;margin:36px auto;padding:45px 30px 15px;border-radius:30px;text-align:center;position:relative;overflow:hidden;min-height:390px}
.ctj-intro-icon{font-size:76px;margin:0 auto 20px}
.ctj-intro h2{color:#59408c}
.ctj-intro p{font-size:18px;color:#675a7e;margin:14px auto 18px;max-width:500px}
.ctj-skill{display:block;font-size:14px;color:#80718f;font-weight:900;margin-bottom:26px}
.ctj-primary{background:#f4458a!important;color:#fff!important;border-radius:20px!important;padding:15px 25px!important;box-shadow:0 7px 0 #ce296c!important;font-weight:1000!important;font-size:17px!important;min-height:55px;text-align:center}
.ctj-primary:hover{background:#df3077!important}
.ctj-primary-alt{background:#7656ce!important;box-shadow:0 7px 0 #5a39b0!important}
.ctj-primary-alt:hover{background:#6543c0!important}
.ctj-primary small{display:block;font-size:12px;font-weight:700;opacity:.88}
.ctj-levels{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.ctj-intro-mascot{height:160px!important;max-width:135px!important;object-fit:contain;display:block;margin:28px auto -28px;filter:drop-shadow(0 8px 2px #6f439c12)}
.ctj-board-intro{text-align:center;padding:29px 16px 17px}
.ctj-board-intro h2{color:#61419e}
.ctj-board-intro p{margin:9px auto 0;color:#81728a;font-weight:700}
.ctj-memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(100% - 30px,620px);margin:15px auto 18px}
.ctj-memory-card{position:relative;aspect-ratio:1/1.03;border-radius:16px!important;background:linear-gradient(145deg,#905adc,#6636c6)!important;border:5px solid white!important;box-shadow:0 6px 14px #5f37a02a!important;min-width:0;overflow:hidden;display:block!important;padding:0!important}
.ctj-card-back{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:clamp(35px,6vw,61px);font-weight:1000;text-shadow:0 5px #501b98}
.ctj-card-front{display:none;position:absolute;inset:0;background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:4px}
.ctj-is-open .ctj-card-front{display:flex}
.ctj-is-open .ctj-card-back{display:none}
.ctj-is-matched{border-color:#62d8a1!important;box-shadow:0 0 0 2px #64d8a1!important}
.ctj-memory-picture{height:75%!important;width:98%!important;object-fit:contain}
.ctj-memory-emoji{font-size:clamp(29px,5vw,57px);line-height:1.2}
.ctj-card-front small{font-size:clamp(9px,1.7vw,12px);font-weight:1000;color:#624890;text-align:center;line-height:1.1}
.ctj-status-row{display:flex;justify-content:center;gap:24px;margin:0 10px;font-weight:900;color:#675287;font-size:14px}
.ctj-feedback{text-align:center;min-height:30px;margin:15px auto 26px!important;color:#816e9b!important;font-weight:900;font-size:16px!important;padding:0 10px!important}
.ctj-feedback.ctj-good{color:#239a70!important}
.ctj-puzzle-layout{display:flex;align-items:center;justify-content:center;gap:30px;flex-wrap:wrap;padding:16px 20px 24px}
.ctj-puzzle-board{display:grid;gap:3px;background:#6d44ae;padding:6px;width:min(88vw,380px);aspect-ratio:1799/2048;border-radius:16px;box-shadow:0 10px 30px #4f2d8539;touch-action:manipulation}
.ctj-puzzle-piece{min-width:0;min-height:0;display:block!important;background-repeat:no-repeat!important;border:2px solid #fff9!important;border-radius:6px!important;padding:0!important;box-shadow:none!important;aspect-ratio:auto}
.ctj-puzzle-piece:hover{filter:brightness(1.07)}
.ctj-puzzle-piece.ctj-selected{border:5px solid #ffe353!important;box-shadow:inset 0 0 0 2px #6a4aa2!important;filter:brightness(1.08)}
.ctj-puzzle-aside{width:185px;display:flex;flex-direction:column;gap:13px;text-align:center;align-items:center;background:#fff;border:2px dashed #d8c9ea;border-radius:20px;padding:15px}
.ctj-puzzle-aside strong{color:#6640a6;font-size:15px}
.ctj-puzzle-guide{max-width:155px!important;max-height:165px!important;object-fit:contain}
.ctj-puzzle-aside p{font-size:13px;color:#766c87}
.ctj-stars-area{position:relative;width:min(calc(100% - 32px),870px);height:clamp(300px,44vw,440px);margin:20px auto 0;border-radius:30px;overflow:hidden;background:linear-gradient(180deg,#807fe3 0%,#78bbf2 58%,#d5faff 100%);box-shadow:inset 0 -8px 18px #4ca98a22,0 10px 30px #5084bd2b}
.ctj-stars-area:before,.ctj-stars-area:after{content:'';position:absolute;width:105px;height:47px;top:20%;left:13%;border-radius:80px;background:#fff9;box-shadow:34px -14px 0 -3px #fff9;filter:blur(1px)}
.ctj-stars-area:after{left:auto;right:10%;top:32%;transform:scale(.8)}
.ctj-stars-sky{position:absolute;top:8%;left:0;width:100%;text-align:center;word-spacing:30px;opacity:.75;color:#fffbd2;font-size:20px}
.ctj-stars-hill{position:absolute;bottom:-45px;left:-5%;right:-5%;height:130px;background:#83dcad;border-radius:50% 50% 0 0;z-index:0}
.ctj-stars-mascot{position:absolute;left:2%;bottom:5px;height:45%!important;max-width:27%!important;object-fit:contain;z-index:1;filter:drop-shadow(0 8px 2px #37588621)}
.ctj-catch-star{position:absolute;transform:translate(-50%,-50%)!important;width:100px;height:100px;display:grid!important;place-items:center;font-size:72px!important;border-radius:50%!important;background:#ffffff24!important;text-shadow:0 5px 12px #d17c285c;z-index:2;animation:ctj-bob 1.9s ease-in-out infinite}
.ctj-catch-star:hover{transform:translate(-50%,-50%) scale(1.11)!important}
.ctj-stars-counter{position:absolute;right:17px;bottom:17px;padding:10px 17px;border-radius:30px;background:#fff;color:#7453a0;font-weight:1000;z-index:2}
.ctj-colors-board{width:min(100% - 28px,700px);margin:18px auto 15px;display:flex;flex-direction:column;align-items:center;gap:32px}
.ctj-balloon{--balloon:#ef526b;width:130px;height:145px;margin:3px auto 20px;border-radius:49% 49% 47% 47%;background:radial-gradient(circle at 35% 20%,#ffffff91 0,#ffffff00 32%),var(--balloon);box-shadow:inset -14px -10px 16px #2b213d1a,0 11px 20px #342b4d1e;position:relative}
.ctj-balloon:after{content:'';position:absolute;top:100%;left:50%;width:3px;height:56px;background:#9e8daa;transform:translateX(-50%)}
.ctj-balloon-knot{position:absolute;left:calc(50% - 12px);bottom:-14px;border-left:12px solid transparent;border-right:12px solid transparent;border-bottom:20px solid var(--balloon)}
.ctj-colors-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ctj-color-btn{display:flex!important;flex-direction:column!important;gap:10px!important;padding:15px 7px!important;background:#fff!important;border:2px solid #eadff3!important;border-radius:20px!important;min-height:113px;box-shadow:0 5px 12px #4c2c7311!important;color:#594574!important}
.ctj-color-btn:hover{border-color:var(--ctj-choice)!important;background:#fffcff!important}
.ctj-color-dot{width:47px;height:47px;background:var(--ctj-choice);border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px var(--ctj-choice)}
.ctj-color-btn strong{font-weight:1000;font-size:17px;text-transform:capitalize}
.ctj-speak{background:#fff!important;border:1px solid #d3c5e8!important;border-radius:20px!important;padding:8px 14px!important;color:#7151a2!important;font-size:13px!important;font-weight:900!important;margin-top:13px!important}
.ctj-odd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px auto 30px;width:min(calc(100% - 40px),490px)}
.ctj-odd-btn{height:170px;background:#fff!important;border:3px solid #ecdef8!important;border-radius:25px!important;box-shadow:0 9px 19px #4b287e16!important}
.ctj-odd-btn:hover{background:#f8efff!important;border-color:#ae8de1!important}
.ctj-odd-btn span{font-size:clamp(60px,8vw,87px)}
.ctj-finish{text-align:center;padding:34px 18px 45px;max-width:700px;margin:auto;display:flex;flex-direction:column;align-items:center}
.ctj-confetti{font-size:30px;margin:0 auto 6px;letter-spacing:11px}
.ctj-finish-mascot{max-width:185px!important;max-height:230px!important;object-fit:contain;margin:0 auto 9px}
.ctj-finish h2{color:#7545bc}
.ctj-finish p{color:#75668c;margin-top:14px}
.ctj-win-stars{font-size:42px;letter-spacing:7px;margin-top:18px;filter:drop-shadow(0 4px 4px #e4b4574d)}
.ctj-tiny{font-size:14px!important}
.ctj-actions{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-top:30px}
@keyframes ctj-bob{0%,100%{translate:0 -5px}50%{translate:0 5px}}
@media(max-width:980px){.ctj-hero{grid-template-columns:1fr;gap:12px;text-align:center}.ctj-hero p{margin-left:auto;margin-right:auto}.ctj-pills{justify-content:center}.ctj-tribu{max-height:230px!important}.ctj-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){
 .ctj-shell{border-radius:17px}.ctj-top{padding:12px}.ctj-brand{font-size:14px;gap:6px}.ctj-brand small{font-size:8px}.ctj-logo-mark{width:33px;height:33px;font-size:21px}
 .ctj-score{padding:7px 9px;font-size:12px}.ctj-sound{padding:8px!important;font-size:17px!important}.ctj-sound span{display:none}
 .ctj-hero{padding:24px 15px 13px;min-height:0}.ctj-kicker{font-size:10px;margin-bottom:12px}.ctj-hero h1{font-size:31px}.ctj-hero p{font-size:16px;margin-top:11px}.ctj-pills{margin-top:17px;gap:5px}.ctj-pills span{font-size:10px;padding:6px 8px}.ctj-hero-art{min-height:140px}.ctj-tribu{max-height:200px!important}
 .ctj-games{padding:27px 12px}.ctj-section-heading{margin-bottom:16px}.ctj-section-heading h2{font-size:25px}.ctj-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ctj-gamecard{min-height:218px;padding:13px!important;border-radius:18px!important}.ctj-card-icon{width:49px;height:49px;font-size:28px;border-radius:14px}.ctj-card-title{font-size:17px}.ctj-card-desc{font-size:12px;margin:8px 0 12px}.ctj-card-meta{font-size:10px}.ctj-card-play{padding:6px 8px;font-size:11px}
 .ctj-encouragement{margin:0 12px 18px;padding:10px}.ctj-encouragement-img{height:77px!important;width:60px!important}.ctj-encouragement strong{font-size:16px}.ctj-encouragement p{font-size:12px}
 .ctj-footer{padding:13px;gap:6px;font-size:11px}.ctj-gamebar{padding:13px 10px;gap:8px}.ctj-gamebar-title{font-size:14px}.ctj-gamebar-hint{font-size:12px}.ctj-back{font-size:12px!important;padding:9px!important}
 .ctj-intro{margin:17px 10px;padding:27px 13px 12px;min-height:340px}.ctj-intro-icon{font-size:61px}.ctj-intro p{font-size:16px}.ctj-primary{font-size:14px!important;padding:13px 18px!important;min-height:53px}.ctj-levels{gap:9px}
 .ctj-memory-grid{gap:5px;width:calc(100% - 14px)}.ctj-memory-card{border-width:2px!important;border-radius:10px!important}.ctj-memory-emoji{font-size:35px}.ctj-card-front small{font-size:9px}.ctj-puzzle-layout{padding:10px 8px}.ctj-puzzle-board{width:min(75vw,335px)}.ctj-puzzle-aside{width:min(90%,300px);flex-direction:row;text-align:left;justify-content:center;gap:10px;padding:9px}.ctj-puzzle-guide{width:55px!important;max-height:60px!important}.ctj-puzzle-aside p{display:none}
 .ctj-stars-area{height:350px}.ctj-stars-mascot{max-width:25%!important;height:32%!important}.ctj-catch-star{width:85px;height:85px;font-size:62px!important}
 .ctj-colors-grid{gap:8px}.ctj-color-btn{min-height:95px;border-radius:13px!important;padding:10px 5px!important}.ctj-color-dot{width:38px;height:38px}.ctj-color-btn strong{font-size:14px}.ctj-odd-grid{gap:10px}.ctj-odd-btn{height:140px;border-radius:16px!important}
}
@media(max-width:360px){.ctj-game-grid{grid-template-columns:1fr}.ctj-gamecard{min-height:160px}.ctj-memory-emoji{font-size:28px}.ctj-card-front small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.ctj-root *{animation:none!important;transition:none!important}.ctj-root button:hover{transform:none!important}}
/* V2 — twelve games, playful progress, large touch targets and accessibility. */
.ctj-root{--ctj-radius:24px}
.ctj-wins{display:inline-flex;gap:5px;align-items:center;border-radius:30px;background:#edf9f1;color:#477653;padding:8px 12px;font-weight:1000;font-size:14px;white-space:nowrap}
.ctj-done{font-size:11px;font-weight:900;color:#167d5b;background:#e6faef;border-radius:10px;padding:4px 8px;margin-top:6px}
.ctj-filters{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.ctj-filter{background:#fff!important;border:2px solid #e6dbee!important;border-radius:30px!important;padding:11px 17px!important;color:#775f90!important;font-weight:900!important;font-size:13px!important;min-height:45px}
.ctj-filter.ctj-active{background:#764bd0!important;border-color:#764bd0!important;color:#fff!important;box-shadow:0 4px 0 #5734a3!important}
.ctj-reset{display:inline!important;background:transparent!important;color:#7655ab!important;text-decoration:underline!important;text-underline-offset:2px;border:0!important;font-size:12px!important;font-weight:800!important;padding:7px 0!important;text-align:left!important;margin-top:6px!important}
.ctj-root .ctj-tone-pink .ctj-card-icon{background:#ffe6f2}
.ctj-gamecard{position:relative;isolation:isolate}
.ctj-gamecard:after{content:'✦';position:absolute;top:14px;right:16px;font-size:19px;color:#e9dafa;pointer-events:none}
.ctj-gamecard:hover .ctj-card-icon{animation:ctj-icon-pop .4s ease}
.ctj-root .ctj-game-grid{gap:16px}
.ctj-root .ctj-card-title{line-height:1.18}
.ctj-root .ctj-card-desc{line-height:1.43}
.ctj-root .ctj-hero h1{text-wrap:balance}
.ctj-celebrate{font-size:26px;letter-spacing:15px;animation:ctj-bounce 2s ease-in-out infinite;margin-top:14px}
.ctj-finish{background:radial-gradient(circle at 40% 26%,#fff5d7 0,transparent 44%)}
.ctj-root .ctj-feedback{max-width:94%}
/* Memory garden hide-and-seek */
.ctj-door-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;width:min(100% - 32px,760px);margin:24px auto 20px}
.ctj-door{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:relative;min-height:185px;border:5px solid #fff!important;border-radius:28px!important;overflow:hidden;background:linear-gradient(155deg,#dcf9e5,#9feac1)!important;box-shadow:0 8px 0 #74c394,0 12px 22px #245b3515!important}
.ctj-door .ctj-door-content{font-size:79px;display:grid;place-items:center;min-height:115px}
.ctj-door.ctj-door-shown{background:linear-gradient(155deg,#fff0fa,#f9c4e2)!important;box-shadow:0 8px 0 #e9abd2!important}
.ctj-door-mascot{height:128px!important;width:140px!important;object-fit:contain}
.ctj-door .ctj-door-label{display:grid;place-items:center;position:absolute;right:11px;bottom:9px;font-weight:1000;color:#315d4c;background:#fff;border-radius:50%;width:29px;height:29px;font-size:15px}
/* Simon / rhythm */
.ctj-rhythm-board{width:min(calc(100% - 26px),670px);padding:25px 20px 24px;border:3px solid #ebdefc;border-radius:34px;background:linear-gradient(140deg,#fff,#faf2ff);box-shadow:0 12px 26px #5a399017;margin:20px auto}
.ctj-rhythm-message{text-align:center;font-weight:1000;color:#7544bb;font-size:21px;margin-bottom:21px}
.ctj-rhythm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:480px;margin:0 auto}
.ctj-rhythm-pad{display:grid!important;place-items:center!important;min-height:145px;border-radius:30px!important;background:var(--ctj-pad)!important;color:white!important;font-size:59px!important;border:6px solid #ffffffa0!important;box-shadow:0 9px 0 color-mix(in srgb,var(--ctj-pad),black 20%)!important;opacity:.85}
.ctj-rhythm-pad.ctj-pad-lit{opacity:1!important;transform:scale(1.075)!important;filter:brightness(1.28)!important;box-shadow:0 0 0 8px #ffe066,0 0 25px #ffc83d!important}
.ctj-rhythm-pad:disabled{cursor:default;filter:grayscale(.05)}
.ctj-rhythm-dots{display:flex;justify-content:center;gap:9px;margin:22px auto 0;color:#d9cee7;font-size:25px}
.ctj-rhythm-dots .ctj-dot-done{color:#fbb847}
.ctj-rhythm-tools{text-align:center;margin:14px 0}
/* Maze */
.ctj-maze-layout{display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap;margin:14px auto;padding:0 12px}
.ctj-maze-grid{width:min(calc(100vw - 40px),490px);aspect-ratio:1;display:grid;grid-template-columns:repeat(var(--maze-cols),minmax(0,1fr));padding:8px;border:7px solid #8d6bd0;border-radius:20px;background:#d8fbe8;box-shadow:0 10px 27px #45398224}
.ctj-maze-cell{display:grid;place-items:center;font-size:clamp(16px,3.3vw,35px);min-width:0;min-height:0;line-height:1;border-radius:5px}
.ctj-maze-wall{background:repeating-linear-gradient(45deg,#65bd83 0 7px,#69c788 7px 13px);box-shadow:inset 0 3px 0 #ffffff33}
.ctj-maze-path{background:#fff8df;border:1px solid #e4dab8}
.ctj-maze-exit{background:#e8efff}
.ctj-maze-hero{max-height:98%!important;max-width:98%!important;object-fit:contain;filter:drop-shadow(0 1px 2px #543a7522)}
.ctj-maze-side{display:flex;flex-direction:column;gap:19px;align-items:center;max-width:220px;text-align:center;color:#725993}
.ctj-maze-count{background:#fff;box-shadow:0 3px 13px #6135a01f;border-radius:20px;padding:10px 22px;font-size:22px;font-weight:1000}
.ctj-maze-side small{font-size:12px;font-weight:700;max-width:180px}
.ctj-dpad{display:grid;grid-template-columns:repeat(3,64px);grid-template-rows:repeat(3,62px);gap:5px}
.ctj-dpad button{min-width:0;min-height:0;background:#f1e5ff!important;border-radius:18px!important;border:2px solid #dec7fa!important;font-size:30px!important;box-shadow:0 5px 0 #d5b9f7!important}
.ctj-up{grid-area:1 / 2}.ctj-left{grid-area:2 / 1}.ctj-down{grid-area:2 / 2}.ctj-right{grid-area:2 / 3}
/* Counting */
.ctj-counting-board{width:min(calc(100% - 28px),720px);background:linear-gradient(140deg,#fff4cc,#fffdf3);padding:30px 18px;border-radius:34px;border:3px solid #ffe8a5;margin:18px auto 22px;text-align:center}
.ctj-counting-items{display:flex;justify-content:center;align-items:center;align-content:center;gap:10px;flex-wrap:wrap;min-height:180px;max-width:480px;margin:0 auto 28px}
.ctj-counting-items span{display:grid;place-items:center;width:77px;height:80px;border-radius:20px;background:#fff8!important;font-size:58px;box-shadow:0 4px 8px #9e814c22;animation:ctj-item-wiggle 1.1s ease-in-out both}
.ctj-counting-options{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.ctj-counting-options button{width:106px;height:94px;border-radius:24px!important;background:#fff!important;color:#6f3ba7!important;font-size:45px!important;font-weight:1000!important;border:3px solid #dfcbee!important;box-shadow:0 6px 0 #ddc3ed!important}
/* Shapes */
.ctj-shapes-board{width:min(calc(100% - 30px),800px);margin:20px auto 30px;text-align:center}
.ctj-shape-prompt{display:grid;place-items:center;min-height:206px;background:linear-gradient(140deg,#f4edff,#fff);border:3px dashed #d2b5fc;border-radius:30px}
.ctj-shape{display:block;width:67px;height:67px;background:#8965d9;flex:none;filter:drop-shadow(0 4px 2px #3e286425)}
.ctj-shape-large{width:137px;height:137px;background:#fb5a9d}
.ctj-shape-rond{border-radius:50%}
.ctj-shape-carre{border-radius:10px}
.ctj-shape-triangle{clip-path:polygon(50% 0%,100% 100%,0 100%)}
.ctj-shape-coeur{clip-path:polygon(50% 95%,7% 56%,0% 30%,5% 12%,20% 0,37% 2%,50% 18%,63% 2%,80% 0,95% 12%,100% 30%,93% 56%)}
.ctj-shape-etoile{clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.ctj-shapes-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:19px auto 0}
.ctj-shapes-options button{display:flex!important;flex-direction:column!important;min-height:135px;border-radius:22px!important;background:white!important;border:3px solid #e2d1f4!important;color:#634a8d!important;padding:14px 4px!important;box-shadow:0 6px 0 #e4d6f2!important}
.ctj-shapes-options strong{font-size:15px;font-weight:1000}
/* Sorting */
.ctj-sort-board{width:min(calc(100% - 30px),720px);margin:22px auto 25px;text-align:center}
.ctj-sort-item{display:grid;place-items:center;background:linear-gradient(140deg,#fff,#fff1e0);border:3px solid #ffe4bf;border-radius:26px;font-size:115px;min-height:200px;animation:ctj-bounce 1.8s ease-in-out infinite}
.ctj-sort-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.ctj-sort-choices button{display:flex!important;flex-direction:column!important;gap:10px!important;border:3px solid #dfd1ee!important;border-radius:28px!important;background:#fff!important;color:#65488b!important;min-height:158px;box-shadow:0 7px 0 #e3d5f0!important}
.ctj-sort-choices span{font-size:54px}.ctj-sort-choices strong{font-size:20px;font-weight:1000}
/* Patterns */
.ctj-pattern-board{width:min(calc(100% - 26px),930px);background:linear-gradient(135deg,#eef2ff,#fbf8ff);margin:20px auto;border:3px solid #e5dfff;border-radius:33px;padding:36px 18px}
.ctj-pattern-row{display:flex;flex-wrap:nowrap;justify-content:center;gap:9px;align-items:center;margin-bottom:34px}
.ctj-pattern-row span{display:grid;place-items:center;font-size:clamp(25px,4.2vw,58px);background:#fff;box-shadow:0 5px 10px #54388516;border-radius:19px;flex:1 1 0;min-width:0;height:94px;max-width:94px}
.ctj-pattern-row .ctj-pattern-missing{border:3px dashed #a784df;color:#7656c7;background:#f8ebff}
.ctj-pattern-options{display:flex;justify-content:center;gap:19px;flex-wrap:wrap}
.ctj-pattern-options button{width:120px;height:120px;background:#fff!important;border:3px solid #d8c6ef!important;border-radius:25px!important;font-size:65px!important;box-shadow:0 7px 0 #dfd3f0!important}
@keyframes ctj-icon-pop{50%{transform:scale(1.13) rotate(-7deg)}}
@keyframes ctj-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes ctj-item-wiggle{0%{transform:scale(.84);opacity:.7}100%{transform:scale(1);opacity:1}}
@media(max-width:840px){.ctj-maze-side{max-width:none}.ctj-dpad{grid-template-columns:repeat(3,57px);grid-template-rows:repeat(3,54px)}.ctj-root .ctj-game-grid{gap:11px}}
@media(max-width:660px){
 .ctj-wins{font-size:12px;padding:7px}.ctj-filter{font-size:12px!important;padding:9px 12px!important;min-height:40px}
 .ctj-filters{gap:7px;margin:0 0 18px}.ctj-root .ctj-game-grid{gap:9px}.ctj-gamecard{min-height:235px}
 .ctj-done{font-size:10px}.ctj-celebrate{letter-spacing:4px;font-size:22px}
 .ctj-door-row{gap:8px}.ctj-door{min-height:126px;border-width:3px!important;border-radius:18px!important}.ctj-door .ctj-door-content{min-height:80px;font-size:53px}.ctj-door-mascot{max-height:80px!important;max-width:100px!important}
 .ctj-rhythm-board{padding:17px 14px}.ctj-rhythm-message{font-size:18px}.ctj-rhythm-grid{gap:12px}.ctj-rhythm-pad{min-height:115px;border-radius:22px!important;font-size:47px!important}
 .ctj-maze-grid{width:min(calc(100vw - 44px),400px);padding:4px;border-width:5px}.ctj-maze-cell{font-size:clamp(14px,4vw,24px)}.ctj-maze-layout{gap:12px}
 .ctj-maze-side{flex-direction:column;gap:9px}.ctj-maze-count{font-size:17px;padding:6px 13px}.ctj-maze-side small{display:none}.ctj-dpad{grid-template-columns:repeat(3,55px);grid-template-rows:repeat(2,54px)}.ctj-dpad button{font-size:24px!important}.ctj-up{grid-area:1 / 2}.ctj-left{grid-area:2 / 1}.ctj-down{grid-area:2 / 2}.ctj-right{grid-area:2 / 3}
 .ctj-counting-board{padding:20px 12px}.ctj-counting-items{min-height:120px;gap:5px}.ctj-counting-items span{width:51px;height:55px;font-size:39px;border-radius:11px}.ctj-counting-options button{width:80px;height:80px;font-size:34px!important;border-radius:19px!important}
 .ctj-shape-prompt{min-height:155px}.ctj-shape-large{height:98px;width:98px}.ctj-shapes-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ctj-shapes-options button{min-height:105px}.ctj-shape{height:55px;width:55px}.ctj-shape-large{height:98px;width:98px}.ctj-shapes-options strong{font-size:13px}
 .ctj-sort-item{min-height:130px;font-size:77px}.ctj-sort-choices{gap:9px}.ctj-sort-choices button{min-height:125px}.ctj-sort-choices span{font-size:36px}.ctj-sort-choices strong{font-size:16px}
 .ctj-pattern-board{padding:17px 8px}.ctj-pattern-row{gap:4px;margin-bottom:22px}.ctj-pattern-row span{height:55px;font-size:clamp(19px,6vw,35px);border-radius:9px}.ctj-pattern-options button{width:85px;height:85px;font-size:43px!important;border-radius:19px!important}
}
@media(max-width:370px){.ctj-top{gap:6px}.ctj-toolbar{gap:4px}.ctj-brand{font-size:12px}.ctj-wins{padding:6px}.ctj-score{font-size:10px}.ctj-door-row{gap:5px}.ctj-door{min-height:105px}.ctj-door .ctj-door-content{font-size:41px}.ctj-rhythm-pad{min-height:95px}.ctj-maze-grid{width:min(calc(100vw - 36px),330px)}}
@media(prefers-reduced-motion:reduce){.ctj-root .ctj-sort-item,.ctj-root .ctj-celebrate,.ctj-root .ctj-counting-items span{animation:none!important}}

.ctj-root{scroll-margin-top:105px}

/* V2.1.0: official-character integrations, scoped to the games application */
.ctj-root .ctj-card-person{display:flex;align-items:center;justify-content:center;overflow:hidden;background:rgba(255,255,255,.7);border-radius:24px}
.ctj-root .ctj-card-head{height:100%;width:100%;object-fit:contain;object-position:center}
.ctj-root .ctj-character{display:inline-flex;flex-direction:column;align-items:center;gap:5px}
.ctj-root .ctj-character-name{font-size:13px;font-weight:800}
.ctj-root .ctj-face-img{width:100%;height:100%;object-fit:contain}
.ctj-root .ctj-puzzle-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:910px;margin:25px auto 45px}
.ctj-root .ctj-choose-person{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:space-around;border:2px solid #ece5f8;background:#fff;border-radius:24px;min-height:200px;padding:14px;cursor:pointer;box-shadow:0 6px 14px rgba(27,20,74,.08);font-size:19px;color:#303047;transition:transform .16s,box-shadow .16s}
.ctj-root .ctj-choose-person:hover,.ctj-root .ctj-choose-person:focus-visible{transform:translateY(-3px);box-shadow:0 9px 20px rgba(27,20,74,.13);outline:3px solid #9862d8}
.ctj-root .ctj-pick-image{height:134px;width:100%;object-fit:contain}
.ctj-root .ctj-choose-person span{font-size:14px;color:#643eae;font-weight:800}
.ctj-root .ctj-choose-tribu .ctj-pick-image{width:100%;height:130px}
.ctj-root .ctj-puzzle-aside .ctj-secondary{margin-top:8px}
.ctj-root .ctj-catch-caboux{width:104px;height:104px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff8d4;box-shadow:0 6px 0 rgba(37,36,99,.13),0 0 0 6px #fff7;line-height:1;overflow:hidden;padding:8px;touch-action:manipulation}
.ctj-root .ctj-catch-head{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.ctj-root .ctj-colors-characters{display:grid;grid-template-columns:minmax(190px,1fr) minmax(260px,2fr);gap:20px;align-items:center}
.ctj-root .ctj-colors-person{display:flex;align-items:center;flex-direction:column;gap:10px;background:linear-gradient(150deg,#fff 20%,#f6eafe);border:2px solid #e5d6fc;border-radius:25px;padding:14px;min-height:280px;color:#38274c;font-size:21px}
.ctj-root .ctj-color-mascot{height:250px;width:100%;max-width:270px;object-fit:contain}
.ctj-root .ctj-colors-characters .ctj-colors-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ctj-root .ctj-odd-face{display:flex;align-items:center;justify-content:center;padding:14px;background:#fff}
.ctj-root .ctj-odd-picture{height:100%;max-height:155px;width:100%;object-fit:contain}
.ctj-root .ctj-rhythm-face{display:block;height:94px;max-width:100%;object-fit:contain;pointer-events:none}
.ctj-root .ctj-maze-hero{object-fit:contain}
.ctj-root .ctj-counting-items .ctj-count-face{display:flex;align-items:center;justify-content:center;width:68px;height:68px;line-height:1;background:#fff6;border-radius:18px;padding:3px}
.ctj-root .ctj-count-head{width:100%;height:100%;object-fit:contain}
.ctj-root .ctj-shape-prompt{position:relative;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap}
.ctj-root .ctj-shape-mascot{height:180px;max-width:170px;object-fit:contain}
.ctj-root .ctj-sort-face{width:155px;height:155px;object-fit:contain}
.ctj-root .ctj-sort-basket-head{width:74px;height:74px;object-fit:contain;vertical-align:middle}
.ctj-root .ctj-sort-emoji{font-size:98px;line-height:1}
.ctj-root .ctj-pattern-avatar{width:100%;height:100%;object-fit:contain}
.ctj-root .ctj-pattern-face{display:flex;align-items:center;justify-content:center;padding:5px}
.ctj-root .ctj-pattern-row .ctj-pattern-face{min-width:55px}
.ctj-root .ctj-pattern-options button{display:flex;align-items:center;justify-content:center;padding:9px;min-height:105px}
.ctj-root button:focus-visible{outline:4px solid #6145d4;outline-offset:2px}
@media(max-width:720px){
 .ctj-root .ctj-puzzle-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ctj-root .ctj-choose-person{padding:8px;min-height:160px;font-size:16px}
 .ctj-root .ctj-pick-image{height:100px}
 .ctj-root .ctj-colors-characters{grid-template-columns:1fr;gap:10px}
 .ctj-root .ctj-colors-person{min-height:190px;padding:10px;flex-direction:row;justify-content:center}
 .ctj-root .ctj-color-mascot{height:165px;max-width:165px}
 .ctj-root .ctj-colors-characters .ctj-colors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ctj-root .ctj-catch-caboux{width:82px;height:82px}
 .ctj-root .ctj-counting-items .ctj-count-face{height:48px;width:48px;padding:1px}
 .ctj-root .ctj-odd-picture{max-height:110px}
 .ctj-root .ctj-rhythm-face{height:75px}
 .ctj-root .ctj-shape-mascot{height:115px;max-width:120px}
 .ctj-root .ctj-pattern-row .ctj-pattern-face{min-width:35px}
}
@media (prefers-reduced-motion:reduce){.ctj-root .ctj-choose-person{transition:none}}

.ctj-root .ctj-puzzle-board.ctj-puzzle-tribu{width:min(94vw,650px)}
@media(max-width:660px){.ctj-root .ctj-puzzle-aside{width:min(96%,360px);flex-wrap:wrap;justify-content:center}.ctj-root .ctj-puzzle-aside strong{width:100%;text-align:center}.ctj-root .ctj-puzzle-aside .ctj-secondary{margin-top:0;font-size:12px!important;padding:8px 10px!important}}
/* V3: 5 educational universes, real writing / reading / arithmetic interactions */
.ctj-root .ctj-filters{position:relative;gap:9px;margin-bottom:27px}
.ctj-root .ctj-filter{font-size:14px!important;padding:12px 17px!important;min-height:50px;box-shadow:0 4px 0 rgba(73,42,126,.08)!important}
.ctj-root .ctj-filter.ctj-active{box-shadow:0 4px 0 #54319e!important}
.ctj-learning-intro{padding-bottom:12px!important}
.ctj-edu-board{width:min(calc(100% - 26px),760px);margin:12px auto 30px;padding:24px 25px;border-radius:26px;background:#fff;border:2px solid #ecdef5;text-align:center;box-shadow:0 11px 30px #6741b811}
.ctj-edu-character{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:16px;font-weight:900;color:#7753a3;margin:0 auto 10px}
.ctj-edu-head{height:86px!important;width:105px!important;object-fit:contain}
.ctj-edu-hero-letter{font-size:66px;line-height:1.4}
.ctj-edu-bigemoji{font-size:75px;line-height:1.25;padding:11px 5px}
.ctj-edu-big-letter{color:#7954c3;font-size:clamp(72px,12vw,112px);font-weight:1000;letter-spacing:2px;line-height:1.25;margin-bottom:20px}
.ctj-edu-word{font-size:clamp(28px,6vw,55px);letter-spacing:.08em;color:#5d3c98;font-weight:1000;margin:12px auto 17px}
.ctj-edu-sentence{display:inline-block;background:#f7f2ff;border:2px solid #e7dbf8;border-radius:18px;padding:13px 22px;color:#5d399b;font-size:clamp(24px,4vw,38px);font-weight:1000;line-height:1.32;margin:14px auto}
.ctj-edu-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch;margin:24px auto 4px}
.ctj-root .ctj-edu-option,.ctj-root .ctj-edu-syllable{background:#f2eafd!important;border:2px solid #d8c7f0!important;border-radius:18px!important;min-height:85px;padding:14px 7px!important;font-size:clamp(18px,2.3vw,26px)!important;font-weight:1000!important;color:#604192!important;word-break:break-word}
.ctj-root .ctj-edu-option:hover,.ctj-root .ctj-edu-syllable:hover{background:#e9ddff!important;border-color:#8861cf!important}
.ctj-root .ctj-edu-option:active,.ctj-root .ctj-edu-syllable:active{transform:scale(.97)}
.ctj-edu-progress{width:min(calc(100% - 70px),760px);height:11px;margin:18px auto 0;background:#ebdff7;border-radius:20px;overflow:hidden}
.ctj-edu-progress>span{display:block;height:100%;background:linear-gradient(90deg,#8b62db,#ec6cb6);border-radius:20px;transition:width .35s}
.ctj-edu-counters{display:flex;gap:7px;flex-wrap:wrap;align-items:center;justify-content:center;padding:11px 0;font-size:32px;line-height:1.2}
.ctj-edu-counters>span{display:inline-flex;justify-content:center;align-items:center}
.ctj-edu-counters>b{width:100%;font-weight:1000;color:#754bb9}
.ctj-edu-counters>small{display:block;width:100%;color:#746a81;font-weight:900;font-size:16px;margin:5px 0}
.ctj-edu-numberline{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px auto}
.ctj-edu-numberline>span{font-weight:1000;font-size:clamp(25px,6vw,54px);border-radius:15px;min-width:67px;background:#f7f0ff;color:#7149b3;padding:10px 13px}
.ctj-edu-compare{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin:15px auto}
.ctj-edu-compare>div{background:#fff9e9;border-radius:19px;border:2px solid #fff0cb;padding:12px;max-width:260px}
.ctj-edu-compare strong{display:block;margin-bottom:7px;color:#6a4e83}
.ctj-edu-compare>div>div{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;font-size:23px}
.ctj-edu-compare .ctj-edu-friends{display:flex;gap:6px;flex-wrap:wrap}
.ctj-edu-friends .ctj-edu-head{width:66px!important;height:65px!important}
.ctj-edu-wagons{display:flex;justify-content:center;align-items:center;gap:6px;margin:15px auto;flex-wrap:wrap}
.ctj-edu-wagons>span{min-width:100px;background:#d3a7ef;padding:14px 17px;border-radius:14px 14px 20px 20px;color:#fff;font-size:30px;font-weight:1000;box-shadow:0 7px 0 #9263b7}
.ctj-edu-wagons>span:last-child{background:#75cbea;box-shadow:0 7px 0 #4195b0}
.ctj-edu-trace-board{width:min(calc(100% - 24px),800px);margin:12px auto 26px;background:#fff;border:2px solid #eadcf4;border-radius:24px;padding:18px;text-align:center}
.ctj-trace-wrap{position:relative;width:100%;max-width:520px;aspect-ratio:520 / 270;margin:auto;background:repeating-linear-gradient(0deg,#f3edfd 0,#f3edfd 1px,white 1px,white 52px);border:2px dashed #c7b6e5;border-radius:22px;overflow:hidden}
.ctj-trace-glyph{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;font-size:clamp(140px,25vw,245px);font-weight:1000;color:#fff;-webkit-text-stroke:3px #bfa4ea;text-shadow:2px 2px 0 #d4c3f1;pointer-events:none;font-family:Arial,sans-serif;line-height:1}
.ctj-trace-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;display:block}
.ctj-edu-help{color:#6c5690;margin:15px auto 18px;font-size:15px;font-weight:800}
.ctj-edu-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:17px 0 6px}
.ctj-edu-slots{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:17px auto}
.ctj-edu-slots>span{display:flex;align-items:center;justify-content:center;background:#f9f5ff;border-bottom:5px solid #9168c4;border-radius:7px 7px 0 0;min-width:35px;height:54px;padding:3px;color:#5b4294;font-size:clamp(20px,3vw,31px);font-weight:1000}
.ctj-root .ctj-edu-letter{font-size:clamp(20px,4vw,29px)!important;font-weight:1000!important;min-height:66px;padding:8px!important;border:2px solid #e6d4f7!important;border-radius:14px!important;background:#efe5ff!important;color:#6645a7!important}
.ctj-root .ctj-edu-letter:disabled{background:#e2e2e2!important;color:#aaa!important;opacity:.4!important}
.ctj-edu-letters{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.ctj-type-input{display:block;width:min(100%,420px);margin:7px auto 24px;padding:15px 17px!important;border:3px solid #ab8ad9!important;border-radius:14px!important;text-align:center;font-size:29px!important;letter-spacing:.06em;color:#593c8d!important;background:#fff!important;min-height:58px}
.ctj-edu-virtual-keyboard{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;max-width:610px;margin:0 auto}
.ctj-root .ctj-edu-virtual-keyboard>button{background:#ecdcff!important;border:1px solid #d4b8f8!important;border-radius:9px!important;color:#673d9a!important;min-width:39px;min-height:43px;padding:5px 9px;font-size:18px!important;font-weight:1000!important}
.ctj-edu-code-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:min(100%,370px);margin:2px auto 20px;padding:5px;background:#7759ae;border-radius:17px}
.ctj-edu-gridcell{aspect-ratio:1/1;display:flex;justify-content:center;align-items:center;font-size:30px;border-radius:8px;background:#f9f9e7;min-width:0}
.ctj-edu-gridcell .ctj-edu-head{height:74px!important;width:75px!important}
.ctj-edu-gridcell.ctj-edu-wall{background:#c5e7b5}
.ctj-edu-code-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin:9px auto 16px}
.ctj-root .ctj-edu-code-controls>button{background:#eadfff!important;border:2px solid #d0b7f6!important;border-radius:12px!important;width:58px;height:55px;font-size:25px!important}
.ctj-edu-queue{min-height:55px;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;color:#7a6793;border:2px dashed #e5daf0;border-radius:13px;padding:9px;font-weight:800}
.ctj-edu-queue>span{font-size:25px;line-height:1.3}
.ctj-edu-board>small{color:#84718d;font-weight:700;font-size:13px}
.ctj-edu-story{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px auto 11px}
.ctj-root .ctj-edu-story>button{min-width:0;display:flex;flex-direction:column;gap:8px;background:#f7f1ff!important;border:2px solid #e5daf5!important;padding:14px 9px!important;border-radius:17px!important;color:#6845a1!important;font-weight:900!important}
.ctj-edu-story>button>span{font-size:66px;line-height:1.3}
.ctj-edu-story>button>strong{font-size:14px;line-height:1.3}
.ctj-edu-story>button:disabled{opacity:.4}
.ctj-edu-shadow{background:linear-gradient(135deg,#f1ebff,#eaf5ff);border-radius:20px;margin:5px auto 20px;min-height:165px;display:flex;align-items:center;justify-content:center}
.ctj-shadow-img{height:190px!important;max-width:225px!important;object-fit:contain;filter:brightness(0)!important;opacity:.92}
.ctj-edu-portrait-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ctj-root .ctj-edu-portrait-options>button{display:flex;flex-direction:column;background:#f3e9ff!important;border:2px solid #e8d7fa!important;border-radius:16px!important;min-height:140px;padding:12px 4px!important;color:#67429c!important;font-weight:1000!important;min-width:0}
.ctj-edu-portrait{height:95px!important;width:110px!important;object-fit:contain}
.ctj-root .ctj-edu-portrait-options>button>strong{font-size:13px}
@media(max-width:660px){
 .ctj-root .ctj-filter{font-size:12px!important;padding:9px 12px!important;min-height:44px}
 .ctj-edu-board{padding:15px 12px;width:min(calc(100% - 16px),760px)}
 .ctj-edu-options{gap:7px;margin-top:17px}
 .ctj-root .ctj-edu-option,.ctj-root .ctj-edu-syllable{min-height:72px;font-size:16px!important;padding:8px 5px!important}
 .ctj-edu-counters{font-size:26px}
 .ctj-edu-numberline>span{min-width:49px;font-size:27px;padding:10px 5px}
 .ctj-edu-letters{grid-template-columns:repeat(5,minmax(0,1fr))}
 .ctj-edu-slots>span{min-width:24px;height:43px;font-size:21px}
 .ctj-edu-story{gap:5px}
 .ctj-edu-story>button>span{font-size:44px}
 .ctj-edu-story>button>strong{font-size:11px}
 .ctj-edu-head{height:75px!important}
 .ctj-edu-portrait{width:70px!important;height:70px!important}
 .ctj-root .ctj-edu-portrait-options>button{min-height:110px}
 .ctj-edu-shadow .ctj-shadow-img{height:150px!important}
 .ctj-root .ctj-edu-virtual-keyboard>button{min-width:31px;min-height:37px;font-size:15px!important;padding:4px 6px}
 .ctj-trace-glyph{font-size:clamp(110px,30vw,190px)}
}
/* V3.1 — Voix douce pour les enfants : réglages destinés aux parents */
.ctj-root .ctj-voice-toggle{background:#fff0f8!important;color:#7d3770!important;border-radius:30px!important;padding:10px 15px!important;font-size:14px!important;font-weight:900!important;white-space:nowrap}
.ctj-root .ctj-voice-toggle[aria-expanded="true"]{box-shadow:inset 0 0 0 2px #ae70c5!important}
.ctj-root .ctj-voice-panel{background:linear-gradient(135deg,#fff9ed,#fdf5ff);border-bottom:2px solid #f2e5fd;padding:17px clamp(17px,4vw,48px);display:flex;flex-wrap:wrap;gap:10px 15px;align-items:center;color:#533c75}
.ctj-root .ctj-voice-panel[hidden]{display:none!important}
.ctj-root .ctj-voice-panel-title{font-weight:900;font-size:16px;width:100%}
.ctj-root .ctj-voice-panel-title small{font-size:12px;color:#866e99;margin-left:9px}
.ctj-root .ctj-voice-panel label{font-weight:900;font-size:13px;color:#614586}
.ctj-root .ctj-voice-panel select{border:2px solid #dec4ef;border-radius:12px;background:white;color:#4d3970;min-height:41px;padding:6px 10px;max-width:min(100%,390px);font:inherit;font-size:14px}
.ctj-root .ctj-voice-preview{background:#7d4db8!important;color:white!important;border-radius:15px!important;padding:11px 16px!important;font-size:13px!important;font-weight:900!important}
.ctj-root .ctj-voice-panel p{color:#726687;font-size:12px;width:100%;line-height:1.5}
.ctj-root .ctj-speak:disabled{opacity:.85;cursor:progress!important}
@media(max-width:640px){.ctj-root .ctj-voice-toggle{padding:8px!important;font-size:17px!important}.ctj-root .ctj-voice-toggle span{display:none}.ctj-root .ctj-voice-panel{flex-direction:column;align-items:stretch}.ctj-root .ctj-voice-panel select{max-width:100%;width:100%}}
/* V3.2 — Univers d'aventures, histoires guidées et espace parents (scopés). */
.ctj-root .ctj-hub-nav{display:flex;align-items:stretch;gap:9px;overflow-x:auto;background:#fff;padding:12px clamp(16px,3.8vw,48px);border-top:1px solid #f2ebf6;border-bottom:2px solid #f2eaf8;scrollbar-width:thin}
.ctj-root .ctj-hub-nav button{flex:1 0 auto;min-height:48px;background:#f5ecff!important;color:#643b95!important;border-radius:15px!important;padding:10px 17px!important;font-size:14px!important;font-weight:900!important}
.ctj-root .ctj-hub-nav button:hover{background:#e9d5ff!important}
.ctj-root .ctj-v32-feature-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:25px clamp(18px,4vw,55px) 5px}
.ctj-root .ctj-v32-feature-strip button{min-width:0;background:#fff!important;border:2px solid #eee4fb!important;border-radius:22px!important;display:flex;flex-direction:column;align-items:flex-start;min-height:129px;padding:19px!important;text-align:left!important;box-shadow:0 7px 20px #68418913!important}
.ctj-root .ctj-v32-feature-strip button:nth-child(1){background:#f0e9ff!important}.ctj-root .ctj-v32-feature-strip button:nth-child(2){background:#fff1e3!important}.ctj-root .ctj-v32-feature-strip button:nth-child(3){background:#e9f9f1!important}
.ctj-v32-feature-strip button>span{font-size:29px}.ctj-v32-feature-strip strong{font-size:18px;color:#57398a}.ctj-v32-feature-strip small{font-size:12px;color:#786b8b;margin-top:5px}
.ctj-root .ctj-v32-wrap{padding:25px clamp(16px,4vw,50px) 55px;min-height:420px}
.ctj-v32-heading{text-align:center;max-width:850px;margin:5px auto 28px}.ctj-v32-heading h2{color:#643da7}.ctj-v32-heading p{color:#695e7d;margin-top:10px;font-size:16px}
.ctj-world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;max-width:1100px;margin:auto}
.ctj-root .ctj-world-card{position:relative;overflow:hidden;min-width:0;display:flex;align-items:center!important;justify-content:flex-start!important;gap:17px;text-align:left!important;background:#fff!important;border:2px solid #eadcfb!important;border-radius:24px!important;padding:20px!important;min-height:159px;box-shadow:0 10px 25px #62479d12!important;color:#584286!important}
.ctj-world-card:nth-child(1){background:#f0f9e9!important}.ctj-world-card:nth-child(2){background:#fff0ed!important}.ctj-world-card:nth-child(3){background:#fff8dd!important}.ctj-world-card:nth-child(4){background:#f2edff!important}.ctj-world-card:nth-child(5){background:#e7f5ff!important}
.ctj-world-symbol{font-size:39px;align-self:flex-start;line-height:1.1}.ctj-world-text{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.ctj-world-text strong{font-size:19px;color:#543786;line-height:1.15}.ctj-world-text small{color:#766985;font-size:13px;line-height:1.45}.ctj-world-text>span:last-child{font-size:12px;font-weight:900;color:#695496}
.ctj-world-hero{width:100px!important;height:115px!important;object-fit:contain;flex-shrink:0;animation:ctj-gentle-bob 3.4s ease-in-out infinite}
.ctj-progress-track{display:block;width:100%;height:11px;border-radius:99px;background:#e8e0f1;overflow:hidden;margin-top:6px}.ctj-progress-track i{height:100%;border-radius:99px;display:block;background:linear-gradient(90deg,#6ccf95,#8e61e4);transition:width .4s}
.ctj-root .ctj-map-return{margin-bottom:18px;background:#fff!important;color:#6f40a5!important;border:1px solid #e0d0f1!important;border-radius:13px!important;padding:11px 16px!important;font-weight:900!important;font-size:13px!important}
.ctj-world-heading{background:linear-gradient(125deg,#fff,#f1e8ff);border:2px solid #ebdefc;border-radius:27px;display:flex;align-items:center;gap:22px;padding:22px 30px;margin:0 auto 25px;max-width:1060px}
.ctj-world-heading h2{color:#64419f}.ctj-world-heading p{font-size:15px;margin:8px 0;color:#675a7a}.ctj-world-heading>div{flex:1}.ctj-world-heading strong{display:block;color:#5c4980;margin-top:8px;font-size:13px}.ctj-world-character{width:145px!important;height:155px!important;object-fit:contain;animation:ctj-gentle-bob 3.6s ease-in-out infinite}
.ctj-missions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;max-width:1060px;margin:0 auto}
.ctj-root .ctj-mission{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;background:#fff!important;border:2px solid #eadef8!important;border-radius:19px!important;padding:15px 8px!important;color:#573c80!important;min-height:170px;box-shadow:0 6px 15px #4d348315!important}
.ctj-mission strong{font-size:14px;font-weight:900;line-height:1.2}.ctj-mission small{font-size:12px;color:#8c7ca1}.ctj-mission-count{position:absolute;top:8px;left:9px;border-radius:50%;min-width:29px;height:29px;background:#f8cfe4;display:grid;place-items:center;color:#663d84;font-weight:1000}
.ctj-mission-avatar{height:82px!important;width:95px!important;object-fit:contain}.ctj-root .ctj-mission-done{background:#eafaf0!important;border-color:#93dcb8!important}.ctj-mission-done .ctj-mission-count{background:#70d4a3;color:#125637}.ctj-root .ctj-mission-locked{background:#f8f7f9!important;opacity:.65;filter:saturate(.5)}
.ctj-mission-ribbon{background:linear-gradient(90deg,#f0e3ff,#e7f6ff);padding:11px clamp(16px,4vw,50px);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:#5e3e91;font-weight:900}.ctj-root .ctj-mission-ribbon button{background:#fff!important;color:#68439f!important;border-radius:12px!important;padding:9px 13px!important;font-size:12px!important;font-weight:900!important}
.ctj-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1150px;margin:auto}
.ctj-root .ctj-story-card{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center!important;gap:9px;background:#fff!important;border:2px solid #eddef7!important;border-radius:23px!important;padding:19px!important;min-height:265px;box-shadow:0 9px 25px #6b428514!important}
.ctj-story-card:nth-child(2n){background:#fff8ec!important}.ctj-story-card:nth-child(3n){background:#effaef!important}.ctj-story-emoji{position:absolute;top:12px;left:16px;font-size:25px}.ctj-story-thumbnail{height:120px!important;width:140px!important;object-fit:contain;animation:ctj-gentle-bob 3.7s ease-in-out infinite}.ctj-story-card strong{color:#6240a1;font-size:18px;line-height:1.3}.ctj-story-card small{color:#645977;font-size:13px;line-height:1.45}.ctj-story-completed{margin-top:auto;background:#f4e9ff;border-radius:18px;padding:8px 11px;font-size:12px;font-weight:900;color:#64469a}
.ctj-story-reader{max-width:925px;margin:20px auto 45px;padding:0 15px}.ctj-story-progress{height:10px;border-radius:20px;background:#eadff8;overflow:hidden;margin:0 0 18px}.ctj-story-progress>span{display:block;height:100%;background:#8c64c9;transition:width .25s}
.ctj-story-scene{border-radius:28px;background:linear-gradient(140deg,#fff6e4,#e7f6ff);border:2px solid #f0dffb;padding:25px 22px 26px;display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:14px 28px;align-items:center;position:relative;overflow:hidden}
.ctj-story-scenery{position:absolute;right:24px;top:15px;font-size:62px;opacity:.76;filter:drop-shadow(0 5px 3px #8b6e5c20)}.ctj-story-character{grid-row:1/3;width:100%!important;max-height:265px!important;object-fit:contain;z-index:1;animation:ctj-gentle-bob 3.1s ease-in-out infinite}
.ctj-story-copy{z-index:1;align-self:end}.ctj-story-copy p{font-size:clamp(18px,2.4vw,27px);line-height:1.5;font-weight:850;color:#43376c;max-width:600px}.ctj-root .ctj-read-aloud{background:#784cc1!important;color:#fff!important;padding:12px 17px!important;border-radius:16px!important;font-weight:900!important;font-size:14px!important;margin-top:18px}
.ctj-story-question{background:white;border:2px solid #eee3f6;border-radius:23px;padding:23px;margin-top:17px;text-align:center}.ctj-story-question h3{font-size:clamp(19px,2vw,24px);margin-bottom:14px;color:#5f3e91}
.ctj-story-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ctj-root .ctj-story-answers button{background:#f6eaff!important;color:#5b398e!important;border-radius:17px!important;border:2px solid #e2d0f6!important;min-height:68px;padding:10px!important;font-size:17px!important;font-weight:900!important}
.ctj-root .ctj-story-answers button:hover{background:#ebd7ff!important}.ctj-root .ctj-story-answers button:disabled{opacity:.8}.ctj-root .ctj-story-feedback{font-size:14px;font-weight:800;color:#644f81;margin:18px 0 0}.ctj-root .ctj-story-next{margin:12px auto 0!important}.ctj-story-end{min-height:420px}.ctj-hero-says{color:#7c4bae!important;font-size:15px!important;font-weight:900;background:#f7ecff;border-radius:18px;padding:10px 18px!important;display:table;margin:12px auto!important}
.ctj-root .ctj-parent-gate{max-width:700px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px}.ctj-parent-gate h2{color:#6440a0}.ctj-parent-gate p{color:#675a80}.ctj-parent-gate label{font-weight:900}.ctj-parent-gate input{width:130px;min-height:55px;border:2px solid #c7a4e6;border-radius:12px;text-align:center;font-size:23px}.ctj-parent-gate small{color:#9282a0;font-size:12px}
.ctj-parent-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 auto 25px;max-width:1000px}.ctj-parent-numbers>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;background:#fff;border:2px solid #e8dcf4;border-radius:22px;padding:19px 12px}.ctj-parent-numbers strong{font-size:38px;font-weight:1000;color:#6e43ac}.ctj-parent-numbers strong small{font-size:20px;color:#987dad}.ctj-parent-numbers span{font-size:13px;color:#756585;font-weight:700}
.ctj-parent-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1100px;margin:auto}.ctj-parent-layout>section{min-width:0;background:#fff;border:2px solid #eee2f7;border-radius:22px;padding:23px}.ctj-parent-layout h3{color:#61428e;font-size:21px;margin-bottom:19px}.ctj-parent-line{display:grid;grid-template-columns:1fr auto;gap:7px;margin-bottom:15px;color:#5c4a76;font-size:13px;font-weight:800}.ctj-parent-line .ctj-progress-track{grid-column:1/-1;margin:0}.ctj-parent-recent{padding:0 0 0 19px;line-height:1.9;color:#615270;font-size:14px}.ctj-parent-recent time{color:#8064a0}.ctj-parent-privacy{background:#eaf8f0;border-radius:16px;margin:17px 0;padding:14px;color:#426a55}.ctj-parent-privacy strong{display:block;font-size:14px}.ctj-parent-privacy p{font-size:12px;margin-top:7px}.ctj-root .ctj-parent-danger{color:#a33b48!important;background:#fff0f1!important;border-radius:13px!important;padding:12px!important;font-weight:800!important;margin-top:10px}.ctj-root .ctj-parent-layout .ctj-secondary{margin:9px 10px 0 0!important}.ctj-parent-feedback{font-size:13px!important;color:#594386;margin-top:8px!important}
@keyframes ctj-gentle-bob{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-7px) rotate(1deg)}}
.ctj-celebration-active .ctj-finish-mascot{animation:ctj-character-celebrate 1.6s ease-in-out 2}
@keyframes ctj-character-celebrate{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-10px) rotate(-3deg)}65%{transform:translateY(-13px) rotate(3deg)}}
@media(max-width:890px){.ctj-world-grid,.ctj-parent-layout{grid-template-columns:1fr}.ctj-missions{grid-template-columns:repeat(3,minmax(0,1fr))}.ctj-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ctj-root .ctj-hub-nav{padding:9px 12px;gap:6px}.ctj-root .ctj-hub-nav button{padding:10px 12px!important;font-size:12px!important;min-height:43px}.ctj-root .ctj-v32-feature-strip{grid-template-columns:1fr;gap:9px}.ctj-root .ctj-v32-feature-strip button{min-height:90px;gap:3px;padding:12px 15px!important}.ctj-v32-feature-strip strong{font-size:16px}.ctj-root .ctj-v32-wrap{padding:18px 13px 30px}.ctj-world-hero{width:70px!important;height:95px!important}.ctj-root .ctj-world-card{padding:13px!important;gap:10px;min-height:125px}.ctj-world-symbol{font-size:25px}.ctj-world-text strong{font-size:16px}.ctj-world-text small{font-size:12px}.ctj-world-heading{padding:14px;gap:10px}.ctj-world-character{width:85px!important;height:120px!important}.ctj-world-heading h2{font-size:21px}.ctj-missions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ctj-root .ctj-mission{min-height:155px;padding:12px 5px!important}.ctj-mission-avatar{height:70px!important}.ctj-mission strong{font-size:12px}.ctj-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ctj-root .ctj-story-card{min-height:230px;padding:13px 8px!important}.ctj-story-thumbnail{height:95px!important;width:110px!important}.ctj-story-card strong{font-size:15px}.ctj-story-card small{font-size:12px}.ctj-story-completed{font-size:11px;padding:8px 5px}.ctj-story-scene{grid-template-columns:100px minmax(0,1fr);gap:9px;padding:16px 9px}.ctj-story-character{height:175px!important}.ctj-story-copy p{font-size:18px;line-height:1.35}.ctj-story-scenery{font-size:31px;top:9px;right:9px}.ctj-root .ctj-read-aloud{padding:11px!important;font-size:12px!important}.ctj-story-question{padding:16px 8px}.ctj-story-answers{grid-template-columns:1fr;gap:8px}.ctj-root .ctj-story-answers button{min-height:51px;font-size:16px!important}.ctj-parent-numbers{gap:7px}.ctj-parent-numbers strong{font-size:27px}.ctj-parent-numbers strong small{font-size:14px}.ctj-parent-numbers>div{padding:13px 5px}.ctj-parent-numbers span{font-size:10px}.ctj-parent-layout>section{padding:15px}}
@media(prefers-reduced-motion:reduce){.ctj-world-hero,.ctj-story-thumbnail,.ctj-world-character,.ctj-story-character,.ctj-celebration-active .ctj-finish-mascot{animation:none!important}.ctj-progress-track i{transition:none}}

.ctj-root .ctj-listen-options{background:#e9f4ff!important;color:#3e5f95!important;border:1px solid #bbdaff!important;border-radius:12px!important;padding:10px 13px!important;font-size:13px!important;font-weight:900!important;margin-bottom:16px!important}
.ctj-approved-tribu{margin:7px auto 4px;display:flex;justify-content:center}.ctj-approved-tribu-img{width:175px!important;max-height:105px!important;object-fit:contain}
