/* Keep the shared arrow away from the HUD; hover must not steal game input. */
#jm-hot{display:none!important}
#jm-handle{top:env(safe-area-inset-top)!important}
#jm-bar{padding-top:max(8px,env(safe-area-inset-top))!important;max-width:100vw;box-sizing:border-box}
#jm-bar .jm-b{padding:9px 11px}
#hud{top:calc(28px + env(safe-area-inset-top))}
.moonlit-publication-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0}
#menu .moonlit-progress-note{font-size:12px;line-height:1.5;color:#c9d9dc}
#moonlit-share-dialog{color:#e7f4ef;background:#10232b;border:1px solid #79bcb2;border-radius:18px;box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;box-shadow:0 16px 60px #0008}
#moonlit-share-dialog::backdrop{background:#020b14cc;backdrop-filter:blur(4px)}
#moonlit-share-dialog h2{font-size:24px;margin:0 0 12px}
#moonlit-share-dialog p{font-size:14px;line-height:1.5}
#moonlit-share-dialog textarea{box-sizing:border-box;width:100%;height:130px;resize:vertical;padding:12px;background:#08191f;color:#e5f9f1;border:1px solid #527e80;border-radius:8px;font:14px/1.5 ui-monospace,monospace;user-select:text;touch-action:pan-y}
#moonlit-share-dialog button{min-height:44px;padding:10px 14px;font-size:14px}
#moonlit-share-dialog [hidden]{display:none!important}
#moonlit-share-status{min-height:1.5em;color:#b5f4c9}
@media(max-height:500px){#moonlit-share-dialog{padding:14px}#moonlit-share-dialog textarea{height:76px}#moonlit-share-dialog h2{font-size:20px}#moonlit-share-dialog p{margin:8px 0}.moonlit-publication-actions{margin:8px 0}}
