:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:#253e3d;background:#edf6ee;font-synthesis:none;--ink:#253e3d;--orange:#ce572f;--teal:#266e67;--cream:#fffdf5;--line:#dedfd0}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #d15b32;outline-offset:4px}button{border:0}button:hover{filter:brightness(.98)}button:active{transform:translateY(1px)}[hidden]{display:none!important}#world{position:relative;width:100%;height:100dvh;min-height:420px;overflow:hidden;isolation:isolate}#town{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.topbar{position:absolute;inset:max(18px,env(safe-area-inset-top)) 28px auto;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.topbar button{pointer-events:auto}.brand{display:flex;align-items:center;gap:9px;background:#fffdf5ed;border:1px solid #ffffff;border-radius:18px;padding:10px 17px;box-shadow:0 5px 20px #32584909;text-align:left}.brand img{object-fit:contain;width:28px;height:34px}.brand>span{font-size:24px;font-weight:800;letter-spacing:-1px;line-height:.9}.word-world{display:block;font-size:10px;letter-spacing:3.4px;margin-top:7px;color:#66817a}.top-actions{display:flex;align-items:center;gap:10px}.icon-button,.map-button{height:48px;background:var(--cream);border:1px solid #fff;border-radius:16px;box-shadow:0 4px 18px #294f4010;display:flex;align-items:center;justify-content:center;gap:9px}.icon-button{width:48px}.map-button{padding:0 19px;font-size:15px;font-weight:700}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.location-chip{position:absolute;left:30px;top:115px;display:flex;gap:8px;align-items:center;font-size:14px;font-weight:700}.sun-dot{width:9px;height:9px;border-radius:50%;background:#cc8e3b;box-shadow:0 0 0 4px #ffdc7a44}.prototype{font-size:9px;letter-spacing:1px;color:#607b74;border-left:1px solid #a5c9bc;margin-left:3px;padding-left:9px}.hunt-chip{position:absolute;right:28px;top:108px;display:flex;align-items:center;gap:10px;border-radius:18px;background:#fffdf5ed;border:1px solid #fff;padding:10px 15px;box-shadow:0 4px 18px #294f4010;text-align:left;font-size:12px}.hunt-chip strong{display:block;font-size:16px;margin-top:2px}.hunt-star{color:#d49a38;font-size:31px}#notice{position:absolute;top:170px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);text-align:center;background:#fffdf5f5;border:1px solid white;border-radius:18px;padding:12px 20px;box-shadow:0 8px 28px #254b4020;font-size:15px;opacity:0;pointer-events:none;transition:opacity .2s}#notice.visible{opacity:1}.bottom-area{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:28px;right:28px;display:flex;justify-content:space-between;align-items:end;gap:16px;pointer-events:none}.bottom-area button{pointer-events:auto}.walk-controls{display:flex;gap:10px;padding:7px;background:#fffdf5b8;border:1px solid #fff;border-radius:25px;backdrop-filter:blur(8px)}.walk-controls button{width:60px;height:60px;background:var(--cream);border:1px solid #dedfd0;border-radius:18px;box-shadow:0 3px 0 #c6d4bf}.walk-controls svg{width:30px;height:30px}.jump-button{display:flex;align-items:center;justify-content:center;gap:8px;background:#d15b32;color:white;min-width:120px;height:74px;border-radius:25px;border:5px solid #fff8;box-shadow:0 4px 0 #ad4d2e;font-size:17px;font-weight:700}.bottom-note{text-align:center;color:#416b59;font-size:13px;line-height:1.4;padding-bottom:9px}.bottom-note span{display:block}.bottom-note button{background:none;text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:8px}.intro-tag{position:absolute;bottom:117px;left:50%;transform:translateX(-50%);color:#3e6958;font-size:13px;white-space:nowrap}.nearby{position:absolute;bottom:151px;left:50%;transform:translateX(-50%);display:flex;gap:18px;align-items:center;padding:9px 10px 9px 20px;border-radius:22px;background:#fffdf5f5;box-shadow:0 8px 30px #244c3520;max-width:calc(100% - 32px);white-space:nowrap;border:1px solid white}.nearby>span{font-size:15px;font-weight:700}.nearby button{padding:13px 19px;border-radius:14px;background:var(--teal);color:white;font-weight:700;font-size:14px}dialog{border:1px solid #e2e2d4;border-radius:28px;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 36px);padding:28px;background:var(--cream);color:var(--ink);box-shadow:0 25px 100px #173b3340;overflow:auto}dialog::backdrop{background:#244a3a55;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.tiny-label{font-size:10px;letter-spacing:1.8px;color:#9c593e;font-weight:800}.close{width:36px;height:36px;border-radius:50%;background:#f0efe5;font-size:26px;font-weight:400;flex-shrink:0}.welcome{width:min(460px,calc(100vw - 32px));text-align:center;padding:31px 34px}.welcome>.close{position:absolute;right:14px;top:14px}.welcome .tiny-label{font-size:9px;padding-right:10px}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-1.4px;line-height:1.08}h1{font-size:43px;margin:18px 0 14px}h1 em{font-style:normal;color:var(--teal)}h2{font-size:35px;margin:20px 0 14px}dialog p{font-size:15px;line-height:1.65;color:#61746c;margin:0 0 20px}.primary,.secondary{width:100%;min-height:48px;border-radius:15px;font-size:15px;font-weight:700;padding:14px 16px}.primary{background:var(--teal);color:white;box-shadow:0 3px 0 #174c46}.secondary{background:transparent;color:#61746c;margin-top:9px}.welcome-foot{display:block;font-size:11px;color:#7a887c;margin-top:17px}.pilot-row{display:flex;justify-content:center;gap:12px;margin:22px 0}.pilot-row button{width:62px;height:65px;border:2px solid transparent;border-radius:17px;background:#eeeede;display:grid;place-items:center}.pilot-row button[aria-pressed=true]{border-color:var(--teal);background:#e1eee4}.pilot-face{width:33px;height:40px;background:#e28652;border-radius:16px 16px 11px 11px;position:relative;box-shadow:inset 0 -11px #ce572f}.pilot-face:before{content:'';position:absolute;width:24px;height:20px;background:#f6d6b0;top:5px;left:4px;border-radius:11px}.pilot-face:after{content:'••';position:absolute;font-family:Arial;letter-spacing:5px;font-size:10px;left:10px;top:9px;color:#283b37}.teal{background:#68aba2;box-shadow:inset 0 -11px #377b74}.purple{background:#a196c9;box-shadow:inset 0 -11px #74669d}.welcome-art{height:90px;width:170px;margin:18px auto 0;position:relative}.welcome-sun{position:absolute;width:48px;height:48px;background:#f3c86e;border-radius:50%;right:15px;top:0}.mini-house{position:absolute;width:62px;height:46px;background:#f3c394;left:39px;top:40px;border-radius:6px}.mini-house:before{content:'';position:absolute;left:-8px;top:-25px;border-left:39px solid transparent;border-right:39px solid transparent;border-bottom:30px solid #d16c4a}.mini-house:after{content:'';position:absolute;width:17px;height:29px;background:#488d83;bottom:0;left:25px;border-radius:12px 12px 0 0}.mini-tree{position:absolute;width:39px;height:43px;border-radius:50%;background:#87b687;left:0;top:29px}.mini-tree:after{content:'';position:absolute;width:7px;height:26px;background:#b88758;top:29px;left:17px}.mini-path{position:absolute;height:5px;border-radius:50%;background:#c9d7b8;bottom:0;left:-10px;width:190px}.place-list{display:grid;gap:9px;margin-top:20px}.place-list button{display:flex;gap:13px;align-items:center;border:1px solid #dcded0;border-radius:17px;padding:13px;background:#f7f6ed;text-align:left}.place-list .place-icon{width:45px;height:45px;display:grid;place-items:center;background:#e1e9d8;border-radius:13px;color:#487b69}.place-icon svg{width:30px;height:30px}.place-list strong{display:block;font-size:16px}.place-list small{font-size:12px;color:#718174;display:block;margin-top:4px}.place-list .place-status{margin-left:auto;font-size:10px;letter-spacing:.7px;color:#806a4f;background:#eee9d8;padding:5px;border-radius:5px}.destination-icon{width:66px;height:66px;border-radius:21px;background:#e3eddf;display:grid;place-items:center;color:var(--teal);margin-top:10px}.destination-icon svg{width:42px;height:42px}.treasure-list{display:grid;gap:9px;margin:20px 0}.treasure-list>div{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:#f0eee2;color:#7c8475}.treasure-list>div.found{background:#e2efe1;color:#286459}.treasure-list svg{width:25px;height:25px}.treasure-list strong{font-size:15px}.treasure-list .check{margin-left:auto}.save-note{font-size:12px!important;line-height:1.6!important}.parent-facts{border-block:1px solid var(--line);margin-bottom:18px}.parent-facts>div{padding:14px 0}.parent-facts strong{display:block;font-size:14px;margin-bottom:5px}.parent-facts span{font-size:13px;line-height:1.6;display:block;color:#61746c}.parent-settings{display:grid;gap:14px;margin:20px 0;font-size:14px}.parent-settings input{accent-color:var(--teal);width:18px;height:18px;vertical-align:middle;margin-right:10px}.parent-gate{padding:16px;background:#eeeede;border-radius:15px;margin:0 0 20px;font-size:13px;line-height:1.6}.parent-gate label{display:block;margin-top:10px}.parent-gate input{width:100%;font:inherit;font-size:18px;padding:10px;border:1px solid #c8d4bc;border-radius:10px;margin-top:6px;background:white}.parent-gate a{color:white;text-decoration:none;display:flex;align-items:center;justify-content:center;margin-top:12px}.parent-gate .gate-error{color:#a5452a;margin-top:8px;display:block}.parent-gate a[aria-disabled=true]{opacity:.45;pointer-events:none}
@media(max-width:600px){.topbar{inset:max(14px,env(safe-area-inset-top)) 15px auto}.brand{padding:10px 12px;border-radius:16px}.brand>span{font-size:21px}.brand img{width:24px;height:30px}.word-world{font-size:8px;letter-spacing:3px}.top-actions{gap:6px}.icon-button{width:42px;height:44px;border-radius:14px}.map-button{padding:0 12px;height:44px;border-radius:14px;font-size:13px}.map-button svg{display:none}.location-chip{left:18px;top:98px;font-size:12px}.prototype{display:none}.hunt-chip{top:87px;right:15px;padding:8px 11px;border-radius:15px;font-size:10px}.hunt-chip strong{font-size:13px}.hunt-star{font-size:24px}.bottom-area{left:15px;right:15px;bottom:max(23px,env(safe-area-inset-bottom));gap:8px}.walk-controls{gap:7px;padding:6px;border-radius:23px}.walk-controls button{width:51px;height:56px;border-radius:17px}.jump-button{min-width:100px;height:68px;font-size:15px;gap:4px}.bottom-note{position:absolute;bottom:82px;left:0;right:0;pointer-events:none;font-size:11px;padding:0}.bottom-note span{display:none}.bottom-note button{font-size:11px;padding:6px}.intro-tag{bottom:123px;font-size:12px}.nearby{bottom:156px;gap:12px;padding-left:14px}.nearby>span{font-size:13px}.nearby button{font-size:12px;padding:12px 14px}.welcome{padding:31px 24px 24px}.welcome-art{height:78px;margin-top:14px;transform:scale(.9)}h1{font-size:37px}.welcome p{font-size:14px}.pilot-row{margin:17px 0}dialog{padding:24px}h2{font-size:32px}#notice{top:147px;font-size:13px}}
@media(max-height:600px){.location-chip{top:95px}.hunt-chip{top:90px}.welcome-art{display:none}.welcome h1{font-size:30px;margin-top:12px}.welcome .pilot-row{margin:12px 0}.welcome p{margin-bottom:10px}.welcome{padding-block:24px}.welcome-foot{display:none}.intro-tag{display:none}.nearby{bottom:110px}.bottom-note{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
#world{min-height:300px}.nearby{top:215px;bottom:auto}
@media(max-width:360px){.brand{padding:9px;gap:6px}.brand>span{font-size:18px}.brand img{width:20px}.top-actions{gap:5px}.icon-button{width:38px}.map-button{padding-inline:9px}.topbar{left:12px;right:12px;gap:7px}.hunt-chip{right:12px}.location-chip{left:14px}}
@media(max-height:600px){.nearby{top:145px;bottom:auto}.location-chip{top:88px}.hunt-chip{top:80px}#notice{top:205px}.bottom-area{bottom:max(12px,env(safe-area-inset-bottom))}}
.overview{position:absolute;right:28px;top:170px;padding:12px 18px;min-height:44px;border-radius:16px;background:#fffdf5ed;border:1px solid white;box-shadow:0 4px 18px #294f4020;font-weight:700;color:#266e67}.walk-controls{display:grid;grid-template-columns:48px 48px 48px;grid-template-rows:48px 48px;gap:4px;padding:6px;border-radius:24px}.walk-controls button{width:48px;height:48px;font-size:25px}.walk-controls #up{grid-area:1/2}.walk-controls #left{grid-area:2/1}.walk-controls #down{grid-area:2/2}.walk-controls #right{grid-area:2/3}.nearby{top:auto;bottom:160px}.bottom-note{background:#fffdf5e8;border-radius:15px;padding:7px 15px}.location-chip{background:#fffdf5ed;padding:8px 12px;border-radius:20px;left:28px;top:103px}.hunt-chip{top:103px}.topbar .brand,.top-actions button{box-shadow:0 4px 20px #17392925}#notice{top:165px}.intro-tag{background:#fffdf5ed;padding:9px 15px;border-radius:20px;bottom:160px}.jump-button{height:68px}
@media(max-width:600px){.overview{right:15px;top:148px;font-size:12px;padding:9px 13px}.location-chip{left:15px;top:86px;font-size:11px;max-width:45%}.hunt-chip{top:86px}.walk-controls{grid-template-columns:43px 43px 43px;grid-template-rows:43px 43px;gap:3px}.walk-controls button{width:43px;height:43px;border-radius:13px}.walk-controls svg{width:23px;height:23px}.nearby{top:auto;bottom:165px}.bottom-note{bottom:122px;padding:0;background:none}.bottom-note button{background:#fffdf5ee;border-radius:15px;padding:7px 12px}.intro-tag{bottom:166px;max-width:90%;font-size:11px}#notice{top:205px;width:max-content;max-width:calc(100% - 40px)}.nearby{gap:8px;font-size:12px}.nearby>span{white-space:normal;max-width:140px}}
@media(max-height:600px){.nearby{top:auto;bottom:135px}.overview{top:140px}#notice{top:190px}.walk-controls{grid-template-rows:37px 37px;grid-template-columns:42px 42px 42px}.walk-controls button{width:42px;height:37px}.bottom-area{bottom:12px}}
.learning-preview{background:#eef2df;border:1px solid #dce4cc;padding:18px;border-radius:17px;margin:0 0 20px}.learning-preview strong{font-size:15px}.learning-preview p{font-size:14px;margin:8px 0 12px}.learning-preview span{display:inline-block;font-size:12px;font-weight:700;color:#70633d;background:#fff6d8;border-radius:10px;padding:7px 10px}
@media(max-width:600px){.nearby.school-near{top:270px;bottom:auto}}
.buddy-tools{position:absolute;top:163px;left:28px;display:flex;flex-wrap:wrap;gap:7px;max-width:52%}.buddy-tools button{background:#fffdf5f5;border:1px solid white;min-height:44px;border-radius:15px;padding:10px 14px;color:#266e67;font-size:13px;font-weight:700;box-shadow:0 4px 18px #294f4020}.buddy-tools #buddy-call{background:#266e67;color:white}.buddy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.buddy-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f0efe3;border:2px solid transparent;border-radius:18px;min-height:112px;padding:8px;font-weight:700;font-size:14px}.buddy-grid canvas{width:75px;height:75px}.buddy-grid [aria-pressed=true],.buddy-modes [aria-pressed=true]{border-color:#266e67;background:#e0eee3}.solo-icon{font-size:43px;display:grid;place-items:center;width:75px;height:75px;color:#cb9136}.buddy-modes{display:flex;gap:10px;margin-bottom:14px}.buddy-modes button{flex:1;border:2px solid #dedfd0;background:#f1efe5;padding:13px;border-radius:14px;font-weight:700}#buddy-status{font-size:14px;color:#266e67;font-weight:700}
@media(max-width:600px){.buddy-tools{left:15px;top:148px;gap:5px;max-width:63%}.buddy-tools button{font-size:11px;padding:9px 10px;min-height:44px}.overview{padding-inline:10px;max-width:30%}}
@media(max-height:600px){.buddy-tools{top:140px}.buddy-grid{margin:10px 0}.buddy-grid button{min-height:85px}.buddy-grid canvas,.solo-icon{height:52px;width:52px}}

/* Keep the overview toggle below the discovery counter on short screens. */
@media(min-width:601px) and (max-height:600px){.overview{top:174px}}

/* One picture-led explorer setup, with a shorter welcome for returning players. */
.explorer-welcome{width:min(540px,calc(100vw - 28px));padding:24px 28px;text-align:center}.explorer-welcome h1{font-size:34px;margin:12px 0 8px}.explorer-welcome>p{font-size:14px;margin:0 0 6px}.explorer-preview{background:linear-gradient(180deg,#edf4e8,#f9f6e6);border-radius:22px;margin:10px 0 14px;padding:0 6px 8px}.explorer-preview canvas{width:100%;height:145px;object-fit:contain;display:block}.explorer-preview>span{font-size:12px;color:#61746c}.explorer-group{margin:12px 0}.choice-label{display:block;font-size:13px;font-weight:700;color:#536d61;margin-bottom:7px}.character-choices{display:flex;justify-content:center;gap:12px}.character-choices button{width:100px;min-height:88px;background:#f0efe3;border:2px solid transparent;border-radius:17px;position:relative;display:flex;flex-direction:column;align-items:center;padding:3px 8px 7px;font-size:14px;font-weight:700}.character-choices canvas{width:55px;height:58px}.outfit-choices{display:flex;justify-content:center;gap:8px}.outfit-choices button{width:44px;height:44px;border:2px solid transparent;border-radius:50%;background:transparent;display:grid;place-items:center;padding:4px;position:relative}.outfit-choices button>span{width:30px;height:30px;border-radius:50%;background:var(--outfit);box-shadow:inset 0 -4px #00000018}.outfit-choices [aria-pressed=true]{border-color:var(--teal);background:#e1eee4}.welcome-buddies{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.welcome-buddies button{position:relative;min-height:76px;min-width:44px;padding:4px 1px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:2px solid transparent;border-radius:16px;background:#f0efe3;font-size:12px;font-weight:700}.welcome-buddies canvas,.solo-choice{width:49px;height:49px;display:block}.solo-choice{font-size:35px;line-height:49px;color:#b98534}.character-choices [aria-pressed=true],.welcome-buddies [aria-pressed=true]{background:#e1eee4;border-color:var(--teal)}.character-choices [aria-pressed=true]:after,.welcome-buddies [aria-pressed=true]:after{content:'✓';position:absolute;right:3px;top:1px;color:var(--teal);font-weight:800;font-size:12px}.explorer-welcome #start{margin-top:8px;position:sticky;bottom:0;z-index:2;min-height:50px}.explorer-welcome .welcome-foot{margin-top:10px;font-size:12px}.explorer-welcome #welcome-change{min-height:44px;margin:0;padding:8px;font-size:14px;color:var(--teal);text-decoration:underline;text-underline-offset:4px}.explorer-welcome.returning-explorer .explorer-preview canvas{height:180px}
@media(max-width:600px){.explorer-welcome{padding:22px 18px 18px}.explorer-welcome h1{font-size:30px}.explorer-preview{margin:8px 0 10px}.explorer-preview canvas{height:126px}.explorer-group{margin:10px 0}.welcome-buddies{gap:5px}.outfit-choices{gap:5px}.character-choices button{min-height:80px}.character-choices canvas{height:54px;width:52px}.welcome-buddies button{min-height:73px}.welcome-buddies canvas,.solo-choice{width:45px;height:45px}}
@media(max-width:340px){.explorer-welcome{padding-inline:12px}.outfit-choices{gap:2px}.outfit-choices button{width:40px;height:44px}.welcome-buddies{gap:3px}.welcome-buddies canvas,.solo-choice{width:40px;height:44px}.welcome-buddies button{font-size:11px}}
@media(min-width:601px) and (max-height:650px){.explorer-welcome{width:680px;padding:18px 24px}.explorer-welcome h1{font-size:27px;margin:7px 0}.explorer-welcome h1 br{display:none}.explorer-setup{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:18px}.explorer-preview{margin:8px 0}.explorer-preview canvas{height:180px}.explorer-group{margin:6px 0}.character-choices button{min-height:64px;width:86px}.character-choices canvas{width:40px;height:42px}.welcome-buddies button{min-height:60px}.welcome-buddies canvas,.solo-choice{width:35px;height:36px}.choice-label{font-size:12px;margin-bottom:4px}.explorer-welcome.returning-explorer .explorer-setup{display:block}.explorer-welcome.returning-explorer .explorer-preview{max-width:300px;margin:8px auto}.explorer-welcome.returning-explorer .explorer-preview canvas{height:110px}}

@media(min-width:500px) and (max-height:450px){.explorer-welcome{width:min(680px,calc(100vw - 28px));padding:12px 20px}.explorer-welcome .tiny-label{font-size:8px}.explorer-welcome h1{font-size:25px;margin:4px 0}.explorer-welcome h1 br{display:none}.explorer-welcome>p{display:none}.explorer-setup{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(0,1.3fr);gap:12px;align-items:center}.explorer-preview{margin:4px 0}.explorer-preview canvas{height:160px}.explorer-group{margin:3px 0}.choice-label{font-size:11px;margin-bottom:2px}.character-choices button{min-height:52px;width:80px;padding:2px;font-size:12px}.character-choices canvas{width:28px;height:30px}.welcome-buddies{gap:5px}.welcome-buddies button{min-height:52px;padding:2px;gap:0;font-size:11px}.welcome-buddies canvas,.solo-choice{width:30px;height:30px}.solo-choice{font-size:26px;line-height:30px}.explorer-welcome #start{position:static;min-height:44px;margin-top:6px;padding:10px}.explorer-welcome.returning-explorer .explorer-setup{display:block}.explorer-welcome.returning-explorer .explorer-preview{max-width:300px;margin:4px auto}.explorer-welcome.returning-explorer .explorer-preview canvas{height:105px}}

.offroadie-destination-art{display:block;width:100%;max-height:230px;object-fit:cover;border-radius:18px;margin:12px 0 18px}

/* Picture-only explorer choices retain generous tap targets. */
.character-choices button{min-height:76px}.character-choices canvas{width:52px;height:55px}
@media(max-height:450px){.character-choices button{min-height:52px}.character-choices canvas{width:36px;height:38px}}

#place-list .playable-place{border-color:#d8b76a;background:linear-gradient(120deg,#fff8dc,#fffdf5)}#place-list .playable-place .place-status{background:#276d58;color:#fff9dc;border-radius:20px;padding:7px 10px}

.word-world{font-size:9px;letter-spacing:1.8px}
