.ac-thankyou-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:38px 30px 30px;border:1px solid var(--line);border-radius:24px;background:var(--cream);color:var(--ink);text-align:center;box-shadow:0 20px 90px #0003;overflow:auto}
.ac-thankyou-dialog::backdrop{background:#172019a6;backdrop-filter:blur(5px)}
.ac-thankyou-x{position:absolute;right:12px;top:10px;border:0;background:transparent;color:var(--ink);width:40px;height:40px;font-size:28px;line-height:1}
.ac-thankyou-mark{display:grid;place-items:center;margin:0 auto 20px;width:100px;height:100px;background:transparent}
.ac-thankyou-brand{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--accent);margin:0 0 14px}
.ac-thankyou-dialog h2{font-size:clamp(28px,6vw,38px);line-height:1.13;letter-spacing:-.7px;margin:0 0 18px}
.ac-thankyou-dialog #ac-thankyou-message{font-size:16px;line-height:1.7;color:var(--muted);margin:0 0 24px}
.ac-thankyou-dialog .ac-thankyou-done{width:100%;white-space:normal}
@media(max-width:480px){.ac-thankyou-dialog{padding:34px 22px 24px;border-radius:18px}}
@media(prefers-reduced-motion:no-preference){.ac-thankyou-dialog[open]{animation:ac-thankyou-in .25s ease-out}@keyframes ac-thankyou-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}

.ac-thankyou-mark img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:480px){.ac-thankyou-mark{width:84px;height:84px}}
