@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Satisfy&family=Cinzel+Decorative:wght@400;700&family=Fredoka:wght@400;700&family=Noto+Serif+Devanagari:wght@400;700&family=Allura&family=Cormorant+Garamond:wght@400;700&family=DM+Sans:wght@400;700&family=Great+Vibes&family=Manrope:wght@400;700&family=Montserrat:wght@400;700&family=Nunito+Sans:wght@400;700&family=Parisienne&family=Playfair+Display:wght@400;700&family=Poppins:wght@400;700&display=swap");
#mg-editor{width:100vw!important;max-width:none!important;margin:0!important;overflow:hidden;--wine:#751b2d;--gold:#c89f56;--ink:#281b23;--muted:#796f78;--line:#e7e1e5;font:14px/1.45 Arial,sans-serif;color:var(--ink);background:#eceaf0;position:fixed;inset:0;z-index:99990;display:flex;flex-direction:column;text-align:left;isolation:isolate}body.admin-bar #mg-editor{top:32px}#mg-editor *{box-sizing:border-box}#mg-editor button,#mg-editor input,#mg-editor select,#mg-editor textarea{font:inherit}#mg-editor button{cursor:pointer;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 12px;min-height:38px;line-height:1.2;margin:0;box-shadow:none;text-transform:none;white-space:nowrap}#mg-editor button:hover{border-color:#ac8291;background:#fcf7f9}#mg-editor button:disabled{opacity:.4;cursor:default}#mg-editor button:focus-visible,#mg-editor input:focus-visible,#mg-editor select:focus-visible,#mg-editor textarea:focus-visible,#mg-editor canvas:focus-visible{outline:3px solid #c89f56;outline-offset:2px}#mg-editor .mg-primary{background:var(--wine);border-color:var(--wine);color:#fff}#mg-editor .mg-primary:hover{background:#591424}#mg-editor input,#mg-editor select,#mg-editor textarea{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:6px;min-width:0;padding:8px;width:100%;max-width:none;height:auto;margin:0}#mg-editor input[type=range]{accent-color:var(--wine);padding:0}#mg-editor label{font-size:11px;color:var(--muted);display:block}#mg-editor label input,#mg-editor label select,#mg-editor label textarea{margin-top:5px}#mg-editor .mg-top{display:flex;align-items:center;gap:9px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--line);min-height:70px}#mg-editor .mg-brand{font:700 27px Georgia,serif;color:var(--wine);text-decoration:none;display:flex;gap:8px;align-items:center;margin-right:15px}#mg-editor .mg-brand span{font:700 11px Arial,sans-serif;letter-spacing:1.2px}#mg-editor .mg-brand small{display:block;font-size:7px;color:var(--muted);letter-spacing:1px;padding-top:3px}#mg-editor #mg-name{max-width:240px;border-color:transparent}#mg-editor #mg-status{font-size:11px;color:var(--muted);flex:1}#mg-editor .mg-toolbar{display:flex;align-items:center;gap:7px;min-height:56px;overflow-x:auto;background:white;padding:8px 20px;border-bottom:1px solid var(--line);flex-shrink:0}#mg-editor .mg-toolbar select{width:140px;flex-shrink:0}#mg-editor .mg-toolbar #mg-align{width:92px}#mg-editor #mg-size{width:66px;flex-shrink:0}#mg-editor .mg-color{width:38px;height:38px;position:relative;background:#fff;border:1px solid var(--line);border-radius:6px;text-align:center;font:700 20px Georgia;flex-shrink:0;color:var(--ink);overflow:hidden}#mg-editor .mg-color input{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%;margin:0}#mg-editor .mg-toolbar-note{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}#mg-editor .mg-main{display:flex;min-height:0;flex:1}#mg-editor .mg-rail{width:76px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px;padding:14px 5px}#mg-editor .mg-rail button{font-size:9px;padding:8px 2px;border:0;min-height:64px;border-radius:8px;white-space:normal}#mg-editor .mg-rail span{font-size:25px;display:block;margin-bottom:5px;font-weight:400}#mg-editor .mg-rail button.active{color:var(--wine);background:#f5e9ef}#mg-editor .mg-panel{width:245px;flex-shrink:0;overflow-y:auto;background:#fff;border-right:1px solid var(--line);padding:18px 16px}#mg-editor .mg-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}#mg-editor h2{font:600 16px Arial,sans-serif;margin:0;letter-spacing:0;text-transform:none;color:var(--ink)}#mg-editor h3{font:600 13px Arial;margin:20px 0 10px;color:var(--ink)}#mg-editor .mg-panel-head button{border:0;font-size:20px;padding:0 8px}#mg-editor .mg-workspace{flex:1;min-width:0;min-height:0;padding:22px 20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at center,#f5f3f7,#e5e1e9)}#mg-editor .mg-stage{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}#mg-editor canvas{display:block;max-width:100%;max-height:100%;background:#f9eddb;box-shadow:0 10px 35px #2d152c30;touch-action:none;cursor:default}#mg-editor #mg-loading{position:absolute;background:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 24px #0002;pointer-events:none}#mg-editor .mg-canvas-note{font-size:10px;color:var(--muted);padding-top:13px;text-align:center}#mg-editor .mg-inspector{background:#fff;border-left:1px solid var(--line);width:214px;padding:20px 16px;overflow-y:auto;flex-shrink:0}#mg-editor .mg-inspector>label{margin-bottom:13px}#mg-editor .mg-inspector>button{width:100%;margin-top:10px}#mg-editor #mg-selected{font-size:11px;margin:10px 0 16px;color:var(--muted)}#mg-editor .mg-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:13px}#mg-editor .mg-two{display:flex;gap:5px}#mg-editor .mg-two button{font-size:10px;flex:1;padding:8px 3px}#mg-editor .mg-help{font-size:10px;color:var(--muted);line-height:1.6;margin-top:20px}#mg-editor .mg-timeline{display:flex;align-items:center;gap:16px;padding:12px 20px;border-top:1px solid var(--line);background:#fff;min-height:66px;flex-shrink:0}#mg-editor #mg-seek{flex:1;width:auto}#mg-editor .mg-timeline output{font-size:11px;min-width:74px}#mg-editor .mg-timeline label{display:flex;align-items:center;gap:7px;white-space:nowrap}#mg-editor #mg-duration{width:55px;margin:0}#mg-editor #mg-properties{display:none}#mg-editor .mg-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}#mg-editor .mg-template-grid button{padding:0;overflow:hidden;white-space:normal;border-radius:8px}#mg-editor .mg-template-grid img{width:100%;aspect-ratio:9/16;object-fit:cover;display:block}#mg-editor .mg-template-grid span{font-size:10px;display:block;padding:8px 4px}#mg-editor .mg-template-grid button.active{border:2px solid var(--wine)}#mg-editor .mg-panel p{font-size:11px;color:var(--muted);line-height:1.6}#mg-editor .mg-panel .mg-block{display:block;width:100%;margin:9px 0}#mg-editor .mg-upload-box{border:1px dashed #bc8799;border-radius:10px;padding:18px 12px;background:#fcf5f8;text-align:center}#mg-editor .mg-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}#mg-editor .mg-upload-grid button{padding:4px;font-size:10px;overflow:hidden;white-space:normal}#mg-editor .mg-upload-grid img,#mg-editor .mg-upload-grid video{width:100%;height:75px;object-fit:cover;display:block;margin-bottom:5px}#mg-editor .mg-element-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}#mg-editor .mg-element-grid button{height:75px;font-size:28px}#mg-editor .mg-layer{display:flex;align-items:center;gap:8px;width:100%;margin:7px 0;text-align:left;overflow:hidden;font-size:11px!important}#mg-editor .mg-layer.active{background:#f5e9ef;border-color:#ac8291}#mg-editor .mg-swatch-row{display:flex;gap:7px;margin:12px 0}#mg-editor .mg-swatch-row button{width:30px;min-height:30px;padding:0;border-radius:50%}#mg-editor dialog{border:0;border-radius:16px;box-shadow:0 25px 100px #0004;max-width:430px;width:calc(100% - 32px);padding:25px;color:var(--ink);background:#fff}#mg-editor dialog::backdrop{background:#1c102c88}#mg-editor dialog button{width:100%;margin:7px 0}#mg-editor dialog .mg-panel-head button{width:auto}#mg-editor dialog p{font-size:12px;line-height:1.6;color:var(--muted)}#mg-editor #mg-toast{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);background:#281b23;color:#fff;padding:12px 20px;border-radius:9px;box-shadow:0 4px 20px #0002;display:none;max-width:90%;z-index:10;font-size:12px}#mg-editor button[aria-pressed=true]{background:#f3e3e9;border-color:var(--wine)}#mg-editor [hidden]{display:none!important}
@media(max-width:1100px){#mg-editor .mg-inspector{display:none;position:absolute;right:0;top:126px;bottom:66px;z-index:4;box-shadow:-8px 0 30px #0002}#mg-editor .mg-inspector.open{display:block}#mg-editor #mg-properties{display:block}#mg-editor .mg-panel{width:220px}#mg-editor #mg-status{display:none}#mg-editor #mg-name{flex:1}#mg-editor .mg-top{gap:7px;padding:10px}}
@media(max-width:700px){body.admin-bar #mg-editor{top:0}#mg-editor .mg-top{min-height:60px;flex-wrap:nowrap}#mg-editor .mg-brand{font-size:23px;margin-right:0}#mg-editor .mg-brand span{display:none}#mg-editor #mg-name{width:90px;font-size:11px}#mg-editor .mg-top button{padding:8px;font-size:11px}#mg-editor #mg-save{display:block}#mg-editor .mg-toolbar{padding:6px 9px;gap:5px;min-height:52px}#mg-editor .mg-toolbar-note{display:none}#mg-editor .mg-main{position:relative}#mg-editor .mg-rail{width:57px;padding:8px 3px}#mg-editor .mg-rail button{font-size:8px;min-height:56px}#mg-editor .mg-rail span{font-size:22px}#mg-editor .mg-panel{display:none;position:absolute;left:57px;top:0;bottom:0;width:235px;z-index:5;box-shadow:10px 0 30px #0002}#mg-editor .mg-panel.open{display:block}#mg-editor .mg-workspace{padding:14px 10px 7px}#mg-editor .mg-canvas-note{font-size:9px}#mg-editor .mg-timeline{padding:8px;gap:7px;min-height:60px}#mg-editor .mg-timeline button{font-size:10px;padding:8px}#mg-editor .mg-timeline output{display:none}#mg-editor .mg-timeline label{font-size:9px;gap:3px}#mg-editor #mg-duration{width:44px;padding:6px}#mg-editor .mg-inspector{top:112px;bottom:60px}#mg-editor #mg-undo,#mg-editor #mg-redo{min-width:30px;padding:6px}#mg-editor .mg-toolbar select{width:120px}}

#mg-editor .mg-preview-dialog{max-width:650px;width:calc(100% - 24px);padding:16px;max-height:96vh;overflow:auto}#mg-editor #mg-preview-canvas{height:65vh;max-height:65vh;width:auto;max-width:100%;margin:0 auto;aspect-ratio:9/16}#mg-editor .mg-preview-actions{display:flex;gap:10px}#mg-editor #mg-save-dialog label{margin:16px 0}#mg-editor #mg-save-dialog select{padding:10px}#mg-editor .mg-top{gap:7px}#mg-editor #mg-preview-top{color:#751b2d;border-color:#b88a99}@media(max-width:700px){#mg-editor #mg-name{max-width:72px}#mg-editor .mg-top button{font-size:10px;padding:7px}#mg-editor #mg-status{display:none}#mg-editor #mg-preview-canvas{height:58vh}}

#mg-editor #mg-scale-tools{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:8px;padding:6px 8px;background:#fff;border:1px solid #e7e1e5;border-radius:9px;box-shadow:0 4px 16px #25121e20;white-space:nowrap}#mg-editor #mg-scale-tools button{padding:3px 10px;min-height:30px;font-size:18px}#mg-editor #mg-scale-tools output{font-size:12px;min-width:38px;text-align:center}#mg-editor #mg-scale-tools span{font-size:10px;color:#796f78}#mg-editor #mg-scale-slider{margin:0 0 13px}#mg-editor .mg-motion input{width:auto;margin:0 5px}#mg-editor .mg-preview-actions button{flex:1;min-width:0;font-size:12px;white-space:normal}#mg-editor #mg-animate{color:#751b2d}@media(max-width:700px){#mg-editor #mg-scale-tools span{display:none}#mg-editor .mg-motion{display:none}}

#mg-editor .mg-side-history{margin-top:auto;border-top:1px solid #ddd;padding-top:8px}#mg-editor .mg-rail{display:flex;flex-direction:column}#mg-editor #mg-text-tools{position:absolute;z-index:8;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:6px;background:white;border:1px solid #e2dbe5;border-radius:16px;box-shadow:0 5px 20px #24132630;max-width:calc(100% - 12px)}#mg-editor #mg-text-tools[hidden]{display:none}#mg-editor #mg-text-tools button{padding:7px 6px;white-space:nowrap;font-size:11px;border:0;background:#fff;border-radius:7px}#mg-editor #mg-text-tools button:hover{background:#f1e9f2}#mg-editor #mg-quick-size{width:52px;font-size:12px;padding:5px}#mg-editor #mg-loading{z-index:10}#mg-editor .mg-side-history button:disabled{opacity:.35}@media(max-width:700px){#mg-editor #mg-text-tools{flex-wrap:wrap;justify-content:center;width:290px}#mg-editor #mg-text-tools button{padding:5px}}

#mg-editor .mg-side-history{display:flex;flex-direction:column;gap:2px}#mg-editor .mg-side-history button{width:100%;min-height:48px}#mg-editor #mg-scale-tools{top:auto;bottom:8px}#mg-editor #mg-quick-font{width:105px;min-width:75px;font-size:11px;padding:6px 2px}#mg-editor #mg-text-tools{width:max-content;max-width:calc(100% - 12px)}@media(max-width:700px){#mg-editor #mg-text-tools{width:290px}#mg-editor .mg-side-history button{min-height:42px}}

#mg-editor #mg-payment-box{padding:16px;border:1px solid #e2cbbb;border-radius:12px;background:#fff8ed;margin-bottom:18px}#mg-editor .mg-checkout-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#mg-editor #mg-coupon{min-width:0;flex:1;padding:10px;border:1px solid #d9c6bc;border-radius:7px}#mg-editor #mg-payment-message{font-size:14px;line-height:1.5}#mg-editor #mg-checkout-price{font-weight:600;color:#751b2d}#mg-editor #mg-export button:disabled{opacity:.45;cursor:not-allowed}

/* Keep both canvas dimensions on the same scale, including narrow mobile stages. */
#mg-editor #mg-canvas{flex:none;aspect-ratio:9/16;object-fit:contain;min-width:0;min-height:0;max-width:none;max-height:none}#mg-editor .mg-top{flex-shrink:0}#mg-editor .mg-stage{overflow:hidden}
@media(max-width:700px){#mg-editor .mg-top{gap:4px;padding:7px 6px}#mg-editor #mg-name{min-width:0;max-width:65px}#mg-editor .mg-brand{flex-shrink:0}#mg-editor .mg-top button{flex-shrink:0}#mg-editor .mg-workspace{padding:8px 6px 5px}#mg-editor .mg-inspector{top:0;bottom:0;width:min(260px,calc(100% - 57px));z-index:7}#mg-editor .mg-panel{width:min(260px,calc(100% - 57px))}#mg-editor #mg-text-tools{width:min(290px,calc(100% - 8px));max-width:calc(100% - 8px)}#mg-editor .mg-timeline{padding-bottom:max(8px,env(safe-area-inset-bottom))}#mg-editor .mg-rail{padding-top:3px;gap:0}#mg-editor .mg-rail button{min-height:49px;padding:5px 2px}#mg-editor .mg-rail span{margin-bottom:2px}}

#mg-editor #mg-layer-count{display:inline-block;background:#f2e2e8;color:#751b2d;border-radius:9px;padding:1px 4px;font:10px Arial,sans-serif}#mg-editor .mg-layer{min-height:42px;white-space:normal!important;overflow-wrap:anywhere}
