:root{--cyan:#66ecfa;--dark:#09172b;--lime:#d6fe69;--coral:#ffad82;--ink:#eaf9ff;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overscroll-behavior:none}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(ellipse at 50% 60%,#234862 0,#111e35 46%,#050c1b 100%);overflow:hidden;user-select:none;-webkit-user-select:none}button{font:inherit;cursor:pointer;touch-action:none}#app{height:100dvh;min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 18px;gap:9px}.topbar,.foot{width:min(100%,1510px);display:flex;align-items:center;justify-content:space-between}.topbar{min-height:47px}.brand{display:flex;align-items:center;gap:10px}.brandicon{height:38px;width:38px;border:2px solid #61eafe;border-radius:14px 14px 15px 15px;box-shadow:0 0 18px #44dbef2d;display:grid;place-items:center;color:#6efbff;font-weight:1000;position:relative;font-size:23px}.brandicon:before,.brandicon:after{content:"";position:absolute;width:12px;height:10px;border:2px solid #61eafe;border-bottom:0;border-radius:90% 90% 0 0;top:-6px}.brandicon:before{left:1px;transform:rotate(-34deg)}.brandicon:after{right:1px;transform:rotate(34deg)}.brandname{font-size:18px;font-weight:1000;letter-spacing:.04em;line-height:1}.brandname span{color:#71e9fc}.brandname small{display:block;color:#90a4b7;font-weight:650;font-size:9px;letter-spacing:.21em;margin-top:5px}.topactions{display:flex;gap:8px}.iconbutton{width:39px;height:35px;border:1px solid #5583a077;background:#122b40cf;color:#c2f8ff;border-radius:11px;font-size:20px}.iconbutton:hover,.iconbutton:focus-visible{outline:1px solid #8ef8fe;background:#224462}.gameframe{width:min(100%,1510px,calc((100dvh - 115px)*1.7778));aspect-ratio:16/9;max-height:calc(100dvh - 115px);min-height:0;position:relative;overflow:hidden;background:#163b56;border-radius:15px;border:2px solid #3d6d83;box-shadow:0 20px 70px #000a,0 0 55px #4a98c622,inset 0 0 0 1px #c4fbff24}canvas{display:block;width:100%;height:100%;object-fit:fill;image-rendering:auto}.hud{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:15px 19px 15px;background:linear-gradient(180deg,#071724db,#08172b99 65%,transparent);pointer-events:none}.hudleft,.hudright{display:flex;flex-direction:column;gap:7px;min-width:145px}.hudright{text-align:right}.hudlabel{font-size:10px;letter-spacing:.08em;color:#cde2e8;font-weight:800;text-shadow:0 1px 3px #0009}.hudlabel strong{color:#fff;font-size:16px;letter-spacing:.07em;margin-left:5px}.hudlabel #hearts{font-size:19px;letter-spacing:.06em;color:#ff9d93;vertical-align:middle;white-space:nowrap}.hudcenter{flex:1;max-width:360px;text-align:center;padding:0 20px;color:#d8faff;font-weight:900;letter-spacing:.14em;font-size:10px}.track{height:7px;border:1px solid #a2f3ed5c;border-radius:10px;background:#0b2234d9;margin-top:10px;overflow:hidden}.track div{height:100%;width:0;background:linear-gradient(90deg,#71f0fc,#d7fd72);border-radius:10px;box-shadow:0 0 15px #70fbfa}.locationTag{position:absolute;bottom:28px;left:22px;font-size:10px;font-weight:900;letter-spacing:.18em;text-shadow:0 2px 7px #031923;color:#effdffb8;pointer-events:none}.locationTag span{color:var(--cyan)}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#081b2dee,#071b2de0 49%,#08152693);backdrop-filter:blur(4px);z-index:4;transition:opacity .2s}.overlay.hidden{opacity:0;pointer-events:none}.modal{width:min(550px,90%);display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px 28px 28px;border-left:3px solid #70eafa;background:linear-gradient(90deg,#05192ae0,#06172890 78%,transparent);filter:drop-shadow(0 5px 22px #071a2d)}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.24em;color:#d7fe6f}.modal h1{font-size:clamp(43px,6vw,78px);font-weight:1000;margin:0;line-height:.9;letter-spacing:-.07em;text-shadow:0 3px 18px #001b2d}.modal h1 em{font-style:normal;color:#79edfc}.tagline{font-size:clamp(15px,2vw,20px);font-weight:800;margin:3px 0 0;color:#fbf9f2}.subline{font-size:14px;line-height:1.65;color:#bdd9e0;margin:0;max-width:475px}.instructions{display:flex;flex-wrap:wrap;gap:8px 17px;font-weight:800;color:#dbf8fb;font-size:10px;letter-spacing:.07em;margin:8px 0}.instructions span{display:flex;align-items:center;gap:4px}kbd{border:1px solid #a9eaff66;background:#102b43bb;border-radius:5px;padding:3px 6px;font:inherit;font-size:10px}.primary{border:none;border-radius:12px;background:linear-gradient(105deg,#6ce8f4,#b7ffca);color:#082237;font-weight:1000;letter-spacing:.11em;font-size:13px;padding:15px 24px;min-width:260px;box-shadow:0 10px 30px #6af7f831;transition:transform .15s,box-shadow .15s}.primary:hover{transform:translateY(-2px);box-shadow:0 14px 38px #6af7f855}.primary span{padding-right:13px}.micro{font-size:11px;color:#b3d5e0;letter-spacing:.08em}.foot{font-size:10px;letter-spacing:.09em;color:#90aaba;font-weight:750;min-height:18px}.foot b{padding:0 5px}.touchControls{position:absolute;z-index:3;bottom:7%;left:0;right:0;display:none;justify-content:space-between;pointer-events:none;padding:0 3.5%}.touchControls>div{display:flex;align-items:end;gap:13px}.touchControls button{pointer-events:auto;background:#071d32b6;border:2px solid #b4f8f76b;color:white;font-weight:1000;font-size:28px;width:77px;height:77px;border-radius:19px;backdrop-filter:blur(9px);box-shadow:0 4px 20px #03121c77;touch-action:none}.touchControls button:active,.touchControls button.pressed{background:#55e5e783;transform:scale(.96)}.touchControls .dash{border-color:#d1ff8f9c;color:#e4ffab;font-size:14px;letter-spacing:.1em}.touchControls .jump{width:90px;height:90px;border-color:#78f3ffb5;border-radius:50%;font-size:34px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.touchControls .jump small{font-size:9px;margin-top:5px;letter-spacing:.13em}.rotateHint{display:none}@media(hover:none),(pointer:coarse){.touchControls{display:flex}.hud{padding:9px 11px}.locationTag{display:none}}@media(max-width:740px){#app{padding:3px;gap:2px}.topbar{min-height:35px;padding:0 4px}.brandicon{width:29px;height:29px;font-size:17px;border-radius:10px}.brandicon:before,.brandicon:after{display:none}.brandname{font-size:14px}.brandname small{font-size:7px}.iconbutton{height:31px;width:33px;font-size:17px}.gameframe{width:100%;max-height:calc(100dvh - 62px)}.foot{font-size:8px;padding:0 5px}.foot span:nth-child(2){display:none}.modal{gap:6px;padding:8px 15px}.modal h1{font-size:clamp(36px,6.5vw,53px)}.subline{font-size:11px;line-height:1.4}.tagline{font-size:14px}.instructions{font-size:8px;margin:4px 0}.primary{padding:10px 13px;min-width:0;font-size:11px}.touchControls button{height:58px;width:58px;font-size:22px;border-radius:14px}.touchControls .jump{height:70px;width:70px}.touchControls>div{gap:5px}.hudcenter{padding:0 5px}.hudlabel{font-size:8px}.hudlabel strong{font-size:12px}.hudlabel #hearts{font-size:14px}.hudleft,.hudright{min-width:94px}}@media(max-width:700px) and (orientation:portrait){.rotateHint{position:absolute;z-index:6;top:11px;right:11px;display:flex;flex-direction:column;align-items:center;padding:7px 10px;gap:1px;font-size:19px;background:#061e35c9;border:1px solid #a6f8fc6d;border-radius:10px;pointer-events:none}.rotateHint strong{font-size:10px}.rotateHint span{font-size:8px}.touchControls{bottom:5px;padding:0 8px}.touchControls button{width:43px;height:43px;font-size:17px}.touchControls .jump{width:48px;height:48px}.touchControls .jump small{font-size:7px}.touchControls .dash{font-size:9px}.modal{width:84%}.modal h1{font-size:33px}.subline{display:none}.instructions{display:none}.micro{display:none}}@media(prefers-reduced-motion:reduce){.overlay,.primary{transition:none}}
@media (max-height:600px){#app{padding:2px 5px;gap:2px}.topbar{min-height:30px}.brandicon{height:27px;width:27px;font-size:16px;border-radius:9px}.brandicon:before,.brandicon:after{display:none}.brandname{font-size:13px}.brandname small{font-size:7px;margin-top:3px}.iconbutton{height:28px;width:29px;font-size:16px}.gameframe{width:min(100%,calc((100dvh - 41px)*1.7778));max-height:calc(100dvh - 41px)}.foot{display:none}.modal{max-height:100%;overflow:auto;gap:5px;padding:9px 14px}.modal h1{font-size:clamp(30px,5vw,55px)}.modal .eyebrow{font-size:9px}.modal .tagline{font-size:13px}.modal .subline{font-size:11px;line-height:1.35}.modal .instructions{font-size:9px;gap:6px;margin:2px 0}.modal .primary{padding:10px 15px;font-size:11px}.modal .micro{font-size:9px}.touchControls{bottom:3%;padding:0 3%}.touchControls button{width:61px;height:61px;font-size:21px}.touchControls .jump{height:68px;width:68px;font-size:27px}.touchControls .dash{font-size:10px}.hud{padding:7px 9px}.hudlabel{font-size:8px}.hudlabel strong{font-size:12px}.hudcenter{font-size:9px}}

/* Skyline v0.6 · danger language in menu, without affecting the world canvas or touches */
.legend{display:flex;flex-wrap:wrap;gap:7px 9px;font-size:10px;font-weight:900;letter-spacing:.065em;margin:1px 0 2px}
.legend span{padding:5px 8px;border-radius:8px;background:#0a1a29d8;border:1px solid #ffffff33}
.legendSafe{color:#a5edfa;border-color:#68d6e377!important}
.legendDanger{color:#ffb2ac;border-color:#ff756677!important}
.legendPit{color:#ffdea1;border-color:#ffb35877!important}
@media(max-height:500px){.legend{gap:4px;font-size:8px}.legend span{padding:3px 5px}}
