dialog.funding-dialog{box-sizing:border-box;width:min(940px,calc(100% - 32px));max-height:92dvh;padding:32px;margin:auto;border:1px solid #a96536;border-top:3px solid #ed672f;border-radius:8px;background:radial-gradient(ellipse at 15% 0,#243138 0,transparent 65%),#0d191e;color:#dce1df;box-shadow:0 28px 100px #000c;overflow:auto}.funding-dialog::backdrop{background:#03090dcc;backdrop-filter:blur(5px)}.funding-close{position:absolute;top:18px;right:18px;width:36px;height:36px;border:1px solid #806247;background:#131f25;color:#d5c4a8;font-size:26px;cursor:pointer}.funding-root{padding:28px;border:1px solid #715137;border-top:3px solid #c66934;border-radius:6px;background:linear-gradient(130deg,#1c2a31ed,#0b161dee)}.funding-intro>span{font-size:11px;letter-spacing:2px;color:#b28b5c}.funding-intro h2{margin:10px 42px 7px 0!important;font-size:30px!important;line-height:1.15;color:#ece2ce}.funding-intro p{margin:0 0 24px;color:#9db0b7;font-size:16px}.funding-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.funding-method{position:relative;display:flex;align-items:center;gap:14px;padding:21px 16px 38px;text-align:left;border:1px solid #394e58;border-radius:5px;background:linear-gradient(135deg,#25363d,#122129);color:#e0e5e4;cursor:pointer;min-width:0}.funding-method>svg{width:38px;height:38px;flex:none;color:#b5aaa0}.funding-method strong{display:block;font-size:21px;line-height:1.25}.funding-method small{display:block;font-size:13px;color:#9aaeb6;margin-top:6px}.funding-method em{position:absolute;bottom:11px;left:69px;font-size:10px;font-style:normal;letter-spacing:1px;text-transform:uppercase;color:#b6a890}.funding-method.is-selected{border-color:#d97034;background:linear-gradient(135deg,#443022,#1b2428);box-shadow:inset 0 0 18px #ff742008}.funding-method.is-selected>svg{color:#ffa345}.funding-method em.is-ready{color:#79ceb1}.funding-method:focus-visible,.funding-close:focus-visible{outline:2px solid #ffb55d;outline-offset:3px}.funding-method:disabled{cursor:default;opacity:.55}.funding-body{padding:22px 0}.funding-empty{padding:30px 18px;text-align:center;border:1px dashed #415058;border-radius:5px;background:#07111660}.funding-empty>svg{width:42px;height:42px;color:#88633d}.funding-empty h3{font-size:23px;margin:12px 0 8px;color:#d8ccb8}.funding-empty p{max-width:510px;margin:0 auto 17px;color:#94a9b2;line-height:1.6}.funding-empty a{color:#e5a25e;text-decoration:none;border-bottom:1px dashed #966738}.funding-history{border-top:1px solid #3e4b50;padding-top:22px}.funding-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.funding-history h3{margin:0;font-size:22px;color:#e0dfd7}.funding-history header p{margin:5px 0 0;color:#8fa3ad;font-size:13px}.funding-history .rf-btn,.funding-body .rf-btn{min-height:42px;font-size:15px;padding:10px 16px;cursor:pointer;border:1px solid #db6831;background:linear-gradient(#c9471e,#882c14);color:#f5e4c7;border-radius:3px}.funding-history .rf-btn.secondary,.funding-body .rf-btn.secondary{background:#15252c;border-color:#5b6665;color:#cabc9f}.funding-root .rf-btn:disabled,.funding-dialog .rf-btn:disabled{opacity:.5;cursor:not-allowed}.funding-history-empty{padding:25px 0;color:#90a4ad;font-size:15px}.funding-muted{color:#8a9fa9;font-size:13px;line-height:1.5}.funding-field{display:grid;gap:8px;color:#bfc9cb;margin:0 0 18px;font-size:15px}.funding-field select,.funding-field input{box-sizing:border-box;min-width:0;width:100%;min-height:46px;border:1px solid #50636b;border-radius:3px;padding:10px 12px;background:#09171e;color:#e1e5e5;font:inherit;font-size:16px}.funding-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;max-height:360px;overflow:auto}.funding-item{position:relative;display:grid;gap:8px;padding:13px;border:1px solid #3c5059;background:#12222a;border-radius:4px;cursor:pointer}.funding-item.is-selected{border-color:#d5783d;background:#2c2823}.funding-item input{position:absolute;top:8px;right:8px;accent-color:#e87330}.funding-item img{width:100%;height:90px;object-fit:contain}.funding-item strong{font-size:14px;overflow-wrap:anywhere}.funding-item small{color:#d4b585}.funding-quote,.funding-pending{padding:20px;border:1px solid #98643a;background:#1d2628;border-radius:4px}.funding-quote h3,.funding-pending h3{margin:0 0 16px;color:#e0cda9}.funding-quote dl div{display:flex;justify-content:space-between;gap:12px;margin:12px 0}.funding-quote dd{margin:0;text-align:right;overflow-wrap:anywhere}.funding-credit{padding-top:12px;border-top:1px solid #515345;color:#ffbb68;font-size:22px}.funding-quote .rf-btn{margin:6px 8px 0 0}.funding-error{padding:12px 15px;color:#ffc69e;background:#5e2f214d;border-left:3px solid #e77940;line-height:1.5}.funding-history-list article{display:flex;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid #2c3d45}.funding-history-list article>div{min-width:0}.funding-history-list article>div:last-child{display:grid;gap:10px;text-align:right}.funding-history-list small,.funding-history-list code{display:block;margin-top:5px;color:#8ea3ae;font-size:12px;overflow-wrap:anywhere}.funding-state{font-size:13px;color:#ddb276}.funding-state.is-complete{color:#78c9a4}.funding-state.is-failed{color:#ed9172}
@media(max-width:600px){dialog.funding-dialog{width:calc(100% - 16px);padding:24px 16px;max-height:94dvh}.funding-root{padding:20px 14px}.funding-methods{grid-template-columns:1fr;gap:9px}.funding-method{padding:15px 13px 32px}.funding-method strong{font-size:20px}.funding-method em{left:65px;bottom:9px}.funding-intro h2{font-size:26px!important}.funding-intro p{font-size:14px;line-height:1.5}.funding-empty{padding:22px 12px}.funding-empty h3{font-size:21px}.funding-history>header{align-items:flex-start}.funding-history h3{font-size:20px}.funding-history-list article{flex-direction:column;gap:10px}.funding-history-list article>div:last-child{text-align:left;justify-items:start}.funding-quote{padding:16px 12px}.funding-credit{font-size:19px}.funding-close{top:12px;right:12px}.funding-items{grid-template-columns:repeat(2,minmax(0,1fr))}}

.funding-history>header>.rf-btn{width:auto;flex:none;padding:10px 14px}.funding-method{font-family:inherit}body:has(#funding-dialog[open]){overflow:hidden}
