/* v18.6 paid event story preview — exact share/download artwork. */
#qrDesignerModal .p2-story-open{border:1px solid #bd9d68!important;background:#fffaf0!important;color:#695034!important}
#qrDesignerModal .p2-story-open small{color:#7b684e!important}
.p2-story-modal[hidden]{display:none!important}
.p2-story-modal{
 position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;
 padding:14px;background:rgba(25,20,15,.82);box-sizing:border-box;overflow-y:auto;
 overscroll-behavior:contain
}
.p2-story-sheet{
 box-sizing:border-box;width:min(100%,495px);max-height:min(96dvh,900px);overflow-y:auto;
 border:1px solid #dac8ad;border-radius:20px;padding:18px;
 background:linear-gradient(145deg,#fffdfa,#f2e8d7);box-shadow:0 24px 70px rgba(0,0,0,.35);
 display:flex;flex-direction:column;gap:11px
}
.p2-story-head{display:flex;gap:14px;justify-content:space-between;align-items:flex-start}
.p2-story-head>div{flex:1;min-width:0}
.p2-story-head small{font:800 10px/1.2 system-ui;letter-spacing:.13em;color:#916c37}
.p2-story-head h2{font:600 25px/1.14 Georgia,serif;color:#3b2d20;margin:5px 0}
.p2-story-head p{font:550 11px/1.45 system-ui;color:#695948;margin:0}
.p2-story-close{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#fff;
 border:1px solid #dfd0b9;font:650 18px Arial;color:#53422d}
.p2-story-image-wrap{margin:auto;max-width:100%;width:280px;max-height:min(57dvh,510px);
 display:flex;justify-content:center;align-items:center;
 box-shadow:0 10px 30px rgba(50,30,15,.2)}
.p2-story-image-wrap canvas{display:block;width:auto!important;height:auto!important;
 max-height:min(57dvh,510px)!important;max-width:100%!important;aspect-ratio:9/16;
 border:1px solid #dfd3bd}
.p2-story-status{font:650 11px/1.5 system-ui;text-align:center;color:#5d553f;min-height:17px}
.p2-story-status[data-error="true"]{color:#a3332c}
.p2-story-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.p2-story-actions button{min-height:47px;border-radius:10px;font:750 13px/1.2 system-ui;
 border:1px solid #926729;background:#9b7133;color:#fff}
.p2-story-actions button:last-child{background:#fffdfa;color:#644a2c}
.p2-story-actions button:disabled{opacity:.45;cursor:not-allowed}
.p2-story-foot{font:650 10px/1.3 system-ui;color:#85745e;text-align:center;margin:0}
@media(max-width:425px){
 .p2-story-modal{padding:8px}
 .p2-story-sheet{padding:12px;border-radius:14px;max-height:99dvh;gap:8px}
 .p2-story-head h2{font-size:21px}
 .p2-story-image-wrap{max-height:54dvh}
 .p2-story-image-wrap canvas{max-height:54dvh!important}
 .p2-story-actions button{font-size:12px}
}
