.thanks-card {margin: 1.4rem 0 0; padding: 1.8rem 1.4rem; text-align: center; background: color-mix(in srgb, var(--c-bg) 88%, var(--c-text) 12%); color: var(--c-text); border: var(--card-b, 0 solid transparent); border-radius: var(--r, 14px); box-shadow: var(--shadow, none);}
.bg-soft .thanks-card, .bg-primary .thanks-card, .bg-custom .thanks-card {background: var(--c-bg);}
.th-check {display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #27ae60; color: #fff; font-size: 1.8rem; font-weight: 800;}
.th-title {margin: .7rem 0 .3rem; font-size: 1.6rem;}
.th-text, .thanks-card .form-ok {margin: .3rem 0 0;}
.th-next {margin: 1.2rem 0 .4rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8;}
.th-steps {margin: 0 auto; padding: 0; max-width: 28rem; text-align: left; list-style: none; counter-reset: th; display: grid; gap: .5rem;}
.th-steps li {counter-increment: th; display: flex; gap: .7rem; align-items: flex-start;}
.th-steps li::before {content: counter(th); flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); font-size: .85rem; font-weight: 800;}
.th-btn {margin-top: 1.3rem;}
.thanks {position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(0, 0, 0, .6);}
.thanks[hidden] {display: none;}
.thanks-box {width: 100%; max-width: 30rem; max-height: calc(100vh - 2rem); overflow: auto; box-sizing: border-box; padding: 1.8rem 1.4rem; text-align: center; background: var(--c-bg); color: var(--c-text); border-radius: var(--r, 14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4);}
.thanks-close {margin-top: 1rem;}
@media (prefers-reduced-motion: no-preference){.thanks:not([hidden]) .thanks-box {animation: wb-pop-in .28s ease-out;}
.thanks:not([hidden]) .th-check {animation: wb-pop .45s ease-out .1s both;}
}
.thanks-card .form-ok {margin: .3rem 0 0; padding: 0; border: 0; background: none; box-shadow: none; font-weight: 400;}
