body{overscroll-behavior:none}#unity-canvas{touch-action:none}header{height:auto;min-height:66px;gap:10px;flex-wrap:wrap;padding-block:8px}header nav{flex-wrap:wrap}#feedback{position:absolute;left:12px;top:8px;max-width:calc(100% - 24px);background:#111c;color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;pointer-events:none}#gallery{width:min(720px,95vw);max-height:85dvh;padding:18px}#gallery header{padding:0;border:0;justify-content:space-between}#gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}#gallery-grid button{min-height:64px;display:flex;align-items:center;gap:10px;text-align:left}#gallery-grid img{width:64px;height:64px;object-fit:contain;background:#ddd;border-radius:4px}#gallery-grid button:disabled{opacity:.7}#gallery-back{margin-top:12px}.touch-ui{display:none;position:absolute;bottom:12px;gap:7px}.touch-ui button{min-width:48px;min-height:48px;touch-action:none;background:#222d}.movement{left:12px;grid-template-columns:repeat(3,48px)}.movement button:first-child{grid-column:2}.movement button:nth-child(2){grid-column:1}.movement button:nth-child(3){grid-column:2}.movement button:nth-child(4){grid-column:3}.travel{right:12px;flex-direction:column}#product-tools{position:absolute;right:12px;top:42px;background:#111d;padding:8px;border-radius:6px;display:flex;gap:6px;flex-wrap:wrap;max-width:280px}#product-tools[hidden]{display:none}#product-tools button{min-width:44px;min-height:44px}#product-tools span{width:100%;font-size:12px;color:#ddd}@media(hover:none),(max-width:700px){.movement{display:grid}.travel{display:flex}header{padding:8px 10px}header nav{gap:5px}header button{min-height:40px;font-size:11px;padding:7px 9px}header img{max-width:145px!important}#product-tools{top:42px;max-width:230px}footer{font-size:10px}#gallery-grid{gap:8px}#gallery-grid button{font-size:13px;padding:8px;min-height:72px}#gallery-grid img{width:48px;height:48px}}@media(max-height:450px){.touch-ui{bottom:6px}.touch-ui button{min-height:40px}#feedback{font-size:10px}}

#gallery{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}#gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#gallery-grid button{min-width:0;overflow-wrap:anywhere}#gallery-grid img{flex-shrink:0}@media(max-width:350px){#gallery-grid{grid-template-columns:1fr}}

#gallery-grid img[src^="brand/"]{background:transparent;width:40px;height:40px}

.product-active .travel{display:none}@media(max-width:350px){.movement{left:8px;grid-template-columns:repeat(3,44px);gap:5px}.movement button{min-width:44px;min-height:44px;padding:6px}.travel{right:8px;width:98px}.travel button{font-size:11px;padding:6px;min-width:98px}}@media(max-height:450px){#product-tools{max-width:none;width:264px;gap:4px;padding:8px}#product-tools button{width:44px;min-width:44px;min-height:44px;padding:0;font-size:0}#product-tools button:after{content:attr(data-icon);font-size:18px}}
#build-version{display:block!important;position:fixed;right:8px;bottom:3px;z-index:15;font-size:10px;font-weight:400;color:#aaa;opacity:.7;pointer-events:none}
.flight{position:static;gap:5px}.flight[hidden]{display:none!important}@media(hover:none),(max-width:700px){.flight{display:flex}}
