.ezgs-modal{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #333;border-radius:20px;background:#111;color:#f6f3ee;font:inherit;box-shadow:0 24px 80px #0009;margin:auto}
.ezgs-modal::backdrop{background:#000b;backdrop-filter:blur(5px)}
.ezgs-modal *{box-sizing:border-box;min-width:0}.ezgs-modal [hidden]{display:none!important}
.ezgs-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ezgs-heading h2{margin:0;font-family:inherit;font-weight:700;font-size:24px;line-height:1.2}.ezgs-modal h3{font-size:18px;margin:16px 0 8px}.ezgs-modal p{color:#b7b7bf;margin:12px 0;overflow-wrap:anywhere}.ezgs-modal .ezgs-status{font-size:14px;color:#f6f3ee}
.ezgs-close{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;padding:0;position:relative;background:transparent;border:1px solid #FF38E4;border-radius:50%;color:#FF38E4;font-size:28px;cursor:pointer;touch-action:manipulation}
.ezgs-preview{display:block;width:100%;height:210px;object-fit:contain;background:#08080b;border:1px solid #2c2c32;border-radius:14px;margin-top:16px}
.ezgs-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ezgs-actions a,.ezgs-actions button,.ezgs-another,.ezgs-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #ec489980;border-radius:999px;background:#171218;color:#f6f3ee;text-decoration:none;font-family:inherit;font-weight:600;font-size:14px;line-height:1.2;cursor:pointer;white-space:normal;text-align:center}
.ezgs-actions .ezgs-native{grid-column:1/-1}.ezgs-actions .ezgs-copy{background:#ec4899;color:#0b1120;border-color:#ec4899}
.ezgs-modal button:focus-visible,.ezgs-modal a:focus-visible,.ezgs-trigger:focus-visible{outline:2px solid #ec4899;outline-offset:3px}.ezgs-actions a:hover,.ezgs-actions button:hover,.ezgs-another:hover,.ezgs-trigger:hover{border-color:#ec4899;filter:brightness(1.12)}
.ezgs-link-label{display:block;font-size:13px;color:#b7b7bf;margin-top:16px}.ezgs-link{width:100%;min-height:44px;margin-top:6px;border:1px solid #38383e;border-radius:10px;background:#08080b;color:#f6f3ee;padding:8px 10px;font:inherit}
.ezgs-footer{display:grid;gap:10px;margin-top:12px}.ezgs-footer small{color:#b7b7bf}.ezgs-another{justify-self:start;color:#ec4899;background:transparent}.ezgs-pack{max-height:120px;overflow:auto;border:1px solid #333;border-radius:10px;padding:12px;font-size:14px}.ezgs-pack>div{display:flex;align-items:center;gap:8px}.ezgs-swatch{width:14px;height:14px;border-radius:50%;border:1px solid #777;flex:none}
.ezgs-trigger{color:#ec4899;background:transparent}.ezgs-trigger:disabled{opacity:.5;cursor:default}.ezgs-trigger-icon{width:44px;min-width:44px;padding:8px}.ezgs-restore-error{padding:24px;background:#111;border:1px solid #333;border-radius:20px;color:#fff;margin:20px auto}
#ezgift-party-pack .ezgs-trigger{margin:8px 0 0 8px;min-height:44px;padding:10px 14px;border:1px solid #ec489980;border-radius:999px;background:transparent;color:#ec4899;font:inherit;font-weight:600}
@media(max-width:430px){.ezgs-modal{padding:16px;border-radius:16px}.ezgs-preview{height:170px}.ezgs-heading h2{font-size:21px}.ezgs-actions a,.ezgs-actions button{padding:10px 8px;font-size:14px}}
.ezgs-modal .ezgs-close{box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;padding:0!important;flex:0 0 44px!important;border-radius:50%!important;background:transparent!important;color:#FF38E4!important;border:1px solid #FF38E4!important;font:0/1 system-ui!important;box-shadow:none}
.ezgs-modal .ezgs-close::before,.ezgs-modal .ezgs-close::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:1px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
.ezgs-modal .ezgs-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
@media(hover:hover){.ezgs-modal .ezgs-close:hover{background:rgba(255,56,228,.10)!important}}
.ezgs-modal .ezgs-close:active{background:rgba(255,56,228,.16)!important}
.ezgs-modal .ezgs-close:focus-visible{outline:2px solid #FF38E4!important;outline-offset:3px!important}
.ezgs-modal .ezgs-native,.ezgs-modal .ezgs-another{background:#171218!important;color:#f6f3ee!important;border-radius:999px!important}
.ezgs-modal .ezgs-another{color:#ec4899!important;background:transparent!important}
.ezgs-heading h2{font-family:inherit;font-weight:700;font-size:24px;line-height:1.2}
.ezgs-actions a,.ezgs-actions button,.ezgs-another,.ezgs-trigger{font-family:inherit;font-weight:600;font-size:14px;line-height:1.2}
@media(max-width:430px){.ezgs-heading h2{font-size:21px}}
.ezgs-modal .ezgs-preview{width:100%!important;height:210px!important;max-height:210px;object-fit:contain!important}
@media(max-width:430px){.ezgs-modal .ezgs-preview{height:170px!important;max-height:170px}}

#ezgift-party-pack .ezgs-has-preview-share { position: relative; }
#ezgift-party-pack .ezgift-party-pack__preview > .ezgs-preview-share {
  position: absolute; left: 14px; right: auto; bottom: 14px; z-index: 5;
  display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px;
  margin: 0; padding: 0; border: 1px solid var(--ess-pink, #ec4899); border-radius: 11px;
  background: rgba(7, 11, 24, 0.88); color: var(--ess-pink, #ec4899); touch-action: manipulation;
}
#ezgift-party-pack .ezgift-party-pack__preview > .ezgs-preview-share:hover { background: rgba(236, 72, 153, 0.16); }
#ezgift-party-pack [data-party-review] + .ezgs-trigger-icon { width: 44px; height: 44px; padding: 0; border-radius: 11px; }
@media (max-width: 760px) {
  #ezgift-party-pack .ezgs-has-preview-share .footballColourOverlay.hasTwoColours .footballColourOverlayAccent { right: 68px; }
}
/* Keep Group Pack Share clear of the existing in-preview desktop instruction. */
@media (min-width: 1024px) {
  #ezgift-party-pack .ezgift-party-pack__preview > .ezgs-preview-share { bottom: 42px; }
}
