/* Desktop uses the physical keyboard; touch controls belong only on touch-first devices. */
@media (hover: hover) and (pointer: fine) {
  #touch, #run { display: none !important; }
}
/* First-person controls: independent pointer ownership for each hand. */
#look{position:fixed;right:0;top:80px;bottom:80px;width:50%;touch-action:none;z-index:1}#hud,#caption{z-index:2}#touch,#connect,#run,footer{z-index:3}#touch{left:max(24px,env(safe-area-inset-left));bottom:max(90px,calc(env(safe-area-inset-bottom) + 70px))}#touch span{display:block;font-size:9px;letter-spacing:3px;margin-top:12px;color:#fff}#stick{width:112px;height:112px;border:1px solid #ffffff88;background:#153d5440;border-radius:50%;position:relative;touch-action:none;box-shadow:inset 0 0 0 18px #ffffff0a}#thumb{position:absolute;left:50%;top:50%;width:43px;height:43px;border-radius:50%;background:#ebdfbbdd;border:2px solid #173d60;transform:translate(-50%,-50%);pointer-events:none}#reticle{position:fixed;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:#fff8dd;box-shadow:0 0 0 1px #16384b;pointer-events:none;z-index:2}#run{position:fixed;bottom:90px;right:25px;border-radius:50%;width:64px;height:64px;background:#173d6099}#run[aria-pressed=true]{background:#edd6a2;color:#173d60}#connect{bottom:170px;right:22px;max-width:180px;font-size:12px}#caption{bottom:265px;max-width:400px;font-size:17px;background:#17334de8;border:1px solid #efdaac44;border-radius:12px;padding:12px 16px;text-shadow:none}#caption:empty{display:none}#hud{background:linear-gradient(90deg,#173d60b3,transparent);padding:12px 18px;left:0;top:82px;max-width:290px}#hud h2{font-size:23px}#hud p{font-size:12px}#arrival{position:fixed;inset:0;background:#173d60;z-index:6;display:grid;place-items:center;pointer-events:none}#arrival span{font:italic 24px Georgia;text-align:center;padding:30px}#skip{position:fixed;right:20px;bottom:30px;z-index:7}#sensitivity{width:130px;vertical-align:middle}#world{outline:none}.veil{z-index:4}footer{bottom:max(12px,env(safe-area-inset-bottom))}body.paused #touch,body.paused #look{pointer-events:none}@media(orientation:landscape) and (max-height:550px){header{padding:8px 15px}#hud{top:56px;max-width:240px;padding:6px 15px}#hud h2{font-size:18px;margin:4px 0}#hud p{display:none}#touch{bottom:65px}#stick{width:90px;height:90px}#run{bottom:65px}#connect{bottom:140px}#caption{bottom:75px;width:40%;font-size:15px}.veil{padding:65px 25px 20px;align-items:flex-start}.door-art{display:none}h1{font-size:32px;margin:10px 0}.entry-copy{max-width:650px}}
