.beta-loan-wallet-button{flex:none;border:1px solid #568372;border-radius:5px;background:#284b3e;color:#e1eedf;padding:7px 11px;min-height:32px;font:600 11px/1.2 "AEH Text",sans-serif;letter-spacing:0;white-space:nowrap;cursor:pointer}
.beta-loan-wallet-button[hidden]{display:none!important}
.beta-loan-wallet-button.is-new{background:#65ef91;border-color:#a0ffc0;color:#0b3020;animation:beta-borrow-pulse 2.4s ease-in-out infinite}
.beta-loan-wallet-button.has-debt{background:#57302e;border-color:#925b50;color:#f0d5cc}
.beta-loan-wallet-button:hover{filter:brightness(1.13)}
.beta-loan-wallet-button:focus-visible,#beta-loan-dialog button:focus-visible{outline:2px solid #efd99b;outline-offset:3px}
.collection-wallet.has-beta-loan{display:grid;grid-template-columns:auto auto;column-gap:12px;align-items:center}
.collection-wallet.has-beta-loan>.beta-loan-wallet-button{grid-column:1;grid-row:1 / 3}
.collection-wallet.has-beta-loan>small,.collection-wallet.has-beta-loan>strong{grid-column:2;text-align:right}
@keyframes beta-borrow-pulse{0%,100%{box-shadow:0 0 0 0 #65ef9100}50%{box-shadow:0 0 0 5px #65ef9125,0 0 16px #65ef9138}}
#beta-loan-dialog{margin:auto;padding:0;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #657064;border-top:2px solid #d5b876;border-radius:12px;background:radial-gradient(ellipse at top,#24413e,#102426 85%);color:#f1e8d5;font:14px/1.65 "AEH Text",sans-serif;box-shadow:0 24px 85px #0008}
#beta-loan-dialog::backdrop{background:#061114cf}
.beta-loan-shell{padding:25px 30px 22px}
.beta-loan-shell header{display:flex;align-items:center;justify-content:space-between;gap:15px}
.beta-loan-eyebrow{color:#d4b777;font-size:10px;font-weight:600;letter-spacing:.18em;margin:0}
#beta-loan-close{border:0;background:transparent;color:#cad4c9;font:26px/1 sans-serif;min-width:36px;min-height:36px;cursor:pointer}
#beta-loan-heading{font:400 35px/1.15 "DM Serif Display",Georgia,serif;margin:10px 0}
#beta-loan-intro{color:#bbcec2;margin:0 0 20px}
.beta-loan-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 0;margin:0;border-block:1px solid #c6b47633}
.beta-loan-balances dt{color:#a6bcb0;font-size:11px}
.beta-loan-balances dd{margin:4px 0 0;font:400 30px/1.2 Georgia,serif;color:#ead29a;font-variant-numeric:tabular-nums}
.beta-loan-terms{color:#c4d0c5;font-size:12px;line-height:1.7;margin:18px 0}
.beta-loan-terms p{margin:9px 0}.beta-loan-terms b{color:#efddaf;font-weight:600}
.beta-loan-actions{display:grid;gap:14px}
.beta-loan-actions section[hidden]{display:none}
.beta-loan-actions button{width:100%;min-height:44px;border:1px solid #759883;border-radius:5px;padding:10px 14px;background:#325b47;color:#ecedda;font:600 14px "AEH Text",sans-serif;cursor:pointer}
.beta-loan-actions #beta-loan-repay{background:#57302e;border-color:#925b50;color:#f0d5cc}
.beta-loan-actions button:disabled{opacity:.45;cursor:default}
.beta-loan-actions p{font-size:11px;color:#b8c8b9;margin:6px 0 0;text-align:center}
#beta-loan-status{font-size:12px;color:#9ae1b6;margin:14px 0 0}
#beta-loan-error{font-size:12px;color:#f0b1a5;margin:14px 0 0}
#beta-loan-status:empty,#beta-loan-error:empty{display:none}
.beta-loan-footer{font-size:10px;color:#9ab1a4;margin:18px 0 0;text-align:center}
@media(max-width:600px){.beta-loan-shell{padding:18px 20px}.beta-loan-balances dd{font-size:26px}.beta-loan-wallet-button{font-size:10px;padding:6px 8px}#beta-loan-heading{font-size:29px}}
@media(prefers-reduced-motion:reduce){.beta-loan-wallet-button.is-new{animation:none}}
