:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:#234b42;font-synthesis:none;font-weight:500;background:#91d9d2}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #e2843e;outline-offset:4px}[hidden]{display:none!important}#game{width:100%;height:100dvh;min-height:520px;position:relative;overflow:hidden}#world{position:absolute;inset:0;width:100%;height:100%;outline:none;touch-action:none}#world:focus-visible{outline:3px solid #fff3bd;outline-offset:-4px}.topbar{position:absolute;left:32px;right:32px;top:24px;display:flex;align-items:center;justify-content:space-between;gap:18px;pointer-events:none}.topbar>*{pointer-events:auto}.back{display:flex;align-items:center;gap:15px;text-decoration:none;color:#234b42;font-weight:800;font-size:12px}.brand-mark{width:48px;height:42px;display:grid;place-items:center;border:2px solid #325d4d;background:#fff9dc;border-radius:14px 14px 14px 4px;letter-spacing:-1px;font-size:17px}.back-copy{background:#fffdf2b8;padding:10px 13px;border-radius:24px}.top-label{font-size:10px;font-weight:900;letter-spacing:2.4px;margin-right:30px;background:#fffdf2b0;padding:11px 17px;border-radius:24px}.tools{display:flex;gap:8px}.tool{background:#fffdf2e8;border:1px solid #ffffff80;border-radius:50%;width:41px;height:41px;color:#315647;display:grid;place-items:center;box-shadow:0 4px 15px #1b706b12}.tool:hover{background:#fff7da;transform:translateY(-1px)}.tool svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.panel{background:#fffcf1f5;border:1px solid #fffbed;border-radius:25px;box-shadow:0 15px 60px #26594a12}.welcome{position:absolute;left:6%;top:17%;width:340px;padding:30px 31px 23px;background:#fffaf0ed}.eyebrow{font-size:9px;font-weight:900;letter-spacing:1.7px;display:flex;gap:8px;align-items:center;color:#65816a}.tiny-star{color:#dc8b3b;font-size:17px}.welcome h1{font-size:66px;line-height:.96;letter-spacing:-4.5px;margin:18px 0 20px;font-weight:900;color:#2e5944}.welcome h1>span:first-child{color:#438771}.title-dot{color:#eaa65a}.welcome p{font-size:15px;line-height:1.65;color:#65816a;margin:0 0 23px}.mission-preview{display:flex;align-items:center;gap:12px;margin:18px 0 22px}.gem-icon{color:#40bfb5;display:inline-block;text-shadow:2px 2px 0 #1d8e8a;font-size:32px}.mission-preview strong{font-size:13px;display:block}.mission-preview small{display:block;color:#738674;font-size:11px;margin-top:5px}.primary{border:0;border-radius:14px;background:#326b50;color:#fffaf0;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;width:100%;font-weight:800;font-size:14px;box-shadow:0 5px 0 #244e3a;transition:transform .15s,background .15s}.primary:hover:not(:disabled){background:#24573d;transform:translateY(-2px)}.primary span{font-size:22px;font-weight:400;line-height:12px}.start-hint{font-size:10px;color:#8b9480;text-align:center;margin:17px 0 23px}.start-hint span{font-weight:800;font-size:9px;letter-spacing:.5px}.start-hint b{margin:0 9px}.mini-map{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8ead8;padding-top:17px;color:#a49a73;font-size:9px;gap:6px}.mini-map b{font-weight:800;color:#65806a;margin-left:3px}.mini-map i{height:1px;background:#d7dec9;flex:1}.hud{position:absolute;top:95px;left:32px;padding:21px 23px;width:282px;border-radius:20px}.hud .eyebrow{font-size:8px}.count-line{display:flex;gap:10px;align-items:center;margin:10px 0 12px}.count-line strong{font-size:32px;letter-spacing:-1px}.count-line>span:last-child{font-size:12px;color:#7f8d76}.progress{height:7px;border-radius:10px;background:#e8e9da;overflow:hidden}.progress>div{height:100%;width:0;background:#58b4a0;transition:width .3s;border-radius:10px}.hud p{font-size:10px;margin:12px 0 16px;color:#6b8068;line-height:1.5}.island-progress{display:flex;justify-content:space-between;font-size:8px;color:#7a8b70;gap:12px}.island-progress b{display:block;font-size:11px;color:#375d46;margin-top:3px}.corner-note{position:absolute;left:6%;bottom:90px;display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.8px;font-weight:800;color:#285f54;background:#fffdf1bb;padding:10px 13px;border-radius:20px}.status-dot{width:6px;height:6px;background:#568d57;border-radius:50%}.bottom-bar{position:absolute;bottom:0;left:0;right:0;height:68px;background:#fffcf1e8;border-top:1px solid #fff8d8;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.game-label b{display:block;font-size:10px;letter-spacing:1.6px}.game-label>span{display:block;font-size:8px;color:#9aa18c;margin-top:5px}.key-guide{display:flex;align-items:center;gap:4px;font-size:9px;color:#83917b}.key-guide>span{margin:0 14px 0 6px}kbd{font-family:inherit;font-size:9px;font-weight:800;background:#f0f0e2;border:1px solid #dadfcc;border-bottom-width:2px;padding:5px 7px;border-radius:5px;color:#59705b}.help{border:0;background:none;color:#52725d;font-weight:800;font-size:13px;padding:10px}.help span{font-size:10px;margin-left:7px}.toast{position:absolute;bottom:92px;left:50%;transform:translate(-50%,10px);background:#fffbea;color:#30654f;padding:13px 24px;border-radius:25px;box-shadow:0 8px 40px #245d4f25;font-weight:800;font-size:13px;max-width:85%;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.map{position:absolute;right:30px;bottom:93px;width:163px;padding:14px 14px 5px;border-radius:20px;background:#fffaf0d9}.map-title{display:block;text-align:center;font-size:7px;font-weight:900;letter-spacing:1.5px;color:#7a9076}.map svg{width:100%;height:110px;overflow:visible}.map path{stroke:#c5b589;stroke-width:1;stroke-dasharray:2 1;fill:none}.map circle{fill:#b6d891;stroke:#f8e7ac;stroke-width:1.2}.map #map-player{fill:#254f47;stroke:white;stroke-width:.6}.map #map-gems circle{fill:#36b7af;stroke:white;stroke-width:.25}.modal-wrap{position:absolute;inset:0;background:#24584f55;backdrop-filter:blur(6px);display:grid;place-items:center;z-index:10;padding:20px}.modal{max-width:410px;width:100%;text-align:center;padding:32px}.modal .eyebrow{justify-content:center}.modal-icon{font-size:42px;color:#ddac45;margin-bottom:12px}.modal h2{font-size:33px;margin:12px 0 15px;letter-spacing:-1.3px}.modal p{font-size:14px;line-height:1.75;color:#75836c;margin:0 0 24px}.modal .primary{justify-content:center;margin-top:22px}.secondary{background:none;border:0;font-size:12px;color:#64826c;padding:16px 10px 0}.modal-extra{font-size:12px;color:#53745c}.help-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;align-items:center;text-align:left;font-size:12px;color:#69806b;margin:22px 0}.help-grid kbd{width:max-content}.error{position:absolute;inset:20% auto auto 50%;transform:translateX(-50%);padding:25px;max-width:400px;width:90%;z-index:20}.error h2{font-size:24px}.error p{line-height:1.6}.touch-controls{position:absolute;bottom:85px;left:22px;right:22px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}.touch-controls button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;border:2px solid #fff8e5c0;color:#3c6a54;background:#fffbedde;box-shadow:0 4px 12px #23574820;font-size:25px;font-weight:800;border-radius:15px}.touch-controls button:active,.touch-controls button.held{background:#f9d577;transform:translateY(2px)}.dpad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,39px);gap:3px}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.dpad button:last-child{grid-column:2;grid-row:3}#jump{width:76px;height:76px;border-radius:50%;font-size:30px}#jump span{display:block;font-size:9px;letter-spacing:1px}.touch-mode .key-guide{display:none}.touch-mode .corner-note{display:none}.touch-mode .map{bottom:240px;width:120px;right:20px}.touch-mode .map svg{height:76px}@media(min-width:1500px){.welcome{left:8%;top:20%}}@media(max-width:1000px){.welcome{left:4%;width:300px;padding:25px}.welcome h1{font-size:58px}.top-label{display:none}.hud{width:245px}.map{width:130px}.key-guide>span{margin-right:7px}.back-copy{display:none}}@media(max-height:720px){.welcome{top:95px;padding:22px 26px;width:304px}.welcome h1{font-size:55px;margin:12px 0}.welcome p{font-size:13px;margin-bottom:14px}.mission-preview{margin:12px 0 17px}.mini-map{padding-top:12px}.start-hint{margin:14px 0 17px}.corner-note{display:none}.hud{top:85px;padding:16px 20px}}@media(max-width:600px){#game{min-height:500px}.topbar{top:15px;left:17px;right:17px}.tools{gap:6px}.tool{width:36px;height:36px}.brand-mark{width:43px;height:38px;font-size:15px}.welcome{top:92px;left:20px;width:270px;padding:23px}.welcome h1{font-size:54px}.welcome p{font-size:12px;line-height:1.55}.welcome .eyebrow{font-size:7px}.welcome .primary{font-size:13px}.mission-preview{margin:15px 0}.mission-preview strong{font-size:12px}.mission-preview small{font-size:10px}.mini-map{display:none}.start-hint{font-size:8px;margin-bottom:0}.bottom-bar{height:55px;padding:0 20px}.game-label b{font-size:8px}.game-label>span{font-size:7px}.key-guide{display:none}.help{font-size:15px}.help span{font-size:9px}.hud{top:75px;left:17px;width:220px;padding:15px 18px}.hud .eyebrow{font-size:7px}.count-line{margin:6px 0}.count-line strong{font-size:26px}.hud p{font-size:9px;margin:9px 0 10px}.island-progress{font-size:7px}.island-progress b{font-size:10px}.map{right:15px;width:105px;padding:10px 10px 0;bottom:245px}.map svg{height:76px}.toast{bottom:235px;width:max-content;max-width:90%;font-size:11px;padding:11px 18px}.touch-controls{bottom:73px;left:17px;right:17px}.modal{padding:26px}.modal h2{font-size:29px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.credits{font-size:8px;line-height:1.8;color:#87927c;margin-top:18px}
