.ygk-success-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(420px,calc(100% - 40px));max-height:calc(100dvh - 40px);padding:36px 28px 28px;border:0;border-radius:12px;background:#fff;color:#172f29;text-align:center;box-shadow:0 16px 64px #0003;font-family:inherit}
.ygk-success-dialog::backdrop{background:#0007}
.ygk-success-dialog p{margin:0 0 24px;font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.ygk-success-dialog .button{min-height:44px;min-width:120px;background:#205245;color:#fff;border:0;border-radius:6px;font:inherit;cursor:pointer}
.ygk-success-dialog .button:focus-visible,.ygk-cart-success button:focus-visible{outline:3px solid #60b397;outline-offset:3px}
.ygk-cart-success{box-sizing:border-box;position:fixed;inset:calc(24px + env(safe-area-inset-top)) 20px auto auto;z-index:999999;display:flex;align-items:center;gap:16px;width:max-content;max-width:calc(100% - 40px);padding:14px 14px 14px 20px;border:1px solid #d4e8df;border-radius:8px;background:#f0f8f4;color:#205245;box-shadow:0 6px 24px #0002;font-size:15px;line-height:1.5}
.ygk-cart-success[hidden]{display:none}
.ygk-cart-success button{flex-shrink:0;width:44px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-size:26px;cursor:pointer}
@media(max-width:480px){.ygk-cart-success{inset-inline:16px;max-width:calc(100% - 32px);width:auto;justify-content:space-between;font-size:14px}.ygk-success-dialog{padding:28px 20px 24px}}
