.stake-profit-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.stake-profit-tile{position:relative;min-width:0;border:1px solid #d9e9e1;border-radius:16px;padding:14px 12px;background:#edf8f2;color:#174c39}
.stake-profit-tile.unpaid{background:#fff7e6;border-color:#f0e0b7;color:#78541a}
.stake-profit-tile>svg{position:absolute;inset:12px 10px auto auto;width:18px;height:18px;opacity:.8}
.stake-profit-tile>span{display:block;padding-inline-end:22px;font-size:12px;font-weight:700;line-height:1.4}
.stake-profit-tile>strong{display:block;margin-top:8px;font-size:clamp(17px,4.7vw,23px);font-weight:800;letter-spacing:-.4px;overflow-wrap:anywhere}
.stake-profit-tile>small{display:block;margin-top:5px;font-size:10px;line-height:1.45;opacity:.85}
.stake-rate-history{margin:18px 0 8px;border:1px solid #dce8e1;border-radius:14px;background:#f7faf8;text-align:start}
.stake-rate-history>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 13px;cursor:pointer;list-style:none;font-size:13px;font-weight:750;color:#214737}
.stake-rate-history>summary::-webkit-details-marker{display:none}
.stake-rate-history>summary:after{content:'⌄';font-size:17px;line-height:1;transition:transform .15s}
.stake-rate-history[open]>summary:after{transform:rotate(180deg)}
.stake-rate-history>summary>span{margin-inline-start:auto;font-size:11px;font-weight:500;color:#64796c}
.stake-rate-history>p{margin:0;padding:0 13px 10px;font-size:10px;color:#6b7e72}
.stake-rate-history>ol{list-style:none;margin:0;padding:0 13px 13px}
.stake-rate-history li{position:relative;margin:0;padding:0 0 16px 17px;border-inline-start:2px solid #d7e5dc;font-size:11px;color:#607568}
.stake-rate-history li:last-child{padding-bottom:0;border-color:transparent}
.stake-rate-history li:before{content:'';position:absolute;inset:2px auto auto -5px;width:8px;height:8px;border-radius:50%;background:#a5bbac}
.stake-rate-history li.current:before,.stake-rate-history li.final:before{background:#16815b;box-shadow:0 0 0 3px #dcefe4}
.stake-rate-history li.upcoming:before{background:#b99135}
.stake-rate-history li>div{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.stake-rate-history li b{font-size:12px;color:#244734}
.stake-rate-history li>div>span{padding:3px 6px;border-radius:6px;background:#e9f1ec;font-size:9px;color:#547261;white-space:nowrap}
.stake-rate-history li.current>div>span,.stake-rate-history li.final>div>span{background:#ddf2e7;color:#16744f}
.stake-rate-history li.upcoming>div>span{background:#fff1cf;color:#81601f}
.stake-rate-history li>time,.stake-rate-history li>small{display:block;margin-top:5px;line-height:1.4;overflow-wrap:anywhere}
html[data-theme=dark] .stake-profit-tile{background:#183a2d;border-color:#315644;color:#d8f1e3}
html[data-theme=dark] .stake-profit-tile.unpaid{background:#3b311e;border-color:#615033;color:#f2ddb3}
html[data-theme=dark] .stake-rate-history{background:#13271d;border-color:#2c4439}
html[data-theme=dark] .stake-rate-history summary,html[data-theme=dark] .stake-rate-history li b{color:#dfece3}
html[data-theme=dark] .stake-rate-history>p,html[data-theme=dark] .stake-rate-history time,html[data-theme=dark] .stake-rate-history small,html[data-theme=dark] .stake-rate-history summary>span{color:#a4b9aa}
html[dir=rtl] .stake-rate-history li{padding-left:0;padding-right:17px}
html[dir=rtl] .stake-rate-history li:before{left:auto;right:-5px}
@media(prefers-reduced-motion:reduce){.stake-rate-history>summary:after{transition:none}}

html[dir=rtl] .stake-profit-tile>svg{left:10px;right:auto}
html[dir=rtl] .stake-rate-history time{text-align:right;unicode-bidi:isolate}
