html, body { width:100%; height:100%; margin:0; overflow:hidden; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { background:#000; }
/* Remodal lives outside tyrano_base. Scale its complete logical canvas too. */
.remodal-wrapper {
  position:fixed !important;
  inset:auto !important;
  left:var(--writer-left, 0px) !important;
  top:var(--writer-top, 0px) !important;
  width:var(--writer-width, 640px) !important;
  height:var(--writer-height, 960px) !important;
  box-sizing:border-box;
  transform-origin:0 0 !important;
  transform:scale(var(--writer-scale, 1)) !important;
}
/* Dialog size is controlled by dialog_style.js; do not stretch it to canvas width. */
