html[data-tg-host=yes]{--studio-top:max(env(safe-area-inset-top,0px),var(--studio-tg-top,0px));--studio-bottom:max(env(safe-area-inset-bottom,0px),var(--studio-tg-bottom,0px));--studio-left:max(env(safe-area-inset-left,0px),var(--studio-tg-left,0px));--studio-right:max(env(safe-area-inset-right,0px),var(--studio-tg-right,0px))}html[data-tg-host=yes] .app{--edge-top:var(--studio-top);--edge-bottom:var(--studio-bottom);padding-inline:var(--studio-left) var(--studio-right)}html[data-tg-host=yes] dialog[open]{inset:calc(var(--studio-top) + 6px) calc(var(--studio-right) + 6px) calc(var(--studio-bottom) + 6px) calc(var(--studio-left) + 6px);max-height:calc(100dvh - var(--studio-top) - var(--studio-bottom) - 15px);max-width:calc(100vw - var(--studio-left) - var(--studio-right) - 16px);margin:auto}html[data-tg-host=yes] .as-app{padding-top:var(--studio-top);padding-bottom:max(35px,var(--studio-bottom));padding-left:max(14px,var(--studio-left));padding-right:max(14px,var(--studio-right))}html[data-tg-theme=light] .topbar,html[data-tg-theme=light] .as-top{border-bottom:1px solid #d4bea3}@media(max-height:480px)and (orientation:landscape){html[data-tg-host=yes] .app .topbar{padding-top:calc(2px + var(--studio-top))}}
