*{box-sizing:border-box}body{margin:0;background:#e9dcfa;color:#80356f;font-family:"Trebuchet MS",Arial,sans-serif;font-weight:700}button{font:inherit;color:inherit;cursor:pointer;border:3px solid #fff6fc;background:linear-gradient(#fff2fa,#ffb9df);border-radius:25px;box-shadow:0 4px 0 #df8ac0,0 7px 12px #a76c982c;transition:transform .15s,filter .15s;touch-action:manipulation}button:hover{filter:brightness(1.05);transform:translateY(-2px)}button:active{transform:translateY(3px);box-shadow:0 1px 0 #df8ac0}button:disabled{opacity:.55;cursor:default;transform:none}button:focus-visible{outline:4px solid #7945b2;outline-offset:3px}#game{max-width:960px;min-height:100vh;margin:auto;position:relative;overflow:hidden;background:radial-gradient(ellipse at 4% 30%,#ffe7fb 0,transparent 35%),radial-gradient(ellipse at 90% 50%,#f9d8ff 0,transparent 40%),linear-gradient(#c5d5ff,#ebd6ff 55%,#fbd8f0);box-shadow:0 0 70px #a27dbd44}#game:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.65;background-image:radial-gradient(circle,#fff 1px,transparent 2px),radial-gradient(circle,#fff7ba 2px,transparent 4px);background-size:47px 61px,127px 113px}.top-tools{display:flex;gap:9px;padding:14px 18px;position:relative;z-index:5}.top-tools span{flex:1}.top-tools button{width:55px;height:52px;font-size:28px}header{text-align:center;position:relative;height:140px;margin-top:-63px;pointer-events:none;z-index:3}h1{display:inline-block;line-height:.98;font-size:clamp(30px,5.8vw,57px);font-weight:1000;margin:23px 0 0;letter-spacing:-2px;color:#dc287e;text-shadow:2px 3px white,-2px -2px white,0 6px #ed9ac7,0 9px 14px #b8779c;transform:rotate(-3deg)}h1 span{font-size:.87em}.crown{position:absolute;left:47%;top:-10px;color:#ffca44;font-size:48px;text-shadow:0 3px white}.ribbon{position:absolute;left:46%;bottom:-22px;font-size:48px;z-index:3}.board{height:760px;position:relative}.rainbow{position:absolute;right:6%;top:0;width:43%;height:41%;border-radius:50% 50% 0 0;border:17px solid #ffc5dc;box-shadow:inset 0 0 0 13px #ffe9a6,inset 0 0 0 26px #c6f3d8,inset 0 0 0 39px #c6e8ff;opacity:.65;transform:rotate(-12deg)}.castle{position:absolute;right:5%;top:0;font-size:105px;text-align:center;z-index:1;filter:drop-shadow(0 8px 0 #b5a3d13b)}.castle b{display:block;font-size:17px;background:#fff0fa;border-radius:30px;padding:8px;max-width:160px;margin-top:-12px;color:#b03f84}.castle.win{animation:glow .8s infinite alternate}.score{position:absolute;left:2%;z-index:4;display:flex;align-items:center;gap:8px;background:linear-gradient(#fff2fa,#ffc4e5);border:3px solid white;box-shadow:0 0 0 3px #e8a1d2,0 5px 12px #ab73a745;border-radius:50px;padding:5px 22px 5px 4px;font-size:27px;min-width:175px}.avatar{font-size:47px;background:#ffe7f3;border-radius:50%;line-height:1.2}.cat-score{top:20px}.hamster-score{top:110px;background:linear-gradient(#e3ffff,#a6ecf0);box-shadow:0 0 0 3px #91d9e6,0 5px 12px #ab73a745}.island{position:absolute;text-align:center;font-size:80px;line-height:.75;z-index:0;filter:drop-shadow(0 12px 7px #9275bb55)}.island:after{content:"";display:block;width:145px;height:45px;background:linear-gradient(#dcf3b8 25%,#d6add1 30%,#ad91bd);border-radius:50% 50% 55% 55%}.island i{position:absolute;width:20px;height:85px;background:linear-gradient(90deg,#9cddfb,#e8ffff,#9cddfb);top:90%;left:50%;border-radius:0 0 15px 15px;opacity:.75}.tree{left:0;top:240px}.unicorn{right:1%;top:380px;font-size:99px}.gems{right:-25px;top:230px}.spark{position:absolute;font-size:50px;color:#fff4ac;text-shadow:0 0 10px white}.s1{left:21%;top:170px}.s2{right:12%;top:550px}.s3{left:6%;top:510px}#road{position:absolute;inset:0;width:100%;height:100%;overflow:visible}#roadPath{fill:none;stroke:#fff2fc;stroke-width:23;stroke-linecap:round;opacity:.65}.cell{position:absolute;width:9.5%;height:7.7%;transform:translate(-50%,-50%);border:2px solid #fff4fd;border-radius:45% 48% 39% 42%;background:linear-gradient(#ffe4f8,#ffbce3);box-shadow:0 7px 0 #df9bc9,0 10px 9px #9e79af42,inset 0 4px 5px #fff9;display:flex;align-items:center;justify-content:center;font-size:clamp(17px,3.1vw,29px);color:#963781;z-index:2}.cell:nth-child(4n){background:linear-gradient(#eee0ff,#d4b4f1);box-shadow:0 7px #bea0dc,0 10px 9px #9e79af42}.cell:nth-child(7n){background:linear-gradient(#e1ffff,#a7e0ee);box-shadow:0 7px #91c8db,0 10px 9px #9e79af42}.cell.special{background:linear-gradient(#fff5cb,#ffdf98);box-shadow:0 7px #e8bd7b,0 10px 9px #9e79af42}.cell small{position:absolute;top:-17px;font-size:23px;filter:drop-shadow(0 2px 1px white)}.cell.finish{box-shadow:0 7px #e29ac4,0 0 25px #fff4b2}.pawn{position:absolute;font-size:36px;transform:translate(-50%,-100%);z-index:6;filter:drop-shadow(0 3px 2px #9e6b9d);transition:left .32s ease-in-out,top .32s ease-in-out;pointer-events:none}.pawn.hamster{font-size:31px;transform:translate(-15%,-65%)}.big-cat,.big-hamster{position:absolute;bottom:-20px;font-size:120px;filter:drop-shadow(0 8px 0 #fff7);z-index:2}.big-cat{left:-5px;transform:rotate(-9deg)}.big-hamster{right:0;transform:rotate(8deg)}.big-cat span,.big-hamster span{font-size:48px;position:absolute;bottom:15px;left:50px}.start-label{position:absolute;left:25%;bottom:0;color:#c94baf;background:#fff0fc;border:3px solid #f7b8ec;border-radius:22px;padding:5px 12px;font-size:23px;transform:rotate(-7deg);z-index:3}.controls{position:relative;z-index:7;padding:15px 15px 20px;background:radial-gradient(ellipse at bottom,#fff4fc 0,transparent 70%)}#turn{margin:0 auto;max-width:370px;text-align:center;background:linear-gradient(#ffadcf,#ef65a9);border:4px solid #fff4fb;border-radius:35px;box-shadow:0 4px #d77ab1,0 0 0 2px #f2a0ce;font-size:26px;color:white;padding:10px;text-shadow:0 2px #b63c80}#message{text-align:center;min-height:42px;padding:12px 0;font-size:15px}.actions{display:grid;grid-template-columns:1fr 1fr 1.35fr 1fr 1fr 1fr;gap:10px;align-items:center}.actions button{height:126px;font-size:17px;border-radius:40px;padding:8px 2px;line-height:1.1}.actions button>span{display:block;font-size:51px;margin-bottom:6px;filter:drop-shadow(0 4px 1px #ca7bb345)}.actions #roll{height:174px;background:linear-gradient(#ffe4f2,#ff89c3);color:white;font-size:25px;text-shadow:0 2px #bc4e85;border:5px solid #fff4fa;box-shadow:0 6px #db6ca6,0 0 0 3px #ffaad4}.actions #die{font-size:75px;line-height:.9;display:block;color:#fff;text-shadow:0 4px #dc6ca9;margin:0 0 15px}.rolling{animation:shake .15s infinite}footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:29px}footer>div{background:#ffe9f7;border:3px solid white;border-radius:40px;padding:13px 20px;box-shadow:0 3px #e6a6cf;font-size:20px}footer>div:last-child{background:#cdf5fa}footer button{font-size:25px;padding:14px 25px}.mint{background:linear-gradient(#c3ffe2,#5ed8b1);box-shadow:0 4px #53bfa4;border-color:#edfff8;color:#267f77}.tiny{text-align:center;font-size:12px;opacity:.7;padding-top:18px}#overlay{position:fixed;inset:0;background:#62417c77;backdrop-filter:blur(7px);z-index:30;display:flex;align-items:center;justify-content:center;padding:18px}#overlay[hidden]{display:none}#modal{position:relative;max-width:560px;width:100%;max-height:90dvh;overflow:auto;background:linear-gradient(140deg,#fff5fc,#ffe1f2);border:5px solid #fff8fd;border-radius:35px;padding:28px;box-shadow:0 9px 0 #d68dbf,0 20px 80px #613c7355;text-align:center}#modal h2{margin:0 25px 16px;font-size:28px;color:#bc3e8b}#modal p{font-weight:500;line-height:1.5}#modal button{padding:12px 18px;margin:5px;font-size:18px}#modal .close{position:absolute;right:9px;top:5px;border:0;background:transparent;box-shadow:none;font-size:22px;padding:3px}#modal .answer{display:block;width:100%;margin:12px 0;min-height:55px;background:linear-gradient(#fff,#e9e3ff);border:2px solid white;box-shadow:0 4px #c7aad9;color:#713c8d}.answer.wrong{background:#ffd6de!important;box-shadow:0 3px #f1a1b3!important}.answer.correct{background:#c6f6df!important;box-shadow:0 3px #85d8ad!important}.question-text{font-size:25px;line-height:1.35;margin:19px 0}.pill{display:inline-block;background:#fff;border-radius:20px;padding:7px 14px;font-size:14px;color:#a16bb2}.feedback{min-height:43px;line-height:1.5;font-weight:500;margin:12px 0}.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{background:#fff9;border:2px solid white;border-radius:22px;padding:14px}.card .emoji{font-size:40px}.card b{display:block;margin:7px 0}.card p{font-size:14px;margin:5px 0}.card button{font-size:15px!important}.quest{text-align:left;margin:12px 0;background:#fffb;padding:14px;border-radius:20px}.quest progress{width:100%;height:15px;accent-color:#e575ba}.setting{display:flex;align-items:center;justify-content:space-between;background:#fff9;border-radius:20px;margin:13px 0;padding:13px}.setting input{width:25px;height:25px;accent-color:#de65ae}.wheel-wrap{position:relative;width:245px;height:245px;margin:24px auto}.wheel{width:100%;height:100%;border-radius:50%;border:9px solid #ffc760;background:conic-gradient(#ffd3e7 0deg 60deg,#beefe8 60deg 120deg,#decdff 120deg 180deg,#fff0b2 180deg 240deg,#bedfff 240deg 300deg,#f7b6da 300deg);box-shadow:0 6px #cf9a4e,inset 0 0 0 5px #fff9;transition:transform 3s cubic-bezier(.12,.65,.12,1)}.wheel span{position:absolute;left:calc(50% - 18px);top:calc(50% - 11px);width:36px;transform:rotate(var(--angle)) translateY(-78px) rotate(calc(-1 * var(--angle)));font-size:20px}.wheel:after{content:'⭐';position:absolute;left:calc(50% - 28px);top:calc(50% - 30px);font-size:51px}.pointer{position:absolute;top:-20px;left:calc(50% - 14px);z-index:2;font-size:35px;color:#bd4d8f}.confetto{position:fixed;top:-30px;font-size:25px;z-index:60;animation:fall 3s linear forwards;pointer-events:none}.result{font-size:60px}.rules{text-align:left;font-weight:500;line-height:1.65}.stats{display:flex;justify-content:center;gap:20px;margin:20px 0}.stats div{background:white;padding:12px;border-radius:20px}.stats b{display:block;font-size:28px}#modal .age{font-size:26px;padding:16px 22px}.active-bonus{outline:3px solid #f4c451}@keyframes fall{to{transform:translateY(105vh) rotate(450deg)}}@keyframes glow{to{filter:drop-shadow(0 0 22px #fff270);transform:scale(1.07)}}@keyframes shake{50%{transform:rotate(18deg)}100%{transform:rotate(-18deg)}}@media(min-width:1100px){body{padding:20px}#game{border-radius:38px;border:5px solid #fff8}.board{height:650px}header{height:135px}.big-cat,.big-hamster{font-size:118px}}@media(max-width:600px){.top-tools{padding:10px;gap:6px}.top-tools button{width:38px;height:38px;font-size:22px;border-width:2px}header{margin-top:-43px;height:110px}h1{margin-top:26px;letter-spacing:-1px}.crown{font-size:34px;top:0}.ribbon{font-size:32px;bottom:-5px}.board{height:calc(100vw * .92 + 90px);max-height:650px}.castle{font-size:64px;top:10px;right:2%}.castle b{font-size:11px;max-width:100px;padding:6px}.score{font-size:18px;min-width:110px;padding:3px 12px 3px 2px;border-width:2px;gap:2px}.avatar{font-size:30px}.cat-score{top:12px}.hamster-score{top:69px}.cell{height:7.2%;border-width:1.5px;box-shadow:0 4px #df9bc9,0 6px 6px #9e79af42}.cell small{font-size:16px;top:-12px}.island{font-size:48px}.island:after{width:80px;height:28px}.tree{top:34%;left:-3%}.gems{top:33%;right:-25px}.unicorn{top:56%;right:-5%;font-size:65px}.island i{width:12px;height:55px}.big-cat,.big-hamster{font-size:79px;bottom:-14px}.big-cat span,.big-hamster span{font-size:32px;left:30px}.pawn{font-size:27px}.pawn.hamster{font-size:24px}.start-label{font-size:17px;padding:3px 7px;bottom:-9px}.controls{padding:16px 8px}#turn{font-size:20px;max-width:270px;padding:8px}#message{font-size:12px;min-height:40px;padding:9px 0}.actions{gap:5px}.actions button{font-size:11px;height:85px;border-radius:23px;border-width:2px}.actions button>span{font-size:30px}.actions #roll{height:118px;font-size:16px;border-width:3px;border-radius:28px}.actions #die{font-size:49px;margin-bottom:9px}footer{gap:5px;padding-top:20px}footer>div{font-size:13px;padding:9px 10px;border-width:2px}footer button{font-size:17px;padding:11px 13px;border-width:2px}.tiny{font-size:10px}#modal{padding:24px 17px;border-radius:28px}#modal h2{font-size:24px}.question-text{font-size:22px}.cards{gap:8px}.card{padding:10px}.spark{font-size:30px}.s1{top:20%}.s2{top:75%}.s3{top:70%}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.big-cat,.big-hamster{width:27%;height:auto;line-height:0;filter:none;mask-image:radial-gradient(ellipse at 50% 53%,black 52%,transparent 75%)}.big-cat{transform:none;left:0;bottom:-5%;width:29%}.big-hamster{transform:none;right:0;bottom:-5%;width:25%}.big-cat svg,.big-hamster svg{width:100%;height:auto}.castle{width:31%;font-size:0;right:3%;top:-2%;line-height:0;filter:none}.castle svg{width:100%;mask-image:radial-gradient(ellipse,black 49%,transparent 73%)}.castle b{font-size:16px;line-height:1.05;margin:-20px auto 0;position:relative}.island{line-height:0;filter:none;width:23%;mask-image:radial-gradient(ellipse,black 44%,transparent 72%)}.island svg{width:100%;height:auto}.island:after{display:none}.tree{top:30%;left:0}.unicorn{top:48%;right:0;width:20%}.gems{top:28%;right:0;width:19%}@media(max-width:600px){.castle b{font-size:11px;margin:-12px auto 0}.castle{top:0}.big-cat,.big-hamster{bottom:-4%}.tree{top:30%}.unicorn{top:48%}}
.emoji-img{width:1em;height:1em;vertical-align:-.12em;display:inline-block;object-fit:contain;pointer-events:none}.confetto .emoji-img{width:1em}.avatar .emoji-img{width:1em}.actions button>span{line-height:1.1}

.wheel:after{content:"";width:54px;height:54px;background:url(emoji/2b50.svg) center/contain no-repeat}.crown{font-size:41px;top:0}.ribbon{font-size:39px}@media(max-width:600px){.crown{font-size:29px;top:4px}.ribbon{font-size:28px}}

/* External styles keep the wheel compatible with the site CSP. */
.wheel .wheel-prize-0{--angle:30deg}.wheel .wheel-prize-1{--angle:90deg}.wheel .wheel-prize-2{--angle:150deg}.wheel .wheel-prize-3{--angle:210deg}.wheel .wheel-prize-4{--angle:270deg}.wheel .wheel-prize-5{--angle:330deg}
