.lg-screen{position:absolute;inset:0;overflow:hidden;background:#fff;color:#161618;font:14px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;flex-direction:column}
.lg-header{height:46px;flex:none;display:flex;align-items:center;padding:0 12px;gap:10px;background:#fff;z-index:1}
.lg-header h1{font-size:18px;letter-spacing:-.3px;font-weight:550;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lg-back,.lg-works{border:0;background:transparent;color:inherit;display:grid;place-items:center;padding:0}
.lg-back{width:26px;height:36px;margin-left:-4px;flex:none}.lg-back svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lg-works{margin-left:auto;font-size:13px;white-space:nowrap;padding:8px 0 8px 6px}
.lg-scroll{min-height:0;overflow:auto;flex:1;padding:6px 12px 160px;scrollbar-width:none}.lg-scroll::-webkit-scrollbar{display:none}
.lg-scroll h2{font-size:21px;line-height:1.25;font-weight:650;letter-spacing:-.4px;margin:0 0 11px}
.lg-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 9px}
.lg-card{position:relative;display:block;width:100%;aspect-ratio:.8;border:0;border-radius:14px;overflow:hidden;padding:0;background:#eee;color:#fff;text-align:center}
.lg-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lg-card:after{content:"";position:absolute;inset:56% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.54));pointer-events:none}
.lg-card span{position:absolute;z-index:1;left:5px;right:5px;bottom:10px;font-size:12px;font-weight:500;text-shadow:0 1px 3px #333}
.lg-card.is-selected{outline:2px solid #222;outline-offset:-2px}
.lg-composer{position:absolute;z-index:2;left:6px;right:6px;bottom:7px;height:143px;padding:7px 9px 5px;border:1px solid #e8e8e9;border-radius:25px;background:#f2f2f2;box-shadow:0 -1px 4px #0000000c;display:flex;flex-direction:column}
.lg-upload{height:42px;flex:none;border:0;border-radius:26px;background:#fff;box-shadow:0 2px 8px #00000015;display:flex;align-items:center;justify-content:center;gap:8px;color:#171719;font:500 17px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.lg-upload svg{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lg-upload-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lg-upload-pair .lg-upload{font-size:15px}
.lg-composer textarea{width:100%;height:51px;min-height:44px;resize:none;border:0;outline:0;background:transparent;color:#202024;padding:13px 3px 4px;font-family:inherit;font-size:14px;line-height:1.4}
.lg-composer textarea::placeholder{color:#999}
.lg-controls{height:36px;flex:none;display:flex;align-items:center;gap:9px;margin-top:auto}
.lg-mode{height:34px;border:0;background:transparent;padding:0 2px;display:flex;align-items:center;gap:7px;color:#242428;font:inherit;white-space:nowrap}
.lg-mode b{font-weight:500}.lg-mode i{font-style:normal;color:#333;font-size:19px;line-height:1;margin-left:0}
.lg-mode svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lg-settings{width:31px;height:34px;border:0;background:transparent;padding:5px;color:#333;display:grid;place-items:center}.lg-settings svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lg-run{width:37px;height:37px;border:0;border-radius:50%;background:#e8e8e8;color:#b9b9b9;font-size:30px;line-height:1;margin-left:auto;padding:0 0 4px}
.lg-template-back{position:absolute;z-index:4;right:10px;top:51px;width:30px;height:30px;border:0;border-radius:50%;background:#fff;color:#333;box-shadow:0 1px 6px #0002;font-size:23px;line-height:1}
@media(min-width:700px){.lg-header{height:50px;padding-inline:16px}.lg-scroll{padding:9px 15px 176px}.lg-scroll h2{font-size:23px}.lg-gallery{gap:10px}.lg-card{border-radius:16px}.lg-card span{font-size:13px}.lg-composer{height:153px;left:7px;right:7px;bottom:7px}.lg-upload{height:45px}.lg-composer textarea{font-size:15px}}
@media(max-height:700px){.lg-composer{height:132px}.lg-scroll{padding-bottom:148px}.lg-composer textarea{height:43px;min-height:36px;padding-top:9px}.lg-upload{height:38px}}

.lg-screen--text .lg-composer{height:105px}.lg-screen--text .lg-scroll{padding-bottom:121px}
