.mh-bar,.mh-sheet,.mh-card{font-family:Jost,Arial,sans-serif;color:#171717}
.mh-bar{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:50;display:flex;align-items:center;gap:12px;background:#f7e9a0;border:1px solid #171717;box-shadow:3px 3px #171717;padding:10px 10px 10px 14px}
.mh-bar[hidden]{display:none}
.mh-devices{display:inline-flex;align-items:center;gap:8px;flex:none}
.mh-bar .mh-devices{transform:scale(.8);transform-origin:left center;margin-right:-10px}
.mh-phone{width:14px;height:24px;border:2px solid #171717;border-radius:3px;background:#fff}
.mh-arrow{font-weight:800;font-size:18px;line-height:1}
.mh-laptop{display:inline-flex;flex-direction:column;align-items:center}
.mh-laptop span{width:30px;height:20px;border:2px solid #171717;border-bottom:0;background:#fff;display:block}
.mh-laptop::after{content:"";width:40px;height:4px;background:#171717;display:block}
.mh-bar-text{display:flex;flex-direction:column;line-height:1.2;font-size:14px;flex:1;min-width:0}
.mh-bar-text b{font-weight:700}
.mh-bar-text span{font-size:12px;color:#4e5059}
.mh-open{min-height:44px;min-width:56px;padding:8px 16px;font:600 15px Jost,Arial,sans-serif;background:#171717;color:#fff;border:1px solid #171717;border-radius:2px;cursor:pointer}
.mh-sheet{box-sizing:border-box;width:100%;max-width:none;margin:auto 0 0;padding:10px 22px calc(22px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid #171717;background:#f4f1e9}
.mh-sheet::backdrop{background:rgba(23,23,23,.45)}
.mh-grab{width:44px;height:4px;background:#171717;opacity:.35;margin:0 auto 14px;border-radius:2px}
.mh-sheet h2{font-size:22px;margin:0 0 8px;letter-spacing:-.4px;font-weight:800;line-height:1.2}
.mh-sheet p{font-size:15px;margin:0}
.mh-actions{display:grid;gap:10px;margin-top:18px}
.mh-primary{width:100%;font:600 17px Jost,Arial,sans-serif;min-height:52px;background:#171717;color:#fff;border:1px solid #171717;border-radius:2px;box-shadow:3px 3px #d63a32;cursor:pointer}
.mh-secondary{border:1px solid #171717;border-radius:2px;color:#171717;background:#fff;min-height:47px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:600;font-size:15px}
.mh-link,.mh-keep{background:none;border:0;color:#171717;font-family:Jost,Arial,sans-serif;cursor:pointer}
.mh-link{text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:4px;font-weight:500;font-size:14px}
.mh-keep{width:100%;margin-top:6px;color:#575861;font-weight:500;font-size:14px;min-height:44px}
.mh-toast{font-weight:600;font-size:14px;margin:6px 0 0!important;text-align:center;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.mh-toast:empty{display:none}

body.mh-active{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.mh-bar.mh-pop{animation:mh-pop .45s cubic-bezier(.2,1.4,.4,1) both}
.mh-card{box-sizing:border-box;position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:55;background:#f7e9a0;border:1px solid #171717;box-shadow:5px 5px #171717;padding:22px 20px 14px;transform-origin:bottom center;animation:mh-up .55s cubic-bezier(.2,1.2,.4,1) both;max-height:calc(100vh - 20px);overflow-y:auto}
.mh-card.mh-docking{animation:mh-down .38s ease-in forwards}
.mh-big-icon{height:46px;display:flex;align-items:center}
.mh-big-icon .mh-devices{transform:scale(1.7);transform-origin:left center}
.mh-big-icon .mh-arrow{display:inline-block;animation:mh-travel 1s ease-in-out .6s 3 both}
.mh-card h2{font-size:27px;line-height:1.1;letter-spacing:-.7px;margin:14px 0 8px;font-weight:800}
.mh-card p{font-size:15px;margin:0 0 16px}
.mh-card .mh-primary{min-height:54px;font-size:17px}
.mh-card .mh-secondary{margin-top:10px}
.mh-card .mh-note{font-weight:600;font-size:14px;text-align:center;margin:8px 0 0;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.mh-card .mh-note:empty{display:none}
.mh-later{width:100%;margin-top:4px;background:none;border:0;color:#575861;font:500 14px Jost,Arial,sans-serif;min-height:44px;cursor:pointer}
body.mh-active:has(.mh-card){padding-bottom:calc(400px + env(safe-area-inset-bottom,0px))}
@keyframes mh-up{from{transform:translateY(110%)}to{transform:none}}
@keyframes mh-down{to{transform:translateY(55%) scaleY(.25);opacity:0}}
@keyframes mh-pop{from{transform:translateY(40%) scale(.96);opacity:0}to{transform:none;opacity:1}}
@keyframes mh-travel{0%{transform:translateX(-4px);opacity:.35}50%{transform:translateX(5px);opacity:1}100%{transform:translateX(-4px);opacity:.35}}
@media (prefers-reduced-motion:reduce){.mh-card,.mh-card.mh-docking,.mh-bar.mh-pop,.mh-big-icon .mh-arrow{animation:none}}
