:root {
  --device-width: 402px;
  --device-height: 874px;
  --font-ios-text: "SF Pro Text", "SF Pro", "SFProText-Regular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-ios-display: "SF Pro Display", "SF Pro Text", "SF Pro", "SFProDisplay-Regular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-ios: var(--font-ios-text);
  --bg-page: #0b1333;
  --txt: #f4f5f7;
  --muted: rgba(216, 218, 224, 0.7);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-soft: rgba(255, 255, 255, 0.04);
  --outline: rgba(255, 255, 255, 0.1);
}

@font-face {
  font-family: "SF Pro Text";
  src:
    local("SF Pro Text"),
    local("SF Pro Text Regular"),
    local("SFProText-Regular");
  font-style: normal;
  font-weight: 400 700;
}

@font-face {
  font-family: "SF Pro Display";
  src:
    local("SF Pro Display"),
    local("SF Pro Display Regular"),
    local("SFProDisplay-Regular");
  font-style: normal;
  font-weight: 400 800;
}

* {
  box-sizing: border-box;
  font-synthesis: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ios);
  color: var(--txt);
  background:
    radial-gradient(120% 120% at 15% 0%, #1a2f6f 0%, rgba(26, 47, 111, 0) 60%),
    radial-gradient(120% 120% at 85% 100%, #112452 0%, rgba(17, 36, 82, 0) 62%),
    linear-gradient(180deg, #0f1c46 0%, #0a1434 50%, #081029 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overscroll-behavior-y: none;
}

body.transfer-contact-lock,
html.transfer-contact-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

body.focus-mode {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.app-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 6px;
}

.focus-toggle {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 18, 24, 0.7);
  color: rgba(240, 244, 252, 0.92);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.24);
  z-index: 120;
}

.admin-trigger {
  position: fixed;
  right: 6px;
  bottom: calc(4px + env(safe-area-inset-bottom));
  width: 68px;
  height: 58px;
  border: none;
  background: transparent;
  opacity: 0;
  z-index: 121;
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.56);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-panel {
  position: absolute;
  right: 16px;
  top: 16px;
  bottom: 16px;
  width: min(430px, calc(100vw - 32px));
  padding: 18px;
  overflow: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.96), rgba(10, 12, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 80px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translate3d(24px, 0, 0) scale(0.985);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.2, 0.88, 0.22, 1);
  scrollbar-width: none;
}

.admin-overlay.is-open .admin-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.admin-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.admin-header,
.admin-card-head,
.admin-actions,
.admin-balance-row {
  display: flex;
  align-items: center;
}

.admin-header {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  position: sticky;
  top: -18px;
  z-index: 3;
  padding: 6px 0 14px;
  background: linear-gradient(180deg, rgba(14, 17, 23, 0.98), rgba(14, 17, 23, 0.82) 76%, rgba(14, 17, 23, 0));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-kicker,
.admin-card-head p,
.admin-contact-item small {
  margin: 0;
  color: rgba(170, 177, 191, 0.74);
}

.admin-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-header h2,
.admin-card-head h3 {
  margin: 0;
  color: rgba(246, 249, 252, 0.98);
}

.admin-header h2 { font-size: 24px; }

.admin-intro {
  margin: 6px 0 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(189, 196, 208, 0.76);
}

.admin-card {
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(120% 110% at 0% 0%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, rgba(16, 20, 27, 0.92), rgba(10, 13, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 16px 36px rgba(0, 0, 0, 0.22);
}

.admin-card + .admin-card { margin-top: 14px; }

.admin-card-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.admin-card-head h3 { font-size: 17px; }

.admin-card-head p {
  font-size: 12px;
  max-width: 220px;
  text-align: left;
}

.admin-grid,
.admin-contact-form {
  display: grid;
  gap: 10px;
}

.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.admin-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-media-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-upload {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 6px;
  position: relative;
}

.admin-upload span {
  font-size: 12px;
  color: rgba(192, 198, 209, 0.82);
}

.admin-upload .admin-upload-cta {
  min-height: 48px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 56%),
    rgba(8, 10, 14, 0.82);
  color: rgba(247, 249, 252, 0.94);
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-upload input[type="file"] {
  position: absolute;
  inset: 22px 0 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.admin-upload input[type="file"]::file-selector-button {
  opacity: 0;
}

.admin-photo-preview {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 58%),
    rgba(11, 13, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
}

.admin-photo-preview span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(180, 186, 198, 0.72);
}

.admin-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-avatar-custom,
.transfer-avatar-custom,
.contact-transfer-avatar-head.contact-avatar-custom,
.verify-contact-avatar.contact-avatar-custom {
  overflow: visible;
  background: rgba(12, 14, 18, 0.92);
  color: transparent;
}

.avatar-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 1;
}

.search-avatar-custom .avatar-photo-img,
.transfer-avatar-custom .avatar-photo-img,
.contact-transfer-avatar-head.contact-avatar-custom .avatar-photo-img,
.verify-contact-avatar.contact-avatar-custom .avatar-photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: static;
  padding: 2px;
  border-radius: inherit;
  background: rgba(10, 12, 16, 0.94);
}

.search-avatar-custom .search-badge,
.transfer-avatar-custom .transfer-badge,
.contact-transfer-avatar-head.contact-avatar-custom .contact-transfer-avatar-badge {
  z-index: 2;
}

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

.admin-field span {
  font-size: 12px;
  color: rgba(192, 198, 209, 0.82);
}

.admin-field input,
.admin-field select {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 10, 14, 0.82);
  color: rgba(247, 249, 252, 0.96);
  padding: 0 14px;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-primary,
.admin-secondary,
.admin-close {
  border: none;
  border-radius: 14px;
  font-weight: 600;
}

.admin-primary,
.admin-secondary {
  height: 46px;
  padding: 0 18px;
}

.admin-primary {
  background: rgba(236, 230, 236, 0.96);
  color: rgba(29, 31, 39, 0.96);
}

.admin-secondary {
  background: rgba(34, 38, 48, 0.96);
  color: rgba(241, 244, 248, 0.94);
}

.admin-close {
  width: 40px;
  height: 40px;
  background: rgba(28, 32, 40, 0.94);
  color: rgba(243, 246, 250, 0.96);
  font-size: 24px;
}

.admin-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.admin-contact-list {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.admin-contact-item {
  padding: 12px;
  border-radius: 18px;
  background: rgba(10, 12, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(246, 249, 252, 0.96);
  text-align: left;
}

.admin-contact-item.is-active {
  outline: 1px solid rgba(231, 235, 242, 0.34);
  background: rgba(18, 22, 31, 0.96);
}

.admin-contact-item strong,
.admin-contact-item small {
  display: block;
}

.admin-actions {
  gap: 8px;
}

.admin-field-grow {
  flex: 1 1 auto;
}

.admin-balance-row {
  gap: 10px;
  align-items: end;
}

.admin-range {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 34px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.admin-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(234, 238, 246, 0.26), rgba(140, 147, 161, 0.18));
}

.admin-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: rgba(244, 246, 250, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.24);
}

.admin-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(234, 238, 246, 0.26), rgba(140, 147, 161, 0.18));
}

.admin-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 246, 250, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.24);
}

@media (max-width: 768px) {
  .admin-trigger {
    right: 2px;
    bottom: calc(2px + env(safe-area-inset-bottom));
    width: 72px;
    height: 62px;
  }

  .admin-panel {
    inset: 0;
    width: auto;
    padding: calc(12px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));
    border-radius: 0;
    border: none;
    box-shadow: none;
    background:
      radial-gradient(120% 80% at 50% -10%, rgba(115, 126, 160, 0.12), rgba(0, 0, 0, 0) 52%),
      linear-gradient(180deg, rgba(12, 14, 19, 0.98), rgba(5, 6, 10, 0.995));
  }

  .admin-header {
    top: calc(-12px - env(safe-area-inset-top));
    margin-bottom: 14px;
    padding: calc(8px + env(safe-area-inset-top)) 2px 14px;
  }

  .admin-header h2 {
    font-size: 28px;
    letter-spacing: -0.03em;
  }

  .admin-intro {
    max-width: none;
    font-size: 13px;
  }

  .admin-card {
    padding: 15px;
    border-radius: 22px;
  }

  .admin-grid,
  .admin-contact-layout,
  .admin-balance-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-media-row {
    align-items: stretch;
  }

  .admin-photo-preview {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .admin-balance-row {
    gap: 12px;
  }

  .admin-card-head p {
    max-width: none;
  }

  .admin-primary,
  .admin-secondary {
    width: 100%;
    height: 48px;
  }

  .admin-close {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .admin-contact-list {
    max-height: 220px;
    order: 2;
  }

  .admin-contact-form {
    order: 1;
  }
}

body.focus-mode .app-shell { padding: 0; }
body.focus-mode .compare { max-width: none; grid-template-columns: 1fr; }
body.focus-mode .reference { display: none; }
body.focus-mode .focus-toggle { display: none; }
body.focus-mode .app {
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}
body.focus-mode { background: #000; }
body.focus-mode .compare { height: 100vh; }

.compare {
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  justify-items: center;
}

.app-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app {
  width: min(var(--device-width), 100%);
  height: var(--device-height);
  max-height: calc(100vh - 12px);
  border-radius: 38px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #040506 0%, #050607 55%, #060608 100%);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
  overscroll-behavior: none;
}

body.transfer-contact-lock .app,
body.transfer-contact-lock .compare,
body.transfer-contact-lock .app-shell,
body.transfer-contact-lock .app-column {
  overflow: hidden;
}

.app-content {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: calc(62px + env(safe-area-inset-top)) 0 calc(122px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.app-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.app::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}

.top-bar,
.balance,
.quick-actions,
.glass-card,
.cards-panel,
.bottom-nav {
  position: relative;
  z-index: 1;
}

.view[hidden] {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.top-bar {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 15px;
  padding-top: 0;
  display: grid;
  grid-template-columns: auto max-content auto auto;
  gap: 9px;
  align-items: center;
  top: calc(4px + env(safe-area-inset-top));
  z-index: 7;
  transition:
    grid-template-columns 360ms cubic-bezier(0.22, 1, 0.36, 1),
    gap 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app[data-view="virements"] .top-bar {
  grid-template-columns: auto max-content auto auto;
  gap: 9px;
  top: calc(4px + env(safe-area-inset-top));
  margin: 0 15px;
}

.app[data-view="virements"] .search {
  width: 182px;
  flex: 0 0 182px;
  justify-self: start;
  height: 44px;
  border-radius: 22px;
  padding: 0 13px;
  margin-left: 0;
  background: linear-gradient(180deg, rgba(31, 33, 37, 0.76), rgba(19, 21, 24, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(104%);
  -webkit-backdrop-filter: blur(20px) saturate(104%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -10px 16px rgba(8, 10, 14, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.18);
}

.app[data-view="virements"] .search svg {
  width: 26px;
  height: 26px;
  color: rgba(248, 249, 252, 0.9);
}

.app[data-view="virements"] .search span {
  font-size: 15px;
  font-weight: 500;
  color: rgba(237, 240, 246, 0.9);
}

.app[data-view="virements"] .top-bar::before {
  display: block;
}

.app[data-view="virements"] .avatar-wrap {
  width: 42px;
  height: 42px;
  margin-right: 6px;
}

.app[data-view="virements"] .avatar {
  width: 42px;
  height: 42px;
  background-image: url("assets/photo.png"), url("assets/photo.jpg");
  filter: none;
}

.app[data-view="virements"] .avatar-dot {
  width: 5px;
  height: 5px;
  top: -3px;
  right: -3px;
}

.app[data-view="virements"] .top-action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(32, 34, 38, 0.82), rgba(18, 20, 24, 0.86));
  backdrop-filter: blur(20px) saturate(104%);
  -webkit-backdrop-filter: blur(20px) saturate(104%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -10px 16px rgba(8, 10, 14, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.18);
}

.app[data-view="virements"] .top-action + .top-action {
  margin-left: -2px;
}

.top-bar::before {
  content: none;
}

.avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  margin-right: 6px;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease,
    filter 320ms ease;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background-image: url("assets/photo.png"), url("assets/photo.jpg");
  background-size: cover, cover;
  background-position: center, center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
  transition: box-shadow 300ms ease, filter 300ms ease;
}

.avatar-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f35e52;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
  transition: opacity 240ms ease;
}

.search {
  width: 182px;
  flex: 0 0 182px;
  justify-self: start;
  height: 44px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 33, 37, 0.76), rgba(19, 21, 24, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(104%);
  -webkit-backdrop-filter: blur(20px) saturate(104%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -10px 16px rgba(8, 10, 14, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.18);
  transition:
    width 360ms cubic-bezier(0.22, 1, 0.36, 1),
    flex-basis 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 280ms ease;
}

.search svg {
  width: 26px;
  height: 26px;
  color: rgba(248, 249, 252, 0.9);
}

.search span {
  color: rgba(237, 240, 246, 0.9);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-ios-text);
}

.search span,
.subtitle,
.balance-btn,
.quick-item p,
.card-title,
.cards-head,
.mini-card-title,
.mini-card-subtitle,
.tx-title,
.tx-sub,
.tx-amount,
.show-all-btn,
.nav-item span,
.ref-label {
  font-family: var(--font-ios-text);
  letter-spacing: 0;
}

.top-action {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(32, 34, 38, 0.82), rgba(18, 20, 24, 0.86));
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(104%);
  -webkit-backdrop-filter: blur(20px) saturate(104%);
  color: rgba(245, 247, 252, 0.95);
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -10px 16px rgba(8, 10, 14, 0.2),
    0 6px 12px rgba(0, 0, 0, 0.18);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease;
}

.top-action + .top-action {
  margin-left: -2px;
  transition: margin-left 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app.search-opening .top-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.985);
  transition: opacity 70ms ease-out, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.top-action svg { width: 22px; height: 22px; }

.top-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  opacity: 1;
  filter: none;
}

.top-icon-stats {
  width: 36px;
  height: 36px;
  transform: scale(1.20);
  transform-origin: center;
}

.top-icon-virements-calendar {
  width: 24px;
  height: 24px;
  transform: scale(1.50);
  transform-origin: center;
}

.top-icon-virements-plus {
  width: 26px;
  height: 26px;
  transform: scale(2);
  transform-origin: center;
}

.top-svg {
  width: 22px;
  height: 22px;
  color: rgba(245, 247, 252, 0.96);
}

.app[data-view="home"] .icon-virements {
  display: none;
}

.app[data-view="virements"] .icon-home {
  display: none;
}

.balance {
  margin-top: 52px;
  text-align: center;
}

.subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: rgba(222, 225, 232, 0.82);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.amount {
  margin: 0 0 14px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}

.amount-main {
  font-size: 49px;
  font-family: var(--font-ios-display);
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 0.94;
  color: rgba(245, 245, 245, 0.98);
  display: inline-block;
  transform: scaleX(0.96) scaleY(1);
  transform-origin: center bottom;
}

.amount-decimal {
  font-size: 23px;
  font-family: var(--font-ios-display);
  font-weight: 700;
  color: rgba(244, 246, 250, 0.95);
  margin-bottom: 4px;
  display: inline-block;
  transform: scaleX(0.96) scaleY(1);
  transform-origin: left bottom;
}

.amount-currency {
  font-size: 21px;
  font-family: var(--font-ios-display);
  font-weight: 700;
  opacity: 0.95;
  display: inline-block;
  margin: 0 0 4px 0;
  transform: scaleX(0.96) scaleY(1);
  transform-origin: left bottom;
}

.balance-btn {
  border: none;
  border-radius: 19px;
  height: 36px;
  width: auto;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: rgba(241, 243, 247, 0.96);
  background: #585858;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-ios-text);
  transform: translateY(-1px);
}

.dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 4px;
  transform: translateY(24px);
}

.dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(226, 229, 236, 0.62);
}

.dots .active {
  width: 6px;
  height: 6px;
  background: rgba(245, 247, 250, 0.98);
}

.home-scroll {
  will-change: transform;
  transform: translate3d(0, 34px, 0);
}

.quick-actions {
  margin: 28px 16px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.quick-item { text-align: center; }

.quick-circle {
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  background: #585858;
  border: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.quick-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
  transform: scale(1.18);
  transform-origin: center;
}

.quick-icon-ajouter {
  width: 100%;
  height: 100%;
  transform: scale(1.12);
}

.quick-icon-deplacer {
  transform: scale(0.80);
}

.quick-icon-informations {
  transform: translateY(2px) scale(1.60);
  transform-origin: center center;
  object-position: center center;
}

.quick-icon-plus {
  transform: translateY(2px) scale(1.60);
  transform-origin: center center;
  object-position: center center;
}

.quick-item p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.08;
  font-weight: 500;
  color: rgba(233, 236, 241, 0.9);
}

.glass-card {
  margin: 18px 16px 0;
  min-height: 0;
  border-radius: 23px;
  padding: 14px;
  background: #191919;
  border: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(84, 89, 99, 0.55);
  border: 1px solid rgba(146, 151, 161, 0.25);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-icon svg {
  width: 18px;
  height: 18px;
  color: rgba(247, 249, 255, 0.96);
}

.card-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 500;
  color: rgba(231, 234, 241, 0.92);
}

.empty-state .card-title {
  font-size: 17px;
  font-weight: 500;
  color: rgba(232, 235, 243, 0.9);
}

.empty-state {
  margin-top: 26px;
}

.cards-panel {
  margin: 21px 16px 0;
  min-height: 170px;
  padding: 10px 10px 2px;
  border-radius: 22px;
  background: #191919;
  border: none;
  backdrop-filter: blur(10px);
  overflow: visible;
}

.cards-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: rgba(191, 197, 212, 0.84);
  font-size: 12.2px;
  font-weight: 500;
}

.cards-arrow {
  font-size: 17px;
  vertical-align: -1px;
  margin-left: 4px;
  opacity: 1;
  color: rgba(238, 242, 250, 0.95);
}

.cards-track {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  padding-bottom: 0;
}

.cards-track::-webkit-scrollbar { display: none; }

.mini-card-wrap {
  width: 90px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-card {
  width: 90px;
  height: 58px;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 7px 13px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}

.mini-card.dark {
  background: transparent url("assets/ephemere-crop.png") center/94% 94% no-repeat;
  box-shadow: none;
  filter: none;
}

.mini-card.blue {
  background: transparent url("assets/magenta-crop.png") center/94% 94% no-repeat;
  box-shadow: none;
  filter: none;
}
.mini-card.add {
  width: 90px;
  height: 58px;
  border-radius: 7px;
  background: linear-gradient(180deg, #565b67, #474c57);
  display: grid;
  place-items: center;
}

.mini-card.add span {
  font-size: 34px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.84);
}

.mini-card-meta {
  margin-top: 7px;
  text-align: center;
}

.mini-card-title,
.mini-card-subtitle {
  margin: 0;
  line-height: 1.08;
}

.mini-card-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: rgba(237, 241, 253, 0.91);
}

.mini-card-subtitle {
  margin-top: 1px;
  font-size: 11.2px;
  font-weight: 500;
  color: rgba(196, 202, 215, 0.82);
}

.alert {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d55b66;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}

.mini-r {
  position: absolute;
  right: 6px;
  top: 5px;
  font-size: 17px;
  color: rgba(181, 187, 230, 0.48);
  font-weight: 700;
}

.bottom-nav {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: clamp(8px, calc(4px + env(safe-area-inset-bottom) * 0.28), 18px);
  margin: 0;
  border-radius: 28px;
  padding: 5px 6px 6px;
  background: rgba(26, 28, 32, 0.72);
  border: 1px solid rgba(148, 156, 171, 0.06);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  isolation: isolate;
  z-index: 40;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.bottom-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0) 44%);
  z-index: 0;
}

.bottom-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 84% at 50% 116%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.05), rgba(7, 9, 12, 0.02));
  z-index: 0;
}

.nav-item {
  position: relative;
  min-height: 46px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  grid-template-rows: 20px 13px;
  justify-items: center;
  align-content: center;
  row-gap: 2px;
  text-align: center;
  color: rgba(225, 230, 240, 0.78);
  font-size: 10px;
  font-weight: 500;
  z-index: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.view-virements {
  padding: 10px 16px 0;
}

.view-search {
  padding-top: 2px;
  padding-bottom: calc(214px + env(safe-area-inset-bottom));
  scroll-padding-bottom: calc(214px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  min-height: 100%;
  background:
    radial-gradient(120% 90% at 18% 78%, rgba(84, 152, 82, 0.16), rgba(84, 152, 82, 0) 40%),
    radial-gradient(110% 88% at 84% 20%, rgba(144, 130, 92, 0.11), rgba(144, 130, 92, 0) 38%),
    linear-gradient(180deg, rgba(18, 21, 27, 0.62), rgba(14, 17, 22, 0.76));
}


.virement-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 95;
  pointer-events: none;
}

.virement-overlay[hidden] {
  display: none;
}

.virement-overlay.is-open {
  pointer-events: auto;
}

.virement-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.02);
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.virement-overlay.is-open .virement-backdrop {
  opacity: 1;
}

.virement-sheet {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: rgba(18, 20, 26, 0.44);
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  transform: translate3d(0, -4px, 0) scale(0.992);
  transform-origin: top left;
  opacity: 0.94;
  clip-path: inset(var(--search-origin-top, 18px) var(--search-origin-right, 18px) var(--search-origin-bottom, calc(100% - 64px)) var(--search-origin-left, 18px) round var(--search-origin-radius, 22px));
  -webkit-clip-path: inset(var(--search-origin-top, 18px) var(--search-origin-right, 18px) var(--search-origin-bottom, calc(100% - 64px)) var(--search-origin-left, 18px) round var(--search-origin-radius, 22px));
  transition:
    clip-path 160ms cubic-bezier(0.2, 0.9, 0.3, 1),
    -webkit-clip-path 160ms cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 120ms cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 160ms cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.app.search-open .top-bar,
.app.search-open .bottom-nav,
.app.transfer-contact-open .top-bar,
.app.transfer-contact-open .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app.search-open .top-bar,
.app.transfer-contact-open .top-bar {
  transform: translateY(-6px) scale(0.985);
}

.app.search-open .app-content,
.app.transfer-contact-open .app-content {
  overflow: hidden;
  touch-action: none;
}

.app.search-open .virement-overlay {
  position: absolute;
  inset: 0;
}

.app.search-open .virement-sheet {
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.virement-overlay.is-open .virement-sheet {
  clip-path: inset(0 0 0 0 round 0);
  -webkit-clip-path: inset(0 0 0 0 round 0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.virement-overlay.direct-contact-open .virement-backdrop {
  opacity: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.virement-overlay.direct-contact-open .virement-sheet {
  clip-path: inset(0 0 0 0 round 0);
  -webkit-clip-path: inset(0 0 0 0 round 0);
  opacity: 1;
  transform: none;
  transition: none;
}

.virement-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 70% at 20% 80%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 52%),
    radial-gradient(110% 65% at 80% 18%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: 0;
}

.virement-sheet.contact-mode {
  background: #000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  touch-action: none;
}

.virement-sheet.contact-mode::before {
  display: none;
}

.virement-sheet.contact-mode .sheet-content {
  padding: calc(8px + env(safe-area-inset-top) * 0.24) 10px 6px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
  overflow: hidden;
  touch-action: none;
}

.virement-sheet.amount-open .contact-transfer-head-main {
  opacity: 0;
  visibility: hidden;
}

.virement-sheet.amount-open .contact-transfer-back-btn,
.virement-sheet.amount-open .contact-transfer-avatar-head {
  position: relative;
  z-index: 5;
}

.virement-sheet.amount-open .contact-transfer-thread,
.virement-sheet.amount-open .contact-transfer-composer {
  opacity: 1;
  pointer-events: auto;
}

.sheet-handle {
  display: none;
}

.sheet-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: calc(2px + env(safe-area-inset-top)) 16px 22px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
  position: relative;
  z-index: 1;
}

.sheet-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-search {
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: rgba(236, 240, 248, 0.95);
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 18px rgba(0, 0, 0, 0.32);
}

.sheet-search svg {
  width: 20px;
  height: 20px;
}

.sheet-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: grid;
  place-items: center;
  color: rgba(238, 242, 248, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.3);
}

.sheet-action svg {
  width: 20px;
  height: 20px;
}

.sheet-body {
  flex: 1;
  overflow: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.sheet-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.amount-overlay {
  --contact-header-height: 82px;
  --amount-dock-width: 296px;
  --amount-dock-bottom: calc(126px + env(safe-area-inset-bottom));
  position: absolute;
  inset: 0;
  display: block;
  z-index: 110;
  pointer-events: none;
}

.amount-overlay[hidden] {
  display: none;
}

.amount-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.amount-sheet {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.amount-sheet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--contact-header-height) + 14px);
  bottom: 0;
  background: #000;
  z-index: 1;
}

.amount-header {
  position: absolute;
  left: var(--amount-header-left, 50px);
  right: var(--amount-header-right, 50px);
  top: var(--amount-header-top, 27px);
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.amount-overlay.is-open .amount-backdrop {
  opacity: 1;
}

.amount-handle {
  margin: 0;
  font-size: 12px;
  color: rgba(176, 182, 194, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.amount-label {
  margin: 0;
  font-size: 13px;
  color: rgba(175, 183, 197, 0.74);
  display: none;
}

.amount-contact {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: rgba(246, 249, 252, 0.98);
  letter-spacing: -0.22px;
  line-height: 1;
  text-align: center;
}

.amount-header-copy {
  display: grid;
  gap: 1px;
  justify-items: center;
  width: auto;
  position: relative;
  z-index: 3;
}

.amount-header-copy .amount-handle {
  margin-top: 2px;
}

.amount-body {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--contact-header-height) - 2px);
  bottom: 0;
  padding: 68px 14px calc(14px + env(safe-area-inset-bottom));
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  overflow: hidden;
  z-index: 3;
  pointer-events: auto;
}

.amount-subtitle {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(238, 242, 249, 0.68);
  text-align: center;
  margin-top: -8px;
}

.amount-value {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-top: 4px;
}

.amount-native-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  border: 0;
  padding: 0;
  pointer-events: none;
}

.amount-main-value {
  font-size: 50px;
  line-height: 0.9;
  font-weight: 700;
  color: #fbfcfe;
  letter-spacing: -1.2px;
  display: inline-flex;
  align-items: flex-end;
}

.amount-int,
.amount-int-digit,
.amount-decimal-group,
.amount-decimal-digit,
.amount-value .amount-currency {
  will-change: transform, opacity, filter;
}

.amount-int {
  display: inline-flex;
  align-items: flex-end;
}

.amount-int-slot,
.amount-decimal-slot {
  display: inline-grid;
  place-items: end center;
  overflow: hidden;
}

.amount-decimal-slot {
  width: 0.62em;
}

.amount-int-digit {
  display: block;
}

.amount-int-digit.is-muted {
  color: rgba(171, 172, 177, 1);
}

.amount-zero-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.amount-zero-caret {
  width: 1.5px;
  height: 54px;
  border-radius: 999px;
  background: #0a84ff;
  box-shadow: 0 0 4px rgba(10, 132, 255, 0.18);
  animation: amount-caret-blink 1.05s steps(1, end) infinite;
}

@keyframes amount-caret-blink {
  0%, 48% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.amount-decimal-group {
  display: inline-flex;
  align-items: flex-end;
  color: rgba(171, 172, 177, 1);
}

.amount-decimal-sep {
  color: rgba(233, 237, 245, 0.92);
}

.amount-decimal-digit.is-filled {
  color: #fbfcfe;
}


.amount-value .amount-currency {
  font-size: 50px;
  line-height: 0.9;
  color: rgba(251, 252, 254, 1);
}

.amount-source-card {
  align-self: center;
  min-width: 146px;
  width: fit-content;
  max-width: 100%;
  padding: 9px 11px 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border-radius: 999px;
  background: rgba(16, 20, 26, 0.72);
  border: none;
  box-shadow: none;
}

.amount-source-label,
.amount-source-value {
  margin: 0;
}

.amount-source-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.amount-source-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.amount-source-value {
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.94);
  white-space: nowrap;
}

.amount-source-caret {
  width: 10px;
  height: 10px;
  display: grid;
  place-items: center;
  font-size: 0;
  color: transparent;
  flex: 0 0 auto;
}

.amount-source-caret::before {
  content: "";
  width: 4px;
  height: 4px;
  border-right: 2px solid rgba(245, 247, 251, 0.74);
  border-bottom: 2px solid rgba(245, 247, 251, 0.74);
  transform: rotate(45deg) translateY(-1px);
}

.amount-note-row {
  align-self: center;
  width: min(100%, 348px);
  padding: 0 4px 0 14px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(237, 241, 248, 0.9);
  text-align: left;
  border-radius: 16px;
  background: rgba(26, 27, 30, 1);
  border: none;
  box-shadow: none;
  margin-top: 32px;
}

.amount-note-row span,
.amount-note-row strong {
  pointer-events: none;
}

.amount-note-row > span:first-child {
  font-size: 14px;
  color: rgba(210, 214, 222, 0.82);
}

.amount-note-row strong {
  font-size: 13px;
  color: rgba(190, 198, 211, 0.74);
  margin-left: auto;
}

.amount-note-row:not(.has-note) strong {
  display: none;
}

.amount-note-icon-wrap {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.amount-note-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
  display: block;
  opacity: 0.82;
}

.amount-note-presets {
  display: flex;
  gap: 11px;
  margin-top: 10px;
  margin-bottom: 2px;
  padding-left: calc((100% - min(100%, 348px)) / 2);
}

.amount-note-chip {
  min-width: 31px;
  height: 31px;
  border-radius: 999px;
  border: none;
  background: rgba(64, 68, 67, 1);
  color: rgba(245, 247, 251, 0.92);
  font-size: 13px;
  font-weight: 600;
  padding: 0 10px;
}

.amount-note-chip[data-note-value="T"] {
  width: 31px;
  min-width: 31px;
  border-radius: 999px;
  padding: 0;
}

.amount-note-chip[data-note-value="Ez"] {
  min-width: 35px;
  border-radius: 15px;
}

.amount-dock {
  position: absolute;
  left: 50%;
  bottom: var(--amount-dock-bottom);
  width: min(100%, var(--amount-dock-width));
  display: grid;
  gap: 10px;
  transform: translate(-50%, 140px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 190ms ease,
    transform 620ms cubic-bezier(0.2, 0.88, 0.22, 1);
  z-index: 6;
}

@keyframes amount-dock-enter {
  from {
    transform: translate(calc(-50% + 36px), 310px);
  }
  to {
    transform: translate(-50%, 310px);
  }
}

.amount-inline-action-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  align-self: stretch;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 0.9, 0.24, 1);
}

.amount-inline-icon {
  width: 40px;
  height: 34px;
  border-radius: 14px;
  border: none;
  background: rgba(181, 173, 183, 0.9);
  display: grid;
  place-items: center;
}

.amount-inline-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  opacity: 0.96;
}

.amount-inline-cta {
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(201, 191, 200, 0.92);
  color: rgba(81, 77, 84, 0.56);
  font-weight: 600;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    background-color 240ms ease,
    color 240ms ease;
  position: relative;
}

.amount-overlay.has-bright-value .amount-inline-cta,
.amount-overlay.has-bright-value .amount-inline-icon {
  background: rgba(239, 231, 234, 0.96);
  color: rgba(37, 41, 48, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.amount-overlay.has-bright-value .amount-inline-icon img {
  opacity: 1;
}

.amount-overlay.is-submitting .amount-inline-cta,
.amount-overlay.is-submitting .amount-inline-icon {
  background: rgba(224, 218, 226, 0.98);
  color: rgba(58, 56, 68, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.12);
}

.amount-overlay.is-submitting .amount-inline-cta span {
  opacity: 0;
}

.amount-overlay.is-submitting .amount-inline-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 17px;
  margin: -8.5px 0 0 -8.5px;
  border-radius: 50%;
  border: 2px solid rgba(15, 15, 18, 0.78);
  border-top-color: rgba(15, 15, 18, 0.18);
  border-right-color: rgba(15, 15, 18, 0.28);
  animation: amount-inline-submit-spin 820ms linear infinite;
}

@keyframes amount-inline-submit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.amount-action-row,
.amount-sheet > .amount-cta,
.amount-mode-switch {
  display: none;
}

.amount-quick-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  align-self: stretch;
  width: 100%;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition:
    opacity 360ms ease,
    transform 470ms cubic-bezier(0.2, 0.88, 0.22, 1);
}

.amount-quick-chip-extra[hidden] {
  display: none;
}

.amount-quick-chip {
  height: 18px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: rgba(242, 245, 250, 0.94);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.1px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    min-width 180ms ease,
    height 180ms ease,
    border-radius 180ms ease,
    padding 180ms ease;
}

.amount-overlay.has-operator-quick .amount-quick-list {
  justify-content: center;
  gap: 12px;
}

.amount-overlay.has-operator-quick .amount-quick-chip {
  min-width: 26px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(22, 24, 28, 0.9);
  color: rgba(244, 246, 250, 0.94);
  font-size: 16px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

.amount-note-editor {
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}

.amount-note-label {
  font-size: 12px;
  color: rgba(175, 183, 197, 0.74);
}

.amount-note-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  height: 46px;
  padding: 0 14px;
  color: rgba(246, 248, 252, 0.96);
  outline: none;
}

.amount-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
  align-self: stretch;
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition:
    opacity 390ms ease,
    transform 520ms cubic-bezier(0.18, 0.88, 0.22, 1);
}

.amount-key {
  height: 44px;
  border-radius: 8px;
  border: none;
  background: rgba(75, 74, 82, 1);
  color: rgba(246, 248, 251, 0.96);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 0;
  transition:
    transform 110ms ease,
    filter 110ms ease,
    background-color 110ms ease;
}

.amount-key.is-pressed {
  filter: brightness(1.12);
  transform: translateY(1px) scale(0.985);
}

.amount-key-num {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.amount-key-sub {
  font-size: 7px;
  line-height: 1;
  letter-spacing: 0.8px;
  opacity: 0.86;
}

.amount-key-muted {
  background: transparent;
  color: rgba(244, 247, 252, 0.9);
}

.amount-key-backspace {
  font-size: 0;
  position: relative;
}

.amount-key-backspace::before,
.amount-key-backspace::after {
  content: none;
}

.amount-key-backspace-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: brightness(1) saturate(0) invert(1);
}

.amount-overlay.is-open .amount-dock {
  opacity: 1;
  transform: translate(-50%, 310px);
}

.amount-overlay.is-entering .amount-dock {
  transition: none;
  animation: amount-dock-enter 320ms cubic-bezier(0.22, 0.9, 0.24, 1);
}

.amount-overlay.is-open .amount-inline-action-row {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.amount-overlay.is-keypad-open .amount-dock {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.amount-overlay.is-keypad-open .amount-quick-list,
.amount-overlay.is-keypad-open .amount-keypad {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.amount-overlay.is-keypad-open .amount-quick-list {
  transition-delay: 76ms;
}

.amount-overlay.is-keypad-open .amount-keypad {
  transition-delay: 132ms;
}

.amount-overlay.is-keypad-open .amount-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 352px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(4, 4, 6, 0.28) 14%, rgba(4, 4, 6, 0.82) 32%, rgba(4, 4, 6, 1) 100%);
  z-index: 5;
  pointer-events: none;
}

.search-header {
  margin: 0 2px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.search-pill {
  height: 44px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(54, 57, 63, 0.82), rgba(43, 46, 51, 0.88));
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: rgba(236, 240, 247, 0.9);
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
  overflow: hidden;
  line-height: 1;
}

.search-pill.is-typing .search-icon-btn {
  display: none;
}

.search-pill.is-typing .search-clear-input-btn {
  display: grid;
}

.search-pill svg {
  width: 18px;
  height: 18px;
  color: rgba(236, 239, 246, 0.8);
}

.search-input {
  min-width: 0;
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(242, 245, 250, 0.92);
  font-size: 15px;
  font-weight: 500;
}

.search-input::placeholder {
  color: rgba(236, 240, 247, 0.72);
}

.search-icon-btn,
.search-close-btn {
  border: none;
  display: grid;
  place-items: center;
  color: rgba(236, 239, 246, 0.9);
}

.search-icon-btn svg {
  width: 18px;
  height: 18px;
}

.search-icon-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-clear-input-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(84, 88, 101, 0.52), rgba(52, 56, 66, 0.6));
  color: rgba(230, 234, 243, 0.9);
  font-size: 19px;
  line-height: 1;
  display: none;
  place-items: center;
  margin-left: auto;
  padding: 0;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 6px 10px rgba(0, 0, 0, 0.17);
}

.search-close-btn {
  width: auto;
  height: 44px;
  padding: 0 8px;
  border-radius: 12px;
  background: transparent;
  border: none;
  font-size: 16px;
  line-height: 1;
  position: relative;
  margin-left: -1px;
  align-self: center;
  box-shadow: none;
}

.search-close-btn::before,
.search-close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.2px;
  border-radius: 999px;
  background: rgba(236, 239, 246, 0.86);
  transform-origin: center;
}

.search-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.search-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.search-chips {
  margin: 8px 2px 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.search-chips::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(103, 106, 111, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(243, 245, 249, 0.92);
  font-size: 12.2px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.1);
}

.chip:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chip:first-child::before {
  content: "R";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(245, 247, 252, 0.95);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.search-highlight {
  margin: 12px 2px 0;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(151, 144, 145, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.search-highlight .search-row {
  padding: 4px 6px;
}

.search-transfer-card {
  display: none;
  gap: 10px;
  padding: 6px 6px 4px;
}

.search-transfer-card.is-visible {
  display: grid;
}

.search-transfer-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.search-transfer-main {
  min-width: 0;
}

.search-transfer-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(241, 244, 250, 0.95);
}

.search-transfer-iban {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 500;
  color: rgba(189, 194, 205, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-transfer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.96);
  background: linear-gradient(180deg, #ee8a2f, #df6d23);
}

.search-transfer-amount-wrap {
  display: flex;
  justify-self: stretch;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
}

.search-transfer-amount {
  width: 6.2ch;
  min-width: 2ch;
  max-width: none;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(245, 248, 252, 0.96);
  font-size: 44px;
  font-weight: 700;
  text-align: right;
  line-height: 1.08;
  overflow: visible;
  padding: 0 2px 0 0;
  font-variant-numeric: tabular-nums;
  transition: opacity 140ms ease;
}

.search-transfer-amount.is-clearing-zero {
  opacity: 0.45;
}

.search-transfer-currency {
  font-size: 43px;
  font-weight: 700;
  color: rgba(245, 248, 252, 0.96);
  line-height: 1.08;
}

/* Final iPhone-first glass override for bottom navigation */
.bottom-nav {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(49, 52, 57, 0.34), rgba(28, 31, 36, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(26px) saturate(106%);
  -webkit-backdrop-filter: blur(26px) saturate(106%);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -12px 22px rgba(10, 12, 17, 0.18);
}

.bottom-nav::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 44%);
}

.bottom-nav::after {
  background:
    radial-gradient(140% 82% at 50% 116%, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.02), rgba(7, 9, 12, 0.08));
}

.active-pill {
  background:
    linear-gradient(180deg, rgba(137, 143, 154, 0.26), rgba(95, 101, 112, 0.3));
  border: 1px solid rgba(198, 206, 218, 0.09);
  backdrop-filter: blur(14px) saturate(108%);
  -webkit-backdrop-filter: blur(14px) saturate(108%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -10px 16px rgba(8, 10, 15, 0.18),
    0 3px 10px rgba(0, 0, 0, 0.16);
}

.nav-item {
  color: rgba(229, 233, 242, 0.86);
}

.nav-item span {
  color: rgba(216, 221, 232, 0.9);
}

.nav-item.active span {
  color: rgba(245, 248, 252, 0.98);
}

.search-transfer-send {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: rgba(240, 243, 248, 0.84);
  color: rgba(24, 28, 34, 0.95);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  display: grid;
  place-items: center;
  position: relative;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 120ms ease, filter 120ms ease;
  transform: translateZ(0);
  overflow: hidden;
}

.search-transfer-send:active:not(.is-disabled):not(.is-loading) {
  transform: scale(0.98);
  filter: brightness(0.95);
}

.search-transfer-send.is-loading {
  background: rgba(220, 224, 232, 0.74);
  color: rgba(24, 28, 34, 0.9);
  transform: none;
}

.search-transfer-send.is-disabled {
  background: rgba(220, 224, 232, 0.5);
  color: rgba(42, 46, 54, 0.6);
  opacity: 0.95;
}

.status-toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  min-height: 46px;
  border-radius: 14px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(241, 245, 252, 0.96);
  background: rgba(56, 62, 76, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 240ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 80;
  pointer-events: none;
  gap: 8px;
  justify-content: flex-start;
  padding-left: 12px;
}

.status-toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(244, 247, 252, 0.95);
  flex: 0 0 auto;
}

.status-toast-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.search-transfer-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  display: none;
}

.search-transfer-spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2.5px solid rgba(0, 0, 0, 0.92);
  border-right-color: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  animation: spin-search-send 760ms linear infinite;
}

.search-transfer-send.is-loading .search-transfer-send-label {
  opacity: 0;
}

.search-transfer-send.is-loading .search-transfer-spinner {
  display: block;
}

.view-verify-transfer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: calc(-2px - env(safe-area-inset-top)) -16px calc(-22px - env(safe-area-inset-bottom));
  padding: calc(8px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
  background: #040506;
}

.view-verify-transfer.is-processing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.52);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.view-verify-transfer.is-processing .verify-send-btn {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.view-verify-transfer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.verify-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
}

.verify-header h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  color: rgba(245, 247, 252, 0.98);
  letter-spacing: -0.2px;
}

.verify-back-btn {
  position: absolute;
  left: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(48, 52, 60, 0.34);
  color: rgba(246, 248, 252, 0.96);
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.verify-amount {
  margin: 4px 0 2px;
  text-align: center;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: rgba(247, 249, 252, 0.97);
  letter-spacing: -0.6px;
}

.verify-contact-card,
.verify-line-card,
.verify-summary-card,
.verify-promo-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(43, 46, 53, 0.68), rgba(28, 31, 37, 0.78));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.verify-contact-card {
  padding: 12px;
}

.verify-contact-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.verify-contact-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f6a234, #e47d20);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 249, 241, 0.98);
}

.verify-contact-main p {
  margin: 0;
}

.verify-contact-name {
  font-size: 16px;
  font-weight: 600;
  color: rgba(243, 246, 252, 0.97);
}

.verify-contact-warning {
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(234, 156, 163, 0.94);
}

.verify-contact-info {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(236, 240, 247, 0.9);
}

.verify-contact-iban,
.verify-contact-bank {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(228, 232, 241, 0.88);
}

.verify-contact-bank {
  margin-top: 2px;
  color: rgba(200, 205, 218, 0.84);
}

.verify-line-card {
  min-height: 52px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.verify-line-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(234, 238, 246, 0.92);
}

.verify-line-card p:last-child {
  text-align: right;
  color: rgba(230, 234, 241, 0.9);
}

.verify-add-ref {
  color: #8ef440 !important;
  font-weight: 700;
}

.verify-summary-card {
  padding: 8px 12px;
  display: grid;
  gap: 8px;
}

.verify-summary-card > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.verify-summary-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(234, 238, 246, 0.94);
}

.verify-summary-card p:last-child {
  text-align: right;
  font-weight: 600;
}

.verify-promo-card {
  min-height: 50px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.verify-promo-card span {
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(236, 240, 247, 0.9);
}

.verify-promo-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(233, 237, 245, 0.92);
}

.verify-send-btn {
  margin-top: auto;
  height: 54px;
  border: none;
  border-radius: 999px;
  background: rgba(245, 247, 251, 0.97);
  color: rgba(25, 28, 34, 0.97);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 120ms ease, filter 140ms ease, background 180ms ease;
}

.verify-send-btn:active:not(:disabled) {
  transform: scale(0.98);
  filter: brightness(0.95);
}

.verify-send-btn.is-processing {
  background: rgba(222, 226, 234, 0.86);
  color: rgba(28, 31, 38, 0.76);
}

.verify-send-btn:disabled {
  pointer-events: none;
}

.verify-processing-popup {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  border-radius: 26px;
  padding: 12px 16px 24px;
  min-height: 188px;
  background:
    radial-gradient(140% 95% at 86% 14%, rgba(146, 112, 128, 0.22), rgba(146, 112, 128, 0) 62%),
    radial-gradient(120% 92% at 14% 84%, rgba(126, 101, 120, 0.18), rgba(126, 101, 120, 0) 64%),
    linear-gradient(180deg, rgba(88, 74, 88, 0.86), rgba(78, 66, 80, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -10px 14px rgba(26, 20, 30, 0.16);
  opacity: 0;
  transform: translateY(18px) scale(0.994);
  transition: opacity 220ms ease-out, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0;
}

.verify-processing-popup.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.verify-processing-progress-track {
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: rgba(238, 242, 249, 0.34);
  margin: 0 auto 10px;
  overflow: hidden;
  order: 0;
}

.verify-processing-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: rgba(244, 248, 252, 0.7);
}

.verify-processing-popup.is-visible .verify-processing-progress-fill {
  animation: verify-progress-fill 2000ms linear forwards;
}

.verify-processing-clock {
  width: 23px;
  height: 23px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid rgba(245, 248, 252, 0.88);
  position: relative;
  order: 1;
}

.verify-processing-clock::before,
.verify-processing-clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(246, 249, 252, 0.94);
  border-radius: 999px;
  transform-origin: bottom center;
}

.verify-processing-clock::before {
  width: 1.8px;
  height: 6px;
  transform: translate(-50%, -100%) rotate(0deg);
}

.verify-processing-clock::after {
  width: 1.8px;
  height: 7px;
  transform: translate(-50%, -100%) rotate(-270deg);
  opacity: 0.9;
}

.verify-processing-popup.is-visible .verify-processing-clock {
  animation: none;
}

.verify-processing-popup.is-visible .verify-processing-clock::after {
  animation: verify-clock-hand-spin 1000ms linear 1 forwards;
}

.verify-processing-title {
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 600;
  color: rgba(246, 249, 252, 0.94);
  letter-spacing: -0.08px;
  max-width: 240px;
  justify-self: center;
  order: 2;
}

.verify-processing-sub {
  margin: 9px 0 0;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: rgba(205, 212, 224, 0.78);
  line-height: 1.22;
  max-width: 238px;
  justify-self: center;
  order: 3;
}

@keyframes verify-progress-fill {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes verify-clock-hand-spin {
  from { transform: translate(-50%, -100%) rotate(-270deg); }
  to { transform: translate(-50%, -100%) rotate(90deg); }
}

.search-transfer-amount {
  caret-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.search-transfer-amount::selection {
  background: transparent;
}

.view-transfer-contact {
  --contact-header-height: 82px;
  --contact-composer-height: 92px;
  display: block;
  min-height: 100%;
  height: 100%;
  padding: 0;
  background: #000;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  opacity: 0;
  transform: translateY(4px);
  animation: contact-view-enter 180ms cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  position: relative;
}

.sheet-body.view-transfer-contact {
  display: block;
  overflow: hidden;
  height: 100%;
  touch-action: manipulation;
  position: relative;
}

@keyframes contact-view-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-transfer-header {
  min-height: var(--contact-header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 27px 10px 6px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  touch-action: manipulation;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, 0.58), rgba(6, 8, 10, 0.32) 56%, rgba(6, 8, 10, 0));
  backdrop-filter: blur(12px) saturate(108%);
  -webkit-backdrop-filter: blur(12px) saturate(108%);
}

.virement-overlay.is-send-transitioning .contact-transfer-header,
.virement-overlay.is-send-transitioning .contact-transfer-header * {
  transition: none !important;
}

.virement-overlay.is-send-transitioning .contact-transfer-header {
  transform: translateZ(0);
  will-change: auto;
}

.contact-transfer-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.08), rgba(18, 22, 28, 0));
  pointer-events: none;
}

.contact-transfer-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(18, 22, 27, 0.88), rgba(10, 13, 18, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(0, 0, 0, 0.24);
  color: rgba(242, 246, 252, 0.96);
  line-height: 1;
  display: grid;
  place-items: center;
}

.contact-transfer-back-btn img {
  width: 37px;
  height: 37px;
  object-fit: contain;
  display: block;
  transform: translateX(-4px);
}

.contact-transfer-head-main p {
  margin: 0;
}

.contact-transfer-title {
  font-size: 17px;
  font-weight: 600;
  color: rgba(246, 249, 252, 0.98);
  letter-spacing: -0.22px;
  line-height: 1;
  text-align: center;
}

.contact-transfer-iban-head {
  margin-top: 2px !important;
  font-size: 12px;
  color: rgba(176, 182, 194, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.contact-transfer-avatar-head {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.95);
  background: linear-gradient(180deg, #ef9033, #de6d23);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

.contact-transfer-avatar-badge {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 0.9px solid rgba(0, 0, 0, 0.56);
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.contact-transfer-avatar-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-transfer-thread {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--contact-header-height);
  bottom: calc(var(--contact-composer-height) + 54px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  padding: 10px 12px 12px;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  z-index: 1;
}

.contact-transfer-thread::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.contact-transfer-date-sep {
  margin: 2px 0 -2px;
  font-size: 9px;
  color: rgba(185, 191, 201, 0.58);
  font-weight: 600;
  text-align: center;
}

.contact-transfer-bubble {
  align-self: flex-start;
  width: min(136px, 35vw);
  min-height: 118px;
  border-radius: 17px;
  padding: 9px 10px 14px;
  background: rgba(105, 102, 118, 1);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 18px rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.contact-transfer-bubble.is-received {
  background: rgb(71, 69, 77);
}

.contact-transfer-bubble.no-note {
  min-height: 94px;
  padding-bottom: 11px;
}

.contact-transfer-bubble::after {
  content: none;
}

.contact-transfer-bubble.has-tail::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 8px;
  height: 10px;
  background: rgb(105, 102, 118);
  border-radius: 2px 0 9px 0;
  transform: rotate(45deg);
}

.contact-transfer-bubble.is-received.has-tail::after {
  background: rgb(71, 69, 77);
}

.contact-transfer-bubble.is-sent {
  align-self: flex-end;
  margin-right: 2px;
}

.contact-transfer-bubble.is-sent.has-tail::after {
  left: auto;
  right: -3px;
  bottom: -1px;
  border-radius: 0 2px 0 9px;
  transform: rotate(-45deg);
}

.contact-transfer-bubble p {
  margin: 0;
}

.contact-transfer-bubble-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 124px;
  padding: 3px 18px 3px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  font-size: 9px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.74);
  align-self: center;
}

.contact-transfer-bubble-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: rgba(255, 255, 255, 0.94);
  clip-path: polygon(0 43%, 52% 43%, 52% 10%, 100% 50%, 52% 90%, 52% 57%, 0 57%);
}

.contact-transfer-bubble-amount {
  margin-top: 8px !important;
  font-size: 26px;
  font-weight: 700;
  color: rgba(252, 252, 252, 0.97);
  line-height: 0.94;
  letter-spacing: -0.56px;
}

.contact-transfer-bubble-sub {
  margin-top: 5px !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  color: rgba(251, 251, 252, 0.8);
}

.contact-transfer-bubble-time {
  margin-top: auto !important;
  text-align: right;
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(251, 251, 252, 0.7);
  padding-right: 1px;
  padding-bottom: 3px;
}

.contact-transfer-bubble.is-recent + .contact-transfer-bubble.is-recent {
  margin-top: -5px;
}

.contact-transfer-bubble.is-recent {
  margin-right: 2px;
}

.contact-transfer-bubble.is-staging {
  opacity: 0;
  visibility: hidden;
  filter: saturate(0.92);
}

.contact-transfer-bubble.is-landed {
  will-change: transform, opacity;
  transition: filter 220ms ease, opacity 220ms ease;
}

.amount-send-flight-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
}

.amount-send-flight-ghost {
  position: fixed;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(120, 114, 132, 0.12);
  color: rgba(248, 249, 252, 0.94);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 30px rgba(0, 0, 0, 0.18);
  transform-origin: center center;
}

.amount-send-flight-ghost.is-shadow {
  background: rgba(22, 22, 26, 0.34);
  color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(9px) saturate(90%);
  -webkit-backdrop-filter: blur(9px) saturate(90%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 30px 58px rgba(0, 0, 0, 0.34);
}

.amount-send-flight-ghost.is-primary {
  background: rgba(30, 30, 36, 0.38);
  color: rgba(252, 252, 252, 0.7);
  border-color: rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 26px 52px rgba(0, 0, 0, 0.36);
}

.amount-send-flight-amount {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.56px;
  color: rgba(252, 252, 252, 0.6);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.contact-transfer-composer {
  min-height: var(--contact-composer-height);
  margin: 0;
  padding: 74px 12px calc(68px + env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -82px;
  z-index: 2;
  touch-action: manipulation;
  background: transparent;
}

.contact-transfer-composer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -220px;
  height: 260px;
  background: #000;
  z-index: -1;
}

.contact-transfer-actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.contact-transfer-icon-btn,
.contact-transfer-message-icon {
  border: none;
  display: grid;
  place-items: center;
}

.contact-transfer-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 20, 26, 0.86), rgba(8, 11, 16, 0.92));
  color: rgba(242, 245, 250, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
  flex: 0 0 44px;
}

.contact-transfer-switch-btn {
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 20, 26, 0.86), rgba(8, 11, 16, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
  color: rgba(240, 243, 248, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  min-width: 140px;
  font-size: 14px;
  font-weight: 600;
  flex: 0 0 140px;
}

.contact-transfer-send-primary {
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(245, 242, 244, 0.98), rgba(232, 229, 232, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
  color: rgba(26, 31, 37, 0.96);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  min-width: 154px;
  flex: 0 0 154px;
}

.contact-transfer-message-bar {
  height: 40px;
  border-radius: 18px;
  padding: 0 12px 0 14px;
  background: linear-gradient(180deg, rgba(16, 20, 26, 0.86), rgba(8, 11, 16, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(213, 218, 225, 0.76);
  font-size: 13px;
  width: 100%;
}

.contact-transfer-message-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: transparent;
  color: rgba(223, 228, 236, 0.76);
  font-size: 11px;
  flex: 0 0 22px;
}

.contact-transfer-icon-btn img,
.contact-transfer-switch-btn img,
.contact-transfer-send-primary img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.contact-transfer-icon-btn img {
  width: 30px;
  height: 30px;
}

.contact-transfer-message-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

@keyframes spin-search-send {
  to { transform: rotate(360deg); }
}

.search-section {
  margin: 18px 2px 0;
}

.search-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(240, 243, 248, 0.92);
}

.search-list {
  margin: 0;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  border-radius: 18px;
  background: rgba(151, 144, 145, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}


.search-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 7px;
  padding: 8px 6px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: background 160ms ease, transform 160ms ease;
}

.search-row:active {
  transform: scale(0.985);
  background: rgba(255, 255, 255, 0.04);
}

.search-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: rgba(243, 246, 251, 0.95);
  position: relative;
  font-size: 15px;
}

.search-avatar-photo {
  background: #d9dde6 url("assets/photo.png") center/cover no-repeat;
  filter: brightness(0.82);
}

.search-avatar-photo2 {
  background: #afb7c4 url("assets/photo.jpg") center/cover no-repeat;
  filter: brightness(0.82);
}

.search-avatar-purple { background: #6f56ff; }

.search-avatar-revo {
  background: #e9edf5 url("assets/revolut.jpg") center/cover no-repeat;
  filter: brightness(0.92);
}

.search-avatar-revosend {
  background:
    #e9edf5 url("assets/revolut.jpg") center/76% no-repeat;
  filter: brightness(0.95);
}

.search-badge {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 0.3px solid rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  font-weight: 600;
  padding: 1px;
  opacity: 0.75;
}

.search-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  opacity: 0.9;
}

.search-main {
  min-width: 0;
}

.search-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(241, 244, 250, 0.94);
}

.search-handle {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(220, 224, 233, 0.68);
}

.add-row .search-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(84, 86, 96, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: rgba(245, 247, 252, 0.95);
}

.view-virements .transfer-shared {
  display: none;
}

.view-virements .transfer-shared-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.12px;
  color: rgba(237, 240, 246, 0.94);
}

.view-virements .transfer-shared-sub {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.24;
  color: rgba(184, 189, 200, 0.86);
}

.view-virements .transfer-shared-art {
  display: none;
}

.view-virements .transfer-list {
  margin-top: 4px;
  padding: 4px 0;
  border-radius: 25px;
  border: none;
  background: #191919;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 18px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.transfer-shared {
  margin: 16px 16px 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.transfer-shared-copy {
  padding-right: 28px;
}

.transfer-shared-title {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
}

.transfer-shared-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(204, 209, 218, 0.9);
}

.transfer-shared-art {
  width: 122px;
  height: 122px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(38, 40, 46, 0.96), rgba(24, 26, 31, 0.92)),
    radial-gradient(40% 40% at 50% 35%, rgba(210, 215, 230, 0.16), rgba(210, 215, 230, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.3);
  justify-self: end;
}

.transfer-shared-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  color: rgba(173, 179, 192, 0.52);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.transfer-list {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  display: grid;
  gap: 0;
}

.transfer-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: transform 120ms ease, background 120ms ease;
  cursor: pointer;
}

.transfer-row + .transfer-row {
  border-top: 1px solid rgba(255, 255, 255, 0.004);
}

.transfer-row:active {
  transform: scale(0.994);
  background: rgba(255, 255, 255, 0.03);
}

.transfer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 2px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(234, 238, 244, 0.94);
  position: relative;
}

.transfer-avatar-photo {
  background: #e6e7eb url("assets/photo.jpg") center/cover no-repeat;
  filter: grayscale(0.68) brightness(1.0) contrast(0.94);
}

.transfer-avatar-photo2 {
  background: #afb7c4 url("assets/photo.jpg") center/cover no-repeat;
  filter: grayscale(0.56) brightness(0.88) contrast(0.93);
  background-position: center 22%;
}

.transfer-avatar-revo {
  background: #e9edf5 url("assets/revolut.jpg") center/cover no-repeat;
  filter: brightness(0.92);
}

.transfer-avatar-purple { background: #6f56ff; }
.transfer-avatar-pink { background: #e95ca8; }
.transfer-avatar-green { background: #6ac75f; font-size: 17px; font-weight: 600; }
.transfer-avatar-brown { background: #b99179; }
.transfer-avatar-sage { background: #728f78; }

.transfer-badge {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 0.9px solid rgba(0, 0, 0, 0.56);
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  font-weight: 600;
  padding: 0;
  opacity: 1;
}

.transfer-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  opacity: 1;
}

.transfer-badge-blue {
  background: #ffffff;
}

.transfer-badge-blue::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9fe4ff 0%, #55b6ff 55%, #2e7aff 100%);
}

.transfer-badge-card {
  background: #fff;
}

.transfer-badge-card::before {
  content: "";
  width: 7px;
  height: 4px;
  border: 1px solid rgba(12, 14, 20, 0.68);
  border-radius: 2px;
}

.transfer-badge-bank {
  background: #d7dbe3;
}

.transfer-badge-bank::before {
  content: "";
  width: 6px;
  height: 6px;
  clip-path: polygon(50% 0, 100% 32%, 100% 100%, 0 100%, 0 32%);
  background: rgba(28, 30, 36, 0.75);
}

.transfer-main {
  min-width: 0;
  padding-right: 4px;
}

.transfer-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.12px;
  color: rgba(230, 234, 242, 0.93);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-note {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(163, 169, 181, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-date {
  margin: -1px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(141, 147, 160, 0.66);
  padding-left: 8px;
  align-self: start;
}

.view-virements .bottom-nav {
  background:
    linear-gradient(180deg, rgba(49, 52, 57, 0.34), rgba(28, 31, 36, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(26px) saturate(106%);
  -webkit-backdrop-filter: blur(26px) saturate(106%);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -12px 22px rgba(10, 12, 17, 0.18);
}

.app[data-view="virements"] .active-pill {
  background:
    linear-gradient(180deg, rgba(137, 143, 154, 0.26), rgba(95, 101, 112, 0.3));
  border-color: rgba(198, 206, 218, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -10px 16px rgba(8, 10, 15, 0.24),
    0 3px 10px rgba(0, 0, 0, 0.22);
}

.ref-switcher {
  width: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.ref-switch-btn {
  border: none;
  border-radius: 12px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(229, 233, 241, 0.9);
  background: rgba(24, 30, 62, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ref-switch-btn.is-active {
  background: rgba(73, 82, 124, 0.82);
  color: rgba(245, 247, 252, 0.96);
}

.active-pill {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 46px;
  pointer-events: none;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(136, 142, 154, 0.3), rgba(92, 98, 110, 0.34));
  border: 1px solid rgba(208, 216, 228, 0.12);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -10px 16px rgba(8, 10, 15, 0.14),
    0 3px 10px rgba(0, 0, 0, 0.16);
}

.nav-item.active::before,
.nav-item.active::after {
  content: none;
}

.nav-item span {
  position: relative;
  z-index: 1;
  line-height: 1;
  margin: 0;
}

.nav-item.active span {
  color: rgba(245, 247, 251, 0.97);
}

.euro-flag {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: url("assets/eu.png") center/130% 130% no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-block;
  flex: 0 0 auto;
}

.euro-flag::after {
  content: none;
}

.transactions-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 10px;
}

.transaction-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}

.home-contact-avatar {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 auto;
  margin-left: 0 !important;
  font-size: 13px !important;
}

.home-contact-avatar .transfer-badge,
.home-contact-avatar .search-badge {
  width: 13px;
  height: 13px;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border: 0.8px solid rgba(0, 0, 0, 0.56);
}

.home-contact-avatar .transfer-badge img,
.home-contact-avatar .search-badge img {
  width: 125%;
  height: 125%;
  object-fit: contain;
  opacity: 1;
}

.home-generated-row .tx-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(246, 249, 255, 0.96);
  flex: 0 0 auto;
}

.tx-icon svg {
  width: 20px;
  height: 20px;
}

.tx-icon-custom {
  overflow: hidden;
  background: rgba(11, 12, 18, 0.92);
}

.tx-icon-custom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tx-icon-pink {
  background: linear-gradient(180deg, #f163b2, #d84d9f);
}

.tx-icon-blue {
  background: linear-gradient(180deg, #5552d4, #3d3aab);
}

.tx-main {
  flex: 1;
  min-width: 0;
}

.tx-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(239, 241, 246, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-sub {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(184, 189, 201, 0.9);
}

.tx-amount {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: rgba(242, 244, 248, 0.95);
  letter-spacing: 0.1px;
}

.show-all-btn {
  all: unset;
  display: block;
  margin: 15px auto 0;
  width: auto;
  color: rgba(171, 176, 186, 0.8);
  font-family: var(--font-ios-text);
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  cursor: default;
}

.nav-icon-img {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  align-self: center;
}

.nav-icon-revpoints {
  width: 29px;
  height: 29px;
  object-fit: contain;
  transform: scale(1.5);
  transform-origin: center;
}

.nav-icon-virements {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: scale(1.9);
  transform-origin: center;
}

.nav-icon-accueil {
  transform: scale(0.82);
  transform-origin: center;
}

.reference {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ref-frame {
  background:
    radial-gradient(120% 120% at 15% 0%, #1a2f6f 0%, rgba(26, 47, 111, 0) 60%),
    radial-gradient(120% 120% at 85% 100%, #112452 0%, rgba(17, 36, 82, 0) 62%),
    linear-gradient(180deg, #0f1c46 0%, #0a1434 50%, #081029 100%);
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.ref-frame img {
  width: var(--device-width);
  height: auto;
  border-radius: 38px;
  display: block;
  object-fit: initial;
  object-position: initial;
  background: none;
  margin: 0;
  transform: none;
}

.ref-label {
  text-align: center;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(174, 178, 203, 0.9);
}

@media (max-width: 920px) {
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  body {
    min-height: 100dvh;
  }
  .app {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    border-radius: 0;
  }
  .amount-overlay {
    --amount-dock-width: 356px;
    --amount-dock-bottom: calc(54px + env(safe-area-inset-bottom));
  }
  .amount-dock {
    gap: 6px;
    padding: 0;
  }
  .amount-note-row {
    width: min(100%, 356px);
    height: 50px;
    margin-top: 49px;
    border-radius: 18px;
    background: rgb(31, 32, 37);
  }
  .amount-note-row > span:first-child {
    font-size: 15px;
    color: rgba(208, 212, 220, 0.8);
  }
  .amount-value {
    margin-top: 16px;
    gap: 6px;
  }
  .amount-subtitle {
    margin-top: 2px;
    font-size: 13px;
  }
  .amount-source-card {
    margin-top: 10px;
    max-width: min(72vw, 282px);
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .amount-inline-action-row {
    grid-template-columns: 60px 1fr;
    gap: 8px;
    margin-bottom: 16px;
    transform: translateY(-4px);
    position: relative;
    z-index: 0;
  }
  .amount-inline-action-row::before {
    content: "";
    position: absolute;
    inset: -10px -12px -12px;
    border-radius: 26px;
    background: #000;
    z-index: -1;
    pointer-events: none;
  }
  .amount-inline-icon {
    width: 60px;
    height: 56px;
    border-radius: 26px;
    background: rgba(101, 100, 109, 1);
  }
  .amount-inline-icon img {
    width: 30px;
    height: 30px;
    opacity: 0.96;
  }
  .amount-inline-cta {
    height: 56px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(101, 100, 113, 1);
    color: rgba(66, 65, 78, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }
  .amount-overlay.has-bright-value .amount-inline-cta {
    background: rgba(224, 218, 226, 0.98);
    color: rgba(58, 56, 68, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transform: translateY(0);
  }
  .amount-overlay.has-bright-value .amount-inline-icon {
    background: rgba(224, 218, 226, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }
  .amount-overlay.is-submitting .amount-inline-cta {
    background: rgba(224, 218, 226, 0.98);
    color: rgba(58, 56, 68, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
  }
  .amount-overlay.is-submitting .amount-inline-icon {
    background: rgba(224, 218, 226, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .amount-quick-list {
    width: calc(100% + 20px);
    margin-top: 10px;
    margin-left: -10px;
    padding: 0;
    gap: 8px;
    justify-content: space-between;
    min-height: 44px;
  }
  .amount-quick-chip {
    min-width: 86px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(14, 14, 18, 0.84);
    border: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.02),
      inset 0 0 0 1px rgba(14, 14, 18, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: rgba(247, 248, 251, 0.92);
  }
  .amount-overlay.has-operator-quick .amount-quick-list {
    width: calc(100% + 20px);
    margin-left: -10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    justify-content: stretch;
    align-items: center;
  }
  .amount-overlay.has-operator-quick .amount-quick-chip {
    min-width: 0;
    width: calc(100% - 8px);
    justify-self: center;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    background: rgba(14, 14, 18, 0.84);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.02),
      inset 0 0 0 1px rgba(14, 14, 18, 0.72);
    font-size: 15px;
    font-weight: 600;
  }
  .amount-keypad {
    gap: 5px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 18px;
    width: calc(100% + 20px);
    justify-self: center;
    background: linear-gradient(180deg, rgba(16, 16, 20, 0.78), rgba(10, 10, 13, 0.92));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      inset 0 0 0 1px rgba(20, 20, 26, 0.78),
      0 8px 22px rgba(0, 0, 0, 0.18),
      0 2px 6px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 0;
  }
  .amount-keypad::before {
    content: "";
    position: absolute;
    inset: -8px -6px -10px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 13, 17, 0.9), rgba(9, 9, 12, 0.97));
    box-shadow: inset 0 0 0 1px rgba(14, 14, 18, 0.62);
    z-index: -1;
    pointer-events: none;
  }
  .amount-key {
    height: 48px;
    border-radius: 9px;
    background: rgba(75, 74, 82, 1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 0 0 1px rgba(255, 255, 255, 0.015);
    align-content: end;
    padding-top: 8px;
    padding-bottom: 4px;
  }
  .amount-key-num {
    font-size: 21px;
    line-height: 1.08;
    transform: translateY(-1px) scaleY(1.06);
  }
  .amount-key-sub {
    font-size: 9px;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.96);
    opacity: 1;
    min-height: 9px;
    display: block;
  }
  .amount-key-sub-placeholder {
    opacity: 0;
  }
  .amount-key-muted {
    background: transparent;
    color: rgba(248, 250, 253, 0.92);
    box-shadow: none;
  }
  .amount-key[data-key="noop"] .amount-key-num {
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-10px) scaleX(0.86) rotate(-3deg);
    display: block;
  }
  .amount-key-backspace {
    display: grid;
    place-items: center;
    align-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }
  .amount-key-backspace-icon {
    width: 65px;
    height: 65px;
    opacity: 1;
    filter: brightness(0) saturate(0) invert(1);
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  .amount-zero-wrap {
    gap: 0;
  }
  .amount-zero-caret {
    width: 1.5px;
    height: 46px;
  }
  .amount-overlay.is-keypad-open .amount-body::after {
    height: 372px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(3, 3, 5, 0.18) 12%, rgba(3, 3, 5, 0.68) 28%, rgba(3, 3, 5, 0.96) 46%, rgb(3, 3, 5) 100%);
  }
  .ref-frame img { width: 100%; border-radius: 18px; }
}
