#top{background:linear-gradient(#102641b8,transparent);padding:10px 12px!important}
#hShop,#hWho,#hRep,#hLv,#viPC{display:none!important}
#customerSpeech{display:none!important}
#top .row1{position:absolute;right:12px;top:10px;gap:6px}
#top .row2{padding-right:160px;gap:5px!important;flex-wrap:wrap}
#top .chip{font-size:12px!important;padding:6px 9px!important;box-shadow:none;white-space:nowrap}
#top #hOpen{font-size:11px!important}
#shopShortcuts{width:auto!important;bottom:90px}
#shopShortcuts[hidden]{display:none!important}
#shopToolsToggle{pointer-events:auto;background:#173f72ee;color:white;border:1px solid #abc8ed;border-radius:14px;padding:11px 18px;font:700 13px/1.3 system-ui;align-self:flex-end;min-height:44px}
#shopToolsList{display:flex;flex-direction:column;gap:7px;width:220px;padding:8px;background:#102641e8;border-radius:14px}
#shopToolsList[hidden]{display:none!important}
#shopToolsList>button{position:static!important;inset:auto!important;pointer-events:auto;margin:0;width:100%;min-height:44px;padding:10px!important;white-space:normal;font:700 13px/1.4 system-ui!important;box-shadow:none!important;border-radius:9px!important}
body.touch #shopShortcuts{bottom:calc(env(safe-area-inset-bottom) + 264px);width:auto!important}
body.touch #hold{max-width:60vw;font-size:12px;padding:6px 9px;bottom:calc(env(safe-area-inset-bottom) + 245px)}
@media(max-width:600px){#top .row2{max-width:calc(100% - 100px);padding-right:0;margin-top:35px}#top .row1{left:12px;right:12px}#top .row1 .viQuickTools{margin-left:auto}#top .chip{font-size:11px!important;padding:5px 8px!important}#shopToolsList{width:min(235px,68vw)}}
@media(max-height:540px) and (orientation:landscape){body.touch #shopShortcuts{top:90px;bottom:auto;display:flex;flex-direction:column;width:auto!important}#shopToolsList{width:250px;max-height:145px;overflow:auto}}

#shopToolsList>button[hidden]{display:none!important}

/* Keep mobile dialogue compact and outside the movement/action controls. */
@media(max-width:760px){#customerSpeech{width:calc(100% - 24px);padding:7px 10px;font-size:12px;line-height:1.35;border-radius:10px;max-height:76px;overflow:hidden;}#customerSpeech small{font-size:10px;margin:0 0 2px;}#customerSpeechText{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}}
