#ni-learning-host:has(.one-adventure){position:fixed;inset:0;z-index:10000;background:#fff0d0;overflow:auto;overscroll-behavior:contain}
.one-adventure{--ink:#173e42;--teal:#087c79;box-sizing:border-box;position:relative;isolation:isolate;min-height:100%;width:100%;max-width:600px;margin:auto;color:var(--ink);font-family:Tahoma,Arial,sans-serif;background:#fbe8bb url('assets/numbers-island/m1-stage3/beach-clearing.png') center top/100% 100% no-repeat;padding:max(12px,env(safe-area-inset-top)) 18px max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column}
.one-adventure *{box-sizing:border-box}.one-adventure button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;min-width:48px;min-height:48px;border:0}.one-adventure button:focus-visible{outline:4px solid #174e99;outline-offset:3px}.one-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:white;text-shadow:0 2px 4px #124c72}.one-top>span{text-align:center;font-size:12px;font-weight:bold}.one-top b{display:block;font-size:18px;direction:ltr;margin-top:4px}.one-top button{border-radius:17px;background:#fff9e9;color:var(--ink);box-shadow:0 4px 0 #bba979;font-size:26px;text-shadow:none}.one-progress{display:flex;direction:ltr;gap:6px;justify-content:center;margin:18px 48px 0}.one-progress i{height:6px;flex:1;border-radius:9px;background:#ffffff80;box-shadow:0 1px 2px #145b6660}.one-progress .active{background:#ffc74c}.one-progress .done{background:#23c5a5}.one-intro{text-align:center;margin-top:22px;text-shadow:0 2px 0 #fff9df}.one-intro p{font-size:12px;font-weight:bold;color:#315955;margin:0 0 8px}.one-intro h1{font-size:clamp(24px,6vw,34px);margin:0;color:#144e52}.one-stage{position:relative;flex:1;min-height:320px;margin:0 -8px;display:flex;align-items:center}.one-katkoot{position:absolute;left:0;bottom:23px;width:42%;height:auto;max-height:290px;object-fit:contain;filter:drop-shadow(0 12px 9px #6e4e3259);animation:one-bob 3.5s ease-in-out infinite;pointer-events:none}.one-play-area{position:relative;width:65%;margin-left:auto;align-self:stretch;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:2;padding-top:10px}.one-mission{text-align:center;background:#fff8df;border:3px solid #deb06b;border-radius:28px;box-shadow:0 8px 0 #bd864d,0 12px 30px #60402230;padding:16px;width:94%;transform:rotate(3deg)}.one-mission span{display:block;font-size:12px;color:#9c622d}.one-mission strong{display:block;margin:8px 0}.one-mission img{display:block;width:95px;height:100px;object-fit:contain;margin:auto;animation:one-pop .7s both}.one-demonstration{display:flex;flex-direction:column;align-items:center;gap:15px}.one-demonstration>img{width:115px;height:110px;object-fit:contain;animation:one-arrive .9s both;filter:drop-shadow(0 12px 7px #74562f55)}.one-number{background:#fff6d9;border-radius:25px;padding:8px 30px;box-shadow:0 6px 0 #d1a14e;direction:ltr;color:#087c79;animation:one-pop .7s .6s both}.one-number b{display:block;font-size:74px;line-height:1.1}.one-number span{font-size:22px;font-weight:bold;letter-spacing:3px}.one-tray{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;min-height:84px;width:100%;padding:8px;background:#ffefc79e;border-radius:25px;box-shadow:0 5px 0 #cf9c57}.one-apple{width:61px;height:67px;padding:2px;background:transparent;border-radius:20px;touch-action:none;position:relative;transition:filter .2s}.one-apple img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 3px #6f3e3540)}.one-apple.dragging{z-index:20;transition:none;filter:drop-shadow(0 12px 8px #6e3a3160)}.one-basket{position:relative;width:95%;margin-top:60px;min-height:105px;border:6px solid #ae692f;border-top:10px solid #d09a50;border-radius:12px 12px 45px 45px;background:repeating-linear-gradient(0deg,#c28d47 0 8px,#b77937 8px 11px);box-shadow:0 12px 10px #78563738;display:flex;align-items:center;flex-direction:column}.one-basket:before{content:'';position:absolute;width:65%;height:67px;border:9px solid #af7135;border-bottom:0;border-radius:65px 65px 0 0;bottom:100%;pointer-events:none}.one-basket-fruit{display:flex;position:relative;min-height:65px}.one-basket span{background:#fff3d0;padding:3px 10px;font-size:12px;border-radius:10px;margin-bottom:8px}.one-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:100%}.one-choices button{background:#fff8df;color:#127774;border:3px solid #e3ba72;border-radius:22px;box-shadow:0 6px 0 #c4924e;min-width:78px;min-height:85px;font-size:44px;font-weight:bold;animation:one-pop .4s both}.one-plates{gap:15px}.one-plates button{width:100%;min-height:72px;border-radius:45%;padding:10px;font-size:0}.one-plates button span{display:flex;justify-content:center;gap:4px}.one-plates img{width:43px;height:43px;object-fit:contain}.one-words{flex-direction:column;align-items:center}.one-words button{font-size:23px;width:85%;min-height:64px;letter-spacing:2px}.one-dialogue{position:relative;background:#fffaf0f5;border:2px solid #fff9e5;border-radius:25px;padding:14px 18px 10px;box-shadow:0 8px 28px #68471f30;margin-top:3px}.one-speaker{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:bold;color:var(--teal)}.one-speaker button{background:#e7f2e8;border-radius:16px;color:#17665f;font-size:12px;min-height:36px;padding:6px 12px}.one-dialogue p{font-size:16px;line-height:1.75;margin:8px 0 4px;font-weight:bold}.one-feedback{font-size:13px;line-height:1.6;min-height:24px;color:#a45820}.one-feedback.good{color:#15705b}.one-primary{width:100%;margin-top:9px;padding:13px 18px;min-height:53px;background:#087c79;color:#fff;border-radius:17px;box-shadow:0 5px 0 #075752;font-weight:bold!important;display:flex;justify-content:space-between;align-items:center}.one-primary span{font-size:24px}.one-audio-note{display:block;text-align:center;font-size:9px;color:#817b69;margin-top:13px}.one-replay{display:block;background:transparent;color:#166963;margin:8px auto 0;font-size:13px!important}.one-finale{text-align:center;width:100%}.one-stars{display:block;direction:ltr;color:#f9b721;font-size:35px;text-shadow:0 3px 0 #a46220;animation:one-pop .8s both}.one-boat{width:175px;height:170px;position:relative;margin:20px auto 0;animation:one-sail 4s ease-in-out infinite}.one-sail{position:absolute;top:0;left:30px;background:#fff5cf;clip-path:polygon(100% 0,100% 100%,0 100%);width:90px;height:110px;font-size:46px;font-weight:bold;text-align:right;padding:17px 8px 0;color:#107f7a;border-right:5px solid #a66b35}.one-sail small{display:block;font-size:14px;line-height:1}.one-boat img{position:absolute;width:45px;height:50px;object-fit:contain;bottom:21px;left:85px}.one-hull{position:absolute;bottom:0;left:0;right:0;height:42px;background:linear-gradient(#ba7c3b,#7a4229);clip-path:polygon(0 0,100% 0,83% 100%,17% 100%);border-top:8px solid #daac61}.one-finale p{font-size:12px;font-weight:bold;background:#fff8da;border-radius:20px;padding:10px}.one-speaking .one-katkoot{animation:one-bob .6s ease-in-out infinite}@keyframes one-bob{50%{transform:translateY(-7px) rotate(-1deg)}}@keyframes one-pop{from{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@keyframes one-arrive{from{opacity:0;transform:translate(70px,-60px) rotate(30deg)}to{opacity:1;transform:translate(0) rotate(0)}}@keyframes one-sail{50%{transform:translateX(-9px) rotate(-5deg)}}@media(min-height:850px){.one-stage{min-height:380px}.one-katkoot{max-height:330px}.one-dialogue{margin-bottom:15px}}@media(max-height:720px){.one-stage{min-height:260px}.one-intro{margin-top:14px}.one-katkoot{max-height:240px}.one-dialogue{padding:10px 14px}.one-dialogue p{font-size:14px}.one-feedback{min-height:20px}.one-play-area{padding-top:4px}.one-progress{margin-top:12px}}@media(prefers-reduced-motion:reduce){.one-adventure *{animation:none!important;transition:none!important}}
/* Override the base game's raised button shadow for movable fruit. */
.one-adventure .one-apple{box-shadow:none!important}.one-intro h1{display:inline-block;background:#fff6dded;border-radius:20px;padding:8px 15px;text-shadow:none;box-shadow:0 3px 12px #62532918}
