.demo-dialog{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:32px 24px 24px;border:1px solid #555;border-radius:20px;background:#292929;color:#f5f5f5;text-align:center;box-shadow:0 24px 80px #0008;font-family:inherit}
.demo-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.demo-dialog__badge{display:inline-block;margin-bottom:16px;padding:5px 12px;border-radius:20px;background:#ffc10720;color:#ffc107;font-size:12px;font-weight:700;letter-spacing:1px}
.demo-dialog h2{margin:0 0 12px;color:#ffc107;font-size:25px;line-height:1.3}
.demo-dialog p{margin:0;color:#ccc;font-size:15px;line-height:1.7}
.demo-dialog__dots{display:flex;justify-content:center;gap:10px;padding:28px 0 12px}
.demo-dialog__dots span{width:10px;height:10px;border-radius:50%;background:#ffc107;animation:demo-dot 1s ease-in-out infinite}
.demo-dialog__dots span:nth-child(2){animation-delay:.15s}.demo-dialog__dots span:nth-child(3){animation-delay:.3s}
.demo-dialog__actions{display:flex;gap:12px;margin-top:28px}
.demo-dialog button{flex:1;min-height:46px;border:0;border-radius:24px;background:#444;color:#fff;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer}
.demo-dialog button[data-demo-confirm]{background:#ffc107;color:#212121}
.demo-dialog button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.demo-dialog [hidden]{display:none!important}
html.demo-dialog-open{overflow:hidden}
@keyframes demo-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){.demo-dialog__dots span{animation:none}}
@media(max-width:360px){.demo-dialog{padding:26px 18px 20px}.demo-dialog h2{font-size:22px}}
