html.gos-mobile .mhe-shade{position:fixed;inset:0;z-index:100000;touch-action:none;background:#020b162b;pointer-events:auto}
.mhe-handle{position:absolute;box-sizing:border-box;border:1px dashed #eacb72aa;background:#f4cc4c08;border-radius:4px;cursor:grab;touch-action:none;color:#fff0ba;padding:0;appearance:none}
.mhe-handle.selected{border:2px solid #ffe09b;background:#ffe1a018;box-shadow:0 0 0 1px #051018,0 0 10px #d3a74544;z-index:3;cursor:grabbing}
.mhe-handle.selected:after{content:attr(aria-label);position:absolute;left:0;top:100%;padding:3px 6px;color:#ffebbb;font:10px/14px Arial,sans-serif;white-space:nowrap;background:#081a27;border:1px solid #ac9254;border-radius:2px;pointer-events:none}
.mhe-bar{position:absolute;z-index:10;left:50%;bottom:max(6px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(620px,calc(100% - 16px));box-sizing:border-box;padding:9px 12px;background:#071b2af5;border:1px solid #b49b63;box-shadow:0 3px 20px #000b;color:#f4e2b8;font:12px/18px Arial,sans-serif;pointer-events:auto;touch-action:manipulation;border-radius:4px}
.mhe-bar strong{font-size:13px}.mhe-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px}.mhe-bar button,.mhe-bar select{min-height:34px;padding:5px 10px;color:#f3e4bf;border:1px solid #927b47;background:linear-gradient(#304555,#142b3b);border-radius:3px;font:600 11px/18px Arial,sans-serif;touch-action:manipulation}.mhe-bar button.save{background:linear-gradient(#536e3e,#263d26);border-color:#a9bd78}.mhe-bar button:focus-visible,.mhe-bar select:focus-visible{outline:2px solid #ffe4a7;outline-offset:1px}.mhe-bar select{min-width:140px;max-width:220px}.mhe-error{color:#ffc1a4;margin-top:4px}.mhe-start{white-space:nowrap}
html.gos-mobile body.mhe-editing #touch-hud{visibility:visible!important}
html.gos-mobile [data-mhe-id]{max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}
@media(max-height:380px){.mhe-bar{padding:6px 9px}.mhe-bar p{display:none}.mhe-actions{margin-top:3px}.mhe-bar button,.mhe-bar select{min-height:30px;padding:3px 7px}}
