/* Tölegim v9 components and responsive layout. Shared values live in tokens.css. */
@layer product {

html, body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), .3);
  outline-offset: 2px;
}
button:disabled { cursor: not-allowed; opacity: .58; }

.app {
  max-width: 480px;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .04), 0 24px 60px -42px rgba(15, 23, 42, .4);
}
:root[data-theme="dark"] .app { background: var(--bg); }

.desktop-sidebar { display: none; }

.topbar, :root[data-theme="dark"] .topbar {
  min-height: 66px;
  padding: 12px 18px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 7px 18px -10px rgba(var(--primary-rgb), .8);
}
.brand-name { font-size: 18px; font-weight: 750; }
.top-actions { gap: 10px; }
.icon-btn {
  min-width: 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  box-shadow: none;
}
.icon-btn:hover { color: var(--primary-dark); border-color: rgba(var(--primary-rgb), .35); }
.icon-btn .badge { background: var(--danger); }

.screens { padding-bottom: calc(var(--nav-h) + 20px); }
.screen { padding: 18px 18px 32px; animation-duration: .18s; }
.page-title { text-align: left; font-size: 24px; margin: 2px 0 18px; }
.section-kicker, .eyebrow {
  display: block;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.card, .phone-row, .exchange-card, .service-item, .setting-row, .profile-card, .qr-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card { border-radius: 18px; }

.account-overview { display: grid; gap: 14px; margin-bottom: 24px; }
.balance-card {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 18px 34px -24px rgba(var(--primary-dark-rgb), .9);
}
.balance-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -18px;
  width: 112px;
  height: 112px;
  background: var(--navy);
  opacity: .08;
  -webkit-mask: url("assets/brand/logo-mark.svg") center / contain no-repeat;
  mask: url("assets/brand/logo-mark.svg") center / contain no-repeat;
}
.balance-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(var(--navy-rgb), .78); }
.secure-label { padding: 5px 9px; border: 1px solid rgba(var(--navy-rgb), .24); border-radius: 999px; font-size: 12px; font-weight: 700; }
.balance-card strong { display: block; position: relative; z-index: 1; margin: 18px 0 5px; font-size: clamp(30px, 8vw, 40px); line-height: 1; letter-spacing: -.04em; }
.balance-card > span:last-child { position: relative; z-index: 1; display: block; color: rgba(var(--navy-rgb), .72); font-size: 13px; }

.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quick-actions button {
  min-height: 92px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.quick-actions button:hover { border-color: rgba(var(--primary-rgb), .45); color: var(--primary-text); transform: translateY(-1px); }
.quick-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--green-soft); color: var(--primary-dark); font-size: 20px; }

.recent-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head .eyebrow { margin: 0 0 2px; font-size: 12px; }
.section-head h2 { font-size: 17px; }
.section-head button { min-height: 44px; color: var(--primary-text); font-size: 12px; font-weight: 750; padding: 0 8px; }
.overview-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.overview-row:first-child { border-top: 0; }
.overview-row strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-row small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 12px; }
.overview-row .overview-amount { text-align: right; font-weight: 800; font-size: 13px; }
.overview-row .hist-badge { margin-top: 5px; }
.empty-state, .loading-state, .error-state { padding: 28px 14px; text-align: center; color: var(--ink-2); font-size: 13px; }
.error-state { color: var(--danger); }

.transfer-checkout { min-width: 0; }
.phone-row { min-height: 58px; border-radius: 16px; background: var(--card); padding: 8px 15px; box-shadow: var(--shadow-sm); }
.phone-row:focus-within, .exchange-card:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.flag-ico.ico-svg, .contact-row .ico, .up-ico.ico-svg { color: var(--primary-dark); }
.exchange-card { border-radius: 18px; padding: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
.amount-row input { font-size: 30px; }
.currency-pill { background: var(--bg-2); border-radius: 12px; }
.swap-btn {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--primary);
  color: var(--navy);
  box-shadow: 0 8px 18px -12px rgba(var(--primary-rgb), .9);
}
.swap-btn:active { transform: none; }
.rate-line { margin: 8px 4px 18px; }
.note-card textarea, .sheet .field input, #userSupportInput, #aiSupportInput { background: var(--bg) !important; border-color: var(--line) !important; color: var(--ink) !important; }
.note-card textarea:focus, .sheet .field input:focus, #userSupportInput:focus, #aiSupportInput:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.urgent-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}
.urgent-row input, .terms-row input, .pay-method input { accent-color: var(--primary); }
.mini-action { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }

.btn-primary, .btn-blue {
  min-height: 52px;
  border-radius: 14px;
  font-weight: 750;
  box-shadow: none;
}
.btn-primary.active, .btn-blue { background: var(--primary); color: var(--navy); box-shadow: 0 12px 22px -18px rgba(var(--primary-dark-rgb), .9); }
.btn-primary.active:hover, .btn-blue:hover { background: var(--primary-dark); }

.service-list, .settings-list { gap: 10px; }
.service-item, .setting-row { min-height: 64px; border-radius: 16px; padding: 12px 15px; box-shadow: var(--shadow-sm); }
.service-item .ico, .setting-row .ico { background: var(--green-soft); color: var(--primary-dark); }
.profile-card { color: #fff; background: var(--navy); border-color: transparent; box-shadow: 0 16px 32px -24px rgba(11,18,32,.9); }
.profile-card .profile-info p, .profile-card .profile-info .id { color: rgba(255,255,255,.72); }
.profile-card .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.avatar { background: var(--primary); color: var(--navy); box-shadow: none; }

.hist-item { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.hist-badge { padding: 4px 9px; }
.hist-badge.pending { background: #FFF7E6; color: #9A5B00; }
.hist-badge.confirmed { background: #E6FFFB; color: #0F766E; }
.hist-badge.processing { background: #E6FFFB; color: #0F766E; }
.hist-badge.completed { background: #EAF8EE; color: #157A34; }
.hist-badge.rejected, .hist-badge.failed { background: #FDECEC; color: #B42318; }
.hist-badge.cancelled { background: var(--bg-2); color: var(--ink-2); }
.hist-badge.refunded { background: #F1EEFF; color: #6D3EC0; }
.step small { display: block; margin-left: 6px; color: var(--ink-2); font-size: 11px; font-weight: 600; }
.ledger-amount.positive { color: var(--current); }

.back-header button { min-width: 44px; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); box-shadow: none; }
.pay-method { min-height: 64px; border-radius: 16px; }
.pay-method.selected { border-color: var(--primary); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1); }
.upload-zone { min-height: 130px; border-color: rgba(var(--primary-rgb), .45); background: rgba(var(--primary-rgb), .04); }
.upload-zone:hover { background: var(--green-soft); border-color: var(--primary); }
.qr-card { box-shadow: var(--shadow-sm); }
.success-icon, .verify-ok { background: var(--current); box-shadow: none; }
.verify-bad { background: var(--danger); }

.field-label {
  display: block;
  margin: 0 4px 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.field-support { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -5px 3px 12px; }
.remember-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); font-size: 12px; cursor: pointer; }
.remember-phone input { width: 18px; height: 18px; accent-color: var(--primary); }
.preference-hint { color: var(--primary-dark); font-size: 11px; font-weight: 700; }
.form-error, .submit-error { margin: -6px 4px 12px; color: var(--danger); font-size: 12px; font-weight: 650; line-height: 1.45; }
.phone-row input[aria-invalid="true"], .amount-row input[aria-invalid="true"] { color: var(--danger); }

.transfer-methods { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.transfer-methods legend { margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 750; }
.transfer-methods .pay-method { min-height: 60px; background: var(--card); }
.method-symbol { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--primary-dark); font-weight: 850; }
.method-symbol.wechat { background: rgba(var(--success-rgb), .12); color: var(--success); }

.checkout-review { margin-bottom: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.review-heading > span:first-child { color: var(--ink); font-size: 13px; font-weight: 800; }
.review-safe { color: var(--primary-dark); font-size: 11px; font-weight: 700; }
.review-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 9px 14px; font-size: 12px; }
.review-grid span { color: var(--ink-2); }
.review-grid strong { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.terms-hint { margin: -9px 4px 14px; font-size: 11px; line-height: 1.45; }

.qr-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.qr-steps li { display: flex; align-items: center; gap: 7px; min-height: 50px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink-2); font-size: 11px; font-weight: 700; line-height: 1.25; }
.qr-steps li span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--primary-dark); }
.upload-zone { cursor: default; }
.upload-help { margin-top: 5px; font-size: 12px; }
.receipt-pickers { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 16px; }
.upload-primary, .upload-secondary, .receipt-preview-actions button, .btn-secondary {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 750;
}
.upload-primary { padding: 0 15px; background: var(--primary); color: var(--navy); }
.upload-secondary { padding: 0 15px; background: var(--card); color: var(--ink); }
.receipt-preview { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.receipt-thumb { display: grid; width: 64px; height: 64px; place-items: center; overflow: hidden; border-radius: 12px; background: var(--bg-2); color: var(--primary-dark); font-size: 12px; font-weight: 850; }
.receipt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.receipt-file { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.receipt-file strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.receipt-file span { margin-top: 4px; color: var(--ink-2); font-size: 11px; }
.receipt-preview-actions { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; }
.receipt-preview-actions button { color: var(--primary-dark); background: var(--bg-2); }
.receipt-preview-actions button:last-child { color: var(--danger); }
.submit-error { margin: 10px 4px 2px; padding: 11px 12px; border: 1px solid var(--danger); border-radius: 12px; background: rgba(var(--danger-rgb), .08); }

.created-state { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; color: var(--success); font-size: 13px; font-weight: 800; }
.status-pill { padding: 5px 9px; border-radius: 999px; background: rgba(var(--warning-rgb), .14); color: var(--ink); font-size: 11px; }
.order-id-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; max-width: 420px; margin: 18px auto 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); text-align: left; }
.order-id-card span { color: var(--ink-2); font-size: 11px; }
.order-id-card strong { grid-column: 1; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.order-id-card button { grid-column: 2; grid-row: 1 / 3; min-width: 76px; min-height: 44px; border-radius: 11px; background: var(--green-soft); color: var(--primary-dark); font-weight: 750; }
.progress-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 420px; margin: 14px auto 0; }
.progress-actions .btn-primary { grid-column: 1 / -1; margin: 0; }
.btn-secondary { width: 100%; padding: 0 13px; background: var(--bg-2); color: var(--ink); }

.legal-sheet { display: flex; max-height: min(82vh,720px); flex-direction: column; }
.legal-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.legal-dialog-head h3 { color: var(--ink); }
.legal-dialog-head button { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-size: 24px; }
.legal-dialog-content { overflow-y: auto; padding: 4px 3px 12px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.legal-dialog-content h3 { margin: 13px 0 4px; color: var(--ink); font-size: 14px; }
:root[data-theme="dark"] .checkout-review,
:root[data-theme="dark"] .qr-steps li,
:root[data-theme="dark"] .receipt-preview,
:root[data-theme="dark"] .order-id-card { background: var(--card); border-color: var(--line); }

.bottom-nav {
  height: var(--nav-h);
  max-width: 480px;
  padding: 7px 12px calc(8px + env(safe-area-inset-bottom, 0));
  border-radius: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -22px rgba(15,23,42,.65);
  backdrop-filter: none;
}
.bottom-nav .nav-item { min-height: 54px; border-radius: 14px; color: var(--ink-2); }
.bottom-nav .nav-item.active { color: var(--primary-text); background: var(--green-soft); }
.bottom-nav .nav-item span { font-size: 12px; }

.notif-panel { top: 70px; border-color: var(--line); box-shadow: var(--shadow); }
.notif-item.unread { border-left-color: var(--primary); background: var(--green-soft); }
.notif-head button, #copyAlipay { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }

.overlay { background: rgba(11, 18, 32, .62); }
.sheet { border-radius: 22px 22px 0 0; background: var(--card); animation-duration: .2s; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 20px; }
.auth-brand img { width: 46px; height: 46px; border-radius: 14px; }
.auth-brand strong, .auth-brand span { display: block; }
.auth-brand strong { font-size: 18px; }
.auth-brand span { color: var(--ink-2); font-size: 12px; margin-top: 2px; }
.sheet .tabs { padding: 4px; border-radius: 13px; background: var(--bg); }
.sheet .tabs button { min-height: 42px; background: transparent; }
.sheet .tabs button.active { background: var(--card); color: var(--primary-text); box-shadow: var(--shadow-sm); }
.choice-row.selected { border-color: var(--primary); background: var(--green-soft); }
.auth-link { color: var(--primary-text); }

.toast { background: var(--navy); border-radius: 12px; }
.splash { background: var(--bg); }
.splash img { width: 82px; height: 82px; border-radius: 24px; box-shadow: 0 20px 34px -22px rgba(var(--primary-rgb), .9); }

:root[data-theme="dark"] .phone-row,
:root[data-theme="dark"] .exchange-card,
:root[data-theme="dark"] .pay-method,
:root[data-theme="dark"] .service-item,
:root[data-theme="dark"] .setting-row,
:root[data-theme="dark"] .upload-zone,
:root[data-theme="dark"] .bottom-nav,
:root[data-theme="dark"] .overlay .sheet,
:root[data-theme="dark"] .notif-panel { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] .profile-card { background: var(--navy); }
:root[data-theme="dark"] .hist-badge.completed { background: #123622; color: #86E29F; }
:root[data-theme="dark"] .hist-badge.pending { background: #392D0D; color: #FBCB6A; }
:root[data-theme="dark"] .hist-badge.confirmed,
:root[data-theme="dark"] .hist-badge.processing { background: #0D3735; color: #71DED3; }
:root[data-theme="dark"] .hist-badge.rejected,
:root[data-theme="dark"] .hist-badge.failed { background: #3D1717; color: #FDA4A4; }

@media (min-width: 769px) {
  body { min-height: 100vh; }
  .app {
    max-width: none;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    grid-template-rows: 72px minmax(0, 1fr);
    box-shadow: none;
  }
  .desktop-sidebar {
    grid-column: 1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px 16px;
    color: #fff;
    background: var(--navy);
  }
  .desktop-brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 28px; }
  .desktop-brand img { width: 42px; height: 42px; border-radius: 13px; }
  .desktop-brand strong, .desktop-brand span { display: block; }
  .desktop-brand strong { font-size: 18px; }
  .desktop-brand span { margin-top: 3px; color: var(--text-tertiary); font-size: 12px; }
  .desktop-nav { display: grid; gap: 7px; }
  .desktop-nav .nav-item {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 13px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    color: #A9B5C7;
    font-size: 14px;
    font-weight: 650;
    text-align: left;
  }
  .desktop-nav .nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
  .desktop-nav .nav-item.active { background: var(--primary); color: var(--navy); }
  .desktop-nav .nav-item svg { width: 21px; height: 21px; flex: 0 0 21px; }
  .desktop-trust { margin-top: auto; display: flex; gap: 10px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #DDE5F0; }
  .desktop-trust > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(var(--primary-rgb), .2); color: var(--sky); }
  .desktop-trust strong, .desktop-trust small { display: block; }
  .desktop-trust strong { font-size: 12px; }
  .desktop-trust small { margin-top: 2px; color: #A8B4C5; font-size: 12px; }

  .topbar { grid-column: 2; grid-row: 1; padding: 12px 30px; justify-content: flex-end; }
  .topbar .brand { display: none; }
  .screens { grid-column: 2; grid-row: 2; overflow-y: auto; padding: 0; }
  .screen { max-width: 1180px; margin: 0 auto; padding: 28px 34px 48px; }
  .app > .screen { grid-column: 2; grid-row: 2; width: 100%; max-width: 980px; margin: 0 auto; overflow-y: auto; padding: 28px 34px 48px; }
  .page-title { grid-column: 1 / -1; font-size: 28px; margin-bottom: 0; }
  #screen-transfer.active { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: 24px 28px; align-items: start; }
  #screen-transfer .account-overview { grid-column: 1; margin: 0; }
  #screen-transfer .transfer-checkout { grid-column: 2; grid-row: 2; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
  .balance-card { min-height: 190px; padding: 25px; }
  .balance-card strong { font-size: 42px; margin-top: 28px; }
  .quick-actions button { min-height: 100px; }
  .recent-card { padding: 20px; }
  .bottom-nav { display: none !important; }
  .notif-panel { position: fixed; top: 76px; right: 28px; left: auto; width: 390px; }
  .overlay { align-items: center; padding: 24px; }
  .sheet { max-width: 460px; border-radius: 22px; padding: 28px; }
  .service-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  #screen-profile .settings-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  #screen-profile .profile-card { padding: 22px; }
  #screen-history, #screen-ledger, #screen-support, #screen-verify, #screen-qrpay,
  #screen-success, #screen-progress, #screen-terms, #screen-privacy { max-width: 860px; }
  .toast { bottom: 28px; }
}

@media (max-width: 768px) {
  .desktop-sidebar { display: none; }
  .quick-actions button { min-height: 88px; }
  .touch-row { min-height: 44px; }
}

@media (min-width: 769px) {
  #cameraReceiptBtn { display: none; }
  .receipt-pickers { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .screen { padding-left: 14px; padding-right: 14px; }
  .balance-card { padding: 17px; }
  .quick-actions { gap: 7px; }
  .quick-actions button { padding: 10px 4px; font-size: 12px; }
  .favorites-bar { align-items: flex-start; flex-direction: column; }
  .amount-row input { font-size: 27px; }
  .field-support { align-items: flex-start; flex-direction: column; gap: 0; }
  .qr-steps { gap: 5px; }
  .qr-steps li { align-items: flex-start; flex-direction: column; padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

}

/* v16.5 balance card removed: quick actions lead the overview */
.account-overview{gap:14px}
#screen-transfer .quick-actions{margin-top:0}
