.preview-watermark{z-index:60;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='380'%3E%3Cg transform='rotate(-30 190 190)' font-family='Helvetica,Arial,sans-serif' font-size='24' font-weight='700' letter-spacing='5' text-anchor='middle' fill='%233d2c2e' fill-opacity='0.3' stroke='%23ffffff' stroke-opacity='0.45' stroke-width='1'%3E%3Ctext x='190' y='108'%3EPREVIEW %C2%B7 MEHFIL%3C/text%3E%3Ctext x='190' y='298'%3EMEHFIL %C2%B7 PREVIEW%3C/text%3E%3C/g%3E%3C/svg%3E");background-repeat:repeat;background-size:380px 380px;position:absolute;inset:0}@media print{.preview-watermark{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.editor-animation-dialog{width:min(1120px,100vw - 32px);max-width:none;height:min(920px,100dvh - 32px);max-height:none;color:var(--ink);background:#fff;border:1px solid #e3d5c8;border-radius:18px;margin:auto;padding:0;overflow:hidden}.editor-animation-dialog[open]{grid-template-rows:auto auto minmax(0,1fr);display:grid}.editor-animation-dialog::backdrop{background:#251b24a6}.editor-animation-heading{justify-content:space-between;align-items:center;gap:16px;padding:18px 22px 10px;display:flex}.editor-animation-heading h2{font:600 1.125rem/1.4 var(--body);margin:0}.editor-animation-heading p{color:#78666c;margin:4px 0 0;font-size:.8125rem}.editor-animation-tools{border-bottom:1px solid #eadfe1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:6px 22px 14px;display:flex}.editor-animation-stage{background:#f5edef;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.editor-animation-size{position:relative}.editor-animation-frame{transform-origin:0 0;background:#302e2c;border-radius:30px;padding:10px;position:absolute;inset:0;box-shadow:0 12px 30px #38262b26}.editor-animation-frame.is-desktop{border-radius:14px}.editor-animation-frame iframe{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fffcf5;border:0;border-radius:20px;display:block}.editor-animation-frame.is-desktop iframe{border-radius:6px}.editor-animation-loading{text-align:center;background:#f5edef;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;font-size:.875rem;display:flex;position:absolute;inset:0}.editor-preview-waiting{text-align:center;padding:24px}@media (max-width:640px){.editor-animation-dialog{border:0;border-radius:0;width:100%;height:100dvh}.editor-animation-heading{padding:12px 12px 6px}.editor-animation-tools{padding:6px 12px 10px}.editor-animation-tools .editor-cover-modes{flex:1}.editor-animation-tools .editor-cover-modes button{flex:1;padding-inline:8px}}.editor-animation-mark{pointer-events:none;border-radius:20px;position:absolute;inset:10px;overflow:hidden}.editor-animation-frame.is-desktop .editor-animation-mark{border-radius:6px}
.editor-cover-preview{justify-items:center;gap:24px;width:100%;min-width:0;display:grid}.editor-cover-controls{justify-items:center;gap:14px;max-width:100%;display:grid}.editor-cover-modes{background:#fff;border:1px solid #e3dce0;border-radius:14px;gap:4px;max-width:100%;padding:5px;display:flex;box-shadow:0 3px 12px #33212a05}.editor-preview-actions{justify-content:center;align-items:flex-start;gap:10px;max-width:100%;display:flex}.editor-preview-actions>.button,.editor-preview-actions .invitation-download-trigger{white-space:nowrap;min-height:44px}@media (max-width:420px){.editor-preview-actions{gap:8px}.editor-preview-actions>.button,.editor-preview-actions .invitation-download-trigger{gap:6px;padding-inline:10px;font-size:.8125rem}}.editor-cover-modes button{color:#6b5f65;min-width:0;min-height:44px;font-size:var(--text-label,.875rem);border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:9px 14px;line-height:1.5;transition:background-color .16s,color .16s;display:flex}.editor-cover-modes button svg{flex-shrink:0}.editor-cover-modes button:hover{background:#f5f2f4}.editor-cover-modes button[aria-pressed=true]{color:#fff;background:#651626;box-shadow:0 2px 5px #6516261a}.editor-cover-modes button:focus-visible{outline-offset:2px;outline:2px solid #9d596e}.editor-cover-stage{--preview-limit:28rem;width:min(100%, var(--preview-limit), calc(max(300px, 100svh - 390px) * var(--preview-ratio)));max-width:100%;aspect-ratio:var(--preview-ratio);position:relative;container-type:inline-size}.editor-cover-stage.is-mobile{--preview-limit:15.625rem}.editor-cover-stage.is-desktop{--preview-limit:34rem}.editor-cover-stage>.device-shell{transform-origin:0 0;position:absolute;inset:0}.editor-cover-stage>.device-shell:not(.phone-frame){box-sizing:border-box;background:linear-gradient(135deg,#484847,#191918 40%,#393936);border:1px solid #918d8a;border-radius:24px;flex-direction:column;padding:10px;display:flex;box-shadow:0 16px 36px #38262b21,0 2px 5px #38262b1c;container-type:inline-size}.editor-cover-stage>.device-shell:not(.phone-frame)>.device-screen{isolation:isolate;border-radius:15px;flex:1;min-height:0;position:relative;overflow:hidden}.editor-cover-stage>.device-shell-desktop:not(.phone-frame){background:#fff;border-color:#d2cdd1;border-radius:14px;padding:0 5px 5px}.editor-cover-stage>.device-shell-desktop:not(.phone-frame)>.device-screen{border-radius:0 0 9px 9px}.editor-cover-stage .device-browser-bar{flex-shrink:0;align-items:center;gap:5px;height:26px;padding-inline:8px;display:flex}.editor-cover-stage .device-browser-bar>span{background:#c9bdc2;border-radius:50%;width:5px;height:5px}.editor-cover-stage .device-browser-bar>i{font:10px var(--body,sans-serif);color:#8a7a81;margin-inline:auto;font-style:normal}@media (max-width:420px){.editor-cover-modes button{padding-inline:10px}}@media (prefers-reduced-motion:reduce){.editor-cover-modes button{transition:none}}
