@font-face{font-family:'Balsamiq Sans';src:url('./assets/fonts/balsamiq-sans.ttf')}
@font-face{font-family:'Dela Gothic One';src:url('./assets/fonts/dela-gothic-one.ttf')}
@font-face{font-family:Onest;src:url('./assets/fonts/onest.ttf')}
@font-face{font-family:'Noto Sans SC';src:url('./assets/fonts/noto-sc.ttf')}
html[lang=zh] body,html[lang=zh] button{font-family:'Noto Sans SC',sans-serif}
#localTools{position:fixed;left:8px;bottom:4px;z-index:500;display:flex;align-items:center;gap:4px;color:#fff;background:#172023eb;border-radius:6px;padding:2px;font:11px sans-serif;max-width:calc(100vw - 16px)}
#localTools button{min-width:44px;min-height:44px;border:1px solid #d7bb7e;border-radius:4px;background:#243539;color:white;font:14px sans-serif;cursor:pointer}
#localPlay:not([hidden]){position:fixed;inset:40% 20%;z-index:1000;background:#172023f5;font-size:24px;box-shadow:0 0 0 100vmax #0009}
#cost,#demoFlag{display:none!important}
/* The board keeps the viewport; the dock can scroll rather than shrink controls. */
.dock{bottom:60px;max-height:45dvh;overflow:auto}button{min-height:44px}
