@font-face{font-family:"Baloo 2";font-style:normal;font-display:swap;font-weight:500;src:url(/assets/baloo-2-latin-500-normal-CmLZ27r7.woff2)format("woff2"),url(/assets/baloo-2-latin-500-normal-BSdEhq8m.woff)format("woff")}@font-face{font-family:"Baloo 2";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/baloo-2-latin-600-normal-tIfxVoAe.woff2)format("woff2"),url(/assets/baloo-2-latin-600-normal-B4tNaogw.woff)format("woff")}@font-face{font-family:"Baloo 2";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/baloo-2-latin-700-normal-CqTg7A15.woff2)format("woff2"),url(/assets/baloo-2-latin-700-normal-Ld3Zm3l2.woff)format("woff")}@font-face{font-family:"Baloo 2";font-style:normal;font-display:swap;font-weight:800;src:url(/assets/baloo-2-latin-800-normal-BbF3Etk1.woff2)format("woff2"),url(/assets/baloo-2-latin-800-normal-B8BXfZF7.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-400-normal-r8SDr6Up.woff2)format("woff2"),url(/assets/nunito-latin-400-normal-DKg4f3fz.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-latin-600-normal-Br8yIETf.woff2)format("woff2"),url(/assets/nunito-latin-600-normal-Cd0eNu1l.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2)format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(/assets/nunito-latin-800-normal-D-J0wlBY.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(/assets/nunito-latin-900-normal-BVB1fGs6.woff2)format("woff2"),url(/assets/nunito-latin-900-normal-CVn49sIn.woff)format("woff")}:root{color:#233d49;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#faf8f1;font-family:Nunito,sans-serif;font-weight:700}*{box-sizing:border-box}body{min-width:360px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:5px;outline:3px solid #167e8e}button{color:inherit;touch-action:manipulation}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:"Baloo 2",Trebuchet MS,sans-serif;line-height:1.12}svg{display:block}a{color:inherit}::selection{background:#fae4a5}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.adventure-heading{justify-content:space-between;align-items:center;gap:20px;padding:32px 4px 27px;display:flex}.adventure-heading h1{margin-top:12px;font-size:39px;line-height:1.07}.adventure-heading>div>p:last-child{color:#7a8779;margin-top:12px;font-size:13px}.journey-counter{background:#f1efdf;border:1px solid #e3dfcb;border-radius:18px;grid-template-columns:35px 1fr;align-items:center;column-gap:12px;padding:18px 24px;display:grid}.journey-counter>svg{color:#9a9e68;grid-row:span 2;width:31px;height:31px}.journey-counter>strong>span{color:#a1a78a;font-size:19px}.island-world{background:#b6dcd5;border:6px solid #fffdf6;border-radius:21px;outline:1px solid #d9e0d0;overflow:hidden;box-shadow:0 7px 25px #285b6020}.world-topline{background:#f2f3e7;border-bottom:1px solid #d7ddc6;justify-content:space-between;align-items:center;gap:14px;padding:14px 22px;display:flex}.world-topline>span{letter-spacing:1.6px;color:#6f8976;align-items:center;gap:9px;font-size:9px;display:flex}.world-topline>span:last-child{letter-spacing:0;font-size:10px}.world-topline svg{width:18px;height:18px}.world-topline i{background:#7b9a60;border-radius:50%;width:6px;height:6px}.world-viewport{scrollbar-width:thin;scrollbar-color:#79a59c #c4ded3;overscroll-behavior-x:contain;overflow:auto hidden}.world-board{aspect-ratio:1200/720;width:100%;min-width:800px;position:relative}.world-art{width:100%;height:100%;position:absolute;inset:0}.phase-node{z-index:2;color:#576a50;background:0 0;border:0;flex-direction:column;align-items:center;padding:0;display:flex;position:absolute;transform:translate(-50%,-50%)}.phase-circle{background:#fff1c2;border:4px solid #b69759;border-radius:50%;place-items:center;width:49px;height:49px;font-size:24px;font-weight:900;transition:box-shadow .2s,background .2s;display:grid;box-shadow:0 5px #8e7c4a3b}.current-phase .phase-circle{background:#ffd778;border-color:#9b753a;box-shadow:0 0 0 8px #fff9d870,0 5px #8e7c4a3b}.finished-phase .phase-circle{color:#52754a;background:#e1ebbf;border-color:#719260}.phase-node:hover .phase-circle{box-shadow:0 0 0 9px #fff7dc7d}.phase-sign{text-align:center;white-space:nowrap;background:#fff4d7;border:2px solid #b8a06a;border-radius:7px;width:174px;padding:8px 10px 9px;position:absolute;top:57px;transform:rotate(-3deg);box-shadow:0 4px #5d71542b}.phase-node:nth-of-type(2) .phase-sign{transform:rotate(3deg)}.phase-sign>small{letter-spacing:2px;color:#a18b5e;font-size:7px;display:block}.phase-sign>strong{margin-top:3px;font-family:"Baloo 2",sans-serif;font-size:17px;display:block}.phase-stars{color:#c5baa0;justify-content:center;gap:4px;margin-top:4px;font-size:16px;line-height:1;display:flex}.character-layer{pointer-events:none;z-index:3;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.is-walking .pirate-body{transform-origin:0 0;animation:.28s infinite alternate pirate-step}.final-treasure{z-index:4;color:#8b713d;white-space:nowrap;background:#fff0bd;border:1px solid #ab8b4a;border-radius:7px;align-items:center;gap:5px;padding:5px 10px;font-size:9px;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 3px #6f72482b}.final-treasure>svg{width:15px;height:15px}.treasure-ready{background:#ffe090;border-color:#b68f41;animation:2s infinite treasure-glow}.dock-label{letter-spacing:1.4px;color:#508a8c;font-size:8px;font-weight:900;position:absolute;top:94%;left:5.5%;transform:rotate(-8deg)}.world-bottomline{color:#7a8f75;background:#e5eee0;border-top:1px solid #c2d4be;justify-content:space-between;align-items:center;gap:12px;padding:13px 19px;font-size:10px;display:flex}.world-bottomline>span:first-child{align-items:center;gap:7px;display:flex}.world-bottomline svg{width:17px;height:17px}.mobile-map-hint{display:none}.phase-selector{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:19px;display:grid}.phase-selector>button{text-align:left;background:#f7f4e8;border:1px solid #e0ddcc;border-radius:12px;align-items:center;gap:12px;min-height:69px;padding:13px 17px;display:flex}.phase-selector>button>span:first-child{font-size:27px}.phase-selector>button>span:nth-child(2){flex-direction:column;gap:4px;display:flex}.phase-selector small{letter-spacing:1.6px;color:#a0926e;font-size:7px}.active-phase-choice strong{color:#52704d}.phase-done{color:#6d8c5b;margin-left:auto;font-size:16px}.phase-play-panel{background:#fffdf5;border:1px solid #e6dfc9;border-radius:15px;align-items:center;gap:19px;margin-top:16px;padding:23px 25px;display:flex}.phase-play-icon{background:#f4e8c8;border:1px solid #e6d4a9;border-radius:15px;flex-shrink:0;place-items:center;width:58px;height:58px;font-size:33px;display:grid}.phase-play-panel h2{margin-top:6px;font-size:28px}.phase-play-panel .eyebrow{letter-spacing:1.6px;font-size:8px}.phase-play-panel p:last-child{color:#8a947e;margin-top:6px;font-size:11px;line-height:1.6}.phase-play-panel>.primary{white-space:nowrap;margin-left:auto}.primary:disabled{opacity:.65;cursor:wait;transform:none}.journey-announcement{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.treasure-message{background:#f5eac8;border:1px solid #decc97;border-radius:14px;align-items:center;gap:20px;margin-top:17px;padding:22px;display:flex}.treasure-message>span{font-size:40px}.treasure-message h2{font-size:23px}.treasure-message p{color:#91815b;margin-top:8px;font-size:12px;line-height:1.7}.treasure-message>button{color:#9d8c64;background:0 0;border:0;align-self:flex-start;margin-left:auto;font-size:25px}@keyframes pirate-step{0%{transform:translateY(0)rotate(-3deg)}to{transform:translateY(-5px)rotate(3deg)}}@keyframes treasure-glow{50%{box-shadow:0 0 15px #ffe6a7}}@media (width<=1000px){.adventure-heading h1{font-size:35px}.phase-sign{width:156px}.phase-sign>strong{font-size:15px}.phase-sign{padding:6px 8px;top:52px}.phase-circle{width:43px;height:43px;font-size:21px}.phase-selector>button{gap:9px;padding:12px}.phase-selector strong{font-size:10px}.phase-selector>button>span:first-child{font-size:23px}.phase-play-panel{gap:15px;padding:20px}.phase-play-panel h2{font-size:25px}.phase-play-panel>.primary{padding:12px 18px;font-size:12px}.phase-play-panel p:last-child{max-width:300px}.mobile-map-hint{white-space:nowrap;display:block}.map-free-label{display:none}}@media (width<=600px){.adventure-heading{align-items:flex-end;gap:10px;padding:25px 0 23px}.adventure-heading h1{font-size:30px}.adventure-heading .eyebrow{letter-spacing:1.4px;font-size:7px}.adventure-heading>div>p:last-child{max-width:210px;font-size:11px;line-height:1.6}.journey-counter{border-radius:13px;flex-direction:column;gap:3px;min-width:78px;margin-bottom:3px;padding:12px;display:flex}.journey-counter>svg{width:20px;height:20px}.journey-counter>strong{font-size:23px}.journey-counter>strong>span{font-size:15px}.journey-counter>small{font-size:7px}.island-world{border-width:4px;border-radius:16px}.world-topline{gap:7px;padding:12px}.world-topline>span:first-child{letter-spacing:1px;gap:5px;font-size:8px}.world-topline>span:last-child{white-space:nowrap;text-overflow:ellipsis;max-width:130px;font-size:8px;overflow:hidden}.world-topline svg{width:14px;height:14px}.world-board{min-width:840px}.phase-circle{border-width:3px;width:40px;height:40px;font-size:20px}.phase-sign{width:154px;top:46px}.phase-sign>strong{font-size:15px}.phase-sign>small{font-size:7px}.phase-stars{font-size:15px}.world-bottomline{align-items:flex-start;gap:6px;padding:11px 10px;font-size:8px}.world-bottomline>span:first-child{gap:5px;max-width:208px;line-height:1.6}.world-bottomline svg{flex-shrink:0;width:14px;height:14px}.mobile-map-hint{font-size:8px;line-height:1.6}.phase-selector{gap:7px;margin-top:15px}.phase-selector>button{flex-direction:column;align-items:flex-start;gap:7px;min-height:98px;padding:10px 9px;position:relative}.phase-selector>button>span:nth-child(2){gap:5px}.phase-selector strong{font-size:10px;line-height:1.4}.phase-selector small{letter-spacing:1px;font-size:6px}.phase-selector>button>span:first-child{font-size:24px}.phase-done{font-size:13px;position:absolute;top:9px;right:8px}.phase-play-panel{flex-wrap:wrap;gap:12px;padding:17px}.phase-play-icon{border-radius:11px;width:43px;height:47px;font-size:27px}.phase-play-panel>div:nth-child(2){flex:1}.phase-play-panel .eyebrow{letter-spacing:1px;font-size:6px;line-height:1.7}.phase-play-panel h2{margin-top:4px;font-size:23px}.phase-play-panel p:last-child{margin-top:5px;font-size:10px}.phase-play-panel>.primary{width:100%;margin-top:6px;margin-left:0;font-size:13px}.treasure-message{align-items:flex-start;gap:12px;padding:17px}.treasure-message>span{font-size:29px}.treasure-message h2{font-size:22px}.treasure-message p{font-size:11px}.dock-label,.final-treasure{font-size:9px}}.phase-sign{white-space:normal;width:165px}.phase-sign>strong{font-size:15px;line-height:1.15}.phase-selector strong{line-height:1.35}@media (width<=600px){.phase-sign{width:150px}.phase-sign>strong{font-size:14px}.phase-selector>button{min-height:108px}}.visual-intro-icon{padding:25px 0 20px;font-size:95px;display:block}.visual-status{color:#8a947d;background:#efeedf;border-radius:10px;justify-content:space-between;gap:15px;margin:22px 0;padding:12px 15px;font-size:11px;display:flex}.puzzle-workspace{justify-content:center;align-items:center;gap:24px;display:flex}.puzzle-board{aspect-ratio:1;background:#e2e9d2;border:3px solid #9aaf8a;border-radius:12px;grid-template-columns:repeat(3,1fr);width:306px;max-width:65%;display:grid;position:relative;overflow:hidden}.puzzle-guide{opacity:.17;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.puzzle-slot{z-index:1;aspect-ratio:1;background:0 0;border:1px dashed #8ca37d;place-items:center;padding:0;display:grid;position:relative}.puzzle-slot:not(:disabled):hover{background-color:#fff5cf7a}.puzzle-slot>span{color:#7c8c6a;background:#ffffdfb0;border-radius:50%;place-items:center;width:27px;height:27px;font-size:13px;display:grid}.piece-placed,.puzzle-piece>span{background-image:url(/pirate-puzzle.svg);background-repeat:no-repeat;background-size:300% 300%}.puzzle-slot.piece-placed{border-color:#f8f2dc66}.puzzle-reference{width:128px;max-width:28%;margin:0;transform:rotate(4deg)}.puzzle-reference>img{border:5px solid #fff8e2;border-radius:8px;outline:1px solid #d8caa5;width:100%}.puzzle-reference figcaption{color:#9c8e66;margin-top:9px;font-size:10px}.puzzle-pieces{grid-template-columns:repeat(9,1fr);gap:7px;max-width:630px;margin:23px auto 0;display:grid}.puzzle-piece{aspect-ratio:1;background:#f8efda;border:2px solid #e0cca1;border-bottom-width:4px;border-radius:7px;padding:2px;position:relative;overflow:hidden}.puzzle-piece>span{border-radius:3px;width:100%;height:100%;display:block}.puzzle-piece.selected-piece{outline-offset:2px;border-color:#3e8376;outline:3px solid #9fbea0;transform:translateY(-4px)}.used-piece>span{opacity:.2;filter:grayscale()}.puzzle-piece>small{color:#548261;place-items:center;font-size:26px;font-weight:900;display:grid;position:absolute;inset:0}.flag-sequence{flex-wrap:wrap;justify-content:center;gap:9px;max-width:630px;margin:35px auto;display:flex}.signal-flag{color:#fff4d7;text-shadow:0 2px #1d454c20;border:2px solid #fff4dd55;border-radius:5px 5px 14px;place-items:center;width:57px;height:63px;font-size:30px;display:grid;box-shadow:0 4px #555b4820}.flag-blank{color:#91a17c;background:#edf0df;border:2px dashed #b4b99a;border-radius:7px;place-items:center;width:57px;height:63px;font-size:32px;display:grid}.flag-choices{justify-content:center;gap:14px;margin:25px auto;display:flex}.flag-choices>button{background:#fff8e6;border:2px solid #e5d8b5;border-bottom-width:5px;border-radius:12px;padding:9px;transition:transform .2s}.flag-choices>button:not(:disabled):hover{transform:translateY(-4px)}.flag-choices>.flag-retry{background:#f5e5cf;border-color:#cda27a}.route-clue{flex-wrap:wrap;justify-content:center;gap:9px;margin:20px auto;display:flex}.route-clue>span{color:#8a997c;background:#f6efd9;border:1px solid #ddd4b6;border-radius:9px;place-items:center;width:42px;height:40px;font-size:27px;display:grid}.hunt-board{border:5px solid #b2caab;border-radius:15px;grid-template-columns:repeat(5,1fr);width:295px;max-width:100%;margin:auto;display:grid;overflow:hidden;box-shadow:0 5px #59836920}.hunt-cell{aspect-ratio:1;color:#a9bb89;background:#e3ebc7;border:1px solid #a9bb87;place-items:center;font-size:29px;display:grid}.direction-controls{grid-template-rows:repeat(2,44px);grid-template-columns:repeat(3,48px);justify-content:center;gap:6px;margin:19px auto 0;display:grid}.direction-controls>button{color:#5b7c66;background:#eef0da;border:1px solid #aaa77c;border-bottom:4px solid #859574;border-radius:9px;place-items:center;font-size:29px;display:grid}.direction-controls>button:disabled{opacity:.5}.direction-up{grid-column:2}.direction-left{grid-area:2/1}.direction-down{grid-area:2/2}.direction-right{grid-area:2/3}.treasure-grid article:nth-child(n+4)>svg{display:none}@media (width<=560px){.visual-game .game-content h1{font-size:26px}.visual-intro-icon{padding:28px 0;font-size:80px}.visual-status{margin:20px 0;padding:10px;font-size:9px}.puzzle-workspace{gap:15px}.puzzle-board{width:237px;max-width:70%}.puzzle-reference{width:90px;max-width:24%}.puzzle-reference figcaption{font-size:9px}.puzzle-pieces{grid-template-columns:repeat(5,1fr);gap:9px;max-width:330px;margin-top:21px}.puzzle-piece{min-height:50px}.puzzle-slot>span{width:22px;height:22px;font-size:11px}.signal-flag,.flag-blank{width:40px;height:47px;font-size:23px}.flag-sequence{gap:6px;margin:28px auto}.flag-choices{gap:9px}.flag-choices>button{padding:7px}.route-clue{gap:7px}.route-clue>span{width:36px;height:36px;font-size:25px}.hunt-board{width:270px}.hunt-cell{font-size:26px}.direction-controls{margin-top:16px}.visual-game .game-feedback{line-height:1.8}}.treasure-game-image{object-fit:contain;border-radius:16px;width:100%;height:190px;margin:10px 0 17px;display:block}.treasure-game-icon{place-items:center;height:217px;font-size:88px;display:grid}.hunt-cell img{object-fit:contain;width:34px;height:46px;display:block}@media (width<=560px){.hunt-cell img{width:29px;height:41px}}.pwa-install{color:#8558bd;background:#f1e6ff;border:2px solid #dbc6f6;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid;position:relative}.pwa-install:hover{background:#e7d6fc}.pwa-update-dot{background:#f0ad3d;border:2px solid #fff;border-radius:50%;width:11px;height:11px;position:absolute;top:-2px;right:-2px}.pwa-dialog{text-align:center;width:460px;max-width:calc(100vw - 24px);max-height:90dvh;padding:28px;position:relative;overflow-y:auto}.pwa-app-icon{border-radius:22px;width:88px;height:88px;margin:0 auto 18px;display:block;box-shadow:0 5px #c0e7f3}.pwa-dialog h2{color:#8055b6;font-size:30px}.pwa-dialog>p{color:#7586a3;margin:15px 0;font-size:13px;line-height:1.8}.pwa-dialog>.primary{margin:6px auto 15px}.pwa-dialog>.secondary{margin-top:8px}.pwa-instructions{text-align:left;gap:12px;margin:21px 0;display:grid}.pwa-instructions section{background:#eef8ff;border:2px solid #d4e9f7;border-radius:17px;padding:15px}.pwa-instructions h3{color:#587eaa;font-size:21px}.pwa-instructions p{color:#6d83a0;margin-top:8px;font-size:12px;line-height:1.9}.pwa-dialog>.pwa-offline-note{color:#679065;background:#edf7e6;border-radius:12px;padding:12px;font-size:11px}.pwa-dialog>.pwa-error{color:#b76d43;background:#fff0dc;border-radius:12px;padding:12px;font-size:12px}@media (width<=560px){.pwa-install{border-width:1px;width:32px;height:34px}.pwa-install svg{width:18px}.header-actions:has(.pwa-install) .profile-button>span:nth-child(2){display:none}.pwa-dialog{padding:26px 20px}.pwa-dialog h2{font-size:27px}}.app-shell{max-width:1600px;margin:auto}.topbar{background:#fffdf8;border-bottom:1px solid #e7e5dc;justify-content:space-between;align-items:center;gap:22px;height:98px;padding:0 5%;display:flex}.brand{text-align:left;background:0 0;border:0;flex-shrink:0;align-items:center;gap:12px;font-family:"Baloo 2",sans-serif;font-size:19px;line-height:1.05;display:flex}.brand strong{font-size:25px;display:block}.brand-emblem{color:#f6e3b5;clip-path:polygon(50% 0,95% 16%,91% 75%,50% 100%,9% 75%,5% 16%);background:#31595b;place-items:center;width:47px;height:51px;display:grid}.brand-emblem svg{width:31px;height:31px}.topbar nav{align-self:stretch;gap:32px;display:flex}.topbar nav button{color:#7b8988;white-space:nowrap;background:0 0;border:0;align-items:center;gap:9px;font-size:14px;display:flex;position:relative}.topbar nav button.nav-active{color:#2c6866}.nav-dot{display:none}.nav-active .nav-dot{background:#dba951;border-radius:100%;width:5px;height:5px;display:block;position:absolute;bottom:15px;left:50%}.header-actions{align-items:center;gap:21px;display:flex}.sound-button{color:#71817c;background:0 0;border:1px solid #e7e5da;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.sound-button svg{width:18px}.profile-button{text-align:left;white-space:nowrap;background:0 0;border:0;align-items:center;gap:11px;font-size:14px;display:flex}.profile-button small{color:#90958a;margin-top:3px;font-size:10px;font-weight:600;display:block}.profile-button>svg{width:15px;margin-left:6px}.avatar{background:#f0e5cf;border:3px solid #fff;border-radius:50%;outline:1px solid #e9ddc6;place-items:center;width:43px;height:43px;font-size:24px;display:grid}main{max-width:1270px;margin:auto;padding:0 30px}.welcome{justify-content:space-between;align-items:center;min-height:306px;padding:38px 3px 20px;display:flex}.eyebrow{color:#957544;letter-spacing:2.5px;align-items:center;gap:9px;font-size:10px;font-weight:900;display:flex}.eyebrow>span{background:#d8b260;width:7px;height:7px;display:inline-block;transform:rotate(45deg)}h1{letter-spacing:-1px;color:#2c4e52;margin-top:11px;font-size:43px;font-weight:800}.intro{color:#7d857d;margin-top:13px;font-size:14px;font-weight:600;line-height:1.8}.welcome-tags{color:#7c877c;align-items:center;gap:22px;margin-top:20px;font-size:10px;display:flex}.welcome-tags>span{align-items:center;gap:7px;display:flex}.welcome-tags svg{color:#ad915e;width:15px;height:15px}.welcome-pirate{align-self:stretch;align-items:center;width:440px;display:flex;position:relative}.welcome-pirate>svg{width:315px;position:absolute;bottom:-7px;right:0}.speech-bubble{z-index:1;color:#7c836f;background:#fffef8;border:1px solid #e2ddcd;border-radius:15px 15px 3px;padding:14px 22px;font-size:12px;line-height:1.6;position:absolute;top:41px;left:-14px;transform:rotate(-5deg);box-shadow:0 4px #ece8da}.speech-bubble strong{color:#586e59;font-size:16px}.speech-bubble>span{color:#d3aa5c;font-size:23px;position:absolute;top:-16px;left:-21px}.section-top{justify-content:space-between;align-items:center;gap:15px;margin:10px 0 20px;display:flex}.section-top>div{align-items:center;gap:12px;display:flex}.section-icon{color:#7b8a77;background:#efede2;border-radius:10px;place-items:center;width:38px;height:40px;display:grid;transform:rotate(-5deg)}h2{letter-spacing:-.4px;font-size:25px;font-weight:700}.section-top p{color:#8b9187;margin-top:5px;font-size:11px;font-weight:600}.free-badge{color:#718362;white-space:nowrap;background:#eaf0df;border:1px solid #dde7cd;border-radius:20px;align-items:center;gap:7px;padding:8px 11px;font-size:10px;display:flex}.free-badge i{background:#7c9b5d;border-radius:50%;width:5px;height:5px}.map-container{border:7px solid #fffef9;border-radius:22px;outline:1px solid #e1e4d8;height:422px;position:relative;overflow:hidden;box-shadow:0 7px 18px #3e686407}.sea-map{width:100%;height:100%;position:absolute;inset:0}.map-caption{color:#5a8b8b;opacity:.85;letter-spacing:2px;align-items:center;gap:9px;font-size:9px;line-height:1.6;display:flex;position:absolute;top:24px;left:25px}.map-caption>svg{stroke-width:1px;width:34px;height:34px}.map-caption strong{letter-spacing:3px;font-size:12px}.map-coordinates{letter-spacing:2px;color:#629296;font-size:9px;position:absolute;top:22px;right:24px}.map-islands{height:100%;position:relative}.island-stop{background:0 0;border:0;flex-direction:column;align-items:center;width:27%;padding:0;transition:transform .25s;display:flex;position:absolute}.island-stop:hover{transform:translateY(-7px)}.island-stop:focus-visible{border-radius:25px}.stop-0{top:55px;left:5.5%}.stop-1{top:18px;left:36.5%}.stop-2{top:55px;right:5.5%}.island-art{width:100%;display:block;position:relative}.island-illustration{filter:drop-shadow(0 7px 3px #437b7c0c);width:100%}.island-number{color:#9c7b43;background:#fff4d8;border:3px solid #e9cfa4;border-radius:50%;place-items:center;width:29px;height:29px;font-size:10px;font-weight:900;display:grid;position:absolute;bottom:9%;left:43%;box-shadow:0 3px 3px #65756320}.stop-1 .island-number{color:#7a8d59;background:#f0f1d6;border-color:#b7c496}.stop-2 .island-number{color:#91749d;background:#ece1ef;border-color:#c4b2ce}.island-label{text-align:center;color:#55624b;background:#fffaf0;border:1px solid #e4d8be;border-radius:10px;min-width:190px;margin-top:-2px;padding:10px 18px 7px;font-family:"Baloo 2",sans-serif;font-size:21px;font-weight:800;line-height:1.2;display:block;position:relative;box-shadow:0 4px #668a8620}.island-label>span:not(.island-stars){color:#8a8d78;margin-top:3px;font-family:Nunito,sans-serif;font-size:10px;font-weight:600;display:block}.island-stars{color:#c8c0ac;justify-content:center;gap:4px;margin-top:5px;font-size:17px;line-height:1;display:flex}.stop-2 .island-label{color:#71607e}.map-hint{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:#6f887a;white-space:nowrap;background:#f9fcf0d9;border:1px solid #ebf2df;border-radius:20px;align-items:center;gap:7px;padding:8px 17px;font-size:10px;display:flex;position:absolute;bottom:17px;left:50%;transform:translate(-50%)}.map-hint>span{font-size:14px}.sea-label{color:#68979a;letter-spacing:.4px;opacity:.65;font-family:Georgia,serif;font-size:14px;font-style:italic;display:none;position:absolute;bottom:22px;right:26px}.adventure-bottom{grid-template-columns:1.3fr 1fr;gap:20px;margin:24px 0 30px;display:grid}.tip-card,.progress-card{text-align:left;background:#f4f3e9;border:1px solid #e7e4d3;border-radius:14px;align-items:center;gap:17px;min-height:103px;padding:20px 24px;display:flex}.tip-card{position:relative}.parrot{font-size:40px;transform:rotate(-10deg)}.small-label{letter-spacing:1.6px;color:#9c946f;font-size:8px;font-weight:900}.tip-card p{color:#6d775f;margin-top:6px;font-size:12px}.tip-card small{color:#959980;margin-top:5px;font-size:10px;font-weight:600;display:block}.tip-spark{color:#d1c399;font-size:18px;position:absolute;top:20px;right:20px}.progress-card{background:#fffdf5;gap:20px;transition:background .2s}.progress-star{color:#d5a348;background:#f9edcf;border:1px solid #eadbbb;border-radius:13px;flex-shrink:0;place-items:center;width:45px;height:45px;font-size:27px;display:grid}.progress-card>div{flex:1}.progress-card p{margin:6px 0;font-size:21px;font-weight:900;line-height:1.2}.progress-card p>span{color:#909382;font-size:10px;font-weight:600}.progress-track,.game-progress>div{background:#eeeadc;border-radius:20px;height:5px;overflow:hidden}.progress-track>span,.game-progress>div>span{background:#d2ad5f;border-radius:20px;height:100%;transition:width .3s;display:block}.progress-card>svg{color:#a9ac99;width:17px}footer{color:#a5a899;border-top:1px solid #e9e6dc;justify-content:space-between;max-width:1210px;margin:0 auto;padding:20px 0 26px;font-size:9px;font-weight:600;display:flex}footer>span{align-items:center;gap:8px;display:flex}footer svg{color:#8d9b88;width:15px;height:15px}.footer-star{color:#baa46b;margin-left:7px}.inner-page{min-height:750px;padding:55px 0 45px}.inner-page>p:not(.eyebrow){color:#7b877a;margin-top:18px;font-size:14px;line-height:1.7}.inner-page h1{margin-top:14px}.treasure-summary{background:#eed;border:1px solid #e0dfc8;border-radius:17px;align-items:center;gap:20px;margin-top:30px;padding:24px;display:flex}.treasure-summary>span{font-size:46px}.treasure-summary p{color:#7d866e;margin-top:7px;font-size:13px}.treasure-grid{grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px;display:grid}.treasure-grid article{text-align:center;background:#fffdf5;border:1px solid #e7e0cd;border-radius:20px;padding:15px 20px 27px}.treasure-grid article>svg{height:190px}.treasure-grid h2{font-size:24px}.treasure-grid p{color:#8c907a;margin:12px 0 21px;font-size:12px}.large-stars{color:#d4d1c1;letter-spacing:5px;margin-top:10px;font-size:30px}.primary{color:#fff7df;background:#356f69;border:1px solid #2c635e;border-bottom:4px solid #265852;border-radius:12px;justify-content:center;align-items:center;gap:14px;min-height:50px;padding:13px 24px;font-size:14px;font-weight:800;transition:background .2s,transform .2s;display:inline-flex}.primary:hover{background:#285e58;transform:translateY(-1px)}.primary svg{width:18px}.secondary{background:#fbf7eb;border:1px solid #dfd6bf;border-radius:12px;min-height:50px;padding:13px 24px}.guide-steps{grid-template-columns:repeat(4,1fr);gap:20px;margin:40px 0;display:grid}.guide-steps article{background:#fffdf5;border:1px solid #e9e2cf;border-radius:16px;padding:23px}.guide-steps article>span{margin-bottom:17px;font-size:33px;display:block}.guide-steps h2{font-size:23px}.guide-steps p{color:#88907e;margin-top:12px;font-size:13px;line-height:1.8}.grownup-note{background:#eeeee5;border-radius:14px;max-width:850px;margin-top:36px;padding:25px}.grownup-note h3{font-size:21px}.grownup-note p{color:#808872;margin-top:9px;font-size:12px;line-height:1.9}.storage-notice{background:#fff0c5;border-radius:12px;margin-top:15px;padding:13px;font-size:12px}dialog{color:#2c4e52;background:#fcfaf2;border:1px solid #e0dccd;border-radius:24px;padding:0;box-shadow:0 30px 100px #173e4a40}.profile-dialog{width:460px;max-width:calc(100vw - 28px);max-height:90svh}.profile-dialog-body{padding:34px;position:relative}.close-button{color:#88907d;background:0 0;border:0;font-size:29px;position:absolute;top:12px;right:17px}.profile-dialog h2{margin-top:12px;font-size:32px}.profile-dialog-body>p:not(.eyebrow){color:#8b937d;margin-top:8px;font-size:12px}.profile-list{gap:8px;margin:23px 0;display:grid}.profile-list>button{text-align:left;background:#fffdf6;border:1px solid #e5e0cf;border-radius:12px;align-items:center;gap:12px;min-height:58px;padding:11px 14px;display:flex}.profile-list>button>span:first-child{font-size:26px}.profile-list strong{overflow-wrap:anywhere;font-size:14px}.profile-list small{color:#b18c41;white-space:nowrap;margin-left:auto;font-size:12px}.selected-check{color:#557b67;font-size:17px}.selected{background:#eef2e5!important;border-color:#759780!important}.profile-dialog form{border-top:1px dashed #ddd9c8;padding-top:20px}.profile-dialog h3{font-size:23px}.profile-dialog fieldset{border:0;margin:16px 0;padding:0}.profile-dialog legend,.profile-dialog label{color:#7f8876;margin-bottom:8px;font-size:11px;display:block}.avatar-choices{gap:10px;display:flex}.avatar-choices button{background:#f6f2e5;border:1px solid #e4dfcf;border-radius:12px;width:53px;height:49px;font-size:25px}.profile-dialog input{color:#445e55;background:#fffdf8;border:1px solid #dcd8c7;border-radius:10px;width:100%;padding:12px;font-size:13px}.profile-dialog .primary{width:100%;margin-top:17px}.form-error{color:#a85c43;margin-top:9px;font-size:11px}.game-dialog{width:850px;max-width:calc(100vw - 28px);min-height:560px;max-height:94svh}.game-top{background:#f3f1e5;border-bottom:1px solid #e8e2d2;justify-content:space-between;align-items:center;gap:15px;padding:20px 28px;display:flex}.game-top>span{color:#899277;align-items:center;gap:7px;font-size:11px;display:flex}.game-top svg{width:15px}.back-button{color:#577b6d;background:0 0;border:0;align-items:center;gap:8px;padding:6px;font-size:12px;display:flex}.back-button>span{font-size:20px}.game-content{text-align:center;padding:27px 40px 35px}.game-content h1{outline:none;font-size:35px}.game-intro{flex-direction:column;align-items:center;display:flex}.game-intro>.island-illustration{width:250px;margin:-5px 0 -4px}.game-intro h1{margin:0}.game-intro>p:not(.eyebrow){color:#7e8976;margin-top:12px;font-size:14px;line-height:1.7}.game-instructions{color:#718067;background:#eeefe1;border-radius:13px;max-width:440px;margin:18px 0 24px;padding:15px 20px;font-size:13px;line-height:1.8}.game-intro small,.game-result>small{color:#949883;margin-top:18px;font-size:11px;display:block}.game-progress{color:#8b937b;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px;font-size:10px;display:flex}.game-progress>div{background:#e5e6d6;flex:1;max-width:260px}.question-instruction{color:#839076;margin-top:15px;font-size:13px;line-height:1.8}.counting-area{justify-content:center;align-items:center;gap:20px;min-height:95px;margin:25px auto 15px;display:flex}.counting-group{background:#f0ecda;border:1px dashed #d8c9a1;border-radius:14px;flex-wrap:wrap;place-content:center;gap:10px;max-width:280px;min-height:90px;padding:15px 20px;display:flex}.counting-group>span{font-size:34px;display:inline-block;position:relative}.taken-away{opacity:.3;filter:grayscale()}.taken-away:after{content:"";background:#886448;height:3px;position:absolute;top:50%;left:0;right:0;transform:rotate(-40deg)}.counting-plus{color:#ac9871;font-size:35px}.equation{color:#66795f;margin:10px 0;font-family:"Baloo 2",sans-serif;font-size:41px}.equation>span{color:#b4883f;background:#f3e6bf;border-radius:10px;min-width:57px;padding:0 15px;display:inline-block}.answer-options{justify-content:center;gap:17px;margin:22px 0;display:flex}.answer-options>button{background:#fff9e7;border:2px solid #ddcfab;border-bottom:5px solid #d4bf90;border-radius:14px;place-items:center;width:84px;height:74px;font-family:"Baloo 2",sans-serif;font-size:36px;font-weight:700;transition:transform .2s,background .2s;display:grid}.answer-options>button:hover:not(:disabled){background:#f6eccd;transform:translateY(-3px)}.answer-options>button.retry-answer{background:#f8e7d1;border-color:#dcaf83}.answer-options>button:disabled:not(.correct-answer){opacity:.45}.game-feedback{color:#ab8155;min-height:26px;margin:18px auto;font-size:13px;line-height:1.8}.word-emoji{margin-top:16px;font-size:68px;line-height:1.3;display:block}.word-tiles{justify-content:center;gap:7px;margin:22px 0;display:flex}.word-tiles>span{background:#efeddd;border-bottom:3px solid #d9d6bd;border-radius:10px;place-items:center;width:50px;height:59px;font-family:"Baloo 2",sans-serif;font-size:30px;font-weight:700;display:grid}.memory-grid{grid-template-columns:repeat(4,1fr);gap:12px;width:440px;max-width:100%;margin:24px auto 16px;display:grid}.memory-card{background:#7f9c99;border:2px solid #69918d;border-bottom:5px solid #567f7b;border-radius:13px;place-items:center;height:87px;transition:background .2s,transform .2s;display:grid;position:relative}.memory-card:not(:disabled):hover{background:#70938f;transform:translateY(-3px)}.memory-card svg{color:#e0e6ce;stroke-width:1.5px;width:30px;height:30px}.memory-card>span{font-size:35px}.memory-card>small{color:#72915f;font-size:13px;position:absolute;top:3px;right:6px}.game-result{padding:16px 0 15px}.game-result>.eyebrow{justify-content:center}.result-trophy{margin:25px 0 13px;font-size:84px;display:block}.game-result>p:not(.eyebrow){color:#829075;margin-top:16px;font-size:13px;line-height:1.9}.result-stars{letter-spacing:10px;color:#dfdbc9;margin:18px 0;font-size:65px}.result-stars>.earned{animation:.6s both star-pop;display:inline-block}.result-stars>.earned:nth-child(2){animation-delay:.15s}.result-stars>.earned:nth-child(3){animation-delay:.3s}.game-result>.result-message{max-width:420px;margin:0 auto!important}.game-result>.score-rule{color:#939680!important;font-size:10px!important}.result-actions{justify-content:center;gap:12px;margin-top:26px;display:flex}.game-content .primary{margin-inline:auto}.save-note{font-size:11px!important}.guide>.primary{margin-top:0}@keyframes star-pop{0%{opacity:0;transform:scale(.4)rotate(-20deg)}to{opacity:1;transform:scale(1)rotate(0)}}@media (width>=1400px){.topbar{padding-inline:max(5%,50% - 635px)}.welcome{min-height:323px;padding-top:42px}.map-container{height:453px}.stop-0{top:57px}.stop-1{top:22px}.stop-2{top:83px}.island-label{font-size:23px}h1{font-size:47px}}@media (width<=1100px){.topbar{gap:16px;padding:0 25px}.topbar nav{gap:17px}.topbar nav button{gap:7px;font-size:12px}.topbar nav svg{width:18px}.header-actions{gap:13px}.profile-button small{display:none}.profile-button>svg{margin-left:0}.brand{font-size:16px}.brand strong{font-size:22px}.brand-emblem{width:40px;height:45px}.welcome-pirate{width:350px}.welcome-pirate>svg{width:290px}.speech-bubble{padding:11px 15px;top:44px;left:-5px}h1{font-size:39px}.welcome-tags{gap:13px;font-size:9px}.island-label{min-width:174px;padding:10px 13px 8px;font-size:19px}.map-container{height:390px}.stop-0{top:78px}.stop-1{top:30px}.stop-2{top:90px}.sea-label{display:none}.adventure-bottom{grid-template-columns:1.25fr 1fr;gap:13px}.tip-card,.progress-card{gap:12px;padding:17px 16px}.tip-card p{font-size:11px}.tip-card small{font-size:9px}.small-label{letter-spacing:1.2px;font-size:7px}footer{margin-inline:30px}.guide-steps{grid-template-columns:repeat(2,1fr)}}@media (width<=800px){.topbar{align-items:flex-start;height:128px;padding:14px 24px 0;position:relative}.topbar nav{justify-content:space-around;gap:12px;height:47px;position:absolute;bottom:0;left:24px;right:24px}.topbar nav button{padding:0 5px;font-size:12px}.nav-active .nav-dot{bottom:4px}.header-actions{padding-top:2px}.profile-button{font-size:12px}.avatar{width:36px;height:36px;font-size:21px}.sound-button{width:33px;height:33px}.brand-emblem{width:38px;height:41px}.brand{font-size:15px}.brand strong{font-size:21px}.welcome{min-height:288px;padding-top:28px}.welcome h1{font-size:35px}.welcome-pirate{align-self:stretch;width:255px}.welcome-pirate>svg{width:245px;bottom:-5px;right:-23px}.speech-bubble{padding:7px 11px;font-size:9px;top:-5px;left:40px;transform:rotate(4deg)}.speech-bubble strong{font-size:12px}.welcome-tags{flex-direction:column;align-items:flex-start;gap:14px;margin-top:13px}.intro{font-size:12px;line-height:1.6}.section-top h2{font-size:22px}.section-top p{font-size:10px}.free-badge{padding:7px 9px;font-size:8px}.section-icon{display:none}.island-stop{width:31%}.stop-0{top:96px;left:1%}.stop-1{top:40px;left:34.5%}.stop-2{top:105px;right:1%}.island-label{min-width:150px;padding:9px;font-size:16px}.island-label>span:not(.island-stars){font-size:9px}.map-caption{font-size:7px;top:18px;left:17px}.map-caption strong{font-size:10px}.map-caption>svg{width:27px}.map-coordinates{font-size:7px}.map-container{height:370px}.adventure-bottom{grid-template-columns:1fr 1fr}.tip-card{gap:10px}.tip-card p{font-size:10px;line-height:1.6}.parrot{font-size:29px}.tip-card small{font-size:9px;line-height:1.5}.tip-spark{display:none}.progress-card{gap:12px}.progress-star{width:34px;height:36px;font-size:23px}.progress-card>svg{display:none}.progress-card .small-label{line-height:1.5;display:block}.progress-card p>span{font-size:9px}footer{gap:20px;font-size:8px;line-height:1.7}.treasure-grid{gap:12px}.treasure-grid article{padding:8px 12px 22px}.treasure-grid h2{font-size:20px}.treasure-grid article>svg{height:155px}.treasure-grid .primary{gap:7px;padding:10px 13px;font-size:11px}.inner-page h1{font-size:35px}.game-content{padding:25px}.game-content h1{font-size:31px}.game-dialog{min-height:520px}.game-top{padding:13px 20px}.game-top>span{font-size:9px}}@media (width<=560px){main{padding:0 20px}.topbar{gap:10px;padding-inline:17px}.topbar nav{left:12px;right:12px}.brand{gap:7px;font-size:13px}.brand strong{font-size:19px}.brand-emblem{width:34px;height:39px}.brand-emblem svg{width:25px}.profile-button{gap:7px}.profile-button>svg{width:12px}.header-actions{gap:7px}.profile-button small{display:none}.profile-button>span:nth-child(2){text-overflow:ellipsis;max-width:80px;overflow:hidden}.sound-button{border:0;width:27px}.welcome{align-items:flex-start;min-height:330px;padding-top:27px;padding-bottom:20px}.welcome h1{letter-spacing:-.7px;z-index:1;font-size:32px;position:relative}.eyebrow{letter-spacing:2px;font-size:8px}.welcome-pirate{pointer-events:none;width:140px;height:206px;position:absolute;top:240px;right:15px}.welcome-pirate>svg{width:168px;bottom:3px;right:-5px}.speech-bubble{display:none}.intro{max-width:255px;margin-top:14px;font-size:11px;line-height:1.8}.desktop-break{display:none}.welcome-tags{gap:8px;max-width:210px;margin-top:19px;font-size:8px}.welcome-tags svg{width:13px}.section-top{flex-direction:column;align-items:flex-start;gap:11px;margin-top:0;margin-bottom:16px}.section-top h2{font-size:23px}.section-top p{font-size:10px}.free-badge{align-self:flex-start;font-size:8px}.map-container{border-width:5px;border-radius:20px;height:840px}.sea-map{object-fit:cover;width:100%;height:100%}.map-caption{top:18px;left:15px}.map-coordinates{top:22px;right:13px}.island-stop{width:245px}.stop-0{top:64px;left:calc(50% - 140px)}.stop-1{top:293px;left:calc(50% - 100px)}.stop-2{top:533px;right:calc(50% - 105px)}.island-art{width:230px}.island-label{min-width:204px;margin-top:-15px;padding-bottom:9px;font-size:21px}.island-label>span:not(.island-stars){font-size:10px}.island-number{width:27px;height:27px;font-size:9px}.map-hint{padding:8px 12px;font-size:9px;bottom:13px}.adventure-bottom{grid-template-columns:1fr;gap:12px;margin-top:19px}.tip-card,.progress-card{gap:17px;min-height:94px;padding:18px}.tip-card p{font-size:12px}.tip-card small{font-size:10px}.parrot{font-size:35px}.small-label{font-size:8px}.progress-star{width:42px;height:42px;font-size:29px}.progress-card p>span{font-size:11px}.progress-card>svg{display:block}footer{flex-direction:column;align-items:center;gap:10px;margin-inline:20px;padding:20px 0;font-size:8px}.inner-page{min-height:650px;padding-top:32px}.inner-page h1{font-size:32px}.inner-page>p:not(.eyebrow){font-size:12px}.treasure-grid{grid-template-columns:1fr;gap:17px;margin-top:20px}.treasure-grid article{padding:12px 20px 25px}.treasure-grid article>svg{height:190px}.treasure-grid h2{font-size:26px}.treasure-grid .primary{padding:12px 20px;font-size:13px}.treasure-summary{gap:15px;padding:20px}.treasure-summary h2{font-size:26px}.treasure-summary>span{font-size:35px}.guide-steps{grid-template-columns:1fr;gap:14px;margin:25px 0}.guide-steps article{padding:20px}.guide-steps article>span{margin-bottom:12px}.guide-steps p{font-size:12px}.profile-dialog-body{padding:27px 22px}.profile-dialog h2{font-size:29px}.game-dialog{border-radius:18px;max-width:calc(100vw - 16px);min-height:600px;max-height:96svh}.game-top{gap:6px;padding:12px}.game-top>span{gap:4px;font-size:8px}.game-top>span svg{display:none}.back-button{gap:5px;font-size:10px}.game-content{padding:22px 16px 29px}.game-content h1{font-size:28px}.game-progress{gap:8px;margin-bottom:22px;font-size:8px}.game-progress>div{max-width:110px}.game-intro>.island-illustration{width:235px}.game-intro>p:not(.eyebrow){font-size:12px}.game-instructions{padding:15px;font-size:12px}.primary,.secondary{padding:12px 18px;font-size:12px}.question-instruction{font-size:12px}.counting-area{gap:10px;margin-top:23px}.counting-group{gap:5px;max-width:200px;padding:10px}.counting-group>span,.counting-plus{font-size:27px}.equation{font-size:37px}.answer-options{gap:12px}.answer-options>button{width:74px;height:68px;font-size:33px}.word-emoji{margin-top:20px;font-size:65px}.word-tiles{gap:4px}.word-tiles>span{border-radius:7px;width:39px;height:52px;font-size:25px}.game-feedback{min-height:40px;font-size:11px}.memory-grid{gap:8px;margin-top:21px}.memory-card{height:75px}.memory-card>span{font-size:29px}.result-stars{letter-spacing:5px;font-size:54px}.result-trophy{font-size:75px}.result-actions{flex-direction:column;align-items:stretch;margin-top:22px}.result-actions>.primary{margin-inline:0}.game-result>p:not(.eyebrow){font-size:12px}.game-result>.score-rule{font-size:8px!important}.game-content .eyebrow{font-size:8px}}:root{--ink:#354978;--purple:#7b52ca;--purple-dark:#593698;--ocean:#168ec4;--stage:#b56c20;--stage-soft:#fff0cf;--stage-edge:#ebbc60;color:var(--ink);background:#f0faff}body{background:radial-gradient(circle at 7% 16%,#dff5ff 0 110px,#0000 111px),radial-gradient(circle at 97% 44%,#e5f7d4 0 150px,#0000 151px),#f0faff}h1,h2,h3{color:var(--ink)}h1>span{color:#df692e}button{transition:transform .18s,background .18s,box-shadow .18s}button:focus-visible,input:focus-visible,a:focus-visible{outline-offset:4px;outline:4px solid #8a51dd}.topbar{background:#fff;border-bottom:4px solid #d9eef7;height:104px}.brand{color:#6050a4}.brand strong{color:#2d83af}.brand-emblem{color:#fff1a7;background:#8a60d3;width:52px;height:57px}.topbar nav{align-items:center;gap:14px}.topbar nav button{color:#667aa1;border-radius:16px;padding:13px 16px;font-size:14px}.topbar nav button:hover{background:#f2edff}.topbar nav button.nav-active{color:#7351b8;background:#eee6ff;box-shadow:0 4px #ddd0f8}.nav-active .nav-dot{display:none}.sound-button{color:#2385ad;background:#e9f8ff;border:2px solid #cbe8f5;width:42px;height:42px}.profile-button{color:#55669a}.profile-button small{color:#7c8fa7}.avatar{background:#ffe6a0;outline:2px solid #f8c769}.eyebrow{color:#7b55b5;letter-spacing:1.8px;font-size:11px}.eyebrow>span{background:#eeab39;border-radius:3px;width:9px;height:9px}.adventure-heading{padding:30px 6px 28px;position:relative}.adventure-heading h1{color:#38557c;text-shadow:0 3px #fff;font-size:44px}.adventure-heading h1>span{color:#dc6a34}.adventure-heading>div>p:last-child{color:#637e9a;font-size:15px}.journey-counter{background:#fff3c4;border:3px solid #ffe29b;border-radius:24px;padding:19px 25px;transform:rotate(3deg);box-shadow:0 6px #edce7d55}.journey-counter>svg{color:#c59124;width:35px;height:35px}.journey-counter>strong{color:#99701f;font-size:32px}.journey-counter>strong>span{color:#b09345}.journey-counter>small{color:#8a732f;font-size:12px}.island-world{background:#70d3f0;border:8px solid #fff;border-radius:30px;outline:2px solid #b6deef;box-shadow:0 9px #cce7f2,0 18px 35px #2088bc13}.world-topline{background:#edfaff;border-bottom:2px solid #c5eaf6;padding:16px 23px}.world-topline>span{color:#28799c;letter-spacing:1px;font-size:12px;font-weight:900}.world-topline>span:last-child{background:#fff;border-radius:16px;padding:6px 10px;font-size:11px}.world-topline i{background:#61bc67;width:7px;height:7px}.world-viewport{scrollbar-color:#49a8d1 #d5f5ff}.world-bottomline{color:#3e819c;background:#e9faff;border-top:2px solid #b9e5f2;padding:14px 21px;font-size:12px}.map-free-label{color:#448767;font-size:11px}.dock-label{color:#226c94;font-size:9px}[data-game=math],.game-math{--stage:#a96512;--stage-soft:#fff2cc;--stage-edge:#f2b746}[data-game=words],.game-words{--stage:#278958;--stage-soft:#e8f9d9;--stage-edge:#87cd6a}[data-game=memory],.game-memory{--stage:#7d4ac1;--stage-soft:#f1e6ff;--stage-edge:#b897ef}[data-game=puzzle],.visual-puzzle{--stage:#c35f39;--stage-soft:#ffeadb;--stage-edge:#f3a077}[data-game=patterns],.visual-patterns{--stage:#217da9;--stage-soft:#def6ff;--stage-edge:#69c5e7}[data-game=hunt],.visual-hunt{--stage:#b34679;--stage-soft:#ffe5ef;--stage-edge:#e994b6}.phase-node{color:var(--stage)}.phase-circle{background:var(--stage-soft);outline:3px solid var(--stage-edge);color:var(--stage);border:4px solid #fff;width:51px;height:51px;font-size:26px;box-shadow:0 6px #40576330}.current-phase .phase-circle{color:#8b661d;background:#ffe279;border-color:#fff;box-shadow:0 0 0 9px #fff8c578,0 6px #40576330}.finished-phase .phase-circle{background:var(--stage);color:#fff;border-color:#fff}.phase-node:hover .phase-circle{transform:scale(1.09);box-shadow:0 0 0 10px #ffffff80}.phase-sign{outline:2px solid var(--stage-edge);background:var(--stage-soft);border:3px solid #fff;border-radius:15px;width:172px;padding:9px 9px 10px;top:61px;box-shadow:0 5px #42656b35}.phase-sign>small{color:var(--stage);letter-spacing:1.2px;font-size:8px}.phase-sign>strong{color:var(--stage);font-size:16px;line-height:1.1}.phase-stars{color:#b2b4c2;margin-top:6px;font-size:18px}.earned{text-shadow:0 2px #a86a1520;color:#dca122!important}.final-treasure{color:#9c681b;background:#ffedab;border:2px solid #fff7cf;border-radius:12px;outline:2px solid #e3b54b;padding:7px 11px;font-size:10px;box-shadow:0 4px #9e773533}.treasure-ready{background:#ffe17b}.character-layer{filter:drop-shadow(0 3px #fff6cf70)}.phase-selector{gap:15px;margin-top:25px}.phase-selector>button{background:var(--stage-soft);outline:1px solid var(--stage-edge);border:2px solid #fff;border-bottom:5px solid var(--stage-edge);border-radius:20px;min-height:83px;padding:15px 17px}.phase-selector>button:hover{transform:translateY(-3px)}.phase-selector>button>span:first-child{background:#ffffffb3;border-radius:14px;flex-shrink:0;place-items:center;width:46px;height:46px;font-size:29px;display:grid}.phase-selector small{color:var(--stage);letter-spacing:1px;font-size:9px}.phase-selector strong{color:var(--stage);font-size:14px}.phase-selector>.active-phase-choice{background:var(--stage-soft);border-color:var(--stage-edge);box-shadow:0 0 0 3px #fff, 0 0 0 6px var(--stage-edge)}.phase-done{color:var(--stage);background:#ffffffb3;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.phase-play-panel{border:2px solid #d6eaf5;border-bottom:6px solid var(--stage-edge);background:#fff;border-radius:24px;margin-top:22px;padding:25px}.phase-play-icon{border:2px solid var(--stage-edge);background:var(--stage-soft);border-radius:21px;width:67px;height:67px;font-size:38px;transform:rotate(-6deg)}.phase-play-panel .eyebrow{color:var(--stage);letter-spacing:1.2px;font-size:10px}.phase-play-panel h2{color:var(--stage);font-size:30px}.phase-play-panel p:last-child{color:#6d819a;font-size:13px}.primary{color:#fff;background:#8256d2;border:2px solid #7042be;border-bottom:6px solid #5d329c;border-radius:18px;min-height:55px;padding:13px 25px;font-size:16px;box-shadow:inset 0 2px #ffffff30,0 4px #654a9b10}.primary:hover:not(:disabled){background:#9364e0;transform:translateY(-2px)}.primary:active:not(:disabled){box-shadow:none;transform:translateY(3px)}.secondary{color:#7652aa;background:#f5edff;border:2px solid #d6c3f1;border-bottom:5px solid #c9b0e8;border-radius:18px;font-size:15px}.secondary:hover{background:#ede0ff}.tip-card{background:#e3f8e9;border:2px solid #c4e8ce;border-bottom:5px solid #a7d8b8;border-radius:20px}.tip-card p{color:#397e5b;font-size:14px}.tip-card small{color:#57896c;font-size:12px}.small-label{color:#608967;letter-spacing:1px;font-size:10px}.tip-spark{color:#e2af37}.progress-card{background:#fff5d2;border:2px solid #f2dea2;border-bottom:5px solid #e7ca77;border-radius:20px}.progress-card:hover{background:#fff0b9}.progress-star{color:#b67b10;background:#ffe58c;border:2px solid #f6cb56;border-radius:15px}.progress-card .small-label{color:#9d7a26}.progress-card p>span{color:#9d8345;font-size:12px}.progress-track{background:#f0dfaa;height:8px}.progress-track>span{background:#ecb537}footer{color:#6c8a9c;border-color:#d6e9f2;font-size:11px}footer svg{color:#7c64b4}.footer-star{color:#d6a12e}dialog{color:var(--ink);background:#fffdf8;border:5px solid #fff;border-radius:30px;box-shadow:0 12px #23458230,0 30px 100px #113d7750}dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#294c83ad}.game-top{background:#ecf7ff;border-bottom:2px solid #d1e8f7;padding:16px 22px}.game-top>span{color:#6279a5;background:#fff;border-radius:12px;padding:7px 10px;font-size:12px}.back-button{color:#6474a5;background:#fff;border:2px solid #dbe7f7;border-bottom:4px solid #ccdced;border-radius:13px;padding:7px 12px;font-size:12px}.game-content h1{color:var(--stage,#5364a1);font-size:37px}.game-intro .eyebrow,.game-result .eyebrow{color:#8860b5}.game-intro>p:not(.eyebrow){color:#6f80a0;font-size:15px}.game-instructions{background:var(--stage-soft,#f0e8ff);outline:1px solid var(--stage-edge,#dac5f5);color:#69779b;border:2px solid #fff;border-radius:20px;font-size:14px}.game-intro small,.game-result>small{color:#7a89a5;font-size:12px}.visual-intro-icon{text-shadow:0 6px #dac7f040}.game-progress,.visual-status{color:#687da6;font-size:12px}.game-progress>div{background:#e4ddf5;height:8px}.game-progress>div>span{background:#a77bdc}.visual-status{background:var(--stage-soft);border:2px solid var(--stage-edge);color:var(--stage);border-radius:15px;padding:11px 14px}.question-instruction{color:#7183a5;font-size:15px}.counting-group{background:#fff2cd;border:2px dashed #edbf59;border-radius:20px}.equation{color:#6e64a1}.equation>span{color:#a17320;background:#ffe490;border-radius:16px}.answer-options>button{color:#7e55b1;background:#f0e6ff;border:3px solid #dcc5f7;border-bottom:6px solid #b291df;border-radius:20px}.answer-options>button:hover:not(:disabled){background:#e7d7fc}.answer-options>button.correct-answer{color:#40843c;background:#d6f5b8;border-color:#94cb67}.answer-options>button.retry-answer{color:#b96b3b;background:#ffe9d6;border-color:#eab087}.word-tiles>span{color:#5487bc;background:#edf6ff;border-bottom:4px solid #bfd9f3;border-radius:13px}.word-tiles>.missing-letter{color:#a57c22;background:#fff0b1;border:3px dashed #d2ab37}.memory-card{background:#9a6cda;border:3px solid #ad87e9;border-bottom:6px solid #7649b7;border-radius:18px;box-shadow:inset 0 2px #ffffff3b}.memory-card:not(:disabled):hover{background:#ab7ce7}.memory-card svg{color:#fff0c4}.memory-card.revealed{background:#fff1c4;border-color:#ecc85e}.memory-card.matched{background:#ddf4be;border-color:#99c97a}.memory-card>small{color:#4f8c4c}.game-feedback{color:#ac7546;font-size:14px}.positive-feedback{color:#4a8a66}.puzzle-board{background:#e6f8ff;border:4px solid #70beda;border-radius:18px;box-shadow:0 5px #a9d8e8}.puzzle-slot{border-color:#8dbfd0}.puzzle-slot>span{color:#6993af;background:#ffffffcf}.puzzle-piece{background:#fff1e4;border-color:#eead8e #eead8e #d78b64;border-radius:11px}.puzzle-piece.selected-piece{border-color:#9661d0;outline-color:#d1b8f0}.puzzle-piece>small{color:#4b9d68}.puzzle-reference>img{border-color:#fff0bc;border-radius:12px;outline:2px solid #f1cf6d}.puzzle-reference figcaption{color:#9d7a2d;font-size:12px}.flag-choices>button{background:#f0e8ff;border-color:#d9c0f6 #d9c0f6 #b599d9;border-radius:18px}.flag-choices>.flag-correct{background:#ddf7c4;border-color:#94c873}.flag-blank{color:#ad8528;background:#fff1b7;border-color:#e4b64b}.signal-flag{border:3px solid #ffffff8a;border-radius:9px 9px 19px}.route-clue>span{color:#4b8dba;background:#e7f5ff;border:2px solid #badcf3;border-radius:12px}.route-clue>.route-current{color:#9e7821;background:#ffe887;border:2px solid #ebbf3e;box-shadow:0 0 0 3px #fff3bf}.route-clue>.route-followed{color:#5d9248;background:#dff4c4;border-color:#a9d583}.hunt-board{border:5px solid #56b1cf;border-radius:20px;box-shadow:0 6px #398eab}.hunt-cell{color:#83bb66;background:#d4f1aa;border-color:#a9d78b}.hunt-cell:nth-child(2n){background:#c2e88f}.hunt-cell.pirate-cell{background:#ffe99a;box-shadow:inset 0 0 0 3px #ebbc49}.hunt-cell.treasure-cell{background:#fff0b9}.direction-controls>button{color:#8658b9;background:#f1e7ff;border:2px solid #c9a7ed;border-bottom:5px solid #a57ad2;border-radius:13px}.direction-controls>button:not(:disabled):hover{background:#e6d3ff}.game-result>p:not(.eyebrow){color:#7483a3;font-size:14px}.game-result>.score-rule{color:#7d8aa8!important}.result-stars{color:#c9d7e4}.result-trophy{filter:drop-shadow(0 6px #f2d28350)}.treasure-summary{color:#8357b5;background:#f1e6ff;border:3px solid #e5cbfa;border-radius:23px}.treasure-summary h2{color:#8357b5}.treasure-summary p{color:#9976bb}.treasure-grid article{background:#fff;border:3px solid #dae9f4;border-bottom:7px solid #c3d9eb;border-radius:25px}.treasure-grid article:nth-child(3n+1){background:#fff9ed;border-color:#f4d69d}.treasure-grid article:nth-child(3n+2){background:#f5fff0;border-color:#c8e9c1}.treasure-grid article:nth-child(3n){background:#faf5ff;border-color:#dccaf5}.treasure-grid p,.inner-page>p:not(.eyebrow){color:#758aa4}.guide-steps article{background:#fff;border:3px solid #d8e9f6;border-bottom:6px solid #bedbea;border-radius:22px}.guide-steps article:nth-child(2n){background:#fff6df;border-color:#f0dc9b}.guide-steps p{color:#7888a2}.grownup-note{background:#e7f4ff;border:2px solid #d0e6f7;border-radius:20px}.grownup-note p{color:#7285a1}.treasure-message{background:#fff1bd;border:3px solid #f0d775;border-radius:22px}.profile-list>button{background:#faf6ff;border:2px solid #e5d8f8;border-radius:16px}.profile-list>button.selected{background:#f0e4ff!important;border-color:#bb93e3!important}.profile-dialog h2{color:#8556b9}.profile-dialog label,.profile-dialog legend,.profile-dialog-body>p:not(.eyebrow){color:#7e83a1}.profile-dialog input{background:#f7f2ff;border:2px solid #dfcef4;border-radius:14px}.avatar-choices button{background:#fff5d6;border:2px solid #e5d4fa;border-radius:14px}@media (width<=1100px){.topbar nav{gap:4px}.topbar nav button{padding:11px 12px;font-size:12px}.adventure-heading h1{font-size:39px}.phase-selector strong{font-size:12px}.phase-selector>button{gap:10px;padding:13px}.phase-selector>button>span:first-child{width:38px;height:40px;font-size:25px}}@media (width<=800px){.topbar{height:138px;padding-top:15px}.topbar nav{height:53px;bottom:6px}.topbar nav button{border-radius:13px;padding:10px 14px;font-size:12px}.brand-emblem{width:42px;height:47px}.adventure-heading h1{font-size:37px}.phase-play-panel p:last-child{font-size:12px}.game-content h1{font-size:32px}}@media (width<=560px){.topbar{padding-inline:14px}.brand{font-size:13px}.brand strong{font-size:20px}.brand-emblem{width:36px;height:42px}.sound-button{border:1px solid #cbe8f5;width:31px;height:34px}.profile-button{gap:7px}.profile-button>span:nth-child(2){max-width:65px}.topbar nav{gap:3px;left:10px;right:10px}.topbar nav button{gap:5px;padding:10px;font-size:11px}.topbar nav svg{width:16px}.adventure-heading{align-items:center;padding:24px 0}.adventure-heading h1{font-size:30px}.adventure-heading .eyebrow{letter-spacing:1px;font-size:8px}.adventure-heading>div>p:last-child{max-width:210px;font-size:12px}.journey-counter{border-radius:19px;min-width:80px;padding:11px}.journey-counter>strong{font-size:25px}.journey-counter>small{font-size:8px}.journey-counter>svg{width:25px;height:25px}.island-world{border-width:5px;border-radius:23px}.world-topline{gap:7px;padding:11px}.world-topline>span{letter-spacing:.5px;font-size:9px}.world-topline>span:last-child{max-width:136px;padding:5px 7px;font-size:8px}.world-bottomline{padding:12px 10px;font-size:9px}.mobile-map-hint{font-size:9px}.phase-circle{border-width:3px;width:43px;height:43px;font-size:22px}.phase-sign{border-radius:13px;width:151px;padding:7px 6px;top:51px}.phase-sign>strong{font-size:14px}.phase-sign>small{font-size:7px}.phase-stars{font-size:16px}.phase-selector{gap:10px;margin-top:21px}.phase-selector>button{border-radius:16px;gap:9px;min-height:123px;padding:10px 8px}.phase-selector>button>span:first-child{border-radius:12px;width:37px;height:38px;font-size:26px}.phase-selector small{font-size:8px}.phase-selector strong{font-size:11px;line-height:1.25}.phase-done{width:17px;height:17px;top:9px;right:5px}.phase-play-panel{border-radius:22px;gap:13px;padding:18px}.phase-play-icon{border-radius:15px;width:46px;height:49px;font-size:29px}.phase-play-panel .eyebrow{letter-spacing:.5px;font-size:8px}.phase-play-panel h2{font-size:24px}.phase-play-panel p:last-child{font-size:11px}.primary{border-radius:16px;min-height:53px;padding:12px 18px;font-size:14px}.phase-play-panel>.primary{font-size:15px}.tip-card p{font-size:12px}.tip-card small{font-size:11px}.small-label{font-size:9px}.progress-card p>span{font-size:11px}footer{font-size:9px}dialog{border-width:3px;border-radius:24px}.game-top{gap:7px;padding:11px 9px}.game-top>span{max-width:48%;padding:6px 7px;font-size:9px}.back-button{gap:5px;padding:6px 8px;font-size:10px}.game-content h1,.visual-game .game-content h1{font-size:28px}.game-intro>p:not(.eyebrow),.game-instructions{font-size:13px}.game-intro small,.game-result>small{font-size:11px}.game-progress,.visual-status{font-size:10px}.question-instruction{font-size:13px}.game-feedback{font-size:12px}.puzzle-board{border-radius:14px}.puzzle-reference figcaption{font-size:10px}.visual-status{padding:10px}.memory-card{border-radius:15px}.word-tiles>span{border-radius:10px}}@media (prefers-reduced-motion:reduce){button:hover,.phase-node:hover .phase-circle{transform:none}}.adventure-map-section{padding:25px 0 32px}.confirmation-actions{justify-content:center;align-items:stretch;gap:12px;display:flex}.confirmation-actions>.primary{margin-inline:0}.game-intro>.play-confirmation-question{color:#7454a0;font-size:18px;font-weight:900}.treasure-dialog{text-align:center;width:470px;max-width:calc(100vw - 28px);padding:30px}.treasure-dialog-icon{margin-bottom:17px;font-size:64px;display:block}.treasure-dialog h2{color:#9c782c;font-size:29px}.treasure-dialog p{color:#7b85a0;margin:17px 0 24px;font-size:14px;line-height:1.8}@media (width<=560px){.adventure-map-section{padding:18px 0 24px}.confirmation-actions{flex-direction:column;gap:11px;width:100%}.confirmation-actions>button{width:100%}.game-intro>.play-confirmation-question{font-size:17px}.treasure-dialog{padding:25px 20px}.treasure-dialog h2{font-size:26px}}.map-screen{background:#32b7e6;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:0;display:flex;overflow:hidden}.map-screen .topbar{z-index:2;background:linear-gradient(#fff9df,#ffedb1);border-bottom:4px solid #edcc78;flex:0 0 82px;height:82px;min-height:0;padding:0 clamp(18px,4vw,70px);position:relative;box-shadow:0 5px #1588b522}.map-screen .brand-emblem{width:44px;height:49px}.map-screen .topbar nav button{background:#ffffff7d}.map-screen .topbar nav .nav-active{background:#eadcff}.map-screen .profile-button small{color:#897a5f}.map-screen main{flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:0;position:relative}.map-screen .adventure-map-section{height:100%;padding:0}.map-screen .island-world{width:100%;height:100%;box-shadow:none;background:#32b7e6;border:0;border-radius:0;outline:0;position:relative;overflow:hidden}.map-screen .world-viewport{scrollbar-width:thin;scrollbar-color:#b8f0f8 #32b7e6;width:100%;height:100%;display:flex;overflow:auto hidden}.map-screen .world-board{aspect-ratio:auto;flex:none;min-width:0;margin:auto;position:relative}.world-stage{transform-origin:0 0;width:1200px;height:720px;position:absolute;top:0;left:0}.map-screen .world-topline{z-index:1;pointer-events:none;background:0 0;border:0;padding:0;position:absolute;top:16px;left:18px}.map-screen .world-topline>span:first-child{background:#e8fcffc9;border:2px solid #b7ebf4;border-radius:15px;padding:9px 12px;font-size:11px}.map-screen .world-topline>span:last-child{display:none}.map-screen .world-bottomline{z-index:1;white-space:nowrap;pointer-events:none;background:#edfcffdb;border:1px solid #b6e8f0;border-radius:18px;padding:8px 13px;font-size:10px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.map-screen .map-free-label{display:none}.map-screen .storage-notice{z-index:4;margin:0;position:absolute;top:8px;left:20px;right:20px}.map-screen .topbar{flex-basis:calc(82px + env(safe-area-inset-top,0px));height:calc(82px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);padding-left:max(18px, env(safe-area-inset-left,0px));padding-right:max(18px, env(safe-area-inset-right,0px))}.map-screen .world-bottomline{bottom:max(12px, env(safe-area-inset-bottom,0px))}.map-screen .world-topline{left:max(18px, env(safe-area-inset-left,0px))}@media (width<=800px){.map-screen .topbar{flex-basis:calc(120px + env(safe-area-inset-top,0px));height:calc(120px + env(safe-area-inset-top,0px));padding-top:calc(11px + env(safe-area-inset-top,0px))}.map-screen .topbar nav{height:45px;bottom:6px}.map-screen .brand-emblem{width:37px;height:41px}.map-screen .world-topline{top:10px;left:12px}.map-screen .world-topline>span:first-child{padding:7px 9px;font-size:9px}.map-screen .world-bottomline{gap:8px;font-size:9px;bottom:12px}.map-screen .world-bottomline>span:first-child{max-width:none}}@media (width<=560px){.map-screen .topbar{padding-left:max(12px, env(safe-area-inset-left,0px));padding-right:max(12px, env(safe-area-inset-right,0px))}.map-screen .brand-emblem{width:33px;height:38px}.map-screen .world-bottomline{gap:6px;padding:7px 10px;font-size:8px}.map-screen .mobile-map-hint{font-size:8px}}@media (height<=500px) and (width>=561px){.map-screen .topbar{flex-basis:calc(64px + env(safe-area-inset-top,0px));height:calc(64px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);align-items:center}.map-screen .topbar nav{align-self:auto;height:auto;position:static}.map-screen .topbar nav button{padding:8px 10px}.map-screen .brand{font-size:13px}.map-screen .brand strong{font-size:18px}.map-screen .brand-emblem{width:33px;height:38px}.map-screen .profile-button small{display:none}.map-screen .world-topline{top:7px}.map-screen .world-bottomline{padding:5px 10px;bottom:5px}}
