@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-tight-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-tight-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-tight-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-tight-700.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/inter-tight-800.ttf") format("truetype");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/inter-tight-900.ttf") format("truetype");
}

:root {
  /* Theme variables */
  --bg: #000000;
  --surface: rgba(28, 28, 28, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.00);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.64);
  --text-soft: rgba(255, 255, 255, 0.42);
  --accent: #ff4400;
  --accent-glow: rgba(255, 68, 0, 0.28);
  --success: #7de593;
  --success-glow: rgba(125, 229, 147, 0.4);
  --warning: #ffbf8f;
  --danger: #ff7d6d;
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  --shadow-strong: 0 32px 72px rgba(0, 0, 0, 0.44);
  --shadow-button: 0 16px 32px rgba(0, 0, 0, 0.25);
  --shadow-button-hover: 0 20px 36px rgba(0, 0, 0, 0.28);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --layout-width: 1280px;
  --sans: "Inter Tight", system-ui, sans-serif;
  --ease-fast: 100ms ease;
  --ease-base: 180ms ease;
  --ease-medium: 200ms ease;
  --ease-slow: 220ms ease;
  --surface-modal:
    linear-gradient(180deg, rgba(32, 32, 32, 0.98), rgba(18, 18, 18, 0.98)),
    radial-gradient(circle at 100% 0, rgba(255, 68, 0, 0.12), transparent 30%);
  --surface-button: linear-gradient(180deg, #2a2a2a 0%, #1c1c1c 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body.has-modal {
  overflow: hidden;
}

body.background-graphics-hidden::before,
body.background-graphics-hidden::after,
body.background-graphics-hidden .app-shell::before,
body.background-graphics-hidden .app-shell::after,
body.background-graphics-hidden .watch-view-demo-wallet {
  opacity: 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  inset: 0 0 0 auto;
  width: min(43vw, 560px);
  background:
    repeating-linear-gradient(
      138deg,
      rgba(255, 68, 0, 0) 0 12px,
      rgba(255, 68, 0, 0.5) 12px 13px
    );
  clip-path: polygon(54% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.72;
  z-index: -7;
}

body::after {
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: url("assets/bitkit-wave-orange.svg") right 0 bottom 100px / cover no-repeat;
  opacity: 1;
  z-index: -6;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.copy-measure {
  max-width: 592px;
}

.copy-highlight {
  color: var(--text);
  font-weight: 700;
}

.copy-highlight-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--ease-base);
}

.copy-highlight-button:hover,
.copy-highlight-button:focus-visible {
  color: var(--accent);
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
}

h5 {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 22px;
}

.text-meta {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.text-label {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-value-sm {
  color: var(--text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.text-strong {
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition:
    background var(--ease-base),
    border-color var(--ease-base),
    box-shadow var(--ease-base),
    color var(--ease-base),
    opacity var(--ease-base),
    transform var(--ease-base);
}

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

.button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.button__icon svg,
.button svg {
  width: 16px;
  height: 16px;
}

.button--icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  background: var(--surface);
  color: #ffffff;
}

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

@media (hover: hover) and (pointer: fine) {
  .button--icon:hover {
    border-color: var(--accent);
    background: rgba(38, 38, 38, 0.96);
  }
}

@media (hover: none), (pointer: coarse) {
  .button--icon:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.02);
    background: var(--surface);
  }
}

.button--icon.is-active {
  border-color: rgba(255, 68, 0, 0.72);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 118, 49, 0.22), transparent 58%),
    rgba(34, 18, 12, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 68, 0, 0.16) inset,
    0 0 26px rgba(255, 68, 0, 0.12);
}

.button--icon[disabled] {
  cursor: default;
  opacity: 0.36;
}

.button--icon[disabled]:hover {
  border-color: rgba(255, 255, 255, 0.02);
  background: rgba(0, 0, 0, 0.5);
  transform: none;
}

.button--icon-sm {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}

.button--icon-sm svg {
  width: 16px;
  height: 16px;
}

.button--icon-dim {
  background: rgba(0, 0, 0, 0.5);
}

.button--icon-subtle {
  background: rgba(255, 255, 255, 0.04);
}

.button--pill {
  min-width: 88px;
  min-height: 52px;
  padding: 16px 32px;
  border-radius: 64px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.button--filled {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface-button);
  box-shadow: var(--shadow-button);
}

.button--filled:hover {
  box-shadow:
    var(--shadow-button-hover),
    0 0 0 1px rgba(255, 68, 0, 0.55) inset;
}

.button--outline {
  border: 2px solid #3a3a3a;
  background: rgba(255, 255, 255, 0.01);
  color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.button--outline:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text);
}

.button--danger {
  border-top-color: rgba(255, 255, 255, 0.18);
  background: #ff4400;
  color: #ffffff;
  box-shadow:
    var(--shadow-button),
    0 0 0 1px rgba(255, 68, 0, 0.18) inset;
}

.button--danger:hover {
  box-shadow:
    var(--shadow-button-hover),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.button--stretch {
  flex: 1 1 auto;
  width: auto;
}

.button--fit {
  flex: 0 0 auto;
  width: auto;
}

.field {
  display: block;
  width: 100%;
  min-width: 0;
}

.field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.64);
  color: var(--text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.field__input::placeholder {
  color: var(--text-muted);
}

.field__input:focus {
  border-color: rgba(255, 68, 0, 0.5);
}

.panel--modal {
  border-color: rgba(255, 255, 255, 0.1);
}

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

.app-shell {
  position: relative;
  width: min(100%, var(--layout-width));
  margin: 0 auto;
  padding: 0 0 32px;
  z-index: 0;
}

.app-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 78%, rgba(0, 0, 0, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.38) 100%);
  z-index: -2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding: 16px 32px;
  overflow: hidden;
}

.progressive-blur-container {
  position: absolute;
  pointer-events: none;
}

.progressive-blur-container > .blur-filter,
.progressive-blur-container > .gradient {
  position: absolute;
  inset: 0;
}

.progressive-blur-container--header {
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  z-index: 0;
}

.progressive-blur-container--header > .blur-filter:nth-child(1) {
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 40%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 40%);
}

.progressive-blur-container--header > .blur-filter:nth-child(2) {
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 50%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 50%);
}

.progressive-blur-container--header > .blur-filter:nth-child(3) {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 60%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 60%);
}

.progressive-blur-container--header > .blur-filter:nth-child(4) {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 70%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 70%);
}

.progressive-blur-container--header > .blur-filter:nth-child(5) {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 80%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 80%);
}

.progressive-blur-container--header > .blur-filter:nth-child(6) {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 90%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 90%);
}

.progressive-blur-container--header > .blur-filter:nth-child(7) {
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.progressive-blur-container--header > .gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.app-shell::after {
  content: "";
  position: fixed;
  inset: auto 3vw 9vh auto;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 36% 20% at 35% 80%,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 42%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("assets/bitcoin.png") center / contain no-repeat;
  opacity: 1;
  z-index: -1;
}

.watch-view-demo-wallet {
  position: fixed;
  left: clamp(28px, 7vw, 124px);
  bottom: clamp(150px, 18vh, 232px);
  width: min(36vw, 460px);

  aspect-ratio: 1330 / 1120;
  pointer-events: none;
  background: url("assets/demowallet.png") center / contain no-repeat;
  filter: drop-shadow(0px 50px 50px rgba(0, 0, 0, 0.9));
  opacity: 0;
  z-index: -5;
}

body.is-watch-view .watch-view-demo-wallet {
  opacity: 1;
}

@media (max-height: 960px) {
  .watch-view-demo-wallet {
    display: none;
  }
}

@media (max-width: 1280px) {
  .watch-view-demo-wallet {
    display: none;
  }
}

.brand-lockup,
.topbar-actions {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.brand-lockup {
  gap: 16px;
  min-height: 32px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.brand-home-button,
.brand-crumb-button,
.wallet-title-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.brand-home-button {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 108px;
  height: 32px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
}

.brand-divider[hidden],
.wallet-crumb[hidden],
#faqCrumb[hidden] {
  display: none !important;
}

.brand-crumb-button,
.wallet-title-button,
#walletTitleText {
  font-size: 12px;
  line-height: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.brand-crumb-button--current {
  color: var(--text);
  cursor: default;
  pointer-events: none;
}

.brand-crumb-button,
.wallet-title-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.wallet-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}

.address-crumb {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  overflow: hidden;
  cursor: pointer;
}

.address-copy-status {
  margin: 0;
  white-space: nowrap;
}

.address-crumb-text {
  display: block;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 15px;
  font-weight: 900;
  letter-spacing: 0.4px;
  white-space: nowrap;
  transition: color var(--ease-base);
}

.address-crumb:hover .address-crumb-text,
.address-crumb:focus-visible .address-crumb-text {
  color: var(--accent);
}

.address-crumb.is-copied .address-crumb-text,
.address-crumb.is-copied:hover .address-crumb-text,
.address-crumb.is-copied:focus-visible .address-crumb-text {
  color: var(--success);
}

.address-crumb-text--full {
  max-width: min(52vw, 640px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.address-crumb-text--short {
  display: none;
  max-width: min(42vw, 420px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-title-button {
  cursor: pointer;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

#walletTitleText {
  display: block;
  min-width: 0;
  max-width: min(30vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-title-button.is-back {
  gap: 0;
}

.wallet-title-button.is-back .wallet-title-indicator {
  display: none;
}

.wallet-delete-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-base), color var(--ease-base);
}

.wallet-delete-button svg {
  width: 16px;
  height: 16px;
}

.wallet-title-indicator {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.wallet-title-button svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  display: inline-block;
  transition: opacity var(--ease-base), color var(--ease-base);
}

.wallet-title-indicator > svg,
.wallet-title-indicator > .wallet-title-caret {
  position: absolute;
  inset: 0;
  margin: auto;
  margin-left: 4px;
}

.wallet-title-button.is-editing #walletTitleIcon {
  display: none;
}

.wallet-title-button:not(.is-editing) #walletTitleCaret {
  display: none;
}

.wallet-crumb:hover .wallet-title-button svg,
.wallet-crumb:focus-within .wallet-title-button svg,
.wallet-crumb:hover .wallet-delete-button,
.wallet-crumb:focus-within .wallet-delete-button {
  opacity: 1;
}

.wallet-crumb:hover .wallet-delete-button,
.wallet-crumb:focus-within .wallet-delete-button {
  pointer-events: auto;
}

.brand-home-button:hover,
.brand-crumb-button:hover,
.wallet-title-button:hover {
  color: var(--accent);
}

.wallet-title-button:hover svg {
  opacity: 0.9;
  color: var(--accent);
}

.wallet-delete-button:hover {
  opacity: 0.9;
  color: var(--accent);
}

.wallet-delete-button[disabled] {
  cursor: default;
  opacity: 0.18;
}

.wallet-delete-button[disabled]:hover {
  color: currentColor;
}

.wallet-title-button.is-editing {
  cursor: text;
  color: var(--text);
  gap: 0px;
}

.wallet-title-button.is-editing:hover {
  color: var(--text);
}

.wallet-title-button.is-editing .wallet-title-caret {
  opacity: 1;
}

.wallet-title-button.is-editing + .wallet-delete-button {
  opacity: 0;
  pointer-events: none;
}

#walletTitleText[contenteditable="true"] {
  color: inherit;
  caret-color: transparent;
}

#walletTitleText::selection {
  background: rgba(255, 68, 0, 0.4);
}

.wallet-title-caret {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: #ffffff;
  animation: blink-caret 1s steps(1, end) infinite;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.topbar-status {
  margin: 0 8px 0 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-status.is-success {
  color: var(--success);
}

.address-copy-status {
  color: var(--success);
}

.balance-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar-actions .button.is-spinning svg {
  animation: spin 0.85s linear infinite;
}

.unit-toggle-button {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.unit-toggle-button.has-long-label {
  font-size: 12px;
  letter-spacing: 0.3px;
}

.unit-toggle-button-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  line-height: 1;
}

.button:focus-visible,
.brand-home-button:focus-visible,
.brand-crumb-button:focus-visible,
.wallet-title-button:focus-visible,
.address-crumb:focus-visible,
.wallet-delete-button:focus-visible,
.wallet-card:focus-visible,
.transaction-card-button:focus-visible,
.wallet-address-remove:focus-visible,
.field__input:focus-visible,
.settings-switch:focus-visible,
.settings-notation-radio input:focus-visible + .settings-notation-radio-control,
.settings-notation-radio input:focus-visible ~ .settings-notation-radio-label {
  outline: 2px solid rgba(255, 68, 0, 0.95);
  outline-offset: 2px;
}

#walletTitleText[contenteditable="true"]:focus,
#walletTitleText[contenteditable="true"]:focus-visible {
  outline: none;
}

.app-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  margin-bottom: 16px;
  margin-left: 32px;
  margin-right: 32px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: #ff4400;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  opacity: 1;
  overflow: hidden;
  transition:
    opacity 0.26s ease,
    height 0.26s ease,
    margin-bottom 0.26s ease,
    padding-top 0.26s ease,
    padding-bottom 0.26s ease;
  will-change: opacity, height;
}

.app-banner.is-dismissing {
  opacity: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.app-banner[hidden] {
  display: none;
}

.app-banner__text {
  min-width: 0;
  flex: 1 1 auto;
}

.app-banner__dismiss {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.app-banner__dismiss svg {
  width: 16px;
  height: 16px;
}

.app-banner__dismiss:hover {
  background: rgba(0, 0, 0, 0.16);
}

.app-banner__dismiss:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.app-banner.is-warning {
  border: 0 !important;
  outline: 0;
  box-shadow: none;
  background: #ff4400;
  color: #ffffff;
}

.app-banner.is-error {
  border: 0 !important;
  outline: 0;
  box-shadow: none;
  background: #ff4400;
  color: #ffffff;
}

.app-banner.is-success {
  background: rgba(125, 229, 147, 0.5);
  color: #ffffff;
}

.layout {
  display: flex;
  flex-direction: column;
  padding-bottom: 104px;
}

.wallets-overview,
.wallet-detail,
.faq-view {
  padding: 32px 32px 0;
}

.overview-copy {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-view {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.faq-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.faq-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 128px;
  padding: 24px;
  z-index: 0;
  border-color: rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.88), rgba(20, 20, 20, 0.88));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    border-color var(--ease-base),
    background var(--ease-base),
    transform var(--ease-base),
    box-shadow var(--ease-base);
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: -18% -10% -18% 38%;
  background:
    radial-gradient(ellipse 80% 110% at 100% 50%, rgba(255, 68, 0, 0.22), transparent 66%),
    linear-gradient(90deg, rgba(255, 68, 0, 0), rgba(255, 68, 0, 0.08));
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--ease-base), transform var(--ease-base);
}

.faq-card:hover {
  z-index: 60;
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 68, 0, 0.65);
  background:
    linear-gradient(180deg, rgba(33, 24, 20, 0.96), rgba(20, 18, 17, 0.96)),
    radial-gradient(circle at 100% 0, rgba(255, 68, 0, 0.18), transparent 34%);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 68, 0, 0.06) inset,
    0 0 80px rgba(255, 68, 0, 0.18);
}

.faq-card:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.faq-card-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  color: var(--accent);
  opacity: 0.96;
}

.faq-card-icon svg {
  display: block;
  width: 64px;
  height: 64px;
}

.faq-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.faq-card-question {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.faq-card-answer {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 21px;
}

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

.wallet-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 128px;
  padding: 28px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  text-align: center;
  transition:
    transform var(--ease-slow),
    border-color var(--ease-slow),
    box-shadow var(--ease-slow),
    background var(--ease-slow);
}

.wallet-card.has-mini-chart,
.wallet-card.has-chart-placeholder {
  min-height: 152px;
  border-color: rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.wallet-card::before,
.wallet-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

.wallet-card::before {
  inset: 0;
  background:
    radial-gradient(circle at 80% 100%, rgba(255, 68, 0, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(255, 68, 0, 0.08), transparent 70%);
}



.wallet-card:hover,
.wallet-card:focus-visible {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 68, 0, 0.65);
  background: rgba(36, 26, 22, 0.96);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 68, 0, 0.16);
}

.wallet-card:hover::before,
.wallet-card:hover::after,
.wallet-card:focus-visible::before,
.wallet-card:focus-visible::after {
  opacity: 1;
}

.wallet-card:hover::after,
.wallet-card:focus-visible::after {
  transform: translateY(0);
}

.wallet-card-name {
  position: relative;
  z-index: 1;
}

.wallet-card-stats {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.wallet-card-chart {
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
}

.wallet-card-chart--placeholder {
  opacity: 1;
}

.wallet-card-chart--placeholder::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 102, 0, 0.22), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.05), transparent 28%);
  opacity: 0.55;
  animation: wallet-card-chart-pulse 2.4s ease-in-out infinite;
}

.wallet-card-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.06), rgba(12, 12, 12, 0.16));
}

.wallet-card-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wallet-card-chart-svg--placeholder {
  opacity: 0.94;
  animation: wallet-card-chart-pulse 2.4s ease-in-out infinite;
}

.wallet-card-chart-placeholder-area {
  fill: rgba(255, 98, 0, 0.1);
}

.wallet-card-chart-placeholder-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-card-chart-placeholder-line--glow {
  stroke: rgba(255, 113, 49, 0.16);
  stroke-width: 10;
}

.wallet-card-chart-placeholder-line--dotted {
  stroke: rgba(255, 122, 54, 0.88);
  stroke-width: 3.5;
  stroke-dasharray: 0.01 12;
  stroke-dashoffset: 0;
  animation:
    wallet-card-chart-drift 18s linear infinite,
    wallet-card-chart-pulse 2.4s ease-in-out infinite;
}

.wallet-card-balance--loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
}

.wallet-card-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.wallet-card-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.wallet-card-secondary {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.wallet-card-secondary-text {
  transition: opacity var(--ease-base), transform var(--ease-base);
}

.wallet-card-secondary-text--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(4px);
  color: rgba(255, 255, 255, 0.9);
}

.wallet-card.has-empty-state:hover .wallet-card-secondary-text--default,
.wallet-card.has-empty-state:focus-visible .wallet-card-secondary-text--default {
  opacity: 0;
  transform: translateY(-4px);
}

.wallet-card.has-empty-state:hover .wallet-card-secondary-text--hover,
.wallet-card.has-empty-state:focus-visible .wallet-card-secondary-text--hover {
  opacity: 1;
  transform: translateY(0);
}

.wallet-card--action {
  border-style: dashed;
  border-color: rgba(255, 68, 0, 0.68);
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.6), rgba(10, 10, 10, 0.5)),
    radial-gradient(circle at 82% 100%, rgba(255, 68, 0, 0.28), transparent 40%);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(255, 68, 0, 0.12);
}

.wallet-card--placeholder {
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

.wallet-detail {
  width: 100%;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.detail-column {
  min-width: 0;
}

.detail-column-activity,
.detail-column-sidebar {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.wallet-balance-primary {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.wallet-balance-primary-symbol {
  color: var(--text-muted);
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transaction-more-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

.transaction-more-controls[hidden] {
  display: none;
}

.transaction-more-button {
  align-self: flex-start;
}

.transaction-limit-note {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  line-height: 14.3px;
  font-weight: 500;
}

.transaction-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.transaction-card-button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid var(--line-soft);
  color: inherit;
  text-align: left;
  transform-origin: center;
  transition:
    transform var(--ease-fast),
    border-color var(--ease-base),
    box-shadow var(--ease-base),
    background-color var(--ease-base);
}

.transaction-card-button:hover {
  transform: scale(1.012);
  border-color: rgba(255, 68, 0, 0.32);
  background: linear-gradient(180deg, rgba(36, 36, 36, 0.98), rgba(24, 24, 24, 0.98));
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 68, 0, 0.08) inset;
}

.transaction-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.transaction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 68, 0, 0.16);
  color: var(--accent);
  flex: 0 0 auto;
}

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

.transaction-copy {
  min-width: 0;
}

.transaction-title {
  display: block;
}

.transaction-meta {
  display: block;
  font-weight: 500;
}

.transaction-side {
  text-align: right;
  flex: 0 0 auto;
}

.transaction-primary-amount {
  display: block;
  white-space: nowrap;
}

.transaction-secondary-amount {
  display: block;
  white-space: nowrap;
}

.transaction-amount-sign {
  color: var(--text-muted);
}

.section-head,
.metric-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-head {
  margin-bottom: 16px;
}

.metric-head {
  margin-bottom: 16px;
}

.section-head--compact {
  margin-bottom: 8px;
}

.chart-title {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.wallet-chart-title-symbol {
  color: var(--text-muted);
}

.wallet-chart-growth {
  margin-left: auto;
  white-space: nowrap;
}

.wallet-chart-growth.is-confirmed {
  color: #75bf72;
}

.wallet-chart-growth.is-negative {
  color: #ff4400;
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.wallet-chart-card {
  padding: 16px;
}

.wallet-chart-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
}

.wallet-chart-tab {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0 0 8px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  transition: color var(--ease-base);
}


.wallet-chart-tab:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.72);
}

.wallet-chart-tab.is-active {
  color: var(--text);
}

.wallet-chart-stage {
  position: relative;
  min-height: 244px;
  height: 244px;
  margin-top: 0;
  overflow: visible;
  border-radius: 0 0 8px 8px;
  cursor: crosshair;
  touch-action: pan-y;
}

.wallet-chart-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 36px;
  pointer-events: none;
  opacity: 0;
}

.wallet-chart-stage[data-tone="up"]::before {
  opacity: 1;
  background: radial-gradient(circle at 50% 100%, rgba(125, 191, 114, 0.18), transparent 70%);
}

.wallet-chart-stage[data-tone="down"]::before {
  opacity: 1;
  background: radial-gradient(circle at 50% 100%, rgba(255, 68, 0, 0.18), transparent 70%);
}

.wallet-chart-loader {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.wallet-chart-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.06), rgba(12, 12, 12, 0.16));
}

.detail-block {
  min-width: 0;
}

.wallet-facts-widget {
  display: flex;
  flex-direction: column;
}

.wallet-facts-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-height: 72px;
  min-width: 0;
  padding: 32px;
  box-sizing: border-box;
  overflow: hidden;
}

.wallet-facts-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 92% 50%, rgba(255, 68, 0, 0.22), transparent 72%);
  pointer-events: none;
}

.wallet-facts-card > * {
  position: relative;
  z-index: 1;
}

.wallet-facts-copy {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--accent);
  font-size: 28px;
  line-height: 28px;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-mobile-widget {
  display: flex;
  flex-direction: column;
}

.wallet-mobile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wallet-mobile-link {
  display: block;
  width: auto;
  height: 48px;
  border-radius: 8px;
  transition:
    opacity var(--ease-base),
    transform var(--ease-base);
}

.wallet-mobile-link:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}

.wallet-mobile-link:focus-visible {
  outline: 2px solid rgba(255, 68, 0, 0.95);
  outline-offset: 3px;
}

.wallet-mobile-link img {
  width: auto;
  height: 48px;
}

.wallet-mobile-heading-link {
  color: inherit;
  text-decoration: none;
}

.wallet-mobile-heading-link:hover {
  color: inherit;
}

.wallet-mobile-heading-link:focus-visible {
  outline: 2px solid rgba(255, 68, 0, 0.95);
  outline-offset: 3px;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
}

.address-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 18px;
  align-items: center;
  column-gap: 24px;
  width: 100%;
  max-width: none;
  padding: 3px 0;
}

.address-open-button {
  appearance: none;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.address-open-button:focus-visible {
  outline: none;
}

.address-value {
  min-width: 0;
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 12px 28px rgba(0, 0, 0, 0.9);
  transition: color var(--ease-base);
}

.address-open-button:hover .address-value,
.address-open-button:focus-visible .address-value {
  color: var(--accent);
}

.address-balance {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.address-balance-value {
  display: block;
  width: 100%;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 12px 28px rgba(0, 0, 0, 0.9);
}

.address-balance-loading {
  display: inline-flex;
  align-items: center;
  min-width: 20px;
}

.address-balance-spinner {
  width: 11px;
  height: 11px;
}

.wallet-address-remove {
  appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  filter:
    drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.9));
}

.wallet-address-remove:hover {
  color: var(--accent);
}

.wallet-address-remove svg {
  width: 18px;
  height: 18px;
}

.wallet-add-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.address-empty-warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--accent);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  transition:
    max-height var(--ease-base),
    opacity var(--ease-base);
}

.address-empty-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.address-empty-warning-icon svg {
  width: 14px;
  height: 14px;
}

.wallet-add-row:has(#walletAddressInput:focus) + .address-empty-warning {
  max-height: 24px;
  opacity: 1;
}

.address-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.address-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.address-tag-remove {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.address-tag-remove svg {
  width: 12px;
  height: 12px;
}

.address-tag-remove:focus-visible,
.address-tag-remove:hover {
  opacity: 0.8;
}

.wallet-add-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.wallet-add-row .field {
  flex: 1 1 auto;
}

.form-feedback {
  width: min(calc(100vw - 64px), 1280px);
  max-width: 100%;
  margin-inline: auto;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  opacity: 1;
  transition: opacity 300ms ease;
}

.form-feedback.is-success {
  background: rgba(125, 229, 147, 0.5);
  color: #ffffff;
  border: 0;
}

.form-feedback.is-error {
  background: #ff4400;
  color: #ffffff;
  border: 0;
}

.form-feedback.is-fading {
  opacity: 0;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sparkline-axis-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.sparkline-guide-line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.sparkline-axis-label {
  fill: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.sparkline-axis-label--x {
  dominant-baseline: auto;
}

.sparkline-empty {
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 18px;
}

.sparkline-interaction {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkline-hover-line {
  position: absolute;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-0.5px);
}

.sparkline-hover-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #7de593;
  box-shadow:
    0 0 0 4px rgba(125, 229, 147, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.wallet-chart-stage[data-tone="down"] .sparkline-hover-dot {
  background: #ff4400;
  box-shadow:
    0 0 0 4px rgba(255, 68, 0, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.sparkline-tooltip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 132px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(14, 14, 14, 0.96);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.sparkline-tooltip-value {
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.sparkline-tooltip-time {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.modal--chart {
  z-index: 79;
}

.modal--transaction {
  z-index: 80;
}

.modal--settings {
  z-index: 81;
}

.modal__card {
  position: relative;
  width: min(100%, 640px);
  padding: 24px;
  border-radius: 24px;
  background: var(--surface-modal);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.modal__card--wide {
  width: min(100%, 1280px);
}

.modal__card--padded-lg {
  padding: 32px;
}

.modal__head,
.chart-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.settings-modal-body {
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -0.6px;
}


.settings-wrapper {
  margin-top: 32px;
  margin-bottom: 32px;
}

.settings-preference {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  padding-top: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-preference-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.settings-preference-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  min-width: 0;
}

.settings-preference-note {
  margin: 0 0 0 24px;
  max-width: 420px;
  color: rgba(255, 191, 143, 0.72);
  font-size: 12px;
  line-height: 16px;
}

.settings-preference-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  overflow: visible;
}

.settings-preference-icon svg {
  width: 16px;
  height: 16px;
}

.settings-preference-icon--accent {
  color: var(--accent);
}

.settings-preference-icon--bitcoin {
  width: 16px;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.settings-switch {
  appearance: none;
  position: relative;
  width: 52px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3a3a3a;
  transition:
    background-color var(--ease-base),
    box-shadow var(--ease-base),
    transform var(--ease-base);
}

.settings-switch.is-on {
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 68, 0, 0.2) inset;
}

.settings-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  transition: transform var(--ease-base);
}

.settings-switch.is-on .settings-switch-thumb {
  transform: translateX(20px);
}

.settings-notation-radios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 284px);
  flex: 0 0 284px;
  min-width: 0;
}

.settings-fiat-radios {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 420px);
  flex: 0 1 420px;
}

.settings-notation-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}

.settings-notation-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-notation-radio-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  transition:
    border-color var(--ease-base),
    background-color var(--ease-base);
}

.settings-notation-radio-control::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  transform: scale(0);
  transition: transform var(--ease-base);
}

.settings-notation-radio-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  transition: color var(--ease-base);
}

.settings-notation-radio input:checked + .settings-notation-radio-control {
  border-color: var(--accent);
}

.settings-notation-radio input:checked + .settings-notation-radio-control::after {
  transform: scale(1);
}

.settings-notation-radio input:checked ~ .settings-notation-radio-label {
  color: var(--text);
}

.settings-modal-actions {
  display: flex;
  gap: 16px;
  padding-top: 8px;
  align-items: stretch;
}

.chart-modal-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.chart-modal-chart-card {
  padding: 20px;
}

.chart-modal-stage {
  min-height: min(68vh, 620px);
  height: min(68vh, 620px);
}

.transaction-modal-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.transaction-modal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.transaction-modal-collapsed-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: 260px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height var(--ease-medium),
    opacity var(--ease-medium),
    transform var(--ease-medium);
}

.transaction-modal-body.is-technical-expanded .transaction-modal-collapsed-stack {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.transaction-modal-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.transaction-modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.transaction-modal-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.transaction-modal-amounts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  min-width: 76px;
  text-align: right;
}

.transaction-modal-primary {
  font-size: 28px;
  line-height: 28px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.transaction-modal-metadata {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.transaction-metadata-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-metadata-value-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  color: var(--text);
}

.transaction-metadata-value-row.is-confirmed {
  color: #75bf72;
}

.transaction-metadata-value-row.is-pending {
  color: var(--warning);
}

.transaction-metadata-value-row.is-negative {
  color: #ff4400;
}

.transaction-metadata-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.transaction-metadata-icon svg {
  width: 16px;
  height: 16px;
}

.transaction-metadata-icon--accent {
  color: var(--accent);
}

.transaction-modal-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.transaction-technical-section {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    grid-template-rows var(--ease-medium),
    opacity var(--ease-medium),
    transform var(--ease-medium);
}

.transaction-technical-section.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.transaction-technical-section.is-collapsing {
  pointer-events: none;
}

.transaction-technical-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.transaction-technical-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.transaction-technical-group {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-technical-group:last-child {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-technical-heading {
  margin: 0 0 12px;
}

.transaction-technical-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transaction-technical-value,
.transaction-technical-address {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.transaction-technical-address-button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.transaction-technical-value--mono {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
}

.transaction-technical-address.is-highlighted {
  color: var(--accent);
}

.transaction-technical-address-button.is-highlighted:hover,
.transaction-technical-address-button.is-highlighted:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.skeleton-card,
.skeleton-line {
  position: relative;
  overflow: hidden;
}

.skeleton-card::after,
.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-transaction {
  height: 72px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 68, 0, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 18px rgba(255, 68, 0, 0.08);
}

.skeleton-growth {
  height: 256px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.app-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: 100vw;
  padding: 32px;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
}

.app-footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.progressive-blur-container--footer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.progressive-blur-container--footer > .blur-filter,
.progressive-blur-container--footer > .gradient {
  position: absolute;
  inset: 0;
}

.progressive-blur-container--footer > .blur-filter:nth-child(1) {
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 40%
  );
  mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 40%
  );
}

.progressive-blur-container--footer > .blur-filter:nth-child(2) {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 50%
  );
  mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 50%
  );
}

.progressive-blur-container--footer > .blur-filter:nth-child(3) {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 15%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 60%
  );
  mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 15%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 60%
  );
}

.progressive-blur-container--footer > .blur-filter:nth-child(4) {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 70%
  );
  mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 70%
  );
}

.progressive-blur-container--footer > .blur-filter:nth-child(5) {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 90%
  );
  mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 90%
  );
}

.progressive-blur-container--footer > .blur-filter:nth-child(6) {
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 80%);
  mask-image: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 80%);
}

.progressive-blur-container--footer > .blur-filter:nth-child(7) {
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%);
}

.progressive-blur-container--footer > .gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.3);
}

.app-footer::before {
  display: none;
}

.app-footer::after {
  display: none;
}

.app-footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  pointer-events: auto;
}

.app-footer-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  line-height: 14.3px;
}

.app-footer-copy span + span {
  margin-top: 2px;
}

.app-footer-copy span a {
  color: rgba(255, 68, 0, 0.64);
  text-decoration: none;
}

.app-footer-copy span a:hover {
  color: #ff4400;
  opacity: 1;
}

.app-footer-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 19px;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: auto;
}

.app-footer-price__reference {
  color: var(--accent);
}

.app-footer-price__equals {
  color: rgba(255, 255, 255, 0.5);
}

.app-footer-price__value {
  color: var(--text);
}

.app-footer-copy a {
  font-weight: 700;
  text-decoration: none;
}

.app-footer-copy a:hover {
  color: #ff6b36;
}

/* Terms of use */

.legal-page {
  background: #000000;
}

.legal-page::before,
.legal-page::after,
.legal-page .app-shell::before,
.legal-page .app-shell::after {
  display: none;
}

.legal-page .app-shell {
  padding-bottom: 0;
}

.legal-page .brand-crumb-button {
  text-decoration: none;
}

.legal-layout {
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.legal-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.legal-effective-date {
  color: var(--text);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}

.legal-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0 48px;
}

.legal-page p,
.legal-page li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.58;
}

.legal-page strong {
  color: var(--text);
}

.legal-notice {
  margin: 0;
  padding: 20px 20px 20px 44px;
  border: 1px solid rgba(255, 68, 0, 0.32);
  border-radius: var(--radius-lg);
  background: rgba(255, 68, 0, 0.08);
}

.legal-notice li {
  padding-left: 4px;
  color: rgba(255, 255, 255, 0.88);
}

.legal-notice--compact {
  margin-bottom: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.legal-sections,
.legal-clauses,
.legal-subclauses {
  margin: 0;
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-left: 32px;
}

.legal-sections > li {
  padding-left: 12px;
}

.legal-sections > li::marker {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.legal-section {
  scroll-margin-top: 104px;
}

.legal-section h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -0.7px;
}

.legal-section-lead {
  margin-bottom: 20px;
  color: var(--text-muted) !important;
  font-style: italic;
}

.legal-section > p + p,
.legal-subsection > p + p {
  margin-top: 14px;
}

.legal-clauses {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 24px;
}

.legal-clauses > li,
.legal-subclauses > li {
  padding-left: 6px;
}

.legal-clauses > li::marker,
.legal-subclauses > li::marker {
  color: var(--text-soft);
  font-weight: 700;
}

.legal-subclauses {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 0 22px;
}

.legal-clause-heading {
  color: var(--text);
  font-weight: 700;
}

.legal-subsection {
  margin-top: 24px;
}

.legal-subsection h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  line-height: 23px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.legal-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.legal-bullets > li {
  padding-left: 4px;
}

.legal-bullets > li::marker {
  color: var(--accent);
}

.legal-table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  width: 50%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 19px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--text);
  background: rgba(255, 68, 0, 0.12);
  font-weight: 800;
}

.legal-table-empty {
  color: var(--text-soft);
}

.legal-footer {
  padding: 32px;
  border-top: 1px solid var(--line);
}

.legal-footer p {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 16px;
}

.legal-footer a {
  color: var(--text-muted);
  font-weight: 700;
  text-decoration: none;
}

.legal-footer a:hover {
  color: var(--accent);
}

.legal-footer-links {
  display: flex;
  gap: 12px;
  margin: 0;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes wallet-card-chart-pulse {
  0%,
  100% {
    opacity: 0.48;
  }

  50% {
    opacity: 1;
  }
}

@keyframes wallet-card-chart-drift {
  100% {
    stroke-dashoffset: -240;
  }
}

@keyframes wallet-card-chart-sweep {
  100% {
    transform: translateX(100%);
  }
}

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

@keyframes blink-caret {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  h2 {
    font-size: 38px;
    line-height: 38px;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 16px 20px;
  }

  .address-crumb-text--full {
    display: none;
  }

  .address-crumb-text--short {
    display: block;
  }

  .wallets-overview,
  .wallet-detail,
  .faq-view {
    padding: 24px 20px 0;
  }

  .wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .wallet-card--placeholder {
    display: none;
  }

  .detail-columns {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  h2 {
    font-size: 34px;
    line-height: 34px;
  }

  .chart-title {
    white-space: normal;
  }

  .wallet-facts-copy {
    font-size: 24px;
    line-height: 24px;
  }

  .transaction-modal-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-preference-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .settings-switch {
    align-self: flex-end;
  }

  .settings-fiat-radios {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-preference-note {
    margin-left: 0;
    max-width: none;
  }

  .chart-modal-toolbar {
    align-items: stretch;
  }

  .transaction-modal-amounts {
    align-items: flex-start;
    text-align: left;
  }

  .transaction-modal-metadata,
  .transaction-technical-metadata {
    grid-template-columns: 1fr;
  }

  .transaction-modal-actions {
    flex-direction: column;
  }

  .button--fit {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  body::before {
    width: 52vw;
  }

  body::after {
    background-position: right -24px top -140px;
    background-size: 230%;
  }

  .app-shell::after {
    display: none;
  }

  .watch-view-demo-wallet {
    left: 12px;
    bottom: 132px;
    width: min(280px, 52vw);
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    min-height: auto;
    padding: 14px 16px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .wallets-overview,
  .wallet-detail,
  .faq-view {
    padding: 24px 16px 0;
  }

  .copy-highlight-button {
    display: inline;
  }

  .overview-intro-lead {
    white-space: nowrap;
  }

  .modal--chart {
    padding: 16px;
  }

  .modal--settings {
    align-items: flex-start;
    padding: 12px;
  }

  .modal__card--wide {
    padding: 20px;
  }

  .modal__card--padded-lg {
    padding: 20px;
  }

  .settings-modal-card {
    width: 100%;
    max-height: calc(100dvh - 24px);
    overflow: hidden;
    border-radius: 22px;
  }

  .settings-modal-toolbar {
    margin-bottom: 14px;
  }

  .settings-modal-body {
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
  }

  .settings-modal-body .modal-title {
    font-size: 26px;
    line-height: 27px;
    letter-spacing: -0.7px;
  }

  .settings-wrapper {
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .settings-preference {
    gap: 14px;
    padding: 18px 0;
  }

  .settings-preference-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .settings-preference-copy {
    gap: 10px;
    flex: none;
    min-width: 0;
  }

  .settings-preference-copy .text-value-sm {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .settings-preference--choice .settings-preference-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .settings-preference-icon {
    width: 20px;
    height: 20px;
  }

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

  .settings-preference-icon--bitcoin {
    width: 20px;
    font-size: 22px;
  }

  .settings-switch {
    align-self: auto;
    flex: 0 0 auto;
  }

  .settings-notation-radios,
  .settings-fiat-radios {
    flex: 1 1 auto;
    width: 100%;
  }

  .settings-notation-radios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .settings-fiat-radios {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-notation-radio {
    min-height: 44px;
    padding: 10px 0;
  }

  .settings-notation-radio-control {
    width: 18px;
    height: 18px;
  }

  .settings-notation-radio-control::after {
    width: 8px;
    height: 8px;
  }

  .settings-notation-radio-label {
    font-size: 15px;
    line-height: 18px;
  }

  .settings-modal-actions {
    flex-direction: column-reverse;
    gap: 10px;
    padding-top: 0;
  }

  .chart-modal-stage {
    min-height: min(56vh, 480px);
    height: min(56vh, 480px);
  }

  .layout {
    padding-bottom: 132px;
  }

  .legal-layout {
    padding: 32px 16px 56px;
  }

  .legal-hero {
    padding-bottom: 28px;
  }

  .legal-intro {
    padding: 28px 0 40px;
  }

  .legal-page p,
  .legal-page li {
    font-size: 15px;
    line-height: 1.55;
  }

  .legal-sections {
    gap: 44px;
    padding-left: 24px;
  }

  .legal-sections > li {
    padding-left: 6px;
  }

  .legal-section h2 {
    font-size: 24px;
    line-height: 26px;
  }

  .legal-clauses {
    padding-left: 20px;
  }

  .legal-footer {
    padding: 24px 16px;
  }

  p {
    font-size: 15px;
    line-height: 20px;
  }

  .wallet-add-row {
    flex-direction: column;
  }

  .button--pill {
    width: 100%;
  }

  .address-row {
    grid-template-columns: minmax(0, 1fr) 120px 18px;
    column-gap: 16px;
  }

  .wallet-facts-card {
    align-items: flex-start;
  }

  .transaction-card {
    padding: 14px;
  }

  .app-footer {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100vw;
    padding: 24px 16px 16px;
    margin-top: auto;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .app-footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .progressive-blur-container--footer > .gradient {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.78) 48%,
      rgba(0, 0, 0, 1) 100%
    );
    box-shadow: 0 -22px 56px rgba(0, 0, 0, 0.42);
  }

  .app-footer-copy {
    max-width: none;
  }

  .app-footer-copy span {
    display: inline;
  }

  .app-footer-copy span + span {
    margin-top: 0;
  }

  .app-footer-price {
    font-size: 17px;
    justify-content: flex-start;
    text-align: left;
  }

  .modal--transaction {
    padding: 16px;
  }

  .modal__card--compact {
    padding: 20px;
  }

  .transaction-metadata-cell {
    padding-bottom: 14px;
  }
}

@media (max-width: 560px) {
  body::after {
    background-position: right -32px top -180px;
    background-size: 270%;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .brand-lockup {
    gap: 12px;
  }

  .brand-logo {
    width: 92px;
    height: 28px;
  }

  .brand-crumb-button,
  .wallet-title-button,
  #walletTitleText {
    font-size: 11px;
    letter-spacing: 2.4px;
  }

  h2 {
    font-size: 32px;
    line-height: 32px;
  }

  .wallet-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-grid {
    gap: 16px;
  }

  .faq-view {
    gap: 24px;
  }

  .faq-card {
    min-height: 0;
    padding: 20px;
    gap: 18px;
  }

  .faq-card-question {
    font-size: 18px;
    line-height: 22px;
  }

  .wallet-card {
    min-height: 96px;
    padding: 24px 20px;
  }

  .wallet-card.has-mini-chart,
  .wallet-card.has-chart-placeholder {
    min-height: 96px;
  }

  .address-row {
    grid-template-columns: minmax(0, 1fr) 104px 18px;
    column-gap: 12px;
  }

  .transaction-card {
    flex-direction: row;
    align-items: center;
  }

  .transaction-side {
    text-align: right;
  }

  .modal-title,
  .transaction-modal-primary {
    font-size: 24px;
  }

  .button--icon-sm {
    width: 36px;
    height: 36px;
  }

  
}
