.ph-menu,.ph-menu-body{display:contents}.ph-actions,.ph-menu-btn{display:none}@media (max-width:480px),(pointer:coarse) and (max-height:500px){.ph-menu{display:block;position:absolute;z-index:25;left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));pointer-events:none}.ph-menu-btn{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:10px;font-size:26px;line-height:1;font-weight:700;color:#fbe9b7;background:#3e2416 url(/textures/ui/lokta-wood.png);border:1.5px solid #c9a227;box-shadow:0 2px 0 #1f120a}.ph-menu-body{display:flex;flex-direction:column;align-items:stretch;gap:8px;position:absolute;left:0;top:56px;width:min(300px,calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));max-height:calc(100dvh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;padding:10px;border-radius:12px;border:2px solid #c9a227;background:rgba(62,36,22,.96);pointer-events:auto;overscroll-behavior:contain}.ph-menu:not([data-open]) .ph-menu-body{visibility:hidden;pointer-events:none;max-height:0;padding:0;border:0;overflow:visible}.ph-menu-body>*{position:static!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}.ph-menu-body>*>*,.ph-menu-body>*>*>*{max-width:100%}.ph-menu-body a,.ph-menu-body button{min-height:44px;justify-content:flex-start;font-size:15px}.ph-menu-body span.hidden{display:inline!important}.ph-menu-body kbd{display:none!important}.ph-menu-body [data-time-pop],.ph-menu-body [role=menu]{position:static!important;width:100%!important}.ph-menu [data-ph-chip]{position:fixed!important;visibility:visible;pointer-events:auto;z-index:26;left:max(12px,env(safe-area-inset-left));bottom:calc(76px + env(safe-area-inset-bottom));top:auto!important;min-height:44px;font-size:14px;max-width:calc(100vw - 84px - env(safe-area-inset-left) - env(safe-area-inset-right));white-space:normal!important}.ph-tap{min-height:44px;min-width:44px}.ph-actions{display:flex;flex-direction:column;gap:8px;position:absolute;z-index:21;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));pointer-events:none}.ph-actions button{pointer-events:auto;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-size:22px;line-height:1;color:#fbe9b7;background:#3e2416 url(/textures/ui/lokta-wood.png);border:1.5px solid #c9a227;box-shadow:0 2px 0 #1f120a}.ph-actions button[aria-pressed=true]{filter:brightness(1.5)}.ph-dock{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:calc(72px + env(safe-area-inset-right))!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;max-height:70dvh}.ph-minimap{width:96px!important;top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important}.ph-minimap button[aria-label^="Go to"]{display:none}[data-robot-chat] button,[data-robot-chat] input{min-height:44px!important}.ph-minimap .ph-map-caption{display:none}.ph-minimap .ph-map-btn{min-height:44px;font-size:14px}.ph-minimap .ph-map-btn-label{display:none}}@media (pointer:coarse) and (max-height:500px){.ph-minimap{width:76px!important}.ph-actions{flex-direction:row}.ph-dock{padding-right:calc(232px + env(safe-area-inset-right))!important;padding-left:calc(140px + env(safe-area-inset-left))!important;max-height:70dvh}}