body.ay-poster-editing #ay-elegant-public.ay-poster-edit-source{position:absolute!important;left:-20000px!important;top:0!important;width:720px!important;min-width:720px!important;max-width:720px!important;visibility:hidden!important;pointer-events:none!important;overflow:hidden!important}
.ay-poster-editor{box-sizing:border-box;max-width:1000px;margin:0 auto;padding:30px 24px 48px;color:#3f3025;font-family:Georgia,serif}.ay-poster-editor *{box-sizing:border-box}.ay-poster-editor .ay-poster-back{display:inline-block;color:#a4512b;text-decoration:none;margin:0 0 20px;font:15px/1.4 Arial,sans-serif}.ay-poster-editor h1{font:700 clamp(28px,5vw,44px)/1.15 Georgia,serif;margin:0 0 12px}.ay-poster-editor .ay-poster-lead{font:16px/1.6 Arial,sans-serif;color:#76614e;margin:0 0 24px}.ay-poster-page-designs{display:flex;gap:12px;overflow-x:auto;padding:4px 3px 14px;scroll-snap-type:x proximity}.ay-poster-page-designs button{flex:0 0 115px;display:grid;gap:8px;padding:8px;background:#fffaf0;color:#493323;border:1px solid #dfccb0;border-radius:12px;cursor:pointer;scroll-snap-align:start;font:14px Georgia,serif}.ay-poster-page-designs button[aria-pressed=true]{border:2px solid #d46a2d;padding:7px;box-shadow:0 0 0 2px #e9ac7440}.ay-poster-page-designs img{display:block;width:100%;height:130px;object-fit:contain}.ay-poster-page-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:18px 0}.ay-poster-page-controls label{display:grid;gap:7px;flex:1;min-width:180px;font:700 14px Arial,sans-serif}.ay-poster-page-controls select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #d9c7af;border-radius:10px;color:#493323;background:#fffaf2;font:15px Arial,sans-serif}.ay-poster-page-controls button{min-height:46px;border:0;border-radius:12px;padding:12px 22px;font:700 15px Arial,sans-serif;cursor:pointer}.ay-poster-page-download{background:#cf6025;color:white}.ay-poster-page-controls button:disabled{opacity:.6;cursor:wait}.ay-poster-page-retry{background:#f5e4cd;color:#87452a}.ay-poster-page-status{min-height:24px;font:14px/1.5 Arial,sans-serif;color:#a54d24;margin:0 0 16px}.ay-poster-page-view{max-width:620px;margin:0 auto;background:#eee2cd;border-radius:6px;box-shadow:0 8px 28px #46332124;overflow:hidden;min-height:80px}.ay-poster-page-view canvas{display:block;width:100%;height:auto;max-width:100%}.ay-poster-editor :is(button,a,select):focus-visible{outline:3px solid #dc752e;outline-offset:3px}.ay-poster-editor [hidden]{display:none!important}
html[data-theme=dark] .ay-poster-editor{color:#fff0d6}html[data-theme=dark] .ay-poster-editor :is(.ay-poster-lead,.ay-poster-back,.ay-poster-page-status){color:#dfb58e}html[data-theme=dark] .ay-poster-page-designs button,html[data-theme=dark] .ay-poster-page-controls select{background:#15342f;color:#f8e9d1;border-color:#6a7354}
@media(max-width:600px){.ay-poster-editor{padding:22px 18px 32px}.ay-poster-page-controls label,.ay-poster-page-download{width:100%}.ay-poster-page-designs button{flex-basis:96px}.ay-poster-page-designs img{height:115px}}

/* Constrain every flex/grid child to the mobile viewport; only the model rail scrolls. */
body.ay-poster-editing{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:clip!important}
body.ay-poster-editing #ay-site-header{width:100%!important;max-width:100%!important}
body.ay-poster-editing .ay-poster-editor{display:block!important;width:100%!important;min-width:0!important;max-width:1000px!important;overflow:hidden;margin:0 auto!important}
body.ay-poster-editing .ay-poster-editor>*{min-width:0;max-width:100%}
body.ay-poster-editing .ay-poster-page-designs{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}
body.ay-poster-editing .ay-poster-page-controls{min-width:0;width:100%}
body.ay-poster-editing .ay-poster-page-controls label{min-width:0;max-width:100%}
body.ay-poster-editing .ay-poster-page-view{width:min(100%,620px);min-width:0;max-width:100%;}
body.ay-poster-editing .ay-poster-page-view canvas{width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important}
body.ay-poster-editing .ay-poster-page-status,body.ay-poster-editing .ay-poster-lead{white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){body.ay-poster-editing .ay-poster-editor{padding:20px 16px 30px!important}body.ay-poster-editing .ay-poster-page-view{max-width:350px;margin-inline:auto}body.ay-poster-editing .ay-poster-page-designs button{flex:0 0 92px;max-width:92px}body.ay-poster-editing .ay-poster-page-controls label{flex-basis:100%}}
