.stake-dialog{padding:0;border:3px solid #e8c477;border-radius:13px;color:#234f4c;background:#fff7df;width:min(1050px,calc(100vw - 24px));max-height:90dvh;overflow:hidden;box-shadow:0 12px 50px #071e3680;position:fixed}.stake-dialog::backdrop{background:#102c45ab}.stake-scroll{overflow:auto;max-height:calc(90dvh - 6px);padding:26px}.stake-close{position:absolute;top:9px;right:12px;width:32px;height:32px;background:#c64e3f;color:white;border:2px solid #ffcab1;border-radius:5px;font:700 22px sans-serif;z-index:2}.stake-dialog header{padding-right:35px}.stake-dialog header small{font-size:10px;letter-spacing:1.5px;color:#947025}.stake-dialog h2{font:700 30px Georgia,serif;margin:10px 0}.stake-dialog h3{font:700 19px Georgia,serif}.stake-dialog p{font:12px/1.6 'Trebuchet MS',sans-serif}.stake-status{background:#e4f1cf;padding:12px;border:1px solid #91af79;border-radius:7px}.stake-status.stake-error{background:#ffe1cd;color:#8f3528;border-color:#d7946d}.stake-summary{display:flex;flex-wrap:wrap;gap:16px;padding:17px;background:#e9edce;border:1px solid #b6c28c;border-radius:8px;margin:18px 0}.stake-summary span{font:12px sans-serif}.stake-summary b{display:block;margin-top:5px;font-size:17px}.stake-notice,.stake-footnote{background:#fff0bf;padding:12px;border-left:4px solid #cda350}.stake-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stake-tier{--stake-color:#8a9897;background:#eef0df;border:2px solid var(--stake-color);border-radius:8px;padding:15px;display:flex;flex-direction:column;align-items:stretch;gap:8px}.stake-tier-1{--stake-color:#51a975;background:#e7f4da}.stake-tier-2{--stake-color:#3986b5;background:#e5f1fa}.stake-tier-3{--stake-color:#9273bb;background:#f1e9f7}.stake-tier-4{--stake-color:#cfa039;background:#fff0bb}.stake-tier h3,.stake-tier p{margin:0}.stake-box{align-self:center;color:var(--stake-color);font:bold 43px sans-serif;text-shadow:0 3px #fff,2px 4px #243d4c33}.stake-tier>strong{text-align:center;font:700 18px sans-serif}.stake-tier h3{text-align:center}.stake-tier>.stake-button{margin-top:auto}.stake-odds{display:grid;gap:4px;margin:5px 0 10px}.stake-odds span{display:flex;justify-content:space-between;gap:7px;font:10px sans-serif;border-bottom:1px solid #315a6420;padding:4px 0}.stake-button{background:#307d68;color:#fff5d7;border:1px solid #8bbb9d;border-bottom:3px solid #1d5849;border-radius:6px;padding:10px 12px;font:700 12px 'Trebuchet MS',sans-serif;cursor:pointer}.stake-button:disabled{background:#d3dcc6;color:#607467;border-color:#b7c1aa;opacity:.85;cursor:not-allowed}.stake-button:hover:enabled{filter:brightness(1.1)}.stake-review{background:#fff0bd;border:2px solid #d4ac53;border-radius:9px;padding:20px;margin:20px 0}.stake-review label{display:flex;gap:9px;font:13px/1.6 sans-serif;margin:15px 0}.stake-review input{flex-shrink:0;width:18px;height:18px}.stake-review>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.stake-contract-heading{margin-top:26px}.stake-contracts article{background:#e6efdc;border:1px solid #b1bf99;border-radius:8px;padding:15px;margin:9px 0;display:flex;align-items:center;justify-content:space-between;gap:13px}.stake-contracts article p{margin:4px 0}.stake-contracts strong{font:700 14px sans-serif}.stake-contracts article>b{color:#438269}.stake-footnote{font-size:11px!important}.stake-recover{background:#aa5e32}.stake-dialog[open]{display:block}.stake-dialog[open] button:focus-visible{outline:3px solid #e49839;outline-offset:3px}
@media(max-width:750px){.stake-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stake-scroll{padding:19px}.stake-summary{gap:10px}.stake-summary b{font-size:15px}.stake-contracts article{align-items:stretch;flex-direction:column}.stake-dialog h2{font-size:25px}}
@media(max-width:440px){.stake-tier-grid{grid-template-columns:1fr}.stake-scroll{padding:16px}.stake-summary{flex-direction:column}.stake-dialog{width:calc(100vw - 14px)}.stake-review{padding:14px}.stake-button{min-height:42px}}

/* Isolate the staking panel from each game's generic dialog width/colors. */
.stake-dialog{max-width:1050px;box-sizing:border-box;text-align:left}.stake-dialog p{color:#355954}
