#g2v [hidden]{display:none!important} .g2v-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start} .g2v-controls,.g2v-preview{min-width:0} .g2v-controls label{display:block;margin:12px 0} .g2v-controls select,.g2v-controls input:not([type=checkbox]),.g2v-controls textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:42px} #g2v canvas,#g2v img,#g2v video{display:block;max-width:100%;height:auto;margin:8px auto} #g2v .btn{white-space:normal;margin:4px 2px;max-width:100%} #g2v p{overflow-wrap:anywhere} .g2v-preview{position:sticky;top:8px} .g2v-preview canvas,.g2v-preview img{max-height:55vh;width:auto} @media(max-width:800px){.g2v-layout{display:flex;flex-direction:column} .g2v-controls,.g2v-preview{width:100%} .g2v-preview{order:-1;position:static} .g2v-preview canvas,.g2v-preview img{max-height:35vh}} @media(max-width:800px){.g2v-preview{position:sticky;top:0;z-index:2;background:var(--card,#fff);padding:6px 0;max-height:35vh;box-sizing:border-box} .g2v-preview p{font-size:12px;line-height:16px;margin:4px 0} .g2v-preview canvas,.g2v-preview img,.g2v-preview video{max-height:calc(35vh - 85px);width:auto}}