body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: 60px;
  padding: 0 6px 0 0;
  gap: 0;
  border: 1px solid #86bde773;
  border-radius: 21px;
  background: radial-gradient(ellipse at 12% 45%, #e9c86d24, transparent 62%), linear-gradient(155deg, #214b7b, #0b2447 76%);
  box-shadow: inset 0 1px 0 #e2ecff24, inset 0 -3px 7px #06152c55, 0 3px 0 #06132e66;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger:hover {
  border-color: #b4d8f9;
}

body[data-site-home] .home-bank-trigger:focus-visible {
  outline: 3px solid #ffe6a0;
  outline-offset: 5px;
}

body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .home-bank-art {
  z-index: 2;
  margin-right: -16px;
  pointer-events: none;
}

body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count {
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  padding: 6px 11px 6px 16px;
  border: 1px solid #76dfff88;
  border-radius: 11px 15px 15px 11px;
  box-shadow: inset 0 1px 0 #a2efff33, inset 0 2px 7px #020b2088, inset 0 -3px 7px #02091866;
}

body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count b {
  white-space: nowrap;
  overflow-wrap: normal;
}

body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count::after {
  content: none;
  display: none;
  animation: none;
}

body[data-site-home] .classic-bank-art.home-bank-art > .vault-art {
  display: none !important;
}

body[data-site-home] .classic-bank-art.home-bank-art > .home-bank-logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

body[data-site-home] .home-bank-dialog {
  --bank-ink: #173259;
  --bank-muted: #546b89;
  width: min(650px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  height: auto;
  max-height: min(860px, calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d1e4f9;
  border-radius: 28px;
  background: #f7fbff;
  color: var(--bank-ink);
  box-shadow: 0 24px 80px #091d4666;
  font-family: Nunito, Arial, sans-serif;
}

body[data-site-home] .home-bank-dialog[open] { display: flex; flex-direction: column; }
body[data-site-home] .home-bank-dialog::backdrop { background: #0a1b3c99; backdrop-filter: blur(5px); }
.home-bank-dialog *, .home-bank-dialog *::before, .home-bank-dialog *::after { box-sizing: border-box; }
.home-bank-dialog :is(h2, h3, h4, p, ol) { margin: 0; }
.home-bank-dialog [hidden] { display: none !important; }

.home-bank-heading {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 15px;
  padding: 22px 58px 20px 22px;
  border-bottom: 1px solid #8dc3f52b;
  background: radial-gradient(ellipse at 2% 0, #458dc078, transparent 65%), linear-gradient(135deg, #224e88, #193467 78%);
  color: #fff;
}

.home-bank-brand {
  flex: 0 0 68px;
  display: block;
  width: 68px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px #0c204c88);
}

.home-bank-eyebrow { display: block; margin-bottom: 4px; color: #f9df8e; font-size: 10px; font-weight: 950; letter-spacing: 1.8px; }
.home-bank-heading h2 { color: #fff; font: 950 27px/1.12 Nunito, Arial, sans-serif; letter-spacing: -.6px; }
.home-bank-heading p { margin-top: 6px; color: #d9eaff; font-size: 12px; font-weight: 650; line-height: 1.4; }

.home-bank-dialog .home-bank-close {
  appearance: none;
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #b1d4fb33;
  border-radius: 50%;
  background: #ffffff12;
  color: #fff;
  font: 500 26px/1 Arial, sans-serif;
  cursor: pointer;
}

.home-bank-dialog .home-bank-close:hover { background: #ffffff26; }
.home-bank-dialog .home-bank-close:focus-visible { outline: 3px solid #ffe6a0; outline-offset: 3px; }
.home-bank-body { flex: 1 1 auto; min-height: 0; padding: 20px 22px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; background: linear-gradient(160deg, #f9fcff, #edf5ff); }
.home-bank-cash-banner { display: block; width: 100%; height: min(200px, 31vw); min-height: 120px; max-height: 200px; margin: 0 0 15px; overflow: hidden; border: 1px solid #d1dfeb; border-radius: 17px; background: #fff; }
.home-bank-cash-banner img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-bank-exchange-heading { margin-bottom: 12px !important; color: #204d7b; font-size: 21px; font-weight: 950; line-height: 1.2; }
.home-bank-status { margin-bottom: 12px !important; color: #386599; font-size: 12px; font-weight: 800; line-height: 1.45; }
.home-bank-balances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.home-bank-balance {
  min-width: 0;
  padding: 12px 11px;
  border: 1px solid #bbd9f1;
  border-radius: 20px;
  background: linear-gradient(150deg, #fff, #e9f5ff);
}

.home-bank-balance h3 { color: #28618a; font-size: 11px; font-weight: 900; line-height: 1.3; }
.home-bank-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 8px !important; }
.home-bank-value b { min-width: 0; overflow-wrap: anywhere; font-size: clamp(22px, 4.5vw, 30px); font-weight: 950; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.8px; }
.home-bank-value span { font-size: 11px; font-weight: 950; color: #2b6b92; }
.home-bank-balance-help { margin-top: 7px !important; color: var(--bank-muted); font-size: 10px; line-height: 1.4; }
.home-bank-earned { border-color: #96bddf; background: linear-gradient(150deg, #eaf5ff, #d9eaff); }
.home-bank-earned h3, .home-bank-earned .home-bank-value span { color: #295e92; }
.home-bank-earned .home-bank-value b { color: #173e71; }
.home-bank-exchanged { border-style: dashed; border-color: #c0cedd; background: #f4f7fb; }
.home-bank-exchanged .home-bank-value b { color: #8194ac; }
.home-bank-exchanged .home-bank-value span { color: #6d8099; font-size: 10px; }
.home-bank-currency { margin-top: 16px; padding: 18px; border: 1px solid #6da6d5; border-radius: 20px; background: radial-gradient(ellipse at 0 0, #65bfe42b, transparent 65%), linear-gradient(135deg, #224d82, #163964 70%); box-shadow: inset 0 1px 0 #ffffff26; color: #fff; }
.home-bank-currency h3 { color: #d7f0ff; font-size: 16px; font-weight: 950; line-height: 1.3; }
.home-bank-currency .home-bank-value b { color: #fff9dd; font-size: 34px; }
.home-bank-currency .home-bank-value span { color: #b8daf6; font-size: 11px; }
.home-bank-currency-help { margin-top: 8px !important; color: #d2e5f8; font-size: 12px; line-height: 1.5; }
.home-bank-counters { margin-top: 20px; }
.home-bank-counters > h3 { color: #234b77; font-size: 15px; font-weight: 950; line-height: 1.35; }
.home-bank-counter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.home-bank-counter { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #9ebfdd; border-radius: 18px; background: #fff; box-shadow: 0 4px 11px #1537640c; }
.home-bank-counter-body { flex: 1 1 auto; padding: 15px 14px 17px; }
.home-bank-counter-body h4 { color: #1b426f; font-size: 17px; font-weight: 950; line-height: 1.2; }
.home-bank-preparing { display: inline-block; margin-top: 8px; padding: 4px 8px; border: 1px solid #c5d8ea; border-radius: 999px; background: #edf5fc; color: #55718d; font-size: 10px; font-weight: 850; line-height: 1.2; }
.home-bank-counter-body p { margin-top: 10px; color: #54708b; font-size: 12px; line-height: 1.5; }
.home-bank-shop-counter { border-color: #c0d3e5; background: #f6faff; }
.home-bank-dialog .home-bank-footer { position: static; display: block; flex: 0 0 auto; align-self: stretch; width: 100%; margin: 16px 0 0; padding: 12px 14px; border: 1px solid #c6dbee; border-radius: 13px; background: #e7f1fb; color: #34597c; opacity: 1; text-shadow: none; }
.home-bank-dialog .home-bank-footer p { width: 100%; margin: 0; color: #34597c; opacity: 1; text-shadow: none; font: 750 11px/1.5 Nunito, Arial, sans-serif; }

@media (max-width: 760px) {
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger {
    width: 100%;
    min-height: 46px;
    padding-right: 4px;
    border-radius: 16px;
  }

  body[data-site-home] .topbar .classic-bank-art.home-bank-art,
  body[data-site-home] .topbar .has-world-ranking .classic-bank-art.home-bank-art {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px;
  }

  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .home-bank-art { margin-right: -12px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count { flex: 1 1 auto; padding: 5px 6px 5px 12px; border-radius: 9px 12px 12px 9px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count b { font-size: 14px; }
}

@media (max-width: 380px) {
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger { min-height: 42px; padding-right: 3px; border-radius: 14px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-art.home-bank-art { width: 34px !important; height: 40px !important; flex-basis: 34px; margin-right: -11px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count { padding: 5px 5px 5px 10px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count b { font-size: 13px; }
}

@media (max-width: 330px) {
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger { padding-right: 2px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-art.home-bank-art { width: 28px !important; flex-basis: 28px; margin-right: -10px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count { padding-left: 9px; padding-right: 4px; }
  body[data-site-home] .topbar .classic-xp-bank.home-bank-trigger .classic-bank-count b { font-size: 12px; }
}

@media (max-width: 440px) {
  body[data-site-home] .home-bank-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius: 22px; }
  .home-bank-heading { gap: 11px; padding: 18px 44px 16px 15px; }
  .home-bank-brand { flex-basis: 46px; width: 46px; height: 48px; }
  .home-bank-heading h2 { font-size: 22px; }
  .home-bank-heading p { font-size: 10px; }
  .home-bank-dialog .home-bank-close { top: 10px; right: 10px; width: 29px; min-height: 29px; font-size: 23px; }
  .home-bank-body { padding: 15px 12px; }
  .home-bank-cash-banner { height: min(170px, 43vw); min-height: 120px; margin-bottom: 13px; border-radius: 14px; }
  .home-bank-exchange-heading { font-size: 19px; }
  .home-bank-balances { gap: 8px; }
  .home-bank-balances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-bank-exchanged { grid-column: 1 / -1; }
  .home-bank-exchanged .home-bank-value { margin-top: 4px !important; }
  .home-bank-exchanged .home-bank-balance-help { margin-top: 5px !important; }
  .home-bank-balance { padding: 12px 10px; border-radius: 16px; }
  .home-bank-balance h3 { font-size: 11px; }
  .home-bank-balance-help { font-size: 10px; }
  .home-bank-currency { padding: 15px; }
  .home-bank-counter-grid { grid-template-columns: 1fr; gap: 11px; }
  .home-bank-counter-body { padding: 13px 14px 15px; }
  .home-bank-dialog .home-bank-footer { padding: 11px 12px; }
}

@media (max-width: 330px) {
  .home-bank-balances { grid-template-columns: 1fr; }
  .home-bank-value b { font-size: 25px; }
}

@media (max-height: 500px) and (min-width: 441px) {
  .home-bank-heading { padding-top: 12px; padding-bottom: 12px; }
  .home-bank-brand { flex-basis: 46px; width: 46px; height: 46px; }
  .home-bank-heading h2 { font-size: 24px; }
}
