/* Available with the first HTML, before any map modules or textures. */
html.hof-booting #menu,html.hof-booting #hud{visibility:hidden!important;pointer-events:none!important}
#launch-loader{position:fixed;inset:0;z-index:1000;display:grid;place-content:center;justify-items:center;gap:24px;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));box-sizing:border-box;background:#171817;color:#f0f0eb;font:15px/1.5 Manrope,Arial,sans-serif;text-align:center}
#launch-loader[hidden]{display:none!important}
#launch-loader img{width:min(68vw,320px);height:auto;filter:grayscale(1)}
#launch-loader .launch-meter{width:min(72vw,320px);display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px}
#launch-loader progress{width:100%;height:5px;appearance:none;-webkit-appearance:none;border:0;border-radius:3px;background:#ffffff25;accent-color:#f0f0eb}
#launch-loader progress::-webkit-progress-bar{background:#ffffff25;border-radius:3px}
#launch-loader progress::-webkit-progress-value{background:#f0f0eb;border-radius:3px;transition:width .2s}
#launch-loader progress::-moz-progress-bar{background:#f0f0eb;border-radius:3px}
#launch-loader output{font-variant-numeric:tabular-nums;min-width:3.5em;text-align:right}
#launch-loader p{max-width:320px;margin:0;color:#d0d0c8}
#launch-loader button{appearance:none;-webkit-appearance:none;border:1px solid #ffffff50;border-radius:10px;background:#eeeee8;color:#161716;min-height:48px;padding:12px 28px;font:inherit;cursor:pointer}
#launch-loader [hidden]{display:none!important}
html.hof-menu-v2 button,html.hof-menu-v2 input,html.hof-menu-v2 select{font-family:inherit;-webkit-tap-highlight-color:transparent}
html.hof-menu-v2 button{appearance:none;-webkit-appearance:none}
html.hof-menu-v2 dialog:not([open]){display:none!important}
html.hof-menu-v2 [hidden]{display:none!important}
@media(orientation:landscape) and (max-height:500px){#launch-loader{gap:18px}#launch-loader img{width:min(40vw,220px);max-height:42svh;object-fit:contain}}
@media(prefers-reduced-motion:reduce){#launch-loader progress::-webkit-progress-value{transition:none}}

/* Game gestures own their touches. Text entry and legal documents stay usable. */
html,body,#hud,canvas,button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,[contenteditable="true"],.legal-document{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
canvas,#move-pad,#touch-actions,#touch-controls{touch-action:none}
#move-pad i{pointer-events:none;will-change:transform}
