.acp-open { overflow: hidden; }
.acp-overlay[hidden] { display: none !important; }
.acp-overlay { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: rgba(12, 20, 16, .68); animation: acp-fade .2s ease; }
.acp-dialog { position: relative; width: min(100%, 480px); padding: 38px 34px 30px; border-radius: 18px; background: #fff; color: #17251d; text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); animation: acp-rise .28s ease; }
.acp-dialog h2 { margin: 14px 0 10px; font-size: clamp(24px, 5vw, 34px); line-height: 1.15; }
.acp-dialog p { margin: 0 0 18px; font-size: 17px; }
.acp-dialog small { display: block; margin-top: 16px; color: #657168; font-size: 12px; }
.acp-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: #59655e; font-size: 32px; line-height: 1; cursor: pointer; }
.acp-badge { display: inline-grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: #2f7d4a; color: #fff; font-size: 26px; font-weight: 800; transform: rotate(-7deg); }
.acp-code-label { margin-bottom: 7px !important; color: #59655e; font-size: 14px !important; }
.acp-code { padding: 10px 18px; border: 2px dashed #2f7d4a; border-radius: 8px; background: #f1faf4; color: #235f38; font-size: 19px; font-weight: 800; letter-spacing: 1.5px; cursor: pointer; }
.acp-copied { display: block; min-height: 22px; padding-top: 4px; color: #2f7d4a; font-size: 13px; }
.acp-action { display: block; margin-top: 6px; padding: 14px 20px; border-radius: 9px; background: #2f7d4a; color: #fff !important; font-size: 17px; font-weight: 700; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.acp-action:hover { background: #24643a; transform: translateY(-1px); }
@keyframes acp-fade { from { opacity: 0; } }
@keyframes acp-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@media (max-width: 520px) { .acp-dialog { padding: 32px 20px 24px; } }
@media (prefers-reduced-motion: reduce) { .acp-overlay, .acp-dialog { animation: none; } }
