:root{font:14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5f4e9;background:#a4c4c0}*{box-sizing:border-box}html,body,.app{margin:0;width:100%;height:100%;overflow:hidden}button,select{font:inherit}button{cursor:pointer;touch-action:none}button:focus-visible,select:focus-visible{outline:3px solid #f7c566;outline-offset:2px}.app{position:relative;isolation:isolate}#terrain{display:block;width:100%;height:100%;touch-action:none}.header,.panel,.mini,.movement,.footer{position:absolute;z-index:4}.header{left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:center;padding:calc(env(safe-area-inset-top) + 14px) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));gap:12px;pointer-events:none}.header>*{pointer-events:auto}.brand{display:flex;gap:10px;align-items:center;padding:8px 12px 8px 8px;border-radius:15px;background:rgba(21,38,34,.86);backdrop-filter:blur(12px);box-shadow:0 8px 26px #13231f35}.mark{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#ecdfc7;color:#253b32;font:30px Georgia,serif}.brand strong{display:block;font-size:16px;letter-spacing:-.2px}.brand small{font-size:11px;opacity:.81}.actions{display:flex;gap:8px}.actions button,.movement button{color:#263e36;border:0;border-radius:14px;background:#f8f4e8e6;padding:11px 14px;box-shadow:0 3px 17px #13231f2d;font-weight:700}.actions button[aria-pressed=true]{background:#ffe0a4}.panel{top:105px;left:max(16px,env(safe-area-inset-left));width:min(320px,calc(100vw - 32px));padding:17px;background:rgba(24,43,37,.89);border:1px solid #ffffff2b;border-radius:17px;backdrop-filter:blur(14px);box-shadow:0 14px 28px #13231f36}.panel label{display:block;font-size:12px;font-weight:700;margin-bottom:7px;color:#dadbd0}.panel select{color:#243a30;background:#f5f3e8;border:0;border-radius:8px;padding:12px;width:100%;min-height:43px}.data{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid #ffffff25}.data:first-of-type{margin-top:11px}.data span{color:#cbd6ce}.data strong{font-size:12px;text-align:right;font-variant-numeric:tabular-nums}.note{color:#c3cfc5;font-size:11px;margin-top:12px;line-height:1.55}.mini{bottom:85px;right:18px;border-radius:14px;padding:9px;background:#17302ae0;box-shadow:0 7px 22px #10241e40;text-align:center}.mini canvas{display:block;width:195px;height:195px;background:#eef1e4;border-radius:8px}.mini small{display:block;font-size:10px;margin-top:5px;color:#f7f0e1}.movement{left:20px;bottom:91px;text-align:center}.movement>button{margin-bottom:5px}.movement>div{display:flex;gap:5px}.movement button{width:48px;height:46px;padding:0;font-size:24px;user-select:none}.footer{left:0;right:0;bottom:0;padding:12px max(17px,env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 13px) max(17px,env(safe-area-inset-left));display:flex;justify-content:space-between;gap:20px;background:linear-gradient(0deg,#132b25df,#132b2500);font-size:11px;color:#fff8e8}.footer #message{font-weight:650}#labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}.pin{position:absolute;transform:translate(-50%,-100%);padding:5px 8px;border-radius:9px;background:#f8f6e7e8;color:#25382c;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 3px 10px #0002}.pin::after{content:"";position:absolute;left:calc(50% - 3px);bottom:-5px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #f8f6e7e8}@media(max-width:740px){.header{align-items:start}.brand strong{font-size:14px}.brand small{font-size:9px}.actions button{font-size:11px;padding:11px 8px}.panel{top:auto;bottom:82px;left:14px;width:min(245px,calc(100vw - 30px));padding:12px}.panel select{padding:8px;min-height:35px;font-size:11px}.data{padding:5px 0}.note{display:none}.movement{bottom:245px;left:auto;right:5px}.movement button{width:38px;height:38px;font-size:21px}.mini{bottom:85px;right:12px;padding:6px}.mini canvas{width:110px;height:110px}.mini small{font-size:8px;max-width:110px}.footer{font-size:10px;flex-direction:column;gap:2px;max-height:70px}.pin{font-size:9px}}@media(max-width:430px){.header{padding-top:calc(env(safe-area-inset-top) + 9px)}.brand{padding:6px}.mark{width:29px;height:29px;font-size:24px}.brand strong{font-size:12px}.actions{gap:4px}.actions button{font-size:10px}.panel{bottom:75px}.movement{bottom:235px}}@media(max-height:550px){.panel{top:auto;bottom:48px;left:15px;width:235px;padding:10px}.panel .note{display:none}.mini{bottom:48px}.mini canvas{width:95px;height:95px}.movement{left:auto;right:132px;bottom:60px}.footer{padding-bottom:8px}.pin{font-size:9px}}

@media (max-width:740px){.header{flex-wrap:wrap}.actions{justify-content:flex-end;flex-wrap:wrap;max-width:60vw}.actions button{min-height:32px}}
@media (max-height:550px){.actions{max-width:66vw}.actions button{padding:7px 9px}}
