html:not(.yl-native-webview){--slot-w: 1180;--slot-h: 820;--frame-w: 1180;--frame-h: 820;--visual-w: 1180;--visual-h: 820;--frame-fit: 1;--stage-scale: 1;--frame-bezel: clamp(10px, 1.6dvh, 20px);--frame-fullscreen-gutter: 0px;background:var(--yl-frame-desk)}html:not(.yl-native-webview) body{background:var(--yl-frame-desk);display:grid;margin:0;min-height:100dvh;place-items:center}html.yl-frame-slotted:not(.yl-native-webview) .yl-frame-slot{position:relative;display:grid;place-items:center;width:min(97dvw,calc((97dvh - (var(--frame-fullscreen-gutter) * 2)) * (var(--slot-w) / var(--slot-h))));height:auto;aspect-ratio:var(--slot-w) / var(--slot-h);border-radius:0;box-shadow:none;overflow:visible;background:transparent}html.yl-frame-slotted:not(.yl-native-webview) .yl-frame-device{--frame-bezel: clamp(10px, 1.6dvh, 20px);position:relative;margin:0;width:calc(100% * var(--visual-w) / var(--slot-w));height:calc(100% * var(--visual-h) / var(--slot-h));max-width:none;max-height:none;overflow:hidden;background:var(--yl-frame-screen);border-radius:clamp(16px,2.2dvh,32px);box-shadow:0 0 0 var(--frame-bezel) var(--yl-frame-ring),0 0 0 calc(var(--frame-bezel) + 1.5px) var(--yl-frame-ring-2),0 22px 54px #0000008c}html.yl-frame-slotted:not(.yl-native-webview) .yl-frame-device>.appwrap{position:absolute;inset:0 auto auto 0;margin:0;width:calc(var(--frame-w) * 1px);height:calc(var(--frame-h) * 1px);min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;overflow:hidden;border-radius:0;box-shadow:none;transform-origin:top left;transform:scale(var(--stage-scale, 1));container-type:size;container-name:stage}html.submit-saved-page.yl-frame-slotted .yl-frame-device{width:100%;height:100%;background:transparent;border-radius:0;box-shadow:none}html.submit-saved-page.yl-frame-slotted .yl-frame-device>.appwrap{position:relative;transform:none}html.yl-frame-fill:not(.yl-native-webview) .appwrap{position:fixed;inset:0;width:100vw;height:100vh;max-width:none;aspect-ratio:auto;border-radius:0;box-shadow:none;transform:none}html.yl-native-webview .yl-frame-slot,html.yl-native-webview .yl-frame-device{display:contents}
