.pg-dialog{box-sizing:border-box;width:min(448px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:32px;border:0;border-radius:20px;background:#17201a;color:#f1f5f0;font:16px/1.5 Onest,system-ui,sans-serif;box-shadow:0 24px 80px #0009;overflow:auto;overscroll-behavior:contain;text-align:left}
.pg-dialog::backdrop{background:rgb(4 9 6 / 76%)}
html:has(.pg-dialog[open]){overflow:hidden}
.pg-dialog *{box-sizing:border-box}
.pg-dialog button,.pg-dialog a,.pg-dialog input{font:inherit}
.pg-dialog button{cursor:pointer}
.pg-dialog .pg-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#b7c7ba}
.pg-close svg{width:20px;height:20px}
.pg-close:hover{background:#28362c;color:#fff}
.pg-crown{display:block;width:68px;height:56px;margin:0 0 22px;color:#e6cc8c}
.pg-dialog h2{margin:0 0 16px;font-size:36px;line-height:1.12;letter-spacing:-.035em;font-weight:650;text-wrap:balance;max-width:10.8em}
.pg-intro{margin:0;color:#bdcbbf;font-size:16px;line-height:1.5}
.pg-intro strong{color:#f1f5f0;font-weight:600}
.pg-benefits{display:grid;gap:9px;padding:0;margin:22px 0 26px;list-style:none;color:#d8e5da;font-size:15px}
.pg-benefits li{display:flex;align-items:flex-start;gap:10px}
.pg-benefits svg{width:19px;height:19px;flex:none;margin-top:2px;color:#9cf6c2}
.pg-primary{display:flex;align-items:center;justify-content:center;min-height:52px;width:100%;padding:13px 18px;border:0;border-radius:12px;background:#9cf6c2;color:#10261b;text-decoration:none;font-size:16px;font-weight:650;line-height:1.3;transition:background .16s}
.pg-primary:hover{background:#b6ffd4}
.pg-primary:active{background:#83e7ae}
.pg-primary:disabled{cursor:wait;background:#659c7b;color:#10261b}
.pg-error{margin:12px 0;color:#ffb7b1;font-size:14px;line-height:1.45}
.pg-error[hidden]{display:none}
.pg-link{margin:22px 0 24px}
.pg-link label{display:block;margin-bottom:9px;color:#d8e5da;font-size:14px;font-weight:500}
.pg-link-row{display:flex;align-items:stretch;gap:8px}
.pg-link input{min-width:0;width:100%;height:46px;padding:10px 12px;border:1px solid #405447;border-radius:10px;background:#101813;color:#c8dbce;font-size:14px;text-overflow:ellipsis;caret-color:#9cf6c2}
.pg-copy{display:grid;place-items:center;flex:none;width:46px;min-height:46px;padding:10px;border:1px solid #405447;border-radius:10px;background:#26352b;color:#cfe7d6}
.pg-copy svg{width:21px;height:21px}
.pg-copy:hover{background:#354a3b}
.pg-copy-status{display:block;margin-top:7px;min-height:20px;color:#9cf6c2;font-size:13px}
.pg-dialog :focus-visible,.pg-available:focus-visible{outline:2px solid #c5ffdc;outline-offset:4px}
.pg-available{display:block;max-width:calc(100% - 36px);margin:8px auto 16px;padding:8px 0;border:0;background:transparent;color:#9cf6c2;font:500 14px/1.4 Onest,system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.pg-dialog ::selection{background:#9cf6c2;color:#10261b}
@media(max-width:360px){.pg-dialog{padding:24px;border-radius:16px}.pg-dialog h2{font-size:32px}.pg-crown{margin-bottom:18px}.pg-benefits{margin:18px 0 22px}}
@media(prefers-reduced-motion:reduce){.pg-primary{transition:none}}
