:root {
  --bg: #111311;
  --panel: #1f211f;
  --panel-soft: #2a2d29;
  --card: #202320;
  --card-deep: #0f120f;
  --text: #f5f5f1;
  --muted: #c7c8c2;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #a6f06d;
  --accent-strong: #275f08;
  --accent-dark: #1f4d07;
  --danger-soft: #ff9ca9;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(98, 123, 65, 0.15), transparent 26%),
    linear-gradient(180deg, #121412 0%, #0d0f0d 100%);
  color: var(--text);
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.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 {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(360px, 460px);
  align-items: start;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3vw, 40px) 20px;
}

.preview-panel {
  position: sticky;
  top: 24px;
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.25rem);
  line-height: 0.95;
}

.preview-copy p {
  margin: 18px 0 0;
  max-width: 34ch;
  color: #d2d4ce;
  font-size: 1.03rem;
  line-height: 1.5;
}

.screen-switcher {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.switch-btn {
  min-width: 104px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #d7d8d2;
  font-weight: 700;
}

.switch-btn.is-active {
  background: var(--accent);
  color: #121410;
}

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.phone-frame {
  width: min(100%, 420px);
  min-width: 0;
  border-radius: 46px;
  padding: 14px;
  background: linear-gradient(180deg, #232622 0%, #111311 100%);
  box-shadow: var(--shadow);
}

.phone-screen {
  display: none;
  min-height: 860px;
  min-height: 100dvh;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
}

.phone-screen.is-active {
  display: block;
}

.screen-home.is-active {
  display: flex;
  flex-direction: column;
}

.screen-balance.is-active {
  display: flex;
  flex-direction: column;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.battery-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f5f6f0;
  color: #111311;
  font-size: 1rem;
}

.top-actions {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 68px 1fr 68px 68px;
  gap: 14px;
  align-items: center;
  padding: 12px 18px 18px;
  background: rgba(26, 29, 26, 0.96);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
}

.icon-badge {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.icon-badge svg,
.row-icon svg,
.back-button svg,
.nav-item svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-badge {
  font-size: 1.22rem;
  font-weight: 700;
}

.user-badge i {
  position: absolute;
  top: 4px;
  right: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger-soft);
  border: 3px solid #2a2d29;
}

.cta-pill {
  height: 68px;
  border-radius: 999px;
  background: var(--accent);
  color: #121410;
  font-size: 1.06rem;
  font-weight: 800;
}

.transactions,
.calculator,
.explore {
  padding: 0 18px;
}

.home-feed {
  padding-bottom: 18px;
}

.home-panel {
  display: none;
}

.home-panel.is-active {
  display: block;
}

.section-heading,
.transaction-row,
.updates-row,
.balance-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.section-heading {
  margin-top: 12px;
  margin-bottom: 12px;
}

.section-heading h2,
.calculator h2,
.explore h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.transaction-row {
  gap: 16px;
  padding: 18px 0;
}

.transaction-item {
  width: 100%;
  text-align: left;
}

.transaction-item.is-hidden {
  display: none;
}

.row-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.row-icon.outline {
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #f4f4ef;
}

.row-icon.brand {
  background: #00be4d;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
}

.row-copy h3,
.balance-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.row-copy p,
.balance-card p {
  margin: 6px 0 0;
  color: #dadbd5;
  font-size: 0.98rem;
  line-height: 1.35;
}

.row-meta {
  text-align: right;
  min-width: 0;
}

.row-meta strong {
  display: block;
  font-size: 1.06rem;
}

.row-meta span {
  display: block;
  margin-top: 8px;
  color: #d9dad4;
}

.chart-card {
  margin-top: 18px;
  padding: 22px 18px 18px;
  border-radius: 28px;
  background: var(--panel-soft);
}

.chart-wrap {
  position: relative;
  padding-right: 42px;
}

.chart-svg {
  width: 100%;
  height: 180px;
  display: block;
}

.grid line {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-dasharray: 4 7;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-point {
  fill: var(--accent);
  stroke: var(--panel-soft);
  stroke-width: 4;
}

.chart-label {
  position: absolute;
  right: 0;
  color: #ededeb;
  font-size: 0.92rem;
}

.chart-label-top {
  top: 8px;
}

.chart-label-mid {
  top: 68px;
}

.chart-label-bottom {
  bottom: 12px;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  color: #efefeb;
  font-size: 0.94rem;
}

.rate-copy {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rate-refresh {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(166, 240, 109, 0.12);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.rate-refresh:disabled {
  opacity: 0.55;
  cursor: wait;
}

.rate-meta {
  margin: 0 0 18px;
  color: #cfd1ca;
  font-size: 0.9rem;
}

.currency-picker-card {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.currency-picker-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.currency-picker-head p {
  margin: 6px 0 0;
  color: #cfd1ca;
  font-size: 0.92rem;
}

.exchange-preview {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(166, 240, 109, 0.08);
}

.exchange-preview-label {
  display: block;
  margin-bottom: 6px;
  color: #cfd1ca;
  font-size: 0.86rem;
}

.exchange-preview strong {
  font-size: 1rem;
}

.conversion-card {
  padding: 16px;
  border-radius: 28px;
  background: var(--card);
}

.currency-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 16px;
  border-radius: 24px;
  background: #101310;
  gap: 12px;
}

.currency-input + .currency-input {
  margin-top: 16px;
}

.amount-input {
  width: 100%;
  min-width: 0;
  padding-right: 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.currency-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.currency-side-label {
  color: #cfd1ca;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.currency-chip {
  min-height: 54px;
  padding: 0;
  border-radius: 16px;
}

.currency-chip:hover {
  background: rgba(166, 240, 109, 0.08);
}

.flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.flag-ca {
  position: relative;
  background:
    linear-gradient(90deg, #d31f2d 0 28%, #fff 28% 72%, #d31f2d 72% 100%);
}

.flag-leaf {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 14px;
  background: #d31f2d;
  transform: translate(-50%, -50%);
  clip-path: polygon(
    50% 0%,
    58% 15%,
    74% 10%,
    67% 28%,
    84% 34%,
    67% 46%,
    74% 64%,
    56% 58%,
    50% 100%,
    44% 58%,
    26% 64%,
    33% 46%,
    16% 34%,
    33% 28%,
    26% 10%,
    42% 15%
  );
}

.flag-th {
  background:
    linear-gradient(180deg, #ab1f3b 0 18%, #fff 18% 34%, #2f3498 34% 66%, #fff 66% 82%, #ab1f3b 82% 100%);
}

.flag-us {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      180deg,
      #b22234 0 2.4px,
      #ffffff 2.4px 4.8px
    );
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 44%;
  height: 50%;
  border-top-left-radius: 999px;
  border-bottom-right-radius: 5px;
  background: #3c3b6e;
}

.flag-us::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  background:
    radial-gradient(circle, rgba(255,255,255,1) 0 1.1px, transparent 1.45px) 0 0 / 3.8px 3.8px,
    radial-gradient(circle, rgba(255,255,255,1) 0 1.1px, transparent 1.45px) 1.9px 1.9px / 3.8px 3.8px;
  opacity: 1;
}

.flag-eur {
  background: #21409a;
}

.flag-gbp {
  background: linear-gradient(135deg, #1f3f95 0%, #1f3f95 100%);
}

.flag-jpy {
  position: relative;
  background: #fff;
}

.flag-jpy::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #bc002d;
}

.flag-aud {
  background: linear-gradient(135deg, #012169 0%, #012169 100%);
}

.swap-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -12px auto;
  border-radius: 50%;
  background: #2c302c;
  color: var(--accent);
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  padding: 18px 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}

.info-strip div {
  text-align: center;
}

.info-strip div:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.info-strip span {
  display: block;
  color: #d0d2cc;
  margin-bottom: 8px;
}

.info-strip strong {
  display: block;
  font-size: 0.98rem;
}

.send-btn {
  width: 100%;
  margin-top: 18px;
  min-height: 88px;
  border-radius: 999px;
  background: var(--accent);
  color: #151713;
  font-size: 1.7rem;
  font-weight: 700;
}

.updates-row {
  gap: 16px;
  padding: 20px 18px 10px;
  width: calc(100% - 36px);
  margin: 0 18px;
  text-align: left;
}

.updates-copy {
  font-size: 1.12rem;
  font-weight: 700;
}

.updates-row.is-on .updates-copy {
  color: var(--accent);
}

.chevron {
  font-size: 2rem;
  color: #f0f1eb;
}

.promo-card {
  position: relative;
  margin-top: 18px;
  min-height: 506px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #2e6509 0%, #245105 100%);
}

.promo-card.is-hidden {
  display: none;
}

.promo-copy {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  padding: 28px 26px 0;
}

.promo-copy h3 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.promo-copy p {
  margin: 20px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 18ch;
}

.promo-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(237, 239, 230, 0.92);
  color: #1c1f1b;
  font-size: 2.5rem;
  line-height: 1;
}

.promo-art {
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
}

.paper {
  position: absolute;
  bottom: -10px;
  width: 220px;
  height: 260px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.05)),
    linear-gradient(135deg, #e3ff4d 0%, #7ade23 44%, #fff351 100%);
  box-shadow: inset 0 0 30px rgba(61, 79, 0, 0.25);
}

.paper::before,
.paper::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 34px;
  height: 12px;
  border-radius: 8px;
  background: rgba(31, 55, 11, 0.64);
}

.paper::before {
  top: 98px;
}

.paper::after {
  top: 126px;
}

.paper-a {
  right: 82px;
  transform: rotate(-12deg);
}

.paper-b {
  right: -6px;
  bottom: 36px;
  transform: rotate(6deg);
  filter: brightness(0.9);
}

.promo-arrow {
  position: absolute;
  right: 26px;
  bottom: 34px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1d18;
  font-size: 3rem;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 10px 18px;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.06);
}

.utility-panel {
  padding: 20px 18px 0;
}

.panel-head h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.panel-head p {
  margin: 10px 0 22px;
  color: #d4d6cf;
  line-height: 1.5;
}

.mini-card,
.mini-list-row {
  padding: 20px;
  border-radius: 24px;
  background: var(--panel-soft);
}

.mini-card strong,
.mini-list-row strong {
  display: block;
  font-size: 1.2rem;
  margin-top: 8px;
}

.mini-card p,
.mini-list-row span {
  margin: 8px 0 0;
  color: #d4d6cf;
}

.lime-card {
  background: linear-gradient(135deg, #8dea56 0%, #202320 120%);
  color: #101310;
}

.mini-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 19, 16, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
}

.mini-list-row + .mini-list-row {
  margin-top: 14px;
}

.recipient-row {
  width: 100%;
  text-align: left;
}

.recipient-row.is-selected {
  outline: 2px solid rgba(166, 240, 109, 0.6);
  background: linear-gradient(180deg, rgba(166, 240, 109, 0.14), rgba(166, 240, 109, 0.04));
}

.recipient-focus-card,
.recipient-form {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: var(--panel-soft);
}

.recipient-focus-label {
  margin: 0 0 10px;
  color: #cfd1ca;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recipient-focus-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.recipient-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.recipient-meta-grid span {
  display: block;
  margin-bottom: 6px;
  color: #cfd1ca;
  font-size: 0.9rem;
}

.recipient-meta-grid strong {
  font-size: 1rem;
}

.panel-action {
  width: 100%;
  min-height: 64px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #121410;
  font-weight: 800;
  font-size: 1.05rem;
}

.panel-action-secondary {
  background: rgba(166, 240, 109, 0.12);
  color: var(--accent);
}

.recipient-form.is-hidden {
  display: none;
}

.recipient-form-label {
  display: block;
  margin-bottom: 8px;
  color: #d4d6cf;
  font-size: 0.95rem;
}

.recipient-form-input {
  width: 100%;
  min-height: 54px;
  margin-bottom: 14px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #101310;
  color: var(--text);
  font: inherit;
}

.payment-target-card {
  margin-bottom: 14px;
}

.currency-modal-card {
  width: min(100%, 520px);
}

.currency-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 0 16px;
  border-radius: 18px;
  background: #101310;
  color: var(--text);
  text-align: left;
}

.currency-option:hover {
  background: #171b17;
}

.currency-option.is-disabled {
  opacity: 0.45;
}

.nav-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #e4e5df;
  opacity: 0.8;
}

.nav-item span {
  font-size: 0.9rem;
}

.nav-item.is-current {
  color: var(--accent);
  opacity: 1;
}

.back-button {
  width: 72px;
  height: 72px;
  margin: 28px 0 96px 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.balance-summary {
  padding: 0 34px;
  text-align: center;
}

.balance-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ededea;
  font-size: 1.02rem;
}

.help-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.balance-summary h2 {
  margin: 20px 0 0;
  font-size: clamp(2.9rem, 8vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.balance-card {
  gap: 18px;
  padding: 72px 34px 0;
  width: 100%;
  text-align: left;
}

.balance-card .row-icon {
  width: 72px;
  height: 72px;
}

.feedback-block {
  padding: 170px 34px 0;
  text-align: center;
}

.feedback-block p {
  margin: 0;
  color: #f2f2ee;
  font-size: 1.1rem;
}

.feedback-link {
  margin-top: 26px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.balance-spacer {
  min-height: 440px;
}

.android-bar {
  margin-top: auto;
  height: 84px;
  background: #0a0c0a;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: min(100%, 420px);
  max-height: min(88dvh, 760px);
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background: #1c1f1c;
  box-shadow: var(--shadow);
}

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

.modal-head h2 {
  margin: 0;
  font-size: 1.7rem;
}

.modal-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 2rem;
}

.modal-label {
  display: block;
  margin-top: 18px;
  margin-bottom: 10px;
  color: #d9dad4;
}

.modal-textarea {
  width: 100%;
  resize: vertical;
  min-height: 140px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #101310;
  color: var(--text);
  font: inherit;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  min-width: 220px;
  max-width: calc(100% - 32px);
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(24, 29, 24, 0.96);
  color: var(--text);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

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

@media (min-width: 1280px) {
  .app-shell {
    grid-template-columns: minmax(380px, 560px) minmax(760px, 1fr);
  }

  .preview-copy p {
    max-width: 38ch;
    font-size: 1.08rem;
  }

  .phone-frame {
    width: min(100%, 1040px);
    padding: 22px;
    border-radius: 54px;
  }

  .phone-screen {
    min-height: 920px;
  }

  .screen-home.is-active {
    display: flex;
    flex-direction: column;
  }

  .screen-home .top-actions,
  .screen-home .home-panel,
  .screen-home .bottom-nav {
    width: min(100%, 920px);
    margin-left: auto;
    margin-right: auto;
  }

  .screen-home .top-actions {
    margin-top: 6px;
    border-radius: 30px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .screen-home .bottom-nav {
    margin-top: 16px;
    margin-bottom: 20px;
    border-radius: 26px;
  }

  .screen-home .home-feed.is-active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    grid-template-areas:
      "transactions calculator"
      "updates calculator"
      "explore explore";
    column-gap: 22px;
    row-gap: 14px;
    align-items: start;
  }

  .screen-home .transactions {
    grid-area: transactions;
    padding: 0 0 0 18px;
  }

  .screen-home .calculator {
    grid-area: calculator;
    padding: 0 18px 0 0;
  }

  .screen-home .updates-row {
    grid-area: updates;
    width: auto;
    margin: 0 18px;
  }

  .screen-home .explore {
    grid-area: explore;
    padding: 0 18px 0;
  }

  .screen-home .utility-panel.is-active {
    width: min(100%, 760px);
    padding-top: 28px;
  }

  .chart-card,
  .promo-card,
  .mini-card,
  .mini-list-row {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  .screen-balance.is-active {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    padding: 18px 12px 24px;
  }

  .preview-panel {
    position: static;
    padding-top: 0;
    text-align: center;
  }

  .preview-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .screen-switcher {
    margin-top: 22px;
  }

  .phone-frame {
    width: min(100%, 520px);
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding: 0;
    gap: 0;
  }

  .preview-panel {
    display: none;
  }

  .phone-stage {
    display: block;
  }

  .phone-frame {
    width: 100%;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .phone-screen {
    min-height: 100dvh;
    border-radius: 0;
  }

  .bottom-nav {
    position: sticky;
    bottom: 0;
    z-index: 25;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    background: rgba(30, 33, 30, 0.98);
    backdrop-filter: blur(14px);
  }

  .android-bar {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-actions {
    grid-template-columns: 58px 1fr 58px 58px;
    gap: 10px;
    padding: 10px 12px 14px;
  }

  .icon-badge,
  .cta-pill {
    height: 58px;
  }

  .icon-badge {
    width: 58px;
  }

  .cta-pill {
    font-size: 1rem;
  }

  .section-heading h2,
  .calculator h2,
  .explore h2 {
    font-size: 1.65rem;
  }

  .promo-card {
    min-height: 450px;
  }

  .promo-copy h3 {
    font-size: 2.25rem;
  }

  .paper {
    width: 180px;
    height: 210px;
  }

  .promo-arrow {
    width: 78px;
    height: 78px;
    font-size: 2.4rem;
  }

  .currency-input {
    min-height: 84px;
    padding: 0 14px;
  }

  .amount-input {
    font-size: 1.7rem;
  }

  .currency-tag {
    gap: 8px;
    font-size: 1rem;
  }

  .flag {
    width: 28px;
    height: 28px;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .send-btn {
    min-height: 76px;
    font-size: 1.45rem;
  }

  .back-button {
    margin-left: 18px;
  }

  .balance-summary,
  .balance-card,
  .feedback-block {
    padding-left: 18px;
    padding-right: 18px;
  }

  .modal-card {
    padding: 20px;
  }

  .updates-row {
    width: calc(100% - 24px);
    margin: 0 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .recipient-meta-grid {
    grid-template-columns: 1fr;
  }

  .currency-option-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .status-bar {
    padding: 18px 14px 6px;
    font-size: 0.98rem;
  }

  .status-icons {
    gap: 7px;
    font-size: 0.84rem;
  }

  .battery-pill {
    min-width: 42px;
    height: 28px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .top-actions {
    grid-template-columns: 52px minmax(0, 1fr) 52px 52px;
    gap: 8px;
    padding: 8px 10px 12px;
  }

  .icon-badge,
  .cta-pill {
    height: 52px;
  }

  .icon-badge {
    width: 52px;
  }

  .icon-badge svg,
  .row-icon svg,
  .back-button svg,
  .nav-item svg {
    width: 26px;
    height: 26px;
  }

  .cta-pill {
    min-width: 0;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .transactions,
  .calculator,
  .explore,
  .utility-panel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .transaction-row,
  .balance-card {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
  }

  .transaction-row .row-meta,
  .balance-card .chevron {
    grid-column: 2;
    text-align: left;
    margin-top: 8px;
  }

  .row-icon {
    width: 48px;
    height: 48px;
  }

  .row-copy h3,
  .balance-card h3 {
    font-size: 1.02rem;
  }

  .row-copy p,
  .balance-card p,
  .row-meta span {
    font-size: 0.9rem;
  }

  .chart-card,
  .conversion-card,
  .currency-picker-card,
  .recipient-focus-card,
  .recipient-form,
  .mini-card,
  .mini-list-row {
    padding: 14px;
    border-radius: 20px;
  }

  .currency-input {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .amount-input {
    font-size: 1.45rem;
    padding-right: 0;
  }

  .currency-tag {
    width: 100%;
    justify-content: flex-start;
  }

  .currency-chip {
    min-height: 0;
  }

  .rate-row {
    align-items: flex-start;
  }

  .rate-refresh {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .bottom-nav {
    gap: 4px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .nav-item span {
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  .preview-copy h1,
  .section-heading h2,
  .calculator h2,
  .explore h2,
  .panel-head h2 {
    font-size: 1.45rem;
  }

  .amount-input {
    font-size: 1.3rem;
  }

  .send-btn {
    min-height: 68px;
    font-size: 1.25rem;
  }

  .promo-card {
    min-height: 400px;
  }

  .promo-copy {
    padding: 22px 18px 0;
  }

  .promo-copy h3 {
    font-size: 2rem;
  }
}

@media (max-height: 760px) and (max-width: 720px) {
  .status-bar {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }

  .back-button {
    width: 60px;
    height: 60px;
    margin-top: 18px;
    margin-bottom: 56px;
  }

  .balance-card {
    padding-top: 40px;
  }

  .feedback-block {
    padding-top: 96px;
  }

  .balance-spacer {
    min-height: 220px;
  }
}
