/* "My bank": an open safe at the top of the wallet window */
.vl{position:relative;margin:2px auto 8px;width:100%;max-width:340px;text-align:center}
.vl svg{display:block;width:100%;height:auto;max-height:min(30vh,210px);filter:drop-shadow(0 8px 14px #000a)}
.vl-sum{display:inline-flex;align-items:baseline;gap:10px;margin-top:-6px;position:relative;padding:3px 20px;border-radius:30px;background:#0b0306;border:1px solid #f0c35a80;box-shadow:inset 0 2px 8px #000}
.vl-sum span{font-size:13px;opacity:.75}
.vl-sum b{font-family:var(--display);font-size:26px;color:var(--gold);text-shadow:0 0 12px #f0c35a77}
/* the door is out of the way, until the window is opened: then it is seen swinging aside */
.vl-door{transform-origin:28px 100px;transform:scaleX(.12);opacity:.96}
.vl.opening .vl-door{animation:vldoor 1.1s cubic-bezier(.6,0,.3,1) both}
.vl.opening .vl-wheel{animation:vlwheel .45s ease-in-out both}
@keyframes vldoor{0%,40%{transform:scaleX(1)}100%{transform:scaleX(.12)}}
@keyframes vlwheel{to{transform:rotate(200deg)}}
.rain-cd{font-style:normal;font-weight:700;color:#9fd8ff}
.hm-rain{display:block;font-size:12px;opacity:.85}
@media(max-height:700px){.vl svg{max-height:22vh}}
@media(prefers-reduced-motion:reduce){.vl.opening .vl-door,.vl.opening .vl-wheel{animation:none}}
/* investments, inside the window */
#xt-confirm{z-index:71}
#xt-wallet .xt-box>*{flex-shrink:0}
.iv{display:flex;flex-direction:column;gap:8px;width:100%;padding:10px 14px;border-radius:14px;background:#0008;border:1px solid #f0c35a44;text-align:start}
.iv-head,.iv-item{display:flex;align-items:center;justify-content:space-between;gap:10px}
.iv-head>span,.iv-item>span{min-width:0}.iv-head small,.iv-item small{display:block;font-size:13px;opacity:.85}
.iv button{flex:none}
.iv-head small.iv-why{color:#ffd54f;opacity:1}
.iv-item{padding:7px 10px;border-radius:12px;background:#ffffff0d}.iv-item.ripe{box-shadow:0 0 0 1px #7CFC8A}.iv-item small strong{color:#7CFC8A}.iv-item em{font-style:normal;font-weight:700;color:#fff3b0}
.iv-form{display:flex;flex-direction:column;gap:8px}
.iv-tracks{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.iv-tracks button{display:flex;flex-direction:column;align-items:center;min-width:0;padding:6px 4px;border-radius:12px;background:#0008;border:2px solid transparent;line-height:1.3}
.iv-tracks button b{font-size:14px}.iv-tracks button small{font-size:12px;opacity:.85}.iv-tracks button.risk{background:#3a0a2a}.iv-tracks button.on{border-color:var(--gold);box-shadow:0 0 12px #f0c35a88}.iv-tracks button.on b{color:var(--gold)}
.iv-form #iv-amt{width:100%;height:44px;text-align:center;direction:ltr;font-size:22px;color:var(--gold)}
.iv-form #iv-amt::placeholder{font-size:15px;opacity:.6}
.iv-quick{display:flex;gap:6px}.iv .iv-quick button{flex:1;padding:5px 0;font-size:13px}
.iv-sum{min-height:22px;text-align:center;font-size:14px}.iv-sum .win,.xt-note .win{color:#7CFC8A}.iv-sum .lose,.xt-note .lose{color:#ff8a80}
.iv .iv-go{align-self:center;padding:8px 40px;font-size:17px}
body.phone .iv button{min-height:40px}
