@media (min-width:701px) and (max-width:999px){
body:not(.is-home):not(.is-qv) #drawbox{position:fixed!important;left:0;right:0;bottom:0;z-index:57;margin:0!important;border-radius:18px 18px 0 0!important;border:1px solid var(--line)!important;border-bottom:0!important;box-shadow:0 -12px 32px rgba(0,0,0,.16)!important;max-height:62vh;overflow-y:auto!important;transform:translateY(110%);transition:transform .22s ease,visibility .22s;visibility:hidden;padding-bottom:8px}
body.tools-open:not(.is-home):not(.is-qv) #drawbox{transform:none;visibility:visible}
body:not(.is-home):not(.is-qv) #drawbox .dbhead{position:sticky;top:0;background:var(--panel);z-index:1;padding:10px 16px;gap:8px}
body:not(.is-home):not(.is-qv) #toolsClose{display:inline-flex!important;margin-left:auto}
body:not(.is-home):not(.is-qv) #drawbox .cats{flex-wrap:wrap!important;overflow:visible!important;justify-content:flex-start!important;padding:6px 16px 8px!important;gap:8px!important}
body:not(.is-home):not(.is-qv) #drawbox .cats button{min-height:56px;font-size:18px}
body:not(.is-home):not(.is-qv) #drawbox .tray{display:grid!important;grid-template-columns:repeat(5,1fr);overflow:visible!important;padding:4px 16px 10px!important;gap:10px!important}
body:not(.is-home):not(.is-qv) #drawbox .tray button{width:100%;min-width:0;min-height:84px;flex-direction:column;justify-content:center;gap:6px;white-space:normal;text-align:center;font-size:16px}
body:not(.is-home):not(.is-qv) #drawbox .tray .hint{display:none!important}
body:not(.is-home):not(.is-qv) #drawbox .tray .trayhd{display:block!important;grid-column:1/-1;font-size:16px;color:var(--dim);padding:0 2px 2px}
html body.a1-draw:not(.dk-desk) .a2ham{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom,0px))}
}
@media (min-width:701px) and (max-width:999px) and (prefers-reduced-motion:reduce){#drawbox{transition:none!important}}
