@font-face {
  font-family: "SB Sans Display";
  src: url("./sb-sans-display-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

*{box-sizing:border-box}html,body{height:100%;margin:0;overscroll-behavior:none}
body {
  background: #131313;
  color: #f7f8f7;
  font: 600 16px/1.3 "SB Sans Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}main,nav{width:min(100%,500px);margin:auto}main{height:100%;overflow:auto;overscroll-behavior:none;scrollbar-width:none;padding-bottom:calc(87px + env(safe-area-inset-bottom));touch-action:pan-x pan-y}
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(31px + env(safe-area-inset-top)) 0 20px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 -10px;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 66%, #13131338 81%, #131313b8 93%, #131313 100%),
    radial-gradient(ellipse at 99% 24%, #049dab 0%, transparent 49%),
    radial-gradient(ellipse at 72% 46%, #0c8476 0%, transparent 52%),
    linear-gradient(157deg, #085014, #073438 39%, #131313 99%);
}
header{display:flex;align-items:center;gap:12px;padding:0 15px}header button,.search{border-radius:12px;background:#ffffff19;height:38px}header button{display:grid;place-items:center;width:38px;padding:0;flex:none}.search{flex:1;display:flex;align-items:center;gap:8px;padding:0 9px;color:#afd0c4;font-size:15px}.wallet{margin:30px 15px 15px}small{display:block;color:#aabcb8;font-size:14px}.amount{display:flex;align-items:center;gap:8px;margin-top:8px}.amount strong{font-size:25px;min-width:0;overflow-wrap:anywhere}.amount button:first-of-type{margin-left:auto}.amount button{display:grid;place-items:center;flex:none;width:32px;min-height:32px;padding:0}.cards{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:0 15px}.cards article,.tools div{background:linear-gradient(135deg,#ffffff39,#b6dddc39);border-radius:18px}.tools{display:grid;gap:7px;flex:0 0 15%}.tools div{display:grid;place-items:center}.cards article{flex:0 0 35%;min-width:121px;aspect-ratio:1/1.03;padding:17px 14px 13px;position:relative;display:flex;flex-direction:column;gap:5px}.card-bottom{margin-top:auto}.card-bottom strong{display:block;font-size:clamp(12px,4vw,19px);overflow-wrap:anywhere}.card-bottom b{color:#61dc87;font-size:14px}.cards small{font-size:12px}.panel{background:#202020;border-radius:20px;margin:8px;padding:15px}
.offer {
  background-image: url("./loan-banner.svg");
  background-repeat: no-repeat;
  background-position: right clamp(8px, 4vw, 20px) center;
  background-size: clamp(86px, 30%, 136px) auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 53.5%) minmax(0, 24%) 1fr;
  align-items: start;
  row-gap: 3px;
  margin-top: 2px;
  padding-bottom: 7px;
}
.ad-copy strong {
  font-size: 16px;
}
.ad-copy small {
  margin-top: 5px;
}
.ad-action {
  display: grid;
  justify-items: center;
}
.ad-action b,
.transfer-arrow {
  background: #128927;
  color: white;
  border-radius: 10px;
}
.ad-action b {
  width: 84%;
  min-width: 60px;
  padding: 4px 3px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}
.transfer-arrow {
  padding: 5px 13px;
}
.risk {
  grid-column: 1 / -1;
  justify-self: end;
  color: #a3a3a3;
  font-size: 10px;
  text-align: right;
}
.history summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}.history summary b,h2{font-size:21px}.history em{margin-left:auto;color:#5ed272;font-style:normal}.history p{color:#bbb}.transfers h2{margin:2px 0 13px}.transfer{background:#292929;border-radius:15px;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 8px 8px 13px;font-size:14px}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;text-align:center;margin-top:14px;font-size:12px}.shortcut-icon{display:grid;place-items:center;background:#292929;border-radius:15px;width:100%;max-width:58px;aspect-ratio:1;margin:0 auto 7px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,1fr);text-align:center;background:#222e;padding:6px 3px calc(16px + env(safe-area-inset-bottom));color:#aaa;font-size:clamp(10px,2.5vw,13px);backdrop-filter:blur(14px)}nav .active{color:white}.demo{position:fixed;z-index:2;top:calc(5px + env(safe-area-inset-top));right:max(8px,calc((100vw - 500px)/2 + 8px));padding:2px 6px;border-radius:5px;color:#dcf6eb;background:#163e35;font-size:10px;letter-spacing:.08em}#refresh{position:fixed;z-index:3;top:env(safe-area-inset-top);left:50%;width:36px;height:36px;display:grid;place-items:center;background:#f1fff8;border-radius:50%;pointer-events:none;transform:translate(-50%,-46px);transition:transform .2s ease;box-shadow:0 3px 12px #0005}#refresh span{width:18px;height:18px;border:2px solid #bae6c6;border-top-color:#17852f;border-radius:50%}#refresh.loading span{animation:spin .65s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid #474747;border-radius:20px;background:#222;color:white;width:min(345px,calc(100% - 28px));padding:19px}dialog::backdrop{background:#0009}dialog h2{margin:0 0 14px}dialog input{width:100%;margin-top:6px;padding:10px;border:1px solid #888;border-radius:8px;background:#111;color:#fff}dialog p{font-size:14px;color:#ccc}.actions{display:flex;justify-content:flex-end;gap:8px}.actions button{padding:8px 11px;border-radius:8px}.actions button[type=submit]{background:#128927}
@media(min-width:390px){.hero{padding-bottom:22px}.wallet{margin-top:32px}.panel{padding:17px 15px}.offer{padding-bottom:7px}.history{margin-top:11px;padding-block:20px}.transfers{padding-block:19px}}

.icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
}
.search .icon,
.chevron {
  width: 18px;
  height: 18px;
}
.brand {
  width: 29px;
  height: 29px;
  color: #fff;
}
.bell {
  margin-left: 2px;
}
.chevron {
  color: #aabcb8;
}
.tools .icon {
  width: clamp(24px, 8vw, 34px);
  height: clamp(24px, 8vw, 34px);
}
.bankcard {
  width: 28px;
  height: 21px;
}
.prime {
  width: 27px;
  height: 24px;
}
.thanks {
  width: 26px;
  height: 26px;
}
.close {
  position: absolute;
  top: 2px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #999;
}
.close .icon {
  width: 18px;
  height: 18px;
}
.cards .close {
  color: #b0dedf;
}
.cards article[hidden],
.offer[hidden] {
  display: none;
}
.ad-action .icon {
  width: 31px;
  height: 33px;
  color: #278c3d;
}
.history[open] .chevron {
  transform: rotate(180deg);
}
.transfer-sbp {
  margin-left: auto;
  width: 20px;
  height: 20px;
  color: #a9a9a9;
}
.transfer-arrow {
  flex: none;
}
.shortcut-icon .icon {
  width: 27px;
  height: 27px;
}
.lotto .icon {
  color: #9d9d9d;
}
nav .icon {
  width: 25px;
  height: 25px;
  margin: 0 auto 2px;
}
nav .active .icon {
  color: #35bf54;
}

.account-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #474747;
}
.account-actions a {
  color: #91efad;
}
