:root {
  --z-bg: #07172f;
  --z-bg-deep: #04101f;
  --z-surface: #0b2d5c;
  --z-surface-2: #102f59;
  --z-surface-soft: rgba(15, 49, 91, 0.78);
  --z-glass: rgba(11, 45, 92, 0.72);
  --z-line: rgba(200, 214, 236, 0.22);
  --z-line-strong: rgba(200, 214, 236, 0.36);
  --z-green: #32e686;
  --z-green-dark: #1fc974;
  --z-text: #f7fbff;
  --z-muted: #c8d6ec;
  --z-hint: #8ea3c6;
  --z-warning: #ffc857;
  --z-error: #ff8b8b;
  --z-success: #32e686;
  --z-radius: 8px;
  --z-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  --z-nav-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--z-bg-deep);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--z-text);
  background: linear-gradient(180deg, #06152a 0%, var(--z-bg) 58%, #061426 100%);
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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(50, 230, 134, 0.46);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

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

.login-wrap {
  min-height: 100dvh;
  padding: 24px 16px;
  background: linear-gradient(180deg, #07172f 0%, #0b2d5c 52%, #07172f 100%);
}

.login-card {
  width: min(100%, 440px);
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  background: rgba(7, 23, 47, 0.88);
  box-shadow: var(--z-shadow);
  backdrop-filter: blur(18px);
}

.login-card .brand {
  align-items: center;
}

.login-card .logo {
  width: 64px;
  height: 64px;
}

.login-card h1 {
  color: var(--z-text);
}

.login-card p,
.login-check,
.modal-sub {
  color: var(--z-muted);
}

.login-card .input,
.user-auth-page .input {
  min-height: 52px;
  border-color: var(--z-line-strong);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: rgba(4, 16, 31, 0.64);
}

.login-card .btn,
.login-card .link-btn,
.user-auth-page .btn,
.user-auth-page .type-btn {
  min-height: 44px;
  border-radius: var(--z-radius);
}

.login-card .btn.green,
.user-auth-page .btn.green {
  border-color: var(--z-green);
  color: #042116;
  background: var(--z-green);
}

.login-card .btn.blue,
.user-auth-page .btn.blue {
  border-color: #57baf2;
  color: #061b2b;
  background: #57baf2;
}

.login-card .btn.ghost,
.login-card .link-btn,
.user-auth-page .btn.ghost,
.user-auth-page .type-btn {
  border-color: var(--z-line-strong);
  color: var(--z-text);
  background: rgba(11, 45, 92, 0.62);
}

.user-auth-page .type-btn.active {
  border-color: var(--z-green);
  color: #042116;
  background: var(--z-green);
}

.user-auth-page .page > .card,
.user-auth-page .modal-card {
  border-color: var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: rgba(7, 23, 47, 0.92);
  box-shadow: var(--z-shadow);
}

.detail-box,
.otp-status,
.status-box {
  border-radius: var(--z-radius);
}

.app-shell {
  width: min(100%, 1380px);
  min-height: 100dvh;
  margin: 0 auto;
  background: transparent;
}

.main-panel {
  min-width: 0;
  padding-bottom: calc(var(--z-nav-height) + 26px + env(safe-area-inset-bottom));
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding-top: env(safe-area-inset-top);
  background: rgba(7, 23, 47, 0.94);
  border-bottom: 1px solid rgba(200, 214, 236, 0.1);
  backdrop-filter: blur(18px);
}

.mobile-top-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-top-row {
  min-height: 64px;
  padding: 8px 16px;
}

.mobile-title {
  min-width: 0;
  overflow: hidden;
  color: var(--z-text);
  font-size: 20px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-btn,
.icon-command {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--z-text);
  background: transparent;
  cursor: pointer;
}

.icon-btn:active,
.icon-command:active {
  background: rgba(50, 230, 134, 0.12);
  transform: scale(0.96);
}

.notification-button {
  position: relative;
}

.notification-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.notification-badge,
.tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  color: #052016;
  background: var(--z-green);
  font-size: 11px;
  font-weight: 900;
}

.notification-badge {
  position: absolute;
  top: 3px;
  right: 1px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  margin: 14px 16px 0;
  padding: 22px;
  border: 1px solid rgba(50, 230, 134, 0.28);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: linear-gradient(125deg, #0a2d62 0%, #07546c 58%, #0b926d 100%);
  box-shadow: var(--z-shadow);
}

.hero-balance-row,
.hero-balance-line,
.hero-hold-line,
.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-balance {
  min-width: 0;
  white-space: nowrap;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 900;
}

.hero-add-money {
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--z-green);
  border-radius: 24px;
  color: var(--z-text);
  background: rgba(7, 23, 47, 0.14);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.hero-mini {
  min-width: 0;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--z-radius);
  text-align: center;
  background: rgba(7, 23, 47, 0.14);
}

.hero-mini-label,
.hero-mini-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-mini-label {
  color: var(--z-muted);
  font-size: 12px;
}

.hero-mini-value {
  color: var(--z-text);
  font-size: 13px;
  line-height: 1.35;
}

.hero-mini:first-child .hero-mini-value {
  color: var(--z-green);
}

.android-tagline {
  width: auto;
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 14px 16px 0;
  border: 1px solid var(--z-line-strong);
  border-radius: var(--z-radius);
  background: rgba(11, 45, 92, 0.78);
  white-space: nowrap;
}

.android-tagline-track {
  min-width: max-content;
  padding-left: 100%;
  color: var(--z-text);
  animation: zpayTagline 15s linear infinite;
  will-change: transform;
}

@keyframes zpayTagline {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .android-tagline-track {
    padding-left: 18px;
    animation: none;
  }
}

body.user-authenticated[data-active-section]:not([data-active-section='overviewSection']) .hero-card,
body.user-authenticated[data-active-section]:not([data-active-section='overviewSection']) .android-tagline,
body.user-authenticated[data-active-section]:not([data-active-section='overviewSection']) .zpay-quick-card {
  display: none !important;
}

.zpay-quick-card {
  margin: 22px 16px 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.zpay-quick-head {
  margin-bottom: 12px;
}

.zpay-quick-title {
  color: var(--z-text);
  font-size: 25px;
  line-height: 1.2;
}

.zpay-quick-sub,
.zpay-rate-chip {
  display: none;
}

.zpay-service-grid,
.android-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.zpay-service-btn,
.android-service-card {
  min-width: 0;
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 12px 7px;
  border: 1px solid var(--z-line-strong);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: rgba(11, 45, 92, 0.84);
  box-shadow: none;
  cursor: pointer;
}

.zpay-service-btn:active,
.android-service-card:active {
  border-color: var(--z-green);
  background: rgba(20, 68, 114, 0.95);
  transform: scale(0.98);
}

.zpay-service-icon,
.service-glyph {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
  font-size: 24px;
  font-weight: 900;
}

.zpay-service-name,
.android-service-card strong {
  max-width: 100%;
  color: var(--z-text);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
}

.page-section {
  width: auto;
  margin: 14px 16px 0;
}

.page-section.active {
  display: block;
}

body.user-authenticated .summary-card,
body.user-authenticated .wizard-card,
body.user-authenticated .history-card,
body.user-authenticated .bundle-page-card {
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: var(--z-glass);
  box-shadow: var(--z-shadow);
}

body.user-authenticated .input,
body.user-authenticated .wizard-big-input,
body.user-authenticated .choice-btn,
body.user-authenticated .review-box,
body.user-authenticated .result-box,
body.user-authenticated .result-card,
body.user-authenticated .detail-box,
body.user-authenticated .history-month-card,
body.user-authenticated .filter-btn,
body.user-authenticated .bundle-result-box {
  border-radius: var(--z-radius);
}

body.user-authenticated .input,
body.user-authenticated .wizard-big-input {
  border-color: var(--z-line-strong);
  color: var(--z-text);
  background: rgba(4, 16, 31, 0.64);
}

body.user-authenticated .btn {
  min-height: 44px;
  border-radius: var(--z-radius);
}

body.user-authenticated .btn.green {
  border-color: var(--z-green);
  color: #042116;
  background: var(--z-green);
}

body.user-authenticated .btn.blue {
  border-color: #57baf2;
  color: #061b2b;
  background: #57baf2;
}

body.user-authenticated .btn.ghost {
  border-color: var(--z-line-strong);
  color: var(--z-text);
  background: rgba(11, 45, 92, 0.62);
}

body.user-authenticated .choice-btn.active,
body.user-authenticated .filter-btn.active {
  border-color: var(--z-green);
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
}

.feature-card,
.panel-card,
.request-card,
.history-item,
.profile-section-card,
.support-form {
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: var(--z-glass);
  box-shadow: var(--z-shadow);
  backdrop-filter: blur(14px);
}

.feature-card {
  padding: 18px;
}

.services-hub {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.feature-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-heading h2,
.support-hero-panel h2,
.profile-section-card h3,
.support-list-head h3,
.step-copy h3,
.review-panel h3 {
  margin: 0;
  color: var(--z-text);
}

.feature-heading h2,
.support-hero-panel h2 {
  font-size: 23px;
}

.feature-heading p,
.support-hero-panel p,
.support-list-head p,
.step-copy p {
  margin: 5px 0 0;
  color: var(--z-muted);
  line-height: 1.5;
}

.feature-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--z-green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-field {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.feature-field > span {
  color: var(--z-muted);
  font-size: 13px;
  font-weight: 700;
}

.feature-field small {
  color: var(--z-hint);
  font-weight: 500;
}

.feature-field input,
.feature-field select,
.feature-field textarea,
.support-composer textarea,
.zpay-action-form input {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--z-line-strong);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: rgba(4, 16, 31, 0.64);
}

.feature-field textarea,
.support-composer textarea {
  min-height: 112px;
  resize: vertical;
}

.feature-field input::placeholder,
.feature-field textarea::placeholder,
.support-composer textarea::placeholder,
.zpay-action-form input::placeholder {
  color: var(--z-hint);
}

.feature-field select option {
  color: #0b1930;
}

.money-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--z-line-strong);
  border-radius: var(--z-radius);
  background: rgba(4, 16, 31, 0.64);
}

.money-input-wrap b {
  padding-left: 14px;
  color: var(--z-green);
}

.money-input-wrap input {
  border: 0;
  background: transparent;
}

.android-primary-button,
.android-secondary-button,
.profile-edit-button,
.support-composer button,
.hold-confirm-button {
  min-height: 52px;
  border-radius: var(--z-radius);
  font-weight: 850;
  cursor: pointer;
}

.android-primary-button,
.support-composer button {
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--z-green);
  color: #042116;
  background: var(--z-green);
}

.android-primary-button:hover,
.support-composer button:hover {
  background: var(--z-green-dark);
}

.android-secondary-button {
  border: 1px solid var(--z-line-strong);
  color: var(--z-text);
  background: rgba(11, 45, 92, 0.66);
}

.android-primary-button:disabled,
.android-secondary-button:disabled,
.support-composer button:disabled,
.hold-confirm-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.feature-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
  margin-top: 18px;
}

.full-width {
  width: 100%;
  margin-top: 10px;
}

.android-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 20px;
}

.android-stepper span {
  min-width: 0;
  padding: 8px 4px;
  border-bottom: 2px solid var(--z-line);
  color: var(--z-hint);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.android-stepper span.active {
  border-color: var(--z-green);
  color: var(--z-green);
}

.transfer-step,
.support-tab-panel {
  display: none;
}

.transfer-step.active,
.support-tab-panel.active {
  display: block;
}

.recipient-card,
.review-panel,
.inline-state,
.closed-notice {
  padding: 14px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  background: rgba(4, 16, 31, 0.48);
}

.inline-state {
  margin-top: 12px;
  color: var(--z-muted);
}

.inline-state.error,
.closed-notice {
  color: var(--z-error);
  border-color: rgba(255, 139, 139, 0.35);
}

.review-rows {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--z-muted);
}

.review-row strong {
  color: var(--z-text);
  text-align: right;
  overflow-wrap: anywhere;
}

.hold-hint {
  margin: 16px 0 8px;
  color: var(--z-muted);
  text-align: center;
}

.hold-confirm-button {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--z-green);
  color: #042116;
  background: rgba(50, 230, 134, 0.8);
}

.hold-confirm-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hold-progress, 0%);
  background: var(--z-green);
  transition: width 80ms linear;
}

.hold-confirm-label {
  position: relative;
  z-index: 1;
}

/* Android-aligned Z-Pay Transfer page. */
body.user-authenticated[data-active-section='transferSection'] .mobile-header {
  display: none !important;
}

body.user-authenticated[data-active-section='transferSection'] {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.user-authenticated[data-active-section='transferSection'] #appView,
body.user-authenticated[data-active-section='transferSection'] .app-shell {
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
}

body.user-authenticated[data-active-section='transferSection'] .main-panel {
  display: flex;
  justify-content: center;
  height: 100dvh;
  min-height: 100svh;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 14px 0 0;
}

#transferSection.transfer-page-section {
  flex: 1 1 auto;
  display: flex;
  height: 100%;
  min-height: 0;
  width: min(calc(100% - 32px), 620px);
  margin: 0 auto;
  padding-bottom: 0;
  overflow: hidden;
}

.transfer-page-shell {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  width: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
}

.transfer-page-header {
  min-height: 94px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border: 1px solid rgba(117, 156, 215, 0.38);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 22%, rgba(50, 230, 134, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(18, 64, 131, 0.96), rgba(8, 39, 83, 0.98));
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.transfer-page-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.transfer-header-button {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.transfer-header-button:hover,
.transfer-header-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.transfer-header-button:active {
  transform: scale(0.96);
}

.transfer-header-button svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

#transferSection .transfer-card {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-bottom: calc(var(--z-nav-height) + 44px + env(safe-area-inset-bottom));
}

#transferSection .transfer-card::-webkit-scrollbar {
  width: 4px;
}

#transferSection .transfer-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(50, 230, 134, 0.5);
}

#transferSection .transfer-progress {
  margin: 0;
  padding: 10px 8px;
  border: 1px solid rgba(117, 156, 215, 0.28);
  border-radius: 22px;
  background: rgba(11, 39, 78, 0.72);
}

#transferSection .android-stepper span {
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

#transferSection .android-stepper span.active,
#transferSection .android-stepper span.complete {
  color: #062618;
  background: var(--z-green);
}

#transferSection .android-stepper span.complete {
  opacity: 0.74;
}

#transferSection .transfer-step-card,
#transferSection .transfer-favorite-panel,
#transferSection .transfer-verified-card,
#transferSection .transfer-review-panel {
  border: 1px solid rgba(117, 156, 215, 0.36);
  border-radius: 28px;
  background: rgba(13, 48, 94, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 34px rgba(0, 0, 0, 0.18);
}

#transferSection .transfer-step-card,
#transferSection .transfer-favorite-panel {
  padding: 22px;
}

#transferSection #transferStepReceiver.active {
  display: grid;
  gap: 18px;
}

#transferSection .transfer-step-title {
  text-align: center;
}

#transferSection .transfer-step-title h3,
#transferSection .transfer-favorite-panel h3,
#transferSection .transfer-review-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 900;
  line-height: 1.15;
}

#transferSection .transfer-step-title p {
  margin: 8px 0 0;
  color: var(--z-muted);
}

#transferSection .transfer-field {
  margin-top: 24px;
}

#transferSection .transfer-field > span {
  color: var(--z-muted);
  font-size: 14px;
  font-weight: 800;
}

#transferSection .transfer-input-shell,
#transferSection .transfer-money-wrap,
#transferSection .transfer-field input {
  border-radius: 22px;
}

#transferSection .transfer-input-shell {
  min-height: 70px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 2px solid rgba(50, 230, 134, 0.76);
  background: rgba(16, 57, 104, 0.72);
}

#transferSection .transfer-input-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--z-green);
}

#transferSection .transfer-input-icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

#transferSection .transfer-input-shell input {
  width: 100%;
  min-height: 60px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 22px;
  outline: 0;
}

#transferSection .transfer-primary-button,
#transferSection .android-primary-button,
#transferSection .android-secondary-button {
  min-height: 64px;
  border-radius: 24px;
  font-size: 18px;
}

#transferSection .transfer-favorite-panel {
  margin-top: 0;
}

#transferSection .transfer-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#transferSection .transfer-panel-heading h3 {
  font-size: 20px;
}

.transfer-mini-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(117, 156, 215, 0.35);
  border-radius: 999px;
  color: var(--z-green);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 850;
}

.transfer-favorite-list {
  display: grid;
  gap: 10px;
}

.transfer-empty-card,
.transfer-favorite-item {
  min-height: 76px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(117, 156, 215, 0.32);
  border-radius: 20px;
  background: rgba(4, 16, 31, 0.24);
}

.transfer-empty-card {
  padding: 18px;
  color: var(--z-muted);
  text-align: center;
}

.transfer-empty-card.error {
  color: var(--z-error);
}

.transfer-favorite-item {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease;
}

.transfer-favorite-item:hover,
.transfer-favorite-item:focus-visible {
  border-color: rgba(50, 230, 134, 0.55);
  outline: 0;
}

.transfer-favorite-item:active {
  transform: scale(0.98);
}

.transfer-favorite-avatar,
.transfer-verified-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.12);
  font-weight: 900;
}

.transfer-favorite-avatar {
  width: 48px;
  height: 48px;
}

.transfer-favorite-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.transfer-favorite-copy strong,
.transfer-verified-copy strong {
  min-width: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.transfer-favorite-copy small,
.transfer-verified-copy p {
  margin: 0;
  color: var(--z-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.transfer-favorite-remove {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 139, 139, 0.36);
  border-radius: 16px;
  color: #ff8b9a;
  background: rgba(255, 82, 123, 0.08);
  font-size: 12px;
  font-weight: 850;
}

#transferSection .transfer-verified-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 16px;
}

.transfer-verified-icon {
  width: 52px;
  height: 52px;
}

.transfer-verified-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

#transferSection .transfer-favorite-add {
  margin-bottom: 12px;
}

#transferSection .transfer-money-wrap {
  box-sizing: border-box;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 2px solid rgba(117, 156, 215, 0.38);
  border-color: rgba(117, 156, 215, 0.38);
  background: rgba(4, 16, 31, 0.38);
  overflow: hidden;
  isolation: isolate;
}

#transferSection .transfer-money-wrap:focus-within {
  border-color: rgba(50, 230, 134, 0.78);
  box-shadow: 0 0 0 3px rgba(50, 230, 134, 0.11);
}

#transferSection .transfer-money-wrap b {
  color: var(--z-green);
  font-size: 21px;
  font-weight: 950;
  white-space: nowrap;
}

#transferSection .transfer-money-wrap input,
#transferSection .transfer-money-wrap input:focus,
#transferSection .transfer-money-wrap input:focus-visible {
  width: 100%;
  min-height: 62px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  outline: 0 !important;
  outline-offset: 0;
  box-shadow: none !important;
  background: transparent !important;
  color: #fff;
  font-size: 21px;
  appearance: textfield;
}

#transferSection .transfer-money-wrap input::-webkit-outer-spin-button,
#transferSection .transfer-money-wrap input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

#transferSection .transfer-actions {
  margin-top: 18px;
}

#transferSection .transfer-single-action {
  grid-template-columns: 1fr;
}

#transferSection .transfer-review-panel {
  padding: 20px;
}

#transferSection .review-row {
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(117, 156, 215, 0.16);
}

#transferSection .review-row:last-child {
  border-bottom: 0;
}

#transferSection .review-row span {
  min-width: 108px;
}

#transferSection .review-row strong {
  font-weight: 900;
}

#transferSection .transfer-hold-button {
  min-height: 68px;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(50, 230, 134, 0.18);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

#transferSection .transfer-hold-button * {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.zpay-transfer-modal.modal {
  z-index: 180;
}

.zpay-transfer-modal .zpay-action-dialog {
  width: min(100%, 430px);
  border-radius: 30px;
  border-color: rgba(117, 156, 215, 0.38);
  background:
    radial-gradient(circle at 84% 18%, rgba(50, 230, 134, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(15, 54, 105, 0.98), rgba(7, 28, 58, 0.98));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.zpay-transfer-modal .zpay-action-copy {
  text-align: center;
}

.zpay-transfer-modal .feature-actions,
.zpay-transfer-modal .zpay-transfer-result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.zpay-transfer-modal .feature-actions .android-primary-button,
.zpay-transfer-modal .feature-actions .android-secondary-button,
.zpay-transfer-modal .zpay-transfer-result-actions .android-primary-button,
.zpay-transfer-modal .zpay-transfer-result-actions .android-secondary-button {
  width: 100%;
  min-height: 56px;
  border-radius: 20px;
}

.zpay-transfer-spinner {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 6px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--z-green);
  border-radius: 50%;
  animation: zpaySpin 0.8s linear infinite;
}

.zpay-transfer-result-rows {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.zpay-transfer-result-row {
  display: grid;
  grid-template-columns: minmax(104px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(117, 156, 215, 0.16);
}

.zpay-transfer-result-row span {
  min-width: 0;
  color: var(--z-muted);
  font-weight: 750;
  line-height: 1.35;
}

.zpay-transfer-result-row strong {
  min-width: 0;
  color: #fff;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.zpay-transfer-result-row.is-long {
  grid-template-columns: 1fr;
  gap: 4px;
}

.zpay-transfer-result-row.is-long strong {
  text-align: left;
}

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

body.user-authenticated[data-active-section='transferSection'] .bottom-nav {
  left: 0;
  padding: 0 18px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(4, 16, 31, 0.96) 38%);
}

body.user-authenticated[data-active-section='transferSection'] .bottom-nav-inner {
  width: min(calc(100% - 8px), 620px);
  min-height: 78px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(10, 45, 91, 0.96);
}

body.user-authenticated[data-active-section='transferSection'] .bottom-btn {
  border-radius: 20px;
}

body.user-authenticated[data-active-section='transferSection'] .bottom-btn.active {
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.13);
  box-shadow: inset 0 0 0 1px rgba(50, 230, 134, 0.24);
}

@media (max-width: 420px) {
  #transferSection.transfer-page-section {
    width: calc(100% - 28px);
  }

  .transfer-page-header {
    min-height: 86px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: 17px 18px;
    border-radius: 24px;
  }

  .transfer-header-button {
    width: 42px;
    height: 42px;
  }

  .transfer-header-button svg {
    width: 28px;
    height: 28px;
  }

  #transferSection .transfer-step-card,
  #transferSection .transfer-favorite-panel {
    padding: 18px;
    border-radius: 24px;
  }

  #transferSection .transfer-step-title h3 {
    font-size: 26px;
  }

  #transferSection .transfer-input-shell {
    min-height: 64px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 0 16px;
  }

  #transferSection .transfer-input-shell input {
    min-height: 56px;
    font-size: 20px;
  }

  .transfer-favorite-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .transfer-favorite-remove {
    grid-column: 2;
    width: fit-content;
  }

  #transferSection .transfer-actions {
    grid-template-columns: 1fr;
  }

  #transferSection .review-row {
    display: grid;
    gap: 4px;
  }

  #transferSection .review-row strong {
    text-align: left;
  }
}

@media (min-width: 981px) {
  #transferSection.transfer-page-section {
    width: min(calc(100% - 48px), 620px);
  }
}

.profile-hero-panel,
.support-hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 18px;
  overflow: hidden;
  border: 1px solid rgba(50, 230, 134, 0.24);
  border-radius: var(--z-radius);
  background: linear-gradient(135deg, #0b2d5c, #087161);
  box-shadow: var(--z-shadow);
}

.profile-avatar-button {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--z-green);
  border-radius: 50%;
  color: var(--z-text);
  background: #0a2143;
  font-size: 28px;
  font-weight: 900;
}

.profile-avatar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-identity {
  min-width: 0;
  flex: 1;
}

.profile-identity h2,
.profile-identity p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.profile-identity h2 {
  font-size: 22px;
}

.profile-identity p {
  margin-top: 4px;
  color: var(--z-muted);
  font-size: 13px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.profile-badges span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid rgba(50, 230, 134, 0.35);
  border-radius: 13px;
  color: var(--z-green);
  background: rgba(4, 16, 31, 0.3);
  font-size: 11px;
  font-weight: 900;
}

.profile-edit-button {
  width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--z-line-strong);
  color: var(--z-text);
  background: rgba(4, 16, 31, 0.34);
}

.profile-section-card {
  margin-top: 12px;
  padding: 16px;
}

.profile-info-list {
  margin-top: 8px;
}

.profile-info-list > div,
.profile-action-row {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(200, 214, 236, 0.12);
  color: var(--z-text);
  background: transparent;
  text-align: left;
}

.profile-info-list > div:first-child {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) auto;
}

.profile-info-list > div:first-child strong {
  text-align: right;
}

.profile-info-list > div:last-child,
.profile-action-row:last-child {
  border-bottom: 0;
}

.profile-info-list span,
.profile-action-row small {
  display: block;
  color: var(--z-hint);
  font-size: 12px;
}

.profile-info-list strong,
.profile-action-row strong {
  overflow-wrap: anywhere;
}

.profile-info-list button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-green);
  background: rgba(4, 16, 31, 0.35);
}

.profile-action-row {
  cursor: pointer;
}

.profile-action-row > span {
  min-width: 0;
}

.profile-action-row b {
  color: var(--z-green);
  font-size: 24px;
}

.danger-row strong,
.danger-row b {
  color: var(--z-error);
}

.support-hero-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--z-green);
  border-radius: 50%;
  color: var(--z-green);
  font-size: 28px;
  font-weight: 900;
}

.support-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.support-contact-action {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: var(--z-glass);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.segmented-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 14px 0;
  padding: 4px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  background: rgba(4, 16, 31, 0.45);
}

.segmented-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  color: var(--z-muted);
  background: transparent;
  font-weight: 800;
}

.segmented-tabs button.active {
  color: #042116;
  background: var(--z-green);
}

.attachment-picker {
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 3px;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px dashed var(--z-line-strong);
  border-radius: var(--z-radius);
  color: var(--z-text);
  cursor: pointer;
}

.attachment-picker small,
.attachment-summary {
  color: var(--z-hint);
  font-size: 12px;
}

.attachment-picker input {
  display: none;
}

.support-list-head,
.conversation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-ticket-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.support-ticket-card,
.notification-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: var(--z-glass);
  text-align: left;
}

#supportSection .support-ticket-card {
  align-items: start;
  border-radius: 22px;
}

#supportSection .support-ticket-card .status-pill {
  align-self: start;
  justify-self: end;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 18px;
  white-space: nowrap;
}

.support-ticket-card h4,
.support-ticket-card p,
.notification-row h4,
.notification-row p {
  margin: 0;
  overflow-wrap: anywhere;
}

.support-ticket-card p,
.notification-row p {
  margin-top: 5px;
  color: var(--z-muted);
  font-size: 13px;
}

.support-ticket-card.unread,
.notification-row.unread {
  border-color: rgba(50, 230, 134, 0.55);
}

.feature-empty-state {
  padding: 30px 16px;
  border: 1px dashed var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-muted);
  text-align: center;
}

.support-conversation {
  min-height: calc(100dvh - 170px);
  display: flex;
  flex-direction: column;
}

.conversation-header {
  position: sticky;
  top: calc(64px + env(safe-area-inset-top));
  z-index: 8;
  padding: 10px 0 13px;
  background: var(--z-bg);
}

.conversation-header > div {
  min-width: 0;
  flex: 1;
}

.conversation-header h2,
.conversation-header p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-header h2 {
  font-size: 17px;
}

.conversation-header p {
  margin-top: 3px;
  color: var(--z-muted);
  font-size: 12px;
}

.support-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 15px 0;
}

.support-message {
  max-width: min(82%, 560px);
  padding: 10px 12px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  background: rgba(11, 45, 92, 0.9);
  overflow-wrap: anywhere;
}

.support-message.user {
  align-self: flex-end;
  border-color: rgba(50, 230, 134, 0.33);
  background: rgba(17, 93, 82, 0.84);
}

.support-message.support {
  align-self: flex-start;
}

.support-message.system {
  align-self: center;
  max-width: 92%;
  color: var(--z-muted);
  background: rgba(4, 16, 31, 0.5);
  text-align: center;
}

.support-message p,
.support-message small {
  margin: 0;
  white-space: pre-wrap;
}

.support-message small {
  display: block;
  margin-top: 6px;
  color: var(--z-hint);
  font-size: 10px;
}

.message-attachments {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.message-attachments a {
  color: var(--z-green);
  font-size: 12px;
}

.support-composer {
  position: sticky;
  bottom: calc(var(--z-nav-height) + env(safe-area-inset-bottom));
  z-index: 9;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding: 10px 0;
  background: var(--z-bg);
}

.support-composer textarea {
  min-height: 48px;
  max-height: 130px;
}

.support-composer button {
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 0 14px;
}

.composer-attachment {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--z-line);
  border-radius: 50%;
  color: var(--z-green);
  background: var(--z-glass);
  font-size: 24px;
}

.composer-summary {
  grid-column: 2 / -1;
}

body.user-authenticated[data-active-section='supportSection'] .mobile-header {
  display: none;
}

body.user-authenticated[data-active-section='supportSection'] .bottom-nav {
  display: none;
}

body.user-authenticated[data-active-section='supportSection'] .main-panel {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 30px;
}

#supportSection {
  width: min(calc(100% - 28px), 700px);
  margin: 0 auto;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

#supportSection .support-contact-hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 16px 18px 22px;
  border: 1px solid rgba(50, 230, 134, 0.28);
  border-radius: 28px;
  background: linear-gradient(135deg, #0d4276 0%, #0a635b 52%, #0b725f 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#supportSection .support-contact-bubble {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: rgba(50, 230, 134, 0.12);
  pointer-events: none;
}

#supportSection .support-contact-bubble.one {
  width: 142px;
  height: 142px;
  top: -32px;
  right: -18px;
}

#supportSection .support-contact-bubble.two {
  width: 96px;
  height: 96px;
  left: -28px;
  bottom: 10px;
  background: rgba(23, 194, 177, 0.12);
}

#supportSection .support-contact-bubble.three {
  width: 74px;
  height: 74px;
  right: 42px;
  bottom: 34px;
  background: rgba(255, 255, 255, 0.07);
}

#supportSection .support-contact-toolbar,
#supportSection .support-contact-copy,
#supportSection .support-contact-actions {
  position: relative;
  z-index: 1;
}

#supportSection .support-contact-toolbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
}

#supportSection .support-contact-toolbar h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

#supportSection .support-contact-icon-button {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
}

#supportSection .support-contact-icon-button:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.98);
}

#supportSection .support-contact-icon-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

#supportSection .support-contact-copy {
  display: grid;
  gap: 6px;
  text-align: center;
}

#supportSection .support-contact-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  line-height: 1.06;
}

#supportSection .support-contact-copy p {
  margin: 0;
  color: rgba(236, 246, 255, 0.82);
  font-size: 18px;
}

#supportSection .support-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 2px 8px 0;
}

#supportSection .support-contact-action {
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px 10px;
  border: 1px solid rgba(188, 220, 255, 0.22);
  border-radius: 22px;
  color: #fff;
  background: rgba(12, 43, 82, 0.46);
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#supportSection .support-contact-action:active {
  transform: translateY(1px) scale(0.99);
  background: rgba(50, 230, 134, 0.12);
}

#supportSection .support-contact-action-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  border-radius: 50%;
  color: #06331f;
  background: var(--z-green);
  box-shadow: 0 8px 18px rgba(50, 230, 134, 0.18);
}

#supportSection .support-contact-action-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#supportSection .support-contact-action strong,
#supportSection .support-contact-action small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

#supportSection .support-contact-action strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}

#supportSection .support-contact-action small {
  color: rgba(220, 232, 250, 0.78);
  font-size: 12px;
  line-height: 1.2;
}

#supportSection .support-info-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

#supportSection .support-info-card,
#supportSection .support-request-workspace {
  border: 1px solid rgba(188, 220, 255, 0.22);
  border-radius: 22px;
  background: rgba(16, 46, 88, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

#supportSection .support-info-card {
  display: grid;
  gap: 9px;
  padding: 18px 20px;
}

#supportSection .support-info-card h3,
#supportSection .support-info-card p,
#supportSection .support-workspace-head h3,
#supportSection .support-workspace-head p {
  margin: 0;
}

#supportSection .support-info-card h3,
#supportSection .support-workspace-head h3 {
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
}

#supportSection .support-info-card p,
#supportSection .support-workspace-head p {
  color: rgba(220, 232, 250, 0.82);
  font-size: 16px;
  line-height: 1.34;
}

#supportSection .support-notice-card {
  grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
  align-items: center;
  gap: 14px;
}

#supportSection .support-floating-button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 0;
  border-radius: 22px;
  color: #042116;
  background: var(--z-green);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(50, 230, 134, 0.22);
}

#supportSection .support-floating-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

#supportSection .support-floating-button:active {
  transform: translateY(1px) scale(0.99);
}

#supportSection .support-request-workspace {
  margin-top: 18px;
  padding: 18px;
}

#supportSection .support-request-workspace.hidden {
  display: none;
}

#supportSection .support-workspace-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

#supportSection .segmented-tabs {
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 18px;
}

#supportSection .segmented-tabs button {
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
}

#supportSection .support-form {
  margin: 0;
  border-radius: 20px;
}

#supportSection .feature-field input,
#supportSection .feature-field select,
#supportSection .feature-field textarea {
  border-radius: 17px;
}

#supportSection .attachment-picker {
  border-radius: 17px;
}

#supportSection .android-primary-button {
  border-radius: 20px;
}

#supportSection .support-ticket-card {
  border-radius: 18px;
}

.bottom-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  padding: 0 12px env(safe-area-inset-bottom);
  background: linear-gradient(180deg, transparent, rgba(4, 16, 31, 0.98) 18%);
}

.bottom-nav-inner {
  width: min(100%, 620px);
  min-height: var(--z-nav-height);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  padding: 7px 4px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius) var(--z-radius) 0 0;
  background: rgba(9, 37, 74, 0.97);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
}

.bottom-btn {
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 3px;
  border: 0;
  border-radius: 5px;
  color: var(--z-muted);
  background: transparent;
}

.bottom-btn.active {
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.08);
}

.bottom-icon,
.bottom-icon svg {
  width: 24px;
  height: 24px;
}

.bottom-icon svg {
  fill: currentColor;
}

.bottom-label {
  display: block;
  max-width: 100%;
  color: currentColor;
  font-size: 10px;
  line-height: 1.1;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.modal {
  z-index: 120;
  padding: 16px;
  background: rgba(2, 9, 18, 0.76);
  backdrop-filter: blur(10px);
}

.modal-card,
.zpay-action-dialog {
  width: min(100%, 480px);
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  border: 1px solid var(--z-line-strong);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: #0b2347;
  box-shadow: var(--z-shadow);
}

.modal-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--z-muted);
}

.modal-title {
  color: var(--z-text);
}

.zpay-action-dialog {
  position: relative;
  padding: 22px;
}

.zpay-action-form {
  display: grid;
  gap: 13px;
}

.zpay-action-form label {
  display: grid;
  gap: 6px;
  color: var(--z-muted);
  font-size: 13px;
  font-weight: 700;
}

.zpay-action-copy {
  color: var(--z-muted);
  line-height: 1.55;
}

.zpay-action-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 2px solid var(--z-green);
  border-radius: 50%;
  color: var(--z-green);
  font-size: 30px;
  font-weight: 900;
}

.notification-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.sidebar {
  background: rgba(7, 23, 47, 0.98);
  border-right: 1px solid var(--z-line);
}

.side-btn,
.side-card {
  border-color: var(--z-line);
  color: var(--z-text);
  background: rgba(11, 45, 92, 0.6);
}

.side-btn.active {
  border-color: rgba(50, 230, 134, 0.55);
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
}

.loading {
  z-index: 140;
}

.loading.dashboard-load {
  background: rgba(4, 16, 31, 0.48);
  backdrop-filter: blur(2px);
}

body.dashboard-loading-preview #appView {
  pointer-events: none;
  user-select: none;
}

body.dashboard-loading-preview .hero-balance,
body.dashboard-loading-preview .hero-hold-line,
body.dashboard-loading-preview .hero-mini-value {
  opacity: 0.72;
}

.loading-box {
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius);
  color: var(--z-text);
  background: #0b2d5c;
}

.spinner {
  border-color: rgba(200, 214, 236, 0.25);
  border-top-color: var(--z-green);
}

@media (min-width: 769px) {
  .main-panel {
    max-width: 860px;
    margin: 0 auto;
  }

  .page-section,
  .hero-card,
  .android-tagline,
  .zpay-quick-card {
    margin-left: 24px;
    margin-right: 24px;
  }

  .profile-hero-panel {
    padding: 26px;
  }
}

@media (min-width: 981px) {
  .app-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .main-panel {
    max-width: 940px;
  }

  .bottom-nav {
    left: 280px;
  }
}

@media (max-width: 560px) {
  .hero-card {
    padding: 18px 15px;
  }

  .hero-balance {
    font-size: 31px;
  }

  .hero-add-money {
    min-height: 44px;
    padding: 0 13px;
  }

  .hero-mini {
    min-height: 76px;
    padding: 8px 4px;
  }

  .hero-mini-value {
    font-size: 12px;
  }

  .profile-hero-panel {
    align-items: flex-start;
    gap: 12px;
  }

  .profile-avatar-button {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .profile-edit-button {
    position: absolute;
    top: 9px;
    right: 9px;
  }

  .profile-identity {
    padding-right: 32px;
  }
}

@media (max-width: 360px) {
  .mobile-title {
    font-size: 18px;
  }

  .hero-balance {
    font-size: 28px;
  }

  .zpay-service-btn,
  .android-service-card {
    min-height: 108px;
  }

  .zpay-service-name,
  .android-service-card strong,
  .bottom-label {
    font-size: 10px;
  }

  .profile-avatar-button {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .support-contact-actions,
  .feature-actions {
    grid-template-columns: 1fr;
  }
}

/* Android-aligned Dashboard shell. Other User Panel sections keep their existing layout. */
body.user-authenticated[data-active-section='overviewSection'] {
  min-width: 0;
}

body.user-authenticated[data-active-section='overviewSection'] .main-panel {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 calc(var(--z-nav-height) + 28px + env(safe-area-inset-bottom));
}

body.user-authenticated[data-active-section='overviewSection'] .mobile-header {
  display: none;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-fixed-stack {
  position: sticky;
  top: calc(8px + env(safe-area-inset-top));
  z-index: 35;
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 0 0 2px;
  background: var(--z-bg);
}

body.user-authenticated[data-active-section='overviewSection'] .hero-card {
  position: relative;
  top: auto;
  z-index: 1;
  width: min(calc(100% - 28px), 760px);
  margin: 0 auto;
  padding: 14px 16px 16px;
  border: 1px solid rgba(50, 230, 134, 0.3);
  border-radius: 28px;
  background: linear-gradient(135deg, #123f7a 0%, #0a3b70 54%, #075b63 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 24px rgba(50, 230, 134, 0.08);
}

body.user-authenticated[data-active-section='overviewSection'] .hero-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 228px;
  height: 228px;
  right: -72px;
  top: -84px;
  border-radius: 50%;
  background: rgba(50, 230, 134, 0.16);
  pointer-events: none;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 154px;
  height: 154px;
  right: 74px;
  bottom: -92px;
  border-radius: 50%;
  background: rgba(23, 194, 177, 0.16);
  pointer-events: none;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-hero-topbar {
  min-height: 46px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
}

.dashboard-hero-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--z-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-hero-topbar .icon-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-balance-label {
  margin-top: 10px;
  color: var(--z-muted);
  font-size: 14px;
  font-weight: 700;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-balance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 4px;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-balance {
  overflow: hidden;
  font-size: 30px;
  line-height: 1.15;
  text-overflow: ellipsis;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-add-money {
  min-width: 104px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 12px;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-hold-line {
  margin-top: 6px;
  color: var(--z-muted);
  font-size: 11px;
  font-weight: 700;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-grid {
  gap: 8px;
  margin-top: 10px;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-mini {
  min-height: 60px;
  gap: 4px;
  padding: 7px 5px;
  border-radius: 18px;
  background: rgba(7, 23, 47, 0.22);
}

body.user-authenticated[data-active-section='overviewSection'] .hero-mini:first-child {
  border-color: rgba(50, 230, 134, 0.55);
}

body.user-authenticated[data-active-section='overviewSection'] .hero-mini-label {
  color: var(--z-text);
  font-size: 12px;
  font-weight: 800;
}

body.user-authenticated[data-active-section='overviewSection'] .hero-mini:first-child .hero-mini-label,
body.user-authenticated[data-active-section='overviewSection'] .hero-mini:first-child .hero-mini-value {
  color: var(--z-green);
}

body.user-authenticated[data-active-section='overviewSection'] .hero-mini-value {
  display: -webkit-box;
  overflow: hidden;
  color: var(--z-text);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.user-authenticated[data-active-section='overviewSection'] .android-tagline {
  width: min(calc(100% - 36px), 752px);
  min-height: 48px;
  height: 48px;
  justify-content: flex-start;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(11, 45, 92, 0.84);
}

body.user-authenticated[data-active-section='overviewSection'] .android-tagline-track {
  width: max-content;
  min-width: max-content;
  display: flex;
  align-items: center;
  padding: 0;
  animation: zpayDashboardTagline 16s linear infinite;
  color: var(--z-text);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  white-space: nowrap;
}

body.user-authenticated[data-active-section='overviewSection'] .android-tagline-item {
  flex: 0 0 auto;
  padding: 11px 28px;
}

@keyframes zpayDashboardTagline {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  body.user-authenticated[data-active-section='overviewSection'] .android-tagline-track {
    transform: none;
    animation: none;
  }

  body.user-authenticated[data-active-section='overviewSection'] .android-tagline-item + .android-tagline-item {
    display: none;
  }
}

body.user-authenticated[data-active-section='overviewSection'] #overviewSection {
  width: min(calc(100% - 36px), 752px);
  margin: 0 auto;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended {
  margin: 18px 0 0;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-quick-head {
  margin-bottom: 8px;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-quick-title {
  margin: 0;
  color: var(--z-text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-grid {
  max-width: 560px;
  grid-template-columns: repeat(3, minmax(0, 168px));
  justify-content: center;
  gap: 8px;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-btn {
  min-height: 104px;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(11, 45, 92, 0.82);
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-name {
  font-size: 12px;
  font-weight: 800;
}

body.user-authenticated[data-active-section='overviewSection'] .bottom-nav {
  left: 0;
  padding: 0 18px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(4, 16, 31, 0.96) 38%);
}

body.user-authenticated[data-active-section='overviewSection'] .bottom-nav-inner {
  min-height: 76px;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.2fr)
    minmax(0, 0.95fr)
    minmax(0, 0.95fr)
    minmax(0, 0.95fr);
  gap: 2px;
  padding: 7px 5px;
  border-radius: 24px;
  background: rgba(11, 45, 92, 0.97);
}

body.user-authenticated[data-active-section='overviewSection'] .bottom-btn {
  min-height: 60px;
  border-radius: 16px;
}

body.user-authenticated[data-active-section='overviewSection'] .bottom-label {
  font-size: 9px;
  overflow-wrap: normal;
  white-space: nowrap;
}

body.user-authenticated[data-active-section='overviewSection'] .bottom-btn.active {
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
}

@media (min-width: 981px) {
  body.user-authenticated[data-active-section='overviewSection'] .app-shell {
    display: block;
  }

  body.user-authenticated[data-active-section='overviewSection'] .sidebar:not(.show) {
    display: none;
  }

  body.user-authenticated[data-active-section='overviewSection'] .sidebar.show {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 95;
    display: block;
  }

  body.user-authenticated[data-active-section='overviewSection'] .bottom-nav {
    left: 0;
  }
}

@media (max-width: 560px) {
  body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-grid {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  body.user-authenticated[data-active-section='overviewSection'] .hero-card {
    padding-right: 13px;
    padding-left: 13px;
  }

  .dashboard-hero-title {
    font-size: 20px;
  }

  body.user-authenticated[data-active-section='overviewSection'] .hero-balance {
    font-size: 26px;
  }

  body.user-authenticated[data-active-section='overviewSection'] .hero-add-money {
    min-width: 92px;
    padding-right: 8px;
    padding-left: 8px;
  }

  body.user-authenticated[data-active-section='overviewSection'] .hero-mini-label {
    font-size: 10px;
  }

  body.user-authenticated[data-active-section='overviewSection'] .hero-mini-value {
    font-size: 9px;
  }

  body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-btn {
    min-height: 98px;
    padding-right: 5px;
    padding-left: 5px;
  }
}

@media (max-width: 330px) {
  body.user-authenticated[data-active-section='overviewSection'] .hero-balance-row {
    grid-template-columns: 1fr;
  }

  body.user-authenticated[data-active-section='overviewSection'] .hero-add-money {
    justify-self: start;
    margin-top: 8px;
  }
}

/* Android-aligned Profile page. */
body.user-authenticated[data-active-section='profileSection'] .mobile-header,
body.user-authenticated[data-active-section='profileSection'] .dashboard-fixed-stack,
body.user-authenticated[data-active-section='profileSection'] .bottom-nav {
  display: none !important;
}

body.user-authenticated[data-active-section='profileSection'] {
  overflow: hidden;
}

body.user-authenticated[data-active-section='profileSection'] #appView,
body.user-authenticated[data-active-section='profileSection'] .app-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.user-authenticated[data-active-section='profileSection'] .main-panel {
  width: 100%;
  max-width: 820px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

body.user-authenticated[data-active-section='profileSection'] #profileSection {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.profile-page-shell {
  width: min(calc(100% - 28px), 640px);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: calc(10px + env(safe-area-inset-top)) 0 0;
  overflow: hidden;
}

.profile-fixed-hero {
  position: relative;
  flex: 0 0 auto;
  padding: 12px 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(50, 230, 134, 0.28);
  border-radius: 28px;
  background: linear-gradient(135deg, #123f7a 0%, #0a3d72 48%, #05a37e 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 24px rgba(50, 230, 134, 0.08);
}

.profile-hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.profile-hero-orb-one {
  width: 158px;
  height: 158px;
  top: -18px;
  right: -18px;
  background: rgba(50, 230, 134, 0.25);
}

.profile-hero-orb-two {
  width: 122px;
  height: 122px;
  right: 72px;
  bottom: -28px;
  background: rgba(11, 45, 92, 0.38);
}

.profile-hero-orb-three {
  width: 84px;
  height: 84px;
  right: -16px;
  bottom: 16px;
  background: rgba(50, 230, 134, 0.18);
}

.profile-toolbar {
  position: relative;
  z-index: 1;
  min-height: 46px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
}

.profile-toolbar h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--z-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-hero-icon-button {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--z-text);
  background: transparent;
  cursor: pointer;
}

.profile-hero-icon-button:hover,
.profile-hero-icon-button:focus-visible {
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
}

.profile-hero-icon-button:active {
  transform: scale(0.94);
}

.profile-hero-icon-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.profile-fixed-hero .profile-hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-fixed-hero .profile-photo-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  overflow: visible;
}

.profile-fixed-hero .profile-avatar-button {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border: 4px solid var(--z-green);
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.profile-fixed-hero .profile-avatar-button img,
.profile-fixed-hero .profile-avatar-button > span {
  border-radius: 50%;
}

.profile-fixed-hero .profile-photo-edit-badge {
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 44px;
  min-width: 44px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  color: #061b31;
  background: var(--z-green);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
  cursor: pointer;
}

.profile-fixed-hero .profile-photo-edit-badge:hover,
.profile-fixed-hero .profile-photo-edit-badge:focus-visible {
  background: var(--z-green-dark);
}

.profile-fixed-hero .profile-photo-edit-badge:active {
  transform: translateX(-50%) scale(0.96);
}

.profile-fixed-hero .profile-identity-country-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.profile-fixed-hero .profile-identity-country-row #profileCountryCurrency {
  min-width: 0;
  flex: 1 1 auto;
  margin-top: 0;
}

.profile-fixed-hero .profile-identity h2 {
  color: var(--z-text);
  font-size: 21px;
  line-height: 1.12;
  text-transform: uppercase;
}

.profile-fixed-hero .profile-identity p {
  margin-top: 6px;
  color: var(--z-muted);
  font-size: 14px;
  line-height: 1.25;
}

.profile-fixed-hero .profile-badges {
  gap: 8px;
  margin-top: 9px;
}

.profile-fixed-hero .profile-badges span {
  min-height: 28px;
  padding: 4px 12px;
  border-color: rgba(50, 230, 134, 0.74);
  border-radius: 15px;
  background: rgba(11, 45, 92, 0.72);
  font-size: 11px;
}

.profile-fixed-hero .profile-edit-button {
  position: static;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  transform: translateX(8px);
  color: #07182c;
  background: var(--z-green);
}

.profile-fixed-hero .profile-edit-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.profile-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 2px calc(28px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(50, 230, 134, 0.42) rgba(7, 23, 47, 0.18);
}

.profile-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.profile-scroll-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(50, 230, 134, 0.38);
}

.profile-section-card {
  margin-top: 12px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(11, 45, 92, 0.72);
}

.profile-section-card:first-child {
  margin-top: 0;
}

.profile-section-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.15;
}

.profile-security-card .profile-action-row,
.profile-account-list .profile-copy-row,
.profile-account-list .profile-info-row {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(200, 214, 236, 0.24);
  border-radius: 18px;
  color: var(--z-text);
  background: rgba(26, 47, 77, 0.78);
  text-align: left;
}

.profile-security-card .profile-action-row:first-of-type,
.profile-account-list .profile-copy-row:first-child,
.profile-account-list .profile-info-row:first-child {
  margin-top: 0;
}

.profile-security-card .profile-action-row {
  cursor: pointer;
}

.profile-security-card .profile-action-row:hover,
.profile-security-card .profile-action-row:focus-visible,
.profile-account-list .profile-copy-row:hover,
.profile-account-list .profile-copy-row:focus-visible {
  border-color: rgba(50, 230, 134, 0.64);
}

.profile-security-card .profile-action-row:active,
.profile-account-list .profile-copy-row:active {
  transform: scale(0.99);
}

.profile-security-card .profile-action-row.disabled-row {
  cursor: not-allowed;
  opacity: 0.58;
}

.profile-security-card .profile-action-row > span,
.profile-account-list .profile-copy-row > span,
.profile-account-list .profile-info-row > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-security-card .profile-action-row strong,
.profile-account-list .profile-copy-row strong,
.profile-account-list .profile-info-row strong {
  color: var(--z-text);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.profile-security-card .profile-action-row small,
.profile-account-list .profile-copy-row small,
.profile-account-list .profile-info-row small {
  color: var(--z-muted);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.profile-security-card .profile-action-row b {
  color: var(--z-green);
  font-size: 31px;
  line-height: 1;
}

.profile-account-list .profile-copy-row svg {
  width: 34px;
  height: 34px;
  fill: var(--z-green);
}

.profile-account-list .profile-info-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.profile-account-list .profile-info-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--z-green);
  box-shadow: 0 0 12px rgba(50, 230, 134, 0.55);
}

.profile-logout-card {
  padding: 28px;
}

.profile-logout-button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 139, 139, 0.78);
  border-radius: 19px;
  color: var(--z-error);
  background: rgba(36, 26, 42, 0.14);
  font-weight: 900;
  cursor: pointer;
}

.profile-logout-button:hover,
.profile-logout-button:focus-visible {
  background: rgba(255, 139, 139, 0.1);
}

.profile-bottom-safe {
  min-height: 8px;
}

/* Profile modal polish and the crop-before-upload flow. */
.zpay-profile-modal {
  z-index: 140;
  padding: 14px;
  background: rgba(2, 9, 18, 0.78);
}

.zpay-profile-modal .zpay-action-dialog,
.zpay-profile-modal .profile-crop-dialog {
  width: min(100%, 480px);
  max-height: min(92dvh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(200, 214, 236, 0.34);
  border-radius: 28px;
  color: var(--z-text);
  background: linear-gradient(160deg, #12366c, #0b2347 72%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 0 26px rgba(50, 230, 134, 0.08);
}

.zpay-profile-modal .zpay-action-dialog {
  position: relative;
  padding: 24px;
}

.zpay-profile-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(200, 214, 236, 0.28);
  border-radius: 50%;
  color: var(--z-muted);
  background: rgba(7, 23, 47, 0.56);
  cursor: pointer;
}

.zpay-profile-modal .modal-close:hover,
.zpay-profile-modal .modal-close:focus-visible {
  color: var(--z-green);
  border-color: rgba(50, 230, 134, 0.68);
}

.zpay-profile-modal .modal-title {
  padding-right: 48px;
  font-size: 22px;
  line-height: 1.2;
}

.zpay-profile-modal .zpay-action-form {
  gap: 14px;
  margin-top: 18px;
}

.zpay-profile-modal .zpay-action-form input {
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid rgba(200, 214, 236, 0.32);
  border-radius: 17px;
  color: var(--z-text);
  background: rgba(4, 16, 31, 0.6);
}

.zpay-profile-modal .zpay-action-form input:focus {
  border-color: var(--z-green);
  box-shadow: 0 0 0 3px rgba(50, 230, 134, 0.14);
}

.zpay-profile-modal .android-primary-button,
.zpay-profile-modal .android-secondary-button {
  min-height: 54px;
  margin-top: 8px;
  border-radius: 17px;
}

.zpay-profile-modal .zpay-action-form .android-primary-button {
  width: 100%;
  margin-top: 4px;
}

.zpay-profile-modal .zpay-action-icon {
  margin-top: 4px;
  border-width: 2px;
}

.zpay-profile-modal .zpay-profile-result-actions {
  width: 100%;
  margin-top: 20px;
}

.zpay-profile-modal .zpay-profile-result-actions .android-primary-button {
  width: 100%;
  margin-top: 0;
}

.profile-crop-dialog {
  position: relative;
  padding: 24px;
}

.profile-crop-stage {
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid rgba(50, 230, 134, 0.42);
  border-radius: 22px;
  background: #061426;
  box-shadow: inset 0 0 0 1px rgba(200, 214, 236, 0.1);
}

.profile-crop-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.profile-crop-stage canvas:active {
  cursor: grabbing;
}

.profile-crop-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.profile-crop-controls .android-primary-button,
.profile-crop-controls .android-secondary-button {
  min-width: 0;
  margin-top: 0;
  padding-right: 8px;
  padding-left: 8px;
  white-space: nowrap;
}

@media (min-width: 981px) {
  body.user-authenticated[data-active-section='profileSection'] .app-shell {
    display: block;
  }

  body.user-authenticated[data-active-section='profileSection'] .sidebar:not(.show) {
    display: none;
  }

  body.user-authenticated[data-active-section='profileSection'] .sidebar.show {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 95;
    display: block;
  }
}

@media (max-width: 420px) {
  .profile-page-shell {
    width: calc(100% - 20px);
  }

  .profile-fixed-hero {
    padding: 10px 14px 14px;
    border-radius: 26px;
  }

  .profile-toolbar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .profile-hero-icon-button {
    width: 44px;
    height: 44px;
  }

  .profile-fixed-hero .profile-hero-panel {
    gap: 12px;
  }

  .profile-fixed-hero .profile-photo-wrap {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .profile-fixed-hero .profile-avatar-button {
    width: 88px;
    height: 88px;
  }

  .profile-fixed-hero .profile-photo-edit-badge {
    bottom: -8px;
  }

  .profile-fixed-hero .profile-identity h2 {
    font-size: 19px;
  }

  .profile-fixed-hero .profile-identity p {
    font-size: 13px;
  }

  .profile-section-card {
    padding: 18px;
  }

  .zpay-profile-modal .zpay-action-dialog,
  .zpay-profile-modal .profile-crop-dialog {
    padding: 20px;
    border-radius: 24px;
  }

}

@media (max-width: 340px) {
  .profile-fixed-hero .profile-hero-panel {
    align-items: flex-start;
  }

  .profile-fixed-hero .profile-photo-wrap {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  .profile-fixed-hero .profile-avatar-button {
    width: 74px;
    height: 74px;
  }

  .profile-fixed-hero .profile-photo-edit-badge {
    bottom: -8px;
    font-size: 8px;
  }

  .profile-fixed-hero .profile-identity h2 {
    font-size: 17px;
  }

  .profile-fixed-hero .profile-badges span {
    padding-right: 9px;
    padding-left: 9px;
  }
}

/* Android-aligned notification page. */
body.user-authenticated[data-active-section='notificationsSection'] .mobile-header,
body.user-authenticated[data-active-section='notificationsSection'] .dashboard-fixed-stack,
body.user-authenticated[data-active-section='notificationsSection'] .bottom-nav {
  display: none !important;
}

body.user-authenticated[data-active-section='notificationsSection'] {
  overflow: hidden;
}

body.user-authenticated[data-active-section='notificationsSection'] #appView,
body.user-authenticated[data-active-section='notificationsSection'] .app-shell {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.user-authenticated[data-active-section='notificationsSection'] .main-panel {
  width: 100%;
  max-width: 820px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

body.user-authenticated[data-active-section='notificationsSection'] #notificationsSection {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.notification-page-shell {
  width: min(calc(100% - 28px), 640px);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top)) 0 0;
  overflow: hidden;
}

.notification-page-fixed-area {
  flex: 0 0 auto;
  padding-bottom: 12px;
}

.notification-page-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--z-line);
  border-radius: 24px;
  background: rgba(11, 45, 92, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.notification-page-header h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--z-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-page-icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--z-text);
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.notification-page-icon-button:hover,
.notification-page-icon-button:focus-visible {
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
}

.notification-page-icon-button:active {
  transform: scale(0.94);
}

.notification-page-icon-button:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.notification-page-icon-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.notification-mark-all-button {
  color: var(--z-green);
}

.notification-edit-button {
  color: var(--z-green);
}

.notification-edit-button[aria-pressed='true'] {
  color: #061b31;
  background: var(--z-green);
}

.notification-page-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 2px 0;
}

.notification-page-tab {
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid var(--z-line);
  border-radius: 24px;
  color: var(--z-text);
  background: rgba(38, 58, 94, 0.48);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.notification-page-tab:hover,
.notification-page-tab:focus-visible {
  border-color: rgba(50, 230, 134, 0.7);
}

.notification-page-tab:active {
  transform: scale(0.98);
}

.notification-page-tab.active {
  border-color: var(--z-green);
  color: #061b31;
  background: var(--z-green);
}

.notification-page-tab:disabled {
  cursor: wait;
}

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

.notification-page-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 2px calc(28px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(50, 230, 134, 0.42) rgba(7, 23, 47, 0.18);
}

.notification-page-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.notification-page-scroll-body::-webkit-scrollbar-track {
  background: rgba(7, 23, 47, 0.18);
}

.notification-page-scroll-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(50, 230, 134, 0.42);
}

.notification-page-list {
  display: grid;
  gap: 10px;
  padding: 2px 0 0;
}

.notification-page-card {
  width: 100%;
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  color: var(--z-text);
  text-align: left;
  background: rgba(20, 49, 82, 0.68);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.notification-page-card.unread {
  border-color: rgba(50, 230, 134, 0.56);
  background: rgba(20, 57, 91, 0.84);
}

.notification-page-card.selected {
  border-color: var(--z-green);
  box-shadow: inset 0 0 0 1px rgba(50, 230, 134, 0.46);
}

.notification-page-select-indicator {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(142, 163, 198, 0.7);
  border-radius: 7px;
  color: transparent;
  background: rgba(7, 23, 47, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.notification-page-card.selected .notification-page-select-indicator {
  border-color: var(--z-green);
  color: #061b31;
  background: var(--z-green);
}

.notification-page-card:hover,
.notification-page-card:focus-visible {
  border-color: rgba(50, 230, 134, 0.72);
  background: rgba(24, 65, 101, 0.9);
}

.notification-page-card:active {
  transform: scale(0.99);
}

.notification-page-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(50, 230, 134, 0.22);
  border-radius: 18px;
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
  font-size: 18px;
  font-weight: 900;
}

.notification-page-card-content {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.notification-page-card-content strong {
  overflow: hidden;
  color: var(--z-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-page-card.unread .notification-page-card-content strong {
  font-weight: 900;
}

.notification-page-card-body {
  display: -webkit-box;
  overflow: hidden;
  color: var(--z-muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notification-page-card-time {
  overflow: hidden;
  color: var(--z-hint);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-page-unread-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--z-green);
  box-shadow: 0 0 12px rgba(50, 230, 134, 0.42);
}

.notification-page-state {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px 18px;
  color: var(--z-muted);
  text-align: center;
}

.notification-page-state-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border: 1px solid rgba(50, 230, 134, 0.36);
  border-radius: 22px;
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
  font-size: 22px;
  font-weight: 900;
}

.notification-page-state h3,
.notification-page-state p {
  margin: 0;
}

.notification-page-state h3 {
  color: var(--z-text);
  font-size: 18px;
}

.notification-page-state p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.5;
}

.notification-page-retry {
  min-height: 42px;
  margin-top: 8px;
  padding: 8px 24px;
  border: 1px solid var(--z-green);
  border-radius: 21px;
  color: #061b31;
  background: var(--z-green);
  font-weight: 900;
  cursor: pointer;
}

.notification-page-skeleton {
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent),
    rgba(20, 49, 82, 0.56);
  background-size: 220% 100%;
  animation: notificationSkeleton 1.3s ease-in-out infinite;
}

@keyframes notificationSkeleton {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@media (min-width: 981px) {
  body.user-authenticated[data-active-section='notificationsSection'] .app-shell {
    display: block;
  }

  body.user-authenticated[data-active-section='notificationsSection'] .sidebar:not(.show) {
    display: none;
  }

  body.user-authenticated[data-active-section='notificationsSection'] .sidebar.show {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 95;
    display: block;
  }
}

.notification-edit-bar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.25fr;
  gap: 10px;
  margin: 10px 0 calc(10px + env(safe-area-inset-bottom));
  padding: 9px;
  border: 1px solid rgba(50, 230, 134, 0.32);
  border-radius: 24px;
  background: rgba(11, 36, 74, 0.97);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.notification-edit-bar.hidden {
  display: none;
}

.notification-edit-bar button {
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(50, 230, 134, 0.5);
  border-radius: 16px;
  color: var(--z-text);
  background: rgba(18, 53, 91, 0.92);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.notification-edit-bar button.danger {
  border-color: rgba(255, 139, 139, 0.64);
  color: #ffb8c4;
}

.notification-edit-bar button:disabled {
  opacity: 0.42;
  cursor: default;
}

.notification-detail-modal {
  position: fixed;
  z-index: 1900;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 12px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

body.notification-detail-open {
  overflow: hidden;
}

.notification-detail-modal.hidden {
  display: none;
}

.notification-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 47, 0.9);
}

.notification-detail-sheet {
  position: relative;
  width: min(100%, 616px);
  max-height: min(84dvh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(50, 230, 134, 0.5);
  border-radius: 30px;
  background: rgba(11, 36, 74, 0.99);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.notification-detail-handle {
  width: 48px;
  height: 4px;
  flex: 0 0 auto;
  margin: 10px auto 2px;
  border-radius: 999px;
  background: rgba(142, 163, 198, 0.68);
}

.notification-detail-sheet > header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 6px;
}

.notification-detail-sheet h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--z-text);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#notificationDetailCloseButton {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--z-text);
  background: transparent;
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

.notification-detail-content {
  min-height: 160px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 18px 18px;
}

.notification-detail-content time {
  display: block;
  margin-bottom: 14px;
  color: var(--z-hint);
  font-size: 13px;
}

.notification-detail-content p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #d7e2f3;
  font-size: 15px;
  line-height: 1.62;
  white-space: pre-wrap;
}

.notification-detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 0 18px 18px;
}

.notification-detail-actions button {
  min-height: 48px;
  border: 1px solid var(--z-green);
  border-radius: 18px;
  color: #061b31;
  background: var(--z-green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.notification-detail-actions button.danger {
  border-color: rgba(255, 139, 139, 0.72);
  color: #ffb8c4;
  background: rgba(217, 72, 72, 0.12);
}

.notification-detail-actions button.hidden {
  display: none;
}

@media (max-width: 360px) {
  .notification-page-shell {
    width: calc(100% - 20px);
  }

  .notification-page-header {
    min-height: 70px;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    padding: 0 6px;
    border-radius: 22px;
  }

  .notification-page-header h2 {
    font-size: 19px;
  }

  .notification-page-tabs {
    gap: 8px;
    margin-top: 16px;
  }

  .notification-page-tab {
    min-height: 46px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
  }

  .notification-page-card {
    min-height: 98px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px;
    border-radius: 20px;
  }

  .notification-page-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 17px;
  }

  .notification-page-card-content strong {
    font-size: 15px;
  }

  .notification-edit-bar {
    gap: 6px;
    padding: 7px;
  }

  .notification-edit-bar button {
    padding: 6px;
    font-size: 11px;
  }

  .notification-detail-actions {
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notification-page-icon-button,
  .notification-page-tab,
  .notification-page-card {
    transition: none;
  }

  .notification-page-skeleton {
    animation: none;
  }
}

/* Android-style user drawer */
body.user-drawer-open {
  overflow: hidden;
}

.user-drawer.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 170;
  display: flex;
  flex-direction: column;
  width: min(86vw, 336px);
  max-width: 336px;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 0;
  overflow: hidden;
  border-right: 1px solid rgba(73, 131, 189, 0.35);
  border-radius: 0 30px 30px 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(50, 230, 134, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(9, 41, 84, 0.98), rgba(3, 18, 38, 0.99));
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.42);
  transform: translateX(calc(-100% - 22px));
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.26s ease, visibility 0.26s ease;
  scrollbar-width: none;
}

.user-drawer.sidebar.show {
  display: flex;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

body.user-authenticated .user-drawer.sidebar.show {
  display: flex;
}

body.user-authenticated .user-drawer.sidebar:not(.show) {
  display: flex;
}

.sidebar-overlay {
  z-index: 160;
  background: rgba(1, 8, 20, 0.62);
  opacity: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.2s ease;
}

.sidebar-overlay.show {
  opacity: 1;
}

.drawer-profile-fixed {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  min-height: 190px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  overflow: hidden;
  color: var(--z-text);
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(70, 138, 196, 0.46);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(50, 230, 134, 0.24), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(38, 128, 255, 0.25), transparent 40%),
    linear-gradient(145deg, #123c78 0%, #0b2d5c 54%, #075f68 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 42px rgba(0, 0, 0, 0.25);
}

.drawer-profile-fixed:focus-visible,
.user-drawer .side-btn:focus-visible,
.drawer-link:focus-visible {
  outline: 2px solid var(--z-green);
  outline-offset: 3px;
}

.drawer-profile-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.drawer-orb-one {
  width: 130px;
  height: 130px;
  right: -34px;
  top: -16px;
  background: rgba(50, 230, 134, 0.16);
}

.drawer-orb-two {
  width: 92px;
  height: 92px;
  right: 34px;
  bottom: 10px;
  background: rgba(50, 230, 134, 0.09);
}

.drawer-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(50, 230, 134, 0.75);
  border-radius: 26px;
  background: rgba(6, 34, 70, 0.74);
  color: var(--z-green);
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(50, 230, 134, 0.16);
}

.drawer-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-avatar img.hidden {
  display: none;
}

.drawer-profile-copy {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.drawer-profile-copy strong {
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.drawer-profile-copy small {
  max-width: 100%;
  overflow: hidden;
  color: rgba(230, 238, 252, 0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.drawer-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border: 1px solid rgba(50, 230, 134, 0.48);
  border-radius: 999px;
  background: rgba(50, 230, 134, 0.12);
  color: var(--z-green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.drawer-chip.status-chip {
  color: #dfffea;
}

.drawer-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 2px calc(22px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: none;
}

.drawer-menu-scroll::-webkit-scrollbar,
.user-drawer.sidebar::-webkit-scrollbar {
  display: none;
}

.drawer-menu-section {
  margin-bottom: 15px;
}

.drawer-section-label {
  margin: 0 5px 8px;
  color: rgba(156, 178, 216, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.drawer-section-card {
  display: grid;
  gap: 9px;
}

.user-drawer .side-btn {
  width: 100%;
  min-height: 72px;
  padding: 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(68, 112, 167, 0.62);
  border-radius: 22px;
  background: rgba(12, 43, 84, 0.72);
  color: var(--z-text);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  touch-action: manipulation;
}

.user-drawer .side-btn:hover,
.user-drawer .side-btn:active {
  border-color: rgba(50, 230, 134, 0.55);
  background: rgba(15, 58, 108, 0.92);
  transform: translateY(-1px);
}

.user-drawer .side-btn.active {
  border-color: rgba(50, 230, 134, 0.7);
  background:
    radial-gradient(circle at 12% 50%, rgba(50, 230, 134, 0.18), transparent 42%),
    rgba(14, 53, 101, 0.92);
  color: #ffffff;
}

.drawer-menu-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(13, 85, 88, 0.52);
  color: var(--z-green);
}

.drawer-menu-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.drawer-menu-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.drawer-menu-copy strong,
.drawer-menu-copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-menu-copy strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
}

.drawer-menu-copy small {
  color: rgba(205, 218, 241, 0.72);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.drawer-chevron {
  color: var(--z-green);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.drawer-link {
  text-decoration: none;
}

.drawer-version {
  cursor: default;
  opacity: 0.86;
}

.drawer-version .drawer-menu-copy {
  align-items: start;
  justify-items: start;
  text-align: left;
}

.drawer-version:hover,
.drawer-version:active {
  transform: none;
}

.drawer-logout {
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.drawer-logout::after {
  content: none;
  display: none;
}

.drawer-logout .drawer-menu-copy {
  align-items: start;
  justify-items: start;
  text-align: left;
}

.drawer-logout .drawer-menu-icon {
  background: rgba(80, 21, 37, 0.55);
  color: #ff8aa8;
}

.drawer-logout .drawer-chevron {
  display: none;
}

.logout-confirm-card {
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
}

.logout-confirm-card .modal-title {
  margin-right: 0;
}

.logout-confirm-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(255, 138, 168, 0.38);
  border-radius: 22px;
  background: rgba(80, 21, 37, 0.45);
  color: #ff8aa8;
}

.logout-confirm-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.logout-confirm-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
}

.logout-confirm-actions .btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  border-radius: 18px;
}

@media (min-width: 769px) {
  .user-drawer.sidebar {
    width: min(32vw, 336px);
  }
}

@media (min-width: 981px) {
  body.user-authenticated .app-shell {
    display: block;
  }

  body.user-authenticated .main-panel {
    max-width: 860px;
    margin: 0 auto;
  }
}

@media (max-width: 360px) {
  .user-drawer.sidebar {
    width: 88vw;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 0 24px 24px 0;
  }

  .drawer-profile-fixed {
    min-height: 178px;
    padding: 15px 13px;
    border-radius: 24px;
  }

  .drawer-avatar {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    font-size: 20px;
  }

  .drawer-profile-copy strong {
    font-size: 18px;
  }

  .user-drawer .side-btn {
    min-height: 66px;
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    gap: 10px;
    border-radius: 20px;
  }

  .user-drawer .drawer-logout {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
  }

  .drawer-menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-drawer.sidebar,
  .sidebar-overlay,
  .user-drawer .side-btn {
    transition: none;
  }
}

/* Drawer alignment hardening for cached/mobile browser quirks */
.user-drawer,
.user-drawer * {
  box-sizing: border-box;
}

.user-drawer button,
.user-drawer a {
  font: inherit;
}

.user-drawer .drawer-profile-fixed {
  max-width: 100%;
}

.user-drawer .drawer-avatar {
  flex: 0 0 auto;
}

.user-drawer .drawer-avatar > img#drawerAvatarImage {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  border-radius: inherit;
}

.user-drawer .drawer-profile-copy,
.user-drawer .drawer-menu-copy {
  align-items: start;
  justify-items: start;
  text-align: left;
}

.user-drawer .drawer-menu-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.user-drawer .drawer-menu-copy strong,
.user-drawer .drawer-menu-copy small {
  width: 100%;
  line-height: 1.25;
  white-space: normal;
}

.user-drawer .drawer-version .drawer-menu-copy {
  align-items: start;
  text-align: left;
}

.user-drawer .drawer-logout .drawer-menu-copy {
  align-items: start;
  justify-items: start;
  text-align: left;
}

/* Keep the Android-style Dashboard shell usable on laptop and desktop widths. */
@media (min-width: 981px) {
  body.user-authenticated[data-active-section='overviewSection'] {
    --dashboard-drawer-width: 300px;
    overflow: hidden;
  }

  body.user-authenticated[data-active-section='overviewSection'] #appView,
  body.user-authenticated[data-active-section='overviewSection'] .app-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  body.user-authenticated[data-active-section='overviewSection'] .app-shell {
    display: block;
    width: min(100%, 1360px);
    margin: 0 auto;
  }

  body.user-authenticated[data-active-section='overviewSection'] .user-drawer.sidebar,
  body.user-authenticated[data-active-section='overviewSection'] .user-drawer.sidebar:not(.show) {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 170;
    display: flex;
    flex: 0 0 auto;
    width: var(--dashboard-drawer-width);
    max-width: var(--dashboard-drawer-width);
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    transform: translateX(calc(-100% - 22px));
    visibility: hidden;
    pointer-events: none;
  }

  body.user-authenticated[data-active-section='overviewSection'] .user-drawer.sidebar.show {
    display: flex;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.user-authenticated[data-active-section='overviewSection'] .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 160;
  }

  body.user-authenticated[data-active-section='overviewSection'] .sidebar-overlay.show {
    display: block;
  }

  body.user-authenticated[data-active-section='overviewSection'] .main-panel {
    display: block;
    width: min(100%, 940px);
    max-width: 940px;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    overflow-y: auto;
  }

  body.user-authenticated[data-active-section='overviewSection'] .dashboard-recommended .zpay-service-grid {
    margin-right: auto;
    margin-left: auto;
  }

  body.user-authenticated[data-active-section='overviewSection'] .bottom-nav {
    display: none;
  }
}

/* Android-aligned Add Money page. Keep every rule scoped to this section. */
body.user-authenticated[data-active-section='addMoneySection'] .mobile-header {
  display: block;
  width: min(calc(100% - 28px), 720px);
  margin: 12px auto 14px;
  padding: env(safe-area-inset-top) 0 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

body.user-authenticated[data-active-section='addMoneySection'] .mobile-top-card {
  width: 100%;
  border: 1px solid rgba(200, 214, 236, 0.24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 45, 92, 0.92), rgba(7, 23, 47, 0.88));
  box-shadow: var(--z-shadow);
}

body.user-authenticated[data-active-section='addMoneySection'] .mobile-top-row {
  min-height: 58px;
  padding: 5px 12px;
}

body.user-authenticated[data-active-section='addMoneySection'] .main-panel {
  padding-bottom: 16px;
}

body.user-authenticated[data-active-section='addMoneySection'] .bottom-nav {
  display: none !important;
}

#addMoneySection {
  width: min(calc(100% - 28px), 720px);
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
}

#addMoneySection .add-money-page-shell {
  display: grid;
  gap: 14px;
  min-width: 0;
}

#addMoneySection .add-money-intro-card,
#addMoneySection .add-money-payment-card,
#addMoneySection .add-money-proof-card,
#addMoneySection .add-money-support-card,
#addMoneySection .add-money-unavailable-card {
  min-width: 0;
  border: 1px solid rgba(200, 214, 236, 0.28);
  border-radius: 22px;
  color: var(--z-text);
  background: linear-gradient(145deg, rgba(11, 45, 92, 0.9), rgba(7, 23, 47, 0.88));
  box-shadow: var(--z-shadow);
}

#addMoneySection .add-money-intro-card,
#addMoneySection .add-money-payment-card,
#addMoneySection .add-money-proof-card {
  padding: 22px;
}

#addMoneySection .add-money-intro-card h3,
#addMoneySection .add-money-payment-card h4,
#addMoneySection .add-money-proof-card h4,
#addMoneySection .add-money-payment-card h5 {
  margin: 0;
  color: var(--z-text);
  line-height: 1.25;
  font-weight: 900;
}

#addMoneySection .add-money-intro-card h3,
#addMoneySection .add-money-payment-card h4,
#addMoneySection .add-money-proof-card h4 {
  font-size: 22px;
}

#addMoneySection .add-money-payment-card h5 {
  margin-top: 16px;
  font-size: 17px;
}

#addMoneySection .add-money-intro-card p,
#addMoneySection .add-money-instruction,
#addMoneySection .add-money-support-card p,
#addMoneySection .add-money-unavailable-card p {
  margin: 7px 0 0;
  color: var(--z-muted);
  line-height: 1.5;
}

#addMoneySection .add-money-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

#addMoneySection .add-money-tab {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--z-line-strong);
  border-radius: 16px;
  color: var(--z-text);
  background: rgba(7, 23, 47, 0.48);
  font-weight: 900;
  cursor: pointer;
}

#addMoneySection .add-money-tab.active,
#addMoneySection .add-money-tab:hover,
#addMoneySection .add-money-tab:focus-visible {
  border-color: var(--z-green);
  color: #042116;
  background: var(--z-green);
}

#addMoneySection .add-money-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

#addMoneySection .add-money-loading-card,
#addMoneySection .add-money-unavailable-card {
  padding: 22px 18px;
}

#addMoneySection .add-money-loading-card {
  color: var(--z-muted);
  text-align: center;
}

#addMoneySection .add-money-account-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 13px;
}

#addMoneySection .add-money-account-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;
  row-gap: 2px;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(200, 214, 236, 0.24);
  border-radius: 20px;
  color: var(--z-text);
  background: rgba(20, 49, 91, 0.7);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

#addMoneySection .add-money-account-card:hover,
#addMoneySection .add-money-account-card:focus-visible {
  border-color: rgba(50, 230, 134, 0.72);
  background: rgba(22, 65, 100, 0.82);
}

#addMoneySection .add-money-account-card:active {
  transform: scale(0.99);
}

#addMoneySection .add-money-account-card.selected {
  border-color: var(--z-green);
  background: linear-gradient(145deg, rgba(22, 72, 88, 0.86), rgba(15, 49, 91, 0.88));
  box-shadow: 0 0 0 1px rgba(50, 230, 134, 0.16), 0 12px 26px rgba(0, 0, 0, 0.2);
}

#addMoneySection .add-money-account-card.unavailable {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  cursor: default;
}

#addMoneySection .add-money-account-card.unavailable p {
  grid-column: 1;
  grid-row: 2;
}

#addMoneySection .add-money-account-card.unavailable:active {
  transform: none;
}

#addMoneySection .add-money-account-main {
  display: contents;
}

#addMoneySection .add-money-account-main > div {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

#addMoneySection .add-money-account-logo {
  width: 52px;
  height: 52px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  border: 1px solid rgba(200, 214, 236, 0.24);
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

#addMoneySection .add-money-account-logo.fallback {
  display: grid;
  place-items: center;
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
  font-weight: 900;
}

#addMoneySection .add-money-account-name,
#addMoneySection .add-money-account-info strong,
#addMoneySection .add-money-receipt-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

#addMoneySection .add-money-account-name {
  color: var(--z-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

#addMoneySection .add-money-account-info {
  display: grid;
  gap: 3px;
  min-width: 0;
  grid-column: 2;
  grid-row: 2;
  color: var(--z-muted);
  font-size: 14px;
  line-height: 1.35;
}

#addMoneySection .add-money-account-info strong {
  color: var(--z-text);
  font-weight: 700;
  display: inline;
  overflow-wrap: normal;
  word-break: normal;
}

#addMoneySection .add-money-copy-icon {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
}

#addMoneySection .add-money-account-line {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 214, 236, 0.14);
}

#addMoneySection .add-money-account-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#addMoneySection .add-money-account-line span {
  color: var(--z-muted);
  font-size: 12px;
  font-weight: 800;
}

#addMoneySection .add-money-account-line strong {
  color: var(--z-text);
  font-size: 15px;
  line-height: 1.35;
}

#addMoneySection .add-money-account-note {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  line-height: 1.45;
}

#addMoneySection .add-money-account-number-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#addMoneySection .add-money-account-number-row strong {
  flex: 1 1 auto;
  min-width: 0;
}

#addMoneySection .add-money-copy-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(50, 230, 134, 0.34);
  border-radius: 14px;
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.1);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

#addMoneySection .add-money-copy-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

#addMoneySection .add-money-copy-icon:hover,
#addMoneySection .add-money-copy-icon:focus-visible {
  border-color: var(--z-green);
  background: rgba(50, 230, 134, 0.2);
}

#addMoneySection .add-money-copy-icon:active {
  transform: scale(0.94);
}

#addMoneySection .add-money-proof-form {
  display: grid;
  gap: 13px;
  margin-top: 14px;
}

#addMoneySection .add-money-proof-form .field {
  margin: 0;
}

#addMoneySection .add-money-proof-form .field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#addMoneySection .add-money-proof-form .input,
#addMoneySection .add-money-proof-form .add-money-receipt-button {
  min-height: 56px;
  border-radius: 17px;
}

#addMoneySection .add-money-proof-form textarea.input {
  min-height: 76px;
  padding-top: 14px;
  resize: vertical;
}

#addMoneySection .add-money-receipt-button {
  width: 100%;
  margin-top: 7px;
  border: 1px solid rgba(50, 230, 134, 0.28);
  color: var(--z-text);
  background: rgba(22, 107, 103, 0.58);
  font-weight: 900;
  cursor: pointer;
}

#addMoneySection .add-money-receipt-preview {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--z-line);
  border-radius: 17px;
  color: var(--z-muted);
  background: rgba(20, 49, 91, 0.68);
}

#addMoneySection .add-money-receipt-preview > img,
#addMoneySection .add-money-receipt-empty-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

#addMoneySection .add-money-receipt-preview > img {
  object-fit: cover;
  border: 1px solid rgba(50, 230, 134, 0.42);
}

#addMoneySection .add-money-receipt-empty-icon {
  color: var(--z-green);
  background: rgba(50, 230, 134, 0.12);
  font-size: 13px;
  font-weight: 900;
}

#addMoneySection .add-money-receipt-empty-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

#addMoneySection .add-money-receipt-copy {
  display: grid;
  gap: 4px;
}

#addMoneySection .add-money-receipt-copy strong {
  color: var(--z-text);
  line-height: 1.3;
}

#addMoneySection .add-money-receipt-copy small {
  color: var(--z-muted);
}

#addMoneySection .add-money-receipt-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#addMoneySection .add-money-receipt-actions .btn {
  min-height: 38px;
  border-radius: 13px;
}

#addMoneySection .add-money-receipt-actions .danger {
  color: #ff9db5;
}

#addMoneySection .add-money-support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
}

#addMoneySection .add-money-support-card p {
  flex: 1 1 auto;
  margin: 0;
}

#addMoneySection .add-money-support-card .btn {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 46px;
  border-radius: 23px;
}

#addMoneySection #addMoneySubmitBtn {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  body.user-authenticated[data-active-section='addMoneySection'] .mobile-header,
  #addMoneySection {
    width: calc(100% - 28px);
  }

  body.user-authenticated[data-active-section='addMoneySection'] .mobile-top-row {
    min-height: 62px;
    padding: 6px 12px;
  }

  #addMoneySection .add-money-intro-card,
  #addMoneySection .add-money-payment-card,
  #addMoneySection .add-money-proof-card {
    padding: 16px;
  }

  #addMoneySection .add-money-intro-card h3,
  #addMoneySection .add-money-payment-card h4,
  #addMoneySection .add-money-proof-card h4 {
    font-size: 20px;
  }

  #addMoneySection .add-money-account-card {
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    min-height: 94px;
    padding: 12px;
    column-gap: 10px;
    border-radius: 19px;
  }

  #addMoneySection .add-money-account-logo {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  #addMoneySection .add-money-account-name {
    font-size: 16px;
  }

  #addMoneySection .add-money-account-info {
    gap: 2px;
    font-size: 13px;
  }

  #addMoneySection .add-money-account-info > div {
    white-space: nowrap;
  }

  #addMoneySection .add-money-copy-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  #addMoneySection .add-money-receipt-preview {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 11px;
  }

  #addMoneySection .add-money-receipt-preview > img,
  #addMoneySection .add-money-receipt-empty-icon {
    width: 52px;
    height: 52px;
  }

  #addMoneySection .add-money-receipt-copy strong {
    font-size: 16px;
  }

  #addMoneySection .add-money-support-card {
    align-items: stretch;
    flex-direction: column;
  }

  #addMoneySection .add-money-support-card .btn {
    width: 100%;
  }
}

@media (min-width: 981px) {
  body.user-authenticated[data-active-section='addMoneySection'] .mobile-header,
  #addMoneySection {
    width: min(calc(100% - 48px), 720px);
  }
}

@media (max-width: 420px) {
  #supportSection {
    width: min(calc(100% - 28px), 540px);
  }

  #supportSection .support-contact-hero-panel {
    min-height: 236px;
    padding: 14px 16px 18px;
    border-radius: 26px;
  }

  #supportSection .support-contact-toolbar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  #supportSection .support-contact-toolbar h2 {
    font-size: 26px;
  }

  #supportSection .support-contact-icon-button {
    width: 44px;
    height: 44px;
  }

  #supportSection .support-contact-copy h3 {
    font-size: 30px;
  }

  #supportSection .support-contact-copy p {
    font-size: 16px;
  }

  #supportSection .support-contact-actions {
    gap: 10px;
    margin-inline: 2px;
  }

  #supportSection .support-contact-action {
    min-height: 84px;
    border-radius: 20px;
  }

  #supportSection .support-info-card {
    padding: 16px 18px;
    border-radius: 20px;
  }

  #supportSection .support-info-card h3 {
    font-size: 18px;
  }

  #supportSection .support-info-card p {
    font-size: 15px;
  }
}

@media (max-width: 340px) {
  #supportSection {
    width: min(calc(100% - 22px), 540px);
  }

  #supportSection .support-contact-toolbar h2 {
    font-size: 24px;
  }

  #supportSection .support-contact-copy h3 {
    font-size: 27px;
  }

  #supportSection .support-notice-card {
    grid-template-columns: 1fr;
  }

  #supportSection .support-floating-button {
    width: 100%;
  }
}

@media (min-width: 981px) {
  body.user-authenticated[data-active-section='supportSection'] .main-panel,
  #supportSection {
    width: min(calc(100% - 48px), 720px);
  }
}

/* Contact Us: fixed Android-style hero with an independent body scroller. */
body.user-authenticated[data-active-section='supportSection'] {
  overflow: hidden;
}

body.user-authenticated[data-active-section='supportSection'] .main-panel {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

#supportSection {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

#supportSection .support-contact-shell {
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#supportSection .support-contact-shell.hidden {
  display: none;
}

#supportSection .support-contact-fixed-area {
  flex: 0 0 auto;
  padding-top: 14px;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(4, 17, 33, 0.96), rgba(4, 17, 33, 0.84) 72%, rgba(4, 17, 33, 0));
}

#supportSection .support-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

#supportSection .support-scroll-body::-webkit-scrollbar,
#supportSection .support-request-workspace::-webkit-scrollbar {
  display: none;
}

#supportSection .support-info-stack {
  margin-top: 0;
}

#supportSection .support-notice-card {
  grid-template-columns: 1fr;
}

#supportSection .support-floating-button {
  position: absolute;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 8;
  width: auto;
  min-width: 178px;
  border-radius: 25px;
}

#supportSection .support-floating-button:disabled {
  opacity: 0.72;
  pointer-events: none;
}

#supportSection .support-request-workspace {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0;
  padding: 14px 0 calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
}

#supportSection .support-live-hero {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 24px 22px;
  border: 1px solid rgba(50, 230, 134, 0.26);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(14, 95, 86, 0.92), rgba(17, 96, 78, 0.76));
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

#supportSection .support-live-hero h3,
#supportSection .support-live-hero p,
#supportSection .support-live-hero .android-primary-button {
  position: relative;
  z-index: 1;
}

#supportSection .support-live-hero h3 {
  margin: 0;
  color: #fff;
  font-size: 31px;
  line-height: 1.08;
}

#supportSection .support-live-hero p {
  margin: 0;
  color: rgba(220, 232, 250, 0.84);
  font-size: 16px;
}

#supportSection .support-workspace-head {
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
}

#supportSection #supportRefreshTopButton,
#supportSection #supportRefreshButton {
  width: 46px;
  height: 46px;
  border-color: rgba(188, 220, 255, 0.18);
  color: rgba(220, 232, 250, 0.92);
  background: rgba(11, 45, 92, 0.32);
  font-size: 23px;
  line-height: 1;
}

#supportSection .support-hidden-tabs,
#supportSection .support-list-head {
  display: none;
}

#supportSection .support-form {
  margin-top: 16px;
}

#supportSection .support-tab-panel.active {
  min-height: 0;
}

#supportSection #supportCreatePanel.active {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

#supportSection #supportCreatePanel.active::-webkit-scrollbar,
#supportSection #supportTicketList::-webkit-scrollbar,
#supportSection .support-messages::-webkit-scrollbar {
  display: none;
}

#supportSection #supportListPanel.active {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#supportSection #supportTicketList {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

#supportSection .support-conversation {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 8px 0 calc(12px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

#supportSection .support-conversation::-webkit-scrollbar {
  display: none;
}

#supportSection .support-composer {
  position: relative;
  bottom: auto;
  flex: 0 0 auto;
  padding: 10px 0 12px;
  background: linear-gradient(180deg, rgba(4, 17, 33, 0), rgba(4, 17, 33, 0.96) 28%);
}

#supportSection .conversation-header {
  position: relative;
  top: auto;
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding: 8px 0 10px;
  background: rgba(4, 17, 33, 0.94);
}

#supportSection .conversation-header .status-pill {
  align-self: start;
  margin-top: 4px;
  padding: 7px 13px;
  border-radius: 18px;
}

#supportSection .support-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 0 14px;
  scrollbar-width: none;
}

#supportSection .support-composer textarea {
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 22px;
}

#supportSection .support-composer button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 22px;
}

#supportSection .composer-attachment {
  width: 54px;
  height: 54px;
}

@media (max-width: 420px) {
  #supportSection .support-floating-button {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    min-width: 168px;
  }
}
