.wallet-home {
  padding-top: 16px;
  padding-bottom: 92px;
}

.setup-strip {
  margin-bottom: 14px;
}

.setup-strip-link {
  min-height: 76px;
  padding: 10px 14px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 12px;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, rgba(38, 75, 124, 0.96) 0%, rgba(54, 94, 148, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(7, 13, 22, 0.18);
}

.setup-strip.is-hidden {
  display: none;
}

.setup-strip-progress {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.setup-strip-ring {
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.setup-strip-ring-track,
.setup-strip-ring-value {
  fill: none;
  stroke-width: 4;
}

.setup-strip-ring-track {
  stroke: rgba(255, 255, 255, 0.18);
}

.setup-strip-ring-value {
  stroke: #57b2ff;
  stroke-linecap: round;
  stroke-dasharray: 113.1;
  stroke-dashoffset: calc(113.1 - (113.1 * var(--setup-progress, 0) / 100));
}

.setup-strip-progress-label {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7fbff;
  font-size: 11px;
  font-weight: 800;
}

.setup-strip-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.setup-strip-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.setup-strip-subtitle {
  color: #d7e7fb;
  font-size: 13px;
  line-height: 1.25;
}

.setup-strip-arrow {
  color: #c7dbf3;
  font-size: 20px;
}

.balance-hero {
  padding: 10px 0 4px;
  text-align: center;
}

.balance-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.balance-eye {
  font-size: 12px;
  color: var(--muted);
  vertical-align: middle;
}

.balance-label {
  margin-top: 10px;
  color: #b6c1d0;
  font-size: 14px;
}

.quick-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.action-pill {
  display: grid;
  gap: 7px;
  justify-items: center;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 500;
}

.action-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #52b5ff 0%, #3898f0 100%);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(53, 141, 236, 0.18);
}

.action-icon-mask,
.tool-glyph-mask,
.bottom-nav-mask {
  display: block;
  background: currentColor;
  mask: var(--icon-mask) center / contain no-repeat;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
}

.action-icon-mask {
  width: 20px;
  height: 20px;
}

.promo-card {
  margin-top: 16px;
  height: 104px;
  border-radius: 24px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 62px 1fr 14px;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 30px rgba(6, 9, 16, 0.22);
  color: inherit;
  text-decoration: none;
}

.promo-card-blue {
  background: linear-gradient(135deg, rgba(63, 95, 134, 0.96) 0%, rgba(79, 108, 143, 0.96) 100%);
}

.promo-card-green {
  background: linear-gradient(135deg, rgba(44, 95, 69, 0.96) 0%, rgba(62, 112, 83, 0.96) 100%);
}

.promo-card-teal {
  background: linear-gradient(135deg, rgba(26, 99, 97, 0.96) 0%, rgba(42, 126, 118, 0.96) 100%);
}

.promo-card-violet {
  background: linear-gradient(135deg, rgba(82, 68, 154, 0.96) 0%, rgba(108, 79, 178, 0.96) 100%);
}

.promo-card-amber {
  background: linear-gradient(135deg, rgba(138, 95, 30, 0.96) 0%, rgba(171, 119, 43, 0.96) 100%);
}

.promo-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 21, 35, 0.44);
  color: #7fd1ff;
}

.promo-icon-mask {
  width: 26px;
  height: 26px;
  display: block;
  background: currentColor;
  mask: var(--icon-mask) center / contain no-repeat;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
}

.promo-card-green .promo-icon {
  color: #6ee36f;
}

.promo-card-teal .promo-icon {
  color: #7ef0dd;
}

.promo-card-violet .promo-icon {
  color: #c7baff;
}

.promo-card-amber .promo-icon {
  color: #ffd77a;
}

.promo-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-title {
  font-size: 14px;
  font-weight: 700;
  color: #89c8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-card-green .promo-title {
  color: #71d868;
}

.promo-card-teal .promo-title {
  color: #8ff3e7;
}

.promo-card-violet .promo-title {
  color: #d5cbff;
}

.promo-card-amber .promo-title {
  color: #ffe7a2;
}

.promo-text {
  margin-top: 4px;
  color: #eef3fb;
  font-size: 14px;
  line-height: 1.28;
  min-height: 2.56em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-arrow {
  color: #789bbd;
  font-size: 20px;
}

.promo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.promo-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(125, 142, 166, 0.44);
}

.promo-dots .active {
  width: 24px;
  background: linear-gradient(90deg, #57b2ff 0%, #4bd8ff 100%);
}

.section-head {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.section-link {
  color: #7db5eb;
  font-size: 14px;
}

.section-link.muted {
  color: #6ea7dd;
}

.section-link-button {
  background: none;
}

.section-link-button.active {
  color: #9ed0ff;
}

.asset-list {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 22px;
  padding: 2px 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.asset-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.asset-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.asset-mark-img,
.deposit-asset-icon-img,
.token-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-mark-teal { background: #27c7bc; }
.asset-mark-sky { background: #4ab7ff; }
.asset-mark-violet { background: #9257ff; }
.asset-mark-red { background: #ff3d43; }
.asset-mark-orange { background: #ffa12a; }
.asset-mark-indigo { background: #647dff; }

.asset-name {
  font-size: 15px;
  font-weight: 600;
}

.asset-meta {
  margin-top: 3px;
  display: flex;
  gap: 8px;
  color: #a7b3c3;
  font-size: 13px;
}

.asset-meta .up {
  color: #59db73;
}

.asset-meta .down {
  color: #f46b6b;
}

.asset-balance {
  text-align: right;
}

.asset-amount {
  font-size: 15px;
  font-weight: 700;
}

.asset-value {
  margin-top: 3px;
  color: #8e9aaa;
  font-size: 13px;
}

.asset-list-empty {
  padding: 20px 0 10px;
  color: #93a2b8;
  font-size: 13px;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(364px, calc(100vw - 28px));
  padding: 7px 8px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  background: rgba(111, 121, 139, 0.68);
  backdrop-filter: blur(34px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(7, 13, 22, 0.24);
}

.bottom-nav-item {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-height: 52px;
  padding: 7px 5px 6px;
  border-radius: 999px;
  color: #eef3fb;
  font-size: 11.5px;
  font-weight: 600;
}

.bottom-nav-item.active {
  color: #78bcff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 6px 14px rgba(8, 13, 22, 0.16);
}

.bottom-nav-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-svg {
  width: 20px;
  height: 20px;
  display: block;
  color: currentColor;
}

.bottom-nav-mask {
  width: 20px;
  height: 20px;
}

.bottom-nav-label {
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.more-screen {
  padding-top: 6px;
  padding-bottom: 96px;
}

.section-group {
  margin-top: 14px;
}

.section-group-muted {
  margin-top: 14px;
}

.group-title {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b1bcce;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.group-title-mark {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8e9bb2;
}

.group-title-mark-mask {
  display: block;
  background: currentColor;
  mask: var(--icon-mask) center / contain no-repeat;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
}

.group-title-mark svg {
  width: 16px;
  height: 16px;
  display: block;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 10px;
}

.tool-grid-triple {
  grid-template-columns: repeat(3, 1fr);
}

.tool-card {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.tool-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(8, 13, 22, 0.14);
}

.tool-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.tool-glyph svg,
.tool-glyph-mask {
  width: 23px;
  height: 23px;
  display: block;
}

.tool-icon-green { background: linear-gradient(180deg, #58df68 0%, #39ca55 100%); }
.tool-icon-amber { background: linear-gradient(180deg, #ffd45d 0%, #ffac2a 100%); }
.tool-icon-sky { background: linear-gradient(180deg, #7cd2ff 0%, #58abff 100%); }
.tool-icon-gold { background: linear-gradient(180deg, #f7d76a 0%, #dfaf2d 100%); }
.tool-icon-blue { background: linear-gradient(180deg, #89d4ff 0%, #60aaf8 100%); }
.tool-icon-gray { background: linear-gradient(180deg, #c8ccd4 0%, #9ca1aa 100%); }
.tool-icon-silver { background: linear-gradient(180deg, #d0d4da 0%, #a2a7b0 100%); }
.tool-icon-purple { background: linear-gradient(180deg, #d27dff 0%, #9c55ff 100%); }
.tool-icon-pink { background: linear-gradient(180deg, #ff8acc 0%, #ff5e93 100%); }
.tool-icon-cyan { background: linear-gradient(180deg, #8cefff 0%, #52c0ff 100%); }
.tool-icon-indigo { background: linear-gradient(180deg, #93b4ff 0%, #6185ff 100%); }
.tool-icon-teal { background: linear-gradient(180deg, #86f4ef 0%, #4fd1db 100%); }
.tool-icon-violet { background: linear-gradient(180deg, #e796ff 0%, #bf62f5 100%); }

.tool-label {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.24;
}

.wallet-detail-screen {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 24px;
}

.topbar-spacer {
  width: 36px;
  min-width: 36px;
}

.wallet-deposit-screen {
  gap: 12px;
  padding-bottom: 24px;
}

.deposit-layout {
  display: grid;
  gap: 12px;
}

.deposit-stepper-item {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 28px;
  z-index: 0;
}

.deposit-stepper-item-line::after {
  content: "";
  position: absolute;
  top: 54px;
  height: calc(100% + 36px);
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 55%, rgba(255, 255, 255, 0) 0%);
  background-position: center;
  background-size: 1px 10px;
  background-repeat: repeat-y;
}

.deposit-stepper-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #f6f7fb;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.deposit-stage-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.deposit-stage-row + .deposit-stage-row {
  margin-top: -2px;
}

.deposit-stage {
  display: grid;
  gap: 6px;
}

.deposit-stage-label {
  color: #969aa7;
  font-size: 13px;
  line-height: 1.3;
}

.deposit-select-shell {
  position: relative;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.deposit-select-trigger {
  width: 100%;
  padding: 0 46px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.deposit-select-trigger:focus-visible {
  outline: 2px solid rgba(168, 108, 255, 0.45);
  outline-offset: 2px;
}

.deposit-hidden-select {
  display: none;
}

.deposit-select-chevron {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #c9ccd6;
  font-size: 14px;
  pointer-events: none;
}

.deposit-asset-current {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deposit-select-value {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}

.network-label {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.network-label > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.network-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.network-badge-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.network-badge-text {
  padding-top: 1px;
  color: #f3f7ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.deposit-asset-icon,
.deposit-asset-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.deposit-asset-icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
  overflow: hidden;
}

.deposit-asset-pill-icon {
  width: 24px;
  height: 24px;
  font-size: 12px;
  flex: 0 0 24px;
}

.deposit-asset-icon[data-accent="orange"],
.deposit-asset-pill-icon[data-accent="orange"] {
  background: #f7931a;
}

.deposit-asset-icon[data-accent="teal"],
.deposit-asset-pill-icon[data-accent="teal"] {
  background: #27c7bc;
}

.deposit-asset-icon[data-accent="indigo"],
.deposit-asset-pill-icon[data-accent="indigo"] {
  background: #627eea;
}

.deposit-asset-icon[data-accent="amber"],
.deposit-asset-pill-icon[data-accent="amber"] {
  background: #f3ba2f;
  color: #1b1b1b;
}

.deposit-asset-icon[data-accent="gold"],
.deposit-asset-pill-icon[data-accent="gold"] {
  background: #c8a93f;
}

.deposit-asset-icon[data-accent="slate"],
.deposit-asset-pill-icon[data-accent="slate"] {
  background: #8f95a3;
}

.deposit-asset-icon[data-accent="violet"],
.deposit-asset-pill-icon[data-accent="violet"] {
  background: #8d53ff;
}

.deposit-asset-icon[data-accent="sky"],
.deposit-asset-pill-icon[data-accent="sky"] {
  background: #2f9bff;
}

.deposit-asset-icon[data-accent="cyan"],
.deposit-asset-pill-icon[data-accent="cyan"] {
  background: #42d4ff;
  color: #081017;
}

.deposit-asset-balance {
  font-size: 15px;
  font-weight: 700;
}

.deposit-network-note,
.deposit-address-note,
.deposit-confirm-text {
  margin: 0;
  color: #9b9faa;
  font-size: 12px;
  line-height: 1.45;
}

.deposit-confirm-card,
.deposit-address-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.deposit-confirm-card {
  display: grid;
  gap: 12px;
  text-align: center;
  justify-items: center;
}

.deposit-confirm-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.deposit-confirm-text {
  max-width: 320px;
}

.deposit-confirm-btn,
.deposit-primary-action {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  background: linear-gradient(90deg, #7f3dff 0%, #b13fff 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(144, 63, 255, 0.22);
}

.deposit-confirm-btn[disabled] {
  opacity: 0.7;
}

.deposit-address-card {
  display: grid;
  gap: 12px;
}

.deposit-address-title {
  text-align: center;
  color: #b0b4bf;
  font-size: 13px;
}

.deposit-address-code {
  display: block;
  margin: 0;
  text-align: center;
  color: #d6b7ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
  word-break: break-all;
  white-space: normal;
}

.deposit-memo-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(65, 170, 255, 0.22);
  background: linear-gradient(135deg, rgba(47, 155, 255, 0.13), rgba(143, 69, 255, 0.1));
}

.deposit-memo-title {
  color: #a9d8ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.deposit-memo-code {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.deposit-memo-warning {
  color: #c6d8ee;
  font-size: 12px;
  line-height: 1.4;
}

.deposit-address-qr-shell {
  width: min(168px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
}

.deposit-address-qr,
.deposit-address-qr-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

.deposit-address-qr-fallback {
  display: grid;
  place-items: center;
  color: #141414;
  font-size: 26px;
  font-weight: 800;
}

.deposit-share-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 8px;
}

.deposit-secondary-action,
.deposit-share-icon-btn {
  min-height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #f3f4f8;
  font-weight: 600;
}

.deposit-share-icon-btn {
  font-size: 20px;
}

.detail-hero {
  display: grid;
  gap: 8px;
}

.detail-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: rgba(74, 174, 255, 0.12);
  color: #88c9ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.detail-hero h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.detail-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.wallet-card,
.wallet-item-card,
.wallet-history-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-card {
  display: grid;
  gap: 12px;
}

.wallet-history-action {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.wallet-history-action:active {
  transform: scale(0.985);
}

.wallet-history-action:focus-visible {
  outline: 2px solid rgba(103, 196, 255, 0.9);
  outline-offset: 2px;
}

.wallet-card-title,
.wallet-section-title {
  font-size: 16px;
  font-weight: 700;
}

.wallet-inline-form {
  display: grid;
  gap: 12px;
}

.wallet-field {
  display: grid;
  gap: 8px;
}

.wallet-field span {
  color: #c8d1de;
  font-size: 13px;
}

.wallet-field select,
.wallet-field input {
  min-height: 48px;
  border-radius: 16px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.wallet-field-wide {
  grid-column: 1 / -1;
}

.wallet-primary-btn {
  min-height: 50px;
  border-radius: 18px;
  background: linear-gradient(180deg, #4aaeff 0%, #3998f0 100%);
  color: white;
  font-weight: 700;
}

.wallet-form-hint {
  color: #8fa0b8;
  font-size: 13px;
  line-height: 1.5;
}

.wallet-banner {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.wallet-banner.is-info {
  background: rgba(74, 174, 255, 0.12);
  color: #93cfff;
}

.wallet-banner.is-success {
  background: rgba(66, 201, 118, 0.12);
  color: #87e2a8;
}

.wallet-banner.is-error {
  background: rgba(241, 91, 91, 0.14);
  color: #ffb1b1;
}

.withdraw-result-card {
  display: grid;
  gap: 12px;
  color: #eaf5ff;
}

.withdraw-result-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.withdraw-result-head strong {
  display: block;
  color: #f8fbff;
  font-size: 15px;
  line-height: 1.25;
}

.withdraw-result-head p {
  margin: 4px 0 0;
  color: #a8bacd;
  font-size: 12px;
  line-height: 1.35;
}

.withdraw-result-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(67, 214, 130, 0.16);
  color: #80edae;
  font-weight: 900;
}

.withdraw-result-grid {
  display: grid;
  grid-template-columns: minmax(92px, 0.78fr) minmax(0, 1.22fr);
  gap: 8px 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.withdraw-result-grid span {
  color: #8f9db0;
  font-size: 12px;
}

.withdraw-result-grid strong {
  min-width: 0;
  color: #f4f8ff;
  font-size: 12px;
  text-align: right;
  overflow-wrap: anywhere;
}

.withdraw-result-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.withdraw-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.withdraw-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(117, 173, 255, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(98, 160, 255, 0.12);
  color: #b8d7ff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.withdraw-result-primary {
  flex: 1 1 150px;
  border-color: transparent;
  background: linear-gradient(180deg, #4aaeff 0%, #3998f0 100%);
  color: #fff;
}

.wallet-section {
  display: grid;
  gap: 10px;
}

.history-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -2px -18px 6px;
  padding: 0 18px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.history-filter-row::-webkit-scrollbar {
  display: none;
}

.history-filter-pill {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(133, 174, 214, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #c7d5e5;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.history-filter-pill.is-active {
  background: linear-gradient(180deg, rgba(73, 140, 204, 0.32), rgba(40, 91, 139, 0.24));
  border-color: rgba(123, 191, 255, 0.36);
  color: #f4f9ff;
  box-shadow: 0 12px 26px rgba(28, 76, 119, 0.22);
}

.history-filter-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #102030;
}

.history-filter-mask {
  width: 15px;
  height: 15px;
  display: block;
  background: currentColor;
  mask: var(--icon-mask) center / contain no-repeat;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
}

.history-filter-icon-withdraw {
  background: #ffb86c;
}

.history-filter-icon-deposit {
  background: #7be0b0;
}

.history-filter-icon-ledger {
  background: #8fc8ff;
}

.history-filter-pill strong {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #9fd0ff;
  font-size: 11px;
}

.wallet-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-stack {
  display: grid;
  gap: 10px;
}

.wallet-empty,
.wallet-inline-empty {
  padding: 15px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(133, 160, 194, 0.26);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.wallet-empty h2 {
  margin: 0 0 8px;
  font-size: 16px;
  color: white;
}

.wallet-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.wallet-item-head,
.wallet-history-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}

.wallet-item-leading-copy {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wallet-item-title,
.wallet-history-title {
  font-size: 14px;
  font-weight: 700;
}

.wallet-item-subtitle,
.wallet-history-meta,
.wallet-item-meta {
  margin-top: 3px;
  color: #93a2b8;
  font-size: 12px;
  line-height: 1.4;
}

.wallet-item-badge,
.wallet-history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(74, 174, 255, 0.12);
  color: #84c4ff;
  font-size: 12px;
  font-weight: 700;
}

.wallet-item-body {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.wallet-deposit-layout {
  gap: 16px;
}

.wallet-qr-panel {
  width: 168px;
  max-width: 100%;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-qr-image,
.wallet-qr-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: white;
}

.wallet-qr-fallback {
  display: grid;
  place-items: center;
  color: #142033;
  font-size: 24px;
  font-weight: 700;
}

.wallet-deposit-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.wallet-code {
  white-space: normal;
  word-break: break-all;
  color: #f4f7fb;
}

.wallet-chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wallet-chip-row-tight {
  margin-top: 0;
}

.wallet-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce5ef;
}

.wallet-chip small {
  color: #8c9aae;
}

.wallet-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wallet-secondary-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(132, 201, 255, 0.24);
  background: rgba(74, 174, 255, 0.08);
  color: #dff1ff;
  font-weight: 600;
}

.wallet-metric-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wallet-metric-grid div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.wallet-metric-grid span {
  color: #92a0b4;
  font-size: 13px;
}

.wallet-metric-grid strong {
  font-size: 14px;
}

.wallet-history-line {
  margin-top: 6px;
  color: #dce4ee;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
}

.wallet-history-tx {
  color: #94bfff;
  cursor: copy;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.history-detail-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
}

.history-detail-sheet.is-hidden {
  display: none;
}

.history-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(115, 164, 226, 0.22), transparent 34%),
    rgba(7, 12, 20, 0.58);
  backdrop-filter: blur(12px);
}

.history-detail-card {
  position: relative;
  width: min(100%, 430px);
  max-height: min(78vh, 690px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 30px 30px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 18% 4%, rgba(112, 165, 232, 0.26), transparent 33%),
    linear-gradient(180deg, rgba(48, 65, 85, 0.98), rgba(29, 39, 51, 0.98));
  box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.34);
  padding: 10px 14px 16px;
}

.history-detail-handle {
  width: 44px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.history-detail-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.history-detail-head h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}

.history-detail-head p {
  margin: 5px 0 0;
  color: #aeb9c9;
  font-size: 13px;
}

.history-detail-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbe7f5;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.history-detail-hero {
  margin-top: 16px;
  padding: 15px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.history-detail-amount {
  color: #fff;
  font-size: clamp(23px, 7vw, 31px);
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.history-detail-status {
  display: inline-flex;
  margin-top: 12px;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(103, 196, 255, 0.16);
  color: #9dd5ff;
  font-size: 12px;
  font-weight: 800;
}

.history-detail-rows {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.history-detail-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.78fr) minmax(0, 1.42fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.history-detail-row span {
  color: #8f9db0;
  font-size: 12px;
  line-height: 1.35;
}

.history-detail-row strong {
  min-width: 0;
  color: #f4f8ff;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.history-detail-row-code {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  padding: 6px 8px;
  background: rgba(87, 139, 255, 0.1);
  color: #bcd8ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  text-align: left;
  word-break: break-all;
}

.history-detail-row-value {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 0;
}

.history-detail-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.history-detail-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(117, 173, 255, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(98, 160, 255, 0.12);
  color: #a9d0ff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.history-detail-row-action:active {
  transform: translateY(1px);
}

body.history-detail-lock {
  overflow: hidden;
}

.wallet-withdraw-screen {
  gap: 12px;
}

.wallet-history-screen {
  gap: 10px;
}

.withdraw-alert {
  margin-top: 2px;
}

.withdraw-form-shell {
  display: grid;
  gap: 10px;
}

.withdraw-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.withdraw-select-field {
  display: grid;
  gap: 6px;
}

.withdraw-field-label {
  color: #979ead;
  font-size: 12px;
}

.withdraw-select-trigger {
  position: relative;
  min-height: 52px;
  padding: 0 38px 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.withdraw-asset-pill {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.withdraw-select-text {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.withdraw-entry-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.055);
  display: grid;
  gap: 8px;
}

.withdraw-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.withdraw-entry-kicker {
  color: #9ca5b3;
  font-size: 12px;
}

.withdraw-inline-action {
  color: #b06fff;
  font-size: 13px;
  font-weight: 700;
}

.withdraw-entry-label {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.withdraw-entry-input,
.withdraw-amount-input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.withdraw-entry-input {
  min-height: 30px;
  font-size: 16px;
  font-weight: 700;
}

.withdraw-amount-card {
  gap: 6px;
}

.withdraw-amount-input {
  min-height: 34px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.withdraw-entry-input::placeholder,
.withdraw-amount-input::placeholder {
  color: #6f7786;
}

.withdraw-percent-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.withdraw-percent-chip {
  min-height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #edf2f9;
  font-size: 13px;
  font-weight: 700;
}

.withdraw-percent-chip:active {
  transform: translateY(1px);
}

.withdraw-summary-card {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 10px;
}

.withdraw-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #9aa4b4;
  font-size: 13px;
}

.withdraw-summary-row strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.withdraw-form-hint {
  min-height: 18px;
}

.withdraw-submit-btn {
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(180deg, #4aaeff 0%, #3998f0 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.withdraw-submit-btn:disabled {
  background: #1f232c;
  color: #66707f;
  box-shadow: none;
}

.withdraw-tip-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
}

.withdraw-tip-title {
  font-size: 14px;
  font-weight: 700;
}

.withdraw-tip-text {
  margin-top: 4px;
  color: #b1bccb;
  font-size: 12px;
  line-height: 1.35;
}

.withdraw-tip-visual {
  width: 72px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #30263f 0%, #1c1b24 100%);
  color: #efe6ff;
  font-size: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

body[data-wallet-wallpaper="benjamin"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(225, 236, 247, 0.34), rgba(36, 51, 69, 0.48)),
    radial-gradient(circle at top center, rgba(84, 182, 165, 0.26), transparent 30%),
    linear-gradient(180deg, #2b3948 0%, #223141 100%);
}

body[data-wallet-wallpaper="wall"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(232, 236, 242, 0.3), rgba(42, 48, 58, 0.48)),
    radial-gradient(circle at top center, rgba(205, 102, 77, 0.24), transparent 30%),
    linear-gradient(180deg, #2c3946 0%, #22303d 100%);
}

body[data-wallet-wallpaper="leather"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(244, 228, 191, 0.26), rgba(62, 46, 24, 0.44)),
    radial-gradient(circle at top center, rgba(244, 186, 78, 0.24), transparent 30%),
    linear-gradient(180deg, #2e3842 0%, #22303b 100%);
}

body[data-wallet-wallpaper="metal"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(238, 243, 249, 0.3), rgba(56, 63, 74, 0.44)),
    radial-gradient(circle at top center, rgba(201, 208, 220, 0.22), transparent 30%),
    linear-gradient(180deg, #2c3947 0%, #22303e 100%);
}

body[data-wallet-wallpaper="matrix"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(214, 242, 223, 0.22), rgba(18, 40, 26, 0.48)),
    radial-gradient(circle at top center, rgba(78, 205, 98, 0.2), transparent 30%),
    linear-gradient(180deg, #2a3842 0%, #22303b 100%);
}

body[data-wallet-wallpaper="marble"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(240, 244, 249, 0.3), rgba(44, 50, 61, 0.48)),
    radial-gradient(circle at top center, rgba(152, 157, 168, 0.18), transparent 30%),
    linear-gradient(180deg, #2b3947 0%, #22303d 100%);
}

body[data-wallet-wallpaper="glitch"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(223, 233, 255, 0.3), rgba(45, 49, 84, 0.46)),
    radial-gradient(circle at top center, rgba(94, 150, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #2d3948 0%, #22303e 100%);
}

body[data-wallet-wallpaper="wood"] .phone-shell {
  background:
    linear-gradient(180deg, rgba(243, 232, 214, 0.28), rgba(65, 44, 25, 0.42)),
    radial-gradient(circle at top center, rgba(170, 117, 65, 0.22), transparent 30%),
    linear-gradient(180deg, #2e3947 0%, #22303d 100%);
}

.wallet-subpage {
  padding-top: 22px;
  padding-bottom: 40px;
}

.wallet-subpage-topbar {
  margin-bottom: 20px;
}

.wallet-subpage-topbar .icon-btn-plain {
  width: 34px;
  height: 34px;
  margin-left: -4px;
  font-size: 30px;
  line-height: 1;
}

.wallet-address-book-detail,
.wallet-address-book-form {
  padding-bottom: 112px;
}

.page-telegram-back-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.subpage-section {
  display: grid;
  gap: 12px;
}

.subpage-caption {
  color: #c1cad8;
  font-size: 18px;
  line-height: 1.3;
}

.subpage-help {
  margin: -4px 0 0;
  color: rgba(193, 202, 216, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.preference-list,
.notification-list,
.security-list,
.address-network-list,
.saved-address-list {
  display: grid;
  gap: 10px;
}

.preference-row,
.notification-row,
.security-row,
.address-network-row,
.saved-address-card {
  min-height: 60px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.preference-row,
.notification-row,
.security-row,
.address-network-row {
  width: 100%;
  display: grid;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.preference-row {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0 14px;
}

.preference-copy,
.address-network-copy,
.saved-address-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.preference-title,
.notification-title,
.security-title,
.address-network-title,
.saved-address-title {
  font-size: 16px;
  font-weight: 500;
}

.preference-value,
.notification-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c5ccd7;
  font-size: 15px;
}

.preference-caret,
.security-arrow,
.address-network-arrow {
  color: #8a93a4;
  font-size: 14px;
}

.preference-link-arrow {
  color: #a7b8d0;
  font-size: 16px;
}

.preference-switch {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.preference-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.preference-switch.is-on {
  background: linear-gradient(180deg, #6fd1ff 0%, #4aaeff 100%);
}

.preference-switch.is-on::after {
  transform: translateX(20px);
}

.wallet-inline-banner {
  margin-top: 8px;
}

.notification-row {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  padding: 10px 14px;
}

.notification-icon,
.security-icon,
.token-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}

.notification-icon,
.security-icon {
  width: 42px;
  height: 42px;
  box-shadow: 0 12px 24px rgba(8, 13, 22, 0.14);
  position: relative;
}

.notification-icon-dot {
  width: 18px;
  height: 18px;
  display: block;
  background: rgba(255, 255, 255, 0.96);
  mask: var(--notification-icon) center / contain no-repeat;
  -webkit-mask: var(--notification-icon) center / contain no-repeat;
}

.notification-row[data-notification-key="bot"] .notification-icon-dot {
  --notification-icon: url("/static/icons/heroicons/bell.svg");
}

.notification-row[data-notification-key="admin"] .notification-icon-dot {
  --notification-icon: url("/static/icons/heroicons/shield-check.svg");
}

.notification-row[data-notification-key="p2p"] .notification-icon-dot {
  --notification-icon: url("/static/icons/heroicons/building-storefront.svg");
}

.notification-row[data-notification-key="chat"] .notification-icon-dot {
  --notification-icon: url("/static/icons/heroicons/chat-bubble-left-right.svg");
}

.notification-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.security-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.notification-subtitle,
.security-subtitle,
.address-network-subtitle,
.saved-address-meta {
  color: #9ca6b5;
  font-size: 14px;
  line-height: 1.35;
}

.notification-icon[data-accent="blue"],
.security-icon[data-accent="blue"] {
  background: linear-gradient(180deg, #79cfff 0%, #4aaeff 100%);
}

.notification-icon[data-accent="sky"] {
  background: linear-gradient(180deg, #7be3ff 0%, #58c1ff 100%);
}

.notification-icon[data-accent="cyan"] {
  background: linear-gradient(180deg, #6fefff 0%, #52b7ff 100%);
}

.notification-icon[data-accent="teal"] {
  background: linear-gradient(180deg, #6ef0d8 0%, #41c9c8 100%);
}

.notification-icon[data-accent="amber"] {
  background: linear-gradient(180deg, #ffd564 0%, #f5ae37 100%);
}

.notification-icon[data-accent="indigo"] {
  background: linear-gradient(180deg, #95b3ff 0%, #6784ff 100%);
}

.notification-icon[data-accent="violet"] {
  background: linear-gradient(180deg, #d388ff 0%, #9c61ff 100%);
}

.security-list {
  margin-top: 2px;
}

.security-row {
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  padding: 12px 14px;
}

.security-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: rgba(255, 255, 255, 0.96);
  mask: var(--security-icon) center / contain no-repeat;
  -webkit-mask: var(--security-icon) center / contain no-repeat;
}

.security-row[data-security-action="pin"] .security-icon {
  --security-icon: url("/static/icons/heroicons/lock-closed.svg");
}

.security-row[data-security-action="sessions"] .security-icon {
  --security-icon: url("/static/icons/heroicons/power.svg");
}

.security-icon[data-accent="red"] {
  background: linear-gradient(180deg, #ff7f81 0%, #ff5f67 100%);
}

.security-row.is-danger .security-title {
  color: #ff5f67;
}

.security-value {
  color: #c6d0de;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.security-value.is-danger {
  color: #ff878f;
}

.security-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.security-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 7, 14, 0.68);
}

.security-modal {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(26, 36, 51, 0.98);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 12px;
}

.security-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.security-modal-title {
  font-size: 18px;
  font-weight: 700;
}

.security-modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.08);
}

.security-modal-hint {
  color: #9ca6b5;
  font-size: 14px;
  line-height: 1.4;
}

.security-form {
  display: grid;
  gap: 12px;
}

.security-field {
  display: grid;
  gap: 7px;
}

.security-field-label {
  color: #d9e3f0;
  font-size: 14px;
}

.security-field-input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f8fc;
  padding: 0 14px;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.security-field-input::placeholder {
  color: #7f899a;
  letter-spacing: normal;
}

.security-modal-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.security-modal-btn {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
}

.security-modal-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e7eef8;
}

.security-modal-btn-primary {
  background: linear-gradient(90deg, #7c4dff 0%, #d254ff 100%);
  color: #fff;
}

.security-modal-btn-danger {
  background: rgba(255, 95, 103, 0.14);
  color: #ff7b82;
}

.wallet-verification-screen {
  display: grid;
  gap: 18px;
  padding-bottom: 128px;
}

.wallet-account-setup-screen {
  display: grid;
  gap: 18px;
  padding-bottom: 26px;
}

.account-setup-hero {
  padding: 6px 8px 4px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.account-setup-avatar-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.account-setup-progress-shell {
  position: relative;
  width: 120px;
  height: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-setup-progress-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.account-setup-progress-track,
.account-setup-progress-value {
  fill: none;
  stroke-width: 5;
}

.account-setup-progress-track {
  stroke: rgba(255, 255, 255, 0.12);
}

.account-setup-progress-value {
  stroke: #57b2ff;
  stroke-linecap: round;
  stroke-dasharray: 301.6;
  stroke-dashoffset: calc(301.6 - (301.6 * var(--setup-progress, 0) / 100));
}

.account-setup-avatar {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 4px rgba(16, 22, 31, 0.88),
    0 12px 24px rgba(7, 13, 22, 0.16);
}

.account-setup-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-setup-avatar-fallback {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.account-setup-progress-pill {
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #6bc4ff 0%, #449ef6 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(61, 157, 240, 0.18);
}

.account-setup-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.account-setup-remaining {
  color: #66b8ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.account-setup-caption {
  max-width: 280px;
  margin: 0;
  color: #9faabd;
  font-size: 16px;
  line-height: 1.4;
}

.account-setup-list {
  display: grid;
  gap: 10px;
}

.account-setup-row {
  min-height: 70px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-setup-row:last-child {
  border-bottom: none;
}

.account-setup-row-icon,
.account-setup-row-status {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.account-setup-row-icon .tool-glyph-mask,
.account-setup-row-status .tool-glyph-mask {
  width: 20px;
  height: 20px;
}

.account-setup-row-icon.is-teal {
  background: linear-gradient(180deg, #62e6dd 0%, #31c9c7 100%);
}

.account-setup-row-icon.is-blue {
  background: linear-gradient(180deg, #7bd1ff 0%, #4ba4f7 100%);
}

.account-setup-row-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-setup-row-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.account-setup-row-subtitle {
  color: #97a4b7;
  font-size: 14px;
  line-height: 1.35;
}

.account-setup-row-status {
  background: rgba(88, 206, 108, 0.18);
  color: #66e17f;
}

.account-setup-row-arrow {
  color: #b7c4d7;
  font-size: 20px;
}

.verification-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 4px 12px 0;
  text-align: center;
}

.verification-hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 23px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #6fd1ff 0%, #4aaeff 100%);
  box-shadow: 0 18px 36px rgba(56, 141, 219, 0.22);
}

.verification-hero-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.verification-hero-mark .tool-glyph-mask {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
}

.verification-hero-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.verification-hero-text {
  max-width: 320px;
  color: #bdc8d7;
  font-size: 14px;
  line-height: 1.4;
}

.verification-status-list {
  display: grid;
  gap: 10px;
}

.verification-status-card {
  min-height: 72px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
}

.verification-status-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(8, 13, 22, 0.14);
}

.verification-status-icon .tool-glyph-mask {
  width: 19px;
  height: 19px;
  background: rgba(255, 255, 255, 0.96);
}

.verification-status-icon.is-telegram {
  background: linear-gradient(180deg, #67cbff 0%, #48a5ff 100%);
}

.verification-status-icon.is-wallet {
  background: linear-gradient(180deg, #5ee4c9 0%, #2fb699 100%);
}

.verification-status-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.verification-status-title {
  font-size: 16px;
  font-weight: 600;
}

.verification-status-text {
  color: #dde6f3;
  font-size: 14px;
  line-height: 1.35;
}

.verification-status-note {
  color: #9ca6b5;
  font-size: 13px;
  line-height: 1.35;
}

.verification-details-shell {
  gap: 10px;
}

.verification-address-value {
  word-break: break-all;
}

.verification-actions {
  display: grid;
  gap: 10px;
}

.wallet-support-screen {
  display: grid;
  gap: 18px;
  padding-bottom: 128px;
}

.support-warning-card {
  display: grid;
  gap: 6px;
}

.support-warning-title {
  font-size: 15px;
  font-weight: 700;
}

.support-warning-text {
  font-size: 14px;
  line-height: 1.45;
}

.support-topics-shell,
.support-meta-shell {
  display: grid;
  gap: 10px;
}

.support-topic-list {
  display: grid;
  gap: 10px;
}

.support-topic-row {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.35;
  color: #edf3ff;
}

.support-topic-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(87, 170, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-topic-icon .tool-glyph-mask {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.95);
}

.address-network-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 12px 14px;
}

.address-network-row.is-disabled {
  opacity: 0.58;
  pointer-events: none;
}

.wallet-requisites-screen .address-network-row {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 16px;
}

.token-badge {
  width: 42px;
  height: 42px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.wallet-requisites-screen .token-badge {
  width: 42px;
  height: 42px;
  font-size: 11px;
  letter-spacing: -0.05em;
  box-shadow: 0 10px 22px rgba(8, 13, 22, 0.16);
}

.wallet-requisites-screen .address-network-title {
  line-height: 1.18;
}

.wallet-requisites-screen .address-network-subtitle {
  line-height: 1.25;
}

.token-badge[data-accent="sky"] { background: #4db8ff; }
.token-badge[data-accent="red"] { background: #ff3d43; }
.token-badge[data-accent="violet"] { background: #915bff; }
.token-badge[data-accent="indigo"] { background: #647dff; }
.token-badge[data-accent="amber"] { background: #f3ba2f; color: #1d1d1d; }
.token-badge[data-accent="orange"] { background: #f7931a; }
.token-badge[data-accent="gold"] { background: #ccb24e; color: #1d1d1d; }
.token-badge[data-accent="slate"] { background: #71839d; }
.token-badge[data-accent="cyan"] { background: #42d4ff; color: #081017; }

.subpage-empty-state {
  min-height: 56vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.subpage-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.subpage-empty-icon span {
  width: 30px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.subpage-empty-icon span::before,
.subpage-empty-icon span::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.subpage-empty-icon span::before { top: 10px; }
.subpage-empty-icon span::after { top: 18px; }

.subpage-empty-state p {
  margin: 0;
  color: #f0f3f8;
  font-size: 18px;
}

.sticky-page-action {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(424px, calc(100vw - 32px));
}

.primary-bottom-button {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #6fc8ff 0%, #4aaeff 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(42, 114, 198, 0.26);
}

.primary-bottom-button:disabled,
.primary-bottom-button.is-disabled {
  background: rgba(108, 106, 103, 0.56);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.saved-address-card {
  padding: 14px;
  display: grid;
  gap: 6px;
  overflow: hidden;
}

.saved-address-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.saved-address-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-address-short {
  min-width: 0;
  max-width: 48%;
  color: #d8e0ec;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-address-meta {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.address-form {
  display: grid;
  gap: 18px;
}

.address-form-field {
  display: grid;
  gap: 8px;
}

.address-form-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.address-input-shell {
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.address-textarea-shell {
  align-items: stretch;
  padding: 12px 14px;
}

.address-input-shell.is-error {
  border-color: rgba(255, 94, 110, 0.88);
}

.address-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.address-input::placeholder {
  color: #8e97a4;
}

.address-textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.45;
}

.address-input-action {
  width: 24px;
  height: 24px;
  color: #67c4ff;
}

.address-input-action svg {
  width: 24px;
  height: 24px;
  display: block;
}

.address-error {
  color: #ff6d7f;
  font-size: 14px;
}

.wallpaper-screen {
  padding-bottom: 40px;
}

.wallpaper-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 0 12px;
  text-align: center;
}

.wallpaper-hero-icon {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #70c9ff 0%, #4aaeff 100%);
  color: #fff;
  box-shadow: 0 26px 46px rgba(33, 116, 202, 0.24);
}

.wallpaper-hero-icon svg {
  width: 54px;
  height: 54px;
  display: block;
}

.wallpaper-hero-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.wallpaper-hero-text {
  max-width: 320px;
  margin: 0;
  color: #b6becb;
  font-size: 14px;
  line-height: 1.45;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
}

.wallpaper-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.wallpaper-card-art {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 154px;
  padding: 12px;
  border-radius: 18px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  background-color: #2a3646;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.18);
}

.wallpaper-card.is-selected .wallpaper-card-art {
  box-shadow:
    inset 0 0 0 2px rgba(91, 198, 255, 0.92),
    0 22px 42px rgba(0, 0, 0, 0.24);
}

.wallpaper-swatch-group {
  display: inline-flex;
  align-items: center;
}

.wallpaper-swatch {
  width: 16px;
  height: 16px;
  margin-left: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
}

.wallpaper-swatch:first-child {
  margin-left: 0;
}

.wallpaper-ribbon {
  position: absolute;
  top: 10px;
  right: 0;
  min-width: 90px;
  padding: 5px 0;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #79ebd7 0%, #42d0b5 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.wallpaper-card-selected {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(13, 21, 33, 0.64);
  color: #8dd7ff;
  font-size: 12px;
  font-weight: 700;
  display: none;
  align-items: center;
}

.wallpaper-card.is-selected .wallpaper-card-selected {
  display: inline-flex;
}

.wallpaper-card-title {
  min-width: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.wallpaper-card-action {
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  background: rgba(245, 245, 245, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  backdrop-filter: blur(6px);
}

.wallpaper-card-action.is-free {
  background: rgba(255, 255, 255, 0.24);
}

.wallet-fees-screen {
  gap: 14px;
}

.fees-hero,
.fees-token-hero {
  padding: 4px 8px 0;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.fees-hero-icon,
.fees-token-mark {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #7cd7ff 0%, #4db8ff 48%, #248ef3 100%);
  box-shadow: 0 18px 32px rgba(26, 111, 194, 0.22);
}

.fees-hero-percent {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.fees-token-mark {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.fees-token-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fees-token-mark span {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}

.fees-hero-title,
.fees-token-title {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.12;
}

.fees-hero-text,
.fees-token-text {
  max-width: 360px;
  margin: 0;
  color: #adb9cb;
  font-size: 14px;
  line-height: 1.45;
}

.fees-asset-list {
  display: grid;
  gap: 10px;
}

.fees-asset-row {
  padding: 12px 14px;
}

.fees-asset-row .token-badge {
  font-size: 10px;
  letter-spacing: -0.07em;
}

.fees-table {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.fees-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.fees-table-row + .fees-table-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fees-table-key,
.fees-table-value {
  min-height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
}

.fees-table-key {
  color: #93a3b7;
  font-size: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.fees-table-value {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.exchange-screen {
  padding-top: 20px;
  padding-bottom: 132px;
}

.exchange-panel {
  display: grid;
  gap: 0;
}

.exchange-side-card {
  padding: 0 0 14px;
}

.exchange-side-head,
.exchange-side-meta,
.exchange-quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.exchange-side-label {
  color: #aebacb;
  font-size: 13px;
}

.exchange-side-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.exchange-inline-balance {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 700;
}

.exchange-inline-action {
  color: #67c7ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.exchange-side-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  min-height: 58px;
  width: 100%;
  min-width: 0;
}

.exchange-asset-trigger {
  min-width: 0;
  max-width: 48%;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 0;
}

.exchange-asset-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  box-shadow: none;
}

.exchange-asset-mark .asset-mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exchange-asset-code {
  font-size: 19px;
  line-height: 1;
}

.exchange-asset-caret {
  color: #8c9aad;
  font-size: 16px;
  line-height: 1;
}

.exchange-amount-input {
  min-width: 0;
  width: 0;
  max-width: 52%;
  flex: 1 1 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.26);
  text-align: right;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  padding: 0;
}

.exchange-amount-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.exchange-amount-input.is-readonly {
  pointer-events: none;
}

.exchange-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px 0 14px;
}

.exchange-divider-line {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.exchange-swap-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(97, 175, 255, 0.2), rgba(59, 124, 223, 0.14));
  color: #71c7ff;
  border: 1px solid rgba(111, 200, 255, 0.16);
  box-shadow: none;
}

.exchange-swap-btn .tool-glyph-mask {
  width: 15px;
  height: 15px;
}

.exchange-quote-card {
  display: none;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.exchange-quote-card.is-visible {
  display: grid;
}

.exchange-quote-row span {
  color: #9ba8ba;
  font-size: 14px;
}

.exchange-quote-row strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.exchange-action-shell {
  margin-top: 20px;
}

.exchange-action-shell .primary-bottom-button {
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(180deg, #5cc3ff 0%, #48aaf0 100%);
  box-shadow: none;
  font-size: 15px;
}

.exchange-action-shell .primary-bottom-button.is-disabled,
.exchange-action-shell .primary-bottom-button:disabled {
  background: linear-gradient(180deg, rgba(92, 195, 255, 0.7) 0%, rgba(72, 170, 240, 0.7) 100%);
  color: rgba(255, 255, 255, 0.88);
  opacity: 0.72;
}

.exchange-assets-screen {
  padding-top: 16px;
  padding-bottom: 44px;
}

.exchange-assets-section {
  display: grid;
  gap: 14px;
}

.exchange-assets-caption {
  margin-bottom: 0;
  color: #aebacb;
}

.exchange-search-shell {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}

.exchange-search-icon {
  color: #97a4b8;
  display: inline-flex;
}

.exchange-search-icon .tool-glyph-mask {
  width: 20px;
  height: 20px;
}

.exchange-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.exchange-assets-list {
  display: grid;
  margin-top: 2px;
}

.exchange-assets-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
}

.exchange-assets-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.exchange-assets-mark .asset-mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exchange-assets-copy,
.exchange-assets-balance {
  display: grid;
  gap: 2px;
}

.exchange-assets-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.exchange-assets-code,
.exchange-assets-balance-main {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.exchange-assets-name,
.exchange-assets-balance-sub {
  color: #95a4b7;
  font-size: 13px;
}

.exchange-assets-balance {
  flex: 0 0 auto;
  text-align: right;
}

@media (max-width: 480px) {
  .screen {
    padding-left: 16px;
    padding-right: 16px;
  }

  .deposit-address-card,
  .deposit-confirm-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .balance-value {
    font-size: 30px;
  }

  .wallpaper-grid {
    gap: 12px;
  }

  .wallpaper-card-art {
    min-height: 142px;
  }

  .exchange-amount-input {
    font-size: 32px;
  }

  .exchange-asset-trigger {
    font-size: 18px;
  }
}

@media (min-width: 640px) {
  .wallet-deposit-layout {
    grid-template-columns: 168px minmax(0, 1fr);
    align-items: center;
  }
}
