/* Authenticated navigation and wallet. Loaded last to isolate the account redesign
   from the older theme-specific account rules. */

body.summer-redesign .topbar:not(.topbar--authenticated) .language-switcher {
  display: none !important;
}

body.summer-redesign .topbar--authenticated {
  overflow: visible;
  background: rgba(7, 14, 26, .96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 14px 42px rgba(0, 0, 0, .2);
}

body.summer-redesign .topbar--authenticated .topbar__inner {
  position: relative;
  overflow: visible;
  gap: 10px;
}

body.summer-redesign .topbar--authenticated .brand--main { order: 0; }
body.summer-redesign .topbar--authenticated .topbar__center { order: 1; }
body.summer-redesign .topbar--authenticated .language-switcher { order: 2; }
body.summer-redesign .topbar--authenticated .topbar__session-bar { order: 3; }
body.summer-redesign .topbar--authenticated .topbar__actions { order: 4; }
body.summer-redesign .topbar--authenticated .topbar__apps { order: 5; }

body.summer-redesign .topbar--authenticated .language-switcher {
  position: relative;
  inset: auto;
  z-index: 3;
  display: block !important;
  flex: 0 0 auto;
}

body.summer-redesign .topbar--authenticated .topbar__lang {
  display: inline-flex;
  width: 86px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 18px;
  background: #131e32;
  color: #f3f7ff;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

body.summer-redesign .topbar--authenticated .topbar__lang::before {
  content: none;
}

body.summer-redesign .topbar--authenticated .topbar__lang-flag,
body.summer-redesign .topbar--authenticated .language-option__flag {
  display: block;
  width: 24px;
  height: 16px;
  flex: 0 0 24px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}

body.summer-redesign .topbar--authenticated .topbar__lang-code {
  line-height: 1;
}

body.summer-redesign .topbar--authenticated .topbar__lang-chevron {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 1px;
  border-right: 1.5px solid #71839d;
  border-bottom: 1.5px solid #71839d;
  transform: rotate(45deg);
}

body.summer-redesign .topbar--authenticated .topbar__lang:hover,
body.summer-redesign .topbar--authenticated .topbar__lang[aria-expanded="true"] {
  border-color: rgba(52, 169, 255, .38);
  background: #192943;
}

body.summer-redesign .topbar--authenticated .topbar__language-menu {
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: 222px;
  max-height: min(350px, calc(100vh - 90px));
  padding: 7px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #111c30;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

body.summer-redesign .topbar--authenticated .topbar__language-menu button {
  display: grid;
  min-height: 44px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border-radius: 5px;
  color: #d8e2f3;
  font-size: 13px;
  text-align: left;
}

body.summer-redesign .topbar--authenticated .topbar__language-menu button.is-active {
  background: rgba(45, 163, 255, .13);
  color: #fff;
}

body.summer-redesign .topbar--authenticated .topbar__language-menu button.is-active::after {
  content: "";
  position: absolute;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4dc0ff;
  box-shadow: 0 0 9px rgba(77, 192, 255, .55);
}

body.summer-redesign .topbar--authenticated .topbar__language-menu button {
  position: relative;
}

body.summer-redesign .topbar--authenticated .topbar__language-menu button small {
  margin-right: 12px;
  color: #71839e;
  font-size: 9px;
  font-weight: 850;
}

body.summer-redesign .topbar--authenticated .language-option__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.summer-redesign .topbar--authenticated .topbar__session-bar {
  display: block;
  flex: 0 0 auto;
}

body.summer-redesign .topbar--authenticated .topbar__session-items {
  position: relative;
  height: 58px;
  gap: 10px;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

body.summer-redesign .topbar--authenticated .topbar__wallet-control,
body.summer-redesign .topbar--authenticated .topbar__profile-control,
body.summer-redesign .topbar--authenticated .topbar__pending-control {
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 18px;
  background: #131e32;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

body.summer-redesign .topbar--authenticated .topbar__wallet-control {
  min-width: 150px;
  gap: 10px;
  padding: 0 13px;
}

body.summer-redesign .topbar--authenticated .topbar__wallet-control:hover,
body.summer-redesign .topbar--authenticated .topbar__profile-control:hover,
body.summer-redesign .topbar--authenticated .topbar__profile-control[aria-expanded="true"] {
  border-color: rgba(55, 171, 255, .35);
  background: #192943;
}

body.summer-redesign .topbar--authenticated .topbar__balance-asset {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
}

body.summer-redesign .topbar--authenticated .topbar__wallet-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: left;
}

body.summer-redesign .topbar--authenticated .topbar__wallet-label {
  color: #8292aa;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
}

body.summer-redesign .topbar--authenticated .topbar__wallet-value {
  overflow: hidden;
  color: #f8fbff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.summer-redesign .topbar--authenticated .topbar__wallet-chevron,
body.summer-redesign .topbar--authenticated .topbar__profile-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 2px solid #71839d;
  border-bottom: 2px solid #71839d;
  transform: rotate(45deg) translateY(-2px);
}

body.summer-redesign .topbar--authenticated .topbar__profile-control {
  min-width: 58px;
  gap: 8px;
  padding: 0 12px;
}

body.summer-redesign .topbar--authenticated .topbar__olymp-avatar,
.topbar-account-menu__avatar {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #38b8ff, #0873ff);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(15, 128, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}

body.summer-redesign .topbar--authenticated .topbar__profile-name {
  max-width: 105px;
  color: #f7f9ff;
  font-size: 12px;
}

body.summer-redesign .topbar--authenticated .topbar__cash-desk {
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #35bdff, #0876ff);
  box-shadow: 0 9px 25px rgba(10, 119, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
}

body.summer-redesign .topbar--authenticated .topbar__cash-desk:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

body.summer-redesign .topbar--authenticated .topbar__cash-desk-icon {
  width: 25px;
  height: 25px;
  border: 0;
  color: transparent;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.summer-redesign .topbar--authenticated .topbar__cash-desk-icon::before,
body.summer-redesign .topbar--authenticated .topbar__cash-desk-icon::after { display: none; }

body.summer-redesign .topbar--authenticated .topbar__cash-desk-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.topbar-account-menu[hidden] { display: none !important; }

.topbar-account-menu {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  z-index: 120;
  width: 270px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #101a2d;
  color: #f5f8ff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .52);
  animation: account-menu-in .16s ease-out both;
}

@keyframes account-menu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.topbar-account-menu__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: #142238;
}

.topbar-account-menu__identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.topbar-account-menu__identity strong,
.topbar-account-menu__identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-account-menu__identity strong { font-size: 13px; }
.topbar-account-menu__identity small { color: #8090a8; font-size: 10px; }
.topbar-account-menu__items { display: grid; padding: 7px; }

.topbar-account-menu__item {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #e9eff9;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.topbar-account-menu__item:hover { background: #192a45; color: #fff; }
.topbar-account-menu__item:last-child { color: #f6a7ad; }

.topbar-account-menu__icon,
.cashier-sidebar__nav-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #20a8ff;
}

.topbar-account-menu__icon--profile,
.cashier-sidebar__nav-icon.is-profile {
  background: currentColor;
  -webkit-mask: url("../assets/ui/user-round.svg") center / contain no-repeat;
  mask: url("../assets/ui/user-round.svg") center / contain no-repeat;
}

.topbar-account-menu__icon--wallet,
.cashier-sidebar__nav-icon.is-wallet {
  background: currentColor;
  -webkit-mask: url("../assets/ui/wallet-cards.svg") center / contain no-repeat;
  mask: url("../assets/ui/wallet-cards.svg") center / contain no-repeat;
}

.topbar-account-menu__icon--support,
.cashier-sidebar__nav-icon.is-support {
  background: currentColor;
  -webkit-mask: url("../assets/ui/messages-square.svg") center / contain no-repeat;
  mask: url("../assets/ui/messages-square.svg") center / contain no-repeat;
}

.topbar-account-menu__icon--logout,
.cashier-sidebar__nav-icon.is-logout {
  background: currentColor;
  -webkit-mask: url("../assets/ui/log-out.svg") center / contain no-repeat;
  mask: url("../assets/ui/log-out.svg") center / contain no-repeat;
}

/* Full wallet */
.auth-modal__backdrop--deposit {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #080f1c;
  backdrop-filter: none;
}

.tron-deposit.cashier-shell {
  display: grid;
  width: 100%;
  min-height: 100dvh;
  grid-template-columns: 248px minmax(0, 1fr);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #080f1c;
  color: #f6f9ff;
  box-shadow: none;
}

.cashier-sidebar {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  height: 100dvh;
  flex-direction: column;
  padding: 24px 17px 18px;
  border-right: 1px solid rgba(255, 255, 255, .055);
  background: #0e182a;
}

.cashier-sidebar__brand {
  width: 148px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cashier-sidebar__brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }

.cashier-sidebar__identity {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.cashier-sidebar__identity > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #38b8ff, #0873ff);
  font-size: 13px;
  font-weight: 900;
}

.cashier-sidebar__identity > div { display: grid; min-width: 0; gap: 3px; }
.cashier-sidebar__identity strong,
.cashier-sidebar__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cashier-sidebar__identity strong { font-size: 12px; }
.cashier-sidebar__identity small { color: #708098; font-size: 9px; }

.cashier-sidebar__balance {
  display: grid;
  min-width: 0;
  grid-template-columns: 31px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 7px;
  background: #131f34;
  color: #fff;
  font: inherit;
  text-align: left;
}

.cashier-sidebar__balance > img { width: 31px; height: 31px; }
.cashier-sidebar__balance > span { display: grid; min-width: 0; gap: 3px; }
.cashier-sidebar__balance small { color: #718198; font-size: 8px; text-transform: uppercase; }
.cashier-sidebar__balance strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cashier-sidebar__wallet-mark {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 7px;
  background: linear-gradient(180deg, #34baff, #0874ff);
  -webkit-mask: url("../assets/original/wallet-filled.svg") center / 19px 19px no-repeat;
  mask: url("../assets/original/wallet-filled.svg") center / 19px 19px no-repeat;
}

.cashier-sidebar__nav { display: grid; gap: 5px; margin-top: 25px; }
.cashier-sidebar__nav button {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8190a6;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.cashier-sidebar__nav button:hover { background: #14243c; color: #eef5ff; }
.cashier-sidebar__nav button.is-active { background: #14243c; color: #fff; box-shadow: inset 3px 0 #18a7ff; }
.cashier-sidebar__nav button:last-child { margin-top: 9px; color: #d69098; }
.cashier-sidebar__legal { margin: auto 0 0; color: #536278; font-size: 9px; text-align: center; }

.cashier-main {
  height: 100dvh;
  min-width: 0;
  overflow: auto;
  background: #080f1c;
}

.cashier-main .cashier-main__header {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 72px;
  padding: 0 clamp(20px, 3vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(8, 15, 28, .94);
  backdrop-filter: blur(16px);
}

.cashier-main__header small { color: #22a8ff; }
.cashier-main__header h2 { font-size: 22px; }
.cashier-main__back {
  display: inline-flex;
  min-width: 96px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  background: #131e32;
  color: #dce6f4;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.cashier-main__back i {
  width: 8px;
  height: 8px;
  border-top: 2px solid #1aa9ff;
  border-left: 2px solid #1aa9ff;
  transform: rotate(-45deg);
}

.cashier-main__tabs {
  position: sticky;
  top: 72px;
  z-index: 7;
  display: flex;
  max-width: 1200px;
  min-height: 58px;
  align-items: end;
  gap: 35px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(8, 15, 28, .94);
  backdrop-filter: blur(16px);
}

.cashier-main__tabs button {
  position: relative;
  height: 58px;
  padding: 0 3px;
  border: 0;
  background: transparent;
  color: #697a92;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.cashier-main__tabs button.is-active { color: #fff; }
.cashier-main__tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #1aa9ff;
  box-shadow: 0 -4px 13px rgba(26, 169, 255, .34);
}

.cashier-main .tron-deposit__body {
  display: block;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 30px clamp(20px, 3vw, 48px) 70px;
}

.cashier-deposit__workspace {
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(430px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.cashier-deposit__methods,
.cashier-deposit__payment {
  min-width: 0;
}

.cashier-deposit__payment {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  background: #101a2c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.cashier-deposit__step-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.cashier-deposit__step-heading > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(180deg, #29b9ff, #0875ff);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.cashier-deposit__step-heading > div { display: grid; gap: 2px; }
.cashier-deposit__step-heading h3 { margin: 0; font-size: 18px; letter-spacing: 0; }
.cashier-deposit__step-heading p { margin: 0; color: #718198; font-size: 10px; }
.cashier-deposit__network-heading { margin-top: 24px; }

.cashier-deposit__asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.cashier-deposit__asset-option {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  background: #111d30;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cashier-deposit__asset-option:first-child { grid-column: 1 / -1; }
.cashier-deposit__asset-option:hover { border-color: rgba(28, 172, 255, .3); background: #14243a; }
.cashier-deposit__asset-option.is-selected { border-color: #18a8ff; background: #122844; box-shadow: inset 0 0 0 1px rgba(24, 168, 255, .15); }
.cashier-deposit__asset-option.is-unavailable { opacity: .55; }
.cashier-deposit__asset-option img { width: 39px; height: 39px; }
.cashier-deposit__asset-option > span { display: grid; min-width: 0; gap: 3px; }
.cashier-deposit__asset-option strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.cashier-deposit__asset-option small { color: #74849b; font-size: 9px; }
.cashier-deposit__asset-option em {
  position: absolute;
  top: 7px;
  right: 8px;
  color: #40d694;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.cashier-deposit__asset-option.is-unavailable em { color: #8b98aa; }

.cashier-deposit__network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.cashier-deposit__network-option {
  display: grid;
  min-width: 0;
  min-height: 67px;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  background: #111d30;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cashier-deposit__network-option:hover:not(:disabled) { border-color: rgba(27, 172, 255, .38); background: #14243a; }
.cashier-deposit__network-option.is-selected { border-color: #18a8ff; background: #122844; }
.cashier-deposit__network-option:disabled { cursor: not-allowed; opacity: .42; }
.cashier-deposit__network-option img { width: 31px; height: 31px; }
.cashier-deposit__network-option > span { display: grid; min-width: 0; gap: 3px; }
.cashier-deposit__network-option strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cashier-deposit__network-option small { color: #718198; font-size: 8px; }

.cashier-deposit__route-summary {
  display: grid;
  min-width: 0;
  min-height: 70px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  background: #152238;
}

.cashier-deposit__route-summary img { width: 42px; height: 42px; }
.cashier-deposit__route-summary > div { display: grid; min-width: 0; gap: 4px; }
.cashier-deposit__route-summary strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.cashier-deposit__route-summary small { color: #73839a; font-size: 9px; }
.cashier-deposit__route-summary em { color: #43d998; font-size: 8px; font-style: normal; font-weight: 900; }
.cashier-deposit__route-summary em.is-unavailable { color: #8795a8; }

.cashier-deposit__intent-form { display: grid; gap: 11px; margin-top: 18px; }
.cashier-deposit__intent-form > label { color: #9eacc0; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.cashier-deposit__amount-field { position: relative; }
.cashier-deposit__amount-field input {
  width: 100%;
  height: 58px;
  padding: 0 80px 0 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  outline: 0;
  background: #0b1424;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
}

.cashier-deposit__amount-field input:focus { border-color: #1aa9ff; box-shadow: 0 0 0 3px rgba(26, 169, 255, .1); }
.cashier-deposit__amount-field input:disabled { opacity: .5; }
.cashier-deposit__amount-field strong { position: absolute; top: 50%; right: 15px; color: #27adff; font-size: 12px; transform: translateY(-50%); }
.cashier-deposit__quick-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.cashier-deposit__quick-amounts button {
  min-width: 0;
  min-height: 43px;
  display: grid;
  place-content: center;
  gap: 2px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 6px;
  background: #152238;
  color: #aebbcf;
  font: inherit;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}
.cashier-deposit__quick-amounts button strong,
.cashier-deposit__quick-amounts button small { display: block; letter-spacing: 0; }
.cashier-deposit__quick-amounts button strong { color: inherit; font-size: 10px; }
.cashier-deposit__quick-amounts button small { color: #708198; font-size: 7px; }
.cashier-deposit__quick-amounts button:hover { border-color: rgba(26, 169, 255, .35); color: #fff; }
.cashier-deposit__intent-form > small { color: #6f7f96; font-size: 9px; line-height: 1.4; }

.cashier-free-spins {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
  border-left: 3px solid #43d998;
  border-radius: 0 6px 6px 0;
  background: rgba(67, 217, 152, .055);
}
.cashier-free-spins[hidden] { display: none; }
.cashier-free-spins > header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.cashier-free-spins__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #158364;
  color: #fff;
  font-size: 9px;
  font-weight: 950;
}
.cashier-free-spins header div { display: grid; gap: 2px; min-width: 0; }
.cashier-free-spins header strong { color: #eefcf7; font-size: 11px; }
.cashier-free-spins header small { color: #7f9f94; font-size: 8px; line-height: 1.3; }
.cashier-free-spins header em { color: #56dfa9; font-size: 7px; font-style: normal; font-weight: 900; }
.cashier-free-spins__scale {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding-top: 3px;
}
.cashier-free-spins__scale::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 4px;
  left: 4px;
  height: 2px;
  background: rgba(67, 217, 152, .28);
}
.cashier-free-spins__scale span { position: relative; display: grid; justify-items: center; gap: 5px; z-index: 1; }
.cashier-free-spins__scale i { width: 9px; height: 9px; border: 2px solid #43d998; border-radius: 50%; background: #122439; }
.cashier-free-spins__scale small { color: #8ba69d; font-size: 7px; text-align: center; }
.cashier-free-spins > p { margin: 0; color: #c5eee0; font-size: 9px; font-weight: 750; line-height: 1.4; }
.cashier-free-spins__terms { color: #6f8c83 !important; font-size: 8px !important; line-height: 1.45 !important; }

.cashier-deposit__submit {
  height: 54px;
  margin-top: 3px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(100deg, #28c5e9, #0873ff);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(8, 115, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
  cursor: pointer;
}
.cashier-deposit__submit:disabled { cursor: not-allowed; filter: saturate(.25); opacity: .48; box-shadow: none; }

.cashier-deposit__state {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #f0a73c;
  border-radius: 0 5px 5px 0;
  background: rgba(240, 167, 60, .07);
  color: #b7c2d2;
  font-size: 10px;
  line-height: 1.45;
}
.cashier-deposit__state.is-ready { border-color: #43d998; background: rgba(67, 217, 152, .06); }
.cashier-deposit__state.is-error { border-color: #ff6474; color: #ffadb5; }
.cashier-deposit__state.is-loading,
.cashier-deposit__state.is-pending { border-color: #1aa9ff; }

.cashier-deposit__notice {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 167, 60, .14);
  border-radius: 6px;
  background: rgba(240, 167, 60, .055);
}
.cashier-deposit__notice strong { color: #eec576; font-size: 10px; }
.cashier-deposit__notice p { margin: 4px 0 0; color: #8d9bb0; font-size: 9px; line-height: 1.45; }

.cashier-deposit__intent {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 15px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(67, 217, 152, .2);
  border-radius: 7px;
  background: #0c1d25;
}
.cashier-deposit__intent[hidden] { display: none; }
.cashier-deposit__intent > img { width: 128px; height: 128px; padding: 7px; border-radius: 6px; background: #fff; }
.cashier-deposit__intent-values { display: grid; min-width: 0; gap: 6px; }
.cashier-deposit__intent-values span { color: #718198; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.cashier-deposit__intent-values code { overflow-wrap: anywhere; color: #fff; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.cashier-deposit__intent-values button {
  min-height: 28px;
  border: 1px solid rgba(67, 217, 152, .22);
  border-radius: 5px;
  background: rgba(67, 217, 152, .08);
  color: #6ce4ad;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}
.cashier-deposit__intent-values > div { display: grid; gap: 6px; }
.cashier-deposit__intent-values small { color: #e5be73; font-size: 8px; }

.cashier-deposit__ledger {
  margin-top: 24px;
  padding: 15px 18px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: #0d1728;
}
.cashier-deposit__ledger > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cashier-deposit__ledger span { color: #74849a; font-size: 10px; }
.cashier-deposit__ledger strong { color: #fff; font-size: 13px; text-align: right; }

.cashier-deposit__history.tron-deposit__history {
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-margin-top: 145px;
}
.cashier-deposit__history > header { margin-bottom: 13px; }
.cashier-deposit__history > header > div { display: grid; gap: 3px; }
.cashier-deposit__history > header span { color: #1aa9ff; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.cashier-deposit__history h3 { font-size: 18px; }
.cashier-deposit__history.tron-deposit__history button { border-color: rgba(26, 169, 255, .18); background: #111d30; color: #8acfff; }
.cashier-deposit__history .tron-deposit__history-row { border-color: rgba(255, 255, 255, .055); background: #111c2f; }

/* Withdrawal preview uses the same wallet shell without pretending that a
   payout service exists. The final action remains disabled until backend
   reservation, approval, signing, and broadcast are implemented. */
.cashier-withdrawal__workspace {
  display: grid;
  grid-template-columns: minmax(370px, .92fr) minmax(410px, 1.08fr);
  gap: 18px;
  align-items: start;
}

.cashier-withdrawal__payment {
  min-width: 0;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 7px;
  background: #101b2d;
}

.cashier-withdrawal__form {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.cashier-withdrawal__form > label,
.cashier-withdrawal__amount-heading > label {
  color: #9eacc0;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.cashier-withdrawal__form > input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  outline: 0;
  background: #0b1424;
  color: #fff;
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.cashier-withdrawal__form > input:focus {
  border-color: #1aa9ff;
  box-shadow: 0 0 0 3px rgba(26, 169, 255, .1);
}

.cashier-withdrawal__amount-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.cashier-withdrawal__amount-heading small { color: #74849a; font-size: 9px; }
.cashier-withdrawal__amount-heading strong { color: #dce8f7; }
.cashier-withdrawal__notice { border-color: rgba(255, 100, 116, .14); background: rgba(255, 100, 116, .045); }
.cashier-withdrawal__notice strong { color: #ffadb5; }

.cashier-withdrawal__safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.cashier-withdrawal__safety article {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 6px;
  background: #0d1728;
}

.cashier-withdrawal__safety article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  background: rgba(26, 169, 255, .1);
  color: #4bbcff;
  font-size: 9px;
  font-weight: 900;
}

.cashier-withdrawal__safety article > div { display: grid; min-width: 0; gap: 4px; }
.cashier-withdrawal__safety strong { color: #e4edf8; font-size: 10px; }
.cashier-withdrawal__safety small { color: #718198; font-size: 8px; line-height: 1.45; }
.cashier-withdrawal__history { scroll-margin-top: 145px; }

.cashier-withdrawal__empty {
  display: grid;
  min-height: 110px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  color: #718198;
  text-align: center;
}

.cashier-withdrawal__empty strong { color: #dce6f3; font-size: 11px; }
.cashier-withdrawal__empty p { margin: 0; font-size: 9px; }

/* Legacy permanent-address mode stays functional inside the same wallet shell. */
.cashier-main > .tron-deposit__body > .tron-deposit__asset-card,
.cashier-main > .tron-deposit__body > .tron-deposit__mode,
.cashier-main > .tron-deposit__body > .tron-deposit__address,
.cashier-main > .tron-deposit__body > .tron-deposit__balance,
.cashier-main > .tron-deposit__body > .tron-deposit__warnings,
.cashier-main > .tron-deposit__body > .tron-deposit__history,
.cashier-main > .tron-deposit__body > .tron-deposit__allocate {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
}

/* Profile overview */
.profile-backdrop {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #080f1c;
  backdrop-filter: none;
}

.auth-dashboard.profile-shell {
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  grid-template-columns: 248px minmax(0, 1fr);
  overflow: hidden;
  background: #080f1c;
  color: #f6f9ff;
}

.profile-main {
  height: 100dvh;
  min-width: 0;
  overflow: auto;
  background: #080f1c;
}

.profile-main__header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 3vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(8, 15, 28, .94);
  backdrop-filter: blur(16px);
}

.profile-main__header > div { display: grid; gap: 3px; }
.profile-main__header small { color: #22a8ff; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.profile-main__header h2 { margin: 0; font-size: 22px; letter-spacing: 0; }

.profile-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 30px clamp(20px, 3vw, 48px) 70px;
}

.profile-intro {
  display: grid;
  min-width: 0;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.profile-intro__avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, #38bbff, #0873ff);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(9, 116, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.profile-intro > div { display: grid; min-width: 0; gap: 3px; }
.profile-intro > div > small { color: #74849a; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.profile-intro h1 { overflow: hidden; margin: 0; font-size: 25px; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.profile-intro p { margin: 0; color: #8e9db1; font-size: 11px; }
.profile-intro__status {
  padding: 7px 10px;
  border: 1px solid rgba(68, 218, 154, .22);
  border-radius: 5px;
  background: rgba(68, 218, 154, .07);
  color: #58dda4;
  font-size: 8px;
  font-weight: 900;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.profile-stat {
  display: grid;
  min-width: 0;
  min-height: 108px;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  background: #101a2c;
  box-shadow: 0 15px 38px rgba(0, 0, 0, .13);
}

.profile-stat > img,
.profile-stat__icon {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}

.profile-stat__icon {
  border-radius: 12px;
  background: linear-gradient(160deg, #29b9ff, #0875ff);
}

.profile-stat__icon.is-deposit {
  -webkit-mask: url("../assets/original/wallet-filled.svg") center / 25px 25px no-repeat;
  mask: url("../assets/original/wallet-filled.svg") center / 25px 25px no-repeat;
}

.profile-stat__icon.is-history {
  background: linear-gradient(160deg, #ffbd50, #e77830);
  -webkit-mask: url("../assets/original/transactions.svg") center / 27px 27px no-repeat;
  mask: url("../assets/original/transactions.svg") center / 27px 27px no-repeat;
}

.profile-stat__icon.is-bonus {
  background: #43d998;
  -webkit-mask: url("../icons/category/bonuses-mobile.svg") center / 28px 28px no-repeat;
  mask: url("../icons/category/bonuses-mobile.svg") center / 28px 28px no-repeat;
}

.profile-stat > div { display: grid; min-width: 0; gap: 4px; }
.profile-stat span { color: #74849a; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.profile-stat strong { overflow-wrap: anywhere; color: #fff; font-size: 17px; line-height: 1.15; }
.profile-stat small { color: #65758c; font-size: 8px; }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(430px, 1.1fr);
  gap: 14px;
  margin-top: 24px;
  align-items: start;
}

.profile-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  background: #101a2c;
}

.profile-panel > header {
  display: flex;
  min-height: 42px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.profile-panel > header > div { display: grid; gap: 3px; }
.profile-panel > header span { color: #1aa9ff; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.profile-panel > header h2 { margin: 0; font-size: 17px; letter-spacing: 0; }

.profile-details dl { margin: 0; }
.profile-details dl > div {
  display: grid;
  min-height: 49px;
  grid-template-columns: minmax(100px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, .055);
}
.profile-details dt { color: #718198; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.profile-details dd { overflow-wrap: anywhere; margin: 0; color: #eef4fd; font-size: 11px; font-weight: 800; text-align: right; }
.profile-details__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.profile-bonus { display: grid; gap: 12px; }
.profile-bonus > header { margin-bottom: 0; }
.profile-bonus__summary { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.profile-bonus__summary > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(67, 217, 152, .12);
  border-radius: 6px;
  background: rgba(67, 217, 152, .045);
}
.profile-bonus__summary span { color: #718b82; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.profile-bonus__summary strong { color: #e9fff7; font-size: 16px; }
.profile-bonus > p { margin: 0; color: #69ddb0; font-size: 10px; font-weight: 800; line-height: 1.4; }
.profile-bonus > small { min-height: 13px; color: #8090a5; font-size: 9px; line-height: 1.45; }
.profile-bonus__terms {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  color: #66768c;
  font-size: 8px;
  line-height: 1.5;
}

.profile-details__actions button,
.profile-security__actions button,
.profile-connections__list button,
.profile-history > header > button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(26, 169, 255, .2);
  border-radius: 6px;
  background: #14243a;
  color: #9ed8ff;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.profile-details__actions button:hover,
.profile-security__actions button:hover,
.profile-connections__list button:hover:not(:disabled),
.profile-history > header > button:hover { border-color: rgba(26, 169, 255, .5); color: #fff; }
.profile-details__actions button[hidden] { display: none; }

.profile-connections__list { display: grid; }
.profile-connections__list article {
  display: grid;
  min-width: 0;
  min-height: 65px;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  border-top: 1px solid rgba(255, 255, 255, .055);
}
.profile-connections__list img { width: 35px; height: 35px; padding: 6px; border-radius: 9px; background: #16243a; object-fit: contain; }
.profile-connections__list article > div { display: grid; min-width: 0; gap: 3px; }
.profile-connections__list strong,
.profile-connections__list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-connections__list strong { font-size: 11px; }
.profile-connections__list small { color: #718198; font-size: 8px; }
.profile-connections__list em { color: #8795a8; font-size: 8px; font-style: normal; font-weight: 850; }
.profile-connections__list article.is-connected em { color: #55dda4; }
.profile-connections__list button { min-width: 84px; }
.profile-connections__list button:disabled { cursor: not-allowed; opacity: .4; }
.profile-connections__list article.is-connected button { border-color: rgba(255, 120, 132, .18); background: rgba(255, 100, 116, .06); color: #f2a0aa; }

.profile-security,
.profile-history { grid-column: 1 / -1; }
.profile-security p { margin: 0; color: #8493a8; font-size: 10px; line-height: 1.5; }
.profile-security__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }

.profile-history > header > button:disabled { cursor: wait; opacity: .5; }
.profile-history__list { display: grid; }
.profile-history__row {
  display: grid;
  min-width: 0;
  min-height: 68px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .055);
}
.profile-history__asset { width: 38px; height: 38px; }
.profile-history__row > div { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; }
.profile-history__row strong { font-size: 12px; }
.profile-history__row small { overflow: hidden; color: #78889e; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.profile-history__row code { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #617188; font: 8px ui-monospace, SFMono-Regular, Consolas, monospace; }
.profile-history__row em { color: #e4ba70; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.profile-history__row.is-credited em { color: #55dda4; }
.profile-history__empty {
  display: grid;
  min-height: 170px;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #718198;
  text-align: center;
}
.profile-history__empty > span {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
  background: #40516a;
  -webkit-mask: url("../assets/original/transactions.svg") center / contain no-repeat;
  mask: url("../assets/original/transactions.svg") center / contain no-repeat;
}
.profile-history__empty strong { color: #dfe8f4; font-size: 12px; }
.profile-history__empty small,
.profile-history__loading,
.profile-history__error { color: #718198; font-size: 9px; }
.profile-history__loading,
.profile-history__error { margin: 25px 0; text-align: center; }
.profile-history__error { color: #f4a1ab; }

@media (max-width: 1250px) {
  body.summer-redesign .topbar--authenticated .topbar__profile-name { display: none; }
  body.summer-redesign .topbar--authenticated .topbar__profile-control { width: 58px; min-width: 58px; padding: 0; justify-content: center; }
  body.summer-redesign .topbar--authenticated .topbar__profile-chevron { display: none; }
  .cashier-deposit__workspace { grid-template-columns: minmax(340px, .88fr) minmax(390px, 1.12fr); }
  .cashier-withdrawal__workspace { grid-template-columns: minmax(340px, .88fr) minmax(390px, 1.12fr); }
  .profile-grid { grid-template-columns: minmax(290px, .85fr) minmax(390px, 1.15fr); }
}

@media (max-width: 1060px) {
  body.summer-redesign .topbar--authenticated .topbar__apps { display: none; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-control { min-width: 132px; }
  .tron-deposit.cashier-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .cashier-sidebar { padding-inline: 13px; }
  .cashier-deposit__workspace { grid-template-columns: 1fr; }
  .cashier-withdrawal__workspace { grid-template-columns: 1fr; }
  .cashier-deposit__methods { max-width: none; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-stat:first-child { grid-column: auto; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-security,
  .profile-history { grid-column: auto; }
}

@media (max-width: 820px) {
  body.summer-redesign .topbar--authenticated .topbar__search { display: none; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-control { display: inline-flex !important; min-width: 122px; }
  body.summer-redesign .topbar--authenticated .topbar__inner { width: calc(100vw - 24px); }
  body.summer-redesign .topbar--authenticated + .page .cats {
    overflow-x: auto;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 125px;
    scrollbar-width: none;
  }
  body.summer-redesign .topbar--authenticated + .page .cats::-webkit-scrollbar { display: none; }
  .tron-deposit.cashier-shell { display: block; overflow: auto; }
  .auth-dashboard.profile-shell { display: block; overflow: auto; }
  .cashier-sidebar { height: auto; min-height: 0; padding: 13px 14px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .cashier-sidebar__brand { width: 120px; height: 28px; }
  .cashier-sidebar__identity { margin-top: 13px; }
  .cashier-sidebar__balance { margin-top: 8px; }
  .cashier-sidebar__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 10px; }
  .cashier-sidebar__nav button { min-height: 44px; justify-content: center; gap: 7px; padding: 0 5px; font-size: 10px; text-align: center; }
  .cashier-sidebar__nav button.is-active { box-shadow: inset 0 -3px #18a7ff; }
  .cashier-sidebar__nav button:last-child { margin-top: 0; }
  .cashier-sidebar__legal { display: none; }
  .cashier-main { height: auto; min-height: 100dvh; overflow: visible; }
  .profile-main { height: auto; min-height: 100dvh; overflow: visible; }
  .profile-main__header { position: relative; min-height: 64px; }
  .cashier-main .cashier-main__header { position: relative; min-height: 64px; }
  .cashier-main__tabs { position: relative; top: 0; }
  .cashier-deposit__history.tron-deposit__history { scroll-margin-top: 20px; }
  .cashier-withdrawal__history { scroll-margin-top: 20px; }
}

@media (max-width: 620px) {
  body.summer-redesign .topbar--authenticated { height: 68px; }
  body.summer-redesign .topbar--authenticated .topbar__inner { width: calc(100vw - 16px); height: 68px; gap: 6px; }
  body.summer-redesign .topbar--authenticated .topbar .brand__logo,
  body.summer-redesign .topbar--authenticated .brand__logo { width: 105px; height: 25px; }
  body.summer-redesign .topbar--authenticated .topbar__lang { width: 46px; height: 46px; border-radius: 14px; gap: 0; }
  body.summer-redesign .topbar--authenticated .topbar__lang-code,
  body.summer-redesign .topbar--authenticated .topbar__lang-chevron { display: none; }
  body.summer-redesign .topbar--authenticated .topbar__lang-flag { width: 24px; height: 16px; flex-basis: 24px; }
  body.summer-redesign .topbar--authenticated .topbar__language-menu { position: fixed; top: 62px; right: 8px; width: min(222px, calc(100vw - 16px)); }
  body.summer-redesign .topbar--authenticated .topbar__session-items { height: 46px; gap: 6px; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-control { min-width: 82px; height: 46px; gap: 6px; padding: 0 8px; border-radius: 14px; }
  body.summer-redesign .topbar--authenticated .topbar__balance-asset { width: 23px; height: 23px; flex-basis: 23px; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-label,
  body.summer-redesign .topbar--authenticated .topbar__wallet-chevron { display: none; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-value { max-width: 48px; font-size: 9px; }
  body.summer-redesign .topbar--authenticated .topbar__profile-control,
  body.summer-redesign .topbar--authenticated .topbar__cash-desk { width: 46px; min-width: 46px; height: 46px; border-radius: 14px; }
  body.summer-redesign .topbar--authenticated .topbar__olymp-avatar { width: 28px; height: 28px; flex-basis: 28px; }
  body.summer-redesign .topbar--authenticated .topbar__cash-desk-icon { width: 21px; height: 21px; }
  .topbar-account-menu { position: fixed; top: 62px; right: 8px; width: min(270px, calc(100vw - 16px)); }
  .cashier-sidebar__identity { display: none; }
  .cashier-sidebar__balance { grid-template-columns: 28px minmax(0, 1fr) 33px; }
  .cashier-sidebar__nav-icon { display: none; }
  .cashier-main .cashier-main__header { padding-inline: 14px; }
  .profile-main__header { padding-inline: 14px; }
  .cashier-main__back { min-width: 44px; width: 44px; padding: 0; }
  .cashier-main__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .cashier-main__tabs { min-height: 50px; padding-inline: 14px; }
  .cashier-main__tabs button { height: 50px; }
  .cashier-main .tron-deposit__body { padding: 22px 14px 46px; }
  .profile-content { padding: 22px 14px 46px; }
  .profile-intro { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .profile-intro__avatar { width: 54px; height: 54px; font-size: 19px; }
  .profile-intro h1 { font-size: 20px; }
  .profile-intro__status { grid-column: 2; justify-self: start; }
  .profile-stats { grid-template-columns: 1fr; }
  .profile-stat:first-child { grid-column: auto; }
  .profile-panel { padding: 16px; }
  .profile-connections__list article { grid-template-columns: 35px minmax(0, 1fr) auto; padding-block: 9px; }
  .profile-connections__list em { grid-column: 2; }
  .profile-connections__list button { grid-column: 3; grid-row: 1 / 3; }
  .profile-history__row { grid-template-columns: 36px minmax(0, 1fr); padding-block: 10px; }
  .profile-history__row > em { grid-column: 2; justify-self: start; }
  .profile-history__row > div { grid-template-columns: 1fr; }
  .profile-history__row code { grid-column: 1; grid-row: auto; }
  .profile-history__row small,
  .profile-history__row code { white-space: normal; overflow-wrap: anywhere; }
  body.summer-redesign .topbar--authenticated + .page .cats { grid-auto-columns: 112px; }
  .cashier-deposit__asset-grid { grid-template-columns: 1fr 1fr; }
  .cashier-deposit__asset-option { min-height: 69px; grid-template-columns: 33px minmax(0, 1fr); padding: 9px; }
  .cashier-deposit__asset-option img { width: 33px; height: 33px; }
  .cashier-deposit__network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cashier-deposit__payment { padding: 16px; }
  .cashier-deposit__quick-amounts { grid-template-columns: 1fr 1fr; }
  .cashier-withdrawal__payment { padding: 16px; }
  .cashier-withdrawal__safety { grid-template-columns: 1fr; }
  .cashier-deposit__intent { grid-template-columns: 1fr; justify-items: center; }
  .cashier-deposit__intent-values { width: 100%; }
  .cashier-deposit__ledger > div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .cashier-deposit__ledger strong { text-align: left; }
}

@media (max-width: 420px) {
  body.summer-redesign .topbar--authenticated .brand__logo { width: 88px; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-control { min-width: 72px; }
  body.summer-redesign .topbar--authenticated .topbar__wallet-value { max-width: 39px; }
  .cashier-sidebar__nav button { font-size: 9px; }
  .cashier-deposit__asset-option em { display: none; }
  .cashier-deposit__asset-option strong { font-size: 11px; }
}
